/* ===================================================================
   Custom Auto Care — stylesheet
   =================================================================== */

:root {
  --bg: #08080a;
  --bg-alt: #0e0e11;
  --surface: #17171b;
  --surface-2: #1e1e24;
  --border: rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.16);
  --text: #f4f4f6;
  --text-dim: #a3a3ad;
  --text-faint: #6f6f7a;
  --red: #e0202f;
  --red-bright: #ff3b4a;
  --red-dim: #9c1420;
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1240px;
  --ease: cubic-bezier(.16,.8,.24,1);
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.08;
}

section[id] { scroll-margin-top: 84px; }

/* ---------- progress bar ---------- */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--red-dim), var(--red-bright));
  z-index: 999; transition: width 0.1s linear;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn .icon { width: 16px; height: 16px; fill: currentColor; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 24px -8px rgba(224,32,47,0.55); }
.btn-primary:hover { background: var(--red-bright); transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(224,32,47,0.65); }
.btn-outline { border: 1.5px solid var(--border-strong); color: var(--text); background: rgba(255,255,255,0.03); }
.btn-outline:hover { border-color: var(--red); color: var(--red-bright); transform: translateY(-2px); }
.btn-ghost { color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 18px 0;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(8,8,10,0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 32px; height: 32px; color: var(--red); }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.03em; text-transform: uppercase; }
.logo-text em { display: block; font-style: normal; font-size: 0.6rem; font-weight: 500; letter-spacing: 0.28em; color: var(--red); line-height: 1; margin-top: 1px; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-link { font-size: 0.86rem; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; color: var(--text-dim); position: relative; transition: color 0.2s; }
.nav-link:hover { color: var(--text); }
.nav-link:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav-link:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-call { display: none; align-items: center; gap: 8px; }

@media (min-width: 1180px) {
  .header-call { display: inline-flex; }
}

.menu-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; padding: 6px 0; }
.menu-toggle span { display: block; height: 2px; width: 100%; background: var(--text); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 480;
  background: rgba(6,6,8,0.98); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav a { font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text); }
.mobile-nav-actions { display: flex; gap: 14px; margin-top: 10px; }

/* ---------- hero (scroll-scrubbed video) ---------- */
.hero-scroll { position: relative; height: 320vh; }
.hero {
  position: fixed; top: 0; left: 0; width: 100%; height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden;
}
.hero.is-settled { position: absolute; top: auto; bottom: 0; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-frame { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,6,8,0.55) 0%, rgba(6,6,8,0.35) 30%, rgba(6,6,8,0.55) 65%, rgba(6,6,8,0.96) 100%),
    linear-gradient(90deg, rgba(6,6,8,0.55) 0%, rgba(6,6,8,0.05) 45%, rgba(6,6,8,0.05) 55%, rgba(6,6,8,0.55) 100%);
}
.hero-grain { position: absolute; inset: 0; opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: 140px; padding-bottom: 56px; }
.badge { display: inline-block; padding: 8px 16px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-bright); background: rgba(224,32,47,0.08); margin-bottom: 22px; }
.hero-title { font-size: clamp(2.6rem, 6.4vw, 5.2rem); margin-bottom: 22px; max-width: 16ch; }
.hero-title span { display: block; color: var(--text-dim); -webkit-text-stroke: 1px rgba(255,255,255,0.35); color: transparent; background: linear-gradient(180deg, #fff, rgba(255,255,255,0.55)); -webkit-background-clip: text; background-clip: text; }
.hero-sub { font-size: 1.08rem; color: var(--text-dim); max-width: 44ch; margin-bottom: 34px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 44px; margin-top: 64px; padding-top: 34px; border-top: 1px solid var(--border); width: fit-content; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: var(--red-bright); line-height: 1; }
.stat-label { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); margin-top: 6px; }

.scroll-cue { position: absolute; bottom: 22px; right: 32px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint); }
.scroll-cue span { width: 1px; height: 34px; background: linear-gradient(180deg, var(--red-bright), transparent); animation: scrollcue 1.8s infinite ease-in-out; }
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; opacity: 0; } 40% { transform: scaleY(1); transform-origin: top; opacity: 1; } 55% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { background: var(--red); overflow: hidden; padding: 13px 0; }
.marquee-track { display: flex; align-items: center; gap: 16px; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track span { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; }
.marquee-track .dot { font-size: 0.5rem; color: rgba(255,255,255,0.6); }

/* ---------- sections / layout ---------- */
.section { padding: 108px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.eyebrow { display: inline-block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red-bright); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.section-head p { color: var(--text-dim); font-size: 1.05rem; }
.lead { color: var(--text-dim); font-size: 1.08rem; margin-bottom: 18px; }
.text-link { display: inline-block; margin-top: 18px; color: var(--red-bright); font-weight: 600; font-size: 0.92rem; }
.text-link:hover { text-decoration: underline; }

.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- feature cards ---------- */
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease); }
.feature-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.feature-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(224,32,47,0.12); color: var(--red-bright); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; letter-spacing: 0.01em; }
.feature-card p { color: var(--text-dim); font-size: 0.94rem; }

/* ---------- service cards ---------- */
.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; transition: transform 0.3s var(--ease), border-color 0.3s var(--ease); position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-4px); border-color: var(--red-dim); }
.service-card:hover .service-icon { color: var(--red-bright); background: rgba(224,32,47,0.14); }
.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.service-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--text-faint); }
.service-tag { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-bright); background: rgba(224,32,47,0.1); padding: 5px 10px; border-radius: 999px; }
.service-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--surface-2); color: var(--text-dim); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; transition: color 0.25s, background 0.25s; }
.service-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.service-card p { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 18px; min-height: 3.4em; }
.service-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--text); }
.icon-sm { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.25s var(--ease); }
.service-link:hover .icon-sm { transform: translateX(4px); }

/* ---------- gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--text-dim); transition: all 0.25s var(--ease); }
.filter-btn:hover { color: var(--text); border-color: var(--text-dim); }
.filter-btn.is-active { background: var(--red); border-color: var(--red); color: #fff; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 14px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); cursor: pointer; }
.gallery-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::before { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%); opacity: 0.75; transition: opacity 0.3s; z-index: 1; }
.gallery-item:hover::before { opacity: 0.92; }
.gallery-item figcaption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; font-size: 0.82rem; color: var(--text-dim); transform: translateY(6px); opacity: 0.9; transition: transform 0.3s var(--ease); }
.gallery-item:hover figcaption { transform: translateY(0); }
.gallery-item figcaption span { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; color: #fff; letter-spacing: 0.01em; }
.gallery-item.is-hidden { display: none; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 800; background: rgba(4,4,6,0.96); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(88vw, 1100px); max-height: 78vh; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lb-caption { position: absolute; bottom: 8%; left: 50%; transform: translateX(-50%); color: var(--text-dim); font-size: 0.9rem; text-align: center; }
.lb-close, .lb-prev, .lb-next { position: absolute; color: #fff; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid var(--border-strong); font-size: 1.6rem; transition: background 0.25s, border-color 0.25s; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--red); border-color: var(--red); }
.lb-close { top: 26px; right: 26px; }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); }

/* ---------- video reel ---------- */
.videos-section { overflow: hidden; }
.video-reel { margin-top: 10px; }
.video-reel-track {
  display: flex; gap: 20px; overflow-x: auto; padding: 4px 24px 28px;
  scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--red-dim) transparent;
}
.video-reel-track::-webkit-scrollbar { height: 6px; }
.video-reel-track::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 999px; }
.video-card {
  position: relative; flex: 0 0 260px; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); scroll-snap-align: start; border: 1px solid var(--border);
}
.reel-video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.reel-play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; background: rgba(8,8,10,0.55); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; color: #fff; transition: transform 0.25s var(--ease), background 0.25s; }
.reel-play svg { width: 22px; height: 22px; fill: currentColor; margin-left: 3px; }
.reel-play:hover { transform: scale(1.08); background: var(--red); }
.video-card.is-playing .reel-play { opacity: 0; pointer-events: none; }
.reel-label { position: absolute; left: 14px; right: 14px; bottom: 14px; font-size: 0.78rem; font-weight: 600; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.7); }
.video-card::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.75) 100%); pointer-events: none; }
.video-card-more { display: flex; align-items: center; justify-content: center; border: 1.5px dashed var(--border-strong); background: transparent; }
.more-inner { text-align: center; color: var(--text-faint); }
.more-icon { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; margin: 0 auto 10px; }
.more-inner p { font-size: 0.86rem; line-height: 1.5; }

/* ---------- process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.process-step { position: relative; padding-top: 8px; }
.process-num { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--red); color: var(--red-bright); font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; }
.process-step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.process-step p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- financing ---------- */
.financing-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start; }
.check-list { margin: 26px 0 30px; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-size: 0.96rem; }
.check-list li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(224,32,47,0.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff3b4a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E"); background-size: 12px; background-repeat: no-repeat; background-position: center; }

.financing-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.financing-card h3 { font-size: 1.3rem; margin-bottom: 18px; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-badges span { padding: 8px 14px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); font-size: 0.8rem; color: var(--text-dim); font-weight: 500; }
.financing-divider { height: 1px; background: var(--border); margin: 26px 0; }
.financing-card h4 { font-size: 1rem; margin-bottom: 8px; text-transform: none; }
.financing-card > p { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 22px; }

/* ---------- reviews ---------- */
.rating-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; }
.rating-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }
.stars { color: #ffb800; letter-spacing: 2px; font-size: 1.05rem; }
.rating-label { font-size: 0.78rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; }
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform 0.3s var(--ease), border-color 0.3s; }
.review-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.review-card .stars { display: block; margin-bottom: 14px; font-size: 0.95rem; }
.review-card p { color: var(--text-dim); font-size: 0.93rem; margin-bottom: 22px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(224,32,47,0.14); color: var(--red-bright); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.82rem; font-family: var(--font-display); flex-shrink: 0; }
.review-author strong { display: block; font-size: 0.92rem; }
.review-author small { display: block; color: var(--text-faint); font-size: 0.78rem; margin-top: 2px; }
.review-cta { text-align: center; margin-top: 52px; padding-top: 44px; border-top: 1px solid var(--border); }
.review-cta p { color: var(--text-dim); margin-bottom: 18px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.about-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-section p { color: var(--text-dim); margin-bottom: 16px; font-size: 0.98rem; }
.about-stats { display: flex; gap: 40px; margin-top: 30px; }
.about-stats strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--red-bright); }
.about-stats span { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }

/* ---------- cta banner ---------- */
.cta-banner { padding: 100px 0; text-align: center; background: radial-gradient(ellipse at center, rgba(224,32,47,0.18), transparent 70%), var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-banner h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 14px; }
.cta-banner p { color: var(--text-dim); margin-bottom: 32px; font-size: 1.05rem; }
.cta-banner .hero-btns { justify-content: center; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: border-color 0.25s, transform 0.25s; }
a.info-card:hover { border-color: var(--red-dim); transform: translateY(-2px); }
.info-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(224,32,47,0.12); color: var(--red-bright); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.info-card strong { display: block; font-size: 0.92rem; margin-bottom: 3px; }
.info-card span { display: block; color: var(--text-dim); font-size: 0.9rem; }
.info-card small { display: block; color: var(--text-faint); font-size: 0.78rem; margin-top: 3px; }
.email-text { word-break: break-word; }
.hours-list { margin-top: 6px; display: grid; gap: 4px; }
.hours-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.86rem; color: var(--text-dim); }
.hours-list li span:first-child { color: var(--text-faint); }

.payment-note { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.payment-note strong { display: block; font-size: 0.92rem; margin-bottom: 12px; }
.payment-note .pay-badges span { padding: 6px 12px; font-size: 0.76rem; }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 11; }
.map-embed iframe { width: 100%; height: 100%; display: block; filter: grayscale(0.15) invert(0.92) contrast(0.9); }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.contact-form h3 { font-size: 1.3rem; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; background: var(--bg); border: 1px solid var(--border-strong); border-radius: 8px; color: var(--text); font-size: 0.94rem;
  transition: border-color 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field textarea { resize: vertical; }
.hidden-field { position: absolute; left: -9999px; }
.form-note { font-size: 0.8rem; color: var(--text-faint); margin: 4px 0 20px; }
.form-status { text-align: center; margin-top: 14px; font-size: 0.9rem; min-height: 1.2em; }
.form-status.is-success { color: #4ade80; }
.form-status.is-error { color: #f87171; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; margin: 16px 0 20px; max-width: 32ch; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; transition: background 0.25s, border-color 0.25s; }
.social-links a:hover { background: var(--red); border-color: var(--red); }
.social-links svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.footer-col h4 { font-size: 0.8rem; letter-spacing: 0.1em; color: var(--text-faint); margin-bottom: 18px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col span { color: var(--text-dim); font-size: 0.9rem; }
.footer-col a:hover { color: var(--red-bright); }
.footer-col .btn { margin-top: 6px; align-self: flex-start; }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-faint); }

/* ---------- mobile sticky cta ---------- */
.mobile-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 400; display: none; gap: 10px; padding: 12px 16px; background: rgba(8,8,10,0.92); backdrop-filter: blur(10px); border-top: 1px solid var(--border); }
.mobile-cta .btn { flex: 1; }

/* ---------- back to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 400;
  width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border-strong); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.25s, border-color 0.25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--red); border-color: var(--red); }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ===================================================================
   Scroll reveal animations
   =================================================================== */
.reveal { opacity: 0; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal[data-reveal="up"] { transform: translateY(36px); }
.reveal[data-reveal="left"] { transform: translateX(-40px); }
.reveal[data-reveal="right"] { transform: translateX(40px); }
.reveal[data-reveal="fade"] { transform: none; }
.reveal.in-view { opacity: 1; transform: translate(0,0); }

.stagger .reveal { transition-delay: var(--stagger-delay, 0ms); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 1080px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .financing-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media { max-width: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-call { display: none !important; }
  .header-actions .btn-primary.btn-sm { display: none; }
  .menu-toggle { display: flex; }
  .hero-stats { grid-template-columns: repeat(2, auto); row-gap: 26px; column-gap: 40px; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 72px; }
}

@media (max-width: 720px) {
  .section { padding: 76px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-content { padding-top: 120px; }
  .hero-title { max-width: 100%; }
  .lb-prev, .lb-next { width: 38px; height: 38px; font-size: 1.3rem; }
  .lb-close { top: 14px; right: 14px; }
}

/* Short viewports (landscape phones, small browser windows): the bottom-anchored
   hero content is taller than the available height, so tighten it to avoid
   overlapping the fixed header. */
@media (max-height: 640px) {
  .hero-content { padding-top: 74px; padding-bottom: 20px; }
  .badge { margin-bottom: 10px; }
  .hero-title { font-size: clamp(1.6rem, 6vw, 2.8rem); margin-bottom: 10px; }
  .hero-sub { font-size: 0.92rem; margin-bottom: 16px; }
  .hero-stats { margin-top: 18px; padding-top: 14px; gap: 20px 32px; }
  .stat-num { font-size: 1.4rem; }
}
@media (max-height: 460px) {
  .hero-stats { display: none; }
}
