/*
Theme Name: Premium Rova
Theme URI: https://premiumrova.co.za
Author: Premium Rova
Description: One-page landing site for Premium Rova, independent Jaguar & Land Rover specialists. Every section is edited under Appearance → Customise. No plugins required.
Version: 1.6.1
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: premium-rova
*/

:root{--green:#1E4A2B;--green-deep:#14261D;--cream:#FAF4EF;--silver:#EEECE6;--silver-dark:#C3C0B6;--gold:#B49C5D;--ink:#14261D;--body:#2E3A33;--grey:#F5F5F5;--grey-line:#E6E6E6;--font-h:'Montserrat',sans-serif;--font-b:'Jost',sans-serif;}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font-family:var(--font-b);font-size:18px;line-height:1.5;-webkit-font-smoothing:antialiased}
a{color:var(--ink);text-decoration:none}
a:hover{color:var(--green)}
img,video{max-width:100%;display:block}
.wrap{width:100%;margin:0 auto}
.inner{width:100%;max-width:1440px;margin:0 auto}
.u{font-family:var(--font-h);text-transform:uppercase}
.btn{display:inline-flex;align-items:center;gap:12px;height:46px;padding:0 18px 0 20px;border-radius:5px;background:var(--green);color:var(--silver);font-family:var(--font-h);font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;transition:background .2s}
.btn:hover{background:var(--green-deep);color:#fff}
.btn svg{width:14px;height:14px;flex:none}
.btn-silver{background:linear-gradient(180deg,#F4F2EC 0%,#C3C0B6 100%);color:var(--green-deep);height:42px;padding:0 22px;font-weight:700}
.btn-silver:hover{background:linear-gradient(180deg,#fff 0%,#D4D1C8 100%);color:var(--green-deep)}
.btn-outline{height:48px;background:transparent;border:1px solid var(--gold);border-radius:3px;color:var(--silver);font-size:12px}
.btn-outline:hover{background:rgba(156,134,80,.15);color:#fff}

/* Sticky header */
.sticky{position:fixed;top:0;left:0;right:0;z-index:50;height:88px;background:var(--green-deep);box-shadow:0 2px 12px rgba(0,0,0,.25);transform:translateY(-100%);transition:transform .3s ease}
.sticky.is-on{transform:translateY(0)}
.admin-bar .sticky{top:32px}
/* Hide any Elementor header/footer template still active */
.elementor-location-header,.elementor-location-footer,header.elementor,footer.elementor,.ast-header-break-point .main-header-bar{display:none!important}
.sticky .wrap{height:100%;max-width:1440px;display:flex;justify-content:space-between;align-items:center;padding:0 112px 0 118px}
.sticky img{width:56px;height:56px}
.nav{display:flex;align-items:center;gap:36px;font-family:var(--font-h);font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.sticky .nav a{color:var(--silver)}
.sticky .nav a:hover{color:#fff}
.sticky .nav .btn-silver{margin-left:8px}
.sticky .nav a.btn-silver{color:var(--green-deep)}
.sticky .nav a.btn-silver:hover{color:var(--green-deep)}

.burger{display:none;width:44px;height:44px;border:0;background:transparent;padding:0;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:6px}
.burger span{display:block;width:24px;height:2px;background:var(--green-deep);transition:transform .2s,opacity .2s}
.menu-open .burger span:nth-child(1){transform:translateY(8px) rotate(45deg)}.menu-open .burger span:nth-child(2){opacity:0}.menu-open .burger span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
.mnav{display:none;position:fixed;inset:0;z-index:60;background:var(--green-deep);padding:24px;flex-direction:column}
.menu-open .mnav{display:flex}
.mnav .top{display:flex;justify-content:space-between;align-items:center}
.mnav .top img{width:64px;height:64px}
.mnav .close{width:44px;height:44px;border:0;background:transparent;color:var(--silver);font-size:32px;line-height:1;cursor:pointer}
.mnav .links{display:flex;flex-direction:column;gap:6px;margin-top:40px}
.mnav .links a{display:block;padding:16px 0;border-bottom:1px solid rgba(195,192,182,.2);color:var(--silver);font-family:var(--font-h);font-size:16px;font-weight:600;letter-spacing:.12em;text-transform:uppercase}
.mnav .btn{margin-top:32px;justify-content:space-between;height:56px}
.mnav .meta{margin-top:auto;color:var(--silver-dark);font-size:14px;line-height:1.7}
.mnav .meta a{color:var(--silver)}

/* Hero */
.hero{position:relative;height:800px;overflow:hidden;background:var(--cream)}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 70%}
.hero-fade{position:absolute;inset:0;pointer-events:none}
.hero-fade.x{background:linear-gradient(90deg,#FAF4EF 0%,#FAF4EF 14%,rgba(250,244,239,.92) 24%,rgba(250,244,239,.6) 36%,rgba(250,244,239,.2) 48%,rgba(250,244,239,0) 58%)}
.hero-fade.t{bottom:auto;height:360px;background:linear-gradient(180deg,#FAF4EF 0%,#FAF4EF 44%,rgba(250,244,239,.85) 58%,rgba(250,244,239,.45) 76%,rgba(250,244,239,0) 100%)}
.hero-fade.b{top:auto;height:90px;background:linear-gradient(0deg,#FAF4EF 0%,rgba(250,244,239,.6) 40%,rgba(250,244,239,0) 100%)}
.hero-mimg{display:none}
.hero-top{position:relative;display:flex;justify-content:space-between;align-items:flex-start;padding:36px 112px 0 118px;max-width:1440px;margin:0 auto}
.hero-top .logo{width:124px;height:124px}
.hero-top .nav{gap:36px;margin-top:38px;font-size:13px;letter-spacing:.08em}
.hero-copy{position:relative;padding:92px 0 0 120px;max-width:620px;display:flex;flex-direction:column;margin-left:max(0px,calc((100% - 1440px)/2))}
.eyebrow{font-family:var(--font-h);font-size:16px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--gold)}
.hero h1{margin:18px 0 0;font-family:var(--font-h);font-weight:800;font-size:76px;line-height:1;letter-spacing:.01em;text-transform:uppercase;color:var(--green)}
.hero .sub{margin-top:14px;font-family:var(--font-h);font-weight:500;font-size:38px;line-height:1.1;letter-spacing:.08em;text-transform:uppercase;color:var(--green)}
.hero p{margin:26px 0 0;padding-left:14px;border-left:2px solid #B9B6AC;font-size:18px;color:var(--body);max-width:470px}
.hero-copy .btn{margin-top:34px;align-self:flex-start;height:52px;font-size:13px}
.hero .tag{margin-top:36px;font-family:var(--font-h);font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--green)}

/* Brand strip */
.strip{height:112px;background:var(--green);display:flex;align-items:center;overflow:hidden}
.strip-track{display:flex;align-items:center;gap:80px;padding-right:80px;white-space:nowrap;width:max-content;animation:pr-strip 14s linear infinite}
.strip:hover .strip-track{animation-play-state:paused}
@keyframes pr-strip{from{transform:translateX(0)}to{transform:translateX(-50%)}}
/* Motion: hero entrance */
.js .hero-copy>*{animation:pr-up .9s cubic-bezier(.2,.7,.2,1) both}
.js .hero-copy>:nth-child(1){animation-delay:.15s}.js .hero-copy>:nth-child(2){animation-delay:.3s}.js .hero-copy>:nth-child(3){animation-delay:.45s}.js .hero-copy>:nth-child(4){animation-delay:.6s}.js .hero-copy>:nth-child(5){animation-delay:.75s}.js .hero-copy>:nth-child(6){animation-delay:.9s}.js .hero-copy>:nth-child(7){animation-delay:1.05s}
.js .hero-img,.js .hero-mimg img{animation:pr-settle 2.4s cubic-bezier(.2,.7,.2,1) both}
.js .hero-top{animation:pr-fade .8s ease both}
@keyframes pr-up{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes pr-settle{from{opacity:0;transform:scale(1.06)}to{opacity:1;transform:none}}
@keyframes pr-fade{from{opacity:0}to{opacity:1}}
/* Motion: reveal on scroll, photo zoom, counting numbers */
.card-img img{transition:transform .9s cubic-bezier(.2,.7,.2,1)}
.card:hover .card-img img{transform:scale(1.05)}
.card a svg{transition:transform .3s}.card a:hover svg{transform:translateX(4px)}
.svc{transition:transform .5s cubic-bezier(.2,.7,.2,1),border-color .5s}
.svc:hover{transform:translateY(-4px);border-color:rgba(195,192,182,.5)}
.js .reveal{opacity:0;transform:translateY(24px);transition:opacity .8s ease,transform .8s cubic-bezier(.2,.7,.2,1)}
.js .reveal.in{opacity:1;transform:none}
.js .reveal:nth-child(2){transition-delay:.1s}.js .reveal:nth-child(3){transition-delay:.2s}.js .reveal:nth-child(4){transition-delay:.3s}
@media (prefers-reduced-motion:reduce){.strip-track,.js .hero-copy>*,.js .hero-img,.js .hero-mimg img,.js .hero-top{animation:none}.js .reveal{opacity:1;transform:none;transition:none}.card-img img,.svc{transition:none}}
.strip img{width:auto}
.strip .rr{height:10px}.strip .lr{height:40px}.strip .jg{height:11px}
.strip img{filter:brightness(0) invert(1)}

/* Section shells */
.panel{margin:80px auto 76px;max-width:1320px;padding:60px 48px;background:var(--grey);border:1px solid var(--grey-line);border-radius:10px}
.models{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}
.card{border-radius:10px;overflow:hidden;background:#E3E3E3;display:flex;flex-direction:column}
.card-img{position:relative;aspect-ratio:291/283;background:#DAD8D0}
.card-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.card-name{position:absolute;left:24px;top:30px;font-family:var(--font-h);font-weight:700;font-size:16px;letter-spacing:.03em;text-transform:uppercase;color:var(--green);white-space:nowrap}
.card a{display:flex;align-items:center;gap:10px;height:72px;padding:0 26px;font-family:var(--font-h);font-weight:700;font-size:14px;letter-spacing:.1em;text-transform:uppercase;color:var(--green)}
.card a svg{width:14px;height:14px}

/* Services */
.services{position:relative;overflow:hidden;background:#101010;padding:110px 220px 130px;color:#fff}
.services-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 40%;opacity:.3;filter:grayscale(1)}
.services-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(16,16,16,.7) 0%,rgba(16,16,16,.5) 50%,rgba(16,16,16,.85) 100%)}
.services-in{position:relative;display:flex;flex-direction:column;gap:56px;max-width:1000px;margin:0 auto}
.services h2{margin:0;font-family:var(--font-h);font-size:40px;line-height:1;letter-spacing:.22em;text-transform:uppercase;font-weight:300}
.services h2 strong{font-weight:800;letter-spacing:.1em}
.svc-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.svc{padding:32px 32px 40px;border-radius:14px;background:linear-gradient(160deg,rgba(20,20,20,.55) 0%,rgba(20,21,20,.5) 55%,rgba(24,36,30,.55) 80%,rgba(30,52,42,.6) 100%);border:1px solid rgba(195,192,182,.12);box-shadow:0 20px 50px rgba(0,0,0,.25);display:flex;flex-direction:column;gap:18px}
.svc .n{font-family:var(--font-h);font-weight:800;font-size:56px;line-height:1}
.svc .rule{width:56px;height:2px;background:var(--gold);margin:10px 0 4px}
.svc h3{margin:0;font-family:var(--font-h);font-weight:700;font-size:20px}
.svc p{margin:0;font-size:17px;color:#E2E0D9;max-width:420px}
.services .cta{display:flex;justify-content:center;margin-top:8px}

/* Video */
.about{margin:60px auto;max-width:1160px;padding:36px;background:var(--grey);border:1px solid var(--grey-line);border-radius:10px}
.video{position:relative;border-radius:10px;overflow:hidden;line-height:0;max-width:1080px;margin:0 auto}
.video video{width:100%;height:auto;aspect-ratio:1600/888;object-fit:cover;object-position:top}
.video button{position:absolute;inset:0;width:100%;height:100%;border:0;margin:0;padding:0;background:transparent;cursor:pointer}
.video button::before{content:"";position:absolute;left:50%;top:50%;width:72px;height:72px;margin:-36px 0 0 -36px;border-radius:50%;background:rgba(20,38,29,.55);border:1.5px solid rgba(238,236,230,.6);backdrop-filter:blur(4px)}
.video button::after{content:"";position:absolute;left:50%;top:50%;width:0;height:0;margin:-13px 0 0 -8px;border-left:24px solid #EEECE6;border-top:13px solid transparent;border-bottom:13px solid transparent}
.video button:hover::before{background:rgba(30,74,43,.75)}
@media (max-width:900px){.video button::before{width:56px;height:56px;margin:-28px 0 0 -28px}.video button::after{margin:-10px 0 0 -6px;border-left-width:18px;border-top-width:10px;border-bottom-width:10px}}
.video.is-playing button{display:none}

/* Form */
.contact{padding:40px 24px 100px;display:flex;justify-content:center}
.quote{width:800px;max-width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
.quote input,.quote select,.quote textarea{width:100%;min-width:0;height:78px;padding:0 28px;border:0;border-radius:3px;background:#D9D9D9;color:var(--ink);font:inherit;font-size:20px;outline:none}
.quote input:focus,.quote select:focus,.quote textarea:focus{box-shadow:0 0 0 2px var(--green) inset}
.quote ::placeholder{color:#5F5E59}
.quote select{grid-column:1/-1;padding-right:60px;appearance:none;-webkit-appearance:none;background-image:url(assets/chevron-down.png);background-size:18px 18px;background-repeat:no-repeat;background-position:right 24px center}
.quote textarea{grid-column:1/-1;min-height:78px;padding:26px 28px;line-height:1.4;resize:vertical}
.quote button{grid-column:1/-1;justify-self:start;height:60px;padding:0 36px;border:0;border-radius:3px;cursor:pointer;background:var(--green);color:var(--silver);font-family:var(--font-h);font-size:15px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.quote button:hover{background:var(--green-deep)}
.quote .hp{position:absolute;left:-9999px}
.notice{grid-column:1/-1;padding:18px 24px;border-radius:3px;background:var(--green);color:var(--silver);font-size:18px}
.notice.err{background:#8A2E2E}

/* Footer */
.footer{background:#3B3B3B;padding:70px 80px 50px;display:flex;flex-direction:column;gap:56px;color:#929292}
.footer-grid{display:grid;grid-template-columns:340px 320px 320px 1fr;align-items:start;max-width:1280px;margin:0 auto;width:100%}
.footer-grid img{width:92px;height:92px}
.footer-col{display:flex;flex-direction:column;gap:14px}
.footer h4{margin:0;font-family:var(--font-h);font-size:11px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:#D4D4D4}
.footer-col div,.footer-col a{font-size:14px;line-height:1.6;color:#D4D4D4}
.footer-bottom{max-width:1280px;margin:0 auto;width:100%;display:flex;justify-content:space-between;align-items:flex-end;gap:40px;border-top:1px solid rgba(212,212,212,.3);padding-top:28px;font-size:12px;line-height:1.6}
.footer-bottom p{margin:0;max-width:480px}
.footer-bottom .links{display:flex;gap:28px;white-space:nowrap}
.footer-bottom a{color:#929292}

/* Legal pages */
.legal{max-width:800px;margin:0 auto;padding:140px 24px 100px}
.legal h1{font-family:var(--font-h);font-weight:800;text-transform:uppercase;color:var(--green);font-size:40px}
.legal .back{display:inline-block;margin-bottom:40px;font-family:var(--font-h);font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}

/* Responsive */
@media (max-width:1200px){
  .sticky .wrap,.hero-top{padding-left:48px;padding-right:48px}
  .hero-copy{padding-left:48px}
  .services{padding:90px 60px}
  .models{grid-template-columns:repeat(2,minmax(0,1fr))}
  .footer-grid{grid-template-columns:1fr 1fr;gap:40px}
}
@media (max-width:900px){
  .nav a:not(.btn){display:none}
  .hero{height:auto;padding-bottom:48px}
  .hero>picture,.hero-img{display:none}
  .hero-fade{display:none}
  .hero-top{position:relative;padding:16px 20px 0;align-items:center}
  .hero-top .logo{width:84px;height:84px}
  .hero-top .nav{display:none}
  .burger{display:flex}
  .hero-copy{position:relative;margin:0;padding:56px 0 0;max-width:none}
  .hero-copy .eyebrow,.hero h1,.hero .sub,.hero-copy .btn,.hero .tag{margin-left:24px;margin-right:24px}
  .hero-mimg{display:block;position:relative;order:0;margin-top:16px}
  .hero-mimg img{display:block;width:100%;height:340px;object-fit:cover;object-position:62% 62%}
  .hero-mimg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#FAF4EF 0%,rgba(250,244,239,.5) 16%,rgba(250,244,239,0) 36%,rgba(250,244,239,0) 72%,rgba(250,244,239,.7) 90%,#FAF4EF 100%)}
  .hero-copy .btn{margin-top:-8px}
  .hero .tag{margin-top:22px}
  .hero h1{font-size:44px}
  .hero .sub{font-size:22px}
  .hero p{display:none}
  .hero-copy .btn{align-self:stretch;justify-content:space-between;height:56px;font-size:13px}
  .panel,.about{margin:40px 20px;padding:24px}
  .hero-copy{margin-left:0}
  .models{grid-template-columns:1fr}
  .card a{height:56px;font-size:12px;padding:0 22px}
  .services{padding:70px 24px}
  .services h2{font-size:32px}
  .svc-grid{grid-template-columns:1fr;gap:24px}
  .svc{padding:30px 26px}
  .svc .n{font-size:56px}
  .quote{grid-template-columns:1fr}
  .quote input,.quote select,.quote textarea,.quote button{height:64px;font-size:17px}
  .quote button{justify-self:stretch;justify-content:center;display:flex;align-items:center}
  .footer{padding:50px 24px 40px}
  .footer-grid{grid-template-columns:1fr;gap:32px}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:20px}
  .footer-bottom .links{flex-wrap:wrap;white-space:normal}
  .sticky{height:64px}.sticky .wrap{padding:0 20px}.sticky img{width:44px;height:44px}
  .sticky .nav{display:none}
  .sticky .burger{display:flex}.sticky .burger span{background:var(--silver)}
}
