/* Salón Bella Blonde — el rubio es luz. Café oscuro con el dorado como única fuente de luz. */

:root {
  --bg: #1b1305;          /* deepest warm brown ground */
  --bg-2: #241a08;        /* raised surface */
  --brown: #332600;       /* brand base brown */
  --brown-warm: #875626;  /* warm accent */
  --tan: #d19f72;         /* light accent */
  --gold: #f4bb00;        /* the light */
  --gold-soft: #ffd35c;
  --ink: #f6efdd;         /* warm off-white text on dark */
  --ink-2: #d9c9a6;       /* secondary, tinted from the hue (never gray) */
  --ink-3: #a08a63;       /* muted */
  --line: #3d2f14;        /* hairline on dark */
  --white: #ffffff;
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 72px);
  --r: 4px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7), 0 4px 12px -6px rgba(0, 0, 0, 0.5);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* browser surfaces wear the palette (craft floor) */
::selection { background: var(--gold); color: var(--brown); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--brown-warm); border-radius: 20px; border: 3px solid var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 340; line-height: 1.02; letter-spacing: -0.02em; margin: 0; font-optical-sizing: auto; }
.gold { color: var(--gold); }
.italic { font-style: italic; }
em { font-style: italic; color: var(--gold-soft); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow-none { }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 40px; font-family: var(--sans); font-weight: 600; font-size: 16px; letter-spacing: 0.01em; cursor: pointer; border: 1px solid transparent; transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease); text-align: center; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--gold { background: var(--gold); color: var(--brown); }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn--ghost { border-color: var(--brown-warm); color: var(--ink); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease), border-color 0.3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(20, 14, 4, 0.82); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 20px; letter-spacing: 0.01em; color: var(--ink); }
.brand img { width: 34px; height: 42px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px; background: var(--gold); transition: width 0.3s var(--ease); }
.nav a:hover { color: var(--ink); } .nav a:hover::after { width: 100%; }
.nav .btn { min-height: 44px; padding: 0 20px; }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 5vw, 64px); padding: 120px var(--gutter) 64px; }
.hero__copy { max-width: 34ch; }
.hero h1 { font-size: clamp(3rem, 8vw, 5.6rem); font-weight: 300; }
.hero h1 .line { display: block; }
.hero h1 em { font-style: italic; font-weight: 340; }
.hero__lead { margin: 26px 0 8px; font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--ink-2); max-width: 40ch; line-height: 1.55; }
.hero__where { margin: 4px 0 30px; font-size: 15px; color: var(--ink-3); letter-spacing: 0.02em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__rating { display: flex; align-items: center; gap: 12px; margin-top: 30px; font-size: 14px; color: var(--ink-2); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 16px; }

/* reveal comparator */
.reveal { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); user-select: none; touch-action: pan-y; background: var(--bg-2); }
.reveal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reveal__top { clip-path: inset(0 0 0 var(--pos, 50%)); }
.reveal__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: var(--gold); transform: translateX(-1px); z-index: 3; }
.reveal__grip { position: absolute; top: 50%; left: var(--pos, 50%); transform: translate(-50%, -50%); z-index: 4; width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--brown); display: grid; place-items: center; box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.6); cursor: ew-resize; }
.reveal__grip svg { width: 26px; height: 26px; }
.reveal__tag { position: absolute; bottom: 14px; z-index: 3; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 30px; background: rgba(20, 14, 4, 0.72); backdrop-filter: blur(4px); color: var(--ink); }
.reveal__tag--l { left: 14px; } .reveal__tag--r { right: 14px; color: var(--gold); }
.reveal__hint { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 3; font-size: 12px; color: var(--ink-2); background: rgba(20,14,4,0.6); padding: 5px 12px; border-radius: 20px; pointer-events: none; transition: opacity 0.4s; }

/* ---------- section frame ---------- */
section { position: relative; }
.band { padding: clamp(72px, 12vw, 140px) 0; }
.band--brown { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.lead-head { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 300; max-width: 18ch; }
.section-intro { max-width: 46ch; color: var(--ink-2); font-size: 1.1rem; margin-top: 22px; line-height: 1.6; }
.rule { width: 56px; height: 2px; background: var(--gold); border: 0; margin: 0 0 26px; }

/* specialty (editorial split) */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 6vw, 80px); }
.split--rev { direction: rtl; } .split--rev > * { direction: ltr; }
.split__media { border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1 / 1; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body p { color: var(--ink-2); font-size: 1.12rem; line-height: 1.7; max-width: 44ch; }
.quote-inline { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--gold-soft); line-height: 1.35; font-weight: 340; margin: 0 0 8px; }

/* services — editorial rows, not identical cards */
.services { display: flex; flex-direction: column; gap: 2px; margin-top: 48px; border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 64px 1fr auto; align-items: baseline; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); transition: padding-left 0.35s var(--ease); }
.service:hover { padding-left: 12px; }
.service__no { font-family: var(--serif); font-size: 1rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.service__name { font-family: var(--serif); font-size: clamp(1.5rem, 3.5vw, 2.3rem); font-weight: 340; }
.service__desc { grid-column: 2; color: var(--ink-2); font-size: 1.02rem; margin-top: 8px; max-width: 52ch; }
.service__link { color: var(--gold); font-size: 14px; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; align-self: center; }
.service__link svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.service:hover .service__link svg { transform: translateX(4px); }

/* testimonials */
.testi { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.quote { padding: 34px 32px; background: var(--bg); border-radius: 6px; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.quote__mark { font-family: var(--serif); font-size: 4rem; line-height: 0.6; color: var(--gold); opacity: 0.5; }
.quote__text { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 340; line-height: 1.4; margin: 8px 0 18px; color: var(--ink); }
.quote__by { font-size: 13px; color: var(--ink-3); letter-spacing: 0.04em; }
.rating-lead { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.rating-lead .big { font-family: var(--serif); font-size: clamp(3rem, 7vw, 5rem); font-weight: 340; color: var(--gold); }

/* owner (no photo — typographic, per the rule) */
.owner { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 60ch; }
.owner .signature { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 5vw, 3.2rem); color: var(--gold); font-weight: 340; }
.owner p { color: var(--ink-2); font-size: 1.12rem; line-height: 1.7; }

/* location */
.loc { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 6vw, 72px); align-items: start; }
.loc__media { border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 2; }
.loc__media img { width: 100%; height: 100%; object-fit: cover; }
.info-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.info-list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.info-list svg { width: 22px; height: 22px; color: var(--gold); margin-top: 3px; }
.info-list .k { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: 3px; }
.info-list .v { font-size: 1.08rem; color: var(--ink); }
.info-list a.v:hover { color: var(--gold); }
.hours { display: grid; gap: 4px; }
.hours .row { display: flex; justify-content: space-between; gap: 24px; font-size: 15px; color: var(--ink-2); max-width: 300px; }
.hours .closed { color: var(--ink-3); }
.copyable { background: none; border: 1px dashed var(--line); color: var(--gold); font: inherit; cursor: pointer; min-height: 44px; padding: 6px 12px; border-radius: 6px; margin-left: 8px; font-size: 13px; display: inline-flex; align-items: center; vertical-align: middle; }
.copyable:hover { border-color: var(--gold); }

/* final CTA */
.cta-final { text-align: center; padding: clamp(80px, 14vw, 160px) 0; }
.cta-final h2 { font-size: clamp(2.4rem, 7vw, 5rem); font-weight: 300; max-width: 16ch; margin: 0 auto 14px; }
.cta-final p { color: var(--ink-2); font-size: 1.15rem; max-width: 40ch; margin: 0 auto 34px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px var(--gutter) 40px; color: var(--ink-3); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; max-width: var(--maxw); margin: 0 auto; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { max-width: var(--maxw); margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.footer-h { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }

/* scroll reveal */
/* subtle, self-healing entrance: hidden only very briefly, and only the first time each block scrolls in */
html.js .reveal-up { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal-up.in { opacity: 1; transform: none; }
/* fail-safe: if the animation hook never runs, content is fully visible */
html:not(.js) .reveal-up, html.no-anim .reveal-up { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .reveal-up { opacity: 1; transform: none; transition: none; } }

/* floating WhatsApp (mobile) */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: none; place-items: center; box-shadow: 0 10px 24px -6px rgba(0,0,0,0.5); }
.wa-float svg { width: 30px; height: 30px; }

/* service page hero */
.svc-hero { padding: 150px var(--gutter) 70px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px,6vw,72px); align-items: center; }
.svc-hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 300; }
.svc-hero p { color: var(--ink-2); font-size: 1.15rem; line-height: 1.7; margin: 22px 0 28px; max-width: 46ch; }
.svc-media { border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1/1; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; max-width: 52ch; }
.svc-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink-2); font-size: 1.05rem; }
.svc-list svg { width: 20px; height: 20px; color: var(--gold); margin-top: 3px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 14px; margin-bottom: 8px; }
.back-link:hover { color: var(--gold); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; padding: 48px; background: var(--bg-2); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform 0.4s var(--ease); z-index: 60; }
  .nav.open { transform: none; }
  .nav a { font-size: 22px; font-family: var(--serif); color: var(--ink); }
  .nav-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; background: none; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); cursor: pointer; z-index: 61; }
  .nav-toggle svg { width: 24px; height: 24px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(10,7,2,0.6); opacity: 0; visibility: hidden; transition: opacity 0.3s; z-index: 55; }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  .hero, .split, .loc, .svc-hero { grid-template-columns: 1fr; }
  .hero { padding-top: 104px; min-height: auto; }
  .hero__copy { max-width: none; }
  .split--rev { direction: ltr; }
  .split__media { order: -1; }
  .testi { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .wa-float { display: grid; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 40px 1fr; gap: 14px; }
  .service__link { grid-column: 2; align-self: start; margin-top: 6px; }
  .service__desc { grid-column: 1 / -1; }
  .reveal { aspect-ratio: 3 / 4; }
  .hours .row { max-width: none; }
}
