/* =========================================================
   YMC EVENTS — estilos
   Tokens → base → componentes → secciones
   ========================================================= */

@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-style: normal; font-display: swap; src: url('../../public/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-style: normal; font-display: swap; src: url('../../public/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-style: italic; font-display: swap; src: url('../../public/fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 400; font-display: swap; src: url('../../public/fonts/manrope-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url('../../public/fonts/manrope-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url('../../public/fonts/manrope-latin-700-normal.woff2') format('woff2'); }

:root {
  /* Paleta (propuesta, pendiente de validar con la marca) */
  --black: #0b0b0c;
  --black-2: #141416;
  --black-3: #1d1d20;
  --gold: #c9a45c;
  --gold-light: #e6cf98;
  --gold-dark: #9c7a3c;
  --white: #f7f4ee;
  --muted: #b5b0a6;       /* 9.3:1 sobre --black */
  --line: rgb(201 164 92 / 0.22);
  --error: #ff8a80;
  --success: #9fd8a8;

  --gold-gradient: linear-gradient(135deg, #f0dca8 0%, #c9a45c 45%, #9c7a3c 100%);

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  --step-3: clamp(2.2rem, 1.7rem + 2.4vw, 3.6rem);
  --step-4: clamp(2.8rem, 1.9rem + 4.6vw, 6rem);

  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2.5rem;
  --space-xl: clamp(4.5rem, 3rem + 7vw, 9rem);

  --radius: 2px;
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--gold-light); text-underline-offset: 0.2em; }
em { font-style: italic; color: var(--gold); }
ul, ol { list-style: none; margin: 0; padding: 0; }

:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
@media (min-width: 720px) { .container { width: min(100% - 4rem, var(--container)); } }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  padding: 0.75rem 1rem; background: var(--gold); color: var(--black); font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  font-size: var(--step--1); font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem;
}
.eyebrow::before { content: ''; display: inline-block; width: 2.5rem; height: 1px; background: currentColor; vertical-align: middle; margin-right: 1rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.25rem; padding: 0.9rem 1.9rem;
  border: 1px solid var(--gold); border-radius: var(--radius);
  font: 700 var(--step--1)/1.2 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--gold { background: var(--gold-gradient); color: var(--black); border-color: transparent; }
.btn--gold:hover { box-shadow: 0 10px 30px -10px rgb(201 164 92 / 0.6); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--white); }
.btn--ghost:hover { background: rgb(201 164 92 / 0.12); }
.btn--sm { min-height: 2.6rem; padding: 0.6rem 1.2rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ---------- Header / nav ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled, .header.is-open { background: rgb(11 11 12 / 0.92); backdrop-filter: blur(10px); border-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: baseline; gap: 0.5rem; text-decoration: none; color: var(--white); }
.brand__mark {
  font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; letter-spacing: 0.08em; line-height: 1;
  background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand__sub { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.42em; }

.nav-toggle {
  display: grid; gap: 6px; place-content: center; width: 48px; height: 48px;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.nav-toggle span { width: 26px; height: 1.5px; background: var(--white); transition: transform .3s var(--ease), opacity .3s; }
.is-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav {
  position: fixed; inset: var(--header-h) 0 0; background: var(--black);
  display: flex; flex-direction: column; gap: 2rem; padding: 2.5rem 1.5rem;
  visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility .3s;
}
.is-open .nav { visibility: visible; opacity: 1; }
.nav__list { display: grid; gap: 0.25rem; }
.nav__list a {
  display: block; padding: 0.6rem 0; text-decoration: none; color: var(--white);
  font-family: var(--font-display); font-size: var(--step-2);
}
.nav__list a:hover { color: var(--gold-light); }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav { position: static; flex-direction: row; align-items: center; padding: 0; background: none; visibility: visible; opacity: 1; }
  .nav__list { display: flex; gap: 2rem; }
  .nav__list a { font-family: var(--font-body); font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; padding: 0.5rem 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: grid; align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 6rem;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.hero.has-media .hero__media { opacity: 1; }
.hero.has-media .hero__light {
  background:
    radial-gradient(ellipse 60% 50% at 78% 22%, rgb(230 207 152 / 0.18), transparent 70%),
    linear-gradient(90deg, rgb(11 11 12 / 0.88) 0%, rgb(11 11 12 / 0.55) 60%, rgb(11 11 12 / 0.35) 100%),
    linear-gradient(180deg, rgb(11 11 12 / 0.5) 0%, transparent 30%, transparent 70%, var(--black) 100%);
}
@media (max-width: 719px) {
  .hero.has-media .hero__light { background: linear-gradient(180deg, rgb(11 11 12 / 0.6), rgb(11 11 12 / 0.78) 50%, var(--black)); }
}
.hero__light {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 55% 45% at 78% 22%, rgb(230 207 152 / 0.28), transparent 70%),
    radial-gradient(ellipse 40% 60% at 12% 85%, rgb(156 122 60 / 0.22), transparent 70%),
    radial-gradient(circle at 50% 120%, rgb(201 164 92 / 0.18), transparent 55%),
    var(--black);
}
.hero__light::before, .hero__light::after {
  content: ''; position: absolute; top: -20%; width: 1px; height: 140%;
  background: linear-gradient(180deg, transparent, rgb(230 207 152 / 0.3), transparent);
  transform: rotate(18deg); transform-origin: top;
}
.hero__light::before { left: 62%; }
.hero__light::after { left: 74%; transform: rotate(26deg); opacity: 0.6; }

.hero__content { max-width: 60rem; }
.hero__title { font-size: var(--step-4); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 1.75rem; }
.hero__title em { background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: var(--step-1); color: var(--muted); max-width: 40rem; line-height: 1.55; margin-bottom: 2.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
@media (max-width: 479px) { .hero__actions .btn { width: 100%; } }

.hero__scroll { position: absolute; left: 50%; bottom: 1.75rem; translate: -50% 0; width: 44px; height: 44px; display: grid; place-items: center; }
.hero__scroll span { width: 1px; height: 36px; background: linear-gradient(var(--gold), transparent); animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Secciones ---------- */
.section { padding-block: var(--space-xl); }
.section__header { max-width: 46rem; margin-bottom: var(--space-l); }
.section__title { font-size: var(--step-3); margin-bottom: 1.25rem; }
.section__lead { color: var(--muted); font-size: var(--step-1); line-height: 1.6; font-family: var(--font-display); }

.intro { border-top: 1px solid var(--line); }
.intro__grid { display: grid; gap: var(--space-l); }
.intro__text { color: var(--muted); }
@media (min-width: 900px) { .intro__grid { grid-template-columns: 1.1fr 1fr; align-items: end; } }
.intro__media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.intro__media:empty { display: none; }
.intro__media figure { margin: 0; overflow: hidden; }
.intro__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 900px) { .intro__media { grid-column: 1 / -1; gap: 1.5rem; } .intro__media img { aspect-ratio: 3 / 2; } }

/* Servicios */
.services { background: var(--black-2); }
.services__grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }
.service {
  display: flex; flex-direction: column; gap: 1rem; padding: 2.25rem 1.75rem;
  background: var(--black-2); transition: background-color .4s var(--ease);
}
.service:hover { background: var(--black-3); }
.service__media { position: relative; margin: -2.25rem -1.75rem 0.5rem; overflow: hidden; }
.service__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
.service__track::-webkit-scrollbar { display: none; }
.service__track img { flex: 0 0 100%; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; scroll-snap-align: start; }
.service__nav {
  position: absolute; top: 50%; translate: 0 -50%; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer;
  background: rgb(11 11 12 / 0.6); color: var(--white); font: 400 1.6rem/1 var(--font-display);
  opacity: 0; transition: opacity .3s var(--ease), background-color .3s var(--ease);
}
.service__nav--prev { left: 0.6rem; }
.service__nav--next { right: 0.6rem; }
.service__nav:hover { background: var(--gold); color: var(--black); }
.service__nav:disabled { opacity: 0 !important; pointer-events: none; }
.service__media:hover .service__nav, .service__nav:focus-visible { opacity: 1; }
@media (hover: none) { .service__nav { display: none; } }
.service__dots { position: absolute; left: 0; right: 0; bottom: 0.75rem; display: flex; justify-content: center; gap: 0.25rem; }
.service__dots button {
  width: 1.5rem; height: 1.5rem; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center;
}
.service__dots button::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: rgb(247 244 238 / 0.55);
  box-shadow: 0 0 4px rgb(0 0 0 / 0.5); transition: background-color .3s, transform .3s;
}
.service__dots button[aria-current='true']::before { background: var(--gold-light); transform: scale(1.3); }
/* Ancha solo con 3 columnas: ocupa 2 junto a la última tarjeta normal (con 1 o 2 columnas es una tarjeta más) */
@media (min-width: 1024px) {
  .service--wide { grid-column: span 2; display: grid; grid-template-columns: 1.2fr 1fr; column-gap: 2.5rem; align-content: center; padding-left: 0; }
  .service--wide .service__media { grid-row: 1 / span 2; margin: -2.25rem 0; }
  .service--wide h3 { align-self: end; }
}
.services__cta { display: flex; justify-content: center; margin-top: var(--space-l); }
.service__media--empty {
  aspect-ratio: 3 / 2;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 18%, rgb(201 164 92 / 0.18) 18.3% 18.6%, transparent 19%),
    radial-gradient(circle at 50% 50%, transparent 0 28%, rgb(201 164 92 / 0.1) 28.3% 28.6%, transparent 29%),
    radial-gradient(ellipse at 50% 0%, rgb(201 164 92 / 0.12), transparent 70%),
    var(--black-3);
}
@media (max-width: 639px) { .service__media--empty { display: none; } }
.service h3 { font-size: var(--step-2); }
.service p { color: var(--muted); }

/* Carrusel */
.moments { padding-bottom: calc(var(--space-xl) * 0.8); }
.moments__header { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; }
.moments__controls { display: flex; gap: 0.75rem; margin-bottom: var(--space-l); }
@media (max-width: 719px) { .moments .section__header { margin-bottom: 0; } .moments__controls { margin-bottom: 1.5rem; } }
.round-btn {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: transparent; color: var(--gold-light); border: 1px solid var(--gold); cursor: pointer;
  font: 400 1.1rem var(--font-body); transition: background-color .3s var(--ease), color .3s var(--ease), opacity .3s;
}
.round-btn:hover:not(:disabled) { background: var(--gold); color: var(--black); }
.round-btn:disabled { opacity: 0.3; cursor: default; }
.carousel {
  display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(1rem, (100% - var(--container)) / 2);
  scroll-padding-inline: max(1rem, (100% - var(--container)) / 2);
}
.carousel::-webkit-scrollbar { display: none; }
.carousel figure { margin: 0; flex: 0 0 auto; scroll-snap-align: start; height: clamp(320px, 52vw, 560px); }
.carousel img { height: 100%; width: auto; max-width: 85vw; object-fit: cover; }
@media (min-width: 720px) { .carousel { padding-inline: max(2rem, (100% - var(--container)) / 2); scroll-padding-inline: max(2rem, (100% - var(--container)) / 2); } }

/* Banda final */
.band { position: relative; isolation: isolate; min-height: clamp(380px, 60vh, 640px); display: grid; align-items: center; overflow: hidden; }
.band__media, .band__media figure { position: absolute; inset: 0; margin: 0; z-index: -1; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(11 11 12 / 0.85), rgb(11 11 12 / 0.35)); }
.band__content { display: grid; justify-items: start; gap: 0.5rem; }
.band__content .section__title { max-width: 18ch; }
@media (max-width: 719px) { .band__content { justify-items: center; text-align: center; } }

/* Nosotras */
.about { background: var(--black-2); }
.founders { display: grid; gap: 2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.founder { text-align: center; }
.founder__portrait {
  aspect-ratio: 3 / 4; display: grid; place-items: center; margin-bottom: 1.25rem;
  border: 1px solid var(--line); background: radial-gradient(circle at 50% 30%, rgb(201 164 92 / 0.16), transparent 65%), var(--black);
  font-family: var(--font-display); font-size: 6rem; color: var(--gold-dark);
}
.founder__portrait.has-photo { display: block; overflow: hidden; }
.founder__portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder h3 { font-size: var(--step-2); }
.founder__role { color: var(--gold); font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; margin: 0.4rem 0 1rem; }
.founder__bio { color: var(--muted); font-size: var(--step--1); max-width: 32ch; margin-inline: auto; }
@media (max-width: 719px) {
  /* Las tres en la misma fila también en móvil: todo más compacto */
  .founders { gap: 0.75rem; }
  .founder__portrait { font-size: 3rem; margin-bottom: 0.75rem; }
  .founder h3 { font-size: var(--step-0); }
  .founder__role { font-size: 0.62rem; letter-spacing: 0.08em; margin: 0.3rem 0 0.6rem; overflow-wrap: anywhere; hyphens: auto; }
  .founder__bio { font-size: 0.75rem; line-height: 1.45; }
}
.founders__label {
  text-align: center; font-size: var(--step--1); font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 2rem; display: flex; align-items: center; gap: 1.25rem;
}
.founders__label::before, .founders__label::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* Proceso */
.steps { display: grid; gap: 1.5rem; counter-reset: step; }
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { text-align: center; }
  .step__num { margin-inline: auto; }
}
.step { position: relative; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.step__num {
  display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.25rem;
  border: 1px solid var(--gold); border-radius: 50%;
  font-family: var(--font-display); font-size: 1.5rem; color: var(--gold);
}
.step p { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.35; }
@media (max-width: 799px) {
  /* En móvil: número a la izquierda y texto al lado */
  .steps { gap: 1.25rem; }
  .step { display: flex; align-items: center; gap: 1rem; padding-top: 1.25rem; }
  .step__num { flex: none; margin-bottom: 0; }
}

/* Presupuesto / formulario */
.quote { background: var(--black-2); border-top: 1px solid var(--line); }
.quote__grid { display: grid; gap: var(--space-l); }
@media (min-width: 960px) { .quote__grid { grid-template-columns: 1fr 1.4fr; align-items: start; } .quote__intro { position: sticky; top: calc(var(--header-h) + 2rem); } }
.quote__intro p:not(.eyebrow) { color: var(--muted); margin-bottom: 1.75rem; }
@media (max-width: 959px) { .quote__intro .btn { display: flex; width: fit-content; margin-inline: auto; } }

.form { display: grid; gap: 1.25rem; padding: clamp(1.25rem, 4vw, 2.5rem); background: var(--black); border: 1px solid var(--line); }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.45rem; align-content: start; }
.field > label:first-child { font-size: var(--step--1); font-weight: 500; letter-spacing: 0.04em; }
.field input:not([type='checkbox']), .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: 0.75rem 0.9rem;
  background: var(--black-2); color: var(--white); border: 1px solid #3a3833; border-radius: var(--radius);
  font: inherit; font-size: 1rem; /* 16px evita zoom en iOS */
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.field [aria-invalid='true'] { border-color: var(--error); }
.field input:disabled { opacity: 0.5; }
.field input[type='date'] { color-scheme: dark; }
.field__error { margin: 0; min-height: 0; color: var(--error); font-size: var(--step--1); }
.field__error:empty { display: none; }

.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: var(--step--1); cursor: pointer; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; accent-color: var(--gold); flex: none; }
.check--inline { align-items: center; color: var(--muted); }
.check--inline input { margin-top: 0; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; padding: 0.9rem 1rem; border-left: 3px solid var(--gold); background: var(--black-2); font-size: var(--step--1); }
.form__status[data-kind='error'] { border-color: var(--error); color: var(--error); }
.form__status[data-kind='success'] { border-color: var(--success); color: var(--success); }
.form__note { margin: 0; color: var(--muted); font-size: 0.8rem; }

/* Contacto */
.contact__inner { text-align: center; display: grid; justify-items: center; gap: 2rem; }
.contact__list { display: grid; gap: 1px; width: min(100%, 48rem); background: var(--line); border: 1px solid var(--line); }
@media (min-width: 720px) { .contact__list { grid-auto-flow: column; grid-auto-columns: minmax(max-content, 1fr); } }
.contact__list li { display: grid; gap: 0.35rem; padding: 1.5rem 1rem; background: var(--black); }
.contact__list li > span:first-child { font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
.contact__list a { font-family: var(--font-display); font-size: var(--step-1); text-decoration: none; word-break: break-word; }
.contact__list a:hover { text-decoration: underline; }
.contact__list a[data-contact="email"] { white-space: nowrap; word-break: normal; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 2.5rem 0 6rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__links a, .footer__copy { color: var(--muted); font-size: var(--step--1); }
.footer__copy { margin: 0; }

/* Redes sociales (se rellenan desde SOCIAL en config.js) */
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.social[hidden] { display: none; }
.social a { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase; }
.social a:hover { text-decoration: underline; }
.social svg { width: 1.25rem; height: 1.25rem; flex: none; }

/* WhatsApp flotante */
.fab {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold-gradient); color: var(--black);
  box-shadow: 0 10px 30px -8px rgb(0 0 0 / 0.7);
  transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
}
.fab:hover { transform: scale(1.06); }
.fab.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); }

/* Animaciones de entrada (solo con JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* Páginas legales */
.legal { padding: calc(var(--header-h) + 3rem) 0 var(--space-xl); }
.legal .container { max-width: 48rem; }
.legal h1 { font-size: var(--step-3); margin-bottom: 2rem; }
.legal h2 { font-size: var(--step-2); margin: 2.5rem 0 1rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1em; }
.pending { padding: 1rem 1.25rem; border: 1px dashed var(--gold); color: var(--gold-light); margin-bottom: 2rem; }
