/* ============================================================
   IZA DETAILING single stylesheet
   Design tokens (from build plan / Bryan's brand): dark + chrome
   ============================================================ */
:root {
  --bg: #0a0a0a;
  --surface: #161616;
  --surface-2: #1d1d1d;
  --border: #2a2a2a;
  --text: #f2f2f2;
  --text-muted: #b9b9b9;
  --chrome-1: #c7c9cc;
  --chrome-2: #8a8d91;
  --chrome-grad: linear-gradient(135deg, #e8eaec 0%, #c7c9cc 45%, #8a8d91 100%);
  --cta-bg: #f2f3f4;
  --cta-bg-hover: #ffffff;
  --cta-text: #0a0a0a;
  --green: #38c172;
  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 10px;
  --section-pad: clamp(56px, 9vw, 110px);
  --sticky-h: 64px;
}

/* ---------- fonts (self-hosted) ---------- */
@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/bebas-neue-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.4em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 8vw, 4.8rem); }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
p { margin: 0 0 1em; }
.container { width: min(1120px, 92%); margin: 0 auto; }
section { padding: var(--section-pad) 0; }
.section-kicker {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--chrome-2);
  margin-bottom: 10px;
}
.section-sub { color: var(--text-muted); max-width: 640px; }
.chrome-text {
  background: var(--chrome-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--cta-bg); color: var(--cta-text); }
.btn-primary:hover { background: var(--cta-bg-hover); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--chrome-2); }
.btn-whatsapp { background: transparent; color: var(--text); border-color: #2e5339; }
.btn-whatsapp:hover { border-color: var(--green); }
.btn-whatsapp svg { color: var(--green); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.header-logo { display: flex; align-items: center; min-height: 44px; }
.header-logo img { width: 52px; height: 52px; }
.header-wordmark {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  margin-left: 10px;
  text-decoration: none;
}
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--text); }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; color: var(--chrome-2); }
.header-book { min-height: 44px; padding: 8px 20px; }
@media (max-width: 900px) {
  .site-nav { display: none; }
  .header-phone span { display: none; }
  .header-phone { padding: 0 10px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(92dvh, 860px);
  display: flex;
  align-items: flex-end;
  padding: 0;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.15) 40%, rgba(10,10,10,0.92) 100%);
}
.hero-content { padding: 140px 0 64px; }
.hero h1 { max-width: 14ch; text-shadow: 0 2px 24px rgba(0,0,0,0.6); }
.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--text);
  max-width: 46ch;
  text-shadow: 0 1px 12px rgba(0,0,0,0.7);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 30px; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(22, 22, 22, 0.75);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
}
.trust-chips svg { width: 15px; height: 15px; color: var(--chrome-1); }

/* ---------- trust bar ---------- */
.trust-bar { padding: 26px 0; border-block: 1px solid var(--border); background: var(--surface); }
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  text-align: center;
}
.trust-bar-item { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); }
.trust-bar-item strong { display: block; color: var(--text); font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.04em; font-weight: 400; }

/* ---------- packages ---------- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.package-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
}
.package-card.is-featured { border-color: var(--chrome-2); }
.package-flag {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--chrome-grad);
  color: #0a0a0a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.package-price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  letter-spacing: 0.02em;
  margin: 2px 0 0;
}
.package-price small { font-size: 1rem; color: var(--text-muted); font-family: var(--font-body); font-weight: 500; letter-spacing: 0; }
.package-meta { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 16px; }
.package-list { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.package-list li {
  position: relative;
  padding: 5px 0 5px 26px;
  font-size: 0.94rem;
  color: var(--text-muted);
}
.package-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 13px;
  height: 8px;
  border-left: 2px solid var(--chrome-1);
  border-bottom: 2px solid var(--chrome-1);
  transform: rotate(-45deg);
}
.package-card .btn { width: 100%; }
.packages-half {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 22px;
}
.package-card.is-compact { flex-direction: row; align-items: center; gap: 18px; flex-wrap: wrap; }
.package-card.is-compact .package-body { flex: 1 1 200px; }
.package-card.is-compact .package-price { font-size: 2rem; }
.package-card.is-compact .btn { width: auto; }
.packages-footnote { color: var(--text-muted); font-size: 0.9rem; margin-top: 24px; }

/* ---------- add-ons ---------- */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 36px;
}
.addon-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.95rem;
}
.addon-item span:last-child { color: var(--chrome-1); font-weight: 700; white-space: nowrap; }

/* ---------- ceramic band ---------- */
.ceramic-band { background: var(--surface); border-block: 1px solid var(--border); }
.ceramic-band-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.ceramic-band img { border-radius: var(--radius); border: 1px solid var(--border); }
@media (max-width: 800px) { .ceramic-band-inner { grid-template-columns: 1fr; } }

/* ---------- maintenance plans ---------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
}
.plan-card .package-price { font-size: 2.4rem; }
.plan-freq { font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; color: var(--chrome-2); }
.plans-includes { color: var(--text-muted); font-size: 0.92rem; max-width: 620px; margin: 26px auto 30px; text-align: center; }

/* ---------- how it works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 40px;
  counter-reset: step;
}
.step-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.step-card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  background: var(--chrome-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.step-card h3 { font-size: 1.25rem; }
.step-card p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.gallery-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(10,10,10,0.88));
  font-size: 0.85rem;
}
.gallery-caption strong { display: block; font-weight: 700; }
.gallery-caption span { color: var(--text-muted); font-size: 0.78rem; }

/* ---------- reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 40px;
}
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.review-stars { color: #e7b643; letter-spacing: 3px; font-size: 0.95rem; margin-bottom: 10px; }
.review-text { color: var(--text-muted); font-size: 0.95rem; }
.review-name { font-weight: 700; font-size: 0.9rem; margin: 14px 0 0; }
.reviews-cta { margin-top: 34px; }

/* ---------- service areas ---------- */
.areas-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }
.areas-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---------- about ---------- */
.about-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 44px; align-items: center; }
.about-photo { border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; background: var(--surface); }
.about-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.15;
  text-transform: uppercase;
  border-left: 3px solid;
  border-image: var(--chrome-grad) 1;
  padding-left: 20px;
  margin: 26px 0 0;
}
@media (max-width: 800px) { .about-inner { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 40px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 4px;
  min-height: 48px;
  cursor: pointer;
}
.faq-q .faq-icon {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--chrome-2);
  transition: transform 0.25s ease;
}
.faq-item[data-open] .faq-icon { transform: rotate(45deg); }
.faq-a { overflow: hidden; height: 0; transition: height 0.25s ease; }
.faq-a-inner { padding: 0 4px 22px; color: var(--text-muted); max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--surface); border-block: 1px solid var(--border); text-align: center; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { padding: 56px 0 calc(40px + var(--sticky-h)); border-top: 1px solid var(--border); }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 34px; }
.footer-brand img { width: 74px; height: 74px; margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; max-width: 30ch; }
.site-footer h3 { font-size: 1.05rem; letter-spacing: 0.1em; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 4px; }
.footer-list a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.94rem;
}
.footer-list a:hover { color: var(--text); }
.footer-list svg { width: 17px; height: 17px; color: var(--chrome-2); flex: none; }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.82rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (min-width: 768px) { .site-footer { padding-bottom: 40px; } }

/* ---------- sticky mobile bar ---------- */
.sticky-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}
.sticky-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
}
.sticky-bar svg { width: 18px; height: 18px; }
.sticky-bar .sticky-book { background: var(--cta-bg); color: var(--cta-text); border: 0; }
.sticky-bar .sticky-wa svg { color: var(--green); }
@media (min-width: 768px) { .sticky-bar { display: none; } }
body[data-page="book"] .sticky-bar { display: none; }
body[data-page="book"] .site-footer { padding-bottom: 40px; }

/* ---------- ceramic page ---------- */
.page-hero { position: relative; padding: 90px 0 70px; border-bottom: 1px solid var(--border); background: var(--surface); }
.page-hero h1 { max-width: 18ch; }
.draft-note { color: var(--text-muted); font-size: 0.85rem; font-style: italic; }
.inclusions-list { list-style: none; margin: 30px 0 0; padding: 0; max-width: 640px; }
.inclusions-list li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--border); }
.inclusions-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--chrome-1);
  border-bottom: 2px solid var(--chrome-1);
  transform: rotate(-45deg);
}
.upgrade-table { width: 100%; border-collapse: collapse; margin-top: 34px; font-size: 0.95rem; }
.upgrade-table th, .upgrade-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.upgrade-table th { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.06em; font-size: 1.05rem; text-transform: uppercase; }
.upgrade-table td:last-child { color: var(--chrome-1); font-weight: 700; white-space: nowrap; }
.mini-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 40px; }
.mini-gallery img { border-radius: var(--radius); border: 1px solid var(--border); aspect-ratio: 3 / 4; object-fit: cover; }

/* ---------- book page ---------- */
.book-reassure { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.book-reassure li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 600;
}
.book-reassure svg { width: 16px; height: 16px; color: var(--chrome-1); flex: none; }
.booking-card {
  /* Intentional LIGHT container so Square's white widget reads as design */
  background: #f5f5f5;
  border-radius: var(--radius);
  padding: 12px;
  margin-top: 40px;
  min-height: 620px;
}
.booking-fallback { margin-top: 34px; text-align: center; color: var(--text-muted); }
.booking-fallback .hero-ctas { justify-content: center; margin-top: 18px; }

/* ---------- 404 ---------- */
.notfound { min-height: 60dvh; display: flex; align-items: center; text-align: center; }
.notfound .container > * { margin-inline: auto; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
