/* ==========================================================================
   Bere Gain · Peluquería archetype — Kings Barbers
   Magazine editorial. Fraunces (display, italic-heavy) + DM Sans (body).
   --------------------------------------------------------------------------
   Anti-tropes (vs baseline):
   · Asymmetric 12-col hero with title that dominates the page
   · Drop caps used twice (hero lede + manifesto lead) but never as gimmick
   · Roman lowercase italics (i, ii, iii) instead of arabic numerals
   · Photo grading filter applied globally
   · Asterism dividers (· · ·) instead of solid rules between editorial groups
   · Single accent (tobacco) — the bold red used ONCE on the booking comma
   ========================================================================== */

/* ---------- SELF-HOSTED FONTS (2026-05-31 overhaul) ----------
   Replaces the prior Google Fonts CDN <link>s with the woff2 subsets
   already staged under ./fonts/. Fraunces = expressive display; Manrope
   = neutral screen-optimized workhorse (the research-recommended
   display+sans pairing). ``font-display: swap`` keeps first paint
   instant; the variable fonts cover the weight range the type scale
   uses (Fraunces 300..800, Manrope 200..800) from a single file each. */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces-Regular.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces-Italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- TOKENS ---------- */
:root {
  /* Default Kings Barbers accent (#b4825a). The per-business override
     (inline <style> emitted by main.html from ``doc.accent_color``)
     re-defines --accent and the derived ramp; these defaults keep the
     stylesheet self-sufficient when rendered standalone. */
  --paper:        #f1ebe1;
  --paper-deep:   #e8dfd0;
  --paper-soft:   #f7f2e9;
  --ink:          #1a1612;
  --ink-soft:     #3a342e;
  --ink-muted:    #6a625a;
  --rule:         #d4c8b4;
  --accent:       #b4825a;   /* tobacco / camel */
  --accent-bold:  #c54a31;   /* terracotta — ONE element on page */
  /* Derived per-business ramp (overridden inline from accent_color).
     Defined here in terms of --accent so the system stays single-source
     even when the inline block is absent (e.g. a standalone CSS preview). */
  --accent-tint:  color-mix(in srgb, var(--accent) 14%, var(--paper-soft));
  --accent-deep:  color-mix(in srgb, var(--accent) 72%, var(--ink));
  --accent-soft:  color-mix(in srgb, var(--accent) 50%, var(--paper));

  --grade-saturate: 0.86;
  --grade-bright:   0.98;
  --grade-warm:     sepia(0.04);

  --display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --body:    "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing rhythm scale (4 / 8 / 16 / 24 / 40 / 64 / 96) — a single
     consistent scale the sections draw from instead of ad-hoc values. */
  --space-2:  8px;
  --space-3:  16px;
  --space-4:  24px;
  --space-5:  40px;
  --space-6:  64px;
  --space-7:  96px;

  --pad-x:    clamp(20px, 4.8vw, 88px);
  /* 2026-05-31 operator review ("pobre y muy larga"): the section vertical
     rhythm was clamp(80,11vw,168px) top+bottom on EVERY section — up to ~336px
     of air per section stacked into a very long, sparse page. Tightened to a
     denser scale so the page reads shorter and fuller without deleting any
     real content. */
  --pad-y:    clamp(52px, 6.5vw, 104px);
  --maxw:     1440px;

  /* Reserved height for the mobile sticky CTA bar so the colophon and
     bottom-anchored content are never covered. Zero on desktop (the bar
     is display:none there); set on the responsive breakpoint. */
  --cta-bar-h: 0px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  font-feature-settings: "kern", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
figure { margin: 0; }
ol, ul, dl { margin: 0; padding: 0; list-style: none; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  padding: 10px 18px; background: var(--ink); color: var(--paper);
  font-size: 13px; z-index: 100;
}
.skip:focus { left: 8px; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

::selection { background: var(--accent); color: var(--paper); }

/* ---------- TYPE SCALE — single source of truth ---------- */
.display-mega {
  font-family: var(--display);
  font-weight: 360;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-size: clamp(56px, 12vw, 184px);
  line-height: 0.86;
  letter-spacing: -0.028em;
  margin: 0;
}
.display-mega em {
  font-style: italic;
  font-weight: 380;
  color: var(--accent);
}

.label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------- MASTHEAD ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
}
.masthead-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 32px;
  padding-top: 22px;
  padding-bottom: 18px;
}
.masthead-rule {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--rule) 8%, var(--rule) 92%, transparent);
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  line-height: 1;
}
.brand-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-name em {
  font-style: italic;
  color: var(--accent);
}
.brand-place {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}
.nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
}
.nav a {
  position: relative;
  padding-bottom: 3px;
  transition: color 160ms;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.masthead-meta {
  font-family: var(--display);
  font-size: 13px;
  font-style: italic;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.masthead-meta .meta-sep { color: var(--accent); }

/* ---------- HERO ---------- */
.hero {
  /* 2026-05-31 operator review: trimmed the vertical rhythm so the hero
     reads within ~one viewport on desktop. */
  padding-top: clamp(36px, 4.5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 72px);
  position: relative;
}

/* ---------- HERO PHOTO BACKGROUND (ADR 086) ----------
   When the build step supplies a Pexels sector photo (``--hero-bg`` set
   inline), the hero gets a full-bleed background with a dark gradient
   overlay so the headline + lede + CTA stay legible over an arbitrary
   photo (Wix-parity, operator ask 2026-05-31). The overlay is a ::before
   at z-index 0 with the hero content lifted above it; the headline size
   (clamp(40px,6.4vw,84px)) and the on-load motion are NOT changed. */
.hero-photo {
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(56px, 7vw, 110px);
  padding-bottom: clamp(56px, 7vw, 110px);
}
/* ---------- KEN-BURNS HERO BACKGROUND (2026-05-31 motion fix) ----------
   Operator review (2nd time): "todavía no veo nada que se mueva". The
   scroll-reveal was too subtle / not perceived. The hero background photo now
   carries a CONTINUOUS, ALWAYS-ON Ken-Burns motion (slow scale 1.0→1.08 + a
   gentle pan) that is visible the instant the page loads — it needs NO scroll
   detection, NO JS, and runs on every browser including iOS-Safari. This is a
   dedicated ``::after`` layer (not the element's own ``background-size``, which
   animates janky) sitting BELOW the dark gradient ``::before`` overlay and the
   content, so the headline stays legible while the photo breathes.
   ``transform`` is GPU-composited so the animation is smooth.
   ``prefers-reduced-motion: reduce`` freezes it (block at the foot of this
   file + the explicit override below). If the operator STILL sees nothing the
   cause is almost certainly reduced-motion enabled in the OS/browser, or a
   stale cached HTML/CSS (hard-refresh) — the Ken-Burns is continuous and would
   otherwise always be visible. */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform-origin: 50% 40%;
  animation: heroKenBurns 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroKenBurns {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.08) translate3d(-1.4%, -1.6%, 0); }
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Warm dark overlay, heavier at the bottom-left where the headline +
     lede + CTA sit, lighter top-right — keeps the photo readable while
     the light copy stays high-contrast. */
  background:
    linear-gradient(
      to top,
      color-mix(in srgb, var(--ink) 88%, transparent) 0%,
      color-mix(in srgb, var(--ink) 70%, transparent) 42%,
      color-mix(in srgb, var(--ink) 44%, transparent) 100%
    );
}
.hero-photo .hero-wrap { position: relative; z-index: 1; }
.hero-photo .hero-eyebrow { color: color-mix(in srgb, var(--paper) 78%, transparent); }
.hero-photo .hero-eyebrow-rule { background: color-mix(in srgb, var(--accent) 60%, #ffffff); }
.hero-photo .hero-title { color: var(--paper); }
.hero-photo .hero-title em { color: color-mix(in srgb, var(--accent) 50%, #ffffff); }
.hero-photo .hero-lede { color: color-mix(in srgb, var(--paper) 92%, transparent); }
.hero-photo .dropcap { color: color-mix(in srgb, var(--accent) 50%, #ffffff); }
.hero-photo .hero-meta dt { color: color-mix(in srgb, var(--paper) 64%, transparent); }
.hero-photo .hero-meta dd { color: var(--paper); }
.hero-photo .hero-meta dl { border-color: color-mix(in srgb, var(--paper) 24%, transparent); }
/* The right-column anchor figure is redundant when the whole hero is a
   photo; hide it so the headline gets the full width over the image. */
.hero-photo .hero-aside { display: none; }
.hero-photo .hero-title { grid-column: 1 / -1; }
.hero-photo .hero-body { grid-column: 1 / span 7; }
.hero-wrap {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto auto auto;
  column-gap: clamp(16px, 2.4vw, 36px);
  row-gap: clamp(20px, 2.6vw, 36px);
  align-items: end;
}
.hero-eyebrow {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero-eyebrow-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
  font-weight: 400;
}
.hero-eyebrow-rule {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--accent);
  transform: translateY(-3px);
}
.hero-title {
  grid-column: 1 / span 9;
  grid-row: 2;
  font-family: var(--display);
  font-weight: 340;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  /* 2026-05-31 operator review of the LIVE page: the previous
     clamp(56px, 12vw, 184px) rendered the headline at ~173px on a 1440px
     desktop — it filled the whole viewport and could not be read without
     scrolling. Capped so the hero (headline + lede + CTA + rating chip)
     fits within ~one viewport and the headline never overflows on 390px. */
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0;
}
.hero-title em {
  font-style: italic;
  font-weight: 380;
  color: var(--accent);
}

.hero-body {
  grid-column: 1 / span 5;
  grid-row: 3;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-self: start;
}
.hero-lede {
  font-family: var(--display);
  font-weight: 400;
  font-variation-settings: "opsz" 24;
  font-size: clamp(20px, 1.65vw, 24px);
  line-height: 1.42;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}
.dropcap {
  font-family: var(--display);
  font-style: italic;
  font-weight: 380;
  font-size: 4.4em;
  line-height: 0.82;
  float: left;
  padding: 0.08em 0.18em 0 0;
  color: var(--accent);
}
.dropcap-dark { color: var(--ink); }

.hero-aside {
  grid-column: 7 / -1;
  grid-row: 3;
  align-self: end;
}
.hero-figure {
  margin: 0;
  position: relative;
  /* 2026-05-30 hero-quality polish: brass-keyline frame + monogram badge so
     the hero photo reads as a designed typographic card, not a generic
     focal-crop. Mirrors the pack-cover system (brass keyline + monogram). */
  padding: 14px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
    var(--paper-soft);
  box-shadow:
    inset 0 0 0 1px var(--accent),
    0 24px 56px -24px rgba(26, 22, 18, 0.28);
}
.hero-figure img {
  width: 100%;
  /* 2026-05-31 operator review: a 4/5 portrait drove the hero past 150vh on
     desktop (the figure alone was ~750px). Shifted to a 4/5 ratio capped by a
     max-height so the whole hero (headline + lede + CTA + rating + figure)
     fits within ~one viewport without scrolling. */
  aspect-ratio: 4 / 5;
  max-height: 40vh;
  object-fit: cover;
  filter: saturate(var(--grade-saturate)) brightness(var(--grade-bright)) var(--grade-warm);
  display: block;
}
.hero-figure-rule {
  position: absolute;
  top: 14px;
  left: -28px;
  width: 56px;
  height: 1px;
  background: var(--accent);
  z-index: 2;
}
.hero-figure-badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 10px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
}
.hero-figure-badge-label {
  font-family: var(--body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(241, 235, 225, 0.7);
}
.hero-figure-badge-mark {
  font-style: italic;
  font-weight: 380;
  font-size: 22px;
  color: var(--accent);
  line-height: 1;
}
.hero-figure-cap {
  margin-top: 12px;
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-muted);
}
.cap-tag {
  font-family: var(--body);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-right: 8px;
  display: inline-block;
}

/* ---------- HERO ACTIONS ---------- */
.hero-actions {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 22px;
}
.btn-primary {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 24px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--ink);
  border-radius: 2px;
  transition: background 180ms, border-color 180ms, transform 180ms;
}
.btn-primary .btn-icon {
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  transition: transform 200ms;
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -16px rgba(180, 130, 90, 0.55);
}
.btn-primary:hover .btn-icon { transform: translateX(4px); }
.btn-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-link {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.25;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
  transition: border-color 180ms;
}
.btn-link-label {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-muted);
}
.btn-link-num {
  font-family: var(--display);
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0.005em;
  font-variant-numeric: tabular-nums;
}
.btn-link:hover {
  border-bottom-color: var(--ink);
}

/* ---------- HERO TRUST CHIP (above-fold rating) ---------- */
.hero-rating {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 12px 16px;
  background: var(--accent-tint);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 3px;
  align-self: start;
  width: fit-content;
}
.hero-rating-stars {
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--accent);
  line-height: 1;
}
.hero-rating-score {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.hero-rating-meta {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------- HERO META STRIP ---------- */
.hero-meta {
  grid-column: 1 / -1;
  grid-row: 4;
  border-top: 1px solid var(--rule);
  padding-top: 22px;
  margin-top: 16px;
}
.hero-meta dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.hero-meta dt {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.hero-meta dd {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
}

/* ---------- HERO VARIANTS (driven by [data-hero-variant] on <body>) ---------- */
body[data-hero-variant="image"] .hero-wrap {
  grid-template-rows: auto auto auto auto auto;
}
body[data-hero-variant="image"] .hero-aside {
  grid-column: 1 / -1;
  grid-row: 2;
  order: 0;
}
body[data-hero-variant="image"] .hero-figure img {
  aspect-ratio: 16 / 7;
}
body[data-hero-variant="image"] .hero-title {
  grid-row: 3;
  grid-column: 1 / span 10;
  font-size: clamp(48px, 9.5vw, 142px);
}
body[data-hero-variant="image"] .hero-body {
  grid-row: 4;
  grid-column: 1 / span 7;
}
body[data-hero-variant="image"] .hero-meta { grid-row: 5; }

body[data-hero-variant="split"] .hero-title {
  grid-column: 1 / span 6;
  font-size: clamp(48px, 8.6vw, 132px);
}
body[data-hero-variant="split"] .hero-aside {
  grid-column: 7 / -1;
  grid-row: 2;
  align-self: stretch;
}
body[data-hero-variant="split"] .hero-figure img {
  aspect-ratio: 3 / 4;
  height: 100%;
}
body[data-hero-variant="split"] .hero-body {
  grid-column: 1 / span 6;
  grid-row: 3;
}

/* ---------- AMBIENCE STRIP ---------- */
.strip-ambience {
  margin-top: clamp(16px, 3vw, 32px);
}
.strip-figure {
  margin: 0;
}
.strip-figure img {
  width: 100%;
  height: clamp(360px, 58vw, 760px);
  object-fit: cover;
  filter: saturate(var(--grade-saturate)) brightness(var(--grade-bright)) var(--grade-warm);
}
.strip-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(32px, 5vw, 80px);
  padding-top: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.cap-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0;
}
.bullet {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.cap-text {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.42;
  color: var(--ink);
  max-width: 56ch;
}
.cap-text em { font-style: italic; color: var(--accent); }

/* ---------- INTERSTITIAL ABSTRACT-PHOTO BAND (2026-05-31 rev3) ----------
   A full-bleed generic ABSTRACT/DETAIL photo band that breaks the long run of
   lower text sections so the page stays "vistosa" all the way down (operator
   review). Self-hosted stock image via ``--band-bg`` (set inline per render)
   with a warm dark gradient overlay so the single editorial line reads light.
   ``background-attachment: fixed`` is avoided (breaks on iOS Safari, research
   §2.6) — a plain cover image keeps it Safari-safe; motion is handled by the
   shared reveal system, and reduced-motion is respected globally. */
.band-detail {
  position: relative;
  isolation: isolate;
  background-image: var(--band-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: clamp(260px, 34vw, 460px);
  display: grid;
  align-items: end;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(48px, 7vw, 96px);
}
.band-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      to top,
      color-mix(in srgb, var(--ink) 82%, transparent) 0%,
      color-mix(in srgb, var(--ink) 52%, transparent) 55%,
      color-mix(in srgb, var(--ink) 30%, transparent) 100%
    );
}
.band-detail-wrap { position: relative; z-index: 1; }
.band-detail-line {
  margin: 0;
  max-width: 30ch;
  font-family: var(--display);
  font-style: italic;
  font-weight: 360;
  font-size: clamp(26px, 3.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--paper);
  text-wrap: balance;
}

/* ---------- SECTION SCAFFOLDING ---------- */
.section {
  padding-top: var(--pad-y);
  padding-bottom: var(--pad-y);
}
.section-head {
  display: grid;
  grid-template-columns: 80px 1fr;
  column-gap: clamp(20px, 3vw, 48px);
  row-gap: 14px;
  align-items: baseline;
  /* 2026-05-31 operator review ("pobre y muy larga"): tightened the section
     header → body gap so sections read denser. */
  margin-bottom: clamp(32px, 4vw, 56px);
  max-width: 1100px;
}
.section-num {
  font-family: var(--display);
  font-size: 17px;
  color: var(--accent);
  margin: 0;
  letter-spacing: 0;
  line-height: 1;
  font-weight: 400;
  grid-column: 1;
  grid-row: 1 / span 2;
}
.section-num em {
  font-style: italic;
  font-size: 26px;
}
.section-title {
  grid-column: 2;
  font-family: var(--display);
  font-weight: 340;
  font-variation-settings: "SOFT" 50, "opsz" 144;
  /* 2026-05-31 operator review: section titles were clamp(40,6.2vw,92px) —
     ~89-92px on desktop, AS LARGE AS / larger than the hero headline
     (clamp(40,6.4vw,84px)). The hero must stay the dominant element and
     section titles must be clearly smaller and consistent across sections.
     Reduced to a calmer single scale well below the hero. */
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1.0;
  letter-spacing: -0.022em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  font-weight: 380;
  color: var(--accent);
}
.section-title-small {
  grid-column: 2;
  font-family: var(--display);
  font-weight: 360;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.0;
  letter-spacing: -0.012em;
  margin: 0;
  color: var(--ink);
}
.section-kicker {
  grid-column: 2;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.4;
  color: var(--ink-muted);
  margin: 0;
  max-width: 52ch;
}

/* ---------- SERVICES — typographic table ---------- */
.section-services {
  border-top: 1px solid var(--rule);
}
.services {
  border-top: 1.5px solid var(--ink);
}
.service {
  display: grid;
  grid-template-columns: 64px minmax(0, 5fr) minmax(0, 1.4fr);
  column-gap: clamp(24px, 3.2vw, 56px);
  align-items: baseline;
  padding: clamp(26px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background 200ms;
}
.service:hover {
  background: var(--paper-soft);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -20px rgba(26, 22, 18, 0.18);
}
.service-idx {
  font-family: var(--display);
  font-style: italic;
  font-size: 28px;
  color: var(--accent);
  margin: 0;
  line-height: 1;
  align-self: start;
  padding-top: 6px;
}
.service-name {
  font-family: var(--display);
  font-weight: 360;
  font-variation-settings: "opsz" 96;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.0;
  letter-spacing: -0.018em;
  margin: 0 0 14px;
}
.service-desc {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 58ch;
}
.service-meta {
  text-align: right;
  align-self: start;
  padding-top: 12px;
}
.service-price {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2vw, 30px);
  color: var(--ink);
  margin: 0 0 4px;
  font-variant-numeric: tabular-nums;
}
.service-duration {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0;
}

/* ---------- MANIFIESTO ---------- */
.section-manifesto {
  /* Tinted by the per-business accent so the band shifts hue with the
     brand colour instead of being a fixed warm grey for every client. */
  background: color-mix(in srgb, var(--accent) 7%, var(--paper-deep));
}

/* ---------- PHOTO-BACKED MANIFESTO BAND (2026-05-31 rev2) ----------
   When a client gallery photo is available the band is backed by that photo
   (``--manifesto-bg`` set inline per render) with a dark gradient overlay so
   the text reads light over the image. ``background-attachment: fixed`` would
   break on iOS Safari (research §2.6 note), so we use a plain cover image; the
   overlay is a ::before so the photo never bleeds into the text contrast. */
.section-manifesto-photo {
  position: relative;
  isolation: isolate;
  background-image: var(--manifesto-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section-manifesto-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Dark warm overlay — heavier at the left where the copy sits — for
     WCAG-ish contrast of the light text over an arbitrary client photo. */
  background:
    linear-gradient(
      105deg,
      color-mix(in srgb, var(--ink) 90%, transparent) 0%,
      color-mix(in srgb, var(--ink) 78%, transparent) 45%,
      color-mix(in srgb, var(--ink) 58%, transparent) 100%
    );
}
.section-manifesto-photo .section-num em,
.section-manifesto-photo .section-title-small {
  color: var(--paper);
}
.section-manifesto-photo .manifesto-lead {
  color: var(--paper);
}
.section-manifesto-photo .manifesto-lead em {
  color: color-mix(in srgb, var(--accent) 55%, #ffffff);
}
.section-manifesto-photo .dropcap-dark {
  color: var(--paper);
}
.manifesto-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.manifesto-meta { padding-top: 4px; }
.manifesto-meta .section-num { grid-row: 1; }
.manifesto-meta .section-title-small { grid-row: 2; }
.manifesto-body { min-width: 0; }
.manifesto-lead {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1.28;
  color: var(--ink);
  /* 2026-05-31: the manifesto-stats block below was dropped, so the large
     64px bottom margin was dead air at the foot of the band. */
  margin: 0;
  text-wrap: pretty;
}
.manifesto-lead em { font-style: italic; color: var(--accent); }
.manifesto-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 48px);
  border-top: 1px solid var(--rule);
  padding-top: 32px;
}
.stat-num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 360;
  font-size: clamp(40px, 4.4vw, 64px);
  color: var(--accent);
  line-height: 0.9;
  margin: 0 0 10px;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0;
}

/* ---------- GALLERY — editorial spread ---------- */
.section-gallery .section-head {
  margin-bottom: clamp(40px, 5vw, 72px);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 1.8vw, 28px);
}
.gallery .g {
  margin: 0;
  position: relative;
}
.gallery .g img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(var(--grade-saturate)) brightness(var(--grade-bright)) var(--grade-warm);
  transition: filter 400ms;
}
.gallery .g:hover img {
  filter: saturate(1) brightness(1.02) var(--grade-warm);
}
.gallery .g figcaption {
  margin-top: 12px;
  font-family: var(--display);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-muted);
}

.g-1 { grid-column: 1 / span 7; aspect-ratio: 4 / 3; }
.g-2 { grid-column: 8 / span 5; aspect-ratio: 3 / 4; }
.g-3 { grid-column: 1 / span 5; aspect-ratio: 3 / 4; }
.g-4 { grid-column: 6 / span 7; aspect-ratio: 4 / 3; }
.g-2 { grid-row: span 2; }
.g-4 { align-self: end; }

/* ---------- SOCIAL PROOF ---------- */
.section-proof {
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.proof-wrap { max-width: 1100px; }
.proof-eyebrow {
  font-family: var(--display);
  font-size: 14px;
  color: var(--accent);
  margin: 0 0 32px;
}
.proof-eyebrow em {
  font-style: italic;
  font-size: 20px;
  margin-right: 12px;
}
.proof-line {
  font-family: var(--display);
  font-weight: 360;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
/* Google Maps Platform ToS §3.2.4 attribution — visible-but-small caption
   placed below the proof line when source=Google. Kept understated so it
   doesn't compete with the rating display itself. */
.proof-attribution {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-muted, var(--ink));
  margin: 8px 0 0;
  opacity: 0.85;
}
.proof-rating {
  font-style: italic;
  font-weight: 380;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.proof-fract {
  font-style: italic;
  font-weight: 380;
  color: var(--ink-muted);
  font-size: 0.6em;
  vertical-align: 0.18em;
}
.proof-context {
  display: inline;
  color: var(--ink-soft);
}
.proof-context em { font-style: italic; color: var(--accent); }
.proof-context strong {
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
}

/* ---------- EMPTY STATE NOTE (review only) ---------- */
.review-only { padding-top: 48px; padding-bottom: 48px; }
.empty-note {
  border: 1px dashed var(--rule);
  padding: 24px 28px;
  background: var(--paper-soft);
  max-width: 680px;
}
.empty-tag {
  font-family: "DM Sans", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin: 0 0 8px;
}
.empty-text {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 0;
}
.empty-text code {
  font-family: ui-monospace, "SFMono-Regular", monospace;
  font-style: normal;
  background: var(--paper-deep);
  padding: 1px 6px;
  font-size: 13px;
  color: var(--ink);
}

/* ---------- CÓMO TRABAJAMOS / PROCESS (schema 0.11) ---------- */
.section-process { border-top: 1px solid var(--rule); }
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
  border-top: 1.5px solid var(--ink);
  padding-top: clamp(40px, 5vw, 72px);
}
.process-step {
  position: relative;
  transition: transform 220ms ease;
}
.process-idx {
  font-family: var(--display);
  font-style: italic;
  font-weight: 360;
  font-size: clamp(40px, 4.4vw, 64px);
  color: var(--accent);
  line-height: 0.9;
  margin: 0 0 18px;
  font-variant-numeric: tabular-nums;
}
.process-title {
  font-family: var(--display);
  font-weight: 360;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 12px;
}
.process-blurb {
  font-family: var(--display);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  max-width: 36ch;
}

/* ---------- TARIFAS — menu-style price list (reuses doc.services) ----------
   2026-05-31 rev3: a soft accent tint (matching the manifesto + contact bands)
   gives the lower half visual rhythm so the page does not flatten into one
   long cream run as the visitor scrolls. The tint is derived from the
   per-business accent, so the rhythm shifts hue with the brand colour. */
.section-tarifas {
  border-top: 1px solid var(--rule);
  background: color-mix(in srgb, var(--accent) 6%, var(--paper-deep));
}
.tarifas {
  border-top: 1.5px solid var(--ink);
  max-width: 920px;
}
.tarifa-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  column-gap: 18px;
  padding: clamp(18px, 2.2vw, 26px) 0;
  border-bottom: 1px solid var(--rule);
  transition: background 200ms, padding-left 200ms;
}
.tarifa-row:hover {
  background: var(--paper-soft);
  padding-left: 12px;
}
.tarifa-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 28px);
  color: var(--ink);
  line-height: 1.15;
}
.tarifa-dur {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-left: 10px;
}
.tarifa-price {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 28px);
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- RESEÑAS STRIP (schema 0.11) ---------- */
.section-reviews { border-top: 1px solid var(--rule); }
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
}
.review-card {
  margin: 0;
  padding: clamp(24px, 2.8vw, 36px);
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -26px rgba(26, 22, 18, 0.32);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--rule));
}
.review-stars {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: var(--accent);
  line-height: 1;
}
.review-stars-empty { color: var(--rule); }
.review-quote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.45;
  color: var(--ink);
  text-wrap: pretty;
}
.review-author {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Cómo llegar deep-link arrow nudge on hover. */
.contact-maps { margin-top: 14px; }
.contact-maps a span { transition: transform 200ms; display: inline-block; }
.contact-maps a:hover span { transform: translateX(4px); }

/* ---------- BOOKING ---------- */
.section-booking {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(64px, 8vw, 120px);
  padding-bottom: clamp(64px, 8vw, 120px);
}
.booking-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.booking-head { min-width: 0; }
.section-num-inv {
  color: var(--accent);
  margin-bottom: 24px;
}
.section-num-inv em { font-size: 28px; }
.booking-headline {
  font-family: var(--display);
  font-style: italic;
  font-weight: 360;
  font-variation-settings: "SOFT" 60, "opsz" 144;
  /* 2026-05-31 operator review: "Reservar" was clamp(80,13vw,220px) ~187px —
     more than 2x the hero headline, the single most oversized element on the
     page. Brought into proportion with the other section titles (kept a touch
     larger as the single bold-accent booking moment, but no longer dominant
     over the hero). */
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--paper);
}
.booking-headline em { font-style: italic; }
.booking-headline .acc { color: var(--accent-bold); } /* THE single bold accent */

.booking-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 42ch;
  padding-bottom: 24px;
}
.booking-copy {
  font-family: var(--display);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
  color: rgba(241, 235, 225, 0.78);
  margin: 0;
}
.booking-copy em { font-style: italic; color: var(--accent); }
.booking-actions {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 28px;
}
.btn-on-ink {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.btn-on-ink:hover {
  background: var(--accent-bold);
  border-color: var(--accent-bold);
  color: var(--paper);
}
.btn-link-on-ink {
  border-bottom-color: var(--accent-bold);
}
.btn-link-on-ink .btn-link-label { color: rgba(241,235,225,0.7); }
.btn-link-on-ink .btn-link-num { color: var(--paper); }
.btn-link-on-ink:hover { border-bottom-color: var(--paper); }

/* ---------- CONTACT ---------- */
.section-contact { background: color-mix(in srgb, var(--accent) 7%, var(--paper-deep)); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
}
.contact-block { min-width: 0; }
.contact-label {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 22px;
}
.contact-prim {
  font-family: var(--display);
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 6px;
}
.contact-sec {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-muted);
  margin: 0 0 4px;
}
.contact-block p {
  font-family: var(--display);
  font-size: clamp(18px, 1.4vw, 22px);
  margin: 0 0 8px;
}
.contact-link {
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: border-color 180ms, color 180ms;
  color: var(--ink);
}
.contact-link:hover {
  border-bottom-color: var(--ink);
  color: var(--accent);
}
/* business_hours_text (ADR 049 preferred tier): a single human-readable
   summary. Without this rule it inherited .contact-block p (oversized
   display serif) and rendered illegibly large in the narrow contact
   column. Match the body voice of the rest of the contact details. */
.hours-text {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}
/* Hours list — known-bugs.md 2026-05-30 19:10 "horario sigue grande y
   se sobrepone". Was using var(--display) (Fraunces italic) at 17px which
   blew up the column, wrapped numerals, and bled into adjacent contact
   blocks. Aligned to the peluqueria_premium sizing (body sans at 14px) so
   the column reads as a clean tabular block. The .hours-time stays
   tabular-nums for clean digit alignment. */
.hours { display: grid; gap: 8px; }
.hours li {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  column-gap: 16px;
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink-soft);
  align-items: baseline;
}
.hours-day {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  align-self: baseline;
}
.hours-time {
  font-variant-numeric: tabular-nums;
  font-style: normal;
  text-align: right;
  min-width: 0;
}

/* ---------- FAQ — accordion via <details>/<summary> ----------
   2026-05-30 (known-bugs.md): operator asked for collapsible per
   question. Native <details>/<summary> keeps content in the DOM
   (SEO + FAQPage JSON-LD intact) and needs zero JS. We restyle the
   default marker into a typographic plus/minus that flips on open. */
.section-faq { border-top: 1px solid var(--rule); }
.faq-list {
  margin: 0;
  padding: 0;
  border-top: 1.5px solid var(--ink);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 0;
  transition: background 220ms ease;
}
.faq-item[open] { background: var(--paper-soft); }
.faq-item:hover { background: var(--paper-soft); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  align-items: baseline;
  column-gap: clamp(20px, 2vw, 32px);
  /* 2026-05-31 operator review: the click row was oversized (clamp 28–40px ×2
     of vertical padding) and wasted vertical space. Tightened to a compact
     row; ``min-height: 44px`` keeps a comfortable mobile tap target without
     re-inflating the resting height. The question type is also slightly
     calmed (28px max vs 32px) so a compact row reads balanced. */
  min-height: 44px;
  padding: clamp(14px, 1.4vw, 18px) 0;
  font-family: var(--display);
  font-weight: 360;
  font-variation-settings: "opsz" 96;
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.22;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--display);
  font-style: italic;
  font-weight: 360;
  font-size: 28px;
  color: var(--accent);
  text-align: right;
  line-height: 1;
  transition: transform 280ms ease;
  transform-origin: center;
}
.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}
.faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
/* 2026-05-31 operator review: "cuando abro el desplegable, eso queda todo
   acomodado a la izquierda" — the open answer read as a thin left column. The
   answer now fills the content column (reserving the 28px toggle gutter on the
   right so it aligns cleanly under the question text) and uses a comfortable
   reading measure (~72ch) instead of the cramped 64ch left strip. The compact
   summary height from last round is untouched. */
.faq-answer {
  padding: clamp(4px, 0.6vw, 8px) 0 clamp(24px, 3vw, 36px);
  /* Match the summary's question column: full width minus the toggle gutter
     (28px) + its column-gap, so the answer sits flush under the question. */
  padding-right: calc(28px + clamp(20px, 2vw, 32px));
  animation: faqFadeIn 320ms ease both;
}
.faq-answer p {
  margin: 0;
  max-width: 72ch;
  font-family: var(--display);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.62;
  color: var(--ink-soft);
}
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- TEAM / SOBRE NOSOTROS (schema 0.11 extended) ---------- */
.section-team { border-top: 1px solid var(--rule); }
.team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: clamp(24px, 3vw, 44px);
  margin-top: clamp(36px, 4vw, 56px);
}
.team-member { margin: 0; }
.team-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.team-member:hover .team-photo img { transform: scale(1.04); }
.team-photo-mono {
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 12%, var(--paper-soft));
}
.team-mono {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(48px, 6vw, 72px);
  color: var(--accent-deep);
  line-height: 1;
}
.team-caption { margin: 14px 0 0; }
.team-name {
  font-family: var(--display);
  font-size: clamp(20px, 1.6vw, 24px);
  letter-spacing: -0.01em;
  margin: 0;
}
.team-role {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 4px 0 0;
}

/* ---------- MAP (2026-05-31 rev2 — real OSM embed + fallbacks) ----------
   Modest, full-width-within-the-content-column, rounded corners. Capped
   max-height so it reads as a map and never dominates the contact section. */
.contact-map {
  display: block;
  width: 100%;
  margin: 18px 0 6px;
  height: clamp(220px, 38vw, 320px);
  max-height: 320px;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 8%, var(--paper-soft));
}
.contact-map-embed { line-height: 0; }
.contact-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  /* OSM mapnik tiles are colourful; a slight warm de-saturation keeps the
     embed from clashing with the cream editorial palette without hiding the
     map. */
  filter: saturate(0.88) contrast(0.97);
}
.contact-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.contact-map:hover .contact-map-img { transform: scale(1.03); }

/* Small, tasteful location chip — the no-coords / no-image fallback. NOT a
   big fake map: a single inline pill the visitor can tap through to Maps. */
.contact-map-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 6px;
  padding: 12px 18px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 8%, var(--paper-soft));
  text-decoration: none;
  transition: border-color 200ms ease, background 200ms ease;
}
.contact-map-chip:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, var(--paper-soft));
}
.contact-map-pin {
  font-size: 18px;
  color: var(--accent);
  line-height: 1;
}
.contact-map-place {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------- NEWSLETTER (schema 0.11 extended) ---------- */
.section-newsletter {
  border-top: 1px solid var(--rule);
  background: color-mix(in srgb, var(--accent) 7%, var(--paper-deep));
}
.newsletter-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.newsletter-headline {
  font-family: var(--display);
  font-weight: 360;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.newsletter-headline em { font-style: italic; color: var(--accent); }
.newsletter-copy {
  font-family: var(--display);
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  max-width: 46ch;
}
.newsletter-form { min-width: 0; }
.newsletter-label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: block;
  margin: 0 0 10px;
}
.newsletter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: stretch;
}
.newsletter-input {
  flex: 1 1 200px;
  min-width: 0;
  font-family: var(--body);
  font-size: 16px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: 2px;
}
.newsletter-input::placeholder { color: var(--ink-muted); }
.newsletter-submit { white-space: nowrap; }

/* ---------- SOCIAL ICON ROW (schema 0.11 extended) ---------- */
.social-links {
  list-style: none;
  display: flex;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(241,235,225,0.22);
  border-radius: 999px;
  color: rgba(241,235,225,0.78);
  transition: color 180ms, border-color 180ms, background 180ms, transform 180ms;
}
.social-link:hover {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
  transform: translateY(-2px);
}

/* ---------- COLOPHON (footer) ---------- */
.colophon {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(64px, 8vw, 112px) 0 28px;
}
.colophon-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.colophon-mark .brand-name {
  font-size: 36px;
  color: var(--paper);
  line-height: 1;
}
.colophon-mark .brand-name em { color: var(--accent); }
.colophon-place {
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  color: rgba(241,235,225,0.6);
  margin: 12px 0 0;
}
.colophon-meta {
  text-align: right;
}
.colophon-line {
  font-family: var(--display);
  font-style: italic;
  font-size: 14px;
  color: rgba(241,235,225,0.6);
  margin: 0 0 6px;
}
.colophon-fine {
  grid-column: 1 / -1;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(241,235,225,0.4);
  margin: 56px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(241,235,225,0.12);
}

/* ADR 086 / Pexels ToS attribution — discreet, one line under the colophon. */
.colophon-credit {
  grid-column: 1 / -1;
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(241,235,225,0.32);
  margin: 14px 0 0;
}

/* ---------- HUB BACK LINK (review only) ---------- */
.hub-back {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 60;
  font-family: "DM Sans", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 2px;
  transition: background 180ms, border-color 180ms;
}
.hub-back:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- STICKY MOBILE CTA BAR (2026-05-31 overhaul) ----------
   Fixed bottom bar with tap-to-call + WhatsApp. Hidden on desktop
   (the masthead CTA suffices); revealed at the responsive breakpoint
   where --cta-bar-h is also set so body padding reserves the space. */
.cta-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  /* grid columns expand to however many actions rendered (1 or 2). */
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 1px;
  background: color-mix(in srgb, var(--ink) 12%, transparent);
  border-top: 1px solid var(--rule);
  box-shadow: 0 -10px 28px -18px rgba(26, 22, 18, 0.45);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.cta-bar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 12px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--paper);
  background: var(--ink);
  transition: background 160ms;
}
.cta-bar-call { background: var(--ink); }
.cta-bar-wa { background: var(--accent-deep); }
.cta-bar-book { background: var(--accent-deep); }
.cta-bar-btn:active { background: var(--accent); }
.cta-bar-icon {
  font-size: 17px;
  line-height: 1;
}
.cta-bar-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60vw;
}

/* ---------- ACCESSIBILITY ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

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

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  /* Reveal the sticky CTA bar and reserve its height at the page bottom
     so the colophon is never covered. */
  :root { --cta-bar-h: 56px; }
  body { padding-bottom: calc(var(--cta-bar-h) + env(safe-area-inset-bottom, 0px)); }
  .cta-bar { display: grid; }

  .masthead-row { grid-template-columns: auto auto; gap: 16px; }
  .nav { display: none; }
  .masthead-meta { display: none; }

  .hero-wrap { grid-template-columns: 1fr; row-gap: 36px; }
  .hero-title { grid-column: 1; font-size: clamp(36px, 9.5vw, 60px); overflow-wrap: break-word; }
  .hero-body { grid-column: 1; }
  .hero-aside { grid-column: 1; grid-row: 4; }
  .hero-figure img { aspect-ratio: 3 / 2; }
  .hero-meta { grid-row: 5; }
  .hero-meta dl { grid-template-columns: 1fr; gap: 18px; }

  .strip-caption { grid-template-columns: 1fr; gap: 14px; }
  .strip-figure img { height: clamp(280px, 70vw, 480px); }

  .section-head { grid-template-columns: 56px 1fr; column-gap: 18px; }
  /* 2026-05-31 operator review: section titles kept clearly below the mobile
     hero headline (clamp(36,9.5vw,60px)) and consistent across sections. */
  .section-title { font-size: clamp(26px, 6vw, 38px); }

  .service { grid-template-columns: 40px 1fr; }
  .service-meta { grid-column: 2; text-align: left; padding-top: 16px; }
  .service-meta { display: flex; gap: 24px; align-items: baseline; }
  .service-price { font-size: 22px; }

  .manifesto-wrap { grid-template-columns: 1fr; gap: 28px; }
  .manifesto-stats { grid-template-columns: 1fr; gap: 28px; }

  .gallery { grid-template-columns: repeat(6, 1fr); }
  .g-1, .g-4 { grid-column: span 6; aspect-ratio: 4 / 3; }
  .g-2, .g-3 { grid-column: span 3; aspect-ratio: 3 / 4; }
  .g-2 { grid-row: auto; }
  .g-4 { align-self: auto; }

  .proof-line { font-size: clamp(28px, 7vw, 44px); }

  .process { grid-template-columns: 1fr; gap: 32px; }
  .reviews { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .newsletter-wrap { grid-template-columns: 1fr; gap: 28px; }

  .booking-wrap { grid-template-columns: 1fr; }
  /* 2026-05-31 operator review: "Reservar" was clamp(70,22vw,120px) on mobile —
     filled the viewport. Brought into proportion with the mobile hero. */
  .booking-headline { font-size: clamp(40px, 11vw, 60px); }

  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  /* Full-width contact column on phones: keep day left / time right,
     never let the two collide. */
  .hours li { grid-template-columns: 7em minmax(0, 1fr); }

  .colophon-wrap { grid-template-columns: 1fr; gap: 24px; }
  .colophon-meta { text-align: left; }
}

@media (max-width: 480px) {
  .hub-back { font-size: 10px; padding: 8px 10px; }
  .hero-eyebrow { flex-wrap: wrap; }
}
