/* =========================================================
   Aristo Auto Solutions - mockup site stylesheet
   Palette: light, warm-neutral base with refinish-orange + steel-teal accents
   Type: Barlow Condensed (display) + Inter (body)
   ========================================================= */

:root{
  --ink:        #1E2126;
  --ink-soft:   #3A3F47;
  --bg:         #F6F5F1;
  --panel:      #FFFFFF;
  --panel-alt:  #F1EFE8;
  --charcoal:   #2A2E35;
  --muted:      #666C74;
  --line:       #E3E1DA;
  --orange:     #E85D04;
  --orange-dk:  #C64C02;
  --orange-tint:#FCEBDD;
  --steel:      #2A6F77;
  --steel-dk:   #1E555C;
  --steel-tint: #E7F1F1;

  --radius-sm: 5px;
  --radius-md: 9px;
  --radius-lg: 16px;

  --shadow-card: 0 1px 2px rgba(20,23,28,0.05), 0 8px 24px -12px rgba(20,23,28,0.14);
  --container: 1180px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html, body{ max-width:100%; overflow-x:hidden; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

body{
  margin:0;
  background:var(--bg);
  color:var(--charcoal);
  font-family:"Inter", -apple-system, Segoe UI, sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:"Barlow Condensed", "Inter", sans-serif;
  font-weight:600;
  color:var(--ink);
  margin:0 0 0.5em;
  line-height:1.15;
  letter-spacing:0;
  overflow-wrap:break-word;
}
h1{ font-weight:700; }

p{ margin:0 0 1em; color:var(--muted); max-width:64ch; overflow-wrap:break-word; }
a{ color:inherit; text-decoration:none; }
img,svg{ display:block; max-width:100%; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }

.wrap{ max-width:var(--container); margin:0 auto; padding:0 24px; width:100%; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline:3px solid var(--steel);
  outline-offset:2px;
}

/* thematic divider: refinish-floor hazard stripe, used sparingly */
.stripe{
  height:6px;
  background-image:repeating-linear-gradient(
    -45deg,
    var(--orange) 0 18px,
    var(--steel) 18px 36px
  );
  opacity:0.85;
  border-radius:3px;
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 22px; border-radius:3px;
  font-weight:600; font-size:0.95rem;
  border:1px solid transparent;
  transition:transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  white-space:normal;
  text-align:center;
}
.btn:hover{ transform:translateY(-1px); }
.btn-primary{ background:var(--orange); color:#fff; }
.btn-primary:hover{ background:var(--orange-dk); }
.btn-outline{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn-outline:hover{ background:rgba(20,23,28,0.05); }
.btn-ink{ background:var(--ink); color:#fff; }
.btn-ink:hover{ background:var(--ink-soft); }
.btn-steel{ background:var(--steel); color:#fff; }
.btn-steel:hover{ background:var(--steel-dk); }
.btn-ghost{ background:transparent; color:var(--ink); border:1px solid var(--line); }
.btn-ghost:hover{ background:rgba(20,23,28,0.05); }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:0.55; cursor:not-allowed; transform:none; }

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:40;
  background:var(--panel);
  color:var(--ink);
  border-bottom:1px solid var(--line);
}
.header-top{ display:flex; align-items:center; justify-content:space-between; padding:16px 0; gap:16px; }

.brand{ display:flex; flex-direction:column; flex-shrink:0; min-width:0; }
.brand-word{
  font-family:"Barlow Condensed", sans-serif;
  font-weight:700; font-size:1.5rem; letter-spacing:0.01em;
  color:var(--ink); line-height:1;
  white-space:nowrap;
}
.brand-word span{ color:var(--orange); }
.brand-tag{
  font-size:0.62rem; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--muted); margin-top:3px; white-space:nowrap;
}

.main-nav{ display:flex; align-items:center; gap:26px; flex-wrap:wrap; }
/* wp_nav_menu() always wraps each item in <li> (the mockup used bare <a>
   tags with no <ul>/<li> at all). Flexbox already "blockifies" each <li>
   into a normal flex item regardless of its display:list-item default, so
   removing only the bullet marker and default margin/padding is enough to
   match the mockup -- no visible bullet, correct spacing via the existing
   gap, and the <a> inside remains fully clickable across its whole box. */
.main-nav li{ list-style:none; margin:0; padding:0; }
.main-nav a{
  font-size:0.92rem; font-weight:500; color:var(--muted);
  padding:6px 2px; border-bottom:2px solid transparent;
  transition:color .15s ease, border-color .15s ease;
}
.main-nav a:hover, .main-nav a.active{ color:var(--ink); border-color:var(--orange); }

.header-actions{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.header-email{
  font-size:0.86rem; color:var(--muted);
  display:flex; align-items:center; gap:6px;
  white-space:nowrap;
}
.nav-toggle{
  display:none; background:transparent; border:1px solid var(--line);
  border-radius:6px; padding:8px 10px; color:var(--ink); flex-shrink:0;
}

/* ---------- hero ---------- */
.hero{
  background:
    radial-gradient(560px 260px at 88% -10%, var(--orange-tint) 0%, transparent 70%),
    radial-gradient(520px 300px at -5% 110%, var(--steel-tint) 0%, transparent 70%),
    var(--bg);
  padding:56px 0 70px;
  position:relative;
  overflow:hidden;
}
.hero--has-bg{
  background-size:cover; background-position:center 40%; background-repeat:no-repeat; color:#fff;
}
.hero--has-bg .hero-eyebrow{ color:#FFC98A; }
.hero.hero--has-bg h1{ color:#fff; }
.hero--has-bg .hero-lede{ color:rgba(255,255,255,0.82); }
.hero--has-bg .hero-meta div b{ color:#fff; }
.hero--has-bg .hero-meta div span{ color:rgba(255,255,255,0.7); }
.hero--has-bg .btn-outline{ color:#fff; border-color:rgba(255,255,255,0.5); }
.hero--has-bg .btn-outline:hover{ background:rgba(255,255,255,0.12); }
.hero-grid{ display:grid; grid-template-columns:1.05fr 0.9fr; gap:40px; align-items:center; }
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:8px; max-width:100%;
  font-size:0.78rem; color:var(--orange-dk); font-weight:700;
  letter-spacing:0.04em; text-transform:uppercase;
  border-left:3px solid var(--orange);
  padding-left:10px; margin-bottom:18px;
  overflow-wrap:break-word;
}
.hero h1{ color:var(--ink); font-size:clamp(2.1rem, 4vw, 3.3rem); max-width:16ch; }
.hero-lede{ color:var(--muted); max-width:48ch; font-size:1.05rem; }
.hero-cta-row{ display:flex; gap:14px; margin-top:24px; flex-wrap:wrap; }
.hero-meta{ display:flex; gap:28px; margin-top:34px; flex-wrap:wrap; }
.hero-meta div{ max-width:180px; }
.hero-meta div b{
  display:block; font-family:"Barlow Condensed",sans-serif; font-weight:700;
  font-size:1.05rem; color:var(--ink);
}
.hero-meta div span{ font-size:0.8rem; color:var(--muted); }

.hero-panel{
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-card); padding:26px; min-width:0;
}
.hero-panel h3{ font-size:1.1rem; margin-bottom:4px; }
.hero-panel .sub{ font-size:0.85rem; color:var(--muted); margin-bottom:18px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:12px; }
.field{ display:flex; flex-direction:column; gap:6px; min-width:0; }
.field label{ font-size:0.76rem; color:var(--muted); font-weight:600; }
.field select, .field input, .field textarea{
  width:100%; padding:11px 12px; border-radius:var(--radius-sm);
  border:1px solid var(--line); background:#fbfbfa;
  font-size:0.92rem; color:var(--charcoal); font-family:inherit; resize:vertical;
}
.hero-panel .btn{ margin-top:6px; }
.form-note{ font-size:0.78rem; color:var(--muted); margin-top:14px; margin-bottom:0; }

.captcha-row{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.captcha-image{ border-radius:var(--radius-sm); border:1px solid var(--line); display:block; }
.captcha-refresh{
  width:38px; height:38px; border-radius:var(--radius-sm); border:1px solid var(--line);
  background:#fbfbfa; color:var(--charcoal); font-size:1.1rem; cursor:pointer; flex:none;
}
.captcha-row input{ flex:1 1 120px; min-width:100px; }

/* ---------- section shell ---------- */
.section{ padding:68px 0; }
.section-tight{ padding:46px 0; }
.section-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:32px; flex-wrap:wrap; }
.section-head h2{ font-size:clamp(1.6rem,2.6vw,2.2rem); margin-bottom:8px; max-width:24ch; }
.section-head p{ margin-bottom:0; }
.section-alt{ background:var(--panel); }
.section-tint{ background:var(--steel-tint); }
.eyebrow{
  display:inline-block; font-size:0.76rem; font-weight:700; letter-spacing:0.05em;
  text-transform:uppercase; color:var(--orange-dk); margin-bottom:10px;
}

/* ---------- placeholder / sample banners ---------- */
.sample-flag{
  display:inline-flex; align-items:center; gap:6px; max-width:100%;
  font-size:0.74rem; font-weight:600; color:var(--steel-dk);
  background:var(--steel-tint); border:1px solid rgba(42,111,119,0.3);
  padding:5px 12px; border-radius:999px; margin-bottom:16px;
  overflow-wrap:break-word;
}

/* ---------- about ---------- */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:start; }
.about-copy p{ font-size:0.96rem; }
.about-copy h3{ font-size:1.15rem; margin-top:22px; }
.about-list{ display:flex; flex-direction:column; gap:10px; margin-top:6px; }
.about-list li{ display:flex; gap:10px; font-size:0.92rem; color:var(--charcoal); align-items:flex-start; }
.about-list svg{ width:16px; height:16px; flex-shrink:0; margin-top:4px; color:var(--steel-dk); }
.about-card{
  background:var(--steel-tint); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:30px; position:relative; border-top:4px solid var(--steel);
}
.about-card h3{ color:var(--ink); font-size:1.1rem; }
.about-card p{ color:var(--charcoal); font-size:0.9rem; }
.about-card .division{ font-size:0.82rem; color:var(--muted); margin-bottom:16px; }
.about-card .addr{ display:flex; gap:10px; align-items:flex-start; font-size:0.9rem; color:var(--charcoal); }
.about-card .addr svg{ width:18px; height:18px; color:var(--orange-dk); flex-shrink:0; margin-top:2px; }

/* ---------- service groups ---------- */
.group-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.service-card{
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:0; display:flex; flex-direction:column; overflow:hidden;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.service-card:hover{ border-color:var(--orange); box-shadow:var(--shadow-card); }
.service-thumb{
  height:120px; display:flex; align-items:center; justify-content:center;
  background:var(--steel-tint);
}
.service-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.service-card .service-body{ padding:20px; display:flex; flex-direction:column; gap:8px; }
.service-icon{ width:44px; height:44px; border-radius:9px; background:var(--steel-tint); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.service-icon svg{ width:22px; height:22px; }
.service-card h4{ font-size:1.02rem; margin-bottom:2px; }
.service-card p{ font-size:0.87rem; margin-bottom:0; }

.category-block{ margin-bottom:40px; }
.category-banner{
  height:150px; border-radius:var(--radius-md); overflow:hidden; margin-bottom:18px;
  position:relative; background:var(--steel-tint);
}
.category-banner img{ width:100%; height:100%; object-fit:cover; display:block; }
.category-banner .cap{
  position:absolute; left:0; right:0; bottom:0;
  background:linear-gradient(0deg, rgba(20,23,28,0.72), transparent);
  color:#fff; padding:28px 20px 12px; font-family:"Barlow Condensed",sans-serif;
  font-weight:700; font-size:1.1rem;
}
.category-block h3{ font-size:1.25rem; display:flex; align-items:center; gap:10px; margin-bottom:16px; flex-wrap:wrap; }
.category-block h3::before{ content:""; width:22px; height:3px; background:var(--orange); display:inline-block; flex-shrink:0; }
.svc-list{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.svc-row{
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:16px 18px; display:flex; gap:14px; align-items:flex-start;
}
.svc-row .svc-icon{
  width:38px; height:38px; border-radius:8px; background:var(--steel-tint);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.svc-row .svc-icon img{ width:19px; height:19px; object-fit:contain; display:block; }
.svc-row .svc-text{ min-width:0; }
.svc-row h5{ font-family:"Inter",sans-serif; font-weight:600; font-size:0.94rem; color:var(--ink); margin:0; }
.svc-row p{ font-size:0.84rem; margin:4px 0 0; }

/* ---------- USP / feature grid ---------- */
.feature-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.feature{ display:flex; gap:14px; min-width:0; }
.feature-icon{
  flex-shrink:0; width:42px; height:42px; border-radius:8px;
  background:var(--orange-tint); display:flex; align-items:center; justify-content:center;
}
.feature-icon img{ width:21px; height:21px; object-fit:contain; display:block; }
.feature h4{ font-size:0.97rem; margin-bottom:4px; }
.feature p{ font-size:0.86rem; margin-bottom:0; }

/* ---------- highlight / callout ---------- */
.callout{
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:40px; display:grid; grid-template-columns:1fr 0.8fr; gap:32px; align-items:center;
}
.callout h2{ font-size:clamp(1.5rem,2.2vw,2rem); margin-bottom:10px; }
.callout .quote{
  font-family:"Barlow Condensed",sans-serif; font-weight:600; font-size:1.4rem;
  color:var(--orange-dk); margin-bottom:14px;
}
.callout-visual{
  aspect-ratio:4/3; border-radius:var(--radius-md);
  background:var(--steel-tint);
  border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
}
.callout-visual{ overflow:hidden; }
.callout-visual img{ width:100%; height:100%; object-fit:cover; display:block; }

/* ---------- pricing note ---------- */
.pricing-note{
  background:var(--orange-tint); border:1px solid rgba(232,93,4,0.25);
  border-radius:var(--radius-lg);
  padding:34px 36px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.pricing-note h3{ color:var(--ink); font-size:1.3rem; margin-bottom:6px; }
.pricing-note p{ color:var(--charcoal); margin-bottom:0; max-width:52ch; }

/* ---------- sample testimonials ---------- */
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.testi-card{
  background:var(--panel); border:1px dashed var(--line); border-radius:var(--radius-md);
  padding:22px; display:flex; flex-direction:column; gap:12px; min-width:0;
}
.stars{ display:flex; gap:3px; color:var(--orange); }
.stars svg{ width:14px; height:14px; }
.testi-card p{ font-size:0.9rem; color:var(--charcoal); margin-bottom:0; }
.testi-person{ display:flex; align-items:center; gap:10px; margin-top:auto; }
.testi-avatar{
  width:36px; height:36px; border-radius:50%; background:var(--steel); color:#fff;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  font-family:"Barlow Condensed",sans-serif; font-weight:700; font-size:0.85rem;
}
.testi-person b{ display:block; font-size:0.86rem; }
.testi-person span{ font-size:0.76rem; color:var(--muted); }

/* ---------- testimonial marquee (WordPress build: continuously scrolling) ---------- */
.testi-marquee{
  overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
}
.testi-track{
  display:flex; gap:20px; width:max-content;
  animation-name:aristo-testi-marquee; animation-timing-function:linear; animation-iteration-count:infinite;
}
.testi-marquee:hover .testi-track{ animation-play-state:paused; }
.testi-track .testi-card{ flex:0 0 320px; min-width:0; }
@keyframes aristo-testi-marquee{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .testi-track{ animation:none; }
}

/* ---------- contact page bits ---------- */
.contact-grid{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:36px; }
.contact-card{
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:20px; display:flex; gap:14px; align-items:flex-start; margin-bottom:14px; min-width:0;
}
.contact-card svg{ width:21px; height:21px; color:var(--steel-dk); flex-shrink:0; margin-top:2px; }
.contact-card > div{ min-width:0; }
.contact-card h4{ font-size:0.94rem; margin-bottom:4px; }
.contact-card p{ font-size:0.86rem; margin-bottom:0; }
.contact-card .placeholder{ color:var(--orange-dk); font-style:italic; }
.form-card{ background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-lg); padding:28px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
.form-field{ display:flex; flex-direction:column; gap:6px; min-width:0; }
.form-field.full{ grid-column:1/-1; }
.form-field label{ font-size:0.82rem; font-weight:600; color:var(--ink); }
.form-field input, .form-field select, .form-field textarea{
  width:100%; padding:12px 13px; border-radius:var(--radius-sm); border:1px solid var(--line);
  background:#fbfbfa; font-family:inherit; font-size:0.92rem; color:var(--charcoal); resize:vertical;
}

/* ---------- footer ---------- */
.site-footer{ background:var(--panel-alt); color:var(--charcoal); padding:48px 0 0; border-top:3px solid var(--orange); }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1.15fr; gap:32px; padding-bottom:36px; }
.footer-brand .brand-word{ margin-bottom:10px; color:var(--ink); }
.footer-brand p{ color:var(--muted); font-size:0.87rem; }
.footer-col h5{ color:var(--ink); font-size:0.84rem; margin-bottom:16px; font-weight:600; font-family:"Inter",sans-serif; letter-spacing:0.02em; text-transform:uppercase; }
.footer-col ul{ display:flex; flex-direction:column; gap:10px; }
.footer-col a{ font-size:0.86rem; color:var(--muted); transition:color .15s ease; }
.footer-col a:hover{ color:var(--ink); }
.footer-contact li{ display:flex; gap:10px; font-size:0.85rem; color:var(--charcoal); align-items:flex-start; }
.footer-contact svg{ width:16px; height:16px; margin-top:3px; flex-shrink:0; color:var(--orange-dk); }
.footer-bottom{
  border-top:1px solid var(--line); padding:18px 0;
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  font-size:0.8rem; color:var(--muted);
}
.footer-bottom a{ color:var(--muted); }
.footer-bottom a:hover{ color:var(--ink); }

/* ---------- mockup banner ---------- */
.mockup-banner{ background:var(--orange); color:#fff; text-align:center; font-size:0.82rem; font-weight:600; padding:9px 16px; }

/* ---------- inner page hero ---------- */
.page-hero{ background:var(--steel-tint); color:var(--ink); padding:48px 0 40px; border-bottom:1px solid var(--line); }
.page-hero h1{ color:var(--ink); font-size:clamp(1.9rem,3.4vw,2.6rem); margin-bottom:10px; }
.page-hero p{ color:var(--charcoal); margin-bottom:0; }

/* =================== responsive =================== */
@media (max-width:980px){
  .hero-grid{ grid-template-columns:1fr; }
  .group-grid{ grid-template-columns:repeat(2,1fr); }
  .feature-grid{ grid-template-columns:repeat(2,1fr); }
  .testi-grid{ grid-template-columns:1fr; }
  .about-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .callout{ grid-template-columns:1fr; }
  .svc-list{ grid-template-columns:1fr; }
}
@media (max-width:760px){
  .main-nav, .header-actions .header-email, .header-actions .btn{ display:none; }
  .nav-toggle{ display:inline-flex; align-items:center; }
  .header-top{ padding:14px 0; }
  .group-grid{ grid-template-columns:1fr 1fr; }
  .field-row, .form-row{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .pricing-note{ flex-direction:column; align-items:flex-start; }
  .wrap{ padding:0 18px; }
  .section{ padding:52px 0; }
  .callout{ padding:26px; }
}
@media (max-width:520px){
  .group-grid{ grid-template-columns:1fr; }
  .feature-grid{ grid-template-columns:1fr; }
  .hero{ padding:44px 0 52px; }
  .hero-panel{ padding:20px; }
  .contact-card, .form-card{ padding:18px; }
  .btn{ padding:12px 18px; font-size:0.9rem; }
}

/* mobile nav drawer */
.mobile-nav{ display:none; flex-direction:column; gap:2px; background:var(--panel); border-top:1px solid var(--line); padding:10px 18px 18px; }
.mobile-nav.open{ display:flex; }
.mobile-nav li{ list-style:none; margin:0; padding:0; }
.mobile-nav a{ padding:12px 4px; color:var(--charcoal); border-bottom:1px solid var(--line); font-size:0.94rem; }
.mobile-nav a.mobile-cta{ color:var(--orange-dk); font-weight:700; }
