:root {
  --bg: #f0f1eb;
  --surface: rgba(244, 246, 239, 0.82);
  --surface-strong: #f5f7f0;
  --card: #f9faf4;
  --ink: #1a2620;
  --muted: #4d6357;
  --accent: #3b5c49;
  --accent-dark: #263f31;
  --line: rgba(26, 38, 32, 0.1);
  --shadow: 0 24px 60px rgba(18, 42, 28, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(80, 130, 95, 0.16), transparent 32%),
    radial-gradient(circle at 85% 15%, rgba(155, 196, 148, 0.16), transparent 22%),
    linear-gradient(180deg, #f2f3ec 0%, #e5eae0 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.intro-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-bottom: 18px;
  padding: 22px 22px 8px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 250, 242, 0.86), rgba(247, 239, 229, 0.7));
  box-shadow: var(--shadow);
}

.topbar-standalone {
  grid-column: 1 / -1;
  margin-bottom: 28px;
}

.intro-hero-copy {
  max-width: 760px;
  padding: 0 6px 12px;
}

.intro-hero-card {
  align-self: center;
}

.hero-photo {
  min-width: 0;
  align-self: flex-start;
  margin-top: -40px;
  justify-self: center;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  transform: translateZ(0);
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(245,239,230,1), rgba(245,239,230,0) 10%),
    linear-gradient(to top, rgba(239,228,213,1), rgba(239,228,213,0) 10%),
    linear-gradient(to right, rgba(245,239,230,1), rgba(245,239,230,0) 8%),
    linear-gradient(to left, rgba(245,239,230,1), rgba(245,239,230,0) 8%),
    radial-gradient(circle at top left, rgba(245,239,230,1), rgba(245,239,230,0) 14%),
    radial-gradient(circle at top right, rgba(245,239,230,1), rgba(245,239,230,0) 14%),
    radial-gradient(circle at bottom left, rgba(239,228,213,1), rgba(239,228,213,0) 14%),
    radial-gradient(circle at bottom right, rgba(239,228,213,1), rgba(239,228,213,0) 14%);
}

.hero-couple-photo {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Hero a pantalla completa con foto de fondo ===== */
.intro-hero.hero-fullscreen {
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
  gap: 0;
  margin-top: -24px;
  margin-bottom: 32px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 24px clamp(20px, 5vw, 64px) 0;
  min-height: 100svh;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: #1a1814;
  position: relative;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

/* Desktop (landscape viewport): raise crop so heads + torso stay visible */
.hero-slide--catedral { background-position: center 55%; }
.hero-slide--paseo { background-position: center 30%; }
.hero-slide--balcon { background-position: center 32%; }
.hero-slide--vista { background-position: center 18%; }
.hero-slide--abrazo { background-position: center 22%; }
.hero-slide--playa { background-position: center 16%; }

.hero-slides::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 24, 20, 0.5), rgba(26, 24, 20, 0.32) 45%, rgba(26, 24, 20, 0.6));
}

.hero-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(78px + env(safe-area-inset-bottom));
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dots:empty {
  display: none;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(247, 243, 236, 0.45);
  cursor: pointer;
  transition: background 220ms ease, transform 220ms ease;
}

.hero-dot.is-active {
  background: #f7f3ec;
  transform: scale(1.3);
}

.intro-hero.hero-fullscreen .topbar-standalone {
  margin-bottom: 0;
  position: relative;
  z-index: 3;
}

.intro-hero.hero-fullscreen .brand,
.intro-hero.hero-fullscreen .nav-links a {
  color: #f7f3ec;
}

.intro-hero.hero-fullscreen .nav-links a:hover {
  color: #fff;
}

.intro-hero.hero-fullscreen .language-switch {
  color: #f7f3ec;
  border-color: rgba(247, 243, 236, 0.5);
}

.intro-hero.hero-fullscreen .lang-button {
  color: rgba(247, 243, 236, 0.7);
}

.intro-hero.hero-fullscreen .lang-button.is-active {
  color: #fff;
}

/* ===== Barra del hero: 3 zonas (menú / marca / idiomas) ===== */
.intro-hero.hero-fullscreen .topbar-standalone {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.intro-hero.hero-fullscreen .nav-menu {
  flex: 1 1 0;
  display: flex;
  justify-content: flex-start;
}

.intro-hero.hero-fullscreen .brand {
  flex: 0 0 auto;
  text-align: center;
}

.intro-hero.hero-fullscreen .language-switch {
  flex: 1 1 0;
  justify-content: flex-end;
}

.intro-hero.hero-fullscreen .nav-toggle {
  color: #f7f3ec;
}

/* Botón hamburguesa */
.nav-menu {
  position: relative;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 11px 9px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-menu.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-menu.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-menu.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menú desplegable */
.nav-menu .nav-links {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  flex-direction: column;
  gap: 2px;
  min-width: 230px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(22, 24, 19, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  z-index: 30;
}

.nav-menu.is-open .nav-links {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.intro-hero.hero-fullscreen .nav-menu .nav-links a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 1rem;
  color: #f4efe7;
}

.intro-hero.hero-fullscreen .nav-menu .nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero-fullscreen-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.intro-hero.hero-fullscreen .intro-hero-copy {
  max-width: 720px;
  padding: 0;
  margin: 0 auto;
}

.intro-hero.hero-fullscreen .hero-button-illustration {
  display: block;
  width: 64px;
  height: 48px;
  margin: 6px auto 10px;
  /* PNG es line-art negro; lo pasamos a blanco para que destaque sobre la foto */
  filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
  opacity: 0.95;
}

.intro-hero.hero-fullscreen .eyebrow {
  color: #f3ede2;
  letter-spacing: 0.32em;
  margin-bottom: 0;
}

.intro-hero.hero-fullscreen h1 {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.intro-hero.hero-fullscreen .hero-date {
  color: #f4efe7;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.intro-hero.hero-fullscreen .hero-actions {
  justify-content: center;
}

.intro-hero.hero-fullscreen .button-secondary {
  border: 1.5px solid rgba(247, 243, 236, 0.85);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.intro-hero.hero-fullscreen .button-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(247, 243, 236, 0.75);
  border-radius: 16px;
  z-index: 3;
  display: flex;
  justify-content: center;
}

.hero-scroll-cue span {
  display: block;
  width: 4px;
  height: 8px;
  margin-top: 7px;
  border-radius: 4px;
  background: #f7f3ec;
  animation: heroScroll 1.6s ease-in-out infinite;
}

#scrollTopBtn {
  position: fixed;
  right: clamp(16px, 4vw, 32px);
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 52px;
  height: 52px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1.5px solid rgba(38, 63, 49, 0.4);
  border-radius: 50%;
  background: rgba(245, 247, 240, 0.06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--accent-dark);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(18, 42, 28, 0.15);
  z-index: 9999;
}

#scrollTopBtn.is-shown {
  display: flex;
}

#scrollTopBtn:hover {
  background: rgba(245, 247, 240, 0.45);
}

#scrollTopBtn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes heroScroll {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  60% { opacity: 1; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(14px); }
}

.hero,
.section,
.highlight-box,
.map-card,
.info-card,
.hero-card,
.wedding-form {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 250, 242, 0.9), rgba(250, 237, 220, 0.7));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(59, 92, 73, 0.1);
}

.topbar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12rem;
}

.lang-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  opacity: 0.65;
}

.lang-button.is-active {
  color: var(--accent-dark);
  opacity: 1;
  font-weight: 800;
}

.brand,
h3 {
  font-family: "Cormorant Garamond", serif;
}

h1,
h2 {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
}

.brand {
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-copy {
  padding: 32px 8px 16px;
}

.hero-copy-compact {
  padding: 8px 8px 8px;
}

.eyebrow,
.info-label,
.card-label {
  text-transform: uppercase;
  letter-spacing: 0.18rem;
  font-size: 0.78rem;
  color: var(--accent-dark);
  font-weight: 700;
}

.info-label {
  font-family: "Great Vibes", cursive;
  font-size: 2.2rem;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 400;
  line-height: 1;
  margin: 0 0 2px;
}

.card-illustration,
.hero-button-illustration,
.section-illustration {
  display: block;
  color: var(--accent-dark);
}

.card-illustration {
  margin-bottom: 12px;
}

.hero-button-illustration {
  margin-bottom: 18px;
}

.section-illustration {
  margin-bottom: 14px;
}

/* Ilustraciones PNG — sin fondo blanco */
.ilust-boton,
.ilust-copa,
.ilust-cocktel,
.ilust-anillos,
.ilust-donosti {
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
}

.ilust-boton {
  background-image: url('ilustracion-boton-grueso.png');
  background-size: cover;
  width: 88px;
  height: 66px;
}

.ilust-copa {
  background-image: url('ilustracion-copa.png');
  background-size: cover;
  width: 80px;
  height: 130px;
}

.ilust-cocktel {
  background-image: url('ilustracion-cocktel.png');
  background-size: cover;
  width: 110px;
  height: 82px;
}

.ilust-anillos {
  background-image: url('ilustracion-anillos.png');
  background-size: cover;
  width: 110px;
  height: 82px;
}

.ilust-donosti {
  background-image: url('ilustracion-donosti.png');
  background-size: 100% auto;
  background-position: center 50%;
  width: 100%;
  height: 180px;
}

.ilust-bus {
  background-image: url('ilustracion-bus.png');
  background-size: cover;
  width: 230px;
  height: 115px;
  transform: scaleX(-1) translateY(-24px);
}

h1 {
  margin: 8px 0 12px;
  font-size: clamp(3.4rem, 7vw, 6rem);
  line-height: 1.1;
  font-weight: 400;
}

html[lang="es"] .hero h1,
html[lang="es"] .intro-hero h1 {
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-date {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 18px;
}

.hero-text,
.section-text,
.highlight-box p,
.info-card p,
.map-card p,
.attendance-note {
  color: var(--muted);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff8f2;
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.hero-card,
.map-card,
.info-card,
.wedding-form,
.highlight-box {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card {
  align-self: end;
  padding: 24px;
  border-radius: 28px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.countdown div {
  padding: 14px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.countdown strong {
  display: block;
  font-size: 2rem;
}

.card-note {
  margin: 0;
  color: var(--muted);
}

.section {
  margin-top: 24px;
  padding: 32px 28px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: rgba(255, 251, 245, 0.68);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 24px;
}

.details-heading {
  max-width: none;
}

.details-heading .section-text {
  max-width: none;
}

h2 {
  margin: 8px 0 16px;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.15;
  font-weight: 400;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.details-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 18px;
  align-items: start;
}

.info-card {
  padding: 22px;
  border-radius: 24px;
}

.details-card {
  min-height: 100%;
  position: relative;
}

.details-card .card-illustration {
  position: absolute;
  top: 20px;
  right: 20px;
  margin: 0;
  width: 84px;
  height: 62px;
}

.details-card .info-label,
.details-card > h3,
.details-card .details-place {
  padding-right: 96px;
}

/* El título no debe partirse por el guion (p. ej. "Aurre-ezkontza") */
.details-card > h3 {
  white-space: nowrap;
}

.details-card-timeline {
  background: linear-gradient(135deg, rgba(255, 250, 242, 0.92), rgba(246, 237, 225, 0.86));
}

.details-place {
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-weight: 700;
}

.details-schedule {
  display: grid;
  gap: 12px;
}

.details-schedule-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.details-schedule-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.details-schedule-item span {
  font-weight: 800;
  color: var(--accent-dark);
}

.details-schedule-item p {
  margin: 0;
  color: var(--ink);
}

.details-note {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.interactive-card {
  display: block;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.interactive-card:hover {
  transform: translateY(-2px);
  border-color: rgba(157, 92, 77, 0.35);
}

.info-card h3,
.map-card h3 {
  margin: 10px 0 10px;
  font-size: 2rem;
}

.layout-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: start;
}

.timeline {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.timeline-item span {
  font-weight: 800;
  color: var(--accent-dark);
}

.timeline-item p {
  margin: 0;
}

.map-card {
  padding: 24px;
  border-radius: 28px;
}

.city-feature {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
}

/* Sin degradados laterales en el mapa de Donostia para que se vea "Igeldo" */
.city-feature .venue-feature-media::before {
  background:
    linear-gradient(to bottom, rgba(245, 239, 230, 0.98), rgba(245, 239, 230, 0) 8%),
    linear-gradient(to top, rgba(239, 228, 213, 0.98), rgba(239, 228, 213, 0) 8%);
}

.city-skyline {
  display: block;
  color: var(--accent-dark);
  opacity: 1;
  margin-bottom: 20px;
}

.city-feature .venue-feature-copy h2 {
  text-align: left;
}

.city-feature .venue-feature-copy .section-text {
  max-width: 56ch;
}

.city-feature .venue-feature-media {
  padding: 0 6%;
}

.city-feature .venue-feature-media img {
  object-fit: contain;
  object-position: center center;
}

.travel-copy {
  max-width: 820px;
}

.travel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.travel-heading h2 {
  margin: 0;
  flex: 1 1 auto;
}

.travel-heading h2 span {
  white-space: nowrap;
}

.travel-heading .ilust-bus {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.parking-layout {
  display: grid;
  gap: 22px;
}

.parking-heading {
  max-width: none;
  margin-bottom: 0;
}

.parking-content {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
  align-items: start;
}

.parking-donosti-card,
.parking-copy-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.parking-donosti-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background: rgba(255, 250, 242, 0.86);
}

.parking-map-composition {
  position: relative;
  min-height: 520px;
}

.parking-donosti-card::before,
.parking-donosti-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.parking-donosti-card::before {
  background:
    linear-gradient(to bottom, rgba(245, 239, 230, 0.98), rgba(245, 239, 230, 0) 17%),
    linear-gradient(to top, rgba(239, 228, 213, 0.98), rgba(239, 228, 213, 0) 17%),
    linear-gradient(to right, rgba(245, 239, 230, 0.94), rgba(245, 239, 230, 0) 14%),
    linear-gradient(to left, rgba(245, 239, 230, 0.94), rgba(245, 239, 230, 0) 14%),
    radial-gradient(circle at top left, rgba(245, 239, 230, 1), rgba(245, 239, 230, 0) 22%),
    radial-gradient(circle at top right, rgba(245, 239, 230, 1), rgba(245, 239, 230, 0) 22%),
    radial-gradient(circle at bottom left, rgba(239, 228, 213, 1), rgba(239, 228, 213, 0) 24%),
    radial-gradient(circle at bottom right, rgba(239, 228, 213, 1), rgba(239, 228, 213, 0) 24%);
}

.parking-map-main {
  position: relative;
  width: min(78%, 690px);
  z-index: 1;
}

.parking-map-main-image,
.parking-map-detail-image {
  display: block;
  width: 100%;
  height: auto;
}

.parking-map-main-image {
  aspect-ratio: 953 / 716;
  background: #c2ddea;
  border-radius: 22px;
  border: 1px solid rgba(127, 108, 88, 0.2);
  box-shadow: 0 20px 40px rgba(95, 71, 51, 0.12);
}

.parking-map-focus {
  position: absolute;
  left: 7%;
  top: 40%;
  width: 18%;
  height: 35%;
  pointer-events: none;
  border: 3px solid rgba(228, 64, 64, 0.9);
  border-radius: 18px;
  box-shadow:
    0 0 0 6px rgba(255, 248, 241, 0.62),
    0 14px 28px rgba(183, 55, 55, 0.18);
}

.parking-map-focus::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1.5px dashed rgba(255, 248, 241, 0.95);
  border-radius: 12px;
}

.parking-map-focus-dot {
  position: absolute;
  left: 25%;
  top: 57.5%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #de4c4c;
  box-shadow: 0 0 0 5px rgba(255, 248, 241, 0.72);
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
}

.parking-map-connector {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.parking-map-connector path {
  fill: none;
  stroke: rgba(222, 76, 76, 0.72);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.parking-map-connector circle {
  fill: #de4c4c;
  opacity: 0.95;
}

.parking-map-zoom {
  position: absolute;
  right: 2%;
  bottom: 2%;
  width: min(42%, 360px);
  z-index: 3;
  padding: 10px;
  border-radius: 28px;
  background: rgba(255, 250, 242, 0.96);
  border: 1px solid rgba(127, 108, 88, 0.2);
  box-shadow: 0 28px 48px rgba(95, 71, 51, 0.18);
  transform: rotate(1.35deg);
}

.parking-map-zoom-dot {
  position: absolute;
  left: -10px;
  top: 60%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #de4c4c;
  box-shadow: 0 0 0 5px rgba(255, 248, 241, 0.72);
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
}

.parking-map-zoom-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.parking-map-zoom-chip {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.94);
  border: 1px solid rgba(127, 108, 88, 0.16);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.parking-map-detail-image {
  aspect-ratio: 903 / 831;
  border-radius: 20px;
  border: 1px solid rgba(127, 108, 88, 0.2);
  box-shadow: 0 12px 24px rgba(95, 71, 51, 0.08);
}

.parking-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(39, 29, 21, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.parking-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.parking-modal-panel {
  width: min(920px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 18px;
  border-radius: 30px;
  border: 1px solid rgba(127, 108, 88, 0.18);
  background: rgba(255, 250, 242, 0.98);
  box-shadow: 0 36px 80px rgba(39, 29, 21, 0.24);
}

.parking-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.parking-modal-header .eyebrow {
  margin: 0;
}

.parking-modal-close {
  border: 1px solid rgba(127, 108, 88, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.94);
  color: var(--accent-dark);
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.parking-modal-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid rgba(127, 108, 88, 0.16);
  box-shadow: 0 16px 30px rgba(95, 71, 51, 0.1);
}

.parking-copy-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.parking-copy-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.parking-lane-reference {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 247, 236, 0.78);
  border: 1px solid rgba(127, 108, 88, 0.14);
}

.parking-lane-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(127, 108, 88, 0.16);
  box-shadow: 0 10px 20px rgba(95, 71, 51, 0.08);
}

.parking-lane-copy {
  display: grid;
  gap: 6px;
}

.parking-lane-title {
  margin: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

.parking-important {
  font-weight: 700;
  color: var(--accent-dark);
}

.city-guide {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.city-guide-copy {
  padding: 22px 22px 10px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 250, 242, 0.74);
  box-shadow: var(--shadow);
}

.city-guide-copy h3 {
  margin: 0 0 12px;
  font-size: 2rem;
}

.city-guide-copy p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.68;
}

.donosti-map-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 250, 242, 0.7);
  box-shadow: var(--shadow);
}

.donosti-map {
  display: block;
  width: 100%;
  height: auto;
}

.donosti-map text {
  fill: var(--accent-dark);
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.map-marker text {
  font-size: 14px;
  font-weight: 800;
}

.bus-stops-list {
  margin: 10px 0 16px 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bus-stop-group {
  --barrio: var(--accent);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 14px 18px;
  border-radius: 16px;
  background: var(--card);
  border-left: 5px solid var(--barrio);
  box-shadow: 0 6px 18px rgba(18, 42, 28, 0.06);
}

/* Colores a juego con cada barrio de la guía de Donosti:
   Gros marrón · Centro azul marino · Amara mostaza · Antiguo terracota */
.bus-stop-group:nth-child(1) { --barrio: #8a5a39; } /* Gros — marrón */
.bus-stop-group:nth-child(2) { --barrio: #305071; } /* Centro — azul marino */
.bus-stop-group:nth-child(3) { --barrio: #b08a2e; } /* Amara — mostaza */
.bus-stop-group:nth-child(4) { --barrio: #c2703d; } /* Antiguo — terracota */

.bus-barrio {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--barrio);
  padding: 3px 11px;
  border-radius: 999px;
}

.bus-stop-item {
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--text);
  display: block;
}

.bus-stop-item + .bus-stop-item {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.bus-stop-item span {
  color: var(--text-light);
  font-size: 0.85rem;
}

.map-link {
  font-size: 0.82rem;
  color: var(--accent-dark);
  text-decoration: underline;
  white-space: nowrap;
  margin-left: 6px;
}

.map-link:hover {
  opacity: 0.7;
}

.bus-alert {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(59, 92, 73, 0.1);
}

.bus-alert strong {
  display: block;
  margin-bottom: 8px;
}

.card-link {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 800;
  color: var(--accent-dark);
}

.card-link-light {
  color: #fff8f2;
}

.full-width {
  width: 100%;
  margin-top: 12px;
}

.highlight {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.highlight-box {
  padding: 32px 28px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(59, 92, 73, 0.92), rgba(38, 63, 49, 0.94)),
    var(--surface);
  color: #f4f8f2;
}

.highlight-box .eyebrow,
.highlight-box p {
  color: rgba(244, 248, 242, 0.88);
}

.highlight-box h2 {
  color: #f4f8f2;
}

.wedding-form {
  padding: 24px;
  border-radius: 28px;
}

.venue-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 24px;
  padding: 20px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(206, 222, 181, 0.45), transparent 30%),
    linear-gradient(135deg, rgba(252, 248, 242, 0.92), rgba(243, 236, 222, 0.74));
  border: 1px solid rgba(44, 33, 28, 0.08);
  box-shadow: var(--shadow);
}

.venue-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 6px 8px 6px;
}

.venue-feature-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 34px;
}

.venue-feature-media::before,
.venue-feature-media::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
  inset: 0;
}

.venue-feature-media::before {
  background:
    linear-gradient(to bottom, rgba(245, 239, 230, 0.98), rgba(245, 239, 230, 0) 18%),
    linear-gradient(to top, rgba(239, 228, 213, 0.98), rgba(239, 228, 213, 0) 18%),
    linear-gradient(to right, rgba(245, 239, 230, 0.96), rgba(245, 239, 230, 0) 15%),
    linear-gradient(to left, rgba(245, 239, 230, 0.96), rgba(245, 239, 230, 0) 15%),
    radial-gradient(circle at top left, rgba(245, 239, 230, 1), rgba(245, 239, 230, 0) 22%),
    radial-gradient(circle at top right, rgba(245, 239, 230, 1), rgba(245, 239, 230, 0) 22%),
    radial-gradient(circle at bottom left, rgba(239, 228, 213, 1), rgba(239, 228, 213, 0) 24%),
    radial-gradient(circle at bottom right, rgba(239, 228, 213, 1), rgba(239, 228, 213, 0) 24%);
}

.venue-feature-media::after {
  box-shadow: inset 0 0 90px rgba(245, 239, 230, 0.55);
}

.venue-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02) contrast(1.02);
}

.venue-feature-copy h2 {
  max-width: 18ch;
}

#katxina .venue-feature-heading {
  position: relative;
  padding-right: 104px;
}

#katxina .section-illustration.ilust-copa {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  margin: 0;
}


.venue-feature-copy .section-text {
  max-width: 58ch;
}

.subsection {
  margin: 28px 0;
  padding-top: 8px;
}

.subsection-heading {
  margin-bottom: 16px;
}

.subsection h3 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.guest-card {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid rgba(44, 33, 28, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
}

.guest-card-title {
  margin: 0 0 14px;
  font-size: 1.4rem;
  color: var(--accent-dark);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.compact-grid {
  align-items: end;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 16px;
}

.field-note {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
}

.local-test-note {
  display: inline-flex;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(47, 107, 62, 0.1);
  color: #2f6b3e;
  font-weight: 700;
}

.local-test-toggle {
  margin-top: 12px;
  border: 1px solid rgba(47, 107, 62, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #2f6b3e;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.local-responses-panel {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 242, 0.76);
}

.local-responses-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.local-responses-header h3 {
  margin: 0;
}

.local-responses-close {
  border: 1px solid rgba(127, 108, 88, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-dark);
  padding: 9px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.local-dashboard-controls {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.local-filter {
  margin: 0;
}

.local-filter span {
  font-size: 0.92rem;
  color: var(--accent-dark);
}

.local-filter-search {
  grid-column: span 2;
}

.local-filters-reset {
  align-self: end;
  min-height: 52px;
  border: 1px solid rgba(127, 108, 88, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-dark);
  padding: 0 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.local-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.local-stat-card {
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(127, 108, 88, 0.14);
  background: rgba(255, 255, 255, 0.88);
}

.local-stat-label {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.local-stat-card strong {
  font-size: 2rem;
  color: var(--accent-dark);
}

.local-names-block {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(127, 108, 88, 0.14);
  background: rgba(255, 255, 255, 0.7);
}

.local-names-title {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-weight: 700;
}

.local-names-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.local-name-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(157, 92, 77, 0.1);
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.local-empty-note {
  margin: 0;
  color: var(--muted);
}

.local-table-section {
  margin-top: 18px;
}

.local-table-heading {
  margin-bottom: 10px;
}

.local-table-heading h4 {
  margin: 0;
  font-size: 1.6rem;
}

.local-table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid rgba(127, 108, 88, 0.14);
  background: rgba(255, 255, 255, 0.88);
}

.local-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.local-table th,
.local-table td {
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(127, 108, 88, 0.12);
}

.local-table th {
  position: sticky;
  top: 0;
  background: rgba(248, 241, 233, 0.98);
  color: var(--accent-dark);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.local-table td {
  color: var(--muted);
  line-height: 1.55;
}

.local-table tbody tr:last-child td {
  border-bottom: 0;
}

.local-table-stack-item {
  display: grid;
  gap: 2px;
  margin-bottom: 8px;
}

.local-table-stack-item:last-child {
  margin-bottom: 0;
}

.local-table-stack-item strong {
  color: var(--ink);
}

.local-table-muted {
  color: var(--muted);
}

.local-table-empty {
  text-align: center;
  color: var(--muted);
}

.local-table-actions-cell {
  white-space: nowrap;
}

.local-delete-button {
  border: 1px solid rgba(190, 80, 80, 0.22);
  border-radius: 999px;
  background: rgba(255, 242, 242, 0.96);
  color: #a94444;
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.local-delete-button:hover {
  background: rgba(252, 232, 232, 0.98);
}

.allergy-matrix {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.checkbox-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(44, 33, 28, 0.1);
  font-weight: 600;
}

.checkbox-chip input {
  width: 18px;
  height: 18px;
  margin: 0;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(44, 33, 28, 0.16);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(157, 92, 77, 0.22);
  border-color: var(--accent);
}

.conditional-block {
  transition: opacity 180ms ease;
}

.is-hidden {
  display: none;
}

.subsection:target {
  scroll-margin-top: 24px;
}

.attendance-note {
  margin: 8px 0 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(157, 92, 77, 0.08);
}

.form-status {
  min-height: 24px;
  margin: 0 0 18px;
  font-weight: 700;
  color: var(--accent-dark);
}

.form-status.is-error {
  color: #9b2c2c;
}

.form-status.is-success {
  color: #2f6b3e;
}

.hidden {
  display: none;
}

@media (max-width: 860px) {
  .intro-hero,
  .hero,
  .layout-split,
  .parking-content,
  .info-grid,
  .details-grid,
  .form-grid,
  .allergy-matrix,
  .venue-feature {
    grid-template-columns: 1fr;
  }

  .details-schedule-item {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 8px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-standalone {
    margin-bottom: 18px;
  }

  .language-switch {
    order: -1;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .intro-hero.hero-fullscreen .topbar-standalone {
    flex-direction: row;
    align-items: center;
  }

  .intro-hero.hero-fullscreen .language-switch {
    order: 0;
  }

  .local-responses-header {
    flex-direction: column;
  }

  .local-dashboard-controls,
  .local-stats-grid {
    grid-template-columns: 1fr;
  }

  .local-filter-search {
    grid-column: auto;
  }

  .local-filters-reset {
    width: 100%;
  }

  .parking-donosti-card {
    padding: 18px;
  }

  .parking-map-composition {
    min-height: 0;
    padding-bottom: 6px;
  }

  .parking-map-main {
    width: 100%;
  }

  .parking-map-focus {
    width: 22%;
    height: 34%;
  }

  .parking-map-connector {
    display: none;
  }

  .parking-map-focus-dot,
  .parking-map-zoom-dot {
    display: none;
  }

  .parking-map-zoom {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(84%, 360px);
    margin: -22px 0 0 auto;
    transform: rotate(0.8deg);
  }

  .parking-lane-reference {
    grid-template-columns: 120px 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 100%);
    padding-top: 12px;
    padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  }

  /* Mobile (portrait viewport): keep the framing that already looks good */
  .hero-slide--catedral { background-position: center 28%; }
  .hero-slide--paseo { background-position: center center; }
  .hero-slide--balcon { background-position: center center; }
  .hero-slide--vista { background-position: center center; }
  .hero-slide--abrazo { background-position: center center; }
  .hero-slide--playa { background-position: center center; }

  .travel-heading {
    gap: 12px;
  }

  .travel-heading .ilust-bus {
    width: 150px;
    height: 75px;
    transform: scaleX(-1) translateY(-16px);
  }

  .hero,
  .section,
  .highlight-box {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .intro-hero.hero-fullscreen {
    margin-top: -12px;
    padding: 16px 20px 0;
  }

  .intro-hero.hero-fullscreen .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .intro-hero.hero-fullscreen .hero-actions .button {
    width: 100%;
  }


  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  .details-schedule-item {
    grid-template-columns: 1fr;
  }

  .countdown {
    gap: 8px;
  }

  .countdown strong {
    font-size: 1.6rem;
  }

  .parking-map-focus {
    left: 8%;
    top: 41%;
    width: 24%;
    height: 33%;
  }

  .parking-map-zoom {
    width: 100%;
    margin-top: 16px;
    transform: none;
  }

  .parking-lane-reference {
    grid-template-columns: 1fr;
  }

  .parking-modal {
    padding: 14px;
  }

  .parking-modal-panel {
    width: min(100%, calc(100vw - 20px));
    padding: 14px;
    border-radius: 24px;
  }

  .parking-modal-header {
    align-items: flex-start;
  }

  .donosti-map text {
    font-size: 12px;
  }

  .map-marker text {
    font-size: 11px;
  }

}

/* ─── Móvil en horizontal (poca altura): compactar el hero ───
   Evita que el texto centrado se solape con los puntos y la
   flecha de scroll cuando la pantalla es muy baja. */
@media (orientation: landscape) and (max-height: 520px) {
  .intro-hero.hero-fullscreen {
    min-height: 100svh;
    padding: 8px clamp(20px, 5vw, 64px) 0;
  }

  .intro-hero.hero-fullscreen .topbar-standalone {
    margin-bottom: 4px;
  }

  .hero-fullscreen-center {
    /* dejamos hueco abajo para puntos/flecha y arriba para la barra */
    align-items: center;
    padding: 6px 0 40px;
  }

  .intro-hero.hero-fullscreen .hero-button-illustration {
    width: 44px;
    height: 33px;
    margin: 2px auto 4px;
  }

  .intro-hero.hero-fullscreen .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.26em;
  }

  .intro-hero.hero-fullscreen h1 {
    font-size: 2.3rem;
    margin: 2px 0 6px;
    line-height: 1.05;
  }

  .intro-hero.hero-fullscreen .hero-date {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .intro-hero.hero-fullscreen .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: auto;
    max-width: none;
    margin: 0 auto;
  }

  .intro-hero.hero-fullscreen .hero-actions .button {
    width: auto;
  }

  /* En tan poca altura no cabe la flecha de scroll */
  .hero-scroll-cue {
    display: none;
  }

  .hero-dots {
    bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

/* ─── 3D EFFECTS ─────────────────────────────────── */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.page-shell { position: relative; z-index: 1; }

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--accent-dark);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 9999;
  pointer-events: none;
  opacity: 0.8;
}

/* Bloques de sección: entran desde abajo con escala */
.ae-block {
  opacity: 0;
  transform: translateY(80px) scale(0.95);
  transition: opacity 1s cubic-bezier(0.22,1,0.36,1),
              transform 1s cubic-bezier(0.22,1,0.36,1);
}
.ae-block.ae-visible {
  opacity: 1;
  transform: none;
}

/* Tarjetas: escala más dramática + stagger */
.ae-card {
  opacity: 0;
  transform: translateY(100px) scale(0.9);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1) calc(var(--ae-i, 0) * 0.14s),
              transform 0.9s cubic-bezier(0.22,1,0.36,1) calc(var(--ae-i, 0) * 0.14s);
}
.ae-card.ae-visible {
  opacity: 1;
  transform: none;
}

/* Ítems de contenido */
.ae-item {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1) calc(var(--ae-i, 0) * 0.09s),
              transform 0.75s cubic-bezier(0.22,1,0.36,1) calc(var(--ae-i, 0) * 0.09s);
}
.ae-item.ae-visible {
  opacity: 1;
  transform: none;
}

/* Hero parallax */
.intro-hero-copy { will-change: auto; }
.intro-hero-card { will-change: auto; }

/* Imágenes de venue: overflow hidden para parallax sin desbordamiento */
.venue-feature-media { overflow: hidden; }
.venue-feature-media img { will-change: transform; }
