:root {
  --verde: #b2b6a2;
  --crema: #fcf6ec;
  --burdeos: #8c5a5a;
  --texto: #3e4037;
  --texto-light: #6f6f6f;
  --dark: #6c705f;
  --text-header: #faf1e1;

  --bg: #f7f0e8;
  --bg-strong: #ead8c5;
  --surface: rgba(255, 252, 247, 0.84);
  --surface-strong: #fffaf3;
  --text: #2e241e;
  --muted: #786559;
  --line: rgba(90, 62, 40, 0.14);
  --accent: #b66b4d;
  --accent-dark: #7f4630;
  --success: #2f6b4f;
  --danger: #b24a4a;
  --shadow: 0 24px 60px rgba(84, 52, 35, 0.14);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--crema);
  color: var(--texto);
}

.section-main {
  padding: 100px 8%;
}

.pinyon-script-regular {
  font-family: "Pinyon Script", cursive;
  font-weight: 400;
  font-style: normal;
}

.roboto-mono-300 {
  font-family: "Roboto Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.noto-serif-display-300 {
  font-family: "Noto Serif Display", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.tenor-sans-regular {
  font-family: "Tenor Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.great-vibes-regular {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-style: normal;
}

/* HERO */
.hero {
  height: 100vh;
  background: url("images/headerBYN.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  padding: 0px !important;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.17);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: "Pinyon Script", cursive;
  font-size: 100px;
  color: var(--text-header);
  margin: 0px 0px 20px 0px;
}

.hero p {
  letter-spacing: 3px;
  font-size: 24px;
  color: var(--text-header);
  margin: 0px;
}

.hero-bottom {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 40px;
  box-sizing: border-box;

  color: white;
  z-index: 2;
}

.hero-bottom span {
  text-transform: uppercase;
  font-family: "Roboto Mono", monospace;
  color: var(--text-header);
  font-size: 12px;
}

.text-important-bottom {
  font-size: 15px !important;
}

/* ANIMACIONES */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* STAGGER */
.reveal-delay-1 {
  transition-delay: 0.2s;
}
.reveal-delay-2 {
  transition-delay: 0.4s;
}
.reveal-delay-3 {
  transition-delay: 0.6s;
}
.reveal-delay-4 {
  transition-delay: 0.8s;
}
.reveal-delay-5 {
  transition-delay: 1s;
}

/* INTRO */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0px !important;
  height: 850px;
}

.intro-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.intro-text {
  padding: 90px;
  display: flex;
  flex-direction: column;
  align-self: center;
}

.intro-text h2 {
  font-size: 32px;
  text-transform: uppercase;
  margin-bottom: 50px;
  margin-top: 0px;
}

.text-description {
  line-height: 30px;
  span {
    line-height: 0;
    font-size: 35px;
  }
}

.text-description-final {
  line-height: 30px;
  margin-top: 50px;
  text-align: center;

  span {
    font-weight: 600px;
  }
}

/* BANNER */
.banner {
  background: var(--verde);
  text-align: center;

  h3 {
    font-family: "Pinyon Script", cursive;
    font-size: 30px;
    margin: 0px;
  }
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;

  margin-top: 30px;
}

.count-item {
  text-align: center;
}

.number {
  display: block;
  font-size: 56px;
  font-weight: 300;
  font-family: "Tenor Sans", sans-serif;
  letter-spacing: 2px;
}

.label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #7a7d6d;
  margin-top: 8px;
}

.divider {
  width: 1px;
  height: 40px;
  background-color: rgba(178, 182, 162, 0.4);
}

/* TIMELINE */
.timeline {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  padding: 120px 10%;
  background: var(--crema);
}

.column-title {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* IZQUIERDA */
.timeline-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.timeline .title h2 {
  font-family: "Noto Serif Display", serif;
  font-size: 56px;
  font-weight: 300;
  margin: 0;
}

.timeline .title p {
  font-family: "Tenor Sans", sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
}

.timeline-img {
  width: 100%;
  max-width: 500px;
  margin-top: 60px;
}

/* DERECHA */
.timeline-right {
  display: flex;
  flex-direction: column;
}

/* ITEM */
.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr 80px;
  gap: 20px;
  padding: 20px 0;
}

/* HORA */
.time {
  font-family: "Noto Serif Display", serif;
  font-size: 22px;
  font-weight: 300;
}

/* CONTENIDO */
.content h3 {
  font-family: "Noto Serif Display", serif;
  font-size: 22px;
  font-weight: 400;
  margin: 0;
}

.content p {
  font-size: 14px;
  font-family: "Noto Serif Display", serif;
  font-weight: 300;
  margin: 5px 0;
  color: var(--texto-light);
}

.location {
  font-family: "Noto Serif Display", serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--texto-light);
}

/* ICONO */
.icon-size-1 {
  width: 50px;
}

.icon-size-2 {
  width: 65px;
}

/* LINEA */
.line {
  height: 1px;
  background: rgba(0, 0, 0, 0.2);
  margin: 5px 0;
}

/* GALERIA */
.gallery {
  background-image: url("images/fondo-sepia.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  gap: 100px;
  min-height: 450px;
  align-items: anchor-center;
}

.gallery img {
  width: 270px;
  height: 352px;
  object-fit: cover;
  transition: 0.4s;
}

.img-position-1 {
  object-position: center;
}

.img-position-2 {
  object-position: 70% 30%;
}

.img-position-3 {
  object-position: 70% 30%;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* TRANSPORT */
.transport {
  background: var(--verde);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* FAQ */
.faq-item {
  display: grid;
  /* grid-template-columns: 1fr 80px;*/
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px 0;
  align-items: center;

  h3 {
    font-family: "Noto Serif Display", serif;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
  }
}

.faq-description {
  font-size: 14px;
  font-family: "Noto Serif Display", serif;
  font-weight: 300;
  margin: 5px 0;
  color: var(--texto-light);

  a {
    color: var(--burdeos);
    font-size: 14px;
    font-family: "Noto Serif Display", serif;
    font-weight: 300;
    text-decoration: none;
  }
}

/* RSVP */
.rsvp {
  background: var(--verde);
  text-align: center;

  h2 {
    font-family: "Noto Serif Display", serif;
    font-size: 56px;
    font-weight: 300;
    margin: 0;
  }

  p {
    font-family: "Tenor Sans", sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
  }

  .btn-send {
    background-color: #b2b6a2;
    color: #fcf6ec;
    border: none;
    padding: 12px 22px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .btn-send:hover {
    background-color: #7a8b6f;
  }

  /* GOOGLE FORM */

  .T2dutf {
    display: none !important;
  }
}

.gift {
  background: var(--crema);

  .container-border {
    border: 10px solid var(--dark);
    text-align: center;
    padding: 100px;
  }

  h3 {
    font-size: 32px;
    margin-top: 0px;
  }

  p {
    font-size: 14px;
    font-family: "Noto Serif Display", serif;
    font-weight: 300;
    margin: 10px 0;
    color: var(--texto-light);
  }

  .btn-copy {
    margin-top: 30px;
  }

  .btn-copy {
    background-color: #b2b6a2;
    color: #fcf6ec;
    border: none;
    padding: 12px 22px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .btn-copy:hover {
    background-color: #7a8b6f;
  }

  .contenedor-copy {
    position: relative;
    display: inline-block;
  }

  .mensaje {
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);

    opacity: 0;
    transition: all 0.3s ease;

    white-space: nowrap;

    font-size: 14px;
    font-family: "Noto Serif Display", serif;
    font-weight: 300;
    margin: 10px 0;
    color: var(--texto-light);
  }

  .mensaje.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

button {
  padding: 14px 30px;
  border: none;
  background: var(--dark);
  color: white;
  cursor: pointer;
}

@media (max-width: 900px) {
  .intro,
  .timeline,
  .transport {
    grid-template-columns: 1fr;
  }

  .gallery {
    flex-direction: column;
    align-items: center;
  }

  .faq {
    flex-direction: column;
    align-items: center;
  }

  .buses-experience {
    grid-template-columns: 1fr;
  }

  .route-stage-header {
    flex-direction: column;
  }

  .route-stage-note {
    white-space: normal;
  }

  .route-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .buses-panel,
  .route-stage {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .buses-panel-copy h3,
  .route-stage-header h3 {
    max-width: none;
  }

  .route-map-card {
    padding: 14px 10px;
    overflow-x: auto;
  }

  .route-svg {
    min-width: 720px;
  }
}

.buses {
  background:
    radial-gradient(
      circle at top left,
      rgba(252, 246, 236, 0.22),
      transparent 28%
    ),
    radial-gradient(
      circle at right center,
      rgba(140, 90, 90, 0.12),
      transparent 24%
    ),
    var(--verde);
  padding: clamp(60px, 8vw, 120px) 5%;
  color: var(--crema);
}

.buses-header {
  text-align: center;
  margin-bottom: 54px;
}

.buses-header h2 {
  font-family: "Noto Serif Display", serif;
  font-size: 56px;
  font-weight: 300;
  margin: 0;
}

.buses-header p {
  font-family: "Tenor Sans", sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
}

.buses-experience {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 32px;
  align-items: stretch;
}

.buses-panel,
.route-stage {
  background: rgba(252, 246, 236, 0.12);
  border: 1px solid rgba(252, 246, 236, 0.22);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(62, 64, 55, 0.14);
}

.buses-panel {
  padding: 34px;
  display: grid;
  gap: 28px;
}

.buses-panel-copy h3,
.route-stage-header h3 {
  font-family: "Noto Serif Display", serif;
  font-weight: 300;
  margin: 0;
}

.buses-panel-copy h3 {
  font-family: "Noto Serif Display", serif;
  font-size: 40px;
  margin-top: 12px;
  font-weight: 300;
  line-height: 1.3;
}

.buses-panel-copy p {
  font-size: 1rem;
  margin-top: 20px;
  font-family: "Noto Serif Display", serif;
  font-weight: 300;
  color: rgba(252, 246, 236, 0.82);
}

.buses-kicker,
.route-stage-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Noto Serif Display", serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(252, 246, 236, 0.76);
}

.buses-kicker::before,
.route-stage-label::before {
  content: "";
  width: 30px;
  height: 1px;
  background: rgba(252, 246, 236, 0.48);
}

.bus-route-picker {
  display: grid;
  gap: 14px;
}

.bus-route-tab {
  display: grid;
  gap: 4px;
  justify-items: start;
  text-align: left;
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid rgba(252, 246, 236, 0.16);
  background: rgba(252, 246, 236, 0.08);
  color: var(--crema);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.bus-route-tab:hover {
  transform: translateY(-2px);
  background: rgba(252, 246, 236, 0.12);
  border-color: rgba(252, 246, 236, 0.3);
}

.bus-route-tab.is-active {
  background: rgba(252, 246, 236, 0.92);
  color: var(--texto);
  border-color: rgba(252, 246, 236, 0.8);
  box-shadow: 0 18px 30px rgba(62, 64, 55, 0.12);
}

.bus-route-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(252, 246, 236, 0.18);
  font-family: "Roboto Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bus-route-tab.is-active .bus-route-pill {
  background: rgba(140, 90, 90, 0.12);
  color: var(--burdeos);
}

.bus-route-tab strong {
  font-family: "Noto Serif Display", serif;
  font-size: 1.6rem;
  font-weight: 300;
}

.bus-route-tab small {
  font-family: "Tenor Sans", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: inherit;
  opacity: 0.76;
}

.route-stage {
  padding: 32px;
  color: var(--crema);
}

.route-stage-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.route-stage-header h3 {
  font-family: "Noto Serif Display", serif;
  font-size: 30px;
  margin-top: 12px;
  font-weight: 300;
  line-height: 1.3;
}

.route-stage-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(252, 246, 236, 0.12);
  font-family: "Tenor Sans", sans-serif;
  font-size: 0.9rem;
  white-space: nowrap;
}

.route-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--burdeos);
  box-shadow: 0 0 0 6px rgba(140, 90, 90, 0.18);
}

.route-map-card {
  border-radius: 28px;
  padding: 18px;
  background:
    linear-gradient(
      180deg,
      rgba(252, 246, 236, 0.12),
      rgba(252, 246, 236, 0.06)
    ),
    rgba(62, 64, 55, 0.1);
  border: 1px solid rgba(252, 246, 236, 0.16);
}

.route-svg {
  width: 100%;
  height: auto;
  display: block;
}

#routeBase {
  stroke: rgba(252, 246, 236, 0.32);
  stroke-width: 3;
  stroke-linecap: round;
}

#routeProgress {
  stroke: var(--burdeos);
  stroke-width: 4;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(140, 90, 90, 0.3));
}

.route-stop-title,
.route-stop-note {
  text-anchor: middle;
}

.route-stop-title {
  font-family: "Noto Serif Display", serif;
  font-size: 15px;
  font-weight: 400;
  fill: var(--crema);
}

.route-stop-note {
  font-family: "Tenor Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  fill: rgba(252, 246, 236, 0.72);
}

.route-stop-ring {
  fill: rgba(252, 246, 236, 0.12);
  stroke: rgba(252, 246, 236, 0.36);
  stroke-width: 1;
}

.route-stop-dot {
  fill: var(--crema);
}

.route-bus-glow {
  fill: rgba(140, 90, 90, 0.18);
}

.route-bus-shell {
  fill: var(--burdeos);
  stroke: rgba(252, 246, 236, 0.5);
  stroke-width: 1.5;
}

.route-bus-icon {
  fill: var(--crema);
}

.route-bus-window {
  fill: rgba(140, 90, 90, 0.22);
}

.route-summary {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.route-summary-stop {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(252, 246, 236, 0.09);
  border: 1px solid rgba(252, 246, 236, 0.12);
}

.info-route-text {
  display: flex;
  flex-direction: column;
}

.route-summary-index {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(252, 246, 236, 0.92);
  color: var(--burdeos);
  font-family: "Noto Serif Display", serif;
  font-size: 0.82rem;
}

.ubi-link {
  color: var(--burdeos);
  font-size: 14px;
  font-family: "Noto Serif Display", serif;
  font-weight: 300;
  text-decoration: none;
  margin-top: 7px;
  display: block;
}

.route-summary-stop strong {
  display: block;
  font-family: "Noto Serif Display", serif;
  font-size: 1.05rem;
  font-weight: 400;
}

.route-summary-stop p {
  margin-top: 6px;
  margin-bottom: 0px;
  font-family: "Noto Serif Display", serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: rgba(252, 246, 236, 0.72);
}

/* FORMULARIO */
.page-shell {
  background-color: var(--verde);
}

.hero-card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: start;
}

.form-title {
  h1 {
    font-family: "Noto Serif Display", serif;
    font-size: 56px;
    font-weight: 300;
    margin: 0;
  }

  .intro {
    font-family: "Tenor Sans", sans-serif;
    font-size: 18px;
    letter-spacing: 2px;
  }
}

.hero-copy,
.form-card {
  backdrop-filter: blur(18px);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.hero-copy {
  min-height: 100%;
  padding: 56px;
  border-radius: var(--radius-xl);
  position: sticky;
  top: 24px;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -50px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(182, 107, 77, 0.18),
    transparent 70%
  );
}

.eyebrow {
  margin: 0 0 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent-dark);
}

.hero-copy {
  .intro {
    max-width: 34rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--muted);
    margin: 0;
  }
}

.form-card {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.progress-header {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.step-caption {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

#step-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(127, 70, 48, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d59a78, #b66b4d);
  transition: width 220ms ease;
}

.form-step {
  display: none;
  animation: fadeUp 240ms ease;
}

.form-step.is-active {
  display: block;
}

.step-copy p,
.info-card,
.summary-card,
.section-header p,
.hint {
  color: var(--muted);
}

.field,
.field-group {
  display: grid;
  gap: 10px;
}

.field span,
.field-legend {
  font-weight: 700;
  color: var(--texto);
  font-family: "Noto Serif Display", serif;
  font-size: 16px;
}

input[type="text"],
textarea {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  color: var(--text);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

input[type="text"]:focus,
textarea:focus {
  outline: none;
  border-color: rgba(182, 107, 77, 0.55);
  box-shadow: 0 0 0 5px rgba(182, 107, 77, 0.12);
  transform: translateY(-1px);
}

textarea {
  resize: vertical;
  min-height: 132px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.choice-grid.compact {
  grid-template-columns: repeat(2, 120px);
}

.choice-card {
  position: relative;
  display: flex;
  min-height: 76px;
  align-items: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  padding: 16px 18px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.choice-card:hover {
  transform: translateY(-2px);
  border-color: rgba(182, 107, 77, 0.35);
}

.choice-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.choice-card span {
  font-weight: 600;
  color: var(--text);
}

.choice-card.is-selected {
  border-color: rgba(182, 107, 77, 0.55);
  background: rgba(250, 233, 220, 0.9);
  box-shadow: 0 18px 30px rgba(182, 107, 77, 0.12);
}

.dynamic-section,
.info-card,
.summary-card,
.companion-card {
  border: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.84);
  border-radius: var(--radius-lg);
}

.dynamic-section,
.info-card,
.summary-card {
  padding: 20px;
}

.section-header,
.companion-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.companions-list {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.companion-card {
  padding: 18px;
}

.companion-card h4 {
  font-size: 1.65rem;
  font-weight: 600;
}

.remove-link {
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font-weight: 700;
  padding: 0;
}

.is-hidden {
  display: none;
}

.secondary-button,
.ghost-button,
.primary-button {
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.secondary-button,
.ghost-button {
  background: rgba(255, 255, 255, 0.65);
  color: var(--text);
  border: 1px solid rgba(127, 70, 48, 0.14);
}

.primary-button {
  background: linear-gradient(135deg, #c98361, #ab5f42);
  color: #fff9f5;
  box-shadow: 0 16px 30px rgba(171, 95, 66, 0.25);
}

.secondary-button:hover,
.ghost-button:hover,
.primary-button:hover {
  transform: translateY(-2px);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
}

.form-actions .primary-button {
  margin-left: auto;
}

.summary-content {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.summary-row {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(120, 101, 89, 0.12);
}

.summary-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.summary-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.summary-value {
  font-weight: 600;
  white-space: pre-line;
}

.form-status {
  min-height: 24px;
  margin: 18px 0 0;
  font-weight: 600;
}

.form-status.is-error {
  color: var(--danger);
}

.form-status.is-success {
  color: var(--success);
}

.error-message {
  min-height: 18px;
  font-size: 0.85rem;
  color: var(--danger);
}

.field.has-error input,
.field.has-error textarea,
.field-group.has-error .choice-card {
  border-color: rgba(178, 74, 74, 0.45);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .hero-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    position: static;
    padding: 34px 28px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 100%);
    padding: 20px 0 32px;
  }

  .form-card {
    padding: 20px;
  }

  .choice-grid,
  .choice-grid.compact {
    grid-template-columns: 1fr;
  }

  .section-header,
  .companion-card-header,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .primary-button {
    margin-left: 0;
  }
}

/* FORM OVERRIDES */
html {
  scroll-behavior: smooth;
}

.page-shell,
.page-shell *,
.page-shell *::before,
.page-shell *::after {
  box-sizing: border-box;
}

.page-shell,
.page-shell button,
.page-shell input,
.page-shell textarea {
  font-family: "Manrope", sans-serif;
}

.page-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(72px, 9vw, 120px) 5%;
  background:
    radial-gradient(
      circle at top left,
      rgba(252, 246, 236, 0.28),
      transparent 30%
    ),
    radial-gradient(
      circle at right center,
      rgba(140, 90, 90, 0.16),
      transparent 24%
    ),
    var(--verde);
  border-radius: 0;
}

.page-shell .hero-card {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.page-shell .hero-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.page-shell .hero-copy,
.page-shell .form-card {
  backdrop-filter: blur(18px);
  background: rgba(252, 246, 236, 0.88);
  border: 1px solid rgba(252, 246, 236, 0.72);
  box-shadow: 0 24px 60px rgba(62, 64, 55, 0.14);
}

.page-shell .hero-copy {
  min-height: 100%;
  padding: 56px;
  border-radius: var(--radius-xl);
  position: sticky;
  top: 24px;
  overflow: hidden;
}

.page-shell .hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -50px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 90, 90, 0.18), transparent 70%);
}

.page-shell .eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  color: var(--burdeos);
  font-family: "Tenor Sans", sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
}

.page-shell .hero-copy h1,
.page-shell #step-title,
.page-shell .summary-card h3,
.page-shell .companion-card h4 {
  font-family: "Noto Serif Display", serif;
  line-height: 0.95;
  margin: 0;
}

.page-shell .hero-copy h1 {
  font-weight: 300;
  font-size: 56px;
  margin-bottom: 20px;
}

.page-shell .form-intro {
  font-size: 18px;
  font-family: "Noto Serif Display", serif;
  font-weight: 300;
  margin: 5px 0;
  color: var(--texto-light);
  line-height: 1.8;
}

.form-deadline-note {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid rgba(108, 112, 95, 0.18);
  background: rgba(255, 250, 243, 0.72);
}

.form-deadline-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--burdeos);
  font-family: "Tenor Sans", sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-deadline-note p {
  margin: 0;
  color: var(--texto);
  font-family: "Noto Serif Display", serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
}

.page-shell .form-card {
  border-radius: var(--radius-xl);
  padding: 28px;
  height: 100%;
}

.page-shell .step-caption {
  font-size: 14px;
  font-family: "Noto Serif Display", serif;
  font-weight: 300;
  margin: 5px 0;
  color: var(--texto-light);
}

.page-shell .progress-header,
.page-shell .field span,
.page-shell .field-legend,
.page-shell .summary-label,
.page-shell .summary-value,
.page-shell .choice-card span,
.page-shell .remove-link,
.page-shell .form-status {
  color: var(--texto);
}

.page-shell #step-title {
  font-family: "Noto Serif Display", serif;
  font-size: 30px;
  font-weight: 400;
}

.page-shell .summary-card h3 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 600;
}

.page-shell {
  .companion-card-header {
    margin-bottom: 20px;
  }
}

.page-shell .companion-card h4 {
  font-weight: 600;
  font-family: "Noto Serif Display", serif;
  font-size: 19px;
}

.page-shell .field-group p,
.page-shell .step-copy p,
.page-shell .section-header p {
  margin: 0;
}

.page-shell .step-copy p {
  line-height: 1.8;
  margin-bottom: 10px;
}

.page-shell .step-copy p,
.page-shell .info-card,
.page-shell .summary-card,
.page-shell .section-header p,
.page-shell .hint,
.page-shell .summary-label {
  color: var(--texto-light);
}

.page-shell input[type="text"],
.page-shell textarea {
  width: 100%;
  border: 1px solid rgba(108, 112, 95, 0.18);
  background: rgba(255, 252, 247, 0.82);
  color: var(--texto);
}

.page-shell input[type="text"]:focus,
.page-shell textarea:focus {
  border-color: rgba(140, 90, 90, 0.45);
  box-shadow: 0 0 0 5px rgba(140, 90, 90, 0.12);
}

.page-shell .progress-bar {
  background: rgba(108, 112, 95, 0.16);
}

.page-shell .progress-bar span {
  background: linear-gradient(90deg, #a76f6f, var(--burdeos));
}

.page-shell .choice-card {
  border: 1px solid rgba(108, 112, 95, 0.18);
  background: rgba(255, 252, 247, 0.72);
}

.page-shell .choice-card:hover {
  border-color: rgba(140, 90, 90, 0.35);
}

.page-shell .choice-card.is-selected {
  border-color: rgba(140, 90, 90, 0.42);
  background: rgba(140, 90, 90, 0.1);
  box-shadow: 0 18px 30px rgba(140, 90, 90, 0.12);
}

.page-shell .dynamic-section,
.page-shell .info-card,
.page-shell .summary-card,
.page-shell .companion-card {
  border: 1px solid rgba(108, 112, 95, 0.18);
  background: rgba(255, 250, 243, 0.72);
}

.page-shell .secondary-button,
.page-shell .ghost-button {
  background: rgba(252, 246, 236, 0.7);
  color: var(--texto);
  border: 1px solid rgba(108, 112, 95, 0.18);
}

.page-shell .primary-button {
  background: var(--burdeos);
  color: var(--crema);
  box-shadow: 0 16px 30px rgba(140, 90, 90, 0.2);
}

.page-shell .secondary-button:hover,
.page-shell .ghost-button:hover {
  background: rgba(252, 246, 236, 0.9);
}

.page-shell .primary-button:hover {
  background: #7c4c4c;
}

.page-shell .remove-link {
  color: var(--burdeos);
}

.page-shell .summary-row {
  border-bottom: 1px solid rgba(108, 112, 95, 0.14);
}

@media (max-width: 920px) {
  .page-shell {
    padding: 56px 20px 64px;
  }

  .page-shell .hero-card {
    grid-template-columns: 1fr;
  }

  .page-shell .hero-copy {
    position: static;
    padding: 34px 28px;
  }

  .page-shell .hero-copy h1 {
    font-size: 35px;
  }

  .page-shell .form-intro {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .page-shell .form-card {
    padding: 20px;
  }
}

/* RESPONSIVE */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

@media (max-width: 1100px) {
  .section-main {
    padding: 84px 6%;
  }

  .intro {
    height: auto;
    min-height: 0;
  }

  .intro-text {
    padding: 64px 48px;
  }

  .timeline {
    gap: 48px;
    padding: 96px 6%;
  }

  .gallery {
    gap: 32px;
    padding-inline: 6%;
  }

  .gallery img {
    width: min(28vw, 270px);
    height: auto;
    aspect-ratio: 270 / 352;
  }

  .buses-experience {
    grid-template-columns: 1fr;
  }

  .route-stage-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .route-stage-note {
    white-space: normal;
  }

  .route-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .section-main {
    padding: 72px 20px;
  }

  .hero {
    min-height: 100vh;
    flex-direction: column;
    height: auto;
    padding: 40px 20px !important;
  }

  .hero h1 {
    font-size: clamp(4rem, 16vw, 5.8rem);
    line-height: 0.9;
  }

  .hero p {
    font-size: clamp(1rem, 4vw, 1.25rem);
    letter-spacing: 2px;
  }

  .hero-bottom {
    position: absolute;
    bottom: 30px;
    width: 100%;
    margin-top: 32px;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
    text-align: center;
    flex-wrap: wrap;
  }

  .intro {
    grid-template-columns: 1fr;
  }

  .intro-img {
    aspect-ratio: 4 / 5;
  }

  .intro-img img {
    object-position: center center;
  }

  .intro-text {
    padding: 42px 20px 20px;
  }

  .intro-text h2 {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    margin-bottom: 28px;
  }

  .text-description,
  .text-description-final {
    line-height: 1.9;
  }

  .text-description-final {
    margin-top: 28px;
  }

  .countdown {
    flex-wrap: wrap;
    gap: 18px 24px;
  }

  .divider {
    display: none;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 84px 20px;
  }

  .timeline-img {
    margin-top: 28px;
    max-width: 100%;
  }

  .timeline-item {
    grid-template-columns: 70px 1fr 80px;
    gap: 8px;
  }

  .time {
    font-size: 1rem;
  }

  .content h3 {
    font-size: 1.2rem;
  }

  .gallery {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    min-height: 0;
  }

  .gallery img {
    width: min(100%, 280px);
  }

  .buses {
    padding-inline: 20px;
  }

  .buses-header {
    margin-bottom: 36px;
  }

  .buses-header h2,
  .timeline .title h2 {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .buses-panel,
  .route-stage {
    padding: 24px;
    border-radius: 24px;
  }

  .buses-panel-copy h3 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    line-height: 1.15;
  }

  .route-stage-header h3 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.15;
  }

  .bus-route-tab {
    padding: 18px;
  }

  .bus-route-tab strong {
    font-size: 1.3rem;
  }

  .route-map-card {
    padding: 14px;
    overflow: hidden;
  }

  .route-svg {
    min-width: 0 !important;
  }

  .route-stop-title {
    font-size: 11px;
  }

  .route-stop-note {
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .route-summary {
    grid-template-columns: 1fr;
  }

  .gift .container-border {
    padding: 56px 24px;
    border-width: 6px;
  }

  .page-shell {
    padding: 56px 20px 64px;
  }

  .page-shell .hero-card {
    grid-template-columns: 1fr;
  }

  .page-shell .hero-copy {
    position: static;
    padding: 30px 24px;
  }
}

@media (max-width: 640px) {
  .section-main {
    padding: 60px 16px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 18vw, 4.6rem);
  }

  .hero-bottom span {
    font-size: 11px;
  }

  .number {
    font-size: 2.4rem;
  }

  .label {
    letter-spacing: 2px;
  }

  .timeline-item img {
    width: 44px;
  }

  .time {
    margin-bottom: 4px;
  }

  .content p,
  .location,
  .faq-description {
    line-height: 1.7;
  }

  .buses-panel,
  .route-stage {
    padding: 20px 16px;
    border-radius: 22px;
  }

  .buses-panel-copy p,
  .route-stage-note,
  .route-summary-stop p {
    font-size: 0.9rem;
  }

  .bus-route-picker,
  .route-summary {
    gap: 12px;
  }

  .route-map-card {
    padding: 12px 6px;
  }

  .route-stop-title {
    font-size: 9px;
  }

  .route-stop-note {
    font-size: 7px;
  }

  .route-summary-stop {
    align-items: flex-start;
    padding: 16px;
  }

  .gift .container-border {
    padding: 40px 18px;
  }

  .page-shell {
    padding: 48px 16px 56px;
  }

  .page-shell .form-card,
  .page-shell .hero-copy {
    padding: 20px;
  }

  .page-shell .choice-grid,
  .page-shell .choice-grid.compact {
    grid-template-columns: 1fr;
  }

  .page-shell .section-header,
  .page-shell .companion-card-header,
  .page-shell .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-shell .form-actions .primary-button {
    margin-left: 0;
  }
}

.faq-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  background: transparent;
  color: var(--burdeos);
  font-size: 14px;
  font-family: "Noto Serif Display", serif;
  font-weight: 300;
  text-decoration: none;
  cursor: pointer;
}

.image-dialog {
  width: min(860px, calc(100% - 32px));
  padding: 0;
  border: 0;
  background: transparent;
}

.image-dialog::backdrop {
  background: rgba(62, 64, 55, 0.62);
  backdrop-filter: blur(4px);
}

.image-dialog-shell {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  background: var(--crema);
  box-shadow: 0 32px 80px rgba(62, 64, 55, 0.24);
}

.image-dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(178, 182, 162, 0.18);
  color: var(--texto);
  font-family: "Tenor Sans", sans-serif;
}

.image-dialog-copy {
  padding-right: 96px;
  margin-bottom: 18px;
}

.image-dialog-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--burdeos);
  font-family: "Tenor Sans", sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.image-dialog-copy h3 {
  margin: 0;
  color: var(--texto);
  font-family: "Noto Serif Display", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 300;
  line-height: 1.1;
}

.image-dialog-media {
  display: block;
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(108, 112, 95, 0.16);
  background: white;
}

@media (max-width: 640px) {
  .faq-link-button {
    display: inline-block;
    margin-left: 0;
    margin-top: 8px;
  }

  .image-dialog {
    width: calc(100% - 20px);
  }

  .image-dialog-shell {
    padding: 20px;
    border-radius: 22px;
  }

  .image-dialog-copy {
    padding-right: 0;
    margin-bottom: 14px;
  }

  .image-dialog-close {
    position: static;
    margin-bottom: 18px;
  }
}
