:root {
  --paper: #f8f1e7;
  --paper-soft: #fffaf2;
  --sand: #ead9c1;
  --ink: #332a24;
  --muted: rgba(51, 42, 36, 0.72);
  --terracotta: #a85f42;
  --terracotta-dark: #864b34;
  --ochre: #b9823a;
  --olive: #7a845e;
  --blue: #8fafc3;
  --rose: #cfa7a0;
  --line: rgba(126, 99, 65, 0.18);
  --shadow: 0 20px 45px rgba(71, 51, 34, 0.12);
  --radius: 18px;
  --header-height: 70px;
  --container: 1180px;
  --font-script: "Great Vibes", cursive;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Montserrat", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-serif);
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 250, 242, 0.84), rgba(255, 250, 242, 0.92)),
    radial-gradient(circle at top left, rgba(159, 183, 199, 0.22), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(207, 167, 160, 0.26), transparent 22%),
    var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

textarea {
  resize: vertical;
}

::selection {
  background: rgba(168, 95, 66, 0.22);
}

.skip-link:not(:focus),
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--terracotta);
  color: white;
  font-family: var(--font-sans);
  font-weight: 700;
}

.shell {
  width: min(100% - 1.5rem, var(--container));
  margin: 0 auto;
}

.section {
  padding: 3.4rem 0;
}

.section--paper {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.88), rgba(248, 241, 231, 0.64)),
    var(--paper-soft);
}

.section--gift {
  background: rgba(234, 217, 193, 0.5);
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.cta-card h2,
.gift-card h2,
.rsvp-hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.cta-card p,
.gift-card p,
.rsvp-hero p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.68;
}

.section-kicker {
  margin: 0 0 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.18rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--terracotta);
  color: white;
  box-shadow: 0 14px 28px rgba(168, 95, 66, 0.22);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--terracotta-dark);
}

.button--glass {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 250, 242, 0.18);
  color: white;
  backdrop-filter: blur(8px);
}

.button--outline {
  border-color: rgba(168, 95, 66, 0.28);
  background: rgba(255, 250, 242, 0.78);
  color: var(--terracotta-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(126, 99, 65, 0.11);
  background: rgba(255, 250, 242, 0.84);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1;
}

.brand__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
}

.brand__names {
  margin-top: 0.14rem;
  font-family: var(--font-script);
  font-size: 1.65rem;
  color: var(--terracotta);
}

.menu-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  border: 1px solid rgba(168, 95, 66, 0.38);
  border-radius: 999px;
  background: rgba(168, 95, 66, 0.12);
  box-shadow: 0 10px 22px rgba(168, 95, 66, 0.12);
}

.menu-toggle__line {
  display: block;
  width: 1.18rem;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: var(--terracotta-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  top: calc(var(--header-height) + 0.6rem);
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 250, 242, 0.96);
  box-shadow: var(--shadow);
  transform: translateY(-0.75rem);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.site-nav a {
  border-radius: 14px;
  padding: 0.86rem 0.95rem;
  font-family: var(--font-sans);
  font-size: 0.83rem;
  font-weight: 800;
  color: var(--ink);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(168, 95, 66, 0.08);
}

.site-nav .nav-cta {
  background: var(--terracotta);
  color: white;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height) - 4.5rem);
  overflow: hidden;
  display: grid;
  align-items: end;
  isolation: isolate;
}

.hero__image,
.hero__image img,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__image {
  z-index: -2;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  filter: saturate(0.94);
}

.hero__overlay {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(24, 20, 16, 0.08), rgba(24, 20, 16, 0.64)),
    linear-gradient(90deg, rgba(51, 42, 36, 0.54), rgba(51, 42, 36, 0.12));
}

.hero__content {
  padding: 4rem 0 2rem;
  color: white;
}

@media (max-width: 768px) {
  .hero__image img {
    object-position: 82% center;
  }
}

@media (max-width: 480px) {
  .hero__image img {
    object-position: 84% center;
  }
}

.hero__kicker {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0.78rem 0 0;
  font-family: var(--font-script);
  font-size: 4rem;
  font-weight: 400;
  line-height: 0.95;
}

.hero__date {
  margin: 0.4rem 0 0;
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 700;
}

.hero__date a {
  display: inline-flex;
  gap: 0.42rem;
  align-items: center;
}

.hero__calendar-cue {
  display: inline-grid;
  width: 1.15em;
  height: 1.15em;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: currentColor;
  opacity: 0.9;
  transition: background-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.hero__calendar-cue svg {
  width: 0.62em;
  height: 0.62em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__date a:hover .hero__calendar-cue,
.hero__date a:focus-visible .hero__calendar-cue {
  background: rgba(255, 255, 255, 0.2);
  opacity: 1;
  transform: translateY(-1px);
}

.hero__place {
  margin: 0.15rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__actions {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.hero__cta-primary {
  display: none;
}

.hero__cta-secondary {
  display: none;
}

.welcome-band,
.countdown-band {
  padding: 1rem 0 1rem;
}

.welcome-band__inner,
.countdown-band__inner {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.84);
  box-shadow: var(--shadow);
}

.countdown-band__welcome,
.countdown-band__clock {
  display: grid;
  gap: 0.7rem;
}

.welcome-band__inner {
  max-width: 52rem;
}

.countdown-band__welcome {
  text-align: center;
}

.countdown-band__clock {
  text-align: center;
}

.countdown-band__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 2.15rem;
  line-height: 1.04;
}

.countdown-band__text {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.62;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.countdown__item {
  min-width: 0;
  padding: 0.65rem 0.25rem;
  border: 1px solid rgba(185, 130, 58, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  text-align: center;
}

.countdown__item span {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--terracotta-dark);
}

.countdown__item small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ochre);
}

.event-grid,
.locations-grid {
  display: grid;
  gap: 1rem;
}

#localizaciones .event-grid {
  margin-top: 1.75rem;
}

.event-card,
.location-card,
.program,
.transport-layout,
.cta-card,
.gift-card,
.faq-list,
.rsvp-form,
.story-photo {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.82);
  box-shadow: var(--shadow);
}

.event-card {
  overflow: hidden;
}

.event-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.event-card__media img,
.location-card img,
.story-photo > img:not(.story-photo__image) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__body {
  padding: 1.1rem;
}

.event-card__eyebrow {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
}

.event-card h3,
.location-card h3,
.program__item h3,
.recommendation-card h3,
.faq-card__trigger span {
  margin: 0.45rem 0 0;
  font-size: 1.45rem;
  line-height: 1.08;
}

.event-card p,
.location-card p,
.program__item p,
.recommendation-card p,
.faq-card__panel p,
.faq-card__panel li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.58;
}

.event-card .button {
  width: 100%;
  margin-top: 0.7rem;
}

.program {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

#localizaciones .program {
  margin-top: 1.8rem;
  margin-bottom: 1.8rem;
}

.program--timeline {
  position: relative;
  gap: 1rem;
  padding-left: 1.15rem;
}

.program--timeline::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  bottom: 0.4rem;
  left: 0.28rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(168, 95, 66, 0),
    rgba(168, 95, 66, 0.36) 12%,
    rgba(122, 132, 94, 0.34) 88%,
    rgba(122, 132, 94, 0)
  );
}

.program__item {
  position: relative;
  display: grid;
  gap: 0.9rem;
  padding: 1.15rem 1rem 1rem;
  border: 1px solid rgba(126, 99, 65, 0.13);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(248, 241, 231, 0.9)),
    rgba(255, 250, 242, 0.92);
  box-shadow: 0 16px 34px rgba(51, 42, 36, 0.08);
}

.program__item::before {
  content: "";
  position: absolute;
  top: 1.3rem;
  left: -1.02rem;
  z-index: 2;
  width: 0.72rem;
  height: 0.72rem;
  border: 2px solid var(--paper-soft);
  border-radius: 999px;
  background: var(--terracotta);
  box-shadow: 0 0 0 1px rgba(168, 95, 66, 0.2), 0 8px 16px rgba(51, 42, 36, 0.12);
}

.program__item::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  border-radius: 20px 20px 0 0;
  background: rgba(168, 95, 66, 0.24);
}

.program__item:nth-child(1)::after {
  background: rgba(168, 95, 66, 0.3);
}

.program__item:nth-child(2)::before,
.program__item:nth-child(4)::before {
  background: var(--olive);
}

.program__item:nth-child(3)::before {
  background: var(--ochre);
}

.program__item:nth-child(2)::after {
  background: rgba(122, 132, 94, 0.3);
}

.program__item:nth-child(3)::after {
  background: rgba(185, 130, 58, 0.28);
}

.program__item:nth-child(4)::after {
  background: rgba(159, 183, 199, 0.42);
}

.program__time {
  display: inline-flex;
  justify-self: start;
  border-radius: 999px;
  padding: 0.34rem 0.72rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(185, 130, 58, 0.18);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--terracotta-dark);
}

.program__copy {
  display: grid;
  gap: 0.35rem;
}

.program__copy h3 {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
}

.program__icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 1.08rem;
  height: 1.08rem;
  color: rgba(168, 95, 66, 0.68);
}

.program__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.location-card {
  overflow: hidden;
}

.location-card img {
  aspect-ratio: 16 / 11;
  filter: saturate(0.94);
}

.location-card div {
  padding: 1rem;
}

.transport-layout {
  display: grid;
  gap: 1rem;
  padding: 0.8rem;
}

.route-panel {
  display: grid;
  gap: 1rem;
}

.route-panel__confirm {
  border-color: rgba(168, 95, 66, 0.38);
  background: rgba(255, 250, 242, 0.96);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.64), 0 10px 22px rgba(51, 42, 36, 0.08);
}

.route-panel__confirm:hover,
.route-panel__confirm:focus-visible {
  border-color: rgba(168, 95, 66, 0.52);
  background: #fff;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(168, 95, 66, 0.08);
}

.segmented button {
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 0.8rem;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--ink);
}

.segmented button.is-active {
  background: var(--terracotta);
  color: white;
}

.route-copy {
  display: grid;
  gap: 0.75rem;
}

.route-copy h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.08;
}

.route-copy p {
  margin: 0;
  color: var(--muted);
}

.route-time-highlight {
  color: var(--terracotta-dark);
  font-weight: 850;
}

.route-copy__text--desktop {
  display: none;
}

.route-copy__text--mobile {
  display: block;
}

.route-stops {
  display: none;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-stops li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  border: 1px solid rgba(126, 99, 65, 0.13);
  border-radius: 14px;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.46);
}

.route-stops b {
  display: inline-grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(122, 132, 94, 0.16);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--olive);
}

.route-stops strong {
  display: block;
  line-height: 1.2;
}

.route-stops small {
  display: block;
  margin-top: 0.12rem;
  color: var(--muted);
}

.route-map {
  min-height: 330px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(159, 183, 199, 0.18);
}

.route-direction-control {
  display: grid;
  gap: 0.25rem;
  padding: 0.28rem;
  border: 1px solid rgba(126, 99, 65, 0.16);
  border-radius: 12px;
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 0 12px 24px rgba(51, 42, 36, 0.12);
}

.route-direction-control button {
  min-width: 4.6rem;
  border: 0;
  border-radius: 9px;
  padding: 0.42rem 0.58rem;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--terracotta-dark);
}

.route-direction-control button.is-active {
  background: var(--terracotta);
  color: white;
}

.route-arrow {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border: 1px solid rgba(126, 118, 104, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.46);
  box-shadow: 0 6px 14px rgba(51, 42, 36, 0.06);
  color: rgba(94, 88, 78, 0.38);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.route-marker {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 2px solid white;
  border-radius: 999px;
  background: var(--terracotta);
  box-shadow: 0 8px 18px rgba(51, 42, 36, 0.2);
  color: white;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
}

.route-marker--1 {
  background: var(--terracotta);
}

.route-marker--2 {
  background: var(--olive);
}

.route-marker--3 {
  background: var(--blue);
}

.route-marker--4 {
  background: var(--rose);
}

.story-layout {
  display: grid;
  gap: 1.2rem;
}

.story-photo {
  position: relative;
  overflow: hidden;
  padding: 0.65rem;
  background: rgba(255, 250, 242, 0.88);
}

.story-photo > img:not(.story-photo__image) {
  border-radius: 12px;
}

.story-photo--coliseo {
  isolation: isolate;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(234, 217, 193, 0.78));
}

.story-photo--coliseo::before {
  content: "";
  position: absolute;
  inset: 1.15rem;
  z-index: 1;
  border: 1px solid rgba(255, 250, 242, 0.7);
  border-radius: 14px;
  pointer-events: none;
}

.story-photo__image {
  position: absolute;
  object-fit: cover;
}

.story-photo__image--main {
  inset: 0.65rem;
  width: calc(100% - 1.3rem);
  height: calc(100% - 1.3rem);
  border-radius: 12px;
}

.story-photo__image--memory {
  right: 1.05rem;
  bottom: 1.05rem;
  z-index: 2;
  width: min(45%, 15rem);
  aspect-ratio: 4 / 3;
  height: auto;
  border: 0.32rem solid rgba(255, 250, 242, 0.94);
  border-radius: 10px;
  box-shadow: 0 18px 38px rgba(51, 42, 36, 0.22);
  transform: rotate(-2.4deg);
  transform-origin: center;
}

#localizaciones {
  padding-top: 1.4rem;
  padding-bottom: 2.4rem;
}

#autobus {
  padding-top: 2.4rem;
}

.tabs {
  display: grid;
  gap: 1rem;
  opacity: 1;
  transform: none;
}

.tabs__controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.tabs__controls--triple {
  display: flex;
  gap: 0.42rem;
  overflow-x: auto;
  padding-bottom: 0.08rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.tabs__controls--triple::-webkit-scrollbar {
  display: none;
}

.tabs__controls button {
  border: 1px solid rgba(168, 95, 66, 0.22);
  border-radius: 999px;
  padding: 0.76rem 0.8rem;
  background: rgba(255, 250, 242, 0.75);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
}

.tabs__controls--triple button {
  flex: 1 0 max(6.9rem, calc((100% - 0.84rem) / 3));
  min-width: 0;
  scroll-snap-align: start;
  padding-inline: 0.68rem;
  white-space: nowrap;
}

.tabs__label {
  display: inline;
}

.tabs__label--desktop {
  display: none;
}

.tabs__controls button.is-active {
  background: var(--terracotta);
  color: white;
}

.recommendations-grid {
  display: grid;
  gap: 0.75rem;
  opacity: 1;
  visibility: visible;
}

.food-carousel,
.visit-carousel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.food-carousel__viewport,
.visit-carousel__viewport {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
}

.food-carousel__grid,
.visit-carousel__grid {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.05rem 0.05rem 0.6rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.visit-carousel__grid {
  grid-template-rows: 1fr;
}

.food-carousel__grid::-webkit-scrollbar,
.visit-carousel__grid::-webkit-scrollbar {
  display: none;
}

.food-carousel__grid > .recommendation-card,
.visit-carousel__grid > .recommendation-card {
  min-width: 0;
  height: 100%;
  scroll-snap-align: start;
}

.food-carousel__arrow,
.visit-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: inline-grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(168, 95, 66, 0.24);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 26px rgba(51, 42, 36, 0.1);
  color: var(--terracotta-dark);
  font-family: var(--font-serif);
  font-size: 1.75rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.food-carousel__arrow:hover:not(:disabled),
.food-carousel__arrow:focus-visible:not(:disabled),
.visit-carousel__arrow:hover:not(:disabled),
.visit-carousel__arrow:focus-visible:not(:disabled) {
  transform: translateY(-50%) scale(1.04);
  border-color: rgba(168, 95, 66, 0.36);
  background: var(--paper-soft);
}

.food-carousel__arrow:disabled,
.visit-carousel__arrow:disabled {
  cursor: default;
  opacity: 0;
  pointer-events: none;
}

.food-carousel__arrow--prev,
.visit-carousel__arrow--prev {
  left: -0.55rem;
}

.food-carousel__arrow--next,
.visit-carousel__arrow--next {
  right: -0.55rem;
}

.recommendation-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(255, 250, 242, 0.96);
  opacity: 1;
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(51, 42, 36, 0.08);
}

.recommendation-card--visit {
  text-align: left;
}

.recommendation-card__visit-flow {
  display: flow-root;
}

.recommendation-card__visit-thumb {
  float: left;
  width: 6.65rem;
  aspect-ratio: 10 / 11;
  margin: 0 1rem 0.65rem 0;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(234, 217, 193, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.68),
    0 12px 24px rgba(51, 42, 36, 0.09);
}

.recommendation-card__visit-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recommendation-card--visit .recommendation-card__title {
  margin: 0 0 0.45rem;
  padding-top: 0.08rem;
  color: var(--terracotta-dark);
}

.recommendation-card__visit-link {
  color: inherit;
}

.recommendation-card--visit p {
  margin: 0;
  color: var(--muted);
  line-height: 1.56;
}

.recommendation-card--food {
  display: flex;
  flex-direction: column;
}

.recommendation-card__actions {
  display: none;
}

.recommendation-card__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
}

.recommendation-card__title {
  margin: 0;
}

.recommendation-card h3,
.recommendation-card p,
.recommendation-card .section-kicker {
  color: inherit;
}

.recommendation-card h3 a {
  color: var(--terracotta-dark);
}

.recommendation-card p {
  color: var(--ink);
}

.recommendation-card .section-kicker {
  color: var(--olive);
}

.recommendation-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
  margin-top: auto;
  padding-top: 0.9rem;
}

.recommendation-card__map-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.38rem 0.8rem;
  border: 1px solid rgba(126, 99, 65, 0.18);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(51, 42, 36, 0.08);
  color: var(--terracotta-dark);
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.recommendation-card__map-button:hover,
.recommendation-card__map-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(168, 95, 66, 0.3);
  background: rgba(255, 250, 242, 0.96);
}

.tag {
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  background: rgba(185, 130, 58, 0.13);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--ochre);
}

.tag--top {
  flex: 0 0 auto;
  background: rgba(217, 195, 126, 0.32);
  color: #9a6a10;
  box-shadow: inset 0 0 0 1px rgba(185, 130, 58, 0.16);
}

.cta-section {
  padding-top: 2.2rem;
}

.cta-card,
.gift-card {
  padding: 1.35rem;
  text-align: center;
}

.cta-card .button {
  margin-top: 0.9rem;
  width: 100%;
}

.gift-card .button {
  margin-top: 0.9rem;
}

.gift-modal[hidden] {
  display: none;
}

.gift-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.gift-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 20, 16, 0.48);
  backdrop-filter: blur(4px);
}

.gift-modal__dialog {
  position: relative;
  width: min(100% - 1.5rem, 28rem);
  margin: min(16vh, 6rem) auto 0;
  padding: 1.4rem 1.2rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper-soft);
  box-shadow: 0 24px 48px rgba(51, 42, 36, 0.26);
  text-align: center;
}

.gift-modal__dialog h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 2rem;
}

.gift-modal__accounts {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.gift-modal__account {
  margin: 0;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(168, 95, 66, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.42);
}

.gift-modal__accounts span,
.gift-modal__accounts strong {
  display: block;
}

.gift-modal__accounts span {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
}

.gift-modal__account-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.25rem;
}

.gift-modal__accounts strong {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--terracotta-dark);
}

.gift-modal__copy {
  display: inline-grid;
  width: 2.05rem;
  height: 2.05rem;
  place-items: center;
  border: 1px solid rgba(168, 95, 66, 0.2);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.92);
  color: var(--terracotta-dark);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.gift-modal__copy:hover,
.gift-modal__copy:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(168, 95, 66, 0.34);
  background: #fff;
}

.gift-modal__copy svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gift-modal__copy.is-copied {
  background: rgba(122, 132, 94, 0.14);
  color: var(--olive);
}

.gift-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: inline-grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border: 1px solid rgba(168, 95, 66, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.9);
  color: var(--terracotta-dark);
  font-size: 1.35rem;
  line-height: 1;
}

.success-modal__dialog p {
  margin: 0.9rem 0 0;
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.success-modal__dialog {
  border-color: rgba(97, 140, 102, 0.28);
  background: linear-gradient(180deg, rgba(246, 255, 247, 0.98) 0%, rgba(239, 250, 241, 0.98) 100%);
  box-shadow: 0 24px 48px rgba(63, 99, 68, 0.18);
}

.success-modal__dialog h3 {
  color: #4f7a55;
}

.success-modal__dialog p {
  color: rgba(51, 73, 55, 0.92);
}

.success-modal__dialog .gift-modal__close {
  border-color: rgba(97, 140, 102, 0.24);
  background: rgba(255, 255, 255, 0.9);
  color: #4f7a55;
}

.success-modal__dialog::before {
  content: "";
  display: block;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 0.9rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.95) 0 38%, transparent 39%),
    linear-gradient(135deg, rgba(126, 181, 134, 0.95), rgba(97, 140, 102, 0.96));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.68), 0 12px 24px rgba(63, 99, 68, 0.14);
}

.success-modal__home {
  width: 100%;
  margin-top: 1.1rem;
  background: #4f7a55;
  box-shadow: 0 14px 28px rgba(63, 99, 68, 0.2);
  color: white;
}

.success-modal__home:hover,
.success-modal__home:focus-visible {
  background: #426d48;
  box-shadow: 0 16px 32px rgba(63, 99, 68, 0.24);
}

.success-modal__dialog--decline {
  border-color: rgba(89, 120, 145, 0.3);
  background: linear-gradient(180deg, rgba(245, 250, 252, 0.98) 0%, rgba(235, 243, 247, 0.98) 100%);
  box-shadow: 0 24px 48px rgba(69, 92, 112, 0.16);
}

.success-modal__dialog--decline h3,
.success-modal__dialog--decline .gift-modal__close {
  color: #52728c;
}

.success-modal__dialog--decline p {
  color: rgba(48, 66, 82, 0.9);
}

.success-modal__dialog--decline .gift-modal__close {
  border-color: rgba(89, 120, 145, 0.24);
}

.success-modal__dialog--decline::before {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.95) 0 38%, transparent 39%),
    linear-gradient(135deg, rgba(122, 157, 181, 0.95), rgba(82, 114, 140, 0.96));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.68), 0 12px 24px rgba(69, 92, 112, 0.14);
}

.success-modal__dialog--decline .success-modal__home {
  background: #52728c;
  box-shadow: 0 14px 28px rgba(69, 92, 112, 0.2);
}

.success-modal__dialog--decline .success-modal__home:hover,
.success-modal__dialog--decline .success-modal__home:focus-visible {
  background: #45657d;
  box-shadow: 0 16px 32px rgba(69, 92, 112, 0.24);
}

.faq-list {
  overflow: hidden;
}

.faq-card + .faq-card {
  border-top: 1px solid var(--line);
}

.faq-card__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  background: transparent;
  padding: 1rem;
  text-align: left;
}

.faq-card__trigger span {
  margin: 0;
}

.faq-card__icon {
  display: inline-grid;
  width: 1.85rem;
  height: 1.85rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: rgba(122, 132, 94, 0.14);
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--olive);
}

.faq-card__panel {
  padding: 0 1rem 1rem;
}

.faq-card__panel p,
.faq-card__panel ul {
  margin: 0;
}

.faq-card__link {
  width: fit-content;
  margin-top: 0.78rem;
  padding: 0.62rem 0.92rem;
}

.floating-rsvp {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 70;
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--terracotta);
  box-shadow: 0 16px 34px rgba(51, 42, 36, 0.26);
  color: white;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 800;
}

.back-to-top {
  position: fixed;
  right: 0.85rem;
  bottom: 5rem;
  z-index: 72;
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 0 14px 32px rgba(51, 42, 36, 0.18);
  color: var(--terracotta-dark);
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 800;
}

.site-footer {
  padding: 2.4rem 0 5rem;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.footer-signature {
  margin: 0;
  font-family: var(--font-script);
  font-size: 2.8rem;
  line-height: 1;
}

.site-footer p:last-child {
  margin: 0.4rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 241, 231, 0.72);
}

.rsvp-hero {
  padding: 3rem 0 1.2rem;
  text-align: center;
}

.rsvp-hero__inner {
  max-width: 38rem;
}

.page-rsvp .rsvp-hero {
  padding: 2.45rem 0 0.35rem;
}

.page-rsvp .rsvp-section {
  padding-top: 1.35rem;
}

@media (max-width: 679px) {
  .page-rsvp .rsvp-hero__inner {
    width: min(100% - 2rem, 22rem);
  }

  .page-rsvp .rsvp-hero {
    padding: 0.95rem 0 0.1rem;
  }

  .page-rsvp .rsvp-section {
    padding-top: 0.8rem;
  }

  .page-rsvp .rsvp-hero h1 {
    max-width: 10em;
    margin-inline: auto;
    font-size: clamp(1.78rem, 7.2vw, 2rem);
    line-height: 1.08;
    text-wrap: balance;
  }

  .page-rsvp .rsvp-hero p:not(.section-kicker) {
    max-width: 18rem;
    margin-inline: auto;
  }

  .page-rsvp .rsvp-hero__title,
  .page-rsvp .rsvp-hero__intro {
    display: none;
  }

  .page-rsvp .rsvp-hero .section-kicker {
    margin-bottom: 0;
    font-size: 0.8rem;
    color: var(--terracotta-dark);
  }

  .gift-modal__account-row {
    gap: 0.42rem;
  }

  .gift-modal__accounts strong {
    font-size: clamp(0.74rem, 2.7vw, 0.84rem);
    letter-spacing: 0.035em;
    white-space: nowrap;
  }

  .cta-card__mobile-hidden-button {
    display: none;
  }
}

.rsvp-form {
  display: grid;
  gap: 1rem;
  padding: 1.05rem;
}

.form-field {
  display: grid;
  gap: 0.5rem;
}

.form-field[hidden] {
  display: none;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-field > span,
.form-field > legend {
  display: block;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--olive);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid rgba(126, 99, 65, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
  padding: 0.82rem 0.9rem;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 0;
  border-color: rgba(168, 95, 66, 0.42);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 0 0 3px rgba(168, 95, 66, 0.1);
}

.form-field textarea[name="comentarios"] {
  height: 96px;
  min-height: 92px;
}

.choice-group {
  display: grid;
  gap: 0.55rem;
  border: 0;
  margin: 0;
}

.choice-pill {
  display: flex;
  min-height: 2.72rem;
  gap: 0.62rem;
  align-items: center;
  border: 1px solid rgba(126, 99, 65, 0.14);
  border-radius: 13px;
  padding: 0.58rem 0.78rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 250, 242, 0.48)),
    rgba(255, 255, 255, 0.44);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.choice-pill + .choice-pill {
  margin-top: 0;
}

.choice-pill.is-disabled {
  opacity: 0.46;
  cursor: not-allowed;
}

.form-field.is-disabled,
.allergy-mode__choice.is-disabled {
  opacity: 0.46;
}

.form-field.is-disabled input,
.allergy-mode__choice.is-disabled {
  cursor: not-allowed;
}

.choice-pill:hover,
.choice-pill:focus-within {
  border-color: rgba(168, 95, 66, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 250, 242, 0.62)),
    rgba(255, 255, 255, 0.58);
}

.choice-pill:has(input:checked) {
  border-color: rgba(168, 95, 66, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.92), rgba(234, 217, 193, 0.3)),
    rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 8px 18px rgba(71, 51, 34, 0.06);
}

.choice-pill input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--terracotta);
}

.choice-pill span {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.28;
  text-transform: none;
  color: var(--ink);
}

.allergy-group {
  align-content: start;
  gap: 0.7rem;
}

.allergy-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.allergy-mode__choice,
.allergy-chip {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  border: 1px solid rgba(126, 99, 65, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 250, 242, 0.54)),
    rgba(255, 255, 255, 0.5);
  color: var(--ink);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.allergy-mode__choice {
  min-height: 3rem;
  border-radius: 15px;
  padding: 0.68rem 0.8rem;
}

.allergy-chip {
  min-height: 2.45rem;
  border-radius: 999px;
  padding: 0.48rem 0.64rem 0.48rem 0.78rem;
}

.allergy-mode__choice input,
.allergy-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.allergy-mode__choice span,
.allergy-chip span {
  min-width: 0;
  font-family: var(--font-serif);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.allergy-mode__choice span {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.22;
}

.allergy-chip span {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
}

.allergy-mode__choice::after,
.allergy-chip::after {
  content: "";
  display: grid;
  width: 1.08rem;
  height: 1.08rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(122, 132, 94, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: white;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.allergy-mode__choice:hover,
.allergy-mode__choice:focus-within,
.allergy-chip:hover,
.allergy-chip:focus-within {
  border-color: rgba(168, 95, 66, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 250, 242, 0.68)),
    rgba(255, 255, 255, 0.62);
}

.allergy-mode__choice:focus-within,
.allergy-chip:focus-within {
  box-shadow: 0 0 0 3px rgba(168, 95, 66, 0.1);
}

.allergy-mode__choice:has(input:checked),
.allergy-chip:has(input:checked) {
  border-color: rgba(168, 95, 66, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.95), rgba(234, 217, 193, 0.34)),
    rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.78), 0 10px 20px rgba(71, 51, 34, 0.07);
}

.allergy-mode__choice:has(input:checked)::after,
.allergy-chip:has(input:checked)::after {
  content: "✓";
  border-color: rgba(168, 95, 66, 0.78);
  background: var(--terracotta);
}

.allergy-detail {
  display: grid;
  gap: 0.62rem;
  border: 1px solid rgba(126, 99, 65, 0.12);
  border-radius: 16px;
  padding: 0.68rem;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.62), rgba(255, 255, 255, 0.42)),
    rgba(255, 255, 255, 0.34);
  animation: allergyDetailIn 0.24s ease both;
}

.allergy-detail[hidden] {
  display: none;
}

.allergy-options {
  display: grid;
  gap: 0.48rem;
}

.allergy-other-field {
  margin-top: 0.05rem;
}

.rsvp-form__actions {
  display: grid;
  gap: 0.7rem;
}

.rsvp-form__actions .button {
  width: 100%;
}

.rsvp-form.is-submitting .button[aria-busy="true"] {
  gap: 0.62rem;
  opacity: 0.92;
}

.rsvp-form.is-submitting .button[aria-busy="true"]::before {
  content: "";
  width: 0.95rem;
  height: 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: white;
  border-radius: 999px;
  animation: submitSpinner 0.8s linear infinite;
}

@keyframes allergyDetailIn {
  from {
    opacity: 0;
    transform: translateY(-0.35rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes submitSpinner {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .allergy-detail {
    animation: none;
  }

  .rsvp-form.is-submitting .button[aria-busy="true"]::before {
    animation: none;
  }
}

.form-status {
  margin: 0;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.5;
}

.form-status--success {
  color: var(--olive);
}

.form-status--info {
  border: 1px solid rgba(122, 132, 94, 0.18);
  border-radius: 12px;
  background: rgba(255, 250, 242, 0.72);
  padding: 0.66rem 0.75rem;
  color: var(--olive-dark);
}

.form-status--error {
  color: var(--terracotta-dark);
}

.form-popup {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 1200;
  width: min(calc(100% - 1.5rem), 30rem);
  transform: translateX(-50%);
  pointer-events: none;
}

.form-popup[hidden] {
  display: none;
}

.form-popup__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.75rem;
  border: 1px solid rgba(143, 44, 44, 0.24);
  border-radius: 18px;
  background: rgba(129, 32, 32, 0.96);
  box-shadow: 0 18px 34px rgba(76, 20, 20, 0.22);
  padding: 0.9rem 1rem;
  pointer-events: auto;
}

.form-popup__message {
  margin: 0;
  color: #fff4f4;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.45;
}

.form-popup__close {
  border: 0;
  background: transparent;
  color: #fff4f4;
  font-size: 1.3rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.form-popup__close:hover,
.form-popup__close:focus-visible {
  opacity: 0.82;
}

body.modal-open {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 680px) {
  .brand__names {
    font-size: 1.9rem;
  }

  .shell {
    width: min(100% - 2rem, var(--container));
  }

  .tabs__controls--triple {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .tabs__controls--triple button {
    flex: initial;
    white-space: normal;
  }

  .tabs__label--desktop {
    display: inline;
  }

  .tabs__label--mobile {
    display: none;
  }

  .hero {
    min-height: calc(100svh - var(--header-height) - 3.5rem);
  }

  .hero__content {
    max-width: 42rem;
    padding-bottom: 2.8rem;
  }

  .hero__cta-primary {
    display: inline-flex;
  }

  .hero__cta-secondary {
    display: inline-flex;
  }

  .hero h1 {
    font-size: 5.8rem;
  }

  .hero__actions {
    grid-template-columns: auto auto;
    justify-content: start;
  }

  .welcome-band__inner,
  .countdown-band__inner,
  .transport-layout,
  .story-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
  }

  .route-copy__text--desktop {
    display: block;
  }

  .route-copy__text--mobile {
    display: none;
  }

  .route-stops {
    display: grid;
  }

  .route-panel__confirm {
    border-color: rgba(168, 95, 66, 0.38);
    background: rgba(255, 250, 242, 0.96);
    color: var(--ink);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.64), 0 10px 22px rgba(51, 42, 36, 0.08);
  }

  .route-panel__confirm:hover,
  .route-panel__confirm:focus-visible {
    border-color: rgba(168, 95, 66, 0.52);
    background: #fff;
  }

  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .food-carousel,
  .visit-carousel {
    position: static;
    grid-template-columns: 2.55rem minmax(0, 1fr) 2.55rem;
    gap: 0.6rem;
  }

  .food-carousel__viewport,
  .visit-carousel__viewport {
    grid-column: 2;
    grid-row: 1;
  }

  .food-carousel__arrow,
  .visit-carousel__arrow {
    position: static;
    width: 2.55rem;
    height: 2.55rem;
    transform: none;
  }

  .food-carousel__arrow:hover:not(:disabled),
  .food-carousel__arrow:focus-visible:not(:disabled),
  .visit-carousel__arrow:hover:not(:disabled),
  .visit-carousel__arrow:focus-visible:not(:disabled) {
    transform: translateY(-1px);
  }

  .food-carousel__arrow:disabled,
  .visit-carousel__arrow:disabled {
    opacity: 0.32;
  }

  .food-carousel__arrow--prev,
  .visit-carousel__arrow--prev {
    grid-column: 1;
    grid-row: 1;
    justify-self: stretch;
    left: auto;
  }

  .food-carousel__arrow--next,
  .visit-carousel__arrow--next {
    grid-column: 3;
    grid-row: 1;
    justify-self: stretch;
    right: auto;
  }

  .food-carousel__grid,
  .visit-carousel__grid {
    grid-auto-columns: calc((100% - 1.5rem) / 3);
  }

  .program {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.6rem;
  }

  .program--timeline {
    padding-top: 1.15rem;
    padding-left: 0;
  }

  .program--timeline::before {
    top: 1.5rem;
    right: calc(12.5% + 0.45rem);
    bottom: auto;
    left: calc(12.5% + 0.45rem);
    width: auto;
    height: 1px;
    background: linear-gradient(
      90deg,
      rgba(168, 95, 66, 0),
      rgba(168, 95, 66, 0.36) 12%,
      rgba(122, 132, 94, 0.34) 88%,
      rgba(122, 132, 94, 0)
    );
  }

  .program--timeline .program__item {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-content: start;
    column-gap: 0.8rem;
    row-gap: 0.45rem;
    padding: 1.25rem 1rem 1.05rem;
  }

  .program--timeline .program__item::before {
    top: -1.22rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .program--timeline .program__time {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    min-width: 5.4rem;
    align-self: center;
    align-items: center;
    justify-content: center;
    padding-inline: 0.62rem;
    font-size: 0.7rem;
    font-variant-numeric: tabular-nums;
  }

  .program--timeline .program__copy {
    display: contents;
  }

  .program--timeline .program__copy h3 {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    margin: 0;
    font-size: 1.38rem;
    line-height: 1.05;
  }

  .program--timeline .program__copy p {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .cta-card .button {
    width: auto;
    min-width: 15rem;
  }

  .rsvp-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 48rem;
    margin: 0 auto;
    gap: 1.05rem 0.9rem;
    padding: 1.45rem;
  }

  .allergy-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .form-field textarea[name="comentarios"] {
    height: 96px;
    min-height: 92px;
  }

  .form-popup {
    top: 1.25rem;
  }

  .form-field--desktop-full {
    grid-column: 1 / -1;
  }

  .form-field--full {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .section {
    padding: 5rem 0;
  }

  .section-heading h2,
  .cta-card h2,
  .gift-card h2,
  .rsvp-hero h1 {
    font-size: 3.2rem;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.1rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    padding: 0.68rem 0.7rem;
    font-size: 0.77rem;
  }

  .site-nav .nav-cta {
    margin-left: 0.2rem;
    border-radius: 999px;
    padding-inline: 1rem;
  }

  .hero {
    min-height: calc(100svh - var(--header-height) - 2.5rem);
  }

  .hero__image img {
    object-position: center center;
  }

  .cta-section {
    padding-top: 3.2rem;
  }

  .cta-card,
  .gift-card {
    width: min(100%, 38rem);
    padding: 0.8rem 1rem 1rem;
  }

  .cta-card h2,
  .gift-card h2 {
    font-size: 2.28rem;
    line-height: 1.02;
  }

  .cta-card p,
  .gift-card p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .cta-card .button,
  .gift-card .button {
    min-width: 12rem;
    margin-top: 0.7rem;
    padding: 0.68rem 1rem;
    font-size: 0.78rem;
  }

  .hero h1 {
    font-size: 7.2rem;
    margin-top: 0.9rem;
  }

  .hero__date {
    font-size: 1.9rem;
  }

  .welcome-band {
    position: relative;
    z-index: 6;
    margin-top: 0;
    padding: 3.6rem 0 1.8rem;
  }

  .countdown-band {
    position: relative;
    z-index: 6;
    padding: 0 0 3.2rem;
  }

  .welcome-band__inner,
  .countdown-band__inner {
    gap: 2rem;
    padding: 2rem 2.2rem;
    border-radius: 30px;
    border: 1px solid rgba(126, 99, 65, 0.14);
    background:
      linear-gradient(135deg, rgba(255, 250, 242, 0.97), rgba(248, 241, 231, 0.94)),
      rgba(255, 250, 242, 0.96);
    box-shadow: 0 26px 60px rgba(51, 42, 36, 0.16);
    backdrop-filter: blur(10px);
  }

  .welcome-band__inner .section-kicker,
  .countdown-band__inner .section-kicker {
    margin-bottom: 0.7rem;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
  }

  .countdown-band__welcome {
    text-align: left;
  }

  .welcome-band__inner {
    width: min(100% - 2rem, 68rem);
    max-width: 68rem;
    margin-inline: auto;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    justify-items: center;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .countdown-band__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    place-items: center;
    width: min(100% - 2rem, 48rem);
    max-width: 48rem;
  }

  .countdown-band__title {
    font-size: 3rem;
    line-height: 0.98;
  }

  .welcome-band .countdown-band__welcome {
    text-align: center;
  }

  .welcome-band .countdown-band__title {
    max-width: 54rem;
    margin-inline: auto;
    font-size: clamp(2.35rem, 3.15vw, 3.35rem);
    line-height: 1.08;
    text-wrap: balance;
  }

  .welcome-band .countdown-band__text {
    width: min(80%, 49.5rem);
    max-width: 49.5rem;
    margin: 0 auto;
    height: 113.672px;
    min-height: unset;
    padding: 1.35rem 2.35rem;
    white-space: normal;
    overflow: visible;
    border: 1px solid rgba(126, 99, 65, 0.12);
    border-radius: 22px;
    background: rgba(255, 250, 242, 0.76);
    box-shadow: 0 18px 42px rgba(51, 42, 36, 0.08);
    font-size: 1rem;
    line-height: 1.72;
  }

  .countdown-band__text {
    font-size: 20.48px;
    line-height: 1.78;
  }

  .countdown-band__clock {
    width: 100%;
    max-width: 41rem;
    gap: 1rem;
    justify-items: center;
    text-align: center;
  }

  .countdown-band__clock .section-kicker {
    font-size: 0.9rem;
  }

  .countdown-band__text {
    font-size: 1.16rem;
    line-height: 1.78;
  }

  .countdown {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .countdown__item {
    min-width: 0;
    padding: 1rem 0.55rem 0.9rem;
    border-radius: 18px;
    border-color: rgba(185, 130, 58, 0.18);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }

  .countdown__item span {
    font-size: 2.13rem;
    line-height: 1;
  }

  .countdown__item small {
    margin-top: 0.45rem;
    font-size: 0.61rem;
    letter-spacing: 0.16em;
  }

  .event-grid {
    align-items: stretch;
  }

  .recommendation-card {
    min-height: 15.8rem;
    padding: 1rem 0.95rem;
  }

  .recommendation-card h3 {
    font-size: 1.28rem;
    line-height: 1.12;
  }

  .recommendation-card p {
    font-size: 0.96rem;
    line-height: 1.48;
  }

  .recommendation-card--visit {
    min-height: 14.2rem;
  }

  .recommendation-card--visit .recommendation-card__title,
  .recommendation-card--visit h3 {
    font-size: 1.56rem;
    line-height: 1.08;
  }

  .recommendation-card__visit-thumb {
    width: 8.9rem;
    margin-right: 1.1rem;
    margin-bottom: 0.6rem;
  }

  .recommendation-card--food {
    min-height: 16.6rem;
  }

  .recommendation-card--food .recommendation-card__actions {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
  }

  .recommendation-card--food .recommendation-card__map-button {
    min-height: 2.32rem;
    padding-top: 0.52rem;
    padding-bottom: 0.52rem;
    border-width: 1.5px;
    font-size: 0.7rem;
    font-weight: 900;
  }

  .recommendation-card--food .recommendation-card__meta {
    margin-top: 0;
    padding-top: 0.45rem;
  }

  .recommendation-card--food .recommendation-card__meta .tag {
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(51, 42, 36, 0.58);
    font-size: 0.66rem;
    box-shadow: none;
  }

  .recommendation-card--food .recommendation-card__meta .tag--needs-hash::before {
    content: "#";
  }

  .event-card {
    display: grid;
    grid-template-rows: auto 1fr;
  }

  .event-card__media {
    aspect-ratio: 5 / 3;
    background: rgba(255, 250, 242, 0.72);
  }

  .event-card__media img {
    object-fit: contain;
  }

  .route-map {
    min-height: 460px;
  }

  .floating-rsvp {
    display: none;
  }

  .back-to-top {
    display: none;
  }

  .site-footer {
    padding-bottom: 2.8rem;
  }
}


}
