/* ============ TOKENS ============ */
:root {
  --cream: #FBEFE0;
  --cream-2: #F5E3CF;
  --cream-3: #EED5BB;
  --coral: #E8927C;
  --coral-2: #EFB39D;
  --peach: #F0B090;
  --mustard: #D9A64A;
  --mustard-2: #E9C276;
  --terracotta: #B5533A;
  --ink: #5A3A2E;
  --ink-soft: #8B6B55;
  --ink-mute: #B49A86;
  --line: rgba(90, 58, 46, .18);
  --line-2: rgba(90, 58, 46, .08);
  --card: #FFF7EA;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 0 rgba(181, 83, 58, .04), 0 6px 18px -10px rgba(90, 58, 46, .18);

  --f-hand: "Caveat", "Dancing Script", cursive;
  --f-ed: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --f-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1120px;
  --pad: clamp(20px, 5vw, 48px);
}

/* palette variants */
body[data-pal="bright"] {
  --cream: #FDE9D1;
  --cream-2: #F7D7B6;
  --coral: #E87A60;
  --mustard: #D79235;
  --terracotta: #A6421F;
}

body[data-pal="airy"] {
  --cream: #FFF7EC;
  --cream-2: #FBE9D3;
  --coral: #F0B19E;
  --mustard: #E4BE78;
  --terracotta: #C26B50;
  --ink: #6B4535;
}

/* ============ BASE ============ */
*,
*::before,
*::after {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--f-ui);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer
}

input,
textarea,
select {
  font: inherit;
  color: inherit
}

/* subtle paper texture via radial noise */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(233, 146, 124, .12), transparent 60%),
    radial-gradient(900px 500px at 110% 20%, rgba(217, 166, 74, .10), transparent 55%),
    radial-gradient(900px 700px at 50% 120%, rgba(181, 83, 58, .08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1
}

/* ============ TYPE ============ */
.eyebrow {
  font-family: var(--f-ui);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 14px;
}

.display {
  font-family: var(--f-ed);
  font-weight: 300;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0 0 18px;
  color: var(--ink);
}

.display em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 400
}

.lede {
  font-family: var(--f-ed);
  font-weight: 300;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.5;
  max-width: 52ch;
  margin: 0 auto 22px;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.center {
  text-align: center
}

.center .lede {
  margin-inline: auto
}

.soft {
  color: var(--ink-mute)
}

.small {
  font-size: .85rem
}

/* ============ SECTION LAYOUT ============ */
.sec {
  position: relative;
  padding: clamp(80px, 12vw, 160px) var(--pad);
  z-index: 1;
}

.sec-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}

.narrow {
  max-width: 780px
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

@media (max-width:860px) {
  .two-col {
    grid-template-columns: 1fr
  }
}

/* section background tint rhythm */
.sec-date {
  background: var(--cream-2);
}

.sec-place {
  background: var(--cream);
}

.sec-dress {
  background: var(--cream-2);
}

.sec-rsvp {
  background: var(--cream);
}

.sec-gift {
  background: var(--cream-2);
}

.sec-music {
  background: var(--cream);
}

.sec-photos {
  background: var(--cream-2);
  overflow: hidden;
}

.photo-bg-slider {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.photo-strip-track {
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
  /* must NOT shrink to viewport width */
  animation: photo-scroll linear infinite;
  will-change: transform;
}

.photo-strip-track img {
  height: 100%;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  opacity: .55;
  mix-blend-mode: multiply;
  filter: saturate(.75);
  border-radius: 3px;
  margin-right: 10px;
  /* gap via margin so -50% es exacto */
}

@keyframes photo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.sec-photos::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(251, 239, 224, 0.40);
  pointer-events: none;
}

.sec-photos .sec-inner {
  position: relative;
  z-index: 2;
}

.sec-outro {
  background: var(--cream);
  padding-bottom: clamp(60px, 10vw, 120px);
}

/* section separators (organic wavy divider) */
.sec+.sec::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  transform: translateX(-50%);
  width: clamp(120px, 30vw, 360px);
  height: 1px;
  background: var(--line);
}

#fotos-lede {
  color: #000;
  text-shadow: 0 0 16px white;
}

/* ============ HERO ============ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 12vw, 140px) var(--pad) clamp(60px, 10vw, 0px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 720px;
  position: relative;
  z-index: 2;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100%
}

.hero-title {
  font-family: var(--f-ed);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  color: var(--ink-soft);
  margin: 0 0 clamp(40px, 7vw, 72px);
  line-height: 1.35;
  text-wrap: balance;
}

.logo-block {
  margin-bottom: clamp(40px, 7vw, 72px)
}

.logo-date {
  font-family: var(--f-ed);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  color: var(--ink);
  letter-spacing: .02em;
}

.logo-place {
  font-family: var(--f-ed);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ink-soft);
  margin-bottom: clamp(20px, 3vw, 32px);
}

.logo-script {
  display: flex;
  justify-content: center;
  color: var(--terracotta);
}

.logo-script .logo-img {
  width: clamp(320px, 72vw, 720px);
  height: auto;
}

.logo-script.big {
  margin-bottom: 20px
}

.logo-script.big .logo-img {
  width: clamp(220px, 45vw, 400px)
}

.hero-countdown {
  display: flex;
  align-items: flex-end;
  gap: clamp(12px, 2.5vw, 28px);
  padding: 18px clamp(18px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 247, 234, .65);
  backdrop-filter: blur(4px);
  width: max-content;
  max-width: 100%;
}

.cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px
}

.cd-num {
  font-family: var(--f-ed);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums
}

.cd-lbl {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 6px
}

.cd-sep {
  width: 1px;
  height: 28px;
  background: var(--line);
  align-self: center
}

@media (max-width:500px) {
  .cd-sep {
    display: none
  }

  .hero-countdown {
    gap: 16px;
    padding: 14px 16px;
    min-width: 280px;
    justify-content: center
  }
}

.hero-scroll {
  margin-top: clamp(40px, 7vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}

.hero-scroll span {
  white-space: nowrap
}

.hero-scroll svg {
  color: var(--ink-mute);
  animation: nudge 2s ease-in-out infinite
}

@keyframes nudge {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(4px)
  }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--terracotta);
  background: var(--terracotta);
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-1px);
  background: #9c4530
}

.btn-ghost {
  background: transparent;
  color: var(--terracotta);
  box-shadow: none
}

.btn-ghost:hover {
  background: rgba(181, 83, 58, .06)
}

.btn-big {
  padding: 16px 28px;
  font-size: 1rem
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px
}

.two-col .cta-row {
  justify-content: flex-start
}

/* ============ INFO LIST ============ */
.info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 24px 0;
  font-family: var(--f-ed);
  font-size: 1.05rem;
}

.info-list>div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line-2)
}

.info-list>div:last-child {
  border-bottom: 1px solid var(--line-2)
}

.info-list span {
  color: var(--ink-soft)
}

.info-list b {
  color: var(--ink);
  font-weight: 500
}

/* ============ MAP ============ */
.map-card {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream-3);
  box-shadow: var(--shadow-sm);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: sepia(.25) saturate(.85) hue-rotate(-10deg)
}

@media (max-width:860px) {
  .map-card {
    aspect-ratio: 4/3
  }
}

/* ============ CARD / FORMS ============ */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 28px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0
}

.field label,
.field legend {
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field .opt {
  opacity: .7;
  text-transform: none;
  letter-spacing: 0
}

.field input[type="text"],
.field input[type="number"],
.field input[type="email"],
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--f-ui);
  color: var(--ink);
  transition: border .2s ease, background .2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--terracotta);
  background: #fff;
}

.field textarea {
  resize: vertical;
  min-height: 90px
}

.radio-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.radio {
  position: relative;
  flex: 1;
  min-width: 140px
}

.radio input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer
}

.radio span {
  display: block;
  padding: 14px 16px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  transition: all .15s ease;
}

.radio input:checked+span {
  background: var(--terracotta);
  color: var(--cream);
  border-color: var(--terracotta);
}

.radio:hover span {
  border-color: var(--terracotta)
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px
}

.chip {
  position: relative
}

.chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer
}

.chip span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--cream);
  font-size: .9rem;
  transition: all .15s ease;
}

.chip input:checked+span {
  background: var(--mustard);
  border-color: var(--mustard);
  color: var(--ink)
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  width: max-content;
  background: var(--cream)
}

.stepper button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 1.2rem;
  color: var(--terracotta);
}

.stepper button:hover {
  background: rgba(181, 83, 58, .08)
}

.stepper input {
  width: 60px;
  text-align: center;
  border: 0;
  background: transparent;
  font-weight: 500;
  -moz-appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0
}

.form-msg {
  margin-top: 10px;
  font-size: .9rem;
  color: var(--terracotta);
  min-height: 1.2em;
  text-align: center
}

/* ============ BANK ============ */
.bank-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
  text-align: left;
}

.bank-grid > *:nth-child(3) {
  grid-column: 1 / -1;
}

@media (max-width:768px) {
  .bank-grid {
    grid-template-columns: 1fr
  }
  .bank-grid > *:nth-child(3) {
    grid-column: auto;
  }
}

.bank dl {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0
}

.bank dt {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  align-self: flex-start;
  margin-top: 8px;
}

.bank dt:first-child {
  margin-top: 0;
}

.bank dd {
  margin: 0;
  font-family: var(--f-ed);
  font-size: 1.05rem;
  color: var(--ink);
  word-break: normal;
  overflow-wrap: break-word;
}

.bank-head {
  font-family: var(--f-ed);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--terracotta);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}

.copy-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between
}

.copy-row span {
  font-family: var(--f-ui);
  font-size: 0.88rem;
  font-weight: 500;
  word-break: break-all;
}

.copy-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--terracotta);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: rgba(181, 83, 58, .08)
}

/* ============ PLAYLIST ============ */
.playlist-card {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  text-align: left;
}

.playlist-cover {
  width: 120px;
  height: 120px;
  flex: 0 0 auto;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.playlist-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px
}

.pl-title {
  font-family: var(--f-ed);
  font-size: 1.3rem;
  color: var(--ink)
}

.pl-sub {
  font-size: .85rem;
  color: var(--ink-soft);
  margin-bottom: 12px
}

.playlist-meta .btn {
  align-self: flex-start;
  margin-top: 8px
}

@media (max-width:560px) {
  .playlist-card {
    flex-direction: column;
    text-align: center
  }

  .playlist-meta {
    align-items: center
  }

  .playlist-meta .btn {
    align-self: center
  }
}

/* ============ UPLOAD ============ */
.upload-drop {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding: 32px;
  text-align: left;
  border: 2px dashed var(--line);
  cursor: pointer;
  transition: all .2s ease;
}

.upload-drop:hover,
.upload-drop.drag {
  border-color: var(--terracotta);
  background: #fff;
}

.upload-icon {
  color: var(--terracotta);
  flex: 0 0 auto
}

.upload-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.4
}

.upload-text b {
  font-weight: 500;
  color: var(--ink)
}

.upload-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
}

.upload-grid .thumb {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cream-2);
  position: relative;
  border: 1px solid var(--line);
}

.upload-grid .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.upload-grid .thumb .rm {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(90, 58, 46, .7);
  color: #fff;
  border: 0;
  font-size: 14px;
  line-height: 1;
}

@media (max-width:560px) {
  .upload-drop {
    flex-direction: column;
    text-align: center
  }
}

/* ============ BG ILLUSTRATIONS (hero) ============ */
.bg-illos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0
}

.illo {
  position: absolute;
  will-change: transform;
  height: auto
}

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



/* clouds — repeated, scattered across the hero */
.illo.cloud {
  color: #f2c9a6;
}

.cloud.c1 {
  bottom: 726.719px;
  left: 20%;
  width: 150px;
  transform: rotate(0deg)
}

.cloud.c2 {
  bottom: 648.312px;
  right: 3%;
  width: 180px;
  transform: rotate(0deg)
}

.cloud.c3 {
  bottom: 482.922px;
  left: 8%;
  width: 120px;
  transform: rotate(0deg)
}

.cloud.c4 {
  bottom: 275.102px;
  right: 5%;
  width: 155px;
  transform: rotate(0deg)
}

.cloud.c5 {
  bottom: 259.891px;
  left: 27%;
  width: 130px;
  opacity: 0.4;
  transform: rotate(0deg)
}

.cloud.c6 {
  bottom: 615.75px;
  right: 3%;
  width: 100px;
  transform: rotate(0deg)
}

.cloud.c7 {
  bottom: 374.812px;
  right: 1429px;
  width: 110px;
  transform: rotate(0deg)
}

.cloud.c8 {
  bottom: 212.289px;
  right: 85.5px;
  width: 90px;
  opacity: 0;
  transform: rotate(0deg)
}

.cloud.c9 {
  bottom: 629.531px;
  right: 1177.5px;
  width: 105px;
  transform: rotate(0deg)
}

.cloud.c10 {
  bottom: 775.695px;
  right: 857.805px;
  width: 134px;
  transform: rotate(0deg)
}

.cloud.c11 {
  bottom: 529.109px;
  right: 478.797px;
  width: 140px;
  transform: rotate(0deg)
}

.cloud.c12 {
  bottom: 339.727px;
  right: 940.203px;
  width: 120px;
  transform: rotate(0deg)
}

.cloud.c13 {
  bottom: 97.5312px;
  right: 376.195px;
  width: 175px;
  transform: rotate(0deg)
}

.cloud.c14 {
  bottom: 745.172px;
  right: 400.906px;
  width: 95px;
  transform: rotate(0deg)
}

.cloud.c15 {
  bottom: 36.1406px;
  right: 1067px;
  width: 130px;
  transform: rotate(0deg)
}

/* real hero illustrations */
.real-illo {
  height: auto;
}

.flower.f1 {
  bottom: 416.742px;
  left: 21%;
  width: 190px;
  transform: rotate(0deg)
}

.flower.f2 {
  bottom: 20%;
  right: 15%;
  width: 201px;
  transform: rotate(0deg)
}

.flower.f3 {
  bottom: 423.664px;
  right: 15%;
  width: 222px;
  transform: rotate(0deg)
}

.flower.f4 {
  bottom: 440.328px;
  right: 34.1953px;
  width: 120px;
  transform: rotate(0deg)
}

.bird.b1 {
  bottom: 634.695px;
  left: 0;
  width: 240px;
  transform: rotate(0deg)
}

.horse.h1 {
  bottom: 5.32812px;
  left: 3%;
  width: 250px;
  transform: rotate(0deg)
}

.lighthouse.l1 {
  bottom: -1px;
  right: 34.1953px;
  width: 245px;
  transform: rotate(0deg)
}

/* inlined SVG colorability: paths from Illustrator export use class="st0"/"st1" without fill */
.bg-illos svg .st0,
.bg-illos svg .st1,
.bg-illos svg path:not([fill]):not([stroke]),
.sec-illo .st0,
.sec-illo .st1,
.sec-illo path:not([fill]):not([stroke]),
.logo-script svg .st0,
.logo-script svg .st1,
.logo-script svg path:not([fill]):not([stroke]) {
  fill: currentColor;
}

/* per-illustration color (hero) */
.cloud {
  color: #f2c9a6;
}

.cloud.c3 {
  color: #ca9e67;
}

.cloud.c4 {
  color: #e8c869;
}

.cloud.c5 {
  color: #f18d93;
}

.cloud.c6 {
  color: #ca9e67;
}

.cloud.c7 {
  color: #f18d93;
}

.cloud.c8 {
  color: #e8c869;
}

.cloud.c9 {
  color: #ca9e67;
}

.cloud.c10 {
  color: #f5a792;
}

.cloud.c11 {
  color: #e8c869;
}

.cloud.c12 {
  color: #f2c9a6;
}

.cloud.c13 {
  color: #f18d93;
}

.cloud.c14 {
  color: #ca9e67;
}

.cloud.c15 {
  color: #f5a792;
}

.flower.f1 {
  color: #f5a792;
}

.flower.f2 {
  color: #f18d93;
}

.flower.f3 {
  color: #f18d93;
}

.flower.f4 {
  color: #f5a792;
}

.bird.b1 {
  color: #e8c869;
}

.horse.h1 {
  color: #e8c869;
}

.lighthouse.l1 {
  color: #f5a792;
}

.logo-script {
  color: #b56542;
}


/* ============ SECTION DECORATIVE ILLO (one per module) ============ */
.sec {
  position: relative;
  overflow: hidden
}

.sec-illo {
  position: absolute;
  pointer-events: none;
  width: clamp(140px, 18vw, 220px);
  height: auto;
  opacity: .35;
  z-index: 0;
  will-change: transform;
  fill: currentColor;
}

.sec-inner {
  position: relative;
  z-index: 1
}

/* section illustrations — each with its own class for independent control */

/* === FECHA === */
.si-date {
  bottom: 16.5938px;
  left: 0;
  right: auto;
  width: 400px;
  opacity: 0.7;
  color: #a6421f;
  transform: rotate(0deg)
}

.si-cloud-date {
  bottom: 352.484px;
  right: 51.2969px;
  width: 190px;
  opacity: 0.5;
  color: #d79235;
  transform: rotate(0deg)
}

/* === LUGAR === */
.si-place {
  bottom: -17px;
  left: 0;
  right: auto;
  width: 395px;
  opacity: 0.5;
  color: #e87a60;
  transform: rotate(0deg)
}

.si-cloud-place {
  bottom: 736.586px;
  right: 68.3984px;
  width: 321px;
  opacity: 0.4;
  color: #f2c9a6;
  transform: rotate(0deg)
}

/* === DRESS === */
.si-dress {
  bottom: -47.7422px;
  right: -51.2969px;
  width: 320px;
  opacity: 0.5;
  color: #f18d93;
  transform: rotate(-23deg)
}

.si-cloud-dress {
  bottom: 364.82px;
  right: 1381.6px;
  width: 260px;
  opacity: 0.6;
  color: #e87a60;
  transform: rotate(0deg)
}

/* === RSVP === */
.si-rsvp {
  bottom: 52.7031px;
  right: 51.2969px;
  width: 220px;
  opacity: 0.48;
  color: #e8c869;
  transform: rotate(0deg)
}

.si-cloud-rsvp {
  bottom: 1007.97px;
  right: 1361.6px;
  width: 280px;
  opacity: 0.4;
  color: #f2c9a6;
  transform: rotate(0deg)
}

/* === REGALO === */
.si-gift {
  bottom: 435.328px;
  left: 0;
  right: auto;
  width: 361px;
  opacity: 0.35;
  color: #f5a792;
  transform: rotate(136deg)
}

.si-cloud-gift {
  bottom: 65.3984px;
  right: 68.3984px;
  width: 175px;
  opacity: 0.4;
  color: #e87a60;
  transform: rotate(0deg)
}

/* === MUSICA === */
.si-music {
  bottom: 508.023px;
  right: 68.3984px;
  width: 220px;
  opacity: 0.55;
  color: #f2c9a6;
  transform: rotate(0deg)
}

.si-pomelo-music {
  bottom: -54.8203px;
  left: 0;
  right: auto;
  width: 345px;
  opacity: 0.45;
  color: #c76f49;
  transform: rotate(0deg)
}

.si-cloud-outro {
  top: 15%;
  right: 4%;
  width: 185px;
  color: #f2c9a6;
  opacity: .35;
}

/* ============ TABLET (max-width: 1024px) ============ */
@media (max-width: 1024px) {

  /* === HERO === */
  .cloud.c1 {
    top: 3%;
    left: 22%;
    width: 120px
  }

  .cloud.c2 {
    bottom: 0;
    right: 0;
    width: 180px;
    opacity: 0
  }

  .cloud.c3 {
    top: 30%;
    left: 6%;
    width: 130px
  }

  .cloud.c4 {
    bottom: 29%;
    right: 4%;
    width: 155px
  }

  .cloud.c5 {
    bottom: 29%;
    left: 25%;
    width: 115px;
    opacity: 0.4
  }

  .cloud.c6 {
    top: 10%;
    right: 68.3984px;
    width: 100px
  }

  .cloud.c7 {
    bottom: 21%;
    right: 40%;
    width: 95px
  }

  .cloud.c8 {
    bottom: 212.289px;
    right: 85.5px;
    width: 90px;
    opacity: 0
  }

  .cloud.c9 {
    bottom: 570px;
    right: 340px;
    width: 90px
  }

  .cloud.c10 {
    bottom: 775.695px;
    right: 46%;
    width: 134px
  }

  .cloud.c11 {
    bottom: 529.109px;
    right: 478.797px;
    width: 140px;
    opacity: 0
  }

  .cloud.c12 {
    bottom: 339.727px;
    right: 940.203px;
    width: 120px
  }

  .cloud.c13 {
    bottom: 1033.3px;
    right: 450.555px;
    width: 122px
  }

  .cloud.c14 {
    bottom: 745.172px;
    right: 21%;
    width: 95px
  }

  .cloud.c15 {
    bottom: 90px;
    right: 500px;
    width: 105px
  }

  .flower.f1 {
    bottom: 58%;
    left: 23%;
    width: 130px
  }

  .flower.f2 {
    bottom: -1%;
    right: 54%;
    width: 100px
  }

  .flower.f3 {
    top: 20%;
    right: 12%;
    width: 185px
  }

  .flower.f4 {
    bottom: 440.328px;
    right: 34.1953px;
    width: 120px;
    opacity: 0
  }

  .bird.b1 {
    bottom: 634.695px;
    left: 0;
    width: 245px
  }

  .horse.h1 {
    bottom: 5.32812px;
    left: 3%;
    width: 195px
  }

  .lighthouse.l1 {
    bottom: -1px;
    right: 34.1953px;
    width: 245px
  }

  /* === Section illustrations (tablet) === */

  /* FECHA */
  .si-date {
    left: -20px;
    right: auto;
    bottom: 0;
    width: 280px;
    opacity: 0.55;
    transform: rotate(0deg)
  }

  .si-cloud-date {
    bottom: 200px;
    right: 51.2969px;
    width: 190px;
    opacity: 0.5;
    transform: rotate(0deg)
  }

  /* LUGAR */
  .si-place {
    left: -25px;
    right: auto;
    bottom: 0;
    width: 280px;
    opacity: 0.4;
    transform: rotate(0deg)
  }

  .si-cloud-place {
    bottom: 250px;
    right: 68.3984px;
    width: 321px;
    opacity: 0.4;
    transform: rotate(0deg)
  }

  /* DRESS */
  .si-dress {
    bottom: -47.7422px;
    right: -51.2969px;
    width: 320px;
    opacity: 0.5;
    transform: rotate(-23deg)
  }

  .si-cloud-dress {
    left: -15px;
    right: auto;
    bottom: 250px;
    width: 200px;
    opacity: 0.5;
    transform: rotate(0deg)
  }

  /* RSVP */
  .si-rsvp {
    bottom: 52.7031px;
    right: 51.2969px;
    width: 220px;
    opacity: 0.48;
    transform: rotate(0deg)
  }

  .si-cloud-rsvp {
    left: -20px;
    right: auto;
    top: 15%;
    bottom: auto;
    width: 220px;
    opacity: 0.35;
    transform: rotate(0deg)
  }

  /* REGALO */
  .si-gift {
    left: -20px;
    right: auto;
    bottom: 150px;
    width: 260px;
    opacity: 0.3;
    transform: rotate(136deg)
  }

  .si-cloud-gift {
    bottom: 65.3984px;
    right: 68.3984px;
    width: 175px;
    opacity: 0.4;
    transform: rotate(0deg)
  }

  /* MUSICA */
  .si-music {
    bottom: 508.023px;
    right: 68.3984px;
    width: 220px;
    opacity: 0.55;
    transform: rotate(0deg)
  }

  .si-pomelo-music {
    left: -25px;
    right: auto;
    bottom: -40px;
    width: 260px;
    opacity: 0.4;
    transform: rotate(0deg)
  }

  /* OUTRO */
  .si-cloud-outro {
    top: 15%;
    right: 4%;
    width: 185px;
    opacity: 0.35;
    transform: rotate(0deg)
  }
}

@media (max-width:720px) {
  .bg-illos .illo {
    transform-origin: center;
  }

  .sec-illo {
    width: clamp(90px, 28vw, 140px);
    opacity: .3
  }
}

/* ============ MOBILE (max-width: 480px) ============ */
@media (max-width: 480px) {

  /* Menos aire en el hero */
  .hero {
    padding-top: 50px;
    padding-bottom: 36px;
  }

  /* === HERO === */
  .flower.f1,
  .flower.f2,
  .flower.f3,
  .horse.h1,
  .cloud.c1,
  .cloud.c2,
  .cloud.c5,
  .cloud.c6,
  .cloud.c7,
  .cloud.c10,
  .cloud.c11,
  .cloud.c12,
  .cloud.c13 {
    display: none
  }

  .cloud.c1 {
    top: 3%;
    left: 22%;
    width: 120px
  }

  .cloud.c2 {
    bottom: 0;
    right: 0;
    width: 180px;
    opacity: 0
  }

  .cloud.c3 {
    top: 2%;
    left: 40%;
    width: 129px
  }

  .cloud.c4 {
    bottom: 93.1953px;
    left: 0;
    width: 155px
  }

  .cloud.c5 {
    bottom: 29%;
    left: 25%;
    width: 115px;
    opacity: 0.4
  }

  .cloud.c6 {
    top: 10%;
    right: 68.3984px;
    width: 100px
  }

  .cloud.c7 {
    bottom: 21%;
    right: 40%;
    width: 95px
  }

  .cloud.c8 {
    bottom: 12%;
    right: 3%;
    width: 70px;
    opacity: 0
  }

  .cloud.c9 {
    top: 17%;
    right: 0;
    width: 86px;
    opacity: 0.5
  }

  .cloud.c10 {
    bottom: 775.695px;
    right: 46%;
    width: 134px
  }

  .cloud.c11 {
    bottom: 529.109px;
    right: 478.797px;
    width: 140px;
    opacity: 0
  }

  .cloud.c12 {
    bottom: 339.727px;
    right: 940.203px;
    width: 120px
  }

  .cloud.c13 {
    bottom: 1033.3px;
    right: 450.555px;
    width: 122px
  }

  .cloud.c14 {
    top: 52%;
    left: -5%;
    width: 91px
  }

  .cloud.c15 {
    bottom: 214.359px;
    right: 12.8984px;
    width: 85px
  }

  .flower.f1 {
    bottom: 58%;
    left: 23%;
    width: 130px
  }

  .flower.f2 {
    bottom: -1%;
    right: 54%;
    width: 100px
  }

  .flower.f3 {
    top: 20%;
    right: 12%;
    width: 185px
  }

  .flower.f4 {
    top: 0;
    left: 0;
    width: 120px;
    opacity: 0
  }

  .bird.b1 {
    top: 10%;
    left: 0;
    width: 131px
  }

  .horse.h1 {
    bottom: 5.32812px;
    left: 3%;
    width: 195px
  }

  /* === Section illustrations (mobile) === */

  /* FECHA */
  .si-date {
    left: -20px;
    bottom: -10%;
    width: 200px;
    opacity: 0.5;
    transform: rotate(0deg)
  }

  .si-cloud-date {
    top: 1%;
    right: 10px;
    width: 140px;
    opacity: 0.4;
    transform: rotate(0deg)
  }

  /* LUGAR — centrar texto en mobile (el layout usa two-col sin .center) */
  .sec-place .sec-inner {
    text-align: center
  }

  .sec-place .lede,
  .sec-place .cta-row {
    margin-inline: auto;
    justify-content: center
  }

  /* LUGAR */
  .si-place {
    left: -20px;
    bottom: 0;
    width: 200px;
    opacity: 0.35;
    transform: rotate(0deg)
  }

  .si-cloud-place {
    bottom: 150px;
    right: 10px;
    width: 180px;
    opacity: 0.3;
    transform: rotate(0deg)
  }

  /* DRESS */
  .si-dress {
    right: -30px;
    bottom: -30px;
    width: 220px;
    opacity: 0.4;
    transform: rotate(-23deg)
  }

  .si-cloud-dress {
    left: -15px;
    top: 1%;
    width: 150px;
    opacity: 0.4;
    transform: rotate(0deg)
  }

  /* RSVP */
  .si-rsvp {
    right: 10px;
    bottom: 20px;
    width: 160px;
    opacity: 0.35;
    transform: rotate(0deg)
  }

  .si-cloud-rsvp {
    left: -15px;
    top: 1%;
    width: 160px;
    opacity: 0.3;
    transform: rotate(0deg)
  }

  /* REGALO */
  .si-gift {
    left: -15px;
    bottom: 100px;
    width: 200px;
    opacity: 0.25;
    transform: rotate(136deg)
  }

  .si-cloud-gift {
    right: 10px;
    bottom: 20px;
    width: 130px;
    opacity: 0.3;
    transform: rotate(0deg)
  }

  /* MUSICA */
  .si-music {
    right: 10px;
    bottom: 300px;
    width: 160px;
    opacity: 0.45;
    transform: rotate(0deg)
  }

  .si-pomelo-music {
    left: -20px;
    bottom: -30px;
    width: 200px;
    opacity: 0.35;
    transform: rotate(0deg)
  }

  /* OUTRO */
  .si-cloud-outro {
    top: 10%;
    right: 3%;
    width: 130px;
    opacity: 0.3;
    transform: rotate(0deg)
  }
}

/* ============ REVEAL ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s ease, transform .8s ease
}

[data-reveal].is-in {
  opacity: 1;
  transform: none
}

/* Hero entrance: fade-in + scale-down desde grande */
.hero [data-reveal] {
  transform: scale(1.4);
  transition: opacity 2s ease, transform 2s cubic-bezier(0.16, 1, 0.3, 1)
}

.hero [data-reveal].is-in {
  opacity: 1;
  transform: scale(1)
}

body[data-anim="off"] [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none
}

/* Hero bg illustrations entrance */
.bg-illos .illo {
  transition: opacity 2s cubic-bezier(0.16, 1, 0.3, 1),
              scale   2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bg-illos .illo.illo-hidden {
  opacity: 0;
  scale: 1.4;
}

body[data-anim="off"] .bg-illos .illo {
  transition: none;
}

body[data-anim="off"] .illo {
  animation: none !important
}

body[data-anim="float"] .flower,
body[data-anim="float"] .bird,
body[data-anim="float"] .wheat,
body[data-anim="float"] .cloud {
  animation: float 9s ease-in-out infinite;
}

body[data-anim="float"] .flower.f2 {
  animation-delay: -2s;
  animation-duration: 7s
}

body[data-anim="float"] .wheat.w1 {
  animation-delay: -4s
}

body[data-anim="float"] .cloud.c1 {
  animation-duration: 11s
}

body[data-anim="float"] .cloud.c2 {
  animation-delay: -3s;
  animation-duration: 8s
}

body[data-anim="float"] .cloud.c3 {
  animation-delay: -6s;
  animation-duration: 13s
}

body[data-anim="float"] .cloud.c4 {
  animation-delay: -1s;
  animation-duration: 10s
}

body[data-anim="float"] .cloud.c5 {
  animation-delay: -5s;
  animation-duration: 7s
}

body[data-anim="float"] .cloud.c6 {
  animation-delay: -8s;
  animation-duration: 12s
}

body[data-anim="float"] .cloud.c7 {
  animation-delay: -2s;
  animation-duration: 9s
}

body[data-anim="float"] .cloud.c8 {
  animation-delay: -7s;
  animation-duration: 11s
}

body[data-anim="float"] .cloud.c9 {
  animation-delay: -4s;
  animation-duration: 14s
}

body[data-anim="float"] .cloud.c10 {
  animation-delay: -9s;
  animation-duration: 8s
}

body[data-anim="float"] .cloud.c11 {
  animation-delay: -2s;
  animation-duration: 15s
}

body[data-anim="float"] .cloud.c12 {
  animation-delay: -11s;
  animation-duration: 10s
}

body[data-anim="float"] .cloud.c13 {
  animation-delay: -3s;
  animation-duration: 12s
}

body[data-anim="float"] .cloud.c14 {
  animation-delay: -6s;
  animation-duration: 9s
}

body[data-anim="float"] .cloud.c15 {
  animation-delay: -8s;
  animation-duration: 11s
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0)
  }

  50% {
    transform: translate(0, -10px) rotate(1.5deg)
  }
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, calc(100% + 48px));
  padding: 12px 18px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-size: .9rem;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
  z-index: 50;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.toast.show {
  transform: translate(-50%, 0)
}


/* reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important
  }

  [data-reveal] {
    opacity: 1;
    transform: none
  }
}