/* ===================================================================
   ENCINAS AUTOMOTIVE — ultra-premium black / silver / gold identity
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@200;300;400;500;600&family=Inter:wght@300;400;500&display=swap');

:root{
  --black:      #0b0b0c;
  --black-2:    #131315;
  --black-3:    #1a1a1c;
  --line:       #2a2a2d;
  --line-soft:  #202022;

  --gold:       #cba25a;
  --gold-soft:  #e3caa0;
  --gold-glow:  rgba(203,162,90,.38);
  --silver:     #cfd0d3;
  --silver-dim: #8b8c90;
  --white:      #f4f3f0;

  --font-head: 'Jost', sans-serif;
  --font-body: 'Inter', sans-serif;

  --edge: clamp(1.25rem, 5vw, 5rem);
  --gap: clamp(1.25rem, 3vw, 2.5rem);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  background:var(--black);
  color:var(--white);
  font-family:var(--font-body);
  font-weight:300;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

h1,h2,h3,h4{
  font-family:var(--font-head);
  font-weight:300;
  line-height:1.15;
  margin:0;
  letter-spacing:.01em;
}

p{ margin:0 0 1em; color:var(--silver-dim); max-width:60ch; }
p:last-child{ margin-bottom:0; }

.container{
  max-width:1240px;
  margin:0 auto;
  padding-left:var(--edge);
  padding-right:var(--edge);
}

::selection{ background:var(--gold); color:var(--black); }
:focus-visible{ outline:1px solid var(--gold); outline-offset:4px; }

/* ---------- custom glowing dot cursor ---------- */
@media (hover:hover) and (pointer:fine){
  body.cursor-ready{ cursor:none; }
  body.cursor-ready a, body.cursor-ready button, body.cursor-ready input, body.cursor-ready textarea{ cursor:none; }
}
#cursor-dot, #cursor-ring, #cursor-glow{
  position:fixed;
  top:0; left:0;
  pointer-events:none;
  z-index:200;
  transform:translate(-50%,-50%);
  will-change:transform;
}
#cursor-glow{
  width:340px; height:340px;
  border-radius:50%;
  background:radial-gradient(circle, var(--gold-glow) 0%, rgba(203,162,90,.06) 45%, transparent 72%);
  mix-blend-mode:screen;
  opacity:0;
  transition:opacity .5s ease;
}
#cursor-ring{
  width:34px; height:34px;
  border-radius:50%;
  border:1px solid var(--gold-soft);
  opacity:0;
  transition:opacity .4s ease, width .3s ease, height .3s ease, border-color .3s ease;
}
#cursor-dot{
  width:5px; height:5px;
  border-radius:50%;
  background:var(--gold-soft);
  opacity:0;
  transition:opacity .3s ease;
}
body.cursor-active #cursor-glow,
body.cursor-active #cursor-ring,
body.cursor-active #cursor-dot{ opacity:1; }
body.cursor-hover #cursor-ring{ width:52px; height:52px; border-color:var(--gold); }

/* ---------- gold hairline divider ---------- */
.hairline{
  height:1px;
  background:linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity:.55;
}

/* ---------- top bar ---------- */
.top-bar{
  background:var(--black-2);
  border-bottom:1px solid var(--line);
  font-size:.76rem;
  letter-spacing:.03em;
  color:var(--silver-dim);
}
.top-bar .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:.6rem;
  padding-bottom:.6rem;
  gap:1rem;
  flex-wrap:wrap;
}
.top-bar a{ color:var(--silver); transition:color .3s ease; }
.top-bar a:hover{ color:var(--gold); }
.top-bar .est{ color:var(--gold); }

/* ---------- header / nav ---------- */
header.site-header{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(11,11,12,.82);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:1.1rem;
  padding-bottom:1.1rem;
}
.brand{ display:flex; align-items:center; gap:.85rem; }
.brand svg{ height:42px; width:auto; }
.brand-text{ display:flex; flex-direction:column; line-height:1.2; }
.brand-text strong{
  font-family:var(--font-head);
  font-size:1.05rem;
  letter-spacing:.06em;
  color:var(--white);
  font-weight:400;
}
.brand-text span{
  font-size:.62rem;
  color:var(--gold);
  letter-spacing:.16em;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:1.9rem;
  font-size:.88rem;
}
.nav-links a{
  position:relative;
  color:var(--silver);
  padding:.3rem 0;
  letter-spacing:.02em;
  transition:color .3s ease;
}
.nav-links a::after{
  content:'';
  position:absolute;
  left:0; bottom:-3px;
  width:0; height:1px;
  background:var(--gold);
  transition:width .35s ease;
}
.nav-links a:hover{ color:var(--white); }
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }
.nav-links a.active{ color:var(--gold); }

.nav-cta{
  border:1px solid var(--gold);
  color:var(--gold) !important;
  padding:.6rem 1.35rem;
  font-size:.82rem;
  letter-spacing:.03em;
  transition:background .35s ease, color .35s ease, box-shadow .35s ease;
}
.nav-cta:hover{ background:var(--gold); color:var(--black) !important; box-shadow:0 0 26px var(--gold-glow); }
.nav-cta::after{ display:none; }

.nav-toggle{
  display:none;
  background:none;
  border:1px solid var(--line);
  color:var(--white);
  width:42px; height:42px;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
@media (max-width:960px){
  .nav-links{
    position:fixed;
    top:73px; right:0;
    height:calc(100vh - 73px);
    width:min(80vw,320px);
    background:var(--black-2);
    border-left:1px solid var(--line);
    flex-direction:column;
    align-items:flex-start;
    padding:2.2rem var(--edge);
    gap:1.5rem;
    transform:translateX(100%);
    transition:transform .45s cubic-bezier(.7,0,.2,1);
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-toggle{ display:flex; }
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  padding:1rem 2.2rem;
  font-family:var(--font-head);
  font-size:.82rem;
  letter-spacing:.05em;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .35s ease, box-shadow .35s ease, background .35s ease, color .35s ease, border-color .35s ease;
}
.btn-primary{ background:var(--gold); color:var(--black); }
.btn-primary:hover{ box-shadow:0 0 32px var(--gold-glow); transform:translateY(-2px); }
.btn-ghost{ border-color:var(--silver-dim); color:var(--white); }
.btn-ghost:hover{ border-color:var(--gold); color:var(--gold); transform:translateY(-2px); }

/* ---------- hero ---------- */
.hero{
  position:relative;
  min-height:90vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:
    radial-gradient(ellipse 65% 55% at 85% 10%, rgba(203,162,90,.10), transparent 62%),
    linear-gradient(180deg, var(--black) 0%, #0e0e10 55%, var(--black) 100%);
}
.hero-lines{
  position:absolute; inset:0;
  background-image:linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:100% 84px;
  mask-image:radial-gradient(ellipse 75% 65% at 65% 25%, black 5%, transparent 72%);
}
.hero-content{ position:relative; z-index:2; max-width:840px; padding:3rem 0; }
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.65rem;
  font-family:var(--font-head);
  font-size:.78rem;
  color:var(--gold);
  letter-spacing:.14em;
  margin-bottom:1.7rem;
  opacity:0;
  animation:reveal-up .9s ease forwards .1s;
}
.eyebrow::before{ content:''; width:28px; height:1px; background:var(--gold); }
.hero h1{
  font-size:clamp(2.5rem, 5.6vw, 4.3rem);
  font-weight:200;
  color:var(--white);
}
.hero h1 .line{ display:block; overflow:hidden; }
.hero h1 .line span{ display:block; transform:translateY(112%); animation:line-up 1s cubic-bezier(.2,.8,.2,1) forwards; }
.hero h1 .line:nth-child(1) span{ animation-delay:.18s; }
.hero h1 .line:nth-child(2) span{ animation-delay:.36s; }
.hero h1 .accent{ color:var(--gold); font-weight:400; font-style:italic; }
.hero-tagline{
  margin-top:1.7rem;
  font-family:var(--font-head);
  font-size:1.05rem;
  color:var(--silver);
  font-weight:300;
  letter-spacing:.02em;
  opacity:0;
  animation:reveal-up .9s ease forwards .58s;
}
.hero-desc{ margin-top:1.3rem; font-size:1.02rem; opacity:0; animation:reveal-up .9s ease forwards .74s; }
.hero-actions{ margin-top:2.5rem; display:flex; gap:1rem; flex-wrap:wrap; opacity:0; animation:reveal-up .9s ease forwards .9s; }
.hero-stats{ margin-top:3.4rem; display:flex; gap:2.8rem; flex-wrap:wrap; opacity:0; animation:reveal-up .9s ease forwards 1.06s; }
.hero-stats div strong{ display:block; font-family:var(--font-head); font-size:1.65rem; color:var(--white); font-weight:400; }
.hero-stats div span{ font-size:.75rem; color:var(--silver-dim); letter-spacing:.04em; }

@keyframes reveal-up{ from{ opacity:0; transform:translateY(18px); } to{ opacity:1; transform:translateY(0); } }
@keyframes line-up{ to{ transform:translateY(0); } }

/* ---------- sections ---------- */
section{ padding:clamp(4.2rem, 8vw, 7.5rem) 0; position:relative; }

.section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:2rem; flex-wrap:wrap; margin-bottom:3.2rem; }
.section-head .eyebrow{ animation:none; opacity:1; margin-bottom:1.1rem; }
.section-head h2{ font-size:clamp(1.9rem, 3.4vw, 2.6rem); color:var(--white); font-weight:200; max-width:22ch; }
.section-head p{ max-width:38ch; }

.reveal{ opacity:0; transform:translateY(30px); transition:opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view{ opacity:1; transform:translateY(0); }
.reveal-delay-1.in-view{ transition-delay:.1s; }
.reveal-delay-2.in-view{ transition-delay:.2s; }
.reveal-delay-3.in-view{ transition-delay:.3s; }
.reveal-delay-4.in-view{ transition-delay:.4s; }
.reveal-delay-5.in-view{ transition-delay:.5s; }

/* ---------- trust strip ---------- */
.trust-strip{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--black-2); }
.trust-strip .container{
  display:flex; flex-wrap:wrap; gap:2.5rem; justify-content:space-between;
  padding-top:1.7rem; padding-bottom:1.7rem; font-size:.8rem; color:var(--silver-dim); letter-spacing:.02em;
}
.trust-strip strong{ color:var(--gold); font-weight:400; }

/* ---------- service cards ---------- */
.grid{ display:grid; gap:1px; background:var(--line); border:1px solid var(--line); }
.grid-3{ grid-template-columns:repeat(3, 1fr); }
.grid-2{ grid-template-columns:repeat(2, 1fr); }
@media (max-width:920px){ .grid-3{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .grid-3,.grid-2{ grid-template-columns:1fr; } }

.card{ background:var(--black-2); padding:2.5rem 2.1rem; position:relative; transition:background .4s ease; }
.card:hover{ background:var(--black-3); }
.card .num{ font-family:var(--font-head); font-size:.76rem; color:var(--gold); letter-spacing:.08em; margin-bottom:1.5rem; display:block; }
.card h3{ font-size:1.18rem; color:var(--white); font-weight:400; margin-bottom:.85rem; }
.card p{ font-size:.92rem; }
.card::before{ content:''; position:absolute; left:0; top:0; width:2px; height:0; background:var(--gold); transition:height .45s ease; }
.card:hover::before{ height:100%; }

/* ---------- CTA banner ---------- */
.cta-banner{ background:linear-gradient(120deg, var(--black-2), #16130c); border-top:1px solid var(--line); border-bottom:1px solid var(--line); text-align:center; }
.cta-banner h2{ font-size:clamp(1.8rem,3.6vw,2.5rem); color:var(--white); font-weight:200; max-width:24ch; margin:0 auto 1.2rem; }
.cta-banner p{ margin:0 auto 2rem; }
.cta-banner .btn-row{ display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

/* ---------- review carousel ---------- */
.reviews{ background:var(--black); }
.review-track{ position:relative; min-height:200px; }
.review-slide{ position:absolute; inset:0; opacity:0; transform:translateY(14px); transition:opacity .8s ease, transform .8s ease; pointer-events:none; }
.review-slide.active{ opacity:1; transform:translateY(0); pointer-events:auto; position:relative; }
.review-stars{ color:var(--gold); letter-spacing:.25em; font-size:1rem; margin-bottom:1.3rem; }
.review-slide blockquote{
  font-family:var(--font-head); font-size:clamp(1.2rem,2.3vw,1.6rem); font-weight:300; font-style:italic;
  color:var(--white); margin:0 0 1.3rem; max-width:56ch; line-height:1.45;
}
.review-slide cite{ font-style:normal; color:var(--silver-dim); font-size:.84rem; letter-spacing:.02em; }
.review-dots{ display:flex; gap:.5rem; margin-top:2.2rem; }
.review-dots button{ width:26px; height:1px; background:var(--line); border:none; cursor:pointer; padding:0; transition:background .35s ease; }
.review-dots button.active{ background:var(--gold); }

/* ---------- testimonial grid (testimonials page) ---------- */
.testi-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
@media (max-width:760px){ .testi-grid{ grid-template-columns:1fr; } }
.testi-card{ background:var(--black-2); padding:2.6rem; transition:background .4s ease; }
.testi-card:hover{ background:var(--black-3); }
.testi-card .review-stars{ margin-bottom:1.1rem; }
.testi-card blockquote{
  font-family:var(--font-head); font-style:italic; font-weight:300; color:var(--white);
  font-size:1.08rem; line-height:1.5; margin:0 0 1.2rem;
}
.testi-card cite{ font-style:normal; color:var(--silver-dim); font-size:.82rem; }

/* ---------- footer ---------- */
footer{ background:var(--black-2); border-top:1px solid var(--line); padding-top:3.6rem; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:2.5rem; padding-bottom:2.5rem; }
@media (max-width:820px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-brand .brand{ margin-bottom:1.1rem; }
.footer-col h4{ font-size:.8rem; letter-spacing:.06em; color:var(--gold); margin-bottom:1.15rem; font-weight:400; }
.footer-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:.7rem; }
.footer-col a{ color:var(--silver-dim); font-size:.9rem; transition:color .3s ease; }
.footer-col a:hover{ color:var(--gold); }
.footer-bottom{ border-top:1px solid var(--line); padding:1.4rem 0; display:flex; justify-content:space-between; flex-wrap:wrap; gap:1rem; font-size:.76rem; color:var(--silver-dim); }

/* ---------- inner page banner ---------- */
.page-banner{
  padding:6.5rem 0 3.6rem;
  border-bottom:1px solid var(--line);
  background:radial-gradient(ellipse 60% 60% at 85% 0%, rgba(203,162,90,.09), transparent 62%), var(--black);
}
.page-banner .eyebrow{ animation:none; opacity:1; }
.page-banner h1{ font-size:clamp(2.2rem,4.6vw,3.3rem); color:var(--white); font-weight:200; margin-top:1.1rem; max-width:22ch; }
.breadcrumb{ font-size:.8rem; color:var(--silver-dim); }
.breadcrumb a:hover{ color:var(--gold); }

/* ---------- about page ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:var(--gap); align-items:center; }
@media (max-width:860px){ .split{ grid-template-columns:1fr; } }

.stat-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); margin-top:3rem; }
@media (max-width:760px){ .stat-row{ grid-template-columns:repeat(2,1fr); } }
.stat-row div{ background:var(--black-2); padding:2.1rem 1.5rem; text-align:center; }
.stat-row strong{ display:block; font-family:var(--font-head); font-size:2rem; color:var(--gold); font-weight:400; }
.stat-row span{ font-size:.76rem; color:var(--silver-dim); letter-spacing:.02em; }

.value-list{ display:flex; flex-direction:column; gap:0; }
.value-item{ display:grid; grid-template-columns:70px 1fr; gap:1.5rem; padding:1.9rem 0; border-top:1px solid var(--line); }
.value-item:last-child{ border-bottom:1px solid var(--line); }
.value-item .num{ font-family:var(--font-head); color:var(--gold); font-size:1rem; }
.value-item h3{ color:var(--white); font-size:1.14rem; font-weight:400; margin-bottom:.5rem; }
.value-item p{ font-size:.92rem; }

/* ---------- contact page ---------- */
.contact-wrap{ display:grid; grid-template-columns:1fr 1fr; gap:0; border:1px solid var(--line); }
@media (max-width:920px){ .contact-wrap{ grid-template-columns:1fr; } }
.contact-info{ padding:3.2rem; border-right:1px solid var(--line); }
@media (max-width:920px){ .contact-info{ border-right:none; border-bottom:1px solid var(--line); } }
.contact-form{ padding:3.2rem; }
.info-row{ display:flex; gap:1.2rem; padding:1.5rem 0; border-top:1px solid var(--line); }
.info-row:first-of-type{ border-top:none; }
.info-row .ico{ width:20px; color:var(--gold); flex-shrink:0; margin-top:.2rem; }
.info-row h4{ color:var(--white); font-size:.92rem; margin-bottom:.3rem; font-weight:400; }
.info-row p{ font-size:.9rem; }
.info-row a{ color:var(--silver); transition:color .3s ease; }
.info-row a:hover{ color:var(--gold); }

.field{ margin-bottom:1.4rem; }
.field label{ display:block; font-size:.76rem; letter-spacing:.03em; color:var(--silver-dim); margin-bottom:.55rem; }
.field input, .field textarea, .field select{
  width:100%; background:var(--black-2); border:1px solid var(--line); color:var(--white);
  padding:.9rem 1rem; font-family:var(--font-body); font-size:.92rem;
  transition:border-color .35s ease, box-shadow .35s ease;
}
.field input:focus, .field textarea:focus, .field select:focus{
  outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(203,162,90,.15);
}
.field textarea{ min-height:120px; resize:vertical; }
.form-note{ font-size:.78rem; color:var(--silver-dim); margin-top:1rem; }
.booking-note{
  margin-top:1.6rem; padding:1.2rem 1.4rem; border:1px dashed var(--line);
  font-size:.84rem; color:var(--silver-dim);
}
.booking-note strong{ color:var(--gold); font-weight:400; }

.map-frame{ border:1px solid var(--line); filter:grayscale(.6) invert(.92) contrast(.9); width:100%; height:380px; margin-top:1.7rem; }

/* ---------- privacy page ---------- */
.policy{ max-width:78ch; }
.policy h2{ color:var(--white); font-size:1.32rem; font-weight:400; margin-top:2.6rem; margin-bottom:.9rem; }
.policy h2:first-child{ margin-top:0; }
.policy p, .policy li{ font-size:.96rem; }
.policy ul{ color:var(--silver-dim); padding-left:1.2rem; }
.policy li{ margin-bottom:.5rem; }
.policy .updated{ color:var(--silver-dim); font-size:.85rem; margin-bottom:2.5rem; }

.divider{ height:1px; background:var(--line); margin:0; }
