:root {
  --ink: #29372e;
  --sage: #dce5da;
  --cream: #fbf9f3;
  --terracotta: #bd674d;
  --sand: #eee8dc;
  --line: #c9d2c7;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 16px/1.55 var(--sans); }
a { color: inherit; }
.hero { min-height: 720px; padding: 26px clamp(24px, 7vw, 104px) 52px; display: flex; flex-direction: column; color: #fff; background: linear-gradient(120deg, rgba(28,48,37,.86), rgba(72,98,77,.48)), url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1800&q=85") center/cover; }
.navigation { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; width: 100%; margin: 0 auto; }
.brand { color: #fff; font: 1.5rem var(--serif); text-decoration: none; }
.nav-links { display: flex; gap: 25px; }
.nav-links a { color: #fff; font-size: .88rem; text-decoration: none; }
.nav-links a:hover, .nav-links a:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle { display: none; }
.hero-content { width: min(760px, 100%); margin: auto; padding: 80px 0; text-align: center; }
.eyebrow { margin: 0 0 15px; color: var(--terracotta); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero .eyebrow { color: #f6ddc6; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
h1 { margin-bottom: 15px; font-size: clamp(3.8rem, 11vw, 7.8rem); line-height: .98; }
h1 span { color: #e4b799; font-style: italic; }
.hero-date { font-size: 1.08rem; letter-spacing: .04em; }
.button { display: inline-block; margin-top: 20px; padding: 13px 23px; border: 0; font-size: .86rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; cursor: pointer; }
.button-light { color: var(--ink); background: #fff; }
.button-dark { color: #fff; background: var(--ink); }
.button-light:hover, .button-dark:hover { background: #f3e4d8; }
.hero-flourish { text-align: center; font-size: 1.7rem; color: #edc5ac; }
.section { padding: 105px 24px; text-align: center; }
.section > * { max-width: 1050px; margin-left: auto; margin-right: auto; }
h2 { margin-bottom: 18px; font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.1; }
.intro { max-width: 650px; color: #526359; }
.date-card { display: flex; align-items: center; justify-content: center; gap: 55px; width: min(510px, 100%); margin-top: 48px; padding: 25px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.date-card div { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-right: 55px; border-right: 1px solid var(--line); font-family: var(--serif); line-height: 1.2; }
.date-card strong { font-size: 3.25rem; font-weight: 500; }
.date-card p { margin: 0; font-family: var(--serif); font-size: 1.2rem; }
.date-card p span, .muted { font-family: var(--sans); font-size: .86rem; color: #66756b; }
.countdown { display: flex; justify-content: center; gap: 24px; margin-top: 35px; }
.countdown div { min-width: 78px; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.countdown strong, .countdown span { display: block; }
.countdown strong { font: 1.8rem var(--serif); }
.countdown span { color: #66756b; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.section-sage { background: var(--sage); }
.section-sand { background: var(--sand); }
.location-layout { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; align-items: center; gap: 55px; max-width: 900px; margin: 40px auto 0; text-align: left; }
.location-art { display: block; width: 100%; max-height: 520px; object-fit: cover; filter: saturate(.92); -webkit-mask-image: radial-gradient(ellipse at center, #000 43%, rgba(0,0,0,.84) 61%, rgba(0,0,0,.35) 82%, transparent 100%); mask-image: radial-gradient(ellipse at center, #000 43%, rgba(0,0,0,.84) 61%, rgba(0,0,0,.35) 82%, transparent 100%); }
.location-layout .intro { margin-left: 0; }
.story-grid, .schedule-grid, .travel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.story-grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.story-card, .travel-card { padding: 30px 28px; background: #fff; text-align: left; box-shadow: 0 6px 18px rgba(41,55,46,.05); }
.icon { margin-bottom: 18px; color: var(--terracotta); font: 2.4rem var(--serif); }
h3 { margin-bottom: 8px; font-size: 1.55rem; }
.schedule-grid article { padding: 15px 26px; }
.travel-grid { grid-template-columns: repeat(4, 1fr); }
#viaje .travel-grid { grid-template-columns: repeat(3, minmax(0, 240px)); justify-content: center; }
.travel-card { min-height: 240px; }
.travel-card p:not(.card-number) { min-height: 76px; color: #657269; }
.travel-list { min-height: 76px; margin: 0 0 20px; padding-left: 20px; color: #657269; list-style: disc; }
.travel-list li { margin-bottom: 5px; }
.text-button { padding: 0; border: 0; color: var(--terracotta); background: transparent; font: 700 .83rem var(--sans); cursor: pointer; }
.text-button:hover, .text-button:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.disabled { cursor: default; opacity: .65; text-decoration: none; }
.guest-actions { background: var(--cream); }
.rsvp-form { width: min(720px, 100%); margin: 42px auto 0; padding: 32px; background: #fff; text-align: left; box-shadow: 0 12px 30px rgba(41,55,46,.08); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rsvp-form label:not(.choice) { display: block; margin-bottom: 20px; font-size: .84rem; font-weight: 700; }
.rsvp-form input:not([type=radio]):not([type=checkbox]), .rsvp-form select, .rsvp-form textarea { display: block; width: 100%; margin-top: 7px; padding: 11px 12px; border: 1px solid #cbd5cb; border-radius: 0; color: var(--ink); background: #fcfcf9; font: inherit; }
.rsvp-form textarea { resize: vertical; }
.rsvp-form fieldset { min-width: 0; margin: 0 0 21px; padding: 0; border: 0; }
legend { margin-bottom: 9px; font-size: .84rem; font-weight: 700; }
.choice { display: inline-flex; align-items: center; gap: 8px; margin: 0 18px 8px 0; font-size: .9rem; }
.checkbox { display: flex; margin-bottom: 18px; }
.companion-field { display: block !important; margin: 12px 0 0; font-size: .84rem; font-weight: 700; }
.companion-field[hidden] { display: none !important; }
.child-field { display: block !important; margin-top: 12px; font-size: .84rem; font-weight: 700; }
.spotify-picker { margin-top: 4px !important; }
.spotify-search-row { display: flex; align-items: center; gap: 16px; }
.spotify-search-row input { flex: 1; }
.spotify-search-row .text-button { white-space: nowrap; }
.spotify-results { display: grid; gap: 8px; margin-top: 12px; }
.spotify-result { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border: 1px solid #d8e0d8; background: #fcfcf9; text-align: left; cursor: pointer; }
.spotify-result:hover, .spotify-result:focus-visible { border-color: var(--terracotta); background: #f6eee8; }
.spotify-result img { width: 42px; height: 42px; object-fit: cover; }
.spotify-result strong, .spotify-result span { display: block; }
.spotify-result span { color: #66756b; font-size: .78rem; }
.form-note { margin: 23px 0 0; color: #7b857d; font-size: .75rem; }
.notice { min-height: 25px; margin-top: 28px; color: var(--terracotta); font-weight: 700; }
footer { padding: 57px 24px; background: var(--ink); color: #fff; text-align: center; }
footer p:first-child { margin-bottom: 6px; font: 1.8rem var(--serif); }
.footer-note { margin: 0; color: #cbd8ce; font-size: .9rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 850px) { .travel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .hero { min-height: 620px; }
  .menu-toggle { display: grid; gap: 5px; width: 30px; padding: 5px 0; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span:not(.visually-hidden) { height: 1px; background: #fff; }
  .nav-links { position: absolute; top: 67px; right: 24px; z-index: 2; display: none; flex-direction: column; gap: 16px; padding: 19px 22px; background: var(--ink); }
  .nav-links.is-open { display: flex; }
  .location-layout { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .location-layout .intro { margin-left: auto; }
  .date-card { gap: 24px; }
  .date-card div { padding-right: 24px; }
  .countdown { gap: 8px; }
  .countdown div { min-width: 68px; }
  .story-grid, .schedule-grid, .travel-grid { grid-template-columns: 1fr; max-width: 410px; }
  #viaje .travel-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 24px; }
  .rsvp-form { padding: 25px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .spotify-search-row { align-items: flex-start; flex-direction: column; gap: 10px; }
  .spotify-search-row .text-button { margin-bottom: 10px; }
}
