/* ==========================================================================
   The Detail X — design system (public site + customer account)
   Hand-written, no framework, no build step. Mobile-first.
   ========================================================================== */

:root {
  /* Surfaces */
  --ink: #0b0c0e;          /* near-black, primary dark surface */
  --ink-2: #131518;        /* raised dark surface */
  --ink-3: #1c1f23;        /* dark borders / hover */
  --paper: #ffffff;
  --paper-2: #f5f5f3;      /* warm light section */
  --line: #e6e5e1;

  /* Text */
  --text: #16181b;
  --muted: #5f646b;
  --on-dark: #f4f3ef;
  --on-dark-muted: #a3a7ad;

  /* Brand accent: satin gold — used sparingly for CTAs and highlights */
  --accent: #d6a84a;
  --accent-hover: #e4b95c;
  --accent-ink: #1a1408;

  --ok: #1f8a4c;
  --warn: #b7791f;
  --danger: #c0392b;
  --whatsapp: #1fa855;

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape & motion */
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --ease: cubic-bezier(.2,.7,.2,1);
  --wrap: 1200px;
  --gutter: 16px;
  --header-h: 64px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 76px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 64px 0; }
@media (min-width: 992px) { .section { padding: 112px 0; } }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--soft { background: var(--paper-2); }
.section--tight { padding: 40px 0; }

.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .grid { gap: 24px; } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 992px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }

.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.display { font-size: clamp(2.4rem, 7vw, 5rem); font-stretch: 112%; font-weight: 800; letter-spacing: -.02em; }
.h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-stretch: 110%; font-weight: 800; }
.h2 { font-size: clamp(1.7rem, 3.6vw, 2.75rem); font-stretch: 108%; }
.h3 { font-size: 1.25rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.section--dark .lead, .hero .lead { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.section--dark .muted { color: var(--on-dark-muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: 40px; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; }
@media (min-width: 992px) { .section-head { margin-bottom: 56px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font-body); letter-spacing: .01em; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-outline:hover { background: rgba(127,127,127,.08); }
.btn-ghost { background: transparent; padding: 0 8px; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { filter: brightness(1.06); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(11,12,14,.92); color: var(--on-dark);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 18px/1 var(--font-display); font-stretch: 125%; letter-spacing: .04em; text-transform: uppercase; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-x { color: var(--accent); }
.nav { display: none; margin-left: auto; }
.nav a { padding: 8px 12px; font-size: 15px; font-weight: 500; color: var(--on-dark-muted); border-radius: 8px; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-dark); }
.header-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.header-actions .btn-outline { color: var(--on-dark); border-color: rgba(255,255,255,.25); }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 999px; border: 0; background: transparent; cursor: pointer; color: inherit; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: rgba(255,255,255,.08); }
.hide-sm { display: none !important; }
@media (min-width: 992px) {
  .nav { display: flex; gap: 2px; }
  .header-actions { margin-left: 16px; }
  .menu-toggle { display: none; }
  .hide-sm { display: inline-flex !important; }
}

/* Mobile drawer */
.drawer {
  position: fixed; top: var(--header-h); right: 0; bottom: 0; width: min(420px, 100%); z-index: 49;
  background: var(--ink); color: var(--on-dark); border-left: 1px solid var(--ink-3);
  padding: 20px var(--gutter) 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden; transition: transform .32s var(--ease), visibility .32s;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer-backdrop { position: fixed; inset: var(--header-h) 0 0 0; z-index: 48; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .3s; }
.drawer-backdrop.is-open { opacity: 1; }
.drawer > * { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); }
.drawer.is-open > * { opacity: 1; transform: none; }
.drawer.is-open > :nth-child(2) { transition-delay: .04s; } .drawer.is-open > :nth-child(3) { transition-delay: .08s; }
.drawer.is-open > :nth-child(4) { transition-delay: .12s; } .drawer.is-open > :nth-child(5) { transition-delay: .16s; }
.drawer.is-open > :nth-child(n+6) { transition-delay: .2s; }

.drawer-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
.drawer-quick a { display: grid; justify-items: center; gap: 6px; padding: 14px 4px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--ink-3); font-size: 12px; font-weight: 600; color: var(--on-dark); }
.drawer-quick a:active { background: var(--ink-3); }
.drawer-quick svg { width: 22px; height: 22px; color: var(--accent); }

.drawer-label { margin: 22px 0 6px; font: 600 11px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
.drawer-group { border-top: 1px solid var(--ink-3); }
.drawer-ico { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--ink-2); color: var(--accent); }
.drawer-ico svg { width: 18px; height: 18px; }
.drawer-chev { width: 18px; height: 18px; margin-left: auto; color: var(--on-dark-muted); transition: transform .25s var(--ease); flex: none; }

.drawer-acc { border-bottom: 1px solid var(--ink-3); }
.drawer-acc summary { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 0; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.drawer-acc summary::-webkit-details-marker { display: none; }
.drawer-acc-title { display: grid; font: 600 16px/1.2 var(--font-display); }
.drawer-acc-title small { font: 400 12px/1.4 var(--font-body); color: var(--on-dark-muted); }
.drawer-acc[open] .drawer-chev { transform: rotate(180deg); color: var(--accent); }
.drawer-acc[open] summary .drawer-ico { background: var(--accent); color: var(--accent-ink); }
.drawer .drawer-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; padding: 0 0 14px 48px; }
.drawer .drawer-sub a { padding: 8px 0; font-size: 14px; line-height: 1.3; color: var(--on-dark-muted); }
.drawer .drawer-sub a:hover, .drawer .drawer-sub a[aria-current="page"] { color: var(--accent); }
.drawer-all { display: flex; align-items: center; gap: 8px; padding: 14px 0; font-size: 14px; font-weight: 600; color: var(--accent); border-bottom: 1px solid var(--ink-3); }
.drawer-all svg { width: 16px; height: 16px; }

.drawer a.drawer-link { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 0; font: 600 16px/1.2 var(--font-display); border-bottom: 1px solid var(--ink-3); }
.drawer a.drawer-link[aria-current="page"] { color: var(--accent); }
.drawer a.drawer-link[aria-current="page"] .drawer-ico { background: var(--accent); color: var(--accent-ink); }

.drawer-foot { padding: 20px 0 8px; font-size: 13px; color: var(--on-dark-muted); }
.drawer-foot p { display: flex; gap: 8px; margin: 0 0 8px; }
.drawer-foot svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--accent); }
.drawer-cta { position: sticky; bottom: 0; margin: auto calc(-1 * var(--gutter)) 0; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to bottom, rgba(11,12,14,0), var(--ink) 30%); }
.menu-toggle svg { transition: transform .25s var(--ease); }
.menu-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
body.no-scroll { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer > *, .drawer-backdrop, .drawer-chev, .menu-toggle svg { transition: none !important; } }
@media (min-width: 992px) { .drawer, .drawer-backdrop { display: none !important; } }

/* Mega-menu for services (desktop) */
.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: min(880px, 92vw); background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius);
  padding: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateX(-50%); }
.mega h4 { font: 600 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.mega a { display: block; padding: 5px 0; font-size: 14px; color: var(--on-dark-muted); }
.mega a:hover { color: var(--on-dark); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,14,.35) 0%, rgba(11,12,14,.6) 55%, var(--ink) 100%); }
.hero-inner { padding-top: 72px; padding-bottom: 56px; }
@media (min-width: 992px) { .hero-inner { padding-top: 140px; padding-bottom: 120px; } }
.hero .display { max-width: 14ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-cta .btn-outline { color: var(--on-dark); border-color: rgba(255,255,255,.3); }
.trust-strip { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; color: var(--on-dark-muted); font-size: 14px; }
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.garware-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 8px 14px; border: 1px solid var(--accent); border-radius: 999px; background: rgba(11,12,14,.55); color: #fff; font-size: 14px; line-height: 1.35; max-width: 100%; }
.garware-badge img { height: 28px; width: auto; background: #fff; border-radius: 4px; padding: 2px 6px; flex: none; }
.garware-badge strong { color: var(--accent); }
.trust-strip svg { width: 18px; height: 18px; color: var(--accent); }

/* Decorative sweep — a single light streak, no heavy gradients */
.hero-sweep { position: absolute; z-index: -1; right: -20%; top: -10%; width: 80%; height: 120%;
  background: radial-gradient(closest-side, rgba(214,168,74,.18), transparent 70%); pointer-events: none; }

/* Page hero (inner pages) */
.page-hero { background: var(--ink); color: var(--on-dark); padding: 56px 0 48px; }
@media (min-width: 992px) { .page-hero { padding: 96px 0 72px; } }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--on-dark-muted); margin-bottom: 20px; }
.breadcrumbs a:hover { color: var(--on-dark); }
.breadcrumbs span[aria-hidden] { opacity: .5; }

/* ---------- Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card--flat { border: 0; background: var(--paper-2); }
.section--dark .card { background: var(--ink-2); border-color: var(--ink-3); }
.card-link { display: flex; flex-direction: column; transition: border-color .2s, transform .25s var(--ease); }
.card-link:hover { border-color: var(--accent); transform: translateY(-2px); }

.svc-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); color: var(--on-dark); min-height: 340px; isolation: isolate; }
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(11,12,14,.92) 100%); }
.svc-card:hover img { transform: scale(1.04); }
.svc-card-body { margin-top: auto; padding: 24px; }
.svc-card .tag { display: inline-block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.svc-card h3 { font-size: 1.4rem; font-stretch: 108%; margin-bottom: 6px; }
.svc-card p { color: var(--on-dark-muted); font-size: 15px; margin-bottom: 14px; }
.svc-card--plain { background: linear-gradient(160deg, var(--ink-3), var(--ink)); }

.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(214,168,74,.12); color: var(--accent); }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
.section--dark .feature p { color: var(--on-dark-muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat-num { font: 800 clamp(2rem, 4vw, 3rem)/1 var(--font-display); font-stretch: 110%; }
.stat-label { color: var(--muted); font-size: 14px; margin-top: 6px; }
.section--dark .stat-label { color: var(--on-dark-muted); }

/* Process steps */
.steps { counter-reset: step; display: grid; gap: 16px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.step { counter-increment: step; border-top: 1px solid var(--line); padding-top: 20px; }
.section--dark .step { border-color: var(--ink-3); }
.step::before { content: counter(step, decimal-leading-zero); display: block; font: 700 14px/1 var(--font-display); color: var(--accent); margin-bottom: 14px; letter-spacing: .1em; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: 15px; }
.section--dark .step p { color: var(--on-dark-muted); }

/* Package tiers */
.tiers { display: grid; gap: 16px; }
@media (min-width: 992px) { .tiers { grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; } }
.tier { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--paper); }
.tier--popular { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.tier-badge { position: absolute; top: -12px; left: 28px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.tier h3 { font-size: 1.35rem; }
.tier-price { font: 800 2rem/1 var(--font-display); margin: 12px 0 4px; }
.tier-price small { font: 500 14px var(--font-body); color: var(--muted); }
.tier ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.tier li { display: flex; gap: 10px; font-size: 15px; }
.tier li svg { width: 18px; height: 18px; flex: none; color: var(--ok); margin-top: 3px; }
.tier .btn { margin-top: auto; }

/* Reviews */
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars svg { width: 16px; height: 16px; }
.review { display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.65; }
.review-meta { font-size: 14px; color: var(--muted); margin-top: auto; }
.review-meta strong { color: var(--text); display: block; }
.section--dark .review-meta strong { color: var(--on-dark); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; transition: transform .2s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--on-dark); border-radius: var(--radius); padding: 40px 24px; display: grid; gap: 20px; align-items: center; }
@media (min-width: 992px) { .cta-band { grid-template-columns: 1fr auto; padding: 56px; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 4px; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); font-size: 16px; /* 16px stops iOS zoom */
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(214,168,74,.25); }
.is-invalid { border-color: var(--danger) !important; }
.error { color: var(--danger); font-size: 13px; margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
.section--dark .input, .section--dark .select, .section--dark .textarea { background: var(--ink-2); border-color: var(--ink-3); color: var(--on-dark); }

/* Alerts */
.alert { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 15px; border: 1px solid; }
.alert-success { background: #eef8f2; border-color: #bfe3cd; color: #155c33; }
.alert-error { background: #fdf0ee; border-color: #f3c7c1; color: #8a2a1f; }
.alert-info { background: #f4f3ef; border-color: var(--line); color: var(--text); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--paper-2); color: var(--text); }
.badge-ok { background: #e7f5ec; color: #1f6b3e; }
.badge-warn { background: #fdf3e1; color: #8a5a10; }
.badge-danger { background: #fbe9e7; color: #9b2c20; }
.badge-dark { background: var(--ink); color: var(--on-dark); }

/* ---------- Auth pages ---------- */
.auth { min-height: calc(100vh - var(--header-h)); display: grid; }
@media (min-width: 992px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth-aside { display: none; background: var(--ink); color: var(--on-dark); padding: 72px; position: relative; overflow: hidden; }
@media (min-width: 992px) { .auth-aside { display: flex; flex-direction: column; justify-content: flex-end; } }
.auth-main { display: grid; place-items: center; padding: 40px var(--gutter) 120px; }
.auth-card { width: 100%; max-width: 420px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 64px 0 120px; font-size: 15px; }
@media (min-width: 992px) { .site-footer { padding-bottom: 40px; } }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h4 { color: var(--on-dark); font: 600 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--on-dark); }
.footer-bottom { border-top: 1px solid var(--ink-3); margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--ink-3); border-radius: 999px; }
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.socials svg { width: 18px; height: 18px; }
.contact-line { display: flex; gap: 10px; align-items: flex-start; }
.contact-line svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }

/* ---------- Mobile action bar (Book / Quote / WhatsApp / Call) ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--ink); color: var(--on-dark); border-top: 1px solid var(--ink-3);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 60px; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.action-bar a svg { width: 22px; height: 22px; }
.action-bar a.is-primary { background: var(--accent); color: var(--accent-ink); }
.action-bar a.is-wa svg { color: var(--whatsapp); }
@media (min-width: 992px) { .action-bar { display: none; } }

/* Floating WhatsApp on desktop */
.wa-float { display: none; }
@media (min-width: 992px) {
  .wa-float { display: grid; place-items: center; position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 56px; height: 56px; border-radius: 999px; background: var(--whatsapp); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
  .wa-float:hover { transform: scale(1.06); }
  .wa-float svg { width: 28px; height: 28px; }
}

/* ---------- Account area ---------- */
.account-layout { display: grid; gap: 24px; padding: 32px 0 120px; }
@media (min-width: 992px) { .account-layout { grid-template-columns: 240px 1fr; gap: 40px; padding: 48px 0 80px; } }
.account-nav { display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
.account-nav::-webkit-scrollbar { display: none; }
.account-nav a { white-space: nowrap; padding: 10px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); background: var(--paper-2); }
.account-nav a[aria-current="page"] { background: var(--ink); color: var(--on-dark); }
@media (min-width: 992px) {
  .account-nav { flex-direction: column; margin: 0; padding: 0; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
  .account-nav a { background: transparent; border-radius: 10px; }
}
.list { list-style: none; padding: 0; margin: 0; }
.list > li { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.list > li:last-child { border-bottom: 0; }
.empty { text-align: center; padding: 32px 16px; color: var(--muted); }

/* ---------- Reveal-on-scroll (progressive; content visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Fixes */
.has-mega { display: flex; align-items: center; }
.svc-card--plain { min-height: 260px; }

/* ---------- Booking flow ---------- */
.booking { display: grid; gap: 24px; padding: 24px 0 140px; }
@media (min-width: 992px) { .booking { grid-template-columns: 1fr 360px; gap: 40px; padding: 48px 0 80px; align-items: start; } }
.steps-nav { display: flex; gap: 6px; margin-bottom: 24px; overflow-x: auto; scrollbar-width: none; }
.steps-nav::-webkit-scrollbar { display: none; }
.steps-nav li { list-style: none; flex: 1; min-width: 72px; font-size: 12px; font-weight: 600; color: var(--muted); border-top: 3px solid var(--line); padding-top: 8px; white-space: nowrap; }
.steps-nav li.is-done { border-color: var(--ink); color: var(--text); }
.steps-nav li.is-current { border-color: var(--accent); color: var(--text); }
.steps-nav ol { display: contents; }
.bstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.bstep legend { font: 700 1.5rem/1.2 var(--font-display); font-stretch: 108%; margin-bottom: 6px; padding: 0; }
.js .bstep:not(.is-active) { display: none; }
.bstep-actions { display: flex; gap: 12px; justify-content: space-between; margin-top: 28px; }

.opt-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .opt-grid--2 { grid-template-columns: 1fr 1fr; } .opt-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-body { display: block; height: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; background: var(--paper); transition: border-color .15s, box-shadow .15s; }
.opt:hover .opt-body { border-color: #c9c7c0; }
.opt input:checked + .opt-body { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.opt input:focus-visible + .opt-body { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt-title { font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.opt-sub { font-size: 13px; color: var(--muted); margin-top: 2px; display: block; }
.opt input:disabled + .opt-body { opacity: .4; cursor: not-allowed; }

.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 640px) { .slot-grid { grid-template-columns: repeat(5, 1fr); } }
.slot-grid .opt-body { text-align: center; padding: 10px 6px; font-size: 14px; font-weight: 600; }
.date-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.date-strip .opt { flex: 0 0 64px; }
.date-strip .opt-body { text-align: center; padding: 8px 4px; }
.date-strip .d-dow { font-size: 11px; text-transform: uppercase; color: var(--muted); letter-spacing: .06em; display: block; }
.date-strip .d-num { font: 700 1.25rem/1.2 var(--font-display); display: block; }
.date-strip .d-mon { font-size: 11px; color: var(--muted); display: block; }

.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary .list > li { padding: 10px 0; font-size: 14px; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 6px; }
.summary-total strong { font: 800 1.6rem/1 var(--font-display); }
.summary-bar { display: none; }
@media (max-width: 991px) {
  .summary { position: static; }
  .summary-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 60px; z-index: 55; background: var(--paper); border-top: 1px solid var(--line); padding: 10px var(--gutter); justify-content: space-between; align-items: center; box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
  .summary-bar strong { font: 800 1.25rem var(--font-display); }
}
.is-loading { opacity: .5; pointer-events: none; }

/* Status timeline */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 18px 28px; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 99px; background: var(--line); }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.is-done::before { background: var(--ok); }
.timeline li.is-current::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(214,168,74,.25); }
.qset { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.qset legend { font: 700 1.15rem/1.3 var(--font-display); padding: 0; }

/* ---------- Photography ---------- */
.hero-media img { opacity: .72; object-position: 60% 50%; }
.hero-media::after {
  background:
    linear-gradient(90deg, rgba(11,12,14,.92) 0%, rgba(11,12,14,.7) 38%, rgba(11,12,14,.15) 75%),
    linear-gradient(180deg, rgba(11,12,14,.2) 0%, transparent 50%, var(--ink) 100%);
}
@media (max-width: 767px) {
  .hero-media img { object-position: 65% 50%; opacity: .55; }
  .hero-media::after { background: linear-gradient(180deg, rgba(11,12,14,.55) 0%, rgba(11,12,14,.75) 60%, var(--ink) 100%); }
}

/* Image tiles (categories) */
.img-tile { position: relative; display: flex; min-height: 220px; border-radius: var(--radius); overflow: hidden; color: var(--on-dark); background: var(--ink-2); isolation: isolate; }
@media (min-width: 992px) { .img-tile { min-height: 280px; } .img-tile--wide { grid-column: span 2; } }
.img-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.img-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,12,14,.05) 20%, rgba(11,12,14,.85) 100%); transition: background .3s; }
.img-tile:hover img { transform: scale(1.05); }
.img-tile-body { margin-top: auto; padding: 20px; width: 100%; }
.img-tile h3 { font-size: 1.3rem; font-stretch: 108%; margin: 0 0 4px; }
.img-tile p { margin: 0; font-size: 14px; color: rgba(244,243,239,.8); }
.img-tile .link-arrow { margin-top: 10px; font-size: 14px; color: var(--accent); }

/* Card with top image */
.card-media { margin: -24px -24px 18px; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card-link:hover .card-media img { transform: scale(1.04); }
.card-link { overflow: hidden; }

/* Framed photo */
.photo { border-radius: var(--radius); overflow: hidden; background: var(--paper-2); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4/5; }
.photo--wide { aspect-ratio: 16/10; }
.photo-stack { position: relative; }
.photo-stack .photo + .photo { position: absolute; width: 46%; right: -12px; bottom: -28px; border: 6px solid var(--paper); box-shadow: var(--shadow); }
@media (max-width: 767px) { .photo-stack .photo + .photo { display: none; } }
.photo-caption { position: absolute; left: 16px; bottom: 16px; background: rgba(11,12,14,.75); color: var(--on-dark); font-size: 13px; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }

/* Inner page hero with photo */
.page-hero--img { position: relative; isolation: isolate; overflow: hidden; }
.page-hero--img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .5; }
.page-hero--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,12,14,.95) 0%, rgba(11,12,14,.75) 50%, rgba(11,12,14,.35) 100%); }

/* Auth side photo */
.auth-aside > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; z-index: 0; }
.auth-aside > *:not(img) { position: relative; z-index: 1; }

/* Image strip (marquee-free, static) */
.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 768px) { .strip { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.strip .photo { aspect-ratio: 1; }

/* Photography contrast tuning */
.hero-media img { opacity: 1; }
.hero-media::after {
  background:
    linear-gradient(90deg, rgba(11,12,14,.9) 0%, rgba(11,12,14,.55) 40%, rgba(11,12,14,0) 72%),
    linear-gradient(180deg, rgba(11,12,14,.25) 0%, transparent 35%, transparent 70%, var(--ink) 100%);
}
@media (max-width: 767px) {
  .hero-media img { opacity: .8; }
  .hero-media::after { background: linear-gradient(180deg, rgba(11,12,14,.45) 0%, rgba(11,12,14,.7) 55%, var(--ink) 100%); }
}
.svc-card::after { background: linear-gradient(180deg, rgba(11,12,14,.1) 0%, rgba(11,12,14,.55) 40%, rgba(11,12,14,.96) 78%); }
.img-tile::after { background: linear-gradient(180deg, rgba(11,12,14,0) 25%, rgba(11,12,14,.55) 55%, rgba(11,12,14,.92) 100%); }
.img-tile h3, .svc-card h3 { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
@media (min-width: 992px) {
  .hero-media { display: flex; justify-content: flex-end; }
  .hero-media img { width: 68%; object-position: 50% 55%; }
  .hero-media::after {
    background:
      linear-gradient(90deg, var(--ink) 0%, var(--ink) 32%, rgba(11,12,14,.6) 45%, rgba(11,12,14,0) 65%),
      linear-gradient(180deg, transparent 70%, var(--ink) 100%);
  }
}

/* ---------- Light header, menus & footer (white chrome; logo is dark-on-transparent) ---------- */
:root { --accent-text: #8a6a1f; } /* gold dark enough for text on white (AA) */
.site-header { background: rgba(255,255,255,.94); color: var(--text); border-bottom: 1px solid var(--line); box-shadow: 0 1px 12px rgba(0,0,0,.04); }
.brand-mark rect { stroke: var(--text); }
.nav a { color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.header-actions .btn-outline { color: var(--text); border-color: var(--line); }
.header-actions .btn-outline:hover { border-color: var(--text); }
.icon-btn:hover { background: var(--paper-2); }
.mega { background: var(--paper); color: var(--text); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0,0,0,.10); }
.mega h4 { color: var(--accent-text); }
.mega a { color: var(--muted); }
.mega a:hover { color: var(--text); }

.drawer { background: var(--paper); color: var(--text); border-left: 1px solid var(--line); }
.drawer-backdrop { background: rgba(11,12,14,.35); }
.drawer-quick a { background: var(--paper-2); border-color: var(--line); color: var(--text); }
.drawer-quick a:active { background: var(--line); }
.drawer-quick svg { color: var(--accent-text); }
.drawer-quick a[href^="https://wa"] svg, .drawer-quick a[href*="whatsapp"] svg { color: var(--whatsapp); }
.drawer-label, .drawer-chev, .drawer-acc-title small, .drawer-foot { color: var(--muted); }
.drawer-group, .drawer-acc, .drawer-all, .drawer a.drawer-link { border-color: var(--line); }
.drawer-ico { background: var(--paper-2); color: var(--accent-text); }
.drawer-acc[open] .drawer-chev { color: var(--accent-text); }
.drawer-acc[open] summary .drawer-ico, .drawer a.drawer-link[aria-current="page"] .drawer-ico { background: var(--accent); color: var(--accent-ink); }
.drawer .drawer-sub a { color: var(--muted); }
.drawer .drawer-sub a:hover, .drawer .drawer-sub a[aria-current="page"], .drawer-all, .drawer a.drawer-link[aria-current="page"] { color: var(--accent-text); }
.drawer-foot svg { color: var(--accent-text); }
.drawer-cta { background: linear-gradient(to bottom, rgba(255,255,255,0), var(--paper) 30%); }

.site-footer { background: var(--paper); color: var(--muted); border-top: 1px solid var(--line); }
.site-footer h4 { color: var(--text); }
.site-footer a:hover { color: var(--accent-text); }
.footer-bottom { border-top-color: var(--line); }
.socials a { border-color: var(--line); color: var(--text); }
.socials a:hover { border-color: var(--accent); color: var(--accent-text); }
.site-footer .contact-line svg { color: var(--accent-text); }
/* Drawer has its own actions + CTA — hide the bottom bar so it can't cover them. */
body.no-scroll .action-bar, body.no-scroll .wa-float { display: none; }
