/* ============================================================
   GLOSS GO MOBILE CAR DETAILING
   Dark glass theme, amber-gold accent
   ============================================================ */

:root {
  --bg: #0b0b0f;
  --bg-2: #101017;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f6;
  --text-dim: #a6a6b3;
  --accent: #4f9cff;
  --accent-2: #1d5fd6;
  --accent-glow: rgba(79, 156, 255, 0.35);
  --wa-green: #25d366;
  --radius: 18px;
  --radius-sm: 12px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Glass primitive ---------- */
.glass {
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 18px 50px rgba(0,0,0,0.35);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-radius: var(--radius);
}

@media (prefers-reduced-transparency: reduce) {
  .glass { background: #16161d; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out), background-color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(29, 95, 214, 0.25);
}
.btn-primary.glow { box-shadow: 0 0 28px var(--accent-glow), 0 4px 20px rgba(29,95,214,0.3); }

.btn-glass {
  background: rgba(255,255,255,0.06);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }

.btn-dark { background: #0a1224; color: #eaf2ff; }
.btn-outline-dark { background: transparent; border-color: rgba(255,255,255,0.65); color: #ffffff; }

.btn-lg { padding: 15px 30px; font-size: 16px; }

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { box-shadow: 0 0 34px var(--accent-glow), 0 6px 26px rgba(29,95,214,0.4); transform: translateY(-1px); }
  .btn-glass:hover, .btn-ghost:hover { background: rgba(255,255,255,0.11); border-color: var(--border-strong); }
  .btn-dark:hover { background: #101d3a; }
  .btn-outline-dark:hover { background: rgba(255,255,255,0.14); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background-color 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 11, 15, 0.78);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-logo { height: 68px; width: auto; display: block; filter: drop-shadow(0 2px 10px rgba(79,156,255,0.25)); }
.brand-logo-lg { height: 84px; }
.brand-mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px var(--accent-glow);
}
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: 0.04em; line-height: 1.1; display: flex; flex-direction: column; }
.brand-text small { font-size: 8.5px; font-weight: 600; letter-spacing: 0.28em; color: var(--accent); }

.nav-links { display: flex; gap: 22px; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  transition: color 180ms ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px var(--accent-glow);
}

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-phone { font-size: 14px; padding: 10px 16px; }

.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform 200ms var(--ease-out), opacity 200ms ease; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 150px 0 70px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(79,156,255,0.28), transparent 65%);
  top: -140px; right: -120px;
  animation: drift 14s ease-in-out infinite alternate;
}
.orb-2 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(96,88,255,0.16), transparent 65%);
  bottom: -160px; left: -140px;
  animation: drift 18s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-40px, 30px) scale(1.08); }
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.grad-text {
  background: linear-gradient(100deg, #9dc6ff 10%, var(--accent) 45%, var(--accent-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub { color: var(--text-dim); font-size: 18px; max-width: 46ch; margin-bottom: 30px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }

.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chips li {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.035);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-visual { position: relative; }
.hero-img-frame {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 0;
}
.hero-img-frame img { width: 100%; height: clamp(380px, 52vh, 560px); object-fit: cover; }

.shine-sweep {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.14) 48%, rgba(255,255,255,0.02) 55%, transparent 65%);
  transform: translateX(-120%);
  animation: sweep 5.5s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes sweep {
  0%, 55% { transform: translateX(-120%); }
  85%, 100% { transform: translateX(120%); }
}

.hero-float-card {
  position: absolute;
  left: -26px; bottom: 30px;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: linear-gradient(160deg, rgba(13,16,26,0.78), rgba(13,16,26,0.6));
  animation: floaty 5s ease-in-out infinite;
}
.float-price { font-family: var(--font-display); font-size: 15px; color: #ffffff; }
.float-price strong { font-size: 26px; color: #6faeff; }
.float-label { font-size: 12px; color: rgba(255,255,255,0.88); }
html[data-theme="light"] .float-price { color: #101828; }
html[data-theme="light"] .float-price strong { color: #1a4fc0; }
html[data-theme="light"] .float-label { color: #2b3547; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Stats ---------- */
.stats { padding: 10px 0 40px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 22px 16px; text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--accent); }
.stat span { font-size: 13px; color: var(--text-dim); }

/* ---------- Sections ---------- */
section { position: relative; }
.services, .addons, .why, .how, .reviews { padding: 84px 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--text-dim); }

/* ---------- Packages ---------- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  /* opening one card's inclusions must not stretch its row siblings */
  align-items: start;
}

.pkg {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out), border-color 260ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .pkg:hover {
    transform: translateY(-6px);
    border-color: rgba(79,156,255,0.35);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 24px 60px rgba(0,0,0,0.5), 0 0 34px rgba(79,156,255,0.10);
  }
}
.pkg.featured { border-color: rgba(79,156,255,0.4); box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 18px 50px rgba(0,0,0,0.35), 0 0 40px rgba(79,156,255,0.12); }

.pkg-media { position: relative; aspect-ratio: 5 / 3; overflow: hidden; }
.pkg-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .pkg:hover .pkg-media img { transform: scale(1.05); }
}
.pkg-tag {
  position: absolute; top: 12px; right: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(11,11,15,0.72);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text);
}
.pkg-tag.hot { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #ffffff; border-color: transparent; }

.pkg-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pkg-body h3 { font-size: 21px; font-weight: 700; margin-bottom: 6px; }
.pkg-price { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--accent); margin-bottom: 8px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pkg-price em { font-style: normal; font-size: 14px; font-weight: 500; color: var(--text-dim); }
.price-was {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dim);
  text-decoration: line-through;
  text-decoration-color: #e5484d;
  text-decoration-thickness: 2px;
}
.off-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: #e5484d;
  padding: 3px 9px;
  border-radius: 999px;
}
.price-now { color: var(--accent); }
.pkg-desc { color: var(--text-dim); font-size: 14.5px; margin-bottom: 14px; }

.pkg-details { margin-bottom: 18px; }
.pkg-details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
}
.pkg-details summary::-webkit-details-marker { display: none; }
.pkg-details summary::after { content: "\25BE"; transition: transform 200ms var(--ease-out); }
.pkg-details[open] summary::after { transform: rotate(180deg); }
.pkg-lists { padding-top: 14px; }
.pkg-lists h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin: 12px 0 8px; }
.pkg-lists h4:first-child { margin-top: 0; }
.pkg-lists ul { list-style: none; }
.pkg-lists li {
  font-size: 13.5px;
  color: var(--text-dim);
  padding: 4px 0 4px 20px;
  position: relative;
}
.pkg-lists li::before {
  content: "\2713";
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 700;
}
.price-rows li { display: flex; justify-content: space-between; padding-left: 0; }
.price-rows li::before { content: none; }
.price-rows strong { color: var(--text); }

.pkg-btn { margin-top: auto; width: 100%; }

.fine-print { text-align: center; color: var(--text-dim); font-size: 13px; margin-top: 26px; }

.section-more { text-align: center; margin-top: 38px; }

/* ---------- Add-ons ---------- */
.addons { background: var(--bg-2); }
.addons-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.addon { padding: 18px 16px; position: relative; overflow: hidden; transition: transform 240ms var(--ease-out), border-color 240ms ease; }
@media (hover: hover) and (pointer: fine) {
  .addon:hover { transform: translateY(-4px); border-color: rgba(79,156,255,0.3); }
}
.addon-price {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.addon h3 { font-size: 17px; margin-bottom: 6px; }
.addon p { font-size: 13.5px; color: var(--text-dim); }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card { padding: 28px 22px; text-align: center; transition: transform 240ms var(--ease-out), border-color 240ms ease; }
@media (hover: hover) and (pointer: fine) {
  .why-card:hover { transform: translateY(-4px); border-color: rgba(79,156,255,0.3); }
}
.why-icon {
  width: 54px; height: 54px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  border-radius: 16px;
  color: var(--accent);
  background: rgba(79,156,255,0.1);
  border: 1px solid rgba(79,156,255,0.25);
  box-shadow: 0 0 22px rgba(79,156,255,0.12);
}
.why-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.why-card p { font-size: 13.5px; color: var(--text-dim); }

/* ---------- Ceramic ---------- */
.ceramic {
  padding: 94px 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(79,156,255,0.07), transparent 70%),
    var(--bg-2);
}
.ceramic-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.ceramic-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 18px; }
.ceramic-copy > p { color: var(--text-dim); margin-bottom: 16px; max-width: 60ch; }

.ceramic-steps { list-style: none; margin: 22px 0; display: grid; gap: 12px; }
.ceramic-steps li {
  padding: 14px 18px 14px 44px;
  position: relative;
  border-left: 2px solid rgba(79,156,255,0.5);
  background: rgba(255,255,255,0.03);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-dim);
  font-size: 14.5px;
}
.ceramic-steps li strong { color: var(--text); }
.ceramic-steps li::before {
  content: "\2726";
  position: absolute; left: 16px; top: 14px;
  color: var(--accent);
}

.ceramic-care { padding: 22px 24px; margin-bottom: 26px; }
.ceramic-care h3 { font-size: 16px; margin-bottom: 10px; color: var(--accent); }
.ceramic-care ul { list-style: none; }
.ceramic-care li { font-size: 14px; color: var(--text-dim); padding: 4px 0 4px 20px; position: relative; }
.ceramic-care li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.ceramic-img-frame { position: relative; overflow: hidden; border-radius: 26px; position: sticky; top: 100px; }
.ceramic-img-frame img { width: 100%; height: clamp(400px, 60vh, 620px); object-fit: cover; }

/* ceramic page: image + price card fill the column, card bottom
   lines up with the left column instead of floating over the image */
body[data-page="ceramic"] .ceramic-inner { align-items: stretch; }
body[data-page="ceramic"] .ceramic-visual { display: flex; flex-direction: column; }
body[data-page="ceramic"] .ceramic-img-frame {
  position: relative;
  top: 0;
  flex: 1;
  min-height: 420px;
}
body[data-page="ceramic"] .ceramic-img-frame img { height: 100%; min-height: 420px; }

/* price card under the ceramic page image, same width as the image */
.ceramic-price-card {
  margin-top: 16px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: none;
}
.ceramic-price-card .cpc-label { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.ceramic-price-card .pkg-price { margin-bottom: 0; }

/* 2x2 highlight points under the home ceramic teaser button */
.ceramic-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.cpoint { padding: 16px 18px; border-radius: 14px; }
.cpoint h4 { font-size: 15px; margin-bottom: 4px; color: var(--accent); }
.cpoint p { font-size: 13px; color: var(--text-dim); }

/* ---------- How ---------- */
.how-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.how-step { text-align: center; padding: 10px 18px; position: relative; }
.how-num {
  display: grid; place-items: center;
  width: 58px; height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800;
  color: var(--accent);
  border: 1px solid rgba(79,156,255,0.35);
  background: rgba(79,156,255,0.08);
  box-shadow: 0 0 26px rgba(79,156,255,0.14);
}
.how-step h3 { font-size: 18px; margin-bottom: 8px; }
.how-step p { font-size: 14px; color: var(--text-dim); }

/* ---------- Reviews ---------- */
.reviews { background: var(--bg-2); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.stars { color: var(--accent); letter-spacing: 3px; font-size: 15px; }
.review blockquote { font-size: 15px; color: var(--text); line-height: 1.55; }
.review figcaption { font-weight: 700; font-size: 14px; }
.review figcaption span { display: block; font-weight: 500; font-size: 12.5px; color: var(--text-dim); }

/* ---------- CTA band ---------- */
.cta-band { padding: 60px 0; }
.cta-inner {
  text-align: center;
  padding: 56px 30px;
  border-radius: 28px;
  background: linear-gradient(120deg, #6fadff, var(--accent) 35%, var(--accent-2));
  color: #ffffff;
  box-shadow: 0 0 60px rgba(29,95,214,0.28), 0 24px 60px rgba(0,0,0,0.4);
}
.cta-inner h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; margin-bottom: 10px; }
.cta-inner p { font-weight: 600; margin-bottom: 26px; }
.cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- Contact ---------- */
.contact { padding: 90px 0; }
.contact-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.contact-info > p { color: var(--text-dim); margin-bottom: 28px; max-width: 44ch; }

.contact-list { list-style: none; display: grid; gap: 18px; }
.contact-list li { display: grid; gap: 2px; }
.ci-label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); }
.contact-list a, .contact-list span:not(.ci-label) { color: var(--text); text-decoration: none; font-weight: 600; font-size: 16px; word-break: break-word; }
.contact-list a:hover { color: var(--accent); }

.contact-form { padding: 30px; display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: grid; gap: 6px; }
.form-field label { font-size: 13.5px; font-weight: 700; }
.form-field label small { font-weight: 500; color: var(--text-dim); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #7c7c8a; }
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-field select option { background: #16161d; color: var(--text); }
.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,156,255,0.22);
}
.form-field.invalid input, .form-field.invalid select { border-color: #e5484d; }
.form-field.invalid .dd-toggle { border-color: #e5484d; }

/* ---------- Custom dropdown (replaces native select UI) ---------- */
.dd { position: relative; }
.dd .dd-native {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.dd-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.dd-toggle.placeholder .dd-label { color: #7c7c8a; }
.dd-toggle:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,156,255,0.22);
}
.dd-toggle[aria-expanded="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,156,255,0.22);
}
.dd-caret {
  flex: none;
  color: var(--text-dim);
  transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}
.dd-toggle[aria-expanded="true"] .dd-caret { transform: rotate(180deg); }

.dd-menu {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: linear-gradient(165deg, rgba(26,32,48,0.99), rgba(11,14,22,0.99));
  border: 1px solid rgba(79,156,255,0.35);
  border-radius: var(--radius-sm);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 18px 46px rgba(0,0,0,0.65),
    0 0 26px rgba(79,156,255,0.16);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  max-height: 262px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top center;
  pointer-events: none;
  transition: opacity 190ms cubic-bezier(0.23, 1, 0.32, 1), transform 190ms cubic-bezier(0.23, 1, 0.32, 1);
}
.dd-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.dd-menu.up {
  top: auto;
  bottom: calc(100% + 8px);
  transform: translateY(6px) scale(0.98);
  transform-origin: bottom center;
}
.dd-menu.up.open { transform: translateY(0) scale(1); }

.dd-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 9px;
  font-size: 14.5px;
  color: var(--text-dim);
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}
.dd-option:hover, .dd-option.focused { background: rgba(79,156,255,0.14); color: var(--text); }
.dd-option.selected { color: var(--accent); font-weight: 600; }
.dd-option.selected::after { content: "\2713"; font-weight: 700; }

/* ---------- Mobile nav backdrop ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(4, 6, 12, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }
.field-error { font-size: 12.5px; color: #ff8b8e; min-height: 0; }
.form-submit { width: 100%; }
.form-note { font-size: 12.5px; color: var(--text-dim); text-align: center; }
.form-success { text-align: center; color: #4ade80; font-weight: 600; font-size: 14px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 56px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 44px;
}
.footer-brand p { color: var(--text-dim); font-size: 14px; margin-top: 16px; max-width: 34ch; }
.footer-col { display: grid; gap: 9px; align-content: start; }
.footer-col h3 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.footer-col a, .footer-col span { color: var(--text-dim); text-decoration: none; font-size: 14px; word-break: break-word; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 60;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.4);
  transition: transform 180ms var(--ease-out), box-shadow 200ms ease;
}
.wa-float:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(37,211,102,0.55); }
}
.wa-pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa-green);
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .reveal.d-1 { transition-delay: 60ms; }
.js .reveal.d-2 { transition-delay: 120ms; }
.js .reveal.d-3 { transition-delay: 180ms; }
.js .reveal.d-4 { transition-delay: 240ms; }
.js .reveal.in { opacity: 1; transform: translateY(0); }

/* no-js / reduced motion safety */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .shine-sweep, .hero-float-card, .wa-pulse { animation: none !important; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Page veil (site open/close transition) ----------
   Glow bloom: dark screen with pulsing blue halo behind the logo.
   Open: logo blooms outward and the veil melts away with a soft
   zoom. Close: veil glows back in fast, then navigates. */
.page-veil {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: #07070b;
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 560ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 560ms cubic-bezier(0.23, 1, 0.32, 1);
  will-change: opacity, transform;
}
html.js .page-veil { display: grid; }

.veil-glow {
  position: absolute;
  width: min(72vw, 540px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,156,255,0.30), rgba(79,156,255,0.08) 45%, transparent 70%);
  filter: blur(12px);
  animation: veil-glow-pulse 1.7s ease-in-out infinite alternate;
}
@keyframes veil-glow-pulse {
  from { transform: scale(0.9); opacity: 0.7; }
  to   { transform: scale(1.1); opacity: 1; }
}

.veil-brand {
  position: relative;
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  transition: opacity 420ms cubic-bezier(0.23, 1, 0.32, 1), transform 420ms cubic-bezier(0.23, 1, 0.32, 1);
}
.veil-brand img {
  height: clamp(72px, 12vw, 110px);
  width: auto;
  display: block;
  filter: drop-shadow(0 0 26px rgba(79,156,255,0.55));
}

/* OPEN: logo blooms up + out, veil melts away with a gentle zoom */
.page-veil.veil-lift {
  opacity: 0;
  transform: scale(1.05);
  transition-delay: 160ms;
}
.page-veil.veil-lift .veil-brand {
  opacity: 0;
  transform: scale(1.14);
  transition-delay: 0ms;
}

/* CLOSE: quick glow-in, logo settles back */
.page-veil.veil-cover {
  transition-duration: 360ms;
  transition-delay: 0ms;
}
.page-veil.veil-cover .veil-brand {
  transition-duration: 300ms;
  transition-delay: 120ms;
}

.page-veil.veil-done { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .page-veil { display: none !important; }
}

/* ---------- Sub-page header ---------- */
.page-head {
  position: relative;
  padding: 150px 0 26px;
  text-align: center;
  overflow: hidden;
}
.page-head .orb { z-index: -1; }
.page-head h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.page-head p { color: var(--text-dim); max-width: 58ch; margin: 0 auto; }

/* ---------- Legal / prose pages ---------- */
.prose-wrap { padding: 30px 0 90px; }
.prose {
  max-width: 76ch;
  margin: 0 auto;
}
.prose h2 { font-size: 22px; margin: 34px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-dim); margin-bottom: 14px; font-size: 15px; }
.prose ul { margin: 0 0 14px 22px; color: var(--text-dim); font-size: 15px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }
.prose .updated { font-size: 13px; color: var(--text-dim); margin-bottom: 26px; }
.prose a { color: var(--accent); }

/* ---------- Thank you page ---------- */
.thanks {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}
.thanks-card {
  text-align: center;
  padding: 54px 40px;
  max-width: 560px;
}
.thanks-icon {
  width: 84px; height: 84px;
  margin: 0 auto 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 44px var(--accent-glow);
  animation: thanks-pop 700ms cubic-bezier(0.23, 1, 0.32, 1) both;
}
@keyframes thanks-pop {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.thanks-card h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; margin-bottom: 12px; }
.thanks-card p { color: var(--text-dim); margin-bottom: 28px; }
.thanks-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: reduce) {
  .thanks-icon { animation: none; }
}

/* ---------- Footer legal row ---------- */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.footer-legal { display: inline-flex; gap: 18px; }
.footer-legal a { color: var(--text-dim); text-decoration: none; font-size: 13px; }
.footer-legal a:hover { color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* --- Wide-nav squeeze --- */
@media (max-width: 1180px) {
  .nav-phone { display: none; }
}

/* --- Tablet --- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 120px; }
  .hero-visual { max-width: 620px; }
  .hero-float-card { left: 12px; }
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .addons-grid { grid-template-columns: repeat(3, 1fr); }
  .ceramic-inner, .contact-inner { grid-template-columns: 1fr; }
  .ceramic-img-frame { position: relative; top: 0; }
  .ceramic-img-frame img { height: 380px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Mobile nav --- */
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 4px;
    background: linear-gradient(180deg, #0e1526 0%, #090d18 100%);
    border-bottom: 1px solid rgba(79,156,255,0.4);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.06),
      0 24px 60px rgba(0,0,0,0.75),
      0 10px 44px rgba(79,156,255,0.18);
    padding: 14px 24px 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 11px 4px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { color: var(--accent); }
  .nav-burger { display: block; }
}

/* --- Mobile: 2x2 card grids --- */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .services, .addons, .why, .how, .reviews { padding: 60px 0; }

  .hero { padding-top: 104px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-sub { font-size: 16px; }
  .hero-ctas .btn { width: 100%; }
  .hero-img-frame img { height: 320px; }

  /* user requirement: card sections collapse to 2 x 2 grids on mobile */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .packages-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .addons-grid { grid-template-columns: 1fr; gap: 12px; }
  .addon {
    padding: 20px;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 96px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    align-content: center;
    column-gap: 16px;
  }
  .addon .addon-price {
    grid-row: 1 / 3;
    align-self: center;
    justify-self: center;
    width: 96px;
    text-align: center;
    margin-bottom: 0;
    font-size: 19px;
    padding: 12px 0;
  }
  .addon h3 { grid-column: 2; align-self: end; margin-bottom: 4px; text-align: center; }
  .addon p { grid-column: 2; align-self: start; text-align: center; }
  .reviews-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; gap: 26px; }

  .pkg-body { padding: 14px 14px 16px; }
  .pkg-body h3 { font-size: 16px; }
  .pkg-price { font-size: 22px; }
  .pkg-desc { font-size: 12.5px; }
  .pkg-btn { font-size: 13px; padding: 10px 12px; }
  .pkg-tag { font-size: 9.5px; padding: 4px 9px; }

  .addon { padding: 16px; }
  .addon h3 { font-size: 17px; }
  .addon p { font-size: 14px; }

  .why-card { padding: 20px 14px; }
  .why-card h3 { font-size: 14.5px; }
  .why-card p { font-size: 12.5px; }

  .stat { padding: 16px 10px; }
  .stat strong { font-size: 24px; }
  .stat span { font-size: 12px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px 18px; }
  .contact-info { text-align: center; }
  .contact-info > p { margin-left: auto; margin-right: auto; }
  /* booking card first on phones, contact details below it */
  .contact-form { order: 1; }
  .contact-info { order: 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .cta-inner { padding: 40px 20px; }
  .cta-btns .btn { width: 100%; }
  .thanks-btns .btn { width: 100%; }
  .page-head { padding: 120px 0 16px; }

  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* ============================================================
   THEME TOGGLE (moon <-> sun)
   ============================================================ */
.theme-toggle {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-strong);
  color: var(--text);
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 160ms var(--ease-out);
}
.theme-toggle:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .theme-toggle:hover { border-color: var(--accent); box-shadow: 0 0 16px var(--accent-glow); }
}
.theme-toggle svg {
  position: absolute;
  transition: opacity 320ms ease, transform 520ms cubic-bezier(0.23, 1, 0.32, 1);
}
.theme-toggle .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-toggle .icon-sun { opacity: 0; transform: rotate(-120deg) scale(0.5); }
html[data-theme="light"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(120deg) scale(0.5); }
html[data-theme="light"] .theme-toggle .icon-sun { opacity: 1; transform: rotate(0deg) scale(1); }

/* ============================================================
   LIGHT THEME
   ============================================================ */
html[data-theme="light"] {
  --bg: #f3f5fa;
  --bg-2: #e9edf6;
  --surface: rgba(15,28,55,0.04);
  --surface-2: rgba(15,28,55,0.08);
  --border: rgba(15,28,55,0.12);
  --border-strong: rgba(15,28,55,0.22);
  --text: #101828;
  --text-dim: #49556b;
  --accent: #2668db;
  --accent-2: #1a4fc0;
  --accent-glow: rgba(38,104,219,0.28);
}
html[data-theme="light"] .glass {
  background: rgba(255,255,255,0.82);
  border-color: rgba(15,28,55,0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 16px 40px rgba(24,45,90,0.1);
}
html[data-theme="light"] .nav.scrolled { background: rgba(243,245,250,0.86); }
html[data-theme="light"] .nav-links a.active { color: var(--accent); }
html[data-theme="light"] .hero-grid-lines {
  background-image:
    linear-gradient(rgba(15,28,55,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,28,55,0.05) 1px, transparent 1px);
}
html[data-theme="light"] .orb { opacity: 0.3; }
html[data-theme="light"] .hero-chips li { background: rgba(15,28,55,0.05); color: var(--text-dim); }
html[data-theme="light"] .btn-glass { background: rgba(15,28,55,0.06); color: var(--text); }
html[data-theme="light"] .theme-toggle { background: rgba(15,28,55,0.05); }
html[data-theme="light"] .pkg-tag { background: rgba(255,255,255,0.88); color: #101828; border-color: rgba(15,28,55,0.16); }
html[data-theme="light"] .pkg-tag.hot { color: #ffffff; }
html[data-theme="light"] .form-field input,
html[data-theme="light"] .form-field select,
html[data-theme="light"] .form-field textarea,
html[data-theme="light"] .dd-toggle {
  background: rgba(15,28,55,0.05);
  color: var(--text);
}
html[data-theme="light"] .form-field input::placeholder,
html[data-theme="light"] .form-field textarea::placeholder { color: #7d8798; }
html[data-theme="light"] .dd-toggle.placeholder .dd-label { color: #7d8798; }
html[data-theme="light"] .form-field select option { background: #ffffff; color: #101828; }
html[data-theme="light"] .dd-menu {
  background: linear-gradient(165deg, #ffffff, #f0f4fb);
  border-color: rgba(38,104,219,0.3);
  box-shadow: inset 0 1px 0 #ffffff, 0 18px 46px rgba(24,45,90,0.18), 0 0 26px rgba(38,104,219,0.12);
}
html[data-theme="light"] .form-success { color: #15803d; }
@media (max-width: 860px) {
  html[data-theme="light"] .nav-links {
    background: linear-gradient(180deg, #ffffff 0%, #eef2f9 100%);
    border-bottom-color: rgba(38,104,219,0.35);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.9),
      0 24px 60px rgba(24,45,90,0.18),
      0 10px 44px rgba(38,104,219,0.12);
  }
  html[data-theme="light"] .nav-links a { border-bottom-color: rgba(15,28,55,0.08); }
}
html[data-theme="light"] .ceramic-steps li { background: rgba(15,28,55,0.04); }
html[data-theme="light"] .page-veil { background: #eef1f8; }
html[data-theme="light"] .veil-brand img { filter: drop-shadow(0 0 26px rgba(38,104,219,0.4)); }
html[data-theme="light"] .brand-logo { filter: drop-shadow(0 2px 8px rgba(24,45,90,0.35)); }
html[data-theme="light"] .stat strong { color: var(--accent); }
html[data-theme="light"] .btn-dark { background: #101828; color: #ffffff; }

/* ============================================================
   HOW-STEPS: animated connector line + rotating ring
   ============================================================ */
.how-num::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px dashed rgba(79,156,255,0.6);
  opacity: 0;
  transition: opacity 500ms ease;
  animation: ring-spin 9s linear infinite;
}
html[data-theme="light"] .how-num::after { border-color: rgba(38,104,219,0.55); }
@keyframes ring-spin { to { transform: rotate(360deg); } }
.how-num { position: relative; }

.how-step + .how-step::before {
  content: "";
  position: absolute;
  top: 39px;
  left: calc(-50% + 20px);
  width: calc(100% - 62px);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(79,156,255,0.9), rgba(79,156,255,0.25));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 700ms cubic-bezier(0.23, 1, 0.32, 1);
}
.how-step.in::before { transform: scaleX(1); }
.how-step.in .how-num::after { opacity: 1; }
/* sequence: ring 1 -> line 1-2 -> ring 2 -> line 2-3 -> ring 3 */
.how-step:nth-child(1).in .how-num::after { transition-delay: 100ms; }
.how-step:nth-child(2).in::before { transition-delay: 500ms; }
.how-step:nth-child(2).in .how-num::after { transition-delay: 1100ms; }
.how-step:nth-child(3).in::before { transition-delay: 1300ms; }
.how-step:nth-child(3).in .how-num::after { transition-delay: 1900ms; }
@media (prefers-reduced-motion: reduce) {
  .how-num::after { animation: none; opacity: 1; }
  .how-step + .how-step::before { transform: scaleX(1); }
}

/* ============================================================
   MOBILE REFINEMENTS (batch 2)
   ============================================================ */
@media (max-width: 640px) {
  /* hero content centered */
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-chips { justify-content: center; }

  /* home: 3 preview packages as full-width horizontal rounded cards */
  body[data-page="home"] .packages-grid { grid-template-columns: 1fr; gap: 14px; }
  body[data-page="home"] .pkg { flex-direction: row; border-radius: 18px; }
  body[data-page="home"] .pkg-media { width: 38%; min-height: 100%; aspect-ratio: auto; flex: none; }
  body[data-page="home"] .pkg-media img { height: 100%; }
  body[data-page="home"] .pkg-body { padding: 14px 14px 14px 12px; }
  body[data-page="home"] .pkg-btn { padding: 9px 12px; font-size: 12.5px; }

  /* ceramic / guarantee section buttons centered */
  .ceramic-copy .btn { width: 100%; }

  /* home reviews: auto-loop marquee, left to right */
  body[data-page="home"] .reviews { overflow: hidden; }
  body[data-page="home"] .reviews-grid {
    display: flex;
    width: max-content;
    gap: 12px;
    animation: reviews-loop 26s linear infinite;
  }
  body[data-page="home"] .reviews-grid .review { width: 76vw; flex: none; }
  @keyframes reviews-loop {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* reviews page: 2 x 2 card grid */
  body[data-page="reviews"] .reviews-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  body[data-page="reviews"] .review { padding: 16px 14px; gap: 10px; }
  body[data-page="reviews"] .review blockquote { font-size: 12.5px; }
  body[data-page="reviews"] .review figcaption { font-size: 12.5px; }
  body[data-page="reviews"] .stars { font-size: 12px; letter-spacing: 2px; }

  /* CTA band: breathing room at the sides, compact card */
  .cta-band { padding: 44px 16px; }
  .cta-inner { padding: 34px 18px; border-radius: 22px; }
  .cta-inner h2 { font-size: 1.65rem; }
  .cta-inner p { font-size: 14px; margin-bottom: 20px; }
  .cta-btns .btn { padding: 12px 18px; font-size: 14.5px; }

  /* footer centered + clearance above WhatsApp float */
  .footer-grid { text-align: center; }
  .footer-brand .brand { justify-content: center; width: 100%; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .footer-bottom { padding-bottom: 96px; }

  /* mobile menu links centered */
  .nav-links a { text-align: center; }

  /* how-steps connector runs vertically between stacked steps */
  .how-step + .how-step::before {
    top: -22px;
    left: 50%;
    margin-left: -1px;
    width: 2px;
    height: 26px;
    background: linear-gradient(180deg, rgba(79,156,255,0.9), rgba(79,156,255,0.25));
    transform: scaleY(0);
    transform-origin: top center;
  }
  .how-step.in::before { transform: scaleY(1); }

  /* header brand logo a touch smaller on phones */
  .brand-logo { height: 56px; }

  /* compact header controls on phones */
  .nav-cta { gap: 8px; }
  .nav-cta .btn-primary { padding: 9px 16px; font-size: 13.5px; }
  .theme-toggle { width: 38px; height: 38px; }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  body[data-page="home"] .reviews-grid {
    animation: none;
    width: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ---------- Perks section (home) ---------- */
.perks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1024px) {
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .perks-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ---------- Footer ABN ---------- */
.footer-abn { font-size: 13px; color: var(--text-dim); }
