/* =========================================================
   Boda Mallenka & Jaime
   ========================================================= */

:root {
  --cream: #FBF8F3;
  --ivory: #F3EDE3;
  --sand: #E4DACB;
  --sage: #8A9A7B;
  --sage-light: #C9D1BE;
  --sage-dark: #56634B;
  --forest: #36402F;
  --gold: #B08D57;
  --ink: #2F2D29;
  --muted: #6E685F;
  --white: #FFFFFF;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-script: "Pinyon Script", "Brush Script MT", cursive;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --shadow: 0 18px 40px -24px rgba(54, 64, 47, .35);
  --header-h: 68px;
  --container: 1120px;
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1rem; }
strong { font-weight: 500; }
[hidden] { display: none !important; }

.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;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--forest);
  text-wrap: balance;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .6rem 1rem;
  background: var(--forest);
  color: var(--cream);
  border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { --container: 720px; }

.icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  margin-bottom: .75rem;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

.ornament { width: 150px; margin: 1.25rem auto 0; }

/* ---------- Secciones ---------- */

.section { position: relative; padding: clamp(4.5rem, 10vw, 7.5rem) 0; }
.section--alt { background: var(--ivory); }

.section__head {
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}
.section__title { font-size: clamp(2.2rem, 5.5vw, 3.4rem); }
.section__lead { margin: 1rem 0 0; color: var(--muted); }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem 1.9rem;
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--forest);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .25s, color .25s, transform .25s, box-shadow .25s;
}
.btn--primary { background: var(--forest); color: var(--cream); }
.btn--primary:hover { background: var(--sage-dark); border-color: var(--sage-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--cream); }
.btn--small { padding: .75rem 1.4rem; font-size: .7rem; }
.btn--block { width: 100%; }

/* ---------- Cabecera ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .35s, box-shadow .35s;
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(251, 248, 243, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(54, 64, 47, .08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2.5rem, 1200px);
  height: 100%;
  margin-inline: auto;
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--forest);
  text-decoration: none;
}
.nav__brand span { margin: 0 .08em; font-style: italic; color: var(--gold); }

.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__bar { display: block; height: 1.5px; background: var(--forest); transition: transform .3s; }
.nav__toggle[aria-expanded="true"] .nav__bar:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bar:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.nav__menu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: .5rem 1.5rem 2rem;
  list-style: none;
  background: var(--cream);
  box-shadow: 0 24px 30px -24px rgba(0, 0, 0, .25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }

.nav__menu a {
  display: block;
  padding: .85rem 0;
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--forest);
  border-bottom: 1px solid rgba(54, 64, 47, .08);
}
.nav__menu a.nav__cta { color: var(--gold); border-bottom: 0; }

@media (min-width: 900px) {
  .nav__toggle { display: none; }

  .nav__menu {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 2.1rem;
    padding: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__menu a {
    position: relative;
    padding: .3rem 0;
    font-size: .72rem;
    border: 0;
  }
  .nav__menu a:not(.nav__cta)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .3s;
  }
  .nav__menu a:hover::after,
  .nav__menu a.is-active::after { transform: scaleX(1); }

  .nav__menu a.nav__cta {
    padding: .6rem 1.3rem;
    color: var(--forest);
    border: 1px solid var(--forest);
    border-radius: 999px;
    transition: background-color .25s, color .25s;
  }
  .nav__menu a.nav__cta:hover { background: var(--forest); color: var(--cream); }
}

/* ---------- Portada ---------- */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 1.5rem) 1.25rem 5rem;
  overflow: hidden;
  text-align: center;
  background: radial-gradient(ellipse at 50% 35%, #FFFFFF 0%, var(--cream) 55%, var(--ivory) 100%);
}

.hero__frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  padding: clamp(4.25rem, 13vw, 6.5rem) clamp(1.25rem, 5vw, 3.5rem) clamp(2.5rem, 6vw, 3.5rem);
  background: rgba(255, 255, 255, .45);
  border: 1px solid rgba(176, 141, 87, .45);
  border-radius: 999px 999px 22px 22px;
  animation: rise 1.2s cubic-bezier(.2, .7, .2, 1) both;
}
.hero__frame::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(176, 141, 87, .25);
  border-radius: 999px 999px 15px 15px;
  pointer-events: none;
}

.hero__names {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: .25rem 0 1.25rem;
  font-family: var(--font-script);
  font-size: clamp(3.6rem, 12vw, 6.4rem);
  font-weight: 400;
  line-height: 1.05;
}
.hero__amp {
  margin: -.1em 0;
  font-family: var(--font-display);
  font-size: .42em;
  font-style: italic;
  color: var(--gold);
}

.hero__date {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  letter-spacing: .06em;
  color: var(--ink);
}
.hero__place {
  margin: .45rem 0 0;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
}

.countdown {
  display: flex;
  justify-content: center;
  margin: 1.9rem 0 2.2rem;
}
.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 4.2rem;
  padding: 0 .6rem;
}
.countdown__item + .countdown__item { border-left: 1px solid rgba(176, 141, 87, .35); }
.countdown__num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 6vw, 2.7rem);
  font-weight: 500;
  line-height: 1;
  color: var(--forest);
  font-variant-numeric: lining-nums tabular-nums;
}
.countdown__label {
  margin-top: .45rem;
  font-size: .66rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
}
.countdown__done {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--gold);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
}

.calendar { position: relative; }
.calendar summary { list-style: none; }
.calendar summary::-webkit-details-marker { display: none; }
.calendar[open] summary { background: var(--forest); color: var(--cream); }
.calendar__menu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 50%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  padding: .4rem;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(54, 64, 47, .08);
  transform: translateX(-50%);
  animation: fade .2s ease both;
}
.calendar__menu a {
  padding: .75rem 1rem;
  font-size: .95rem;
  font-weight: 400;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  border-radius: 10px;
}
.calendar__menu a:hover { background: var(--ivory); }

.hero__branch {
  position: absolute;
  bottom: -40px;
  width: clamp(120px, 20vw, 270px);
  opacity: .8;
  pointer-events: none;
  transform: rotate(var(--tilt));
  animation: sway 9s ease-in-out infinite alternate;
}
.hero__branch--left { left: clamp(-50px, -2vw, -10px); transform-origin: 50% 100%; --tilt: 28deg; }
.hero__branch--right { right: clamp(-50px, -2vw, -10px); transform-origin: 50% 100%; --tilt: -28deg; animation-delay: -4s; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: rgba(54, 64, 47, .18);
  transform: translateX(-50%);
}
.hero__scroll span {
  position: absolute;
  inset: 0 0 auto;
  height: 40%;
  background: var(--gold);
  animation: drip 2.2s ease-in-out infinite;
}

@media (max-width: 599px) {
  .hero__frame { background: rgba(255, 255, 255, .7); }
  .hero__branch { opacity: .45; bottom: -30px; }
  .hero__branch--left { left: -55px; --tilt: 10deg; }
  .hero__branch--right { right: -55px; --tilt: -10deg; }
  .countdown__item { min-width: 3.5rem; padding: 0 .4rem; }
}

/* ---------- Historia ---------- */

.story__intro {
  max-width: 680px;
  margin: 0 auto 3.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  font-style: italic;
  line-height: 1.6;
  text-align: center;
}

.moments {
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.moment {
  padding: 2.5rem 1.75rem;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.moment__year {
  display: block;
  margin-bottom: .6rem;
  font-family: var(--font-script);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold);
}
.moment h3 { margin-bottom: .6rem; font-size: 1.65rem; }
.moment p { margin: 0; font-size: .98rem; color: var(--muted); }

@media (min-width: 760px) {
  .moments { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- La boda ---------- */

.cards { display: grid; gap: 1.5rem; }
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(2.25rem, 5vw, 3.25rem) 1.5rem;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  color: var(--sage-dark);
  background: var(--ivory);
  border-radius: 50%;
}
.card h3 { margin-bottom: .35rem; font-size: 2.1rem; }
.card__time {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold);
}
.card__place { margin-bottom: .2rem; font-weight: 500; }
.card__address { margin-bottom: 1.75rem; font-size: .95rem; color: var(--muted); }
.card .btn { margin-top: auto; }

@media (min-width: 860px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Programa ---------- */

.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 27.5px;
  width: 1px;
  background: linear-gradient(var(--sage-light), var(--gold), var(--sage-light));
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-areas: "dot time" "dot body";
  column-gap: 1.25rem;
  padding-bottom: 2.25rem;
}
.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
  position: relative;
  z-index: 1;
  grid-area: dot;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--sage-dark);
  background: var(--cream);
  border: 1px solid var(--sage-light);
  border-radius: 50%;
}
.timeline__dot .icon { width: 24px; height: 24px; }

.timeline__time {
  grid-area: time;
  padding-top: .3rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.2;
  color: var(--gold);
}
.timeline__body { grid-area: body; }
.timeline__body h3 { font-size: 1.6rem; }
.timeline__body p { margin: .2rem 0 0; font-size: .98rem; color: var(--muted); }

@media (min-width: 760px) {
  .timeline::before { left: calc(50% - .5px); }
  .timeline__item {
    grid-template-columns: 1fr 64px 1fr;
    grid-template-areas: "time dot body";
    column-gap: 2rem;
    align-items: center;
  }
  .timeline__dot { width: 64px; height: 64px; }
  .timeline__time { padding: 0; font-size: 1.75rem; text-align: right; }
}

/* ---------- Información ---------- */

.info-grid { display: grid; gap: 1.25rem; }
.info-card {
  padding: 2rem 1.75rem;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.info-card .icon { margin: 0 auto .9rem; color: var(--sage-dark); }
.info-card h3 { margin-bottom: .5rem; font-size: 1.6rem; }
.info-card p { margin: 0; font-size: .98rem; color: var(--muted); }

@media (min-width: 760px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); }
}

.faq { max-width: 760px; margin: 3.5rem auto 0; }
.faq__item { border-bottom: 1px solid rgba(54, 64, 47, .14); }
.faq__item summary {
  position: relative;
  padding: 1.25rem 2.5rem 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--forest);
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: .35rem;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: translateY(-75%) rotate(45deg);
  transition: transform .3s;
}
.faq__item[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq__item p { margin: 0; padding: 0 2.5rem 1.35rem 0; color: var(--muted); }

/* ---------- Confirmación ---------- */

.rsvp { overflow: hidden; background: var(--forest); color: var(--cream); }
.rsvp .container { position: relative; z-index: 1; }
.rsvp .eyebrow { color: var(--sage-light); }
.rsvp .section__title { color: var(--cream); }
.rsvp .section__lead { color: rgba(251, 248, 243, .78); }
.rsvp .section__lead strong { color: var(--cream); white-space: nowrap; }

.rsvp__branch {
  position: absolute;
  top: -30px;
  right: -40px;
  width: clamp(140px, 22vw, 280px);
  opacity: .14;
  filter: brightness(2.4) saturate(.3);
  transform: rotate(-150deg);
  pointer-events: none;
}

.form {
  padding: clamp(1.75rem, 5vw, 3rem);
  color: var(--ink);
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}

.field {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  min-width: 0;
  margin: 0 0 1.35rem;
  padding: 0;
  border: 0;
}
.field label,
.field legend {
  padding: 0;
  margin-bottom: .45rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sage-dark);
}
.field label { margin-bottom: 0; }

.form input[type="text"],
.form input[type="password"],
.form select,
.form textarea {
  width: 100%;
  padding: .85rem 1rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.form input::placeholder,
.form textarea::placeholder { color: #A59E93; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(138, 154, 123, .2);
}
.form select {
  padding-right: 2.5rem;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23B08D57' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
}
.form textarea { min-height: 110px; resize: vertical; }
.field.is-invalid input,
.field.is-invalid .choice span,
.diet.is-invalid { border-color: #B5543F; }

.choices { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.field .choice {
  position: relative;
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
  cursor: pointer;
}
.choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.choice span {
  display: block;
  height: 100%;
  padding: .9rem .75rem;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 12px;
  transition: background-color .2s, color .2s, border-color .2s;
}
.choice:hover span { border-color: var(--sage); }
.choice input:checked + span { color: var(--cream); background: var(--forest); border-color: var(--forest); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.choices--multi { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.choices--multi .choice span { padding: .7rem .5rem; font-size: .95rem; }
@media (min-width: 600px) {
  .choices--multi { grid-template-columns: repeat(4, 1fr); }
}

.diet {
  margin: -.4rem 0 1.35rem;
  padding: 1.1rem 1.1rem .1rem;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 14px;
}
.diet .field { margin-bottom: 1.1rem; }
.diet .choices--multi .choice span { background: var(--cream); }
.diet .choice input:checked + span { background: var(--forest); }

.field-row { display: grid; column-gap: 1rem; }
@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

.form__error { margin: -.25rem 0 1rem; font-size: .95rem; font-weight: 400; color: #9B3D2E; }
.form .btn { margin-top: .5rem; }
.form .btn:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }

.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form--done { text-align: center; }
.form--done:focus { outline: none; }
.form--done .ornament { margin: 0 auto 1.25rem; }
.form--done h3 { margin-bottom: .5rem; font-size: 2.2rem; }
.form--done p { color: var(--muted); }

/* ---------- Regalo ---------- */

.gift__box {
  max-width: 520px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.gift__box .icon { margin: 0 auto 1rem; color: var(--gold); }
.gift__label { margin-bottom: .35rem; font-size: .72rem; font-weight: 500; letter-spacing: .3em; color: var(--sage-dark); }
.gift__iban {
  margin-bottom: .4rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4.2vw, 1.65rem);
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--forest);
  font-variant-numeric: lining-nums;
  overflow-wrap: anywhere;
}
.gift__holder { margin-bottom: 1.5rem; font-size: .95rem; color: var(--muted); }

/* ---------- Pie ---------- */

.footer { padding: 4rem 1.5rem 3rem; text-align: center; background: var(--ivory); }
.footer .ornament { margin: 0 auto 1.25rem; }
.footer__names {
  margin-bottom: .4rem;
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 7vw, 3.6rem);
  line-height: 1.1;
  color: var(--forest);
}
.footer__date { margin-bottom: .6rem; font-size: .85rem; letter-spacing: .35em; color: var(--muted); }
.footer__tag { margin: 0; font-family: var(--font-display); font-size: 1.2rem; font-style: italic; color: var(--gold); }

/* ---------- Aviso flotante ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 60;
  max-width: calc(100% - 2rem);
  padding: .8rem 1.4rem;
  font-size: .92rem;
  font-weight: 400;
  text-align: center;
  color: var(--cream);
  background: var(--forest);
  border-radius: 999px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 1rem);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- Animaciones ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s ease;
  transition-delay: calc(var(--d, 0) * 120ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes sway {
  from { transform: rotate(var(--tilt)); }
  to { transform: rotate(calc(var(--tilt) + 4deg)); }
}
@keyframes drip {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

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