:root {
  --display: "Milton Two", "Kaushan Script", "Brush Script MT", cursive;
  --body-readable: "Complex", "Cormorant Garamond", Georgia, serif;
  --serif: var(--body-readable);
  --script: var(--display);
  --hand: var(--display);
  --sans: var(--body-readable);
  --paper-wash: rgba(255, 250, 240, 0.83);
  --paper-solid: #fffaf1;
  --editorial-red: #9b2432;
  --editorial-green: #456452;
  --editorial-gold: #b58a35;
  --editorial-ink: #312f2a;
}

body {
  overflow-x: clip;
  font-family: var(--body-readable);
  font-size: 1.075rem;
  line-height: 1.58;
  background-position: center top;
  background-size: auto, clamp(1100px, 120vw, 1800px) auto;
}

button,
.button,
input,
select,
textarea,
.status-message,
.field-hint {
  font-family: var(--body-readable);
}

h1,
h2,
h3,
.brand,
.site-nav a,
.logout-button,
.eyebrow,
.tag,
.home-date,
.home-kicker,
.invitation-link span,
.gift-thanks,
.footer-home {
  font-family: var(--display);
}

h1,
h2,
h3 {
  color: var(--editorial-red);
  letter-spacing: 0.01em;
}

.site-header {
  border-bottom: 1px solid rgba(115, 26, 37, 0.1);
  background: rgba(252, 246, 236, 0.91);
  box-shadow: 0 6px 24px rgba(83, 55, 34, 0.04);
}

.header-inner {
  min-height: 68px;
}

.brand {
  font-size: clamp(1.75rem, 4vw, 2.3rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-nav a,
.logout-button {
  font-size: 1rem;
  font-weight: 700;
}

.logout-button {
  min-width: 44px;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--editorial-red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

.surface {
  border: 1px solid rgba(116, 77, 48, 0.14);
  border-radius: 4px 18px 5px 16px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.48), transparent 45%),
    var(--paper-wash);
  box-shadow: 0 20px 48px rgba(83, 55, 34, 0.08);
}

.button {
  min-height: 48px;
  border-radius: 4px 12px 5px 10px;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.button-secondary {
  background: rgba(255, 250, 241, 0.72);
}

.eyebrow,
.tag {
  letter-spacing: 0.08em;
  text-transform: none;
}

.site-footer {
  padding-block: 36px max(36px, env(safe-area-inset-bottom));
  color: var(--muted);
  background: rgba(252, 246, 236, 0.52);
}

.footer-home {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--editorial-red);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

/* Portada editorial */
.editorial-home {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 70px) 0 40px;
}

.home-heading {
  position: relative;
  z-index: 4;
  text-align: center;
}

.home-kicker {
  margin: 0 0 6px;
  color: var(--editorial-green);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
}

.home-heading h1 {
  display: flex;
  margin: 0;
  align-items: baseline;
  justify-content: center;
  gap: 0.23em;
  font-size: clamp(3.3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.92;
}

.home-heading h1 span:nth-child(2) {
  color: var(--editorial-green);
  font-size: 0.62em;
}

.home-date {
  margin: 16px 0 0;
  color: var(--editorial-red);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
}

.home-place {
  margin: 2px 0 0;
  color: var(--editorial-ink);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.home-collage {
  position: relative;
  min-height: clamp(610px, 62vw, 790px);
  margin-top: -8px;
  isolation: isolate;
}

.home-collage > img {
  position: absolute;
  pointer-events: none;
}

.collage-garland {
  z-index: 1;
  top: 3%;
  left: 8%;
  width: 84%;
  opacity: 0.78;
}

.collage-table {
  z-index: 2;
  top: 7%;
  left: 50%;
  width: min(76%, 920px);
  transform: translateX(-50%) rotate(-0.6deg);
  filter: drop-shadow(0 20px 20px rgba(75, 49, 31, 0.1));
}

.collage-pomegranates {
  z-index: 2;
  right: 0;
  bottom: 0;
  width: min(27%, 270px);
  transform: rotate(-8deg);
}

.collage-flower {
  z-index: 1;
  bottom: 1%;
  left: -2%;
  width: min(29%, 300px);
  transform: rotate(8deg);
}

.invitation-menu {
  position: absolute;
  z-index: 5;
  inset: 0;
}

.invitation-link {
  position: absolute;
  display: flex;
  width: min(260px, 28%);
  min-height: 72px;
  padding: 8px 12px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  color: var(--editorial-red);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 3px 13px 4px 12px;
  background: rgba(255, 250, 241, 0.82);
  box-shadow: 0 8px 20px rgba(68, 43, 27, 0.05);
  transform: rotate(var(--tilt, -2deg));
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.invitation-link::after {
  width: 72%;
  height: 2px;
  margin-top: 3px;
  content: "";
  background: currentColor;
  transform: rotate(-1deg);
}

.invitation-link span {
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
}

.invitation-link small {
  color: var(--editorial-ink);
  font-size: 0.85rem;
  line-height: 1.25;
}

.invitation-link:hover,
.invitation-link:focus-visible {
  border-color: rgba(155, 36, 50, 0.35);
  background: var(--paper-solid);
  transform: rotate(0) translateY(-3px);
}

.invitation-link-arrival {
  --tilt: -3deg;
  top: 26%;
  left: 1%;
}

.invitation-link-lodging {
  --tilt: 2deg;
  top: 45%;
  right: 0;
}

.invitation-link-rsvp {
  --tilt: -2deg;
  right: 9%;
  bottom: 5%;
}

.invitation-link-gift {
  --tilt: 2.5deg;
  bottom: 13%;
  left: 8%;
}

.editorial-home .countdown {
  max-width: 680px;
  margin-top: -28px;
}

.editorial-home .countdown-item {
  background: rgba(255, 250, 241, 0.5);
}

/* Páginas interiores */
.editorial-page .page-hero {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  min-height: 520px;
  margin: 0 auto;
  padding: clamp(52px, 8vw, 100px) 0 clamp(24px, 4vw, 50px);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  grid-template-columns: minmax(280px, 0.78fr) minmax(440px, 1.22fr);
  text-align: left;
}

.editorial-page .page-hero .narrow {
  width: auto;
  min-width: 0;
  margin: 0;
}

.editorial-page .page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(3.6rem, 7vw, 6.8rem);
  font-weight: 700;
  line-height: 0.9;
}

.editorial-page .page-hero .lead {
  max-width: 520px;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.editorial-page .page-hero > img {
  width: 100%;
  max-height: 430px;
  margin: 0;
  object-fit: contain;
}

.arrival-layout {
  display: grid;
  align-items: start;
  gap: clamp(30px, 6vw, 78px);
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
}

.arrival-location {
  padding: clamp(26px, 5vw, 52px);
}

.arrival-location h2 {
  margin-bottom: 16px;
  font-size: clamp(2.15rem, 4.5vw, 3.7rem);
  line-height: 1;
}

.arrival-location h2 a {
  color: inherit;
  text-decoration-thickness: 1px;
}

.arrival-actions {
  display: flex;
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.editorial-program {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.editorial-program li {
  display: grid;
  min-height: 86px;
  padding: 13px 18px;
  align-items: center;
  gap: 16px;
  grid-template-columns: 42px 1fr;
  border-bottom: 2px solid rgba(155, 36, 50, 0.22);
  transform: rotate(var(--row-tilt, -0.6deg));
}

.editorial-program li:nth-child(even) {
  --row-tilt: 0.7deg;
}

.editorial-program span {
  color: var(--editorial-gold);
  font-size: 0.9rem;
}

.editorial-program strong {
  color: var(--editorial-red);
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  line-height: 1;
}

.festival-alert {
  border-left: 5px solid var(--editorial-gold);
}

.parking-heading-icon {
  mix-blend-mode: multiply;
}

/* Alojamientos */
.lodging-list {
  display: grid;
  gap: clamp(28px, 6vw, 64px);
}

.lodging-card {
  display: grid;
  padding: clamp(18px, 4vw, 38px);
  align-items: center;
  gap: clamp(24px, 5vw, 62px);
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
}

.lodging-card-reverse img {
  grid-column: 2;
}

.lodging-card-reverse .lodging-copy {
  grid-column: 1;
  grid-row: 1;
}

.lodging-card img {
  width: 100%;
  max-height: 310px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: rotate(-1.5deg);
}

.lodging-card-reverse img {
  transform: rotate(1.3deg);
}

.lodging-copy h2 {
  margin-bottom: 10px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.95;
}

.lodging-copy h2 a {
  color: inherit;
  text-decoration-thickness: 1px;
}

.lodging-copy address {
  margin-bottom: 12px;
  font-style: normal;
}

.lodging-note {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 24px;
  text-align: center;
}

/* Lista de bodas */
.gift-layout {
  max-width: 1000px;
}

.gift-card {
  display: grid;
  padding: clamp(18px, 5vw, 54px);
  align-items: center;
  gap: clamp(24px, 6vw, 66px);
  grid-template-columns: minmax(280px, 0.95fr) minmax(300px, 1.05fr);
}

.gift-art {
  width: 100%;
  mix-blend-mode: multiply;
  transform: rotate(-1.5deg);
}

.gift-copy {
  font-size: clamp(1.12rem, 2.3vw, 1.35rem);
  text-align: center;
}

.gift-copy .iban-box {
  margin-top: 30px;
}

.gift-thanks {
  margin: 28px 0 0;
  color: var(--editorial-red);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
}

/* Confirmación */
.rsvp-hero {
  min-height: 410px !important;
  grid-template-columns: 1fr !important;
  text-align: center !important;
}

.rsvp-hero .narrow {
  width: min(760px, 100%) !important;
  margin: 0 auto !important;
}

.rsvp-hero .decor-divider {
  width: min(520px, 92%);
  margin: 14px auto 0;
  mix-blend-mode: multiply;
}

.rsvp-tabs {
  padding: 6px 18px;
  border-radius: 4px 14px;
  background: rgba(255, 250, 241, 0.65);
}

.form-card {
  position: relative;
  overflow: hidden;
}

.form-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  width: 2px;
  content: "";
  opacity: 0.25;
  background: var(--editorial-red);
}

.form-section legend,
.field label,
.field-label,
.attendees-intro h3,
.attendee-block h3 {
  font-family: var(--body-readable);
}

.form-section legend {
  color: var(--editorial-red);
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-style: italic;
}

.field input,
.field select,
.field textarea {
  border-width: 0 0 1px;
  border-color: rgba(49, 47, 42, 0.45);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.18);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--editorial-red);
  outline: 2px solid rgba(155, 36, 50, 0.12);
  outline-offset: 2px;
}

.rsvp-faq-section {
  padding-top: 50px;
}

@media (max-width: 1040px) {
  .site-nav a,
  .logout-button {
    padding-inline: 8px;
    font-size: 0.92rem;
  }

  .home-collage {
    min-height: 680px;
  }
}

@media (max-width: 900px) {
  .site-nav {
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    background: rgba(252, 246, 236, 0.98);
  }

  .site-nav a,
  .logout-button {
    min-height: 48px;
    justify-content: flex-start;
    font-size: 1.1rem;
  }

  .home-collage {
    display: grid;
    min-height: 0;
    margin-top: 22px;
  }

  .home-collage > img {
    position: absolute;
  }

  .collage-table {
    position: relative !important;
    top: auto;
    left: auto;
    width: min(760px, 100%);
    margin: 0 auto;
    transform: rotate(-0.6deg);
  }

  .collage-garland {
    top: 0;
    left: 2%;
    width: 96%;
  }

  .collage-pomegranates,
  .collage-flower {
    display: none;
  }

  .invitation-menu {
    position: relative;
    display: grid;
    margin-top: -4vw;
    padding: 0 8px;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .invitation-link {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 92px;
  }

  .editorial-home .countdown {
    margin-top: 28px;
  }

  .editorial-page .page-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .editorial-page .page-hero .lead {
    margin-inline: auto;
  }

  .editorial-page .page-hero > img {
    width: min(760px, 100%);
    margin: 0 auto;
  }

  .arrival-layout,
  .lodging-card,
  .gift-card {
    grid-template-columns: 1fr;
  }

  .lodging-card-reverse img,
  .lodging-card-reverse .lodging-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .lodging-card .lodging-copy {
    text-align: center;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 1rem;
    background-size: auto, 1080px auto;
  }

  .editorial-home {
    width: min(100% - 20px, 1240px);
    padding-top: 28px;
  }

  .home-heading h1 {
    flex-wrap: wrap;
    gap: 0 0.17em;
    font-size: clamp(3.25rem, 18vw, 5rem);
  }

  .home-heading h1 span:nth-child(2) {
    flex-basis: auto;
  }

  .home-date {
    margin-top: 12px;
  }

  .invitation-menu {
    margin-top: -8px;
    grid-template-columns: 1fr;
  }

  .invitation-link {
    min-height: 80px;
    align-items: center;
    text-align: center;
  }

  .invitation-link::after {
    width: 56%;
  }

  .editorial-home .countdown {
    padding-inline: 4px;
  }

  .editorial-page .page-hero {
    width: min(100% - 24px, 1180px);
    padding-top: 42px;
    gap: 14px;
  }

  .editorial-page .page-hero h1 {
    font-size: clamp(3.25rem, 18vw, 5rem);
  }

  .editorial-page .page-hero.lodging-hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.6rem);
  }

  .arrival-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .arrival-actions .button {
    width: 100%;
  }

  .editorial-program li {
    min-height: 72px;
  }

  .lodging-card,
  .gift-card {
    padding: 18px;
  }

  .gift-copy .iban-box {
    align-items: stretch;
  }

  .gift-copy .iban-box .button {
    width: 100%;
  }

  .rsvp-tabs {
    width: 100%;
    gap: 14px;
  }

  .rsvp-tab {
    flex: 1;
    font-size: 1.04rem;
  }

  .form-card::before {
    left: 8px;
  }

}

@media (max-width: 360px) {
  .home-heading h1 {
    font-size: 3rem;
  }

  .countdown span {
    font-size: 0.76rem;
  }

  .editorial-page .page-hero h1 {
    font-size: 3.2rem;
  }

  .rsvp-tabs {
    padding-inline: 8px;
  }
}

/* Ajuste editorial mobile-first · agosto de 2026 */
body {
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
.brand,
.site-nav a,
.eyebrow,
.tag,
.home-date,
.home-kicker,
.invitation-link span,
.gift-thanks,
.footer-home {
  font-weight: 700;
}

.section {
  padding: clamp(38px, 6vw, 72px) 0;
}

.section-tight {
  padding: clamp(20px, 3.5vw, 42px) 0;
}

.header-inner {
  min-height: 64px;
}

.brand {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.site-nav a {
  font-size: 0.94rem;
}

.site-footer {
  padding-block: 22px max(24px, env(safe-area-inset-bottom));
}

.site-footer::before {
  width: min(390px, 72vw);
  height: 54px;
  margin-bottom: 0;
}

.footer-home {
  font-size: 1.25rem;
}

/* Portada: composición integrada, no lista de tarjetas */
.editorial-home {
  padding: clamp(24px, 4vw, 48px) 0 30px;
}

.home-heading h1 {
  flex-wrap: nowrap;
  gap: 0.2em;
  font-size: clamp(3rem, 6.2vw, 5.15rem);
  line-height: 1;
  white-space: nowrap;
}

.home-heading h1 span:nth-child(2) {
  color: inherit;
  font-size: 0.58em;
}

.home-kicker {
  font-size: clamp(0.98rem, 1.7vw, 1.18rem);
}

.home-date {
  margin-top: 8px;
  font-size: clamp(1.18rem, 2.5vw, 1.65rem);
}

.home-place {
  font-size: 0.98rem;
}

.home-collage {
  min-height: clamp(540px, 55vw, 690px);
  margin-top: -4px;
}

.collage-table-wrap {
  position: absolute;
  z-index: 2;
  top: 7%;
  left: 50%;
  width: min(76%, 920px);
  transform: translateX(-50%) rotate(-0.6deg);
  filter: drop-shadow(0 20px 20px rgba(75, 49, 31, 0.1));
}

.collage-table-wrap .collage-table {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  margin: 0;
  transform: none !important;
  filter: none;
}

.home-card-inscription {
  position: absolute;
  z-index: 4;
  top: 73%;
  left: 58%;
  display: grid;
  width: clamp(76px, 8.7vw, 108px);
  color: #7f1d2a;
  font-family: var(--body-readable);
  line-height: 1;
  text-align: center;
  transform: translate(-50%, -50%) rotate(-5.5deg);
  pointer-events: none;
}

.home-card-inscription span {
  font-size: clamp(0.56rem, 0.9vw, 0.75rem);
  letter-spacing: 0.08em;
}

.home-card-inscription strong {
  margin-top: 4px;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.1vw, 1.75rem);
  font-weight: 400;
}

.invitation-link {
  min-height: 60px;
  padding: 6px 10px;
}

.invitation-link span {
  font-size: clamp(1.2rem, 2.1vw, 1.7rem);
}

.invitation-link small {
  font-size: 0.75rem;
}

.editorial-home .countdown {
  margin-top: -12px;
}

/* Interiores compactos y proporcionados */
.editorial-page .page-hero {
  width: min(1080px, calc(100% - 32px));
  min-height: 380px;
  padding: clamp(32px, 5vw, 58px) 0 clamp(12px, 2vw, 24px);
  gap: clamp(18px, 4vw, 48px);
  grid-template-columns: minmax(260px, 0.82fr) minmax(360px, 1.18fr);
}

.editorial-page .page-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(3rem, 5.5vw, 4.8rem);
  line-height: 1;
}

.editorial-page .page-hero .lead {
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.42;
}

.editorial-page .page-hero > img {
  max-height: 330px;
}

.arrival-layout {
  width: min(980px, calc(100% - 32px));
  gap: 18px;
  grid-template-columns: 1fr;
}

.arrival-location {
  padding: clamp(20px, 3vw, 30px);
  text-align: center;
}

.arrival-location h2 {
  max-width: 760px;
  margin: 0 auto 14px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.08;
}

.arrival-actions {
  margin-top: 12px;
  justify-content: center;
}

.arrival-actions .button {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 0.84rem;
}

.program-horizontal {
  display: grid;
  overflow: hidden;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(116, 77, 48, 0.14);
  border-radius: 4px 18px 5px 16px;
  background: rgba(255, 250, 241, 0.76);
  box-shadow: 0 14px 36px rgba(83, 55, 34, 0.06);
}

.program-horizontal li,
.program-horizontal li:nth-child(even) {
  display: flex;
  min-height: 150px;
  padding: 14px 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  border-right: 1px solid rgba(155, 36, 50, 0.18);
  border-bottom: 0;
  transform: none;
}

.program-horizontal li:last-child {
  border-right: 0;
}

.program-horizontal img {
  width: 58px;
  margin-bottom: 2px;
  mix-blend-mode: multiply;
}

.program-horizontal time {
  color: var(--editorial-gold);
  font-size: 0.8rem;
  line-height: 1;
}

.program-horizontal strong {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  text-align: center;
}

.place-note {
  display: block;
  max-width: 980px;
  margin: 0 auto;
  padding: 14px 20px;
  font-size: 0.94rem;
  text-align: center;
}

.place-note p {
  margin: 0;
}

.festival-alert {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 22px;
}

.festival-alert .tag {
  margin-bottom: 4px;
}

.festival-alert h2 {
  margin-bottom: 4px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.festival-alert p {
  margin: 0;
  font-size: 0.94rem;
}

.festival-alert::after {
  top: -16px;
  font-size: 7rem;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  margin-bottom: 6px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading p {
  margin-bottom: 0;
}

.parking-heading-icon {
  width: 48px;
  margin-bottom: 4px;
}

.parking-card {
  min-height: 0;
  padding: 18px;
}

.parking-number {
  margin-bottom: 8px;
  font-size: 1.35rem;
}

.parking-card h3 {
  margin-bottom: 6px;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.1;
}

/* Alojamientos */
.lodging-hero .page-art {
  max-height: 300px;
}

.lodging-list {
  gap: clamp(18px, 3vw, 30px);
}

.lodging-card {
  padding: clamp(14px, 2.6vw, 26px);
  gap: clamp(16px, 3vw, 34px);
}

.lodging-card img {
  max-height: 240px;
}

.lodging-copy h2 {
  margin-bottom: 6px;
  font-size: clamp(1.75rem, 3.4vw, 2.65rem);
  line-height: 1.05;
}

.lodging-copy address {
  margin-bottom: 4px;
  font-size: 0.96rem;
  line-height: 1.35;
}

/* Lista de bodas */
.gift-hero {
  min-height: 300px !important;
}

.gift-hero > img {
  max-height: 250px !important;
}

.gift-card {
  padding: clamp(16px, 3vw, 30px);
  gap: clamp(18px, 3vw, 32px);
}

.gift-art {
  max-height: 300px;
  object-fit: contain;
}

.gift-copy {
  font-size: 1.05rem;
}

.gift-copy .iban-box {
  margin-top: 16px;
  padding: 12px;
}

.gift-thanks {
  margin-top: 14px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

/* Confirmación: menos desplazamiento sin sacrificar controles táctiles */
.rsvp-hero {
  min-height: 270px !important;
  padding-block: 30px 8px !important;
}

.rsvp-hero .decor-divider {
  width: min(340px, 72%);
  margin-top: 4px;
}

.rsvp-tabs {
  margin-bottom: 14px;
  padding: 4px 12px;
}

.rsvp-tab {
  min-height: 44px;
  font-size: 1.08rem;
}

.form-card {
  padding: clamp(18px, 4vw, 34px);
}

.form-section + .form-section {
  margin-top: 30px;
}

.form-section + .form-section > legend {
  padding-top: 18px;
}

.form-section legend {
  font-size: clamp(1.35rem, 3vw, 1.7rem);
}

.field-grid {
  gap: 14px;
}

.field {
  gap: 5px;
}

.field label,
.field-label {
  font-size: 1.02rem;
}

.field input,
.field select,
.field textarea {
  min-height: 46px;
  padding: 9px 10px;
}

.field textarea {
  min-height: 86px;
}

.form-note,
.attendance-details,
.attendees-intro,
.attendee-block,
.song-field,
.general-notes-field,
.form-consent {
  margin-top: 20px;
}

.attendees-intro,
.form-consent {
  padding-top: 20px;
}

.attendee-block {
  padding: 18px 0 22px;
}

.dietary-row {
  padding: 10px 0;
}

.rsvp-faq-section {
  padding-top: 22px;
}

.detail-card {
  padding: clamp(18px, 3vw, 28px);
}

.detail-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.faq-list summary {
  min-height: 50px;
  padding-block: 12px;
  font-size: 1.08rem;
}

@media (max-width: 900px) {
  .home-collage {
    position: relative;
    display: block;
    min-height: clamp(460px, 70vw, 560px);
    margin-top: 4px;
  }

  .collage-table-wrap {
    top: 7%;
    left: 50%;
    width: 106%;
    max-width: none;
    margin: 0;
    transform: translateX(-50%) rotate(-0.6deg);
  }

  .collage-garland {
    top: 0;
    left: -2%;
    width: 104%;
  }

  .invitation-menu {
    position: absolute;
    display: block;
    margin: 0;
    padding: 0;
    inset: 0;
  }

  .invitation-link {
    position: absolute;
    width: min(240px, 42%);
    min-height: 56px;
  }

  .invitation-link-arrival {
    top: 20%;
    left: 0;
  }

  .invitation-link-lodging {
    top: 42%;
    right: 0;
  }

  .invitation-link-gift {
    bottom: 13%;
    left: 3%;
  }

  .invitation-link-rsvp {
    right: 4%;
    bottom: 1%;
  }

  .editorial-home .countdown {
    margin-top: 0;
  }

  .editorial-page .page-hero {
    min-height: 0;
    padding-top: 28px;
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .editorial-page .page-hero > img {
    max-height: 270px;
  }

  .lodging-card {
    grid-template-columns: minmax(180px, 0.8fr) minmax(240px, 1.2fr);
  }

  .gift-card {
    grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  }
}

@media (max-width: 680px) {
  body {
    font-size: 0.95rem;
    line-height: 1.42;
    background-size: auto, 760px auto;
  }

  .header-inner {
    min-height: 58px;
  }

  .brand {
    font-size: 1.55rem;
  }

  .menu-button {
    width: 44px;
    height: 44px;
  }

  .editorial-home {
    width: min(100% - 16px, 1240px);
    padding-top: 16px;
  }

  .home-heading h1 {
    flex-wrap: nowrap;
    gap: 0.16em;
    font-size: clamp(2.35rem, 12vw, 3.25rem);
  }

  .home-kicker {
    margin-bottom: 0;
    font-size: 0.88rem;
  }

  .home-date {
    margin-top: 4px;
    font-size: 1.06rem;
  }

  .home-place {
    font-size: 0.86rem;
  }

  .home-collage {
    min-height: clamp(400px, 118vw, 468px);
    margin-top: 0;
  }

  .collage-table-wrap {
    top: 8%;
    width: 114%;
  }

  .collage-garland {
    top: 1%;
    left: -6%;
    width: 112%;
  }

  .home-card-inscription {
    top: 73%;
    left: 58%;
    width: 66px;
  }

  .home-card-inscription span {
    font-size: 0.55rem;
  }

  .home-card-inscription strong {
    margin-top: 2px;
    font-size: 1rem;
  }

  .invitation-link {
    width: 47%;
    min-height: 48px;
    padding: 5px 7px;
    align-items: flex-start;
    text-align: left;
  }

  .invitation-link span {
    font-size: clamp(1rem, 5vw, 1.24rem);
  }

  .invitation-link small {
    font-size: 0.67rem;
  }

  .invitation-link::after {
    width: 70%;
  }

  .invitation-link-arrival {
    top: 16%;
  }

  .invitation-link-lodging {
    top: 38%;
  }

  .invitation-link-gift {
    bottom: 17%;
    left: 0;
  }

  .invitation-link-rsvp {
    right: 0;
    bottom: 2%;
  }

  .editorial-home .countdown {
    margin-top: -2px;
    padding-inline: 0;
  }

  .countdown-item {
    padding-block: 7px;
  }

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

  .countdown span {
    font-size: 0.68rem;
  }

  .site-footer::before {
    width: min(300px, 78vw);
    height: 42px;
  }

  .editorial-page .page-hero {
    width: min(100% - 20px, 1080px);
    padding: 20px 0 8px;
    gap: 4px;
  }

  .editorial-page .page-hero h1,
  .editorial-page .page-hero.lodging-hero h1 {
    margin-bottom: 5px;
    font-size: clamp(2.35rem, 11.5vw, 3.05rem);
  }

  .editorial-page .page-hero .eyebrow {
    margin-bottom: 2px;
    font-size: 0.86rem;
  }

  .editorial-page .page-hero .lead {
    max-width: 340px;
    font-size: 0.94rem;
  }

  .editorial-page .page-hero > img,
  .lodging-hero .page-art {
    max-height: 210px;
  }

  .arrival-hero > img {
    max-height: 225px;
  }

  .section-tight {
    padding: 12px 0;
  }

  .section {
    padding: 24px 0;
  }

  .arrival-layout {
    width: min(100% - 20px, 980px);
    gap: 10px;
  }

  .arrival-location {
    padding: 14px 12px;
  }

  .arrival-location h2 {
    margin-bottom: 9px;
    font-size: clamp(1.24rem, 5.1vw, 1.42rem);
    line-height: 1.04;
  }

  .arrival-actions {
    margin-top: 8px;
    flex-direction: row;
    gap: 8px;
  }

  .arrival-actions .button {
    width: auto;
    min-width: 0;
    flex: 1;
    padding: 7px 8px;
    font-size: 0.72rem;
  }

  .program-horizontal li,
  .program-horizontal li:nth-child(even) {
    min-height: 108px;
    padding: 7px 2px;
  }

  .program-horizontal img {
    width: 35px;
  }

  .program-horizontal time {
    font-size: 0.62rem;
  }

  .program-horizontal strong {
    font-size: clamp(0.76rem, 3.6vw, 0.94rem);
  }

  .place-note,
  .festival-alert {
    width: min(100% - 20px, 980px);
    padding: 12px 14px;
  }

  .place-note,
  .festival-alert p {
    font-size: 0.86rem;
  }

  .festival-alert h2 {
    font-size: 1.35rem;
  }

  .festival-alert::after {
    font-size: 5rem;
  }

  .section-heading {
    margin-bottom: 12px;
  }

  .section-heading .eyebrow {
    margin-bottom: 2px;
    font-size: 0.82rem;
  }

  .section-heading h2 {
    margin-bottom: 2px;
    font-size: 2rem;
  }

  .section-heading p {
    font-size: 0.86rem;
  }

  .parking-grid {
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .parking-card {
    display: grid;
    min-height: 0;
    padding: 10px 12px;
    align-items: center;
    gap: 0 10px;
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .parking-number {
    margin: 0;
    grid-row: 1 / 3;
    font-size: 1.08rem;
  }

  .parking-card h3 {
    margin: 0;
    font-size: 1.08rem;
  }

  .parking-card .text-link {
    min-height: 38px;
    font-size: 0.82rem;
  }

  .lodging-hero {
    padding-bottom: 2px !important;
  }

  .lodging-card,
  .lodging-card-reverse {
    padding: 10px;
    gap: 10px;
    grid-template-columns: minmax(104px, 0.72fr) minmax(0, 1.28fr);
  }

  .lodging-card-reverse img {
    grid-column: 1;
  }

  .lodging-card-reverse .lodging-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .lodging-card .lodging-copy {
    text-align: left;
  }

  .lodging-card img {
    max-height: 160px;
  }

  .lodging-copy .eyebrow {
    margin-bottom: 1px;
    font-size: 0.7rem;
  }

  .lodging-copy h2 {
    margin-bottom: 3px;
    font-size: clamp(1.25rem, 5.8vw, 1.55rem);
  }

  .lodging-copy address {
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .lodging-copy .text-link {
    min-height: 40px;
    font-size: 0.8rem;
  }

  .gift-hero {
    min-height: 0 !important;
  }

  .gift-hero > img {
    max-height: 115px !important;
  }

  .gift-card {
    padding: 12px;
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .gift-art {
    max-height: 175px;
  }

  .gift-copy {
    font-size: 0.94rem;
  }

  .gift-copy .iban-box {
    margin-top: 10px;
    padding: 9px;
  }

  .gift-copy .iban-box .button {
    width: 100%;
  }

  .gift-thanks {
    margin-top: 8px;
    font-size: 1.3rem;
  }

  .rsvp-hero {
    min-height: 0 !important;
    padding: 20px 0 2px !important;
  }

  .rsvp-hero .decor-divider {
    width: min(260px, 70%);
    margin-top: 2px;
  }

  .rsvp-tabs {
    margin-bottom: 8px;
    gap: 10px;
  }

  .rsvp-tab {
    font-size: 0.96rem;
  }

  .form-card {
    padding: 14px;
  }

  .form-card::before {
    left: 5px;
  }

  .form-section + .form-section {
    margin-top: 22px;
  }

  .form-section + .form-section > legend {
    padding-top: 14px;
  }

  .form-section legend {
    font-size: 1.3rem;
  }

  .field-grid {
    gap: 11px;
  }

  .field label,
  .field-label {
    font-size: 0.94rem;
  }

  .field input,
  .field select,
  .field textarea {
    min-height: 44px;
    padding: 8px;
    font-size: 0.94rem;
  }

  .choice {
    min-height: 44px;
    padding: 7px 10px;
    font-size: 0.9rem;
  }

  .form-note,
  .attendance-details,
  .attendees-intro,
  .attendee-block,
  .song-field,
  .general-notes-field,
  .form-consent {
    margin-top: 16px;
  }

  .attendees-intro,
  .form-consent {
    padding-top: 16px;
  }

  .rsvp-faq-section {
    padding-top: 12px;
  }

  .detail-card {
    padding: 14px;
  }

  .detail-card h2 {
    font-size: 1.5rem;
  }

  .faq-list summary {
    min-height: 46px;
    padding: 10px 30px 10px 0;
    font-size: 0.98rem;
  }

}

@media (max-width: 360px) {
  .home-heading h1 {
    font-size: 2.25rem;
  }

  .home-collage {
    min-height: 390px;
  }

  .invitation-link small {
    display: none;
  }

  .editorial-page .page-hero h1,
  .editorial-page .page-hero.lodging-hero h1 {
    font-size: 2.25rem;
  }

  .arrival-actions .button {
    font-size: 0.67rem;
  }

  .program-horizontal strong {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .invitation-link {
    transition: none;
  }
}
/* Los enlaces siguen ocupando áreas táctiles amplias, sin tarjetas visibles. */
.invitation-link {
  padding: 7px 10px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  text-shadow:
    0 1px rgba(255, 252, 246, 0.98),
    1px 0 rgba(255, 252, 246, 0.98),
    -1px 0 rgba(255, 252, 246, 0.98),
    0 -1px rgba(255, 252, 246, 0.98);
}

.invitation-link:hover {
  border-color: transparent;
  background: rgba(255, 250, 241, 0.18);
}

.invitation-link:focus-visible {
  border-color: var(--editorial-red);
  background: rgba(255, 250, 241, 0.74);
  outline: 2px solid var(--paper-solid);
  outline-offset: 2px;
}

/* Comparativa reversible: /home?menu=papel recupera las tarjetas anteriores. */
.menu-paper-preview .invitation-link {
  border-color: rgba(155, 36, 50, 0.12);
  background: rgba(255, 250, 241, 0.82);
  box-shadow: 0 8px 20px rgba(68, 43, 27, 0.05);
  text-shadow: none;
}

.menu-paper-preview .invitation-link:hover,
.menu-paper-preview .invitation-link:focus-visible {
  border-color: rgba(155, 36, 50, 0.35);
  background: var(--paper-solid);
}

/* Ajuste móvil v18: accesos equilibrados alrededor del bodegón y cuenta atrás con aire. */
@media (max-width: 680px) {
  .editorial-home .home-collage {
    overflow: clip;
  }

  .editorial-home .invitation-link {
    width: 44%;
  }

  .editorial-home .invitation-link-lodging {
    top: 18%;
    right: 0;
  }

  .editorial-home .invitation-link-gift,
  .editorial-home .invitation-link-rsvp {
    top: 68%;
    bottom: auto;
  }

  .editorial-home .invitation-link-gift {
    left: 0;
  }

  .editorial-home .invitation-link-rsvp {
    right: 0;
  }

  .editorial-home .countdown {
    box-sizing: border-box;
    width: calc(100% - 20px);
    margin-right: auto;
    margin-left: auto;
    padding-inline: 8px;
  }
}

/* Confirmación conserva el lenguaje editorial, con mayor jerarquía y el verde de la paleta. */
.editorial-home .invitation-link-rsvp {
  z-index: 2;
  width: min(285px, 30%);
  min-height: 78px;
  padding: 10px 14px;
  color: var(--editorial-green);
  border-color: rgba(69, 100, 82, 0.46);
  background: rgba(245, 241, 226, 0.7);
  box-shadow: 0 12px 28px rgba(49, 72, 59, 0.14);
}

.editorial-home .invitation-link-rsvp span {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

.editorial-home .invitation-link-rsvp small {
  color: #354d40;
}

.editorial-home .invitation-link-rsvp::after {
  width: 82%;
  height: 3px;
}

.editorial-home .invitation-link-rsvp:hover,
.editorial-home .invitation-link-rsvp:focus-visible {
  border-color: rgba(69, 100, 82, 0.55);
  background: rgba(245, 241, 226, 0.78);
}

@media (max-width: 680px) {
  .editorial-home .invitation-link-rsvp {
    width: 47%;
    min-height: 56px;
    padding: 7px 9px;
  }

  .editorial-home .invitation-link-rsvp span {
    font-size: clamp(1.14rem, 5.6vw, 1.4rem);
  }
}

/* Legibilidad de Milton Two Bold.
   Se conserva en los titulares expresivos y se reserva Complex para la
   navegación, los subtítulos y los datos funcionales. */
.editorial-home .home-collage {
  overflow: clip;
}

.brand {
  font-size: clamp(1.9rem, 3.4vw, 2.35rem);
}

.site-nav a,
.logout-button {
  font-family: var(--body-readable);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.footer-home {
  font-size: 1.5rem;
}

.countdown span {
  font-family: var(--body-readable);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.eyebrow,
.tag {
  font-family: var(--body-readable);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.035em;
}

.home-kicker {
  font-size: clamp(2.75rem, 4vw, 3.35rem);
  line-height: 1;
}

.home-date {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.invitation-link span {
  font-size: clamp(1.72rem, 2.85vw, 2.4rem);
}

.editorial-home .invitation-link-rsvp span {
  font-size: clamp(2.15rem, 3.7vw, 3rem);
}

.editorial-page .page-hero h1 {
  font-size: clamp(4.25rem, 7.2vw, 6.6rem);
}

.editorial-page .page-hero .eyebrow,
.section-heading .eyebrow,
.lodging-copy .eyebrow {
  font-size: 1.08rem;
}

.arrival-location h2 {
  font-size: clamp(2.35rem, 3.7vw, 3.2rem);
}

.program-horizontal strong {
  font-family: var(--body-readable);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.18;
}

.tag {
  font-size: 1rem;
}

.festival-alert h2 {
  font-size: clamp(1.95rem, 3.1vw, 2.6rem);
}

.parking-number {
  font-size: 1.75rem;
}

.parking-card h3 {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
}

.lodging-copy h2 {
  font-size: clamp(2.4rem, 4.3vw, 3.6rem);
}

.gift-thanks {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
}

.detail-card h2 {
  font-size: clamp(2.25rem, 3.8vw, 3rem);
}

.gift-hero .narrow {
  position: relative;
  z-index: 2;
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid rgba(116, 77, 48, 0.12);
  border-radius: 5px 22px 6px 18px;
  background: rgba(255, 250, 241, 0.88);
  box-shadow: 0 14px 34px rgba(83, 55, 34, 0.08);
}

.gift-hero > img {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  justify-self: end;
}

.home-heading h1,
.home-kicker,
.home-date,
.invitation-link,
.editorial-page .page-hero h1,
.editorial-page .page-hero .eyebrow,
.section-heading h2,
.section-heading .eyebrow,
.arrival-location h2,
.festival-alert h2,
.parking-card h3,
.lodging-copy h2,
.lodging-copy .eyebrow,
.gift-thanks,
.detail-card h2,
.footer-home {
  text-shadow: 0 1px 0 rgba(255, 250, 241, 0.96);
}

.invitation-link {
  text-shadow:
    0 0 5px rgba(255, 250, 241, 1),
    0 0 2px rgba(255, 250, 241, 1),
    1px 0 rgba(255, 250, 241, 1),
    -1px 0 rgba(255, 250, 241, 1),
    0 1px rgba(255, 250, 241, 1),
    0 -1px rgba(255, 250, 241, 1);
}

h1,
h2,
h3,
.brand,
.home-date,
.home-kicker,
.invitation-link span,
.gift-thanks,
.footer-home,
.parking-number {
  -webkit-text-stroke: 0.45px currentColor;
  paint-order: stroke fill;
  text-rendering: optimizeLegibility;
}

@media (max-width: 680px) {
  .brand {
    font-size: 1.85rem;
  }

  .home-heading h1 {
    font-size: clamp(3.5rem, 15.5vw, 4.25rem);
  }

  .home-kicker {
    font-size: 2.5rem;
  }

  .home-date {
    font-size: 1.4rem;
  }

  .editorial-home .invitation-link {
    width: 48%;
  }

  .invitation-link span {
    font-size: clamp(1.58rem, 7.2vw, 1.85rem);
  }

  .invitation-link small {
    font-size: 0.78rem;
  }

  .editorial-home .invitation-link-rsvp {
    width: 52%;
  }

  .editorial-home .invitation-link-rsvp span {
    font-size: clamp(1.78rem, 8vw, 2.1rem);
  }

  .editorial-page .page-hero h1,
  .editorial-page .page-hero.lodging-hero h1 {
    font-size: clamp(3.55rem, 15.5vw, 4.15rem);
  }

  .editorial-page .page-hero .eyebrow,
  .section-heading .eyebrow {
    font-size: 1rem;
  }

  .arrival-location h2 {
    font-size: clamp(1.7rem, 7.4vw, 2rem);
  }

  .program-horizontal strong {
    font-size: clamp(0.8rem, 3.4vw, 0.9rem);
  }

  .tag {
    font-size: 1.05rem;
  }

  .festival-alert h2 {
    font-size: 1.85rem;
  }

  .section-heading h2 {
    font-size: 2.65rem;
  }

  .parking-number {
    font-size: 1.5rem;
  }

  .parking-card h3 {
    font-size: 1.55rem;
  }

  .lodging-copy .eyebrow {
    font-size: 0.95rem;
  }

  .lodging-copy h2 {
    font-size: clamp(1.9rem, 7.8vw, 2.25rem);
  }

  .gift-thanks {
    font-size: 1.9rem;
  }

  .detail-card h2 {
    font-size: 2.05rem;
  }

  .site-nav a,
  .logout-button {
    font-size: 0.92rem;
  }

  .countdown span {
    font-size: 0.82rem;
  }

  .gift-hero .narrow {
    padding: 14px;
  }

  h1,
  h2,
  h3,
  .brand,
  .home-date,
  .home-kicker,
  .invitation-link span,
  .gift-thanks,
  .footer-home,
  .parking-number {
    -webkit-text-stroke-width: 0.5px;
  }
}

@media (max-width: 360px) {
  .home-heading h1,
  .editorial-page .page-hero h1,
  .editorial-page .page-hero.lodging-hero h1 {
    font-size: 3.4rem;
  }

  .program-horizontal strong {
    font-size: 0.8rem;
  }
}
