/* ==========================================================================
   Clean Placas Solares
   ========================================================================== */

:root {
  --ink: #0A0E13;
  --ink-2: #121820;
  --ink-3: #141B24;
  --paper: #EFEBE1;
  --accent: #F4B23A;
  --accent-hi: #FFD27A;
  --muted: rgba(239, 235, 225, .72);
  --faint: rgba(239, 235, 225, .55);
  --line: rgba(239, 235, 225, .1);
  --dirt: #9A7447;

  --f-display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --f-body: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --gutter: clamp(16px, 4.5vw, 64px);
  --section-y: clamp(80px, 11vw, 150px);
  --radius: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 88px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
main, .footer { overflow-x: clip; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); }
h1, h2, h3, p, blockquote, figure, ol, ul, dl, dd { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.display { font-family: var(--f-display); text-transform: uppercase; letter-spacing: -.005em; }
.mono { font-family: var(--f-mono); letter-spacing: .14em; }
.accent { color: var(--accent); }
.ic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px;
  background: var(--accent); color: var(--ink); border-radius: 999px; font-weight: 600;
  transition: top .2s;
}
.skip:focus { top: 16px; color: var(--ink); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, filter .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ic { width: 18px; height: 18px; stroke-width: 2; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--outline-ink { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--lg { min-height: 64px; padding: 0 34px; font-size: 18px; }
.btn--lg .ic { width: 20px; height: 20px; }
.btn--block { width: 100%; }
.btn--glow { box-shadow: 0 18px 50px -12px var(--accent); }
.btn[disabled] { background: rgba(239, 235, 225, .1); color: rgba(239, 235, 225, .4); cursor: not-allowed; transform: none; filter: none; }

.link-underline {
  color: var(--paper); font-weight: 500; font-size: 17px;
  border-bottom: 1px solid rgba(239, 235, 225, .35); padding-bottom: 4px;
  transition: border-color .2s;
}
.link-underline:hover { color: var(--paper); border-color: var(--accent); }

/* ---------- Cabecera ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid rgba(239, 235, 225, .08);
  transition: background .3s, backdrop-filter .3s;
}
.header.is-scrolled { background: rgba(10, 14, 19, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; color: var(--paper); }
.logo:hover { color: var(--paper); }
.logo__mark { width: 34px; height: 34px; transition: transform .5s var(--ease); }
.logo:hover .logo__mark { transform: translateY(-2px) rotate(-6deg); }
.logo__text { display: flex; flex-direction: column; gap: 2px; }
.logo__name { font-family: var(--f-display); font-size: 30px; font-weight: 900; letter-spacing: .06em; line-height: 1; }
.logo__sub { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; color: var(--faint); }

.nav { display: flex; align-items: center; gap: 40px; font-size: 15px; font-weight: 500; }
.nav a { color: rgba(239, 235, 225, .75); transition: color .2s; }
.nav a:hover { color: var(--paper); }
.nav__cta { display: none; }

.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(239, 235, 225, .18); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--paper); border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 5vw, 64px) clamp(96px, 9vw, 120px); margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(40px, 5vw, 64px)); }
.hero__sun {
  position: absolute; right: -120px; top: -160px; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, rgba(10, 14, 19, 0) 62%);
  opacity: .55; animation: sunbreathe 7s ease-in-out infinite; pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(239, 235, 225, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(239, 235, 225, .035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 40px; align-items: center; }
.hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 32px; }

.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .12em; color: rgba(239, 235, 225, .7); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #7BE08A; flex-shrink: 0; animation: pulse 1.8s infinite; }

.hero__title { font-size: clamp(64px, 10.1vw, 146px); font-weight: 900; line-height: .9; }
.hero__title span { display: block; white-space: nowrap; }
.hero__lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); max-width: 540px; text-wrap: pretty; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; }

.hero__visual { position: relative; z-index: 3; justify-self: end; width: min(540px, 100%); padding-bottom: 56px; }

/* Antes / después */
.ba { --tilt: -4deg; position: relative; transform: rotate(var(--tilt)); touch-action: pan-y; }
.ba__frame {
  position: relative; aspect-ratio: 540 / 660; padding: 12px; border-radius: 6px;
  background: linear-gradient(135deg, #E6E9EC 0%, #9BA2AA 40%, #D5D9DD 60%, #7D858E 100%);
  box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1);
  cursor: ew-resize; user-select: none; -webkit-user-select: none;
}
.ba__clean, .ba__dirty { position: absolute; inset: 12px; overflow: hidden; border-radius: 2px; }
.ba__clean {
  background-image:
    linear-gradient(120deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .08) 100%),
    linear-gradient(90deg, rgba(210, 225, 240, .42) 2px, transparent 2px),
    linear-gradient(rgba(210, 225, 240, .42) 2px, transparent 2px),
    linear-gradient(90deg, transparent 49.6%, rgba(210, 225, 240, .14) 49.6%, rgba(210, 225, 240, .14) 50.4%, transparent 50.4%),
    linear-gradient(155deg, #2A5A8C 0%, #0F2A47 38%, #0B1F36 62%, #1D4670 100%);
  background-size: 100% 100%, 16.666% 10%, 16.666% 10%, 16.666% 10%, 100% 100%;
}
.ba__glint {
  position: absolute; top: -20%; left: 0; width: 26%; height: 140%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .35), rgba(255, 255, 255, 0));
  animation: glint 5.5s ease-in-out infinite;
}
.ba__dirty {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
  background-image:
    radial-gradient(ellipse 60% 30% at 30% 100%, rgba(150, 112, 62, .85), rgba(150, 112, 62, 0)),
    radial-gradient(ellipse 50% 40% at 10% 40%, rgba(168, 130, 80, .55), rgba(168, 130, 80, 0)),
    linear-gradient(180deg, rgba(140, 108, 66, .35), rgba(122, 92, 52, .7)),
    linear-gradient(90deg, rgba(210, 225, 240, .25) 2px, transparent 2px),
    linear-gradient(rgba(210, 225, 240, .25) 2px, transparent 2px),
    linear-gradient(155deg, #3E4F5C 0%, #26323B 50%, #33414B 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 16.666% 10%, 16.666% 10%, 100% 100%;
}
.ba__dirty svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba__tag { position: absolute; top: 30px; padding: 6px 10px; background: rgba(10, 14, 19, .75); border-radius: 4px; font-size: 12px; pointer-events: none; }
.ba__tag--before { left: 30px; color: #E9C99A; }
.ba__tag--after { right: 30px; color: #9FE3FF; }
.ba__handle {
  position: absolute; top: 12px; bottom: 12px; left: calc(12px + (100% - 24px) * var(--split-n, .55));
  width: 3px; margin-left: -1.5px; background: var(--accent); box-shadow: 0 0 24px var(--accent); pointer-events: none;
}
.ba__knob {
  position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: transform .2s var(--ease);
}
.ba__knob .ic { width: 26px; height: 26px; stroke-width: 2.2; }
.ba.is-dragging .ba__knob { transform: scale(1.12); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; pointer-events: none; }
.ba:has(.ba__range:focus-visible) .ba__knob { outline: 3px solid var(--paper); outline-offset: 3px; }

.output {
  position: absolute; left: -96px; bottom: 0; width: 250px; padding: 20px 22px; border-radius: 14px;
  background: var(--paper); color: var(--ink); transform: rotate(0deg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  display: flex; flex-direction: column; gap: 6px; pointer-events: none;
}
.output__label { font-size: 11px; color: rgba(10, 14, 19, .55); }
.output__value { font-size: 72px; font-weight: 900; line-height: .9; }
.output__bar { height: 6px; border-radius: 3px; background: rgba(10, 14, 19, .12); overflow: hidden; }
.output__bar span { display: block; height: 100%; background: var(--ink); transition: width .15s; }
.output__hint { font-size: 12px; color: rgba(10, 14, 19, .6); }

/* ---------- Marquesina ---------- */
.marquee {
  position: relative; z-index: 4; height: 96px; margin-inline: -20px; overflow: hidden;
  display: flex; align-items: center; background: var(--accent); color: var(--ink); transform: rotate(-1.2deg);
}
.marquee__track {
  display: flex; align-items: center; gap: 48px; padding-left: 48px; white-space: nowrap;
  font-size: 52px; font-weight: 900; letter-spacing: .02em; animation: marquee 28s linear infinite;
}
.marquee__track i { width: 14px; height: 14px; background: var(--ink); transform: rotate(45deg); flex-shrink: 0; }

/* ---------- Secciones ---------- */
.section { padding-block: var(--section-y); }
.section-head { display: flex; flex-direction: column; gap: 20px; }
.kicker { font-size: 13px; letter-spacing: .16em; }
.h2 { font-size: clamp(52px, 6.4vw, 92px); font-weight: 800; line-height: .92; text-wrap: balance; }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 32px 40px; flex-wrap: wrap; }
.split-head__text { max-width: 420px; font-size: 19px; }

/* ---------- Calculadora ---------- */
.calc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5.5vw, 80px); align-items: start; }
.calc__controls { display: flex; flex-direction: column; gap: 44px; }
.field-group { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-group legend, .field-group label { font-size: 17px; color: rgba(239, 235, 225, .75); padding: 0; margin-bottom: 14px; }
.field-group__row { display: flex; justify-content: space-between; align-items: baseline; }
.field-group__row label { margin: 0; }
.calc__count { font-size: 48px; font-weight: 800; line-height: 1; }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; --fill: 17%; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--fill), rgba(239, 235, 225, .16) var(--fill)); }
.range::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(239, 235, 225, .16); }
.range::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: var(--paper); border: 6px solid var(--ink); box-shadow: 0 0 0 2px var(--paper); transition: transform .15s; }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 6px solid var(--ink); box-shadow: 0 0 0 2px var(--paper); }
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--paper), 0 0 0 6px var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(239, 235, 225, .22);
  background: transparent; color: var(--paper); font-weight: 500; font-size: 15px; cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.chip:hover { border-color: rgba(239, 235, 225, .6); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }

.calc__result {
  position: relative; overflow: hidden; border-radius: 24px; padding: clamp(28px, 3.4vw, 48px);
  background: linear-gradient(160deg, var(--ink-3) 0%, #0E141B 100%); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 36px;
}
.calc__result > * { position: relative; }
.calc__result-grid { position: absolute !important; inset: 0; pointer-events: none; background-image: linear-gradient(90deg, rgba(239, 235, 225, .04) 1px, transparent 1px), linear-gradient(rgba(239, 235, 225, .04) 1px, transparent 1px); background-size: 48px 36px; }
.calc__main { display: flex; flex-direction: column; gap: 8px; }
.calc__label { font-size: 13px; color: var(--faint); }
.calc__euros { font-size: clamp(80px, 10.4vw, 150px); font-weight: 900; line-height: .85; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc__kwh { font-size: 19px; color: rgba(239, 235, 225, .75); }
.calc__bar-wrap { display: flex; flex-direction: column; gap: 12px; }
.calc__bar { height: 44px; border-radius: 8px; overflow: hidden; display: flex; background: rgba(239, 235, 225, .06); }
.calc__keep { background: linear-gradient(90deg, #1D4670, #2A5A8C); display: flex; align-items: center; padding-left: 16px; white-space: nowrap; transition: width .5s var(--ease); }
.calc__keep span { font-size: 12px; color: #CFE6FF; letter-spacing: .08em; }
.calc__loss { background: repeating-linear-gradient(-45deg, var(--dirt) 0 6px, #6E5230 6px 12px); transition: width .5s var(--ease); }
.calc__loss-label { align-self: flex-end; font-size: 12px; color: #D9B27E; }
.calc__cta { display: flex; align-items: center; justify-content: space-between; gap: 20px 24px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.calc__cta p { font-size: 17px; line-height: 1.45; color: rgba(239, 235, 225, .8); max-width: 300px; }
.calc__note { font-size: 11px; line-height: 1.6; letter-spacing: .04em; color: rgba(239, 235, 225, .4); }

/* ---------- Proceso ---------- */
.process { background: var(--paper); color: var(--ink); }
.process .kicker { color: rgba(10, 14, 19, .55); }
.process .split-head__text { color: rgba(10, 14, 19, .7); }
.process .split-head { margin-bottom: clamp(48px, 5.5vw, 80px); }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.step { padding: 36px 40px 0; display: flex; flex-direction: column; gap: 22px; border-left: 1px solid rgba(10, 14, 19, .18); }
.step:first-child { padding-left: 0; border-left: 0; }
.step:last-child { padding-right: 0; }
.step__top { display: flex; justify-content: space-between; align-items: start; }
.step__num { font-size: clamp(88px, 8.3vw, 120px); font-weight: 900; line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--ink); transition: color .4s; }
.step:hover .step__num { color: var(--ink); }
.step__icon { width: 40px; height: 40px; stroke-width: 2; }
.step h3 { font-size: 26px; font-weight: 600; }
.step p { font-size: 17px; line-height: 1.55; color: rgba(10, 14, 19, .7); }

/* ---------- Planes ---------- */
.plans .split-head { margin-bottom: 64px; }
.segmented { display: flex; padding: 6px; gap: 4px; border-radius: 999px; background: rgba(239, 235, 225, .08); max-width: 100%; }
.segmented button {
  min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: transparent;
  color: rgba(239, 235, 225, .75); font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s, color .2s;
}
.segmented button[aria-selected="true"] { background: var(--paper); color: var(--ink); }
.plans__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.plans__grid:not([hidden]) { animation: fadeup .45s var(--ease) both; }
.plan {
  position: relative; border-radius: var(--radius); padding: 40px 36px; min-height: 480px;
  background: var(--ink-2); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 28px; transition: transform .25s var(--ease), border-color .25s;
}
.plan:hover { transform: translateY(-6px); border-color: rgba(239, 235, 225, .25); }
.plan--featured { background: var(--accent); color: var(--ink); border-color: var(--accent); transform: translateY(-12px); }
.plan--featured:hover { transform: translateY(-18px); border-color: var(--accent); }
.plan__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 26px; }
.plan__top .mono { font-size: 12px; opacity: .7; }
.plan__badge { font-size: 11px !important; letter-spacing: .1em; padding: 5px 10px; border-radius: 999px; border: 1px solid currentColor; opacity: 1 !important; }
.plan__name { display: flex; flex-direction: column; gap: 6px; }
.plan__name h3 { font-size: clamp(38px, 3.6vw, 52px); font-weight: 800; line-height: 1; }
.plan__name p { font-size: 16px; opacity: .75; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.plan__price .display { font-size: clamp(48px, 4.4vw, 64px); font-weight: 900; line-height: 1; }
.plan__price { row-gap: 2px; }
.plan__from { flex-basis: 100%; font-size: 11px; letter-spacing: .16em; opacity: .65; }
.plan__unit { font-size: 15px; opacity: .7; }
.plan__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; flex-grow: 1; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; }
.plan__list li::before {
  content: ""; width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4 10.5 4 4 8-9' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4 10.5 4 4 8-9' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan__btn {
  min-height: 52px; border-radius: 999px; border: 1.5px solid currentColor; background: transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s, color .2s;
}
.plan__btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.plan--featured .plan__btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.plan--featured .plan__btn:hover { background: transparent; color: var(--ink); }

/* ---------- Opiniones ---------- */
.reviews .split-head { margin-bottom: clamp(40px, 5vw, 64px); }
.reviews__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.review-card { display: flex; }
.review-card figure {
  position: relative; overflow: hidden; margin: 0; width: 100%; display: flex; flex-direction: column; gap: 24px;
  padding: 30px 28px 28px; border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--ink-3) 0%, #0E141B 100%);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.review-card figure::after {
  content: ""; position: absolute; right: -120px; bottom: -140px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 178, 58, .16), rgba(10, 14, 19, 0) 65%); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none;
}
.review-card:hover figure { transform: translateY(-6px); border-color: rgba(244, 178, 58, .45); }
.review-card:hover figure::after { opacity: 1; }
.review-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.review-card__stars { display: flex; gap: 3px; }
.review-card__stars svg { width: 16px; height: 16px; fill: var(--accent); }
.review-card__mark { font-size: 88px; font-weight: 900; line-height: .7; height: 40px; color: var(--accent); }
.review-card blockquote { margin: 0; flex-grow: 1; font-size: 17px; line-height: 1.6; color: rgba(239, 235, 225, .88); text-wrap: pretty; }
.review-card__author { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.review-card__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--ink); font-size: 18px; font-weight: 900;
}
.review-card__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.review-card__who strong { font-size: 16px; font-weight: 600; }
.review-card__who span { font-size: 13px; color: var(--faint); }

/* ---------- WhatsApp ---------- */
.whatsapp {
  position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); z-index: 60;
  height: 64px; min-width: 64px; padding: 0 18px; border-radius: 999px; display: flex; align-items: center; gap: 0;
  background: var(--accent); color: var(--ink); font-weight: 600; font-size: 16px;
  box-shadow: 0 16px 40px -10px rgba(244, 178, 58, .6), 0 6px 18px rgba(0, 0, 0, .35);
  transition: transform .2s var(--ease), gap .3s var(--ease), padding .3s var(--ease), box-shadow .2s;
  animation: waIn .6s 1.2s var(--ease) both;
}
.whatsapp::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(244, 178, 58, .55);
  animation: waPulse 2.6s 2s ease-out infinite; pointer-events: none;
}
.whatsapp:hover { color: var(--ink); transform: translateY(-3px); gap: 10px; padding-right: 24px; }
.whatsapp svg { width: 28px; height: 28px; flex-shrink: 0; }
.whatsapp__bubble { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }
.whatsapp__phone { fill: currentColor; }
.whatsapp__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s var(--ease); }
.whatsapp:hover .whatsapp__label, .whatsapp:focus-visible .whatsapp__label { max-width: 120px; }
.whatsapp:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; }

/* ---------- CTA final ---------- */
.final { position: relative; overflow: hidden; padding-block: clamp(80px, 8.5vw, 120px); background: var(--accent); color: var(--ink); }
.final__sun { position: absolute; left: -140px; bottom: -220px; width: 620px; height: 620px; stroke-width: 14; opacity: .14; animation: spin 60s linear infinite; }
.final__inner { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5.5vw, 80px); align-items: center; }
.final__copy { display: flex; flex-direction: column; gap: 24px; }
.final__title { font-size: clamp(64px, 7.8vw, 112px); font-weight: 900; line-height: .88; }
.final__copy p { font-size: 20px; max-width: 460px; }
.final__card { background: var(--paper); border-radius: 24px; padding: clamp(24px, 3vw, 44px); box-shadow: 0 40px 80px -30px rgba(10, 14, 19, .55); min-height: 470px; display: flex; flex-direction: column; justify-content: center; }

.quote-form { display: flex; flex-direction: column; gap: 18px; }
.quote-form h3 { font-size: 40px; font-weight: 800; line-height: 1; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; min-width: 0; }
.form-field input {
  width: 100%; height: 56px; border-radius: 10px; border: 1px solid rgba(10, 14, 19, .2); background: #fff;
  padding: 0 16px; font: 500 17px var(--f-body); color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s;
  -moz-appearance: textfield;
}
.form-field input::-webkit-outer-spin-button, .form-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.form-field input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10, 14, 19, .12); }
.form-error { display: none; font-size: 13px; font-weight: 500; color: #B3261E; }
.form-field.is-invalid input { border-color: #B3261E; box-shadow: 0 0 0 3px rgba(179, 38, 30, .12); }
.form-field.is-invalid .form-error { display: block; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; accent-color: var(--ink); }
.check a { color: var(--ink); text-decoration: underline; }
.check.is-invalid span { color: #B3261E; }
.form-note { font-size: 13px; color: rgba(10, 14, 19, .55); }

.quote-done { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; animation: fadeup .5s var(--ease) both; }
.quote-done__icon { width: 88px; height: 88px; border-radius: 50%; background: var(--ink); color: var(--accent); display: flex; align-items: center; justify-content: center; animation: pop .6s var(--ease) both; }
.quote-done__icon .ic { width: 44px; height: 44px; stroke-width: 2.6; }
.quote-done h3 { font-size: 64px; font-weight: 900; line-height: .9; outline: none; }
.quote-done p { font-size: 19px; color: rgba(10, 14, 19, .75); }

/* ---------- Pie ---------- */
.footer { padding-block: 48px; font-size: 15px; color: rgba(239, 235, 225, .6); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.footer__legal { display: flex; flex-direction: column; gap: 4px; }
.footer__credit { font-size: 13px; color: rgba(239, 235, 225, .45); }
.footer__credit strong { font-weight: 600; color: rgba(239, 235, 225, .8); }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__logo { font-size: 26px; font-weight: 900; letter-spacing: .06em; color: var(--paper); }
.footer__links { display: flex; gap: 12px 40px; flex-wrap: wrap; }
.footer__links a { color: inherit; }
.footer__links a:hover { color: var(--paper); }

/* ---------- Reserva ---------- */
.booking {
  width: min(440px, 100vw); height: min(844px, 100dvh); max-width: 100vw; max-height: 100dvh;
  padding: 0; border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
  background: var(--ink); color: var(--paper);
  box-shadow: 0 50px 120px -20px rgba(0, 0, 0, .9);
}
.booking[open] { display: flex; flex-direction: column; animation: dialogin .4s var(--ease) both; }
.booking::backdrop { background: rgba(5, 7, 10, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.booking__sun { position: absolute; right: -160px; top: -200px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 178, 58, .45), rgba(10, 14, 19, 0) 65%); pointer-events: none; }
.booking__top { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 20px 16px 0; }
.booking__brand { display: flex; align-items: center; gap: 8px; }
.booking__logo { font-size: 21px; font-weight: 900; letter-spacing: .04em; white-space: nowrap; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(239, 235, 225, .16); background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity .2s, background .2s; }
.icon-btn:hover { background: rgba(239, 235, 225, .06); }
.icon-btn .ic { width: 22px; height: 22px; }
.icon-btn[data-hidden="true"] { opacity: 0; pointer-events: none; }
.booking__progress { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 16px 16px 0; }
.booking__progress i { height: 4px; border-radius: 2px; background: rgba(239, 235, 225, .14); transition: background .3s; }
.booking__progress i.is-on { background: var(--accent); }
.booking__body { position: relative; flex: 1; overflow-y: auto; padding: 28px 16px 16px; }
.booking__footer { position: relative; padding: 16px 16px max(24px, env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(10, 14, 19, 0), var(--ink) 30%); }

.bk-step { display: flex; flex-direction: column; gap: 24px; animation: slidein .35s var(--ease) both; }
.bk-step.is-back { animation-name: slideback; }
.bk-title { font-size: 52px; font-weight: 900; line-height: .92; outline: none; }
.bk-label { font-size: 15px; color: rgba(239, 235, 225, .7); margin-bottom: -12px; }
.bk-label.mono { font-size: 12px; color: var(--faint); }
.bk-note { font-size: 14px; color: var(--faint); }

.bk-options, .bk-list { display: flex; flex-direction: column; gap: 10px; }
.bk-option {
  min-height: 76px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid rgba(239, 235, 225, .14);
  background: rgba(239, 235, 225, .02); display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  transition: border-color .15s, background .15s, transform .12s;
}
.bk-option:active, .bk-row:active, .bk-day:active, .bk-slot:active { transform: scale(.98); }
.bk-option__icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(239, 235, 225, .07); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bk-option__icon .ic { width: 24px; height: 24px; }
.bk-option__text { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.bk-option__text strong { font-size: 17px; font-weight: 600; }
.bk-option__text span { font-size: 14px; color: rgba(239, 235, 225, .6); }
.bk-option__check { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgba(239, 235, 225, .14); color: var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bk-option__check .ic { width: 16px; height: 16px; stroke-width: 3; opacity: 0; }
.bk-option[aria-checked="true"] { border-color: var(--accent); background: rgba(244, 178, 58, .1); }
.bk-option[aria-checked="true"] .bk-option__check { background: var(--accent); border-color: var(--accent); }
.bk-option[aria-checked="true"] .bk-option__check .ic { opacity: 1; }

.stepper { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-radius: 20px; background: var(--ink-2); border: 1px solid rgba(239, 235, 225, .08); }
.stepper__btn { width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid rgba(239, 235, 225, .25); background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.stepper__btn .ic { width: 26px; height: 26px; stroke-width: 2.4; }
.stepper__btn--accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.stepper__value { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.stepper__value input {
  width: 150px; background: transparent; border: 0; text-align: center; color: var(--accent);
  font-size: 112px; font-weight: 900; line-height: .85; padding: 0; outline: none; -moz-appearance: textfield;
}
.stepper__value input::-webkit-outer-spin-button, .stepper__value input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__value .mono { font-size: 12px; color: var(--faint); }

.bk-row {
  min-height: 56px; padding: 0 16px; border-radius: 14px; border: 1.5px solid rgba(239, 235, 225, .14); background: rgba(239, 235, 225, .02);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 500; text-align: left; cursor: pointer;
  transition: border-color .15s, background .15s, transform .12s;
}
.bk-row i { width: 12px; height: 12px; border-radius: 50%; background: rgba(239, 235, 225, .18); flex-shrink: 0; }
.bk-row[aria-checked="true"] { border-color: var(--accent); background: rgba(244, 178, 58, .1); }
.bk-row[aria-checked="true"] i { background: var(--accent); }

.bk-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.bk-day, .bk-slot {
  border-radius: 14px; border: 1.5px solid rgba(239, 235, 225, .14); background: rgba(239, 235, 225, .02); cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, transform .12s;
}
.bk-day { height: 88px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0; }
.bk-day span { font-size: 13px; font-weight: 500; text-transform: capitalize; }
.bk-day strong { font-family: var(--f-display); font-size: 34px; font-weight: 800; line-height: 1; }
.bk-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bk-slot { min-height: 72px; padding: 0 16px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 2px; }
.bk-slot strong { font-size: 16px; font-weight: 600; }
.bk-slot span { font-size: 13px; opacity: .7; }
.bk-day[aria-checked="true"], .bk-slot[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }

.bk-summary { border-radius: 20px 20px 0 0; background: var(--ink-2); border: 1px solid rgba(239, 235, 225, .08); border-bottom: 0; padding: 4px 18px; margin-bottom: -24px; }
.bk-summary div { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(239, 235, 225, .07); }
.bk-summary dt { font-size: 15px; color: rgba(239, 235, 225, .6); }
.bk-summary dd { font-size: 16px; font-weight: 600; text-align: right; }
.bk-price { min-height: 68px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-radius: 0 0 20px 20px; background: var(--ink-2); border: 1px solid rgba(239, 235, 225, .08); border-top: 0; }
.bk-price span:first-child { font-size: 15px; color: rgba(239, 235, 225, .6); }
.bk-price .display { font-size: 34px; font-weight: 900; }
.form-field--dark { color: rgba(239, 235, 225, .8); }
.form-field--dark input { background: var(--ink-2); border-color: rgba(239, 235, 225, .18); color: var(--paper); border-radius: 12px; }
.form-field--dark input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(244, 178, 58, .18); }
.form-field--dark .form-error { color: #FF8A7A; }
.form-field--dark.is-invalid input { border-color: #FF8A7A; box-shadow: none; }

.bk-done { align-items: center; text-align: center; gap: 20px; padding-top: 32px; }
.bk-done__art { position: relative; width: 180px; height: 180px; display: flex; align-items: center; justify-content: center; }
.bk-done__rays { position: absolute; inset: 0; width: 180px; height: 180px; color: var(--accent); stroke-width: 5; animation: spin 18s linear infinite; }
.bk-done__check { width: 104px; height: 104px; border-radius: 50%; background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; animation: pop .6s var(--ease) both; }
.bk-done__check .ic { width: 52px; height: 52px; stroke-width: 2.8; }
.bk-done .bk-title { font-size: 60px; }
.bk-done__when { font-size: 14px; letter-spacing: .08em; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(239, 235, 225, .2); text-transform: uppercase; }
.bk-done p { max-width: 300px; font-size: 17px; color: var(--muted); }

/* ---------- Páginas interiores ---------- */
.nav a[aria-current="page"] { color: var(--paper); box-shadow: inset 0 -2px 0 var(--accent); padding-bottom: 6px; }
.footer__brand { color: var(--paper); }
.footer__brand:hover { color: var(--paper); }
.footer__nav { display: flex; gap: 12px 28px; flex-wrap: wrap; }
.footer__nav a { color: var(--paper); }
.footer__nav a:hover { color: var(--accent); }

.page-hero { position: relative; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(56px, 7vw, 96px)); padding-bottom: clamp(72px, 8.5vw, 120px); }
.page-hero__glow { position: absolute; right: -200px; top: -240px; width: 820px; height: 820px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 178, 58, .55) 0%, rgba(10, 14, 19, 0) 62%); animation: sunbreathe 7s ease-in-out infinite; pointer-events: none; }
.page-hero__glow--left { right: auto; left: -240px; top: -300px; width: 760px; height: 760px; background: radial-gradient(circle, rgba(244, 178, 58, .4) 0%, rgba(10, 14, 19, 0) 62%); }
.page-hero__lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); max-width: 600px; text-wrap: pretty; }

.about-hero__inner { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.about-hero__copy { grid-column: span 7; display: flex; flex-direction: column; gap: 32px; }
.about-hero__title { font-size: clamp(52px, 13.5vw, 132px); font-weight: 900; line-height: .88; }
.emblem { grid-column: 9 / span 4; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.emblem__ring { position: relative; width: min(360px, 100%); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(239, 235, 225, .14); display: flex; align-items: center; justify-content: center; }
.emblem__ring::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; border: 1px dashed rgba(239, 235, 225, .18); animation: spin 60s linear infinite; }
.emblem__ring img { width: 56%; height: auto; transform: rotate(-4deg); transition: transform .6s var(--ease); }
.emblem:hover .emblem__ring img { transform: rotate(-10deg) scale(1.04); }
.emblem__coords { display: flex; gap: 20px; font-size: 13px; color: var(--faint); }

.principles { background: var(--paper); color: var(--ink); }
.principles .kicker { color: rgba(10, 14, 19, .55); }
.principles .split-head { margin-bottom: clamp(48px, 5vw, 72px); }
.principles .split-head__text { color: rgba(10, 14, 19, .7); }
.principles__grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.principle { padding-top: 36px; border-top: 2px solid var(--ink); display: flex; flex-direction: column; gap: 20px; }
.principle__top { display: flex; justify-content: space-between; align-items: center; }
.principle__top .mono { font-size: 13px; color: rgba(10, 14, 19, .55); }
.principle__top .ic { width: 40px; height: 40px; stroke-width: 2; }
.principle h3 { font-size: clamp(40px, 3.4vw, 48px); font-weight: 800; line-height: .95; }
.principle p { font-size: 18px; line-height: 1.55; color: rgba(10, 14, 19, .72); max-width: 360px; }

.zone { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.zone__copy { grid-column: span 5; display: flex; flex-direction: column; gap: 28px; }
.zone__text { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 460px; }
.town-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.town-list li { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(239, 235, 225, .18); display: flex; align-items: center; font-size: 14px; }
.zone__map { grid-column: 7 / span 6; aspect-ratio: 720 / 600; }

.map-card { position: relative; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, var(--ink-3), #0E141B); border: 1px solid var(--line); }
.map { display: block; width: 100%; height: 100%; }
.map__river { fill: none; stroke: var(--blue, #2A5A8C); stroke-width: 5; stroke-linecap: round; opacity: .9; }
.map__ring { fill: none; stroke: rgba(239, 235, 225, .18); stroke-dasharray: 4 7; }
.map__km { fill: rgba(239, 235, 225, .4); font-family: var(--f-mono); font-size: 11px; }
.map__town circle { fill: var(--paper); }
.map__town text { fill: rgba(239, 235, 225, .75); font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; }
.map__town--main circle { fill: var(--accent); }
.map__town--main .map__halo { fill: var(--accent); opacity: .18; transform-box: fill-box; transform-origin: center; animation: halo 2.8s ease-out infinite; }
.map__town--main text { fill: var(--paper); font-size: 15px; }

.cta-wrap { padding-bottom: var(--section-y); }
.cta-band { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 72px); border-radius: 32px; background: var(--accent); color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 32px 40px; flex-wrap: wrap; }
.cta-band__mark { position: absolute; right: 26%; top: -60px; width: 320px; height: 320px; opacity: .12; transform: rotate(-12deg); pointer-events: none; }
.cta-band__copy { position: relative; display: flex; flex-direction: column; gap: 16px; }
.cta-band h2 { font-size: clamp(46px, 12vw, 96px); font-weight: 900; line-height: .9; }
.cta-band p { font-size: 20px; max-width: 520px; }
.cta-band .btn { position: relative; }

.contact-hero__inner { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; }
.contact-hero__copy { display: flex; flex-direction: column; gap: 28px; }
.contact-hero__title { font-size: clamp(64px, 20vw, 188px); font-weight: 900; line-height: .84; }
.contact-hero .page-hero__lead { max-width: 460px; margin-bottom: 18px; }
.contact-hero { padding-bottom: clamp(40px, 5vw, 72px); }

.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; padding-bottom: var(--section-y); }
.contact-card { grid-column: span 7; padding: clamp(24px, 3.4vw, 48px); border-radius: 28px; background: linear-gradient(160deg, var(--ink-3), #0E141B); border: 1px solid var(--line); }
.contact-form { display: flex; flex-direction: column; gap: 28px; }
.contact-form__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; }
.contact-form__head h2 { font-size: 48px; font-weight: 800; line-height: 1; }
.contact-form__head .mono { font-size: 12px; color: var(--faint); }
.contact-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-form .form-field span em { font-style: normal; font-weight: 400; color: var(--faint); }
.contact-form .form-field input { height: 58px; background: var(--ink); }
.contact-form textarea {
  width: 100%; min-height: 140px; resize: vertical; border-radius: 12px; border: 1px solid rgba(239, 235, 225, .18); background: var(--ink);
  padding: 16px; font: 400 17px/1.5 var(--f-body); color: var(--paper); outline: none; transition: border-color .15s, box-shadow .15s;
}
.contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(244, 178, 58, .18); }
.contact-form__types { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-form__types legend { padding: 0; margin-bottom: 12px; font-size: 14px; font-weight: 600; color: rgba(239, 235, 225, .85); }
.chip-radio { position: relative; cursor: pointer; }
.chip-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-radio span { min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(239, 235, 225, .22); display: flex; align-items: center; font-size: 15px; font-weight: 500; transition: background .15s, border-color .15s, color .15s; }
.chip-radio:hover span { border-color: rgba(239, 235, 225, .6); }
.chip-radio input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.chip-radio input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.contact-form__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px 24px; flex-wrap: wrap; }
.check--dark { color: var(--muted); align-items: center; }
.check--dark a { color: var(--paper); }
.check--dark input { accent-color: var(--accent); }
.check--dark.is-invalid span { color: #FF8A7A; }
.quote-done--dark { padding: 24px 0; }
.quote-done--dark .quote-done__icon { background: var(--accent); color: var(--ink); }
.quote-done--dark p { color: var(--muted); }
.btn--outline-paper { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px rgba(239, 235, 225, .5); }

.contact-aside { grid-column: span 5; display: flex; flex-direction: column; gap: 16px; }
.channel {
  display: flex; flex-direction: column; gap: 20px; padding: 28px; border-radius: 22px; min-width: 0;
  background: var(--ink-2); color: var(--paper); border: 1px solid var(--line); transition: transform .2s var(--ease), border-color .2s;
}
.channel:hover { color: var(--paper); transform: translateY(-4px); border-color: rgba(239, 235, 225, .3); }
.channel__top { display: flex; justify-content: space-between; align-items: center; }
.channel__top .mono { font-size: 12px; opacity: .7; }
.channel__icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(239, 235, 225, .08); color: var(--accent); flex-shrink: 0; }
.channel__icon svg { width: 22px; height: 22px; }
.channel__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.channel__title { font-size: clamp(28px, 2.6vw, 38px); font-weight: 800; line-height: 1; }
.channel__sub { font-size: 15px; opacity: .72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.channel__action { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.channel__action .ic { width: 16px; height: 16px; stroke-width: 2; transition: transform .2s var(--ease); }
.channel:hover .channel__action .ic { transform: translateX(4px); }
.channel--wa { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.channel--wa:hover { color: var(--ink); border-color: var(--accent); }
.channel--wa .channel__icon { background: var(--ink); width: 56px; height: 56px; }
.channel--wa .channel__icon svg { width: 26px; height: 26px; }
.channel-pair { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; }
.zone-card { height: 330px; border-radius: 22px; }
.zone-card__label { position: absolute; left: 24px; bottom: 22px; display: flex; flex-direction: column; gap: 4px; }
.zone-card__label .mono { font-size: 12px; }
.zone-card__label .display { font-size: 34px; font-weight: 800; line-height: 1; }
.zone-card__hours { position: absolute; right: 22px; top: 20px; font-size: 12px; color: var(--faint); }

/* ---------- Textos legales ---------- */
.footer__legal-links { display: flex; gap: 6px 16px; flex-wrap: wrap; font-size: 13px; }
.footer__legal-links a { color: rgba(239, 235, 225, .6); }
.footer__legal-links a:hover { color: var(--paper); }
.bk-legal { font-size: 13px; line-height: 1.5; color: var(--faint); margin-top: -8px; }
.bk-legal a { color: var(--paper); text-decoration: underline; }

.legal-hero { padding-bottom: clamp(48px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.legal-hero__inner { position: relative; display: flex; flex-direction: column; gap: 24px; }
.legal-hero__title { font-size: clamp(56px, 9vw, 128px); font-weight: 900; line-height: .88; }
.legal-hero__date { font-size: 12px; color: var(--faint); }

.legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding-block: clamp(56px, 6vw, 96px) var(--section-y); }
.legal__toc { grid-column: span 3; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; display: flex; flex-direction: column; gap: 16px; }
.legal__toc > .mono { font-size: 12px; color: var(--faint); }
.legal__toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.legal__toc ol a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 15px; color: rgba(239, 235, 225, .65); transition: color .2s, border-color .2s; }
.legal__toc ol a:hover, .legal__toc ol a.is-active { color: var(--paper); border-color: var(--accent); }
.legal__switch { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.legal__switch a { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(239, 235, 225, .18); display: flex; align-items: center; font-size: 14px; color: var(--paper); }
.legal__switch a:hover { border-color: rgba(239, 235, 225, .5); color: var(--paper); }
.legal__switch a[aria-current="page"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }

.legal__content { grid-column: 5 / span 7; display: flex; flex-direction: column; gap: 56px; }
.legal__section { display: flex; flex-direction: column; gap: 18px; scroll-margin-top: calc(var(--header-h) + 24px); }
.legal__section h2 { font-size: clamp(34px, 3.2vw, 44px); font-weight: 800; line-height: 1; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.legal__section p, .legal__section li { font-size: 17px; line-height: 1.7; color: rgba(239, 235, 225, .78); text-wrap: pretty; }
.legal__section strong { color: var(--paper); font-weight: 600; }
.legal__section ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.legal__section ul li { position: relative; padding-left: 22px; }
.legal__section ul li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.legal__section a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal__data { margin: 0; border-radius: 20px; border: 1px solid var(--line); background: var(--ink-2); padding: 6px 24px; }
.legal__data div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(239, 235, 225, .07); }
.legal__data div:last-child { border-bottom: 0; }
.legal__data dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); padding-top: 3px; }
.legal__data dd { margin: 0; font-size: 16px; color: var(--paper); overflow-wrap: anywhere; }
.legal__table { overflow-x: auto; border-radius: 20px; border: 1px solid var(--line); }
.legal__table table { width: 100%; min-width: 620px; border-collapse: collapse; }
.legal__table th, .legal__table td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(239, 235, 225, .07); font-size: 15px; line-height: 1.55; }
.legal__table th { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); background: var(--ink-2); }
.legal__table td { color: rgba(239, 235, 225, .8); }
.legal__table tr:last-child td { border-bottom: 0; }

/* ---------- Galería ---------- */
.gallery-hero { padding-bottom: clamp(40px, 4vw, 56px); }
.gallery-hero__inner { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; }
.gallery-hero__copy { display: flex; flex-direction: column; gap: 28px; }
.gallery-hero__title { font-size: clamp(76px, 10.4vw, 150px); font-weight: 900; line-height: .86; }
.gallery-hero .page-hero__lead { max-width: 470px; margin-bottom: 14px; }

.gallery { padding-bottom: var(--section-y); display: flex; flex-direction: column; gap: 28px; }
.gallery__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.gallery__bar .chip { display: inline-flex; align-items: center; gap: 10px; }
.gallery__bar .chip .mono { font-size: 11px; letter-spacing: .06em; opacity: .6; }
.gallery__note { font-size: 12px; color: var(--faint); }
.gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 16px; }
.gallery__item { min-width: 0; }
.gallery__item[hidden] { display: none !important; }
.gallery__item--c4 { grid-column: span 4; }
.gallery__item--c6 { grid-column: span 6; }
.gallery__item--c8 { grid-column: span 8; }
.gallery__item--r2 { grid-row: span 2; }
.gallery__item--r3 { grid-row: span 3; }
.gallery__item.is-in { animation: fadeup .45s var(--ease) both; }
.gallery__tile {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; background: var(--ink-3); cursor: zoom-in; text-align: left; color: var(--paper);
}
.gallery__tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease), filter .6s var(--ease); }
.gallery__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 19, 0) 45%, rgba(10, 14, 19, .85) 100%); pointer-events: none; }
.gallery__tile:hover img { transform: scale(1.05); filter: saturate(1.1); }
.gallery__tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.gallery__tag { position: absolute; z-index: 1; left: 18px; top: 16px; padding: 6px 10px; border-radius: 999px; background: rgba(10, 14, 19, .7); font-size: 11px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gallery__caption { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.gallery__title { font-size: 24px; font-weight: 800; line-height: 1; }
.gallery__item--r3 .gallery__title { font-size: clamp(26px, 2.4vw, 34px); }
.gallery__zoom { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; transform: scale(.85); opacity: .9; transition: transform .3s var(--ease), opacity .3s; }
.gallery__zoom .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.gallery__tile:hover .gallery__zoom { transform: scale(1); opacity: 1; }

.lightbox {
  width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; padding: clamp(16px, 3vw, 40px); border: 0;
  background: rgba(5, 7, 10, .94); color: var(--paper); overflow: hidden;
}
.lightbox[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; animation: fadeup .3s var(--ease) both; }
.lightbox::backdrop { background: transparent; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; max-height: 100%; min-width: 0; }
.lightbox__figure img { max-width: 100%; max-height: calc(100dvh - 180px); border-radius: 16px; object-fit: contain; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); }
.lightbox__figure figcaption { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.lightbox__figure figcaption .mono { font-size: 12px; }
.lightbox__figure figcaption .display { font-size: clamp(26px, 3vw, 40px); font-weight: 800; line-height: 1; }
.lightbox__count { color: var(--faint); }
.lightbox__close { position: absolute; top: clamp(16px, 3vw, 28px); right: clamp(16px, 3vw, 28px); z-index: 1; }
.lightbox .icon-btn { width: 52px; height: 52px; background: rgba(239, 235, 225, .06); }
.lightbox .icon-btn:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* ---------- Galería en portada ---------- */
.home-gallery .split-head { margin-bottom: clamp(40px, 5vw, 64px); }
.home-gallery__side { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 420px; }
.home-gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 16px; }
.home-gallery__item { grid-column: span 4; min-width: 0; }
.home-gallery__item.hg--big { grid-column: span 7; grid-row: span 2; }
.home-gallery__item.hg--wide { grid-column: span 5; }
.home-gallery .gallery__tile { cursor: zoom-in; }
.home-gallery .hg--big .gallery__title { font-size: clamp(28px, 2.6vw, 38px); }

/* ---------- Animaciones ---------- */
.rise { animation: rise .9s var(--d, 0s) var(--ease) both; }
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes glint { 0% { transform: translateX(-160%) skewX(-18deg); } 55%, 100% { transform: translateX(420%) skewX(-18deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes sunbreathe { 0%, 100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.08); opacity: .8; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes slidein { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes slideback { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes waIn { from { opacity: 0; transform: translateY(20px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(244, 178, 58, .55); } 70%, 100% { box-shadow: 0 0 0 18px rgba(244, 178, 58, 0); } }
@keyframes halo { 0% { transform: scale(.6); opacity: .35; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes dialogin { from { opacity: 0; transform: translateY(30px) scale(.98); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 28px; }
  .reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .output { left: -40px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 76px; }
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 28px; background: rgba(10, 14, 19, .97); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { font-family: var(--f-display); text-transform: uppercase; font-size: 34px; font-weight: 800; color: var(--paper); padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { display: inline-flex; margin-top: 20px; min-height: 56px; font-size: 17px; }
  .header.menu-open { background: rgba(10, 14, 19, .97); }

  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .hero__visual { justify-self: center; width: min(480px, 100%); }
  .output { left: auto; right: -12px; bottom: 0; width: 220px; }
  .output__value { font-size: 60px; }
  .hero__sun { width: 640px; height: 640px; right: -260px; top: -120px; }

  .calc { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .step, .step:first-child, .step:last-child { padding: 32px 0; border-left: 0; border-top: 2px solid var(--ink); }
  .step__top { order: 0; }
  .plans__grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .plan { min-height: 0; }
  .plan--featured, .plan--featured:hover, .plan:hover { transform: none; }
  .reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final__inner { grid-template-columns: minmax(0, 1fr); }
  .final__card { min-height: 0; }
  .about-hero__copy, .emblem, .zone__copy, .zone__map, .contact-card, .contact-aside { grid-column: 1 / -1; }
  .emblem { flex-direction: row; justify-content: flex-start; gap: 24px; }
  .emblem__ring { width: 160px; }
  .principles__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .principle { padding-block: 32px; }
  .cta-band__mark { right: -60px; }
  .home-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .home-gallery__item, .home-gallery__item.hg--wide { grid-column: span 1; }
  .home-gallery__item.hg--big { grid-column: span 2; grid-row: span 2; }
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 240px; }
  .gallery__item--c4, .gallery__item--c6 { grid-column: span 1; }
  .gallery__item--c8 { grid-column: span 2; }
  .gallery__item--r2, .gallery__item--r3 { grid-row: span 1; }
  .gallery__item--c8.gallery__item--r3 { grid-row: span 2; }
  .legal__toc { grid-column: 1 / -1; position: static; }
  .legal__toc ol, .legal__toc > .mono { display: none; }
  .legal__switch { margin-top: 0; }
  .legal__content { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo__name { font-size: 26px; }
  .logo__mark { width: 30px; height: 30px; }
  .eyebrow { font-size: 11px; letter-spacing: .08em; }
  .hero__title { font-size: clamp(56px, 17.5vw, 96px); }
  .hero__actions .btn { width: 100%; }
  .ba { --tilt: -2deg; }
  .ba__tag { top: 22px; font-size: 11px; }
  .ba__tag--before { left: 22px; }
  .ba__tag--after { right: 22px; }
  .output { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 24px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
  .output__value { font-size: 52px; }
  .output__label { width: 100%; }
  .output__bar { flex: 1; min-width: 80px; }
  .output__hint { width: 100%; }
  .hero__visual { padding-bottom: 0; }
  .marquee { height: 72px; }
  .marquee__track { font-size: 38px; gap: 32px; padding-left: 32px; }
  .marquee__track i { width: 10px; height: 10px; }
  .calc__controls { gap: 36px; }
  .calc__euros { font-size: clamp(64px, 20vw, 110px); }
  .calc__cta .btn { width: 100%; }
  .segmented { width: 100%; }
  .segmented button { flex: 1; padding: 0 12px; font-size: 14px; }
  .plan { padding: 32px 24px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .booking { width: 100vw; height: 100dvh; border-radius: 0; border: 0; }
  .whatsapp { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); height: 58px; min-width: 58px; padding: 0 15px; }
  .reviews__grid {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 16px; scroll-padding-inline: var(--gutter);
  }
  .reviews__grid::-webkit-scrollbar { display: none; }
  .review-card { flex: 0 0 86%; scroll-snap-align: start; }
  .review-card:hover figure { transform: none; }
  .bk-title { font-size: 46px; }
  .emblem { flex-direction: column; align-items: flex-start; }
  .emblem__coords { font-size: 12px; }
  .zone__map { aspect-ratio: 1 / 1; }
  .contact-form__row, .channel-pair { grid-template-columns: minmax(0, 1fr); }
  .contact-form__foot .btn { width: 100%; }
  .channel__title { font-size: 32px; }
  .cta-band .btn { width: 100%; }
  .footer__nav { order: -1; }
  /* Zonas táctiles cómodas en móvil */
  .footer__nav a, .footer__links a, .footer__legal-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer__nav, .footer__links { gap: 0 20px; }
  .footer__legal-links { gap: 0 16px; }
  .link-underline { display: inline-flex; align-items: center; min-height: 44px; padding-bottom: 0; }
  .check { min-height: 44px; align-items: center; }
  .legal__data dd a { display: inline-flex; align-items: center; min-height: 44px; }
  .logo__sub { font-size: 11px; letter-spacing: .14em; }
  .footer__brand { min-height: 44px; }
  .check a { display: inline-block; padding-block: 6px; }
  .plan__name h3 { font-size: clamp(38px, 12vw, 52px); overflow-wrap: anywhere; }
  .home-gallery__grid {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter);
  }
  .home-gallery__grid::-webkit-scrollbar { display: none; }
  .home-gallery__item, .home-gallery__item.hg--big, .home-gallery__item.hg--wide { flex: 0 0 82%; height: 300px; scroll-snap-align: start; }
  .home-gallery__side .btn { width: 100%; }
  .gallery__grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 260px; gap: 12px; }
  .gallery__item--c4, .gallery__item--c6, .gallery__item--c8 { grid-column: span 1; }
  .gallery__item--c8.gallery__item--r3 { grid-row: span 1; }
  .gallery__bar .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .gallery__bar .chip { flex-shrink: 0; }
  .lightbox[open] { grid-template-columns: minmax(0, 1fr); }
  .lightbox__nav { position: absolute; bottom: 24px; z-index: 1; }
  .lightbox__nav--prev { left: 24px; }
  .lightbox__nav--next { right: 24px; }
  .lightbox__figure img { max-height: calc(100dvh - 260px); }
  .legal__data { padding: 4px 18px; }
  .legal__data div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .legal__section p, .legal__section li { font-size: 16px; }
}
