:root {
  --paper:#f3f0e8;
  --green:#4a5f4c;
  --dark:#344c3b;
  --sage:#85907f;
  --sand:#eae4d7;
  --line:rgba(74,95,76,.25);
  --serif:'Cormorant Garamond',Georgia,serif;
  --sans:'DM Sans',Arial,sans-serif
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:105px
}

body {
  margin:0;
  color:var(--green);
  background:var(--paper);
  font:16px/1.6 var(--sans)
}

button,input,textarea,select {
  font:inherit
}

button,a,input,select,textarea,summary {
  -webkit-tap-highlight-color:transparent
}

button,a {
  touch-action:manipulation
}

button {
  color:inherit;
  cursor:pointer
}

a {
  color:inherit;
  text-decoration:none
}

button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:2px solid var(--dark);
  outline-offset:5px
}

[hidden] {
  display:none!important
}

h1,h2,h3,p {
  margin:0
}

h1,h2,h3 {
  font-family:var(--serif);
  font-weight:400;
  line-height:1.02
}

h2 {
  font-size:clamp(42px,4.5vw,72px);
  letter-spacing:-.025em
}

h3 {
  font-size:clamp(34px,3vw,48px)
}

em {
  font-weight:400
}

p {
  max-width:60ch
}

.eyebrow {
  font-size:12px;
  font-weight:500;
  letter-spacing:.19em;
  line-height:1.6
}

.text-button {
  border:0;
  background:none;
  padding:12px 0;
  font-size:14px
}

.underlined {
  display:inline-block;
  border-bottom:1px solid var(--green);
  padding-bottom:7px;
  font-size:14px
}

.button {
  border:1px solid var(--green);
  padding:15px 26px;
  min-height:52px;
  background:none;
  font-size:14px;
  transition:background .25s,color .25s
}

.button:hover {
  background:var(--dark);
  color:var(--paper)
}

.solid {
  background:var(--green);
  color:var(--paper)
}

.section {
  padding:112px max(6vw,24px)
}

.preview-note {
  background:var(--green);
  color:var(--paper);
  font-size:12px;
  text-align:center;
  padding:8px 20px
}

header {
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 5vw;
  background:rgba(243,240,232,.95);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line)
}

.brand {
  font:36px/1 var(--serif);
  white-space:nowrap
}

.brand span {
  font-style:italic;
  font-size:28px
}

.brand small {
  font: 30px var(--serif);
  letter-spacing: .05em;
  margin-left: 28px;
}

nav {
  display:flex;
  align-items:center;
  gap:30px;
  font-size:14px
}

nav a {
  padding:8px 0
}

nav a:hover {
  color:var(--dark);
  text-decoration:underline;
  text-underline-offset:6px
}

.nav-rsvp {
  border-bottom:0;
}

.menu-toggle {
  display:none;
  border:0;
  background:none;
  padding:12px
}

.hero {
  position:relative;
  padding:34px 5vw 0;
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:30px
}

.hero-copy {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:48px 15px
}

.hero-copy h1 {
  font-size:clamp(85px,9.5vw,155px);
  letter-spacing:-.045em;
  line-height:.83;
  margin:36px 0 39px
}

.hero-copy .amp {
  font-size:.67em;
  font-style:italic;
  margin-right: 24px;
}

.hero-date {
  display:flex;
  gap:25px;
  font-size:16px;
  letter-spacing:.19em
}

.hero-date span+span {
  border-left:1px solid var(--line);
  padding-left:25px
}

.hero-sub {
  font-size:14px;
  margin-top:15px
}

.hero-location {
  font-family:var(--serif);
  font-style:italic;
  font-size:23px;
  margin:20px 0 25px
}

.hero-image {
  position:relative;
  min-height:650px;
  overflow:hidden
}

.hero-image img {
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 50%;
  filter:saturate(.7)
}

.hero-image:after {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(21,41,34,.3),transparent 50%)
}

.photo-caption {
  position:absolute;
  bottom:28px;
  left:30px;
  z-index:1;
  color:#fff;
  font-size:12px;
  letter-spacing:.17em
}

.image-date {
  position:absolute;
  right:30px;
  top:28px;
  color:white;
  font:32px var(--serif);
  text-shadow:0 1px 10px #253b39
}

.image-date i {
  font-size:22px
}

.hero-bottom {
  grid-column:1/-1;
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  padding:22px 0 26px;
  font-size:12px;
  letter-spacing:.13em
}

.hero-bottom a {
  font-size:14px;
  letter-spacing:0
}

.welcome {
  text-align:center;
  padding-bottom:95px
}

.welcome p,.welcome h2 {
  margin-left:auto;
  margin-right:auto
}

.welcome h2 {
  margin-top:25px
}

.welcome-text {
  max-width:550px;
  margin-top:28px!important;
  font-size:16px
}

.countdown {
  display:flex;
  justify-content:center;
  gap:40px;
  margin:55px auto 0
}

.countdown div {
  min-width:70px
}

.countdown strong {
  display:block;
  font:58px/1 var(--serif);
  font-variant-numeric:tabular-nums
}

.countdown span {
  font-size:11px;
  letter-spacing:.18em
}

.countdown-caption {
  font:italic 20px var(--serif);
  margin-top:20px
}

.venue {
  padding-top:0;
  display:grid;
  grid-template-columns:1.15fr 1fr;
  align-items:center;
  gap:8vw
}

.venue-art {
  position:relative;
  height:570px;
  overflow:hidden;
  background:#f8f6eb
}

.venue-art img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 70%;
  mix-blend-mode:multiply
}

.art-caption {
  position:absolute;
  bottom:22px;
  left:0;
  right:0;
  text-align:center;
  font-size:11px;
  letter-spacing:.14em
}

.venue-copy h2 {
  margin:28px 0
}

.venue-copy>p:not(.eyebrow) {
  max-width:350px
}

.venue-details {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 25px;
  max-width: 380px;
}

.venue-detail {
  padding: 0 0 28px;
}

.venue-detail + .venue-detail {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.venue-detail-title {
  font-size: 12px;
  letter-spacing: .15em;
  margin-bottom: 10px;
}

.venue-detail-time,
.venue-detail-place {
  font-size: 15px;
  margin: 2px 0;
}

.venue-detail-place {
  font-family: var(--serif);
  font-size: 20px;
}

.venue-map-link {
  display: inline-block;
  margin-top: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--green);
  font-size: 14px;
}

.day-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  max-width:1000px;
  margin:60px auto 42px
}

.event {
  padding: 0 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.event .eyebrow {
  width: 100%;
  text-align: center;
}

.event+.event {
  border-left:1px solid var(--line)
}

.event-number {
  display:block;
  font:italic 36px var(--serif);
  margin-bottom:18px
}

.event h3 {
  margin:22px 0
}

.event>p:not(.eyebrow) {
  font-size:15px;
  max-width:300px;
  margin:auto
}

.pending-tag {
  display:inline-block;
  font-size:12px;
  border-bottom:1px solid var(--line);
  margin-top:24px;
  padding-bottom:5px
}

.calendar-hint {
  margin:12px auto 0;
  font-size:12px
}

.program {
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:11vw
}

.program-intro h2 {
  margin:28px 0
}

.program-intro>p:last-child {
  max-width:335px
}

.timeline {
  list-style:none;
  margin:0;
  padding:0;
  position:relative
}

.timeline:before {
  content:'';
  position:absolute;
  left:20px;
  top:23px;
  bottom:50px;
  border-left:1px solid var(--line)
}

.timeline li {
  display:flex;
  gap:28px;
  padding:0 0 38px;
  position:relative
}

.timeline-index {
  flex-shrink:0;
  width:41px;
  height:41px;
  border:1px solid var(--line);
  border-radius:50%;
  background:var(--paper);
  display:grid;
  place-items:center;
  font-size:12px
}

.timeline h3 {
  font-size:34px;
  margin:2px 0 10px
}

.timeline p {
  font-size:14px
}

.sea-break {
  height:510px;
  position:relative;
  overflow:hidden;
  display:grid;
  place-items:center;
  text-align:center;
  color:var(--paper)
}

.sea-break img {
  position:absolute;
  inset:0;
  height:100%;
  width:100%;
  object-fit:cover;
  object-position:50% 80%;
  filter:saturate(.7) brightness(.65)
}

.sea-break>div {
  position:relative
}

.sea-break h2 {
  font-size:clamp(70px,9vw,125px);
  margin-top:25px
}

.travel-layout {
  display:grid;
  grid-template-columns:1fr 1.5fr;
  gap:8vw;
  max-width:1050px;
  margin:65px auto 0
}

.travel-tabs button {
  display:flex;
  justify-content:space-between;
  width:100%;
  border:0;
  border-bottom:1px solid var(--line);
  padding:22px 0;
  background:none;
  text-align:left;
  font:28px var(--serif)
}

.travel-tabs button span {
  font:12px var(--sans);
  align-self:center
}

.travel-tabs button[aria-selected=true] {
  color:var(--dark);
  border-bottom:2px solid var(--green)
}

.travel-tabs button[aria-selected=false] {
  opacity:.7
}

.travel-panel {
  padding:24px 0;
  min-height:300px
}

.travel-panel h3 {
  margin:22px 0
}

.travel-panel>p:not(.eyebrow) {
  font-size:15px;
  max-width:420px
}
/* ---------------------------------
   CÓMO LLEGAR · GUÍA DE DESPLAZAMIENTOS
---------------------------------- */

.travel-panel-routes {
  padding-top:24px;
}

.route-guide {
  width:100%;
  max-width:680px;
}

.route-guide-intro {
  padding-bottom:38px;
}

.route-guide-intro h3 {
  margin:18px 0 24px;
}

.route-guide-lead {
  max-width:560px;
  font-family:var(--serif);
  font-size:19px;
  line-height:1.45;
}

.route-step {
  border-top:1px solid var(--line);
  padding:34px 0 40px;
}

.route-kicker {
  font-size:11px;
  font-weight:500;
  letter-spacing:.23em;
  line-height:1.6;
}

.route-step h4 {
  margin:14px 0 20px;
  font-family:var(--serif);
  font-size:clamp(30px,3vw,42px);
  font-weight:400;
  line-height:1.05;
  letter-spacing:-.02em;
}

.route-text {
  max-width:570px;
  margin-top:12px;
  font-family:var(--serif);
  font-size:17px;
  line-height:1.5;
}

.route-stats {
  display:grid;
  grid-template-columns:70px 1fr 1.3fr;
  align-items:center;
  margin-top:30px;
}

.route-vehicle {
  display:flex;
  align-items:center;
  justify-content:flex-start;
}

.route-vehicle svg {
  width:44px;
  height:44px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.1;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.route-stat {
  padding:0 22px;
  border-left:1px solid var(--line);
}

.route-stat strong {
  display:block;
  font-family:var(--serif);
  font-size:24px;
  font-weight:400;
  line-height:1.15;
  white-space:nowrap;
}

.route-stat span {
  display:block;
  margin-top:7px;
  font-size:10px;
  letter-spacing:.2em;
}

.route-map-link {
  display:inline-flex;
  align-items:center;
  gap:18px;
  margin-top:28px;
  padding-bottom:5px;
  border-bottom:1px solid var(--green);
  font-size:14px;
}

.route-map-link span {
  font-size:20px;
  line-height:1;
  transition:transform .2s ease;
}

.route-map-link:hover span {
  transform:translateX(4px);
}

.route-parking {
  display:grid;
  grid-template-columns:70px 1fr;
  gap:0;
  border-top:1px solid var(--line);
  padding-top:28px;
}

.parking-icon {
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  align-self:center;
  justify-self:start;
  transform:translateY(2px);
  border:2px solid currentColor;
  border-radius:7px;
  font-family:var(--sans);
  font-size:25px;
  line-height:1;
}

.route-parking > div:last-child {
  padding-left:22px;
  border-left:1px solid var(--line);
}

.route-parking .route-text {
  margin-top:6px;
}
/* ---------------------------------
   AUTOBUSES · TRASLADOS
---------------------------------- */

.travel-panel-bus {
  width:100%;
  padding-top:24px;
}

.bus-guide {
  width:100%;
  max-width:680px;
}

.bus-guide-intro {
  width:100%;
  padding-bottom:38px;
}

.bus-guide-intro h3 {
  margin:18px 0 24px;
}

.bus-guide-lead {
  width:100%;
  max-width:560px;
  font-family:var(--serif);
  font-size:19px;
  line-height:1.45;
}

.bus-step {
  width:100%;
  border-top:1px solid var(--line);
  padding:34px 0 40px;
}

.bus-kicker {
  font-size:11px;
  font-weight:500;
  letter-spacing:.23em;
  line-height:1.6;
}

.bus-step h4 {
  margin:14px 0 20px;
  font-family:var(--serif);
  font-size:clamp(30px,3vw,42px);
  font-weight:400;
  line-height:1.05;
  letter-spacing:-.02em;
}

.bus-text {
  width:100%;
  max-width:570px;
  margin-top:12px;
  font-family:var(--serif);
  font-size:17px;
  line-height:1.5;
}

.bus-info-grid {
  width:100%;
  display:grid;
  grid-template-columns:1fr 1.35fr;
  align-items:start;
  margin-top:30px;
}

.bus-info {
  min-width:0;
  padding-right:26px;
}

.bus-info + .bus-info {
  padding-left:30px;
  border-left:1px solid var(--line);
}

.bus-info strong {
  display:block;
  font-family:var(--serif);
  font-size:24px;
  font-weight:400;
  line-height:1.18;
}

.bus-info span {
  display:block;
  margin-top:8px;
  font-size:10px;
  line-height:1.4;
  letter-spacing:.2em;
}

.bus-pickup {
  display:inline-flex;
  align-items:center;
  gap:18px;
  margin-top:30px;
  padding-bottom:5px;
  border-bottom:1px solid var(--green);
  font-size:14px;
}

.bus-pickup > span {
  font-size:20px;
  line-height:1;
}

.bus-stops {
  width:100%;
  margin-top:34px;
  padding-top:28px;
  border-top:1px solid var(--line);
}

.bus-stops .bus-text {
  margin-top:8px;
}

.bus-pending {
  margin-top:8px;
  font-family:var(--serif);
  font-size:15px;
  opacity:.65;
  }

  /* ---------------------------------
   DÓNDE DORMIR · ESTANCIA
---------------------------------- */

.travel-panel-stay {
  width:100%;
  padding-top:24px;
}

.stay-guide {
  width:100%;
  max-width:none;
}

.stay-guide-intro {
  width:100%;
  padding-bottom:38px;
}

.stay-guide-intro h3 {
  width:100%;
  margin:18px 0 24px;
  font-family:var(--serif);
  font-weight:400;
  line-height:.98;
}

.stay-guide-intro h3 em {
  font-family:var(--serif);
  font-weight:400;
  font-style:italic;
}

.stay-guide-lead {
  width:100%;
  max-width:none;
  margin:0;
  font-family:var(--serif);
  font-size:19px;
  font-weight:400;
  line-height:1.45;
}

.stay-guide-lead-secondary {
  margin-top:22px;
}

.stay-place {
  width:100%;
  border-top:1px solid var(--line);
  padding:34px 0 40px;
}

.stay-town {
  width:100%;
  max-width:none;
  margin:0;
  font-family:var(--sans);
  font-size:11px;
  font-weight:500;
  line-height:1.6;
  letter-spacing:.23em;
}

.stay-list {
  width:100%;
  margin-top:25px;
}

.stay-hotel {
  width:100%;
}

.stay-hotel + .stay-hotel {
  margin-top:28px;
}

.stay-hotel h4 {
  width:100%;
  max-width:none;
  margin:0;
  font-family:var(--serif);
  font-size:32px;
  font-weight:400;
  line-height:1.08;
  letter-spacing:-.02em;
}

.stay-hotel p {
  width:100%;
  max-width:none;
  margin:5px 0 0;
  font-family:var(--serif);
  font-size:17px;
  font-weight:400;
  line-height:1.5;
}

.stay-important {
  width:100%;
  border-top:1px solid var(--line);
  padding:30px 0 0;
}

.stay-important-text {
  width:100%;
  max-width:none;
  margin-top:8px;
  font-family:var(--serif);
  font-size:17px;
  line-height:1.5;
}

.questions {
  padding-top:0;
  display:grid;
  grid-template-columns:1fr 1.25fr;
  gap:8vw
}

.questions-title h2 {
  margin-top:25px
}

.faq details {
  border-bottom:1px solid var(--line)
}

.faq details:first-child {
  border-top:1px solid var(--line)
}

.faq summary {
  list-style:none;
  position:relative;
  cursor:pointer;
  padding:24px 34px 24px 0;
  font-size:16px
}

.faq summary::-webkit-details-marker {
  display:none
}

.faq summary:after {
  content:'+';
  position:absolute;
  right:6px;
  font:24px var(--serif);
  top:19px
}

.faq details[open] summary:after {
  content:'−'
}

.faq details p {
  padding:0 30px 25px 0;
  font-size:14px
}

.rsvp {
  background:var(--green);
  color:var(--paper);
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:9vw
}

.rsvp-intro h2 {
  margin:28px 0
}

.rsvp-intro>p:last-of-type {
  max-width:280px
}

.form-preview {
  border-top:1px solid #ffffff40;
  margin-top:45px;
  padding-top:20px;
  max-width:330px
}

.form-preview span {
  font-size:11px;
  letter-spacing:.16em
}

.form-preview p {
  font-size:13px;
  margin-top:8px;
  color:#e0e5da
}

form>label,form label:not(.attendance label),legend {
  display:block;
  font-size:14px;
  margin:18px 0 9px
}

form>label:first-child {
  margin-top:0
}

input:not([type=radio]),select,textarea {
  width:100%;
  padding:12px 13px;
  border:1px solid #ffffff60;
  background:rgba(255,255,255,.035);
  color:var(--paper);
  border-radius:0;
  font-size:15px;
  min-height:48px
}

input::placeholder,textarea::placeholder {
  color:#d4dacd;
  opacity:1
}

select option {
  background:var(--green);
  color:var(--paper)
}

textarea {
  resize:vertical
}

fieldset {
  border:0;
  margin:22px 0;
  padding:0
}

legend {
  margin:0 0 10px
}

.attendance {
  display:flex;
  gap:12px;
  flex-wrap:wrap
}

.attendance label {
  display:flex;
  align-items:center;
  gap:8px;
  border:1px solid #ffffff60;
  padding:11px 15px;
  font-size:14px;
  cursor:pointer
}

.attendance label:has(input:checked) {
  background:var(--paper);
  color:var(--green)
}

.attendance input {
  accent-color:var(--green);
  width:16px;
  height:16px
}

.form-two {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px
}

/* ---------------------------------
   RSVP · CAMPOS DINÁMICOS
---------------------------------- */

#companion-field,
#children-fields,
#diet-field,
#bus-seats-field {
  margin-top:18px;
}

.rsvp-contacts {
  margin-top:34px;
  padding-top:22px;
  border-top:1px solid #ffffff40;
}

.rsvp-contacts p {
  margin:4px 0;
  font-size:14px;
  max-width:none;
}

.rsvp-contacts .rsvp-contact-title {
  margin-bottom:12px;
  font-size:10px;
  letter-spacing:.18em;
}

.rsvp-contacts a {
  display:inline-block;
  border-bottom:1px solid #ffffff60;
  padding-bottom:2px;
}

.rsvp-contacts a:hover {
  border-color:var(--paper);
}

#message {
  min-height:96px;
}

#children-fields,
#diet-field,
#companion-field,
#bus-seats-field {
  width:100%;
}

.rsvp .button {
  background:var(--paper);
  color:var(--green);
  border-color:var(--paper);
  margin-top:26px;
  width:100%
}

.rsvp .button:hover {
  background:#e1e4d7
}

.required-note {
  font-size:12px;
  margin-top:12px
}

.rsvp :focus-visible {
  outline-color:var(--paper)
}

footer {
  padding:85px 5vw 25px;
  text-align:center;
  background:url('../images/ilustracion-iglesia.webp') center top/4000px auto
  
  
}

.footer-names {
  font:clamp(70px,9vw,110px)/1.2 var(--serif);
  margin:20px auto 12px;
  letter-spacing:-.03em
}

.footer-date {
  font-size:14px;
  letter-spacing:.22em;
  margin:auto
}

.footer-bottom {
  border-top:1px solid var(--line);
  padding-top:20px;
  margin-top:65px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:11px;
  letter-spacing:.12em
}

.footer-bottom button {
  letter-spacing:0
}

.invitation {
  position:fixed;
  inset:0;
  z-index:100;
  background:var(--paper) url('../images/ilustracion-iglesia.webp') center top/4000px auto;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  overflow:hidden;
  transition:opacity .65s .9s,visibility .65s .9s
}

.skip {
  position:absolute;
  right:5vw;
  top:25px
}

.invite-heading h1 {
  font-size:clamp(48px,5vw,74px);
  margin-top:17px
}

.envelope {
  position:relative;
  width:min(440px,78vw);
  height:260px;
  margin-top:80px;
  border:0;
  padding:0;
  background:none;
  perspective:1000px;
  filter:drop-shadow(0 17px 19px #3d4d3820);
  transition:transform .8s .75s,opacity .6s .85s
}

.envelope-back {
  position:absolute;
  inset:0;
  background:#d7d9c9;
  border:1px solid #aeb5a0
}

.envelope-front {
  position:absolute;
  inset:0;
  z-index:3;
  background:linear-gradient(145deg,#e4e5d8,#ced5c2);
  clip-path:polygon(0 0,50% 58%,100% 0,100% 100%,0 100%)
}

.flap {
  position:absolute;
  inset:0;
  z-index:4;
  background:#dce1d0;
  clip-path:polygon(0 0,100% 0,50% 58%);
  transform-origin:top;
  transition:transform .7s ease,z-index 0s .35s;
  backface-visibility:hidden
}

.seal {
  position:absolute;
  z-index:5;
  left:calc(50% - 34px);
  top:108px;
  border-radius:50%;
  width:68px;
  height:68px;
  background:var(--green);
  color:var(--paper);
  display:grid;
  place-content:center;
  grid-auto-flow:column;
  align-items:center;
  font:23px var(--serif);
  box-shadow:0 3px 7px #334c3b38;
  border:3px double #71826b;
  transition:opacity .25s
}

.seal span {
  font-style:italic;
  font-size:18px
}

.letter {
  position:absolute;
  z-index:2;
  left:6%;
  right:6%;
  height:225px;
  top:10px;
  background:var(--paper) url('../images/ilustracion-iglesia.webp') center top/4000px auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  font-size:13px;
  letter-spacing:.17em;
  transition:transform .85s .45s
}

.letter-names {
  font:42px var(--serif);
  letter-spacing:-.02em
}

.open-label {
  margin-top:35px;
  display:flex;
  align-items:center;
  gap:20px
}

.little-line {
  width:35px;
  border-top:1px solid var(--green)
}

.invite-bottom {
  position:absolute;
  bottom:25px;
  font-size:11px;
  letter-spacing:.16em
}

.invite-bottom span {
  margin-left:30px
}

.invitation.opening .flap {
  transform:rotateX(180deg);
  z-index:1
}

.invitation.opening .seal {
  opacity:0
}

.invitation.opening .letter {
  transform:translateY(-140px) scale(1.06)
}

.invitation.opening .envelope {
  transform:translateY(80px);
  opacity:0
}

.invitation.opening {
  opacity:0;
  visibility:hidden
}

.invitation.opening .invite-heading,.invitation.opening .open-label,.invitation.opening .invite-bottom {
  opacity:0;
  transition:opacity .35s
}

body.invite-active {
  overflow:hidden
}

.reveal {
  opacity:1;
  transform:none
}

.motion-ready .reveal {
  opacity:0;
  transform:translateY(22px);
  transition:opacity .8s,transform .8s
}

.motion-ready .reveal.visible {
  opacity:1;
  transform:none
}

dialog {
  border:1px solid var(--line);
  background:var(--paper);
  color:var(--green);
  max-width:540px;
  width:calc(100% - 32px);
  padding:44px;
  max-height:90vh;
  overflow-y:auto
}

dialog::backdrop {
  background:#1e322b99;
  backdrop-filter:blur(4px)
}

dialog h2 {
  font-size:42px;
  margin:22px 0
}

.dialog-close {
  position:absolute;
  right:12px;
  top:8px;
  padding:8px 12px;
  background:none;
  border:0;
  font-size:30px
}

dialog dl {
  border-top:1px solid var(--line);
  padding-top:18px
}

dialog dt {
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  margin-top:13px
}

dialog dd {
  margin:3px 0;
  overflow-wrap:anywhere
}

.dialog-note {
  font-size:13px;
  margin:23px 0
}

.dialog-close:focus-visible {
  outline-offset:0
}

@media(min-width:1500px) {
  .hero-image {
    min-height:780px
  }
  .hero-copy {
    padding:75px 0
  }
  .section {
    padding-left:10vw;
    padding-right:10vw
  }
}

@media(max-width:900px) {
  nav {
    gap:16px
  }
  nav a {
    font-size:12px
  }
  .brand small {
    margin-left:12px
  }
  .hero-image {
    min-height:550px
  }
  .hero-copy h1 {
    font-size:100px
  }
  .hero-location {
    font-size:20px
  }
  .section {
    padding-top:80px;
    padding-bottom:80px
  }
  .venue-art {
    height:480px
  }
  .venue {
    gap:5vw;
    padding-top:0
  }
  .event {
    padding-left:25px;
    padding-right:25px
  }
  .program {
    gap:6vw
  }
  .rsvp {
    gap:5vw
  }
  .form-two {
    grid-template-columns:1fr
  }
  .questions {
    padding-top:0
  }
}

@media(max-width:650px) {
  html {
    scroll-padding-top:85px
  }
  header {
    padding:14px 6vw
  }
  .brand {
    font-size:25px
  }
  .brand small {
    font-size:25px
  }
.menu-toggle {
  display:block;
  font-family:var(--serif);
  font-size:20px;
  font-weight:400;
  line-height:1;
}
  nav {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:var(--paper);
    border-bottom:1px solid var(--line);
    padding:20px 6vw;
    flex-direction:column;
    align-items:flex-start;
    gap:14px
  }
  nav.expanded {
    display:flex
  }
nav a {
  width:100%;
  padding:10px 0;
  font-family:var(--serif);
  font-size:24px;
  font-weight:400;
  line-height:1.2;
}
  .preview-note {
    font-size:11px;
    padding:8px 16px
  }
  .hero {
    padding:0 6vw;
    grid-template-columns:1fr;
    gap:0
  }
  .hero-copy {
    padding:48px 0 42px
  }
  .hero-copy h1 {
    font-size:110px;
    margin-top:26px;
    margin-bottom:30px
  }
  .hero-copy .eyebrow {
    font-size:11px
  }
  .hero-date {
    font-size:14px
  }
  .hero-sub {
    font-size:13px
  }
  .hero-location {
    margin:12px 0 20px
  }
  .hero-image {
    min-height:420px
  }
  .photo-caption {
    bottom:22px;
    left:20px;
    font-size:10px
  }
  .image-date {
    right:20px;
    top:20px
  }
  .hero-bottom {
    padding:22px 0;
    font-size:9px;
    letter-spacing:.09em
  }
  .hero-bottom a {
    font-size:12px
  }
  .section {
    padding:72px 6vw
  }
  h2 {
    font-size:46px
  }
  .welcome h2 {
    font-size:40px
  }
  .welcome-text {
    font-size:15px
  }
  .countdown {
    gap:17px;
    margin-top:40px
  }
  .countdown div {
    min-width:56px
  }
  .countdown strong {
    font-size:46px
  }
  .countdown span {
    font-size:10px;
    letter-spacing:.1em
  }
  .countdown-caption {
    font-size:18px
  }
  .venue {
    grid-template-columns:1fr;
    padding-top:0;
    gap:45px
  }
  .venue-art {
    height:490px
  }
.venue-copy {
  padding:0 3vw;
  text-align:center;
}

.venue-copy > p:not(.eyebrow) {
  margin-left:auto;
  margin-right:auto;
}

.venue-details {
  width:100%;
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}

.venue-detail {
  text-align:center;
}

.venue-map-link {
  margin-left:auto;
  margin-right:auto;
}

.section-heading {
  text-align:center;
}

.section-heading h2 {
  margin-left:auto;
  margin-right:auto;
  text-align:center;

}
  .day-grid {
    grid-template-columns:1fr;
    margin-top:40px;
    margin-bottom:30px;
    gap:30px
  }
  .event {
    padding:0 20px 30px
  }
  .event+.event {
    border-left:0;
    border-top:1px solid var(--line);
    padding-top:35px
  }
  .event h3 {
    font-size:40px
  }
  .event>p:not(.eyebrow) {
    max-width:290px
  }
  .calendar-hint {
    font-size:12px;
    max-width:280px
  }
  .program {
    grid-template-columns:1fr;
    gap:45px
  }
  .program {
  grid-template-columns: 1fr;
  gap: 45px;
}

.program-intro {
  text-align: center;
}

.program-intro > p {
  margin-left: auto;
  margin-right: auto;
}

  .program-intro h2 {
    font-size:54px
  }
.timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  row-gap: 35px;
}

/* Quitamos la línea vertical única */
.timeline::before {
  display: none;
}

.timeline li {
  padding: 0;
  gap: 12px;
  align-items: flex-start;
}

/* 01 y 02 → izquierda */
.timeline li:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.timeline li:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}

/* 03 y 04 → derecha */
.timeline li:nth-child(3) {
  grid-column: 2;
  grid-row: 1;
}

.timeline li:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
}

.timeline h3 {
  font-size: 26px;
}

.timeline p {
  font-size: 13px;
}
  
  .sea-break {
    height:420px
  }
  .sea-break h2 {
    font-size:85px
  }
  .travel-layout {
    grid-template-columns:1fr;
    gap:18px;
    margin-top:35px
  }
 .travel-tabs {
  display:grid;
  grid-template-columns:1fr 1fr;
  column-gap:18px;
  row-gap:0;
  }
  .travel-tabs button {
    font:18px var(--serif);
    display:block;
    padding:16px 0;
    white-space:nowrap
  }
  .travel-tabs button span {
    display:none
  }
.travel-panel {
  min-height: auto;
  padding: 24px 10px;
}

.travel {
  padding-bottom: 30px;
}
  .travel-panel h3 {
    font-size:42px
  }
  .questions {
    grid-template-columns:1fr;
    gap:35px;
    padding-top:0
  }
  .rsvp {
    grid-template-columns:1fr;
    gap:40px
  }
  .rsvp-intro h2 {
    font-size:62px
  }
  .form-preview {
    margin-top:26px;
    max-width:100%
  }
  .form-two {
    grid-template-columns:1fr
  }
  .attendance label {
    flex:1;
    justify-content:center;
    font-size:13px;
    padding:12px 8px
  }
  .footer-names {
    font-size:70px
    }
footer {
  padding:65px 6vw 25px
}
  footer {
    padding:65px 6vw 25px
  }
  .footer-bottom {
    flex-direction:column;
    gap:12px;
    margin-top:45px
  }
  .invite-heading h1 {
    font-size:55px
  }
  .envelope {
    height:215px;
    margin-top:68px
  }
  .letter {
    height:185px;
    gap:12px
  }
  .letter-names {
    font-size:34px
  }
  .seal {
    top:87px;
    width:62px;
    height:62px;
    left:calc(50% - 31px)
  }
  .invitation.opening .letter {
    transform:translateY(-110px)
  }
  .skip {
    top:14px;
    font-size:12px
  }
  .open-label {
    margin-top:30px
  }
  .invite-bottom {
    bottom:20px;
    font-size:10px
  }
  .invite-bottom span {
    margin-left:18px
  }
  dialog {
    padding:34px 24px
  }
  dialog h2 {
    font-size:37px
  }

}
@media(max-height:700px) {
  .invite-heading h1 {
    font-size:44px
  }
  .envelope {
    margin-top:45px;
    height:190px;
    width:min(370px,75vw)
  }
  .letter {
    height:170px
  }
  .seal {
    top:75px
  }
  .invite-bottom {
    bottom:12px
  }
  .open-label {
    margin-top:20px
  }
  .skip {
    top:7px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    transition:none!important;
    animation:none!important
  }
  .motion-ready .reveal {
    opacity:1;
    transform:none
  }
  .invitation.opening {
    visibility:hidden;
    opacity:0
  }
}

/* Tipografía del archivo portátil: fuentes disponibles en el dispositivo. */
:root {
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

.hero-copy h1 {
  font-size:clamp(75px,8vw,130px);
  line-height:.98
}

.footer-names {
  font-size:clamp(40px,8vw,110px)
}

@media(max-width:650px) {
  .hero-copy h1 {
    font-size:clamp(70px,24vw,100px)
  }
  .footer-names {
    font-size:clamp(36px,10vw,60px)
  }
  .letter-names {
    font-size:30px
  }
  
}
@media(max-width:650px) {
  .day {
    padding-bottom: 20px;
  }

  .program {
    padding-top: 20px;
  }
}
/* ---------------------------------
   CÓMO LLEGAR · MÓVIL
---------------------------------- */

@media(max-width:650px) {

  #panel-llegar.travel-panel-routes {
    width:100%;
    padding:32px 0 10px;
  }

  .route-guide {
    width:100%;
    max-width:none;
  }

  .route-guide-intro {
    width:100%;
    padding-bottom:38px;
  }

  .route-guide-intro .eyebrow {
    font-size:11px;
    letter-spacing:.27em;
  }

.route-guide-intro h3 {
  width:100%;
  max-width:none;
  margin:18px 0 22px;
  font-size:42px;
  line-height:1.02;
  letter-spacing:-.025em;
}

  .route-guide-intro h3 em {
    font-style:italic;
  }

.route-guide-lead {
  width:100%;
  max-width:none;
  font-size:19px;
  line-height:1.45;
}

  .route-step {
    width:100%;
    padding:34px 0 40px;
  }

.route-kicker {
  font-size:11px;
  line-height:1.6;
  letter-spacing:.23em;
}

.route-step h4 {
  width:100%;
  max-width:none;
  margin:15px 0 20px;
  font-size:30px;
  line-height:1.05;
  letter-spacing:-.02em;
}

  .route-text {
    width:100%;
    max-width:none;
    margin-top:12px;
    font-size:16px;
    line-height:1.55;
  }

  .route-stats {
    width:100%;
    grid-template-columns:58px 1fr 1.3fr;
    margin-top:28px;
  }

  .route-vehicle {
    justify-content:flex-start;
  }

  .route-vehicle svg {
    width:40px;
    height:40px;
  }

  .route-stat {
    min-width:0;
    padding:0 12px;
  }

  .route-stat strong {
    font-size:20px;
    white-space:normal;
  }

  .route-stat span {
    margin-top:6px;
    font-size:8.5px;
    line-height:1.35;
    letter-spacing:.16em;
  }

  .route-map-link {
    margin-top:26px;
    gap:14px;
    font-size:14px;
  }

  .route-parking {
    width:100%;
    grid-template-columns:58px 1fr;
    padding-top:26px;
  }

  .parking-icon {
    width:40px;
    height:40px;
    font-size:22px;
  }

  .route-parking > div:last-child {
    padding-left:12px;
  }

  .route-parking .route-text {
    width:100%;
    max-width:none;
    font-size:15px;
    line-height:1.5;
  }

  }
/* =================================
   DÓNDE COMER · GUÍA GASTRONÓMICA
================================= */

#panel-comer.travel-panel-food {
  width:100%;
  max-width:none;
  padding-top:24px;
}

#panel-comer .food-guide {
  width:100%;
  max-width:none;
}

#panel-comer .food-guide-intro {
  width:100%;
  padding-bottom:38px;
}

#panel-comer .food-guide-intro h3 {
  width:100%;
  margin:18px 0 24px;
  font-family:var(--serif);
  font-weight:400;
  line-height:.98;
}

#panel-comer .food-guide-intro h3 em {
  font-family:var(--serif);
  font-weight:400;
  font-style:italic;
}

#panel-comer .food-guide-lead {
  width:100%;
  max-width:none;
  margin:0;
  font-family:var(--serif);
  font-size:19px;
  font-weight:400;
  line-height:1.45;
}

#panel-comer .food-place {
  width:100%;
  margin:0;
  padding:34px 0 40px;
  border-top:1px solid var(--line);
}

#panel-comer .food-town {
  width:100%;
  max-width:none;
  margin:0;
  font-family:var(--sans);
  font-size:11px;
  font-weight:500;
  line-height:1.6;
  letter-spacing:.23em;
}

#panel-comer .food-list {
  width:100%;
  margin-top:25px;
}

#panel-comer .food-restaurant {
  width:100%;
}

#panel-comer .food-restaurant + .food-restaurant {
  margin-top:28px;
}

#panel-comer .food-restaurant h4 {
  width:100%;
  max-width:none;
  margin:0;
  font-family:var(--serif);
  font-size:clamp(30px,3vw,42px);
  font-weight:400;
  line-height:1.05;
  letter-spacing:-.02em;
}

#panel-comer .food-restaurant p {
  width:100%;
  max-width:none;
  margin:5px 0 0;
  font-family:var(--serif);
  font-size:17px;
  font-weight:400;
  line-height:1.5;
}


/* =================================
   DÓNDE COMER · MÓVIL
================================= */

@media(max-width:650px) {

  #panel-comer.travel-panel-food {
    width:100%;
    max-width:none;
    padding:32px 0 10px;
  }

  #panel-comer .food-guide {
    width:100%;
    max-width:none;
  }

  #panel-comer .food-guide-intro {
    width:100%;
    padding-bottom:38px;
  }

  #panel-comer .food-guide-intro .eyebrow {
    font-size:11px;
    letter-spacing:.27em;
  }

#panel-comer .food-guide-intro h3 {
  width:100%;
  max-width:none;
  margin:18px 0 22px;
  font-size:42px;
  line-height:1.02;
  letter-spacing:-.025em;
}

  #panel-comer .food-guide-lead {
    width:100%;
    max-width:none;
    font-family:var(--serif);
    font-size:17px;
    line-height:1.5;
  }

  #panel-comer .food-place {
    width:100%;
    max-width:none;
    padding:34px 0 38px;
    border-top:1px solid var(--line);
  }

  #panel-comer .food-town {
    width:100%;
    max-width:none;
    font-family:var(--sans);
    font-size:11px;
    line-height:1.6;
    letter-spacing:.2em;
  }

  #panel-comer .food-list {
    width:100%;
    max-width:none;
    margin-top:25px;
  }

  #panel-comer .food-restaurant {
    width:100%;
    max-width:none;
  }

  #panel-comer .food-restaurant + .food-restaurant {
    margin-top:26px;
  }

#panel-comer .food-restaurant h4 {
  width:100%;
  max-width:none;
  margin:0;
  font-family:var(--serif);
  font-size:30px;
  font-weight:400;
  line-height:1.05;
  letter-spacing:-.02em;
}

#panel-comer .food-guide-lead {
  width:100%;
  max-width:none;
  font-family:var(--serif);
  font-size:19px;
  line-height:1.45;
}

}

/* ---------------------------------
   DÓNDE DORMIR · MÓVIL
---------------------------------- */

@media(max-width:650px) {

  #panel-dormir.travel-panel-stay {
    width:100%;
    max-width:none;
    padding:32px 0 10px;
  }

  #panel-dormir .stay-guide {
    width:100%;
    max-width:none;
  }

  #panel-dormir .stay-guide-intro {
    width:100%;
    padding-bottom:38px;
  }

  #panel-dormir .stay-guide-intro .eyebrow {
    font-size:11px;
    letter-spacing:.27em;
  }

  #panel-dormir .stay-guide-intro h3 {
    width:100%;
    max-width:none;
    margin:18px 0 22px;
    font-size:42px;
    line-height:1.02;
    letter-spacing:-.025em;
  }

  #panel-dormir .stay-guide-lead {
    width:100%;
    max-width:none;
    font-size:19px;
    line-height:1.45;
  }

  #panel-dormir .stay-guide-lead-secondary {
    margin-top:22px;
  }

  #panel-dormir .stay-place {
    width:100%;
    max-width:none;
    padding:34px 0 38px;
  }

  #panel-dormir .stay-town {
    width:100%;
    max-width:none;
    font-size:11px;
    line-height:1.6;
    letter-spacing:.23em;
  }

  #panel-dormir .stay-list {
    width:100%;
    max-width:none;
    margin-top:25px;
  }

  #panel-dormir .stay-hotel {
    width:100%;
    max-width:none;
  }

  #panel-dormir .stay-hotel + .stay-hotel {
    margin-top:26px;
  }

  #panel-dormir .stay-hotel h4 {
    width:100%;
    max-width:none;
    margin:0;
    font-size:30px;
    line-height:1.05;
    letter-spacing:-.02em;
  }

  #panel-dormir .stay-hotel p {
    width:100%;
    max-width:none;
    margin-top:5px;
    font-size:17px;
    line-height:1.5;
  }

  #panel-dormir .stay-important {
    width:100%;
    max-width:none;
    padding:30px 0 0;
  }

  #panel-dormir .stay-important-text {
    width:100%;
    max-width:none;
    margin-top:8px;
    font-size:17px;
    line-height:1.5;
  }
/* =================================
   DÓNDE DORMIR · TIPOGRAFÍA
================================= */

#panel-dormir .stay-guide-intro h3,
#panel-dormir .stay-guide-intro h3 em,
#panel-dormir .stay-guide-lead,
#panel-dormir .stay-hotel h4,
#panel-dormir .stay-hotel p,
#panel-dormir .stay-important-text {
  font-family:var(--serif);
  font-weight:400;
}
#panel-dormir .stay-guide-intro h3 {
  font-size:clamp(34px,3vw,48px);
  line-height:1.02;
  letter-spacing:-.025em;
}

#panel-dormir .stay-guide-lead {
  font-size:19px;
  line-height:1.45;
}

#panel-dormir .stay-hotel h4 {
  font-size:clamp(30px,3vw,42px);
  line-height:1.05;
  letter-spacing:-.02em;
}

#panel-dormir .stay-hotel p,
#panel-dormir .stay-important-text {
  font-size:17px;
  line-height:1.5;
  @media(max-width:650px) {

  #panel-dormir .stay-guide-intro h3 {
    font-family:var(--serif);
    font-size:42px;
    font-weight:400;
    line-height:1.02;
    letter-spacing:-.025em;
  }

  #panel-dormir .stay-guide-intro h3 em {
    font-family:var(--serif);
    font-weight:400;
    font-style:italic;
  }

  #panel-dormir .stay-guide-lead {
    font-family:var(--serif);
    font-size:19px;
    font-weight:400;
    line-height:1.45;
  }

  #panel-dormir .stay-hotel h4 {
    font-family:var(--serif);
    font-size:30px;
    font-weight:400;
    line-height:1.05;
    letter-spacing:-.02em;
  }

  #panel-dormir .stay-hotel p,
#panel-dormir .stay-important-text {
  font-family:var(--serif);
  font-size:17px;
  font-weight:400;
  line-height:1.5;
}

}