:root {
  --ink: #07161d;
  --ink-2: #0b2029;
  --ink-3: #12303a;
  --petrol: #102b34;
  --petrol-2: #153640;
  --petrol-3: #0d252e;
  --paper: #f4f0df;
  --paper-2: #e9e3cf;
  --white: #fffdf5;
  --blue: #18a9df;
  --blue-deep: #087aa8;
  --gold: #e5aa25;
  --muted: #abc0c5;
  --line: rgba(244, 240, 223, .16);
  --dark-line: rgba(7, 22, 29, .16);
  --mono: "IBM Plex Mono", monospace;
  --display: "Barlow", sans-serif;
  --body: "Mulish", sans-serif;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--body); overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--gold); color: var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--gold); }

.mono { font-family: var(--mono); }
.section { padding: clamp(5.5rem, 10vw, 10rem) var(--pad); }
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; background: transparent; z-index: 500; }
.scroll-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--gold), var(--blue)); box-shadow: 0 0 14px rgba(24, 169, 223, .5); }

.site-header {
  position: fixed; top: 3px; left: 0; right: 0; z-index: 200;
  height: 92px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid transparent; transition: background .35s ease, border-color .35s ease, height .35s ease;
}
.site-header.scrolled { height: 76px; background: rgba(7, 22, 29, .88); border-color: var(--line); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; z-index: 3; }
.brand-mark { width: 55px; height: 55px; object-fit: contain; }
.brand-copy { display: grid; line-height: .88; letter-spacing: .12em; font-family: var(--display); }
.brand-copy strong { font-size: 1.05rem; font-weight: 800; }
.brand-copy small { margin-top: .3rem; font-size: .62rem; color: var(--gold); font-family: var(--mono); letter-spacing: .34em; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); }
.site-nav a { font-family: var(--mono); font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; text-decoration: none; color: rgba(244, 240, 223, .72); transition: color .2s; }
.site-nav a:hover { color: var(--white); }
.site-nav .nav-cta { padding: .82rem 1.1rem; border: 1px solid rgba(229, 170, 37, .65); color: var(--gold); }
.site-nav .nav-cta:hover { background: var(--gold); color: var(--ink); }
.sound-toggle { margin-left: auto; margin-right: 1.2rem; min-height: 38px; display: inline-flex; align-items: center; gap: .65rem; padding: .55rem .75rem; color: var(--muted); border: 1px solid var(--line); background: rgba(7,22,29,.35); font-family: var(--mono); font-size: .53rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.sound-toggle:hover, .sound-toggle.playing { color: var(--gold); border-color: rgba(229,170,37,.5); background: rgba(229,170,37,.06); }
.sound-icon { width: 16px; height: 13px; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.sound-icon i { width: 2px; height: 4px; display: block; background: currentColor; transform-origin: bottom; }
.sound-icon i:nth-child(2) { height: 9px; }
.sound-icon i:nth-child(3) { height: 6px; }
.sound-toggle.playing .sound-icon i { animation: soundWave .75s ease-in-out infinite alternate; }
.sound-toggle.playing .sound-icon i:nth-child(2) { animation-delay: -.32s; }
.sound-toggle.playing .sound-icon i:nth-child(3) { animation-delay: -.16s; }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 0; background: transparent; border: 1px solid var(--line); position: relative; z-index: 4; }
.nav-toggle span { position: absolute; width: 18px; height: 1px; left: 11px; background: var(--paper); transition: transform .25s ease; }
.nav-toggle span:first-child { transform: translateY(-4px); }
.nav-toggle span:last-child { transform: translateY(4px); }
.nav-toggle.open span:first-child { transform: rotate(45deg); }
.nav-toggle.open span:last-child { transform: rotate(-45deg); }

.hero { position: relative; min-height: 790px; height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-image { position: absolute; inset: 0; z-index: -4; background: var(--img-hero, url("assets/hero-santiago-close-tourist-v7.png")) 50% center / cover no-repeat; transform: scale(1.04); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background: linear-gradient(90deg, rgba(7, 22, 29, .68) 0%, rgba(7, 22, 29, .62) 37%, rgba(7, 22, 29, .22) 70%, rgba(7, 22, 29, .3) 100%), linear-gradient(0deg, rgba(7, 22, 29, .86) 0%, transparent 38%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 75% 48%, rgba(24, 169, 223, .15), transparent 28%), linear-gradient(180deg, transparent 70%, var(--ink) 100%); mix-blend-mode: screen; }
.hero-grid, .break-grid { position: absolute; inset: 0; z-index: -1; opacity: .22; background-image: linear-gradient(rgba(244, 240, 223, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 240, 223, .14) 1px, transparent 1px); background-size: 7.5vw 7.5vw; mask-image: linear-gradient(90deg, #000, transparent 68%); }
.hero-content { width: min(760px, 64vw); padding-left: var(--pad); padding-top: 5rem; }
.eyebrow, .section-kicker { margin: 0 0 1.45rem; color: var(--gold); font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: .8rem; opacity: 0; animation: rise .65s .2s ease forwards; }
.eyebrow i { width: 4px; height: 4px; background: var(--blue); border-radius: 50%; }
.hero h1, .section h2, .break-copy h2 { font-family: var(--display); text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(4rem, 7.2vw, 7.4rem); line-height: .79; letter-spacing: -.045em; font-weight: 700; opacity: 0; animation: rise .8s .32s ease forwards; }
.hero h1 em { color: var(--gold); font-style: normal; font-weight: 500; }
.hero-lead { max-width: 630px; margin: 2rem 0 0; color: rgba(244, 240, 223, .76); line-height: 1.75; font-size: clamp(.92rem, 1.3vw, 1.08rem); opacity: 0; animation: rise .7s .5s ease forwards; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2.2rem; opacity: 0; animation: rise .7s .65s ease forwards; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; padding: .9rem 1.2rem; border: 1px solid transparent; border-radius: var(--radius); font-family: var(--mono); font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: var(--ink); font-weight: 500; }
.button-primary:hover { background: #f1bf4a; }
.button-ghost { border-color: var(--line); background: rgba(7, 22, 29, .28); color: var(--paper); backdrop-filter: blur(10px); }
.button-ghost:hover { border-color: var(--blue); }
.hero-panel { position: absolute; right: var(--pad); bottom: 7.5rem; width: min(310px, 28vw); padding: 1.35rem; border: 1px solid var(--line); background: rgba(7, 22, 29, .5); backdrop-filter: blur(12px); }
.hero-panel > span { display: block; margin-bottom: .85rem; color: var(--blue); font-size: .56rem; letter-spacing: .12em; }
.hero-panel strong { font-family: var(--display); font-size: 1.45rem; line-height: 1.05; text-transform: uppercase; }
.panel-line { display: flex; align-items: center; gap: .6rem; margin-top: 1.1rem; }
.panel-line span { flex: 1; height: 2px; background: linear-gradient(90deg, var(--gold), var(--blue)); }
.panel-line i { color: var(--muted); font-family: var(--mono); font-style: normal; font-size: .55rem; }
.hero-status, .hero-coordinates { position: absolute; font-size: .55rem; letter-spacing: .11em; color: rgba(244, 240, 223, .58); }
.hero-status { top: 125px; left: var(--pad); }
.status-dot { display: inline-block; width: 5px; height: 5px; margin-right: .55rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: pulse 1.8s infinite; }
.hero-coordinates { top: 125px; right: var(--pad); text-align: right; line-height: 1.75; }
.hero-corner { position: absolute; width: 22px; height: 22px; opacity: .42; border-color: var(--gold); border-style: solid; }
.corner-tl { left: 2rem; top: 9.6rem; border-width: 1px 0 0 1px; }
.corner-tr { right: 2rem; top: 9.6rem; border-width: 1px 1px 0 0; }
.corner-bl { left: 2rem; bottom: 2rem; border-width: 0 0 1px 1px; }
.corner-br { right: 2rem; bottom: 2rem; border-width: 0 1px 1px 0; }
.scroll-cue { position: absolute; left: 50%; bottom: 2.4rem; transform: translateX(-50%); display: flex; align-items: center; gap: .65rem; color: rgba(244, 240, 223, .52); font-size: .54rem; letter-spacing: .15em; text-decoration: none; }
.scroll-cue span { width: 27px; height: 27px; border: 1px solid rgba(244, 240, 223, .35); border-radius: 50%; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; width: 5px; height: 5px; left: 10px; top: 8px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: rotate(45deg); animation: nudge 1.7s infinite; }

.ticker { overflow: hidden; padding: .95rem 0; color: var(--ink); background: var(--gold); border-block: 1px solid rgba(7, 22, 29, .2); }
.ticker-track { display: flex; align-items: center; gap: 1.7rem; width: max-content; animation: ticker 32s linear infinite; font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; }
.ticker-track b { color: var(--blue-deep); font-size: .65rem; }

.manifesto { display: grid; grid-template-columns: .55fr 2fr 1fr; gap: 2rem; background: var(--petrol); color: var(--paper); }
.manifesto .section-index { color: var(--blue); }
.section-index { font-size: .58rem; letter-spacing: .15em; color: var(--blue-deep); }
.section-kicker { color: var(--gold); }
.manifesto h2, .section-heading h2, .studio-copy h2, .contact-intro h2 { margin: 0; font-size: clamp(2.7rem, 5.1vw, 5.8rem); line-height: .9; letter-spacing: -.038em; font-weight: 600; hyphens: auto; overflow-wrap: break-word; }
.manifesto h2 span, .section-heading h2 span, .studio-copy h2 span, .contact-intro h2 span { color: var(--blue); font-weight: 500; }
.manifesto-aside { padding-top: 3rem; }
.manifesto-aside p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.75; }
.manifesto-aside p.manifesto-puente { margin-top: 1.15rem; color: rgba(244, 240, 223, .9); }
.text-link { display: flex; justify-content: space-between; margin-top: 2.2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.text-link + .text-link { margin-top: 0; }
.text-link span { color: var(--gold); }
.manifesto-stats { grid-column: 2 / 4; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.manifesto-stats article { padding: 2rem 1.5rem 2rem 0; }
.manifesto-stats article + article { border-left: 1px solid var(--line); padding-left: 2rem; }
.manifesto-stats strong { display: block; color: var(--gold); font-family: var(--display); font-size: clamp(2.4rem, 5vw, 5rem); font-weight: 600; line-height: 1; }
.manifesto-stats span { display: block; margin-top: .55rem; font-size: .76rem; color: var(--muted); }

.projects { background: var(--ink); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .7fr); align-items: end; gap: 4rem; margin-bottom: 4rem; }
.section-heading .section-index { display: block; margin-bottom: 2.3rem; color: var(--blue); }
.section-heading .section-kicker { margin-bottom: 1.25rem; }
.section-heading > p { margin: 0 0 .45rem; color: var(--muted); font-size: .92rem; line-height: 1.75; }
.section-heading h2 span { color: var(--gold); }
.project-grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: repeat(2, minmax(300px, 35vw)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.project-card { position: relative; overflow: hidden; min-height: 380px; background: var(--ink-2); }
.project-featured { grid-row: 1 / 3; }
.project-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.67) contrast(1.04); transition: transform .8s cubic-bezier(.2,.75,.2,1), filter .6s ease; }
.project-card:hover img { transform: scale(1.045); filter: saturate(.95) contrast(1.02); }
.project-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,22,29,.05), rgba(7,22,29,.82)); transition: background .3s; }
.project-card:hover .project-shade { background: linear-gradient(180deg, rgba(7,22,29,.03), rgba(7,22,29,.69)); }
.project-number { position: absolute; top: 1.3rem; right: 1.3rem; color: var(--paper); font-size: .7rem; letter-spacing: .14em; padding: .45rem .55rem; border: 1px solid rgba(255,255,255,.28); background: rgba(7,22,29,.28); backdrop-filter: blur(8px); }
.project-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.4rem, 3vw, 2.6rem); }
.project-copy p { margin: 0 0 .85rem; color: var(--gold); font-size: .54rem; letter-spacing: .14em; }
.project-copy h3 { margin: 0; font-family: var(--display); font-size: clamp(2.3rem, 4.8vw, 5.7rem); line-height: .82; letter-spacing: -.035em; text-transform: uppercase; }
.project-card:not(.project-featured) .project-copy h3 { font-size: clamp(2rem, 3.4vw, 4rem); }
.project-link { display: inline-block; margin-top: 1.4rem; padding-bottom: .35rem; border-bottom: 1px solid rgba(244, 240, 223, .45); font-family: var(--mono); font-size: .57rem; letter-spacing: .08em; text-transform: uppercase; }
.concept-note { margin: 1rem 0 0; text-align: right; color: rgba(171, 192, 197, .62); font-size: .5rem; letter-spacing: .09em; }

.services { color: var(--paper); background: var(--petrol-2); }
.services .section-heading .section-index { color: var(--blue); }
.services .section-heading h2 span { color: var(--gold); }
.services .section-heading > p { color: var(--muted); }
.services-list { border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 60px 64px 1fr auto; align-items: center; gap: 1.5rem; min-height: 128px; border-bottom: 1px solid var(--line); transition: padding .25s ease, background .25s ease; }
.service-item:hover { padding-inline: 1rem; background: rgba(255,255,255,.045); }
.service-num { color: rgba(171,192,197,.72); font-size: .55rem; letter-spacing: .13em; }
.service-icon { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--blue); font-family: var(--display); font-size: .92rem; font-weight: 700; }
.service-item h3 { margin: 0 0 .35rem; font-family: var(--display); font-size: clamp(1.3rem, 2.3vw, 2rem); text-transform: uppercase; }
.service-item p { margin: 0; color: var(--muted); font-size: .8rem; }
.service-arrow { width: 42px; height: 42px; display: grid; place-items: center; color: var(--gold); border: 1px solid var(--line); transition: background .2s, color .2s; }
.service-item:hover .service-arrow { background: var(--gold); color: var(--ink); }

/* PROYECTOS PROPIOS — tarjetas que abren el trabajo en una pestaña nueva */
.proyectos { background: var(--ink); }
.proy-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(400px, 100%), 1fr)); gap: 1.6rem; }
.proy-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--petrol-2); color: inherit; text-decoration: none; transition: border-color .3s ease, transform .3s ease; }
.proy-card:hover { border-color: rgba(229,170,37,.55); transform: translateY(-4px); }
.proy-visual { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--petrol-2); }
.proy-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .8s ease; }
.proy-card:hover .proy-visual img { transform: scale(1); }
.proy-tipo { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; padding: .22rem .55rem; font-size: .55rem; letter-spacing: .13em; color: var(--gold); background: rgba(7,22,29,.78); border: 1px solid rgba(229,170,37,.28); }
.proy-copy { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.proy-copy h3 { margin: 0 0 .6rem; font-family: var(--display); font-size: clamp(1.15rem, 1.9vw, 1.55rem); text-transform: uppercase; }
.proy-copy > p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.7; }
.proy-copy > p.proy-credito { margin-top: .95rem; padding-top: .85rem; border-top: 1px solid var(--line); color: rgba(229,170,37,.82); font-size: .58rem; letter-spacing: .09em; line-height: 1.65; text-transform: uppercase; }
.proy-copy .project-link { margin-top: auto; padding-top: 1.3rem; color: var(--gold); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.proy-vacio { color: var(--muted); font-size: .8rem; letter-spacing: .08em; }
@media (min-width: 1700px) { .proy-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .proy-copy { padding: 1.2rem; } }

.immersive-break { position: relative; min-height: 740px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.break-image { position: absolute; inset: 0; z-index: -4; background: url("assets/roman-theatre.jpg") center / cover no-repeat; }
.break-overlay { position: absolute; inset: 0; z-index: -3; background: linear-gradient(90deg, rgba(7,22,29,.94), rgba(7,22,29,.58) 58%, rgba(7,22,29,.25)), linear-gradient(0deg, var(--ink), transparent 22%); }
.break-grid { z-index: -2; mask-image: linear-gradient(90deg, #000, transparent 80%); }
.break-copy { margin-left: var(--pad); max-width: 740px; }
.break-copy > span { color: var(--blue); font-size: .57rem; letter-spacing: .16em; }
.break-copy h2 { margin: 1.5rem 0; font-size: clamp(3.8rem, 7vw, 7.6rem); line-height: .8; letter-spacing: -.045em; }
.break-copy h2 em { color: var(--gold); font-style: normal; font-weight: 500; }
.break-copy p { max-width: 470px; color: var(--muted); line-height: 1.7; }
.break-hud { position: absolute; right: var(--pad); bottom: 3rem; padding: .8rem 1rem; border: 1px solid var(--line); background: rgba(7,22,29,.4); color: var(--muted); font-size: .54rem; letter-spacing: .1em; backdrop-filter: blur(10px); }
.break-hud span { color: var(--gold); margin-inline: .7rem; letter-spacing: .05em; }

.method { background: var(--ink-2); }
.method-track { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.method-step { position: relative; min-height: 320px; padding: 2rem 1.8rem; counter-increment: steps; }
.method-step + .method-step { border-left: 1px solid var(--line); }
.method-step::before { content: ""; position: absolute; left: -4px; top: 3rem; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px rgba(229,170,37,.5); }
.method-step:first-child::before { left: 1.8rem; top: auto; bottom: 1.8rem; }
.method-step > span { color: var(--blue); font-size: .55rem; letter-spacing: .13em; }
.method-step h3 { margin: 4.4rem 0 1rem; font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; }
.method-step p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.method-step::after { content: attr(data-step); position: absolute; right: 1rem; bottom: .2rem; color: rgba(244,240,223,.025); font-family: var(--display); font-size: 7rem; font-weight: 800; }

.studio { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; background: var(--petrol-3); color: var(--paper); }
.studio-visual { position: relative; min-height: 670px; }
.studio-visual > img { width: 100%; height: 670px; object-fit: cover; object-position: 50% 46%; filter: saturate(.72) contrast(1.04); }
.studio-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,22,29,.8), transparent 45%); }
.studio-visual > span { position: absolute; z-index: 2; left: 1.5rem; bottom: 1.5rem; color: var(--paper); font-size: .55rem; line-height: 1.7; letter-spacing: .13em; }
.studio-badge { position: absolute; z-index: 3; right: -3.2rem; top: 2.7rem; display: flex; align-items: center; gap: .75rem; background: transparent; border: 0; filter: drop-shadow(0 5px 16px rgba(0,0,0,.55)); }
.studio-badge img { width: 86px; height: 86px; object-fit: contain; }
.studio-badge > span { display: grid; line-height: .84; font-family: var(--display); letter-spacing: .12em; text-shadow: 0 2px 12px rgba(0,0,0,.8); }
.studio-badge strong { color: var(--white); font-size: 1.25rem; font-weight: 800; }
.studio-badge small { margin-top: .38rem; color: var(--gold); font-family: var(--mono); font-size: .58rem; letter-spacing: .36em; }
.studio-copy .section-index { display: block; margin-bottom: 4rem; color: var(--blue); }
.studio-copy h2 { font-size: clamp(2.7rem, 4.7vw, 5.1rem); }
.studio-copy > p:not(.section-kicker) { margin: 2rem 0; color: var(--muted); font-size: .9rem; line-height: 1.8; }
.studio-copy ul { list-style: none; padding: 0; margin: 0 0 2.3rem; border-top: 1px solid var(--line); }
.studio-copy li { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .77rem; }
.studio-copy li::before { content: "+"; color: var(--gold); margin-right: .9rem; font-family: var(--mono); }

.contact { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(4rem, 10vw, 10rem); background: var(--ink-3); }
.contact-intro h2 span { color: var(--gold); }
.contact-intro > p:not(.section-kicker) { max-width: 500px; margin-top: 2rem; color: var(--muted); font-size: .9rem; line-height: 1.75; }
.contact-intro .section-index { display: block; margin-bottom: 4rem; color: var(--blue); }
.contact-meta { display: flex; gap: 2rem; margin-top: 3rem; color: var(--blue); font-size: .54rem; letter-spacing: .12em; }
.contact-form { display: grid; gap: 1.3rem; align-content: center; }
.contact-form label { display: grid; gap: .55rem; }
.contact-form label > span { color: var(--muted); font-family: var(--mono); font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: .9rem 0; color: var(--paper); border: 0; border-bottom: 1px solid rgba(244,240,223,.27); border-radius: 0; outline: 0; background: transparent; font-family: var(--body); font-size: .82rem; transition: border-color .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form select option { background: var(--ink-3); }
.contact-form textarea { resize: vertical; }
.form-submit { margin-top: .8rem; width: 100%; border: 0; }
.form-note { margin: -.5rem 0 0; color: rgba(171,192,197,.54); text-align: right; font-size: .7rem; letter-spacing: .1em; }

.site-footer { padding: 3.5rem var(--pad) 1.5rem; background: #041015; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 72px; height: 72px; object-fit: contain; }
.footer-brand div { display: grid; gap: .35rem; }
.footer-brand strong { font-family: var(--display); font-size: 1.35rem; letter-spacing: .08em; }
.footer-brand span { color: var(--muted); font-size: .68rem; }
.footer-links { display: flex; gap: 2rem; justify-content: flex-end; margin-top: -2.2rem; }
.footer-links a { color: var(--muted); font-family: var(--mono); font-size: .57rem; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: rgba(171,192,197,.56); font-size: .49rem; letter-spacing: .1em; }
.footer-bottom a { text-decoration: none; }
.toast { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 400; max-width: 360px; padding: 1rem 1.2rem; color: var(--ink); background: var(--gold); box-shadow: 0 18px 50px rgba(0,0,0,.25); font-size: .72rem; line-height: 1.5; transform: translateY(160%); transition: transform .35s ease; }
.toast.show { transform: translateY(0); }

@media (min-width: 981px) {
  .hero-content {
    width: min(720px, 48vw);
    margin-left: clamp(20rem, 27vw, 32rem);
    padding-left: 0;
  }
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes rise { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 50% { opacity: .38; transform: scale(.8); } }
@keyframes nudge { 50% { transform: translateY(4px) rotate(45deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes soundWave { from { transform: scaleY(.45); } to { transform: scaleY(1.15); } }

@media (max-width: 980px) {
  .site-header { height: 78px; }
  .brand-mark { width: 46px; height: 46px; }
  .sound-toggle { margin-left: auto; margin-right: .6rem; padding: .55rem .65rem; }
  .sound-label { display: none; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 0; padding: 8rem var(--pad) 3rem; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; background: rgba(7,22,29,.98); transform: translateX(100%); transition: transform .35s ease; }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { padding: 1.15rem 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 1.7rem; letter-spacing: 0; }
  .site-nav .nav-cta { margin-top: 1.4rem; padding: 1rem; text-align: center; border: 1px solid var(--gold); font-family: var(--mono); font-size: .65rem; }
  .hero { min-height: 720px; }
  .hero-content { width: min(700px, 88vw); }
  .hero-panel { display: none; }
  .hero-coordinates { display: none; }
  .manifesto { grid-template-columns: 1fr 3fr; }
  .manifesto-aside { grid-column: 2; padding-top: 0; }
  .manifesto-stats { grid-column: 1 / 3; }
  .section-heading { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .section-heading > p { max-width: 620px; }
  .method-track { grid-template-columns: repeat(2, 1fr); }
  .method-step:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .method-step:nth-child(4) { border-top: 1px solid var(--line); }
  .studio { grid-template-columns: 1fr; }
  .studio-visual { width: 80%; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  :root { --pad: 1.2rem; }
  .brand-copy strong { font-size: .92rem; }
  .brand-copy small { font-size: .55rem; }
  .hero { min-height: 720px; align-items: flex-end; padding-bottom: 7.2rem; }
  .hero-image { background-position: 72% center; }
  .hero::before { background: linear-gradient(90deg, rgba(7,22,29,.96), rgba(7,22,29,.45)), linear-gradient(0deg, rgba(7,22,29,.96), transparent 62%); }
  .hero-content { width: 100%; padding: 0 var(--pad); }
  .hero h1 { font-size: clamp(3.45rem, 15.5vw, 5.3rem); }
  .hero-lead { font-size: .82rem; line-height: 1.62; }
  .hero-status { top: 102px; left: var(--pad); }
  .hero-corner { display: none; }
  .scroll-cue { display: none; }
  .hero-actions .button { flex: 1; min-width: 150px; gap: .5rem; }
  .section { padding-block: 5.2rem; }
  .manifesto { grid-template-columns: 1fr; }
  .manifesto-copy, .manifesto-aside, .manifesto-stats { grid-column: 1; }
  .manifesto h2, .section-heading h2, .studio-copy h2, .contact-intro h2 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .manifesto-stats { grid-template-columns: 1fr; }
  .manifesto-stats article + article { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .manifesto-stats strong { font-size: 3.8rem; }
  .project-grid { display: block; border: 0; background: transparent; }
  .project-card { min-height: 470px; margin-bottom: 1px; }
  .project-featured { min-height: 560px; }
  .project-copy h3, .project-card:not(.project-featured) .project-copy h3 { font-size: 3.2rem; }
  .concept-note { text-align: left; line-height: 1.6; }
  .service-item { grid-template-columns: 34px 46px 1fr; gap: .8rem; min-height: 118px; }
  .service-icon { width: 42px; height: 42px; }
  .service-arrow { display: none; }
  .service-item p { font-size: .7rem; line-height: 1.4; }
  .immersive-break { min-height: 650px; }
  .break-copy h2 { font-size: clamp(3.5rem, 15vw, 5.2rem); }
  .break-hud { left: var(--pad); right: auto; bottom: 1.5rem; }
  .method-track { grid-template-columns: 1fr; }
  .method-step { min-height: 255px; }
  .method-step + .method-step { border-left: 0; border-top: 1px solid var(--line); }
  .method-step::before { left: 1.8rem; top: auto; bottom: 1.8rem; }
  .method-step h3 { margin-top: 3rem; }
  .studio-visual { width: calc(100% - 1rem); min-height: 500px; }
  .studio-visual > img { height: 500px; }
  .studio-badge { right: -.7rem; top: 1.2rem; gap: .4rem; }
  .studio-badge img { width: 62px; height: 62px; }
  .studio-badge strong { font-size: .88rem; }
  .studio-badge small { font-size: .45rem; }
  .contact-meta { flex-direction: column; gap: .7rem; }
  .footer-brand { align-items: flex-start; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; margin-top: 2rem; }
  .footer-bottom { display: grid; }
}

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

/* ===== Fundos temáticos por seção (imagens com blur + véu petróleo) ===== */
.manifesto, .services, .method, .studio, .contact { position: relative; isolation: isolate; overflow: hidden; }
.manifesto::before, .services::before, .method::before, .studio::before, .contact::before {
  content: ""; position: absolute; inset: -24px; z-index: -2; pointer-events: none;
  background-size: cover; background-repeat: no-repeat;
  filter: blur(4px) saturate(.7) brightness(.8); transform: scale(1.03);
}
.manifesto::after, .services::after, .method::after, .studio::after, .contact::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.manifesto::before { background-image: var(--img-manifiesto, url("assets/catedral-ourense-wide.jpg")); background-position: 50% 40%; opacity: .62; }
.manifesto::after { background: linear-gradient(90deg, rgba(16,43,52,.94) 0%, rgba(16,43,52,.78) 45%, rgba(16,43,52,.4) 100%), linear-gradient(0deg, rgba(16,43,52,.92), transparent 32%), linear-gradient(180deg, rgba(16,43,52,.7), transparent 25%); }
.services::before { background-image: url("assets/hero-monument.jpg"); background-position: 50% 30%; opacity: .58; }
.services::after { background: linear-gradient(180deg, rgba(21,54,64,.9) 0%, rgba(21,54,64,.66) 50%, rgba(21,54,64,.9) 100%), radial-gradient(circle at 85% 20%, rgba(24,169,223,.14), transparent 40%); }
.method::before { background-image: url("assets/reference-santiago-facade.jpg"); background-position: 50% 55%; opacity: .55; }
.method::after { background: linear-gradient(180deg, rgba(11,32,41,.92), rgba(11,32,41,.7) 55%, rgba(11,32,41,.94)); }
.studio::before { background-image: url("assets/heritage-detail.jpg"); background-position: 50% 50%; opacity: .55; }
.studio::after { background: linear-gradient(270deg, rgba(13,37,46,.94) 0%, rgba(13,37,46,.72) 50%, rgba(13,37,46,.45) 100%), linear-gradient(0deg, rgba(13,37,46,.92), transparent 30%); }
.contact::before { background-image: var(--img-contacto, url("assets/catedral-ourense.jpg")); background-position: 50% 60%; opacity: .58; }
.contact::after { background: linear-gradient(0deg, rgba(18,48,58,.95) 0%, rgba(18,48,58,.7) 50%, rgba(18,48,58,.86) 100%), radial-gradient(circle at 15% 30%, rgba(229,170,37,.1), transparent 45%); }
.manifesto > *, .services > *, .method > *, .studio > *, .contact > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .manifesto::before, .services::before, .method::before, .studio::before, .contact::before { transition: opacity .6s ease; }
}
@media (max-width: 700px) {
  .manifesto::before, .services::before, .method::before, .studio::before, .contact::before { filter: blur(3px) saturate(.7) brightness(.75); }
}

/* Formulário: estados */
.toast.error { background: #c9553d; color: var(--white); }
.form-submit:disabled { opacity: .7; cursor: wait; transform: none; }


/* ===== Experiencias, fichas, reservas, tienda, legal (2026-09-07) ===== */
.anchor-legacy { position: absolute; }
.env-badge { margin-left: 1rem; padding: .35rem .55rem; border: 1px solid rgba(229,170,37,.6); color: var(--gold); font-size: .5rem; letter-spacing: .16em; }
.site-nav a.active { color: var(--white); box-shadow: inset 0 -1px 0 var(--gold); padding-bottom: .2rem; }

/* Cabecera de páginas interiores */
.page-head { padding-top: calc(92px + clamp(3.5rem, 8vw, 6rem)); padding-bottom: clamp(2rem, 4vw, 3.5rem); background: var(--ink); }
.page-head .section-index { display: block; margin-bottom: 1.6rem; color: var(--blue); }
.page-title { margin: 0; font-family: var(--display); text-transform: uppercase; font-size: clamp(2.7rem, 6vw, 6.4rem); line-height: .88; letter-spacing: -.04em; font-weight: 600; }
.page-title span { color: var(--gold); font-weight: 500; }
.page-lead { max-width: 640px; margin: 1.8rem 0 0; color: var(--muted); line-height: 1.75; font-size: .95rem; }
.aviso-test { display: inline-block; margin-top: 1.6rem; padding: .6rem .8rem; border: 1px dashed rgba(229,170,37,.6); color: var(--gold); font-size: .55rem; letter-spacing: .12em; line-height: 1.6; }
.filtro { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.2rem; }
.filtro a { padding: .6rem .9rem; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; transition: color .2s, border-color .2s; }
.filtro a:hover { color: var(--white); border-color: var(--blue); }
.filtro a.active { color: var(--ink); background: var(--gold); border-color: var(--gold); }

/* Líneas */
.linea-block { background: var(--ink); border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.linea-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem 4rem; align-items: end; margin-bottom: 2rem; }
.linea-num { display: block; margin-bottom: 1rem; color: var(--blue); font-size: .56rem; letter-spacing: .16em; }
.linea-head h2, .linea-head h3 { margin: 0; font-family: var(--display); text-transform: uppercase; font-size: clamp(1.9rem, 3.6vw, 3.4rem); line-height: .92; letter-spacing: -.03em; font-weight: 600; }
.linea-sub { margin: .9rem 0 0; color: var(--gold); font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.linea-texto { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.75; }
.linea-side .text-link { margin-top: 1.2rem; }
.linea-home { margin-top: 3.5rem; }
.linea-home + .linea-home { padding-top: 3.5rem; border-top: 1px solid var(--line); }
.linea-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2rem; padding: 1.8rem; border: 1px solid var(--line); background: rgba(24,169,223,.06); }
.linea-cta p { margin: 0; max-width: 620px; color: var(--paper); font-size: .95rem; line-height: 1.6; }
.experiencias-foot { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 3.5rem; }

/* Grid y tarjetas (enlaces reales) */
.exp-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.exp-grid-1 { grid-template-columns: 1fr; }
.exp-grid-2 { grid-template-columns: repeat(2, 1fr); }
.exp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.exp-card { position: relative; display: block; overflow: hidden; min-height: 420px; background: var(--ink-2); color: inherit; text-decoration: none; isolation: isolate; }
.exp-grid-1 .exp-card { min-height: 480px; }
.exp-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.67) contrast(1.04); transition: transform .8s cubic-bezier(.2,.75,.2,1), filter .6s ease; }
.exp-card:hover img { transform: scale(1.045); filter: saturate(.95) contrast(1.02); }
.exp-card .project-shade { background: linear-gradient(180deg, rgba(7,22,29,.08), rgba(7,22,29,.88) 75%); }
.exp-card:hover .project-shade { background: linear-gradient(180deg, rgba(7,22,29,.04), rgba(7,22,29,.78) 75%); }
.exp-card .project-number { z-index: 2; }
.exp-card .estado-chip { position: absolute; top: 1.3rem; left: 1.3rem; z-index: 2; }
.exp-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(1.3rem, 2.6vw, 2.2rem); }
.exp-tipo { margin: 0 0 .8rem; color: var(--gold); font-size: .54rem; letter-spacing: .14em; }
.exp-copy h3 { margin: 0; font-family: var(--display); font-size: clamp(1.9rem, 3vw, 3.2rem); line-height: .86; letter-spacing: -.03em; text-transform: uppercase; }
.exp-grid-1 .exp-copy h3 { font-size: clamp(2.3rem, 4.4vw, 4.8rem); }
.exp-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 1rem 0 0; color: rgba(244,240,223,.74); font-size: .55rem; letter-spacing: .08em; }
.exp-card .project-link { margin-top: 1.2rem; transition: color .2s, border-color .2s; }
.exp-card:hover .project-link { border-color: var(--gold); color: var(--gold); }
.exp-card.estado-proximamente img { filter: saturate(.3) contrast(1) brightness(.75); }
.estado-chip { display: inline-block; padding: .4rem .6rem; border: 1px solid rgba(255,255,255,.3); background: rgba(7,22,29,.45); backdrop-filter: blur(8px); font-size: .5rem; letter-spacing: .14em; text-transform: uppercase; color: var(--paper); }
.estado-chip.estado-reservar { border-color: rgba(229,170,37,.7); color: var(--gold); }
.estado-chip.estado-comprar { border-color: rgba(24,169,223,.7); color: var(--blue); }
.estado-chip.estado-propuesta { border-color: rgba(244,240,223,.5); }
.estado-chip.estado-proximamente { color: var(--muted); }

/* Ficha */
.ficha { background: var(--ink); }
.ficha-media { position: relative; min-height: 560px; height: 72svh; overflow: hidden; isolation: isolate; }
.ficha-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.8); }
.ficha-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--ink) 0%, rgba(7,22,29,.75) 35%, rgba(7,22,29,.25) 70%, rgba(7,22,29,.5) 100%); }
.ficha-head { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--pad) clamp(2rem, 4vw, 3.5rem); max-width: 1100px; }
.ficha-back { display: inline-block; margin-bottom: 2rem; color: var(--muted); font-size: .56rem; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.ficha-back:hover { color: var(--gold); }
.ficha-tipo { margin: 0 0 1rem; color: var(--gold); font-size: .58rem; letter-spacing: .15em; }
.ficha-num { margin-right: .9rem; padding: .35rem .5rem; border: 1px solid rgba(255,255,255,.28); color: var(--paper); font-size: .5rem; }
.ficha-head h1 { margin: 0; font-family: var(--display); text-transform: uppercase; font-size: clamp(3rem, 7vw, 7.4rem); line-height: .82; letter-spacing: -.045em; font-weight: 700; }
.ficha-sub { margin: 1.2rem 0 1.4rem; color: rgba(244,240,223,.8); font-size: clamp(.95rem, 1.4vw, 1.15rem); }
.ficha-body { display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(2.5rem, 6vw, 6rem); padding: clamp(3rem, 6vw, 5rem) var(--pad); }
.ficha-desc { margin: 0; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.75; color: var(--paper); }
.ficha-h2 { margin: 3rem 0 1.2rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); font-size: .6rem; }
.ficha-h2 .mono { color: var(--blue); letter-spacing: .16em; }
.ficha-lista { list-style: none; margin: 0; padding: 0; }
.ficha-lista li { padding: .85rem 0; border-bottom: 1px solid var(--line); color: var(--paper); font-size: .92rem; line-height: 1.55; }
.ficha-lista li::before { content: "+"; margin-right: .9rem; color: var(--gold); font-family: var(--mono); }
.ficha-pasos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ficha-paso { padding: 1.5rem; background: var(--ink-2); }
.ficha-paso > span { color: var(--blue); font-size: .55rem; letter-spacing: .14em; }
.ficha-paso h3 { margin: .9rem 0 .5rem; font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; }
.ficha-paso p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.65; }
.ficha-req { color: var(--muted); line-height: 1.7; font-size: .9rem; }
.ficha-req a { color: var(--gold); }
.ficha-panel { position: sticky; top: 110px; align-self: start; padding: 1.8rem; border: 1px solid var(--line); background: rgba(11,32,41,.85); backdrop-filter: blur(12px); }
.ficha-datos { margin: 0; display: grid; }
.ficha-datos > div { display: grid; gap: .3rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.ficha-datos dt { color: var(--muted); font-size: .7rem; letter-spacing: .15em; }
.ficha-datos dd { margin: 0; font-size: .88rem; line-height: 1.5; }
.ficha-datos.compact > div { padding: .6rem 0; }
.ficha-precio dd strong { display: block; font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--gold); }
.ficha-precio dd strong small { display: none; }
.ficha-precio dd small { display: block; margin-top: .35rem; color: var(--muted); font-size: .7rem; }
.mapa-link { margin-left: .4rem; color: var(--blue); font-family: var(--mono); font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.ficha-cta { width: 100%; margin-top: 1.4rem; }
.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.ficha-nota { margin: 1rem 0 0; color: rgba(171,192,197,.6); font-size: .5rem; letter-spacing: .12em; line-height: 1.6; }
.ficha-rel { padding: 0 var(--pad) clamp(3rem, 6vw, 5rem); }
.ficha-rel .section-heading { grid-template-columns: 1fr auto; margin-bottom: 1.5rem; }
.ficha-rel .section-index { margin-bottom: 0; }
.ficha-rel .text-link { margin-top: 0; border-bottom: 0; }

/* Central de reservas */
.wizard { padding-top: 0; background: var(--ink); }
.wizard-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0 0 3rem; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.wizard-steps li { padding: 1rem 1.2rem; background: var(--ink-2); color: var(--muted); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; }
.wizard-steps li span { color: var(--blue); margin-right: .6rem; }
.wizard-steps li.active { color: var(--white); background: var(--ink-3); box-shadow: inset 0 -2px 0 var(--gold); }
.wizard-steps li.done { color: var(--paper); }
.wizard-steps li.done span { color: var(--gold); }
.wz-step { margin-bottom: 3.5rem; }
.wz-title { margin: 0 0 1.5rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; color: var(--blue); text-transform: uppercase; }
.wz-title span { color: var(--paper); }
.wz-vacio { color: var(--muted); }
.wz-vacio a { color: var(--gold); }
.wz-nota { margin: 1.5rem 0 0; color: rgba(171,192,197,.6); font-size: .7rem; letter-spacing: .12em; }
.exp-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pick-card { position: relative; display: block; cursor: pointer; background: var(--ink-2); }
.pick-card input { position: absolute; opacity: 0; pointer-events: none; }
.pick-body { display: block; height: 100%; border: 2px solid transparent; transition: border-color .2s; }
.pick-card input:checked + .pick-body { border-color: var(--gold); }
.pick-card input:focus-visible + .pick-body { outline: 2px solid var(--blue); }
.pick-body img { width: 100%; height: 170px; object-fit: cover; filter: saturate(.7); }
.pick-copy { display: grid; gap: .5rem; padding: 1.2rem; }
.pick-tipo { color: var(--gold); font-size: .7rem; letter-spacing: .14em; }
.pick-copy strong { font-family: var(--display); font-size: 1.45rem; text-transform: uppercase; line-height: 1; }
.pick-meta { color: var(--muted); font-size: .55rem; letter-spacing: .06em; line-height: 1.6; }
.pick-link { margin-top: .3rem; color: var(--blue); font-family: var(--mono); font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.wz-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: start; }
.calendar { padding: 1.4rem; border: 1px solid var(--line); background: var(--ink-2); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-head strong { font-size: .66rem; letter-spacing: .18em; }
.cal-nav { width: 38px; height: 38px; border: 1px solid var(--line); background: transparent; color: var(--paper); cursor: pointer; font-size: 1rem; transition: border-color .2s, color .2s; }
.cal-nav:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow span { padding: .4rem 0; text-align: center; color: var(--muted); font-size: .7rem; letter-spacing: .12em; }
.cal-day { display: grid; gap: .2rem; align-content: center; min-height: 58px; padding: .4rem .2rem; border: 1px solid var(--line); background: rgba(244,240,223,.03); color: var(--paper); font-family: var(--body); cursor: pointer; text-align: center; transition: border-color .2s, background .2s; }
.cal-day:hover:not(:disabled) { border-color: var(--gold); }
.cal-day.selected { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.cal-day.selected .cal-plazas { color: var(--ink); }
.cal-day:disabled { cursor: default; color: rgba(244,240,223,.28); border-color: rgba(244,240,223,.06); background: transparent; }
.cal-day.cal-lleno .cal-num { text-decoration: line-through; }
.cal-vacio { border: 0; background: transparent; }
.cal-num { font-size: .95rem; font-weight: 600; }
.cal-plazas { font-size: .7rem; letter-spacing: .06em; color: var(--gold); }
.cal-nota, .cal-cargando { margin: 1rem 0 0; color: var(--muted); font-size: .7rem; letter-spacing: .1em; }
.cal-cargando { grid-column: 1 / -1; padding: 2rem 0; text-align: center; }
.franjas-box { min-height: 200px; padding: 1.4rem; border: 1px solid var(--line); background: var(--ink-2); }
.franjas-titulo { margin: 0 0 1rem; color: var(--gold); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; }
.franjas { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .6rem; }
.franja { display: grid; gap: .3rem; padding: .9rem; border: 1px solid var(--line); background: rgba(244,240,223,.03); color: var(--paper); cursor: pointer; text-align: left; font-family: var(--body); transition: border-color .2s, background .2s; }
.franja strong { font-family: var(--display); font-size: 1.5rem; line-height: 1; }
.franja span { color: var(--muted); font-size: .7rem; letter-spacing: .08em; }
.franja:hover:not(:disabled) { border-color: var(--gold); }
.franja.selected { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.franja.selected span { color: var(--ink); }
.franja:disabled { opacity: .4; cursor: default; }
.wz-form { max-width: 640px; }
.wz-form .check, .checkout-form .check { display: flex; gap: .8rem; align-items: flex-start; color: var(--muted); font-size: .8rem; line-height: 1.55; }
.wz-form .check input, .checkout-form .check input { width: auto; margin-top: .25rem; accent-color: var(--gold); }
.wz-form .check a, .checkout-form .check a { color: var(--gold); }
.wz-summary { display: grid; margin-top: .6rem; border: 1px solid var(--line); background: var(--ink-2); }
.wz-summary > div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line); font-size: .58rem; letter-spacing: .1em; }
.wz-summary > div:last-child { border-bottom: 0; }
.wz-summary span { color: var(--muted); }
.wz-summary strong { text-align: right; color: var(--paper); font-weight: 500; }
.wz-summary .total strong { color: var(--gold); font-family: var(--display); font-size: 1.4rem; letter-spacing: 0; }

/* Retorno de pago y descarga */
.page-pago .page-head { min-height: 60vh; }
.pago-box { max-width: 720px; margin-top: 2rem; padding: 1.8rem; border: 1px solid var(--line); background: var(--ink-2); }
.pago-box p { margin: 0 0 1.2rem; color: var(--paper); line-height: 1.7; }
.pago-box .ficha-datos { margin-bottom: 1.4rem; }
.pago-box a { color: var(--gold); }
.pago-box .button { text-decoration: none; color: var(--ink); }
.pago-box .button-ghost { color: var(--paper); }
.spinner { display: inline-block; width: 26px; height: 26px; margin-bottom: 1rem; border: 2px solid var(--line); border-top-color: var(--gold); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Tienda */
.checkout { padding-top: 0; background: var(--ink); }
.checkout-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; padding: 2rem; border: 1px solid rgba(229,170,37,.45); background: var(--ink-2); }
.checkout-producto { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; align-items: start; }
.checkout-producto img { width: 100%; height: 260px; object-fit: cover; filter: saturate(.7); }
.checkout-producto h2 { margin: .6rem 0 .3rem; font-family: var(--display); font-size: 2rem; text-transform: uppercase; line-height: .95; }
.checkout-producto > div > p { margin: 0 0 1rem; color: var(--muted); }
.checkout-form { align-content: start; }
.tienda-lista { background: var(--ink); }
.section-h2 { margin: 0; font-family: var(--display); text-transform: uppercase; font-size: clamp(2.2rem, 4.5vw, 4.6rem); line-height: .9; letter-spacing: -.035em; font-weight: 600; }
.section-h2 span { color: var(--gold); font-weight: 500; }
.tienda-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.producto { display: grid; grid-template-columns: 240px 1fr; background: var(--ink-2); }
.producto-media { position: relative; display: block; min-height: 240px; }
.producto-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.7); transition: filter .3s; }
.producto:hover .producto-media img { filter: saturate(.95); }
.producto-media .estado-chip { position: absolute; top: 1rem; left: 1rem; }
.producto.estado-proximamente .producto-media img { filter: saturate(.3) brightness(.7); }
.producto-copy { display: grid; align-content: start; gap: .5rem; padding: 1.5rem; }
.producto-copy h3 { margin: 0; font-family: var(--display); font-size: 1.7rem; text-transform: uppercase; line-height: .95; }
.producto-copy h3 a { text-decoration: none; }
.producto-copy h3 a:hover { color: var(--gold); }
.producto-copy p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.55; }
.producto-meta { color: rgba(171,192,197,.7); font-size: .7rem; letter-spacing: .1em; }
.producto-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; }
.producto-precio { font-family: var(--display); font-size: 1.6rem; color: var(--gold); }
.producto-foot .button { min-height: 44px; padding: .7rem 1rem; gap: 1rem; }
.instalar { background: var(--ink-2); }
.instalar-pasos .method-step { min-height: 260px; }
.instalar-pasos .method-step h3 { margin-top: 2.2rem; }

/* Legal */
.legal { background: var(--ink); padding-top: 0; }
.legal-block { max-width: 820px; padding: 2.2rem 0; border-top: 1px solid var(--line); }
.legal-block h2 { margin: 0 0 1.2rem; font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; }
.legal-block h2 .mono { margin-right: .8rem; color: var(--blue); font-size: .62rem; letter-spacing: .14em; }
.legal-block p { margin: 0 0 1rem; color: var(--muted); font-size: .9rem; line-height: 1.75; }
.legal-block strong { color: var(--paper); }
.legal-block a { color: var(--gold); }
.contact-intro p a { color: var(--gold); }

@media (max-width: 980px) {
  .env-badge { display: none; }
  .site-nav a.active { box-shadow: none; color: var(--gold); }
  .linea-head { grid-template-columns: 1fr; gap: 1.2rem; }
  .exp-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .ficha-body { grid-template-columns: 1fr; }
  .ficha-panel { position: static; }
  .exp-pick { grid-template-columns: repeat(2, 1fr); }
  .wz-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .tienda-grid { grid-template-columns: 1fr; }
  .wizard-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .page-head { padding-top: calc(78px + 3rem); }
  .page-title { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .exp-grid-2, .exp-grid-3 { grid-template-columns: 1fr; }
  .exp-card { min-height: 380px; }
  .exp-copy h3, .exp-grid-1 .exp-copy h3 { font-size: 2.3rem; }
  .ficha-media { min-height: 480px; height: 68svh; }
  .ficha-head h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .ficha-pasos { grid-template-columns: 1fr; }
  .exp-pick { grid-template-columns: 1fr; }
  .cal-day { min-height: 50px; }
  .cal-num { font-size: .85rem; }
  .checkout-producto { grid-template-columns: 1fr; }
  .checkout-producto img { height: 200px; }
  .producto { grid-template-columns: 1fr; }
  .producto-media { min-height: 200px; }
  .producto-foot { flex-direction: column; align-items: stretch; }
  .linea-cta { padding: 1.3rem; }
  .filtro a { padding: .5rem .7rem; font-size: .7rem; }
  .ficha-rel .section-heading { grid-template-columns: 1fr; }
}
.toast:empty { visibility: hidden; }

/* ===== Cabecera: Reservas destacado, selector de idioma, sin botón de sonido (2026-09-08) ===== */
.header-right { display: flex; align-items: center; gap: clamp(.8rem, 1.6vw, 1.4rem); }
@keyframes pulseBox {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(229,170,37,.55); }
  50% { transform: scale(1.07); box-shadow: 0 0 0 12px rgba(229,170,37,0); }
}
.site-nav a.nav-reservas { order: -1; padding: .85rem 1.25rem; border: 1px solid var(--gold); background: rgba(229,170,37,.16); color: var(--gold); font-size: .8rem; font-weight: 500; letter-spacing: .14em; animation: pulseBox 1.8s ease-in-out infinite; will-change: transform; }
.site-nav a.nav-reservas:hover { background: var(--gold); color: var(--ink); animation-play-state: paused; }
.site-nav a.nav-reservas.active { box-shadow: none; }
.button-pulse { animation: pulseBox 1.8s ease-in-out infinite; will-change: transform; font-size: .78rem; min-height: 58px; }
.button-pulse:hover { animation-play-state: paused; }
.lang-switch { position: relative; }
.lang-btn { min-height: 38px; padding: .55rem .7rem; display: inline-flex; align-items: center; gap: .4rem; color: var(--paper); border: 1px solid var(--line); background: rgba(7,22,29,.35); font-size: .6rem; letter-spacing: .14em; cursor: pointer; transition: border-color .2s, color .2s; }
.lang-btn:hover, .lang-switch.open .lang-btn { border-color: var(--gold); color: var(--gold); }
.lang-btn i { font-style: normal; font-size: .55rem; transition: transform .2s; }
.lang-switch.open .lang-btn i { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 300; min-width: 170px; margin: 0; padding: .35rem 0; list-style: none; background: rgba(7,22,29,.97); border: 1px solid var(--line); backdrop-filter: blur(14px); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.lang-menu a { display: flex; align-items: center; gap: .7rem; padding: .6rem .9rem; color: var(--paper); font-family: var(--body); font-size: .8rem; text-decoration: none; transition: background .2s, color .2s; }
.lang-menu a .mono { width: 2rem; color: var(--muted); font-size: .58rem; letter-spacing: .12em; }
.lang-menu a:hover { background: rgba(229,170,37,.12); color: var(--white); }
.lang-menu a.current { color: var(--gold); }
.lang-menu a.current .mono { color: var(--gold); }
@media (max-width: 980px) {
  .header-right { gap: .6rem; }
  .site-nav a.nav-reservas { order: -1; margin-bottom: .6rem; padding: 1.1rem 1rem; border: 1px solid var(--gold); background: rgba(229,170,37,.16); font-family: var(--display); font-size: 1.9rem; letter-spacing: 0; text-align: center; animation: none; }
  .lang-btn { padding: .55rem .6rem; }
  .lang-menu { right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav a.nav-reservas, .button-pulse { animation: none; }
}
/* Botón de música (play/pausa) y banderas */
.sound-btn { position: relative; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0; color: var(--muted); border: 1px solid var(--line); background: rgba(7,22,29,.35); cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.sound-btn svg { width: 12px; height: 12px; }
.sound-btn .ico-pause, .sound-btn .sound-bars { display: none; }
.sound-btn.playing { color: var(--gold); border-color: rgba(229,170,37,.5); background: rgba(229,170,37,.08); }
.sound-btn.playing .ico-play { display: none; }
.sound-btn.playing .ico-pause { display: block; }
.sound-btn.playing .sound-bars { position: absolute; right: -1px; bottom: -1px; display: flex; align-items: flex-end; gap: 1px; height: 8px; padding: 1px 2px; background: var(--ink); }
.sound-bars i { width: 2px; height: 3px; display: block; background: currentColor; transform-origin: bottom; animation: soundWave .75s ease-in-out infinite alternate; }
.sound-bars i:nth-child(2) { height: 6px; animation-delay: -.32s; }
.sound-bars i:nth-child(3) { height: 4px; animation-delay: -.16s; }
.sound-btn:hover { color: var(--gold); border-color: rgba(229,170,37,.5); }
.flag { width: 20px; height: 13px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.lang-btn .flag { width: 18px; height: 12px; }
.lang-menu a { gap: .6rem; }

/* ===== Tipos de entrada, página pública de la reserva y QR (fase 2, 2026-09-08) ===== */
.tarifas-box { margin: 0 0 .4rem; padding: 1.2rem 1.3rem 1.4rem; border: 1px solid var(--line); background: var(--ink-2); }
.tarifas-box legend { padding: 0 .5rem; margin-left: -.5rem; color: var(--gold); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; }
.tarifa { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); transition: opacity .2s; }
.tarifa:last-of-type { border-bottom: 0; }
.tarifa-copy { display: grid; gap: .2rem; }
.tarifa-copy strong { font-size: .95rem; font-weight: 600; }
.tarifa-precio { color: var(--gold); font-size: .62rem; letter-spacing: .08em; }
.tarifa-desc { color: var(--muted); font-size: .74rem; line-height: 1.5; max-width: 42ch; }
.tarifa.activa .tarifa-copy strong { color: var(--white); }
.tarifa-stepper { display: flex; align-items: center; gap: .2rem; flex: none; }
.tarifa-stepper .paso { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; color: var(--paper); border: 1px solid var(--line); background: rgba(244,240,223,.04); font-size: 1.2rem; line-height: 1; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.tarifa-stepper .paso:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.tarifa-stepper .paso:disabled { opacity: .3; cursor: default; }
.tarifa-cant { min-width: 2.4rem; text-align: center; font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
.tarifa.activa .tarifa-cant { color: var(--gold); }
.tarifas-total { margin: 1rem 0 0; color: var(--muted); font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; }
.tarifas-nota { margin: .5rem 0 0; color: rgba(171,192,197,.7); font-size: .74rem; line-height: 1.5; }
.form-submit:disabled { opacity: .45; cursor: not-allowed; }
.ficha-tarifas { list-style: none; margin: 1rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.ficha-tarifas li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .82rem; }
.ficha-tarifas strong { color: var(--gold); font-size: .72rem; letter-spacing: .06em; }

/* Página pública de la reserva (destino del QR) */
.reserva-box { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; max-width: 900px; }
.reserva-qr { display: grid; justify-items: center; gap: .7rem; padding: 1.2rem; background: var(--paper); }
.reserva-qr img { width: 100%; height: auto; display: block; }
.reserva-qr p { margin: 0; color: var(--ink); font-size: .5rem; letter-spacing: .12em; text-align: center; }
.reserva-codigo { font-family: var(--display); font-size: 1.5rem; letter-spacing: .06em; color: var(--ink); }
.reserva-datos .ficha-datos { margin-bottom: 1rem; }
.aviso-ok { display: inline-block; margin: 1rem 0 0; padding: .6rem .8rem; border: 1px solid rgba(123,216,143,.5); background: rgba(123,216,143,.08); color: #7bd88f; font-size: .58rem; letter-spacing: .1em; }
.page-reserva .pago-box { max-width: 900px; }

@media (max-width: 700px) {
  .tarifa { flex-direction: column; align-items: flex-start; gap: .7rem; }
  .tarifa-stepper { align-self: stretch; justify-content: space-between; }
  .tarifa-desc { max-width: none; }
  .reserva-box { grid-template-columns: 1fr; }
  .reserva-qr { max-width: 280px; margin: 0 auto; }
}
