/* ============================================================
   ELEVATE — styles
   Light premium chrome · ink type · electric-blue accent
   Edit colors here: */
:root {
  --paper:  #FAFAF8;   /* page background */
  --white:  #FFFFFF;
  --ink:    #0E0F12;   /* near-black text */
  --slate:  #5A5F6A;   /* secondary text */
  --line:   #E7E8EB;   /* hairlines */
  --accent: #2A6BFF;   /* electric blue — CTAs only */
  --accent-deep: #1F54CC;
  --radius: 14px;
  --wrap: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .pkg-price, .footer-brand, .nav-brand {
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.12; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
section { padding: 110px 0; }

.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.lede { color: var(--slate); font-size: 1.12rem; max-width: 58ch; margin: 18px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(14,15,18,0.25); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-lg { padding: 17px 38px; font-size: 1.02rem; border: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: rgba(250, 250, 248, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-brand {
  font-weight: 700; font-size: 1.05rem; letter-spacing: 0.06em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav-logo { height: 46px; display: block; }
.nav-div { color: var(--accent); margin: 0 6px; }
.nav-sub { font-weight: 500; font-size: 0.82rem; letter-spacing: 0.18em; color: var(--slate); }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: var(--ink); text-decoration: none; font-size: 0.93rem; font-weight: 500;
  opacity: 0.75; transition: opacity 0.15s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta-wrap { display: flex; align-items: center; gap: 14px; }
.nav-burger { display: none; }
.nav-drawer { display: none; }

/* ---------- Hero — scroll transformation ---------- */
.hero { position: relative; height: 340vh; background: var(--ink); padding: 0; }
.hero-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
}
.stage { position: absolute; inset: 0; }
.stage-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  will-change: transform;
}
/* dirty layer sits on top; JS wipes it away with clip-path as you scroll */
.stage-dirty { z-index: 2; }
.stage-clean { z-index: 1; }
.stage-edge {
  position: absolute; top: -10%; bottom: -10%; width: 130px; z-index: 3;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.0) 30%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0.0) 70%, transparent 100%);
  filter: blur(2px);
  transform: rotate(4deg);
  opacity: 0; pointer-events: none;
}
.stage-scrim {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,9,12,0.42) 0%, transparent 30%, transparent 52%, rgba(8,9,12,0.66) 100%);
}

.hero-copy {
  position: absolute; z-index: 10; left: 0; right: 0; bottom: 11vh;
  max-width: var(--wrap); margin: 0 auto; padding: 0 28px;
  color: #fff;
}
.hero-kicker {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.26em;
  text-transform: uppercase; color: rgba(255,255,255,0.85); margin-bottom: 10px;
}
.hero-title {
  font-size: clamp(3.4rem, 10vw, 7.5rem); font-weight: 700;
  line-height: 0.95; letter-spacing: 0.01em;
}
.hero-slogan {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem); font-weight: 500;
  color: #fff; margin-top: 10px;
}
.hero-sub {
  color: rgba(255,255,255,0.82); max-width: 46ch;
  margin-top: 14px; font-size: 1.02rem;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero-ctas .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.45); }
.hero-ctas .btn-ghost:hover { border-color: #fff; }

.hero-status {
  position: absolute; z-index: 10; right: 28px; bottom: 11vh;
  text-align: right; color: rgba(255,255,255,0.9);
}
.status-label {
  font-family: "Space Grotesk", sans-serif; font-size: 0.74rem;
  font-weight: 600; letter-spacing: 0.24em;
}
.status-track {
  width: 180px; height: 2px; margin-top: 10px; margin-left: auto;
  background: rgba(255,255,255,0.25);
}
.status-fill { height: 100%; width: 0%; background: var(--accent); box-shadow: 0 0 10px rgba(42,107,255,0.8); }

.scroll-hint {
  position: absolute; z-index: 10; left: 50%; bottom: 22px;
  transform: translateX(-50%);
  font-size: 0.72rem; letter-spacing: 0.4em; color: rgba(255,255,255,0.7);
  animation: bob 1.9s ease-in-out infinite;
  transition: opacity 0.4s;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- Transformation / before-after ---------- */
.transform .wrap {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center;
}
.transform h2 { margin-top: 4px; }
.transform .btn { margin-top: 30px; }

.ba {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius);
  overflow: hidden; cursor: ew-resize; user-select: none;
  box-shadow: 0 30px 70px -30px rgba(14,15,18,0.45);
  outline-offset: 4px;
}
.ba-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none;
}
/* after-layer is clipped from the left by --pos (set in JS) */
.ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); z-index: 5;
  width: 2px; background: #fff; box-shadow: 0 0 14px rgba(0,0,0,0.45);
  pointer-events: none;
}
.ba-grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: #fff; color: var(--ink); border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em;
  padding: 9px 13px; white-space: nowrap;
  box-shadow: 0 4px 18px rgba(0,0,0,0.3);
}
.ba-tag {
  position: absolute; top: 14px; z-index: 4;
  font-family: "Space Grotesk", sans-serif; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.22em; color: #fff;
  background: rgba(8,9,12,0.55); padding: 6px 12px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.ba-tag-l { left: 14px; }
.ba-tag-r { right: 14px; }

/* ---------- Packages ---------- */
.services { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pkg-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px;
  align-items: start;
}
.pkg {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px;
  display: flex; flex-direction: column;
}
.pkg-featured {
  background: var(--ink); color: #fff; border-color: var(--ink);
  box-shadow: 0 36px 80px -36px rgba(14,15,18,0.55);
}
.pkg-featured .pkg-pos, .pkg-featured li, .pkg-featured .pkg-time { color: rgba(255,255,255,0.78); }
.pkg-badge {
  position: absolute; top: -13px; left: 30px;
  background: var(--accent); color: #fff; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 14px;
}
.pkg h3 { font-size: 1.35rem; }
.pkg-price { font-size: 2.2rem; font-weight: 700; margin: 10px 0 6px; }
.pkg-price span { font-size: 0.85rem; font-weight: 500; color: var(--slate); margin-right: 6px; }
.pkg-featured .pkg-price span { color: rgba(255,255,255,0.6); }
.pkg-pos { color: var(--slate); font-size: 0.95rem; margin-bottom: 18px; }
.pkg ul { list-style: none; margin-bottom: 20px; }
.pkg li {
  color: var(--slate); font-size: 0.93rem; padding: 7px 0 7px 26px; position: relative;
  border-bottom: 1px solid rgba(14,15,18,0.05);
}
.pkg-featured li { border-bottom-color: rgba(255,255,255,0.08); }
.pkg li::before {
  content: "✓"; position: absolute; left: 2px; color: var(--accent); font-weight: 700;
}
.pkg-time { font-size: 0.84rem; color: var(--slate); margin-bottom: 22px; }
.pkg-btn { margin-top: auto; text-align: center; }
.pkg-featured .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.pkg-note { margin-top: 34px; color: var(--slate); font-size: 0.9rem; max-width: 70ch; }

/* ---------- Why ---------- */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 36px; margin-top: 54px;
}
.why-num {
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 0.85rem;
  color: var(--accent); letter-spacing: 0.12em;
}
.why-item h3 { margin: 10px 0 8px; }
.why-item p { color: var(--slate); font-size: 0.96rem; }

/* ---------- Gallery ---------- */
.gallery { background: var(--white); border-top: 1px solid var(--line); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px;
}
.g-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--paper);
}
.g-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #E9EAEC; }
.g-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.35s ease;
}
.g-media .g-after { opacity: 0; }
.g-card:hover .g-after, .g-card.show-after .g-after { opacity: 1; }
.g-hint {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em;
  color: #fff; background: rgba(8,9,12,0.55); border-radius: 999px; padding: 5px 11px;
  backdrop-filter: blur(6px);
}
.g-placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  color: var(--slate); font-size: 0.85rem; letter-spacing: 0.06em; gap: 6px; padding: 20px;
  background: repeating-linear-gradient(45deg, #EEEFF1 0 14px, #E7E8EB 14px 28px);
}
.g-body { padding: 18px 20px 20px; }
.g-vehicle { font-weight: 600; font-size: 1rem; }
.g-pkg {
  display: inline-block; margin: 8px 0 10px; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
  border: 1px solid rgba(42,107,255,0.35); border-radius: 999px; padding: 4px 11px;
}
.g-note { color: var(--slate); font-size: 0.9rem; }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px;
}
.r-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.r-stars { color: #E8B33C; letter-spacing: 3px; font-size: 0.95rem; }
.r-text { margin: 14px 0 18px; color: var(--ink); font-size: 0.97rem; }
.r-meta { display: flex; align-items: center; gap: 12px; }
.r-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-content: center;
  background: var(--ink); color: #fff;
  font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 0.85rem;
}
.r-name { font-weight: 600; font-size: 0.92rem; line-height: 1.3; }
.r-sub { color: var(--slate); font-size: 0.8rem; }

/* ---------- Quote ---------- */
.quote { background: var(--ink); color: #fff; }
.quote .eyebrow { color: #6E9BFF; }
.quote .lede { color: rgba(255,255,255,0.75); }
.quote-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.quote-tip { margin-top: 22px; color: rgba(255,255,255,0.6); font-size: 0.92rem; }
.quote-tip a { color: #6E9BFF; }

.quote-form {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius); padding: 38px 36px;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.6);
}
.form-logo { height: 56px; display: block; margin: 0 auto 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field label, .field legend {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  margin-bottom: 7px; color: var(--ink);
}
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.95rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 14px; outline: none; transition: border-color 0.15s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
fieldset.field { border: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 8px 15px; border-radius: 999px;
  border: 1.5px solid var(--line); font-size: 0.85rem; font-weight: 500;
  color: var(--slate); transition: all 0.15s;
}
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.quote-form .btn-lg { width: 100%; margin-top: 8px; }
.form-note { margin-top: 14px; font-size: 0.8rem; color: var(--slate); text-align: center; }
.form-ok { margin-top: 14px; font-size: 0.9rem; color: #1C8C4E; text-align: center; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 70px 0 36px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand { color: #fff; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 12px; }
.footer-brand span { color: var(--accent); margin: 0 6px; }
.footer-line { font-size: 0.92rem; margin-bottom: 4px; }
.footer-head { color: #fff; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.footer-link { display: block; color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.93rem; margin-bottom: 9px; }
.footer-link:hover { color: #fff; }
.footer-base { margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-base p { font-size: 0.8rem; color: rgba(255,255,255,0.45); }

/* ---------- Scroll reveals ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  section { padding: 80px 0; }
  .pkg-grid, .why-grid, .gallery-grid, .reviews-grid { grid-template-columns: 1fr 1fr; }
  .transform .wrap, .quote-wrap { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { height: 300vh; }
  .nav { padding: 12px 18px; }
  .nav-links { display: none; }
  .nav-sub { display: none; }
  .nav-logo { height: 38px; }
  .nav-burger {
    display: flex; flex-direction: column; gap: 5px; justify-content: center;
    background: none; border: none; padding: 8px; cursor: pointer;
  }
  .nav-burger span { width: 22px; height: 2px; background: var(--ink); transition: transform 0.2s; }
  .nav-burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav-drawer {
    position: fixed; top: 54px; left: 0; right: 0; z-index: 99;
    background: rgba(250,250,248,0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    display: flex; flex-direction: column; padding: 10px 22px 18px;
    transform: translateY(-110%); transition: transform 0.25s ease;
  }
  .nav-drawer.open { transform: none; }
  .nav-drawer a {
    color: var(--ink); text-decoration: none; font-weight: 600; padding: 12px 0;
    border-bottom: 1px solid var(--line); font-size: 1rem;
  }
  .nav-drawer a:last-child { border: none; }
  .hero-copy { bottom: 9vh; }
  .hero-status { display: none; }
  .pkg-grid, .why-grid, .gallery-grid, .reviews-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
  .quote-form { padding: 28px 22px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint { animation: none; }
  .hero { height: 100vh; } /* no scrub — clean image shown statically (see app.js) */
}
