/* GESTICAR — matte black + gold. Hand-written, no framework. */

:root {
  --matte: #0b0b0c;
  --graphite: #151517;
  --graphite-2: #1e1e21;
  --line: #2a2a2e;
  --gold: #d4af37;
  --gold-light: #f1d98a;
  --gold-deep: #a8832a;
  --ink: #f5f2ea;
  --muted: #a09b8c;
  --success: #3fbf7f;
  --danger: #e5484d;
  --wa: #25d366;
  --shadow: 0 12px 40px -12px rgb(0 0 0 / 0.65);
  --radius: 1rem;
  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--matte);
  color: var(--ink);
  font: 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  padding-bottom: 56px;
}
@media (min-width: 768px) { body { padding-bottom: 0; } }

/* grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 1; }

::selection { background: var(--gold); color: var(--matte); }
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

a { color: inherit; text-decoration: none; }
img, svg { vertical-align: middle; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; }

/* ── helpers ── */
.wrap { max-width: 72rem; margin-inline: auto; padding-inline: 1rem; }
.narrow { max-width: 48rem; margin-inline: auto; }
.narrow-wide { max-width: 56rem; margin-inline: auto; }
.section { padding-block: 3.5rem; }
.center { text-align: center; }
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; }
.mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.h1 { font-size: 1.9rem; font-weight: 800; }
.h2 { font-size: 1.8rem; font-weight: 700; }
.h3 { font-size: 1.25rem; font-weight: 700; }
.h4 { font-size: 1.1rem; font-weight: 700; }
.h5 { font-size: 1rem; font-weight: 600; }
.small { font-size: .875rem; }
.xs { font-size: .75rem; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.gold-link { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.inline-block { display: inline-block; }
.col { display: flex; flex-direction: column; gap: .5rem; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.hairline { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-deep), transparent); }
.grad {
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.grid-3, .grid-4 { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 0; cursor: pointer; border-radius: .75rem; padding: .625rem 1.25rem;
  font: 600 .95rem var(--font-body); transition: filter .15s ease, transform .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: linear-gradient(135deg, #f1d98a 0%, #d4af37 50%, #a8832a 100%); color: var(--matte); }
.btn-gold:hover { filter: brightness(1.08); }
.btn-outline { border: 1px solid rgb(212 175 55 / .6); color: var(--gold); background: transparent; }
.btn-outline:hover { background: rgb(212 175 55 / .1); }
.btn-wa { background: var(--wa); color: #04140a; }
.btn-wa:hover { filter: brightness(1.1); }
.btn-sm { padding: .375rem .75rem; border-radius: .5rem; font-size: .875rem; }
.btn-lg { padding: .875rem 1.75rem; border-radius: .75rem; font-size: 1.1rem; }
.btn-block { width: 100%; margin-top: 1.25rem; }

/* ── cards / badges / chips ── */
.card {
  border: 1px solid var(--line); background: var(--graphite);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow);
}
.badge {
  display: inline-flex; align-items: center; gap: .25rem;
  border: 1px solid rgb(212 175 55 / .3); background: rgb(212 175 55 / .15);
  color: var(--gold-light); border-radius: 999px; padding: .125rem .75rem;
  font-size: .75rem; font-weight: 500;
}
.chip { border: 1px solid var(--line); background: var(--graphite); border-radius: 999px; padding: .25rem .75rem; }
.extras-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

/* ── header ── */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgb(42 42 46 / .7); background: rgb(11 11 12 / .85); backdrop-filter: blur(8px); }
.header-main { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.brand { display: flex; align-items: center; gap: .5rem; }
.brand-name { font-family: var(--font-display); font-weight: 700; letter-spacing: .18em; color: var(--gold); font-size: 1.05rem; }
.header-nav { display: none; gap: 1.25rem; font-size: .9rem; color: var(--muted); }
.header-nav a:hover { color: var(--gold); }
@media (min-width: 1024px) { .header-nav { display: flex; } }
.header-actions { display: flex; align-items: center; gap: .9rem; }
.header-phone { display: none; align-items: center; gap: .375rem; font-size: .875rem; color: var(--muted); }
.header-phone:hover { color: var(--gold); }
@media (min-width: 768px) { .header-phone { display: inline-flex; } }
.lang-switch { font-size: .8rem; color: var(--muted); display: inline-flex; gap: .45rem; }
.lang-switch b { color: var(--gold); font-weight: 600; }
.lang-switch a:hover { color: var(--gold); }
.header-sub { border-top: 1px solid rgb(42 42 46 / .5); background: rgb(21 21 23 / .6); }
.header-sub-in { display: flex; align-items: center; gap: .5rem; padding-block: .25rem; font-size: 11px; color: var(--muted); }
.header-rating { margin-left: auto; }
.gold { color: var(--gold); }

/* ── hero ── */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-glow { position: absolute; inset: 0; }
.hero-glow-1 { background: radial-gradient(60% 50% at 70% 20%, rgb(212 175 55 / .16), transparent 70%); }
.hero-glow-2 { background: radial-gradient(40% 40% at 15% 80%, rgb(212 175 55 / .07), transparent 70%); }
.hero-droplet { position: absolute; right: -2.5rem; top: 1rem; height: 420px; width: 420px; opacity: .14; }
.hero-in { position: relative; padding-block: 3.5rem 4rem; }
@media (min-width: 640px) { .hero-in { padding-block: 5rem 4rem; } }
.hero-copy { max-width: 42rem; }
.hero-title { font-size: 2.25rem; font-weight: 800; margin-top: 1rem; }
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
.hero-sub { margin-top: 1rem; font-size: 1.125rem; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-ctas.center { justify-content: center; }
.trust-list { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.5rem; font-size: .875rem; color: var(--muted); }
.trust-list li { display: flex; align-items: center; gap: .5rem; }
.gold { color: var(--gold); }
.next-slot {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.25rem;
  border: 1px solid rgb(63 191 127 / .4); background: rgb(63 191 127 / .1);
  color: var(--success); border-radius: 999px; padding: .375rem 1rem; font-size: .875rem;
}
.next-slot a { text-decoration: underline; text-underline-offset: 2px; }

/* ── tiers ── */
.tier-card { position: relative; display: flex; flex-direction: column; }
.tier-featured { border-color: rgb(212 175 55 / .5); outline: 1px solid rgb(212 175 55 / .4); }
.tier-badge { position: absolute; top: -.75rem; left: 1.25rem; }
.tier-head { display: flex; align-items: center; gap: .5rem; }
.tier-price { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; color: var(--gold); margin-top: 1rem; }
.save-line { margin-top: .5rem; font-size: .875rem; color: var(--success); }

/* ── how / why ── */
.how-card { height: 100%; }
.how-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: rgb(212 175 55 / .4); }
.why-card { height: 100%; }

/* ── services ── */
.svc-card { display: flex; flex-direction: column; height: 100%; }
.svc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.svc-desc { margin-top: .5rem; flex: 1; }
.svc-foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 1rem; }
.svc-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--gold); }
.crumbs { font-size: .875rem; color: var(--muted); margin-bottom: 1rem; display: block; }
.crumbs a:hover { color: var(--gold); }
.detail-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }

/* ── faq ── */
.faq-list { border: 1px solid var(--line); border-radius: var(--radius); background: var(--graphite); overflow: hidden; }
.faq-item { padding: 1rem; border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { cursor: pointer; font-weight: 500; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ── contact ── */
.hours-list { display: flex; flex-direction: column; gap: .125rem; font-size: .875rem; color: var(--muted); }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; }
.phone-big { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map-frame iframe { height: 320px; width: 100%; border: 0; display: block; }

/* ── final cta ── */
.final-card { background: linear-gradient(135deg, var(--graphite), var(--graphite-2)); border-color: rgb(212 175 55 / .4); text-align: center; padding-block: 3rem; }

/* ── booking flow ── */
.stepper { display: flex; align-items: center; gap: .5rem; width: 100%; }
.step-dot {
  flex: none; display: flex; align-items: center; justify-content: center;
  height: 1.75rem; width: 1.75rem; border-radius: 999px; border: 1px solid var(--line);
  font-size: .75rem; font-weight: 600; color: var(--muted); background: transparent;
}
.step-dot.done { border-color: var(--gold); background: var(--gold); color: var(--matte); }
.step-dot.active { border-color: var(--gold); color: var(--gold); }
.step-line { height: 1px; flex: 1; background: var(--line); }
.step-label { font-size: .875rem; color: var(--muted); }
.step-label.active { color: var(--ink); }
.step-count { margin-top: .75rem; text-align: center; font-size: .875rem; color: var(--muted); }
.svc-pick {
  display: flex; width: 100%; align-items: center; gap: 1rem; text-align: left;
  border: 1px solid var(--line); background: var(--graphite); border-radius: 1rem;
  padding: 1rem; cursor: pointer; color: var(--ink); font: inherit;
  transition: border-color .15s ease;
}
.svc-pick:hover { border-color: rgb(212 175 55 / .5); }
.svc-pick .p { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.day-tabs { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; }
.day-tab {
  min-width: 68px; display: flex; flex-direction: column; align-items: center;
  border: 1px solid var(--line); background: var(--graphite); color: var(--muted);
  border-radius: .75rem; padding: .5rem .75rem; font-size: .875rem; cursor: pointer;
}
.day-tab.active { border-color: var(--gold); background: rgb(212 175 55 / .1); color: var(--gold); }
.day-tab:disabled { opacity: .4; cursor: default; }
.day-tab b { font-weight: 600; color: inherit; }
.time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: 1rem; }
@media (min-width: 640px) { .time-grid { grid-template-columns: repeat(6, 1fr); } }
.time-btn {
  border: 1px solid var(--line); background: var(--graphite); color: var(--ink);
  border-radius: .75rem; padding: .625rem 0; font: 500 .875rem var(--font-body); cursor: pointer;
}
.time-btn:hover { border-color: rgb(212 175 55 / .5); }
.time-btn.active { border-color: var(--gold); background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-deep)); color: var(--matte); font-weight: 600; }
.addon-check {
  display: flex; align-items: center; gap: .75rem; border: 1px solid var(--line);
  background: var(--graphite); border-radius: .75rem; padding: .75rem; cursor: pointer; font-size: .875rem;
}
.addon-check.on { border-color: rgb(212 175 55 / .6); background: rgb(212 175 55 / .1); }
.addon-check input { accent-color: var(--gold); }
.addon-check .plus { color: var(--gold); margin-left: auto; }
.field label { display: block; font-size: .875rem; }
.field .lbl { display: block; color: var(--muted); margin-bottom: .25rem; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--graphite-2); color: var(--ink);
  border-radius: .75rem; padding: .625rem 1rem; font: inherit;
}
.summary-box { border: 1px solid var(--line); background: var(--graphite-2); border-radius: .75rem; padding: 1rem; font-size: .875rem; margin-top: 1.25rem; }
.summary-line { display: flex; justify-content: space-between; gap: 1rem; }
.summary-total { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: .5rem; padding-top: .5rem; font-weight: 600; }
.summary-total .amount { color: var(--gold); }
.form-error { margin-top: .75rem; font-size: .875rem; color: var(--danger); }
.success-card { max-width: 36rem; margin-inline: auto; text-align: center; border-color: rgb(212 175 55 / .4); }
.success-ref { margin-top: .5rem; color: var(--gold); }
.stamps { display: flex; justify-content: center; gap: .375rem; margin-top: .5rem; }
.stamps span { display: flex; height: 2rem; width: 2rem; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--graphite-2); color: var(--muted); border-radius: .5rem; font-size: .75rem; }
.spin { animation: spin 1s linear infinite; color: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── chat widget ── */
.chat-fab {
  position: fixed; right: 1rem; bottom: 4.5rem; z-index: 50;
  display: flex; height: 3.25rem; width: 3.25rem; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; cursor: pointer; color: #000;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-deep));
  box-shadow: var(--shadow); transition: transform .15s ease;
}
.chat-fab:hover { transform: scale(1.05); }
@media (min-width: 768px) { .chat-fab { bottom: 1.5rem; } }
.chat-panel {
  position: fixed; right: 1rem; bottom: 8.5rem; z-index: 50;
  display: flex; flex-direction: column; height: 26rem; width: min(92vw, 22rem);
  border: 1px solid rgb(212 175 55 / .3); background: var(--graphite);
  border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow);
}
@media (min-width: 768px) { .chat-panel { bottom: 6rem; } }
.chat-head { display: flex; align-items: center; gap: .75rem; border-bottom: 1px solid var(--line); background: var(--graphite-2); padding: .75rem 1rem; }
.chat-avatar { display: flex; height: 2.25rem; width: 2.25rem; align-items: center; justify-content: center; border-radius: 999px; background: linear-gradient(135deg, var(--gold-light), var(--gold-deep)); font-weight: 700; color: #000; flex: none; }
.chat-title { font-size: .875rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-sub { font-size: .75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-x { margin-left: auto; background: none; border: 0; color: var(--muted); cursor: pointer; }
.chat-x:hover { color: var(--ink); }
.min-w-0 { min-width: 0; }
.chat-msgs { flex: 1; display: flex; flex-direction: column; gap: .5rem; overflow-y: auto; padding: .75rem; font-size: .875rem; }
.msg { max-width: 85%; border-radius: 1rem; padding: .5rem .875rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.user { margin-left: auto; background: var(--gold); color: #000; }
.msg.bot { background: var(--graphite-2); }
.msg.typing { width: 4rem; color: var(--muted); }
.chat-quick { display: flex; flex-wrap: wrap; gap: .375rem; padding-top: .5rem; }
.chat-quick button { border: 1px solid rgb(212 175 55 / .4); background: none; color: var(--gold); border-radius: 999px; padding: .25rem .75rem; font-size: .75rem; cursor: pointer; }
.chat-quick button:hover { background: rgb(212 175 55 / .1); }
.chat-note { padding-top: .5rem; font-size: 10px; line-height: 1.35; color: var(--muted); }
.chat-input-row { display: flex; align-items: center; gap: .5rem; border-top: 1px solid var(--line); background: var(--graphite-2); padding: .5rem; }
.chat-input-row input { flex: 1; border: 1px solid var(--line); background: var(--matte); color: var(--ink); border-radius: .75rem; padding: .5rem .75rem; font: inherit; font-size: .875rem; outline: none; }
.chat-send { border: 0; border-radius: .75rem; background: linear-gradient(135deg, var(--gold-light), var(--gold-deep)); color: #000; padding: .625rem; cursor: pointer; }
.chat-send:disabled { opacity: .5; }
.chat-wa { display: flex; align-items: center; justify-content: center; gap: .375rem; background: var(--wa); color: #04140a; padding: .5rem; font-size: .75rem; font-weight: 600; }

/* ── sticky bar ── */
.sticky-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--line); background: rgb(21 21 23 / .95); backdrop-filter: blur(8px);
}
@media (min-width: 768px) { .sticky-bar { display: none; } }
.sb-btn { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: .625rem 0; font-size: .75rem; font-weight: 600; }
.sb-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-deep)); color: #000; }
.sb-wa { color: var(--wa); }

/* ── footer ── */
.site-footer { border-top: 1px solid var(--line); background: rgb(21 21 23 / .6); }
.footer-grid { display: grid; gap: 2rem; padding-block: 3rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-links { display: flex; flex-direction: column; gap: .5rem; color: var(--muted); }
.footer-links a:hover { color: var(--gold); }
.footer-strong { color: var(--ink); font-weight: 600; }
.footer-bottom { border-top: 1px solid rgb(42 42 46 / .6); padding-block: 1rem; text-align: center; color: var(--muted); }

/* ── legal / prose ── */
.legal h1 { font-size: 1.6rem; margin-bottom: 1rem; }
.legal h2 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
.legal p, .legal li { color: var(--muted); font-size: .95rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; display: flex; flex-direction: column; gap: .5rem; margin-top: .5rem; }
.legal strong { color: var(--ink); }

/* ── scroll reveal (progressive, scroll-driven CSS) ── */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal-in both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes reveal-in { from { opacity: 0; transform: translateY(14px); } }
  }
}
