/* Fuentes locales: Archivo Black (títulos) y Arimo (textos) */
/* latin-ext */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/ArchivoBlack-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/ArchivoBlack-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Arimo-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/Arimo-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Arimo-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Arimo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/Arimo-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   RUIDO Events — estilos
   Títulos: Archivo Black · Textos: Arimo
   ========================================================= */
:root {
  --bg: #000;
  --bg-2: #0a0a0c;
  --card: #111114;
  --card-2: #16161a;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #fff;
  --text-2: #b9bcc4;
  --text-3: #8a8e98;
  --brand: #9ed5f5;
  --brand-hover: #c2e5fa;
  --brand-10: rgba(158, 213, 245, .1);
  --brand-25: rgba(158, 213, 245, .25);
  --max-w: 1200px;
  --px: clamp(1rem, 5vw, 3rem);
  --font-title: "Archivo Black", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Arimo", Arial, "Helvetica Neue", Helvetica, sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 1px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-text); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-title); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: #000; }

.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--px); }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 10000; background: var(--brand); color: #000; padding: .6rem 1rem; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .85rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-text); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-primary { background: var(--brand); color: #000; }
.btn-primary:hover { background: var(--brand-hover); box-shadow: 0 10px 34px -10px rgba(158, 213, 245, .65); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand-25); }
.btn-outline:hover { background: var(--brand-10); border-color: var(--brand); }
.btn-lg { min-height: 56px; padding: 1rem 2.4rem; font-size: .86rem; }
.btn-sm { min-height: 40px; padding: .55rem 1.15rem; font-size: .72rem; }
.btn-block { width: 100%; }
.btn-text { background: none; border: 0; padding: .6rem .2rem; color: var(--text-3); font-size: .9rem; cursor: pointer; transition: color .2s; }
.btn-text:hover { color: var(--text); }

.eyebrow {
  display: inline-block; font-family: var(--font-text); font-weight: 700; font-size: .75rem;
  letter-spacing: .26em; text-transform: uppercase; color: var(--brand); margin-bottom: 1rem;
}

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.menu-open { background: #000; border-bottom-color: var(--line); }
.site-header.is-scrolled:not(.menu-open) {
  background: rgba(0, 0, 0, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { height: 44px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a:not(.btn) {
  text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .78); transition: color .2s;
}
.main-nav a:not(.btn):hover { color: var(--brand); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 6rem; overflow: hidden; isolation: isolate;
  background: #050505 url("/assets/video/hero-poster.webp") center / cover no-repeat;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.74) 0%, rgba(0,0,0,.42) 55%, rgba(0,0,0,.12) 100%),
    linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 35%);
}
.hero-content { max-width: var(--max-w); }
.hero-title {
  font-size: clamp(2.6rem, 7.2vw, 6rem); line-height: .98; letter-spacing: -.025em;
  max-width: 13ch; text-transform: uppercase; text-wrap: balance;
}
.hero-sub { margin-top: 1.6rem; max-width: 34rem; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255,255,255,.82); }
.hero-actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }
.hero-actions .btn-lg { min-width: 320px; }
.btn-link {
  display: inline-flex; align-items: center; gap: .75rem; text-decoration: none;
  font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #fff;
}
.btn-link .play {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.4); color: var(--brand); transition: border-color .2s, background-color .2s, transform .2s;
}
.btn-link .play svg { margin-left: 2px; }
.btn-link:hover .play { border-color: var(--brand); background: var(--brand-10); transform: scale(1.06); }
.btn-link:hover { color: var(--brand); }
.hero-tagline {
  position: absolute; left: 0; right: 0; bottom: 2rem; text-align: center;
  font-family: var(--font-title); font-size: .85rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.5);
}

/* ---------- Secciones ---------- */
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); }
.section-head-left { text-align: left; margin-left: 0; }
.section-title { font-size: clamp(2rem, 4.6vw, 3.4rem); text-wrap: balance; }
.section-sub { margin-top: 1rem; font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--text-2); }

/* ---------- Tarjetas de eventos ---------- */
.event-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.event-card {
  position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5.4;
  background: #1a1a1d; isolation: isolate;
}
.event-card picture, .event-card img { position: absolute; inset: 0; width: 100%; height: 100%; }
.event-card img { object-fit: cover; transition: transform 1.2s var(--ease), opacity .3s ease; }
.event-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 58%, rgba(0,0,0,.94) 100%);
}
.event-card:hover img { transform: scale(1.05); }
.event-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.6rem 1.5rem 1.5rem; }
.event-body h3 { font-size: clamp(1.45rem, 1.9vw, 1.8rem); color: #fff; }
.event-body p { margin-top: .55rem; font-size: 1rem; line-height: 1.5; color: #d2d5db; }
.event-link {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.1rem; text-decoration: none;
  color: var(--brand); font-weight: 700; font-size: .95rem;
}
.event-link span { transition: transform .25s var(--ease); }
.event-link:hover span { transform: translateX(4px); }
.event-link::before { content: ""; position: absolute; inset: 0; z-index: 3; } /* toda la tarjeta clicable */

.cta-band {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: 22px; border: 1px solid var(--line-2);
  background: radial-gradient(120% 140% at 0% 0%, rgba(158,213,245,.13) 0%, rgba(158,213,245,0) 55%), var(--card);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap;
}
.cta-band-title { font-family: var(--font-title); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.15; }
.cta-band-sub { margin-top: .45rem; color: var(--text-2); }

/* ---------- Servicios ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  padding: 2rem 1.9rem 2.1rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(158,213,245,.55); background: var(--card-2); }
.service-icon {
  width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--brand-10);
  fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.4rem;
}
.service-card h3 { font-size: 1.28rem; color: #fff; }
.service-card p { margin-top: .7rem; color: var(--text-2); font-size: .97rem; line-height: 1.65; }
.services-cta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); display: flex; align-items: center; justify-content: center; gap: 1.25rem 2.5rem; flex-wrap: wrap; text-align: center;
}
.services-cta p { font-size: 1.08rem; color: var(--text-2); }
.services-cta em { font-style: normal; color: var(--brand); font-weight: 700; }

/* ---------- Carrusel ---------- */
.gallery { padding: clamp(3rem, 6vw, 4.5rem) 0; overflow: hidden; position: relative; }
.gallery::before, .gallery::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 8vw; z-index: 2; pointer-events: none;
}
.gallery::before { left: 0; background: linear-gradient(90deg, #000, transparent); }
.gallery::after { right: 0; background: linear-gradient(270deg, #000, transparent); }
.gallery-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.gallery:hover .gallery-track { animation-play-state: paused; }
.gallery-list { display: flex; gap: 18px; padding-right: 18px; }
.gallery-list li { width: 400px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #1a1a1d; flex: none; }
.gallery-list picture { display: block; width: 100%; height: 100%; }
.gallery-list img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s ease; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Opiniones ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  margin: 0; padding: 2rem 1.9rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.stars { color: var(--brand); letter-spacing: .2em; font-size: 1rem; }
.review-card blockquote { margin: 0; flex: 1; color: #e3e5ea; font-size: 1.02rem; line-height: 1.7; }
.review-card figcaption { display: flex; align-items: center; gap: .85rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-10); display: grid; place-items: center; flex: none; }
.avatar svg { width: 20px; height: 20px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.review-card figcaption strong { display: block; font-size: .95rem; }
.review-card figcaption small { display: block; color: var(--text-3); font-size: .82rem; }

/* ---------- Presupuesto ---------- */
.anchor-alias { position: absolute; top: 0; }
.quote-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.quote-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.4rem, 3.5vw, 2.4rem); }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 2rem; counter-reset: paso; }
.progress li { counter-increment: paso; }
.progress li::before { content: ""; display: block; height: 3px; border-radius: 3px; background: var(--line-2); margin-bottom: .6rem; transition: background-color .3s; }
.progress li span { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); transition: color .3s; }
.progress li span::before { content: counter(paso) ". "; }
.progress li.is-active::before, .progress li.is-done::before { background: var(--brand); }
.progress li.is-active span { color: var(--text); }
.progress li.is-done span { color: var(--brand); }

.step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.step.is-active { display: block; animation: stepIn .35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } }
.step-title { padding: 0; font-family: var(--font-title); font-size: clamp(1.25rem, 2.2vw, 1.55rem); line-height: 1.2; margin-bottom: 1.5rem; }

.option-list { display: grid; gap: .65rem; }
.option {
  position: relative; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 14px; background: rgba(255,255,255,.02);
  transition: border-color .2s, background-color .2s;
}
.option:hover { border-color: rgba(158,213,245,.5); }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.option span { flex: 1; font-weight: 700; }
.option .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; transition: border-color .2s, box-shadow .2s; }
.option:has(input:checked) { border-color: var(--brand); background: var(--brand-10); }
.option:has(input:checked) .radio { border-color: var(--brand); box-shadow: inset 0 0 0 4px var(--card), inset 0 0 0 10px var(--brand); }
.option:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.field { display: block; margin-bottom: 1.25rem; }
.field-grid .field { margin-bottom: 0; }
.field-full { grid-column: 1 / -1; }
.field-label { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); margin-bottom: .5rem; }
.field-label em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--text-3); font-weight: 400; }
.field-help { color: var(--text-3); font-size: .9rem; margin: -.15rem 0 .75rem; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: .8rem 1rem; border-radius: 12px; border: 1px solid var(--line-2);
  background: #0b0b0d; font-size: 16px; transition: border-color .2s, box-shadow .2s; color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: #6f737c; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-10); }
.field input[aria-invalid="true"] { border-color: #ff8a8a; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: .9rem;
  transition: border-color .2s, background-color .2s, color .2s;
}
.chip:hover span { border-color: rgba(158,213,245,.5); }
.chip input:checked + span { border-color: var(--brand); background: var(--brand); color: #000; font-weight: 700; }
.chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.call-block { padding: 1.1rem 1.15rem 1.2rem; border-radius: 14px; border: 1px dashed var(--line-2); transition: border-color .4s, background-color .4s; }
.call-block.is-highlight { border-color: var(--brand); border-style: solid; background: var(--brand-10); }
.form-error { color: #ff9b9b; font-size: .92rem; margin-top: 1rem; }
.step-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; }
.step-actions .btn { min-width: 200px; }

.form-success { text-align: center; padding: 2rem .5rem; }
.form-success:focus { outline: none; }
.success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-10); display: grid; place-items: center; margin: 0 auto 1.25rem; }
.success-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.form-success p { color: var(--text-2); max-width: 26rem; margin: 0 auto 1.5rem; }

.quote-aside { display: grid; gap: 1rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.aside-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 1.75rem; }
.aside-title { font-size: 1.3rem; line-height: 1.2; margin-bottom: 1.1rem; }
.aside-title-sm { font-size: 1.1rem; margin-bottom: .5rem; }
.aside-text { color: var(--text-2); font-size: .95rem; margin-bottom: 1.1rem; }
.aside-card hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
.contact-list { display: grid; gap: .35rem; }
.contact-list a {
  display: flex; align-items: center; gap: .85rem; padding: .55rem 0; text-decoration: none; font-weight: 700; word-break: break-word;
  transition: color .2s;
}
.contact-list a:hover { color: var(--brand); }
.contact-list svg, .perks svg, .footer-contact svg {
  width: 20px; height: 20px; flex: none; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.perks { display: grid; gap: 1rem; }
.perks li { display: flex; align-items: center; gap: .85rem; color: #e3e5ea; font-size: .97rem; }
.perks svg { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--brand-10); }

/* ---------- Pie ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: 3rem; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.25rem; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { margin-top: .8rem; color: var(--text-2); }
.footer-contact { display: flex; gap: 1rem 2rem; flex-wrap: wrap; }
.footer-contact a { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #e3e5ea; transition: color .2s; }
.footer-contact a:hover { color: var(--brand); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.5rem; color: var(--text-3); font-size: .88rem;
  background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 2 * var(--px)) 1px no-repeat;
}
.footer-bottom nav { display: flex; align-items: center; gap: .6rem; }
.footer-bottom button { background: none; border: 0; padding: .3rem 0; color: var(--text-3); cursor: pointer; font-size: .88rem; transition: color .2s; }
.footer-bottom button:hover { color: var(--brand); }
.footer-bottom nav { flex-wrap: wrap; }
.footer-bottom nav a { color: var(--text-3); text-decoration: none; font-size: .88rem; padding: .3rem 0; transition: color .2s; }
.footer-bottom nav a:hover { color: var(--brand); }

/* ---------- Páginas de texto (Sobre RUIDO, Contacto, legales) ---------- */
.page-texto { padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(3.5rem, 8vw, 6rem); }
.page-texto-inner { max-width: 50rem; }
.page-texto .section-title { margin-bottom: 1.5rem; }
.page-texto h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 2.4rem 0 .9rem; }
.page-texto p, .page-texto li { color: var(--text-2); line-height: 1.75; }
.page-texto p + p { margin-top: .9rem; }
.page-texto strong { color: #fff; }
.page-texto a { color: var(--brand); }
.page-lead { font-size: 1.12rem; color: #e3e5ea !important; }
.page-lista { display: grid; gap: .7rem; padding-left: 1.1rem; list-style: disc; }
.page-lista li::marker { color: var(--brand); }
.page-contacto { display: grid; gap: .8rem; margin-top: 1.6rem; }
.page-contacto li { display: flex; flex-wrap: wrap; gap: .3rem 1rem; padding: 1rem 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.page-contacto span { min-width: 7rem; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); align-self: center; }
.page-contacto a { font-weight: 700; text-decoration: none; }
.page-volver { margin-top: 3rem; }
.page-volver a { text-decoration: none; font-weight: 700; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 1.25rem; bottom: calc(1.25rem + env(safe-area-inset-bottom)); z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center;
  box-shadow: 0 6px 22px rgba(37, 211, 102, .42); transition: transform .2s var(--ease), box-shadow .2s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 8px 30px rgba(37, 211, 102, .6); }

/* ---------- Textos legales ---------- */
.legal-dialog {
  width: min(640px, calc(100% - 2rem)); max-height: 82vh; padding: 0; border-radius: 16px;
  border: 1px solid var(--line-2); background: #0d0d0f; color: var(--text); box-shadow: 0 24px 80px rgba(0,0,0,.7);
}
.legal-dialog[open] { display: flex; flex-direction: column; }
.legal-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(6px); }
.legal-head, .legal-foot { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.6rem; flex: none; }
.legal-head { border-bottom: 1px solid var(--line); }
.legal-head h2 { font-size: 1.15rem; }
.legal-head .legal-close { background: none; border: 0; font-size: 1.8rem; line-height: 1; color: var(--text-3); cursor: pointer; padding: 0 .25rem; }
.legal-head .legal-close:hover { color: #fff; }
.legal-foot { border-top: 1px solid var(--line); justify-content: flex-end; }
.legal-body { padding: 1.4rem 1.6rem; overflow-y: auto; color: rgba(255,255,255,.72); font-size: .92rem; line-height: 1.8; }
.legal-body p + p { margin-top: .8rem; }
.legal-body strong { color: #fff; }
body.no-scroll { overflow: hidden; }

/* ---------- Fotos: marcador borroso mientras cargan y fundido al terminar ---------- */
.event-card, .gallery-list li { background-size: cover; background-position: center; }
.js .event-card img, .js .gallery-list img { opacity: 0; }
.js .event-card img.is-loaded, .js .gallery-list img.is-loaded { opacity: 1; }

/* ---------- Zonas ---------- */
.zonas-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.zonas-texto .section-title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.zonas-texto p:not(.eyebrow) { margin-top: 1.1rem; color: var(--text-2); font-size: 1.03rem; line-height: 1.7; max-width: 34rem; }
.zonas-listas { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.zonas-listas > div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem 1.5rem 1.6rem; }
.zonas-listas h3 { font-size: 1.05rem; color: var(--brand); margin-bottom: 1rem; }
.zonas-listas ul { display: grid; gap: .6rem; }
.zonas-listas li { color: var(--text-2); font-size: .95rem; line-height: 1.5; }
.zonas-listas strong { color: #fff; }

/* ---------- Preguntas frecuentes ---------- */
.faq-list { max-width: 52rem; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s; }
.faq-item[open], .faq-item:hover { border-color: var(--line-2); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem; font-weight: 700; font-size: 1.05rem; line-height: 1.4; border-radius: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq-item summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.faq-item p { padding: 0 1.4rem 1.3rem; color: var(--text-2); line-height: 1.7; max-width: 46rem; }

/* ---------- Pie: servicios y zonas (visible, en letra pequeña) ---------- */
.footer-keywords { padding-bottom: 1.5rem; }
.footer-keywords-title { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin-bottom: .6rem; }
.footer-keywords ul { display: flex; flex-wrap: wrap; gap: .25rem .4rem; }
.footer-keywords li { font-size: .8rem; line-height: 1.6; color: var(--text-3); }
.footer-keywords li:not(:last-child)::after { content: " ·"; }

/* ---------- Aparición suave ---------- */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .main-nav { gap: 1.35rem; }
  .event-grid { grid-template-columns: repeat(2, 1fr); }
  .event-card { aspect-ratio: 4 / 4.4; }
}
@media (max-width: 960px) {
  .zonas-layout { grid-template-columns: 1fr; }
  .service-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-layout { grid-template-columns: 1fr; }
  .quote-aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .brand img { height: 38px; }
  .menu-toggle {
    display: grid; gap: 5px; place-content: center; width: 46px; height: 46px; border-radius: 12px;
    background: rgba(255,255,255,.06); border: 1px solid var(--line-2); cursor: pointer;
  }
  .menu-toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: #000; min-height: calc(100svh - var(--header-h));
    padding: .5rem var(--px) 1.5rem; border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a:not(.btn) { padding: 1.05rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
  .main-nav .nav-cta { margin-top: 1.25rem; min-height: 52px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hero { align-items: flex-end; padding-bottom: 5.5rem; }
  .hero-overlay { background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.45) 100%); }
  .hero-title { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 1.1rem; }
  .hero-actions .btn-lg { min-width: 0; width: 100%; }
  .btn-link { justify-content: center; }
  .hero-tagline { bottom: 1.6rem; font-size: .72rem; }

  .section-head { margin-bottom: 1.9rem; }
  .event-grid, .service-grid, .review-grid { grid-template-columns: 1fr; gap: 16px; }
  .event-card { aspect-ratio: 4 / 3.6; border-radius: 20px; }
  .event-body { padding: 1.3rem 1.25rem 1.25rem; }
  .event-body h3 { font-size: 1.45rem; }
  .event-card:hover img { transform: none; }
  .cta-band { flex-direction: column; align-items: stretch; text-align: left; }
  .btn-lg { padding: 1rem 1.25rem; letter-spacing: .1em; }
  .cta-band .btn, .services-cta .btn { width: 100%; }
  .services-cta { flex-direction: column; }
  .service-card { padding: 1.5rem 1.4rem; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: start; }
  .service-card .service-icon { grid-row: span 2; margin-bottom: 0; }
  .service-card:hover { transform: none; }

  .gallery-list li { width: 280px; border-radius: 14px; }
  .gallery-list { gap: 12px; padding-right: 12px; }
  .gallery-track { animation-duration: 36s; }

  .progress li span { font-size: .62rem; letter-spacing: .08em; white-space: nowrap; }
  .progress li span::before { content: none; }
  .field-grid { grid-template-columns: 1fr; }
  .step-actions { flex-direction: column-reverse; align-items: stretch; }
  .step-actions .btn { width: 100%; min-width: 0; }
  .quote-aside { grid-template-columns: 1fr; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .zonas-listas { grid-template-columns: 1fr; }
  .faq-item summary { padding: 1rem 1.1rem; font-size: 1rem; }
  .faq-item p { padding: 0 1.1rem 1.1rem; }
  .wa-float { width: 54px; height: 54px; right: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .gallery-track { animation: none; overflow-x: auto; width: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
