:root {
  --green-dark: #2f5a46;
  --green-mid: #4b6d5c;
  --green-soft: #a7b3a5;
  --gold: #b08a4f;
  --gold-soft: #d6bc90;
  --paper: #f5f1ea;
  --paper-deep: #ece6dc;
  --paper-soft: rgba(255, 255, 255, 0.42);
  --peach: #d79a7d;
  --peach-deep: #c98667;
  --text: #4a4036;
  --muted: #71665b;
  --line: rgba(176, 138, 79, 0.34);
  --shadow-soft: 0 18px 34px rgba(87, 74, 58, 0.08);
  --shadow-paper: 0 10px 26px rgba(88, 75, 60, 0.05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(176, 138, 79, 0.07), transparent 24%),
    radial-gradient(circle at top right, rgba(47, 90, 70, 0.06), transparent 26%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 0.022'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"),
    var(--paper);
}

img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.invitation {
  overflow: hidden;
  position: relative;
}
.invitation::before,
.invitation::after {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  width: 18px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.34), rgba(255,255,255,0));
  pointer-events: none;
  z-index: 3;
}
.invitation::before { left: 0; }
.invitation::after { right: 0; }

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  color: var(--gold);
}
.eyebrow--timeline {
  font-size: clamp(1.05rem, 2.3vw, 1.45rem);
  letter-spacing: 0.42em;
  margin-bottom: 30px;
}
.caps-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  color: var(--green-dark);
}
.caps-title--small {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 16px;
  margin-top: 22px;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.64);
  margin: 4px;
  background: #e6e6e6;
}
.hero::after {
  content: '';
  position: absolute;
  left: -1%;
  right: -1%;
  bottom: -2px;
  height: 150px;
  background: var(--paper);
  clip-path: polygon(0 62%, 6% 56%, 12% 59%, 18% 52%, 25% 57%, 31% 49%, 39% 58%, 47% 51%, 56% 57%, 64% 49%, 73% 59%, 82% 52%, 90% 58%, 100% 50%, 100% 100%, 0 100%);
  box-shadow: 0 -10px 22px rgba(0,0,0,0.08);
  z-index: 1;
}
.hero__photo,
.count-rsvp-section__image,
.collage__item,
.bottom-gallery__item {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero__photo {
  position: absolute;
  inset: 0;
  background-image: url('../assets/foto-referencia-1.jpeg');
  background-position: center 18%;
  filter: grayscale(100%);
  transform: scale(1.01);
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    radial-gradient(circle at center, rgba(255,255,255,0.06), transparent 50%);
}
.hero__monogram {
  position: absolute;
  left: 74px;
  top: 42px;
  z-index: 2;
  width: 106px;
  height: 106px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(78, 71, 66, 0.12);
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.04);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3.05rem;
  line-height: 0.9;
  letter-spacing: -0.08em;
  color: rgba(89, 80, 74, 0.86);
  animation: floatSoft 5s ease-in-out infinite;
  padding-left: 4px;
}

.song-section {
  position: relative;
  margin-top: -68px;
  padding: 0 20px 58px;
  z-index: 2;
}
.song-section__tear {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 196px;
  background: var(--paper);
  clip-path: polygon(0 61%, 7% 55%, 13% 58%, 20% 51%, 27% 54%, 33% 48%, 41% 56%, 48% 50%, 57% 55%, 65% 48%, 73% 56%, 82% 50%, 90% 56%, 100% 49%, 100% 100%, 0 100%);
  box-shadow: 0 -2px 0 rgba(255,255,255,0.85) inset, 0 -16px 28px rgba(0,0,0,0.05);
}
.song-section__tear::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 26px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05), transparent);
  filter: blur(10px);
  opacity: 0.35;
}
.song-section__inner {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  margin: 0 auto;
  padding-top: 112px;
  text-align: center;
}
.names-script,
.script-line,
.guest-photos-section__signature {
  font-family: 'Great Vibes', cursive;
  font-weight: 400;
  line-height: 0.95;
}
.names-script {
  font-size: clamp(2.7rem, 5.6vw, 5rem);
  color: var(--green-dark);
  text-shadow: 0 2px 8px rgba(0,0,0,0.02);
  letter-spacing: 0.005em;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.18em;
  flex-wrap: nowrap;
}
.names-script__line {
  display: inline-block;
}
.names-script__amp {
  color: var(--gold);
  display: inline-block;
  font-size: 0.9em;
  transform: translateY(-0.04em);
  margin: 0 0.02em;
}
.song-section__text {
  margin-top: 18px;
  color: var(--green-dark);
  font-size: clamp(1.22rem, 2.2vw, 1.55rem);
}
.music-player {
  width: min(430px, 100%);
  margin: 24px auto 0;
}
.music-player__line {
  height: 2px;
  background: rgba(0,0,0,0.45);
  position: relative;
  margin-bottom: 20px;
  cursor: pointer;
}
.music-player__line::before {
  content: '';
  position: absolute;
  left: var(--progress, 0%);
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #000;
  transform: translate(-50%, -50%);
  transition: left 0.12s linear;
  z-index: 9999;
}
.music-player__line span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: var(--peach);
}
.music-player__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.music-btn {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #000;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1rem;
  transition: transform .2s ease, opacity .2s ease;
}
.music-btn:hover:not(:disabled) { transform: translateY(-1px); }
.music-btn--ghost:disabled,
.music-btn:disabled {
  opacity: 0.72;
  cursor: default;
}
.music-btn--play {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.music-player small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.collage-section,
.story-section,
.timeline-section,
.rsvp-section,
.dress-code-section,
.guest-photos-section {
  padding: 26px 20px 38px;
}
.collage {
  width: min(930px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 22px;
}
.collage__item {
  background-color: #ddd;
  box-shadow: var(--shadow-paper);
  transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
}
.collage__item:hover,
.bottom-gallery__item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 34px rgba(87, 74, 58, 0.12);
  filter: saturate(1.02);
}
.collage__item--one {
  background-image: url('../assets/foto-referencia-2.jpeg');
  background-position: center top;
  grid-column: 1;
  grid-row: 1;
  min-height: 500px;
}
.collage__item--two {
  background-image: url('../assets/foto-referencia-3.jpeg');
  background-position: center 18%;
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 865px;
}
.collage__item--three {
  background-image: url('../assets/foto-referencia-4.jpeg');
  background-position: center center;
  grid-column: 1;
  grid-row: 2;
  min-height: 350px;
}

.story-section {
  position: relative;
  padding-top: 28px;
  padding-bottom: 56px;
}
.story-section__stripe {
  width: min(940px, 100%);
  height: 28px;
  margin: 0 auto 28px;
  background: rgba(216, 155, 126, 0.62);
}
.story-section__content {
  width: min(930px, 100%);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.story-section__lead {
  width: min(740px, 100%);
  margin: 20px auto 0;
  font-size: clamp(1.36rem, 2.6vw, 2.15rem);
  line-height: 1.42;
  color: var(--green-dark);
}
.story-section__names {
  margin-top: 28px;
}
.script-line {
  font-size: clamp(4.1rem, 9vw, 7rem);
  color: var(--text);
}
.story-section__amp {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1;
  margin: 2px 0 4px;
  color: var(--green-dark);
}
.story-section__invite {
  width: min(780px, 100%);
  margin: 24px auto 0;
  font-size: clamp(1.24rem, 2.4vw, 1.72rem);
  line-height: 1.52;
}
.event-blocks {
  width: min(760px, 100%);
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 32px;
  position: relative;
}
.event-blocks::after {
  display: none;
}
.event-blocks__date {
  text-align: center;
  padding: 10px 24px 10px 0;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.event-blocks__date span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 1.3rem;
  color: var(--gold);
  margin: 0;
}
.event-blocks__date strong {
  display: block;
  margin: 2px 0 8px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(5.2rem, 8.5vw, 7rem);
  line-height: 0.78;
  color: var(--green-dark);
}
.event-blocks__date em {
  display: block;
  margin: 10px 0 0;
  padding-top: 8px;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.35;
}
.event-blocks__places {
  text-align: left;
}
.event-blocks__places p {
  font-size: clamp(1.18rem, 2vw, 1.54rem);
  line-height: 1.45;
}
.event-blocks__places p strong {
  color: var(--green-dark);
}
.event-blocks__places p + p { margin-top: 18px; }
.story-section__actions {
  margin-top: 36px;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.peach-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 34px;
  border-radius: 22px;
  border: 0;
  background: rgba(216, 155, 126, 0.94);
  color: white;
  text-transform: uppercase;
  font-size: clamp(0.9rem, 1.7vw, 1.05rem);
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(216, 155, 126, 0.22);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.peach-button:hover {
  transform: translateY(-1px);
  background: var(--peach-deep);
  box-shadow: 0 14px 24px rgba(216, 155, 126, 0.26);
}
.peach-button--solid { width: 100%; }
.confirm-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 4px;
}
.peach-button--dual {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  text-align: center;
  font-size: 0.96rem;
}
.text-link {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.story-section__leaf {
  position: absolute;
  left: 1.5%;
  bottom: 8px;
  width: 320px;
  height: 400px;
  background: url('../assets/bouquet.svg') center/contain no-repeat;
  opacity: 0.22;
  filter: hue-rotate(38deg) saturate(0.7);
  pointer-events: none;
}

.timeline-section {
  padding-top: 6px;
  padding-bottom: 48px;
}
.timeline-panel {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 36px 24px 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0.16));
  position: relative;
}
.timeline-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(176, 138, 79, 0.04), transparent 15%),
    radial-gradient(circle at 80% 52%, rgba(176, 138, 79, 0.04), transparent 15%);
  pointer-events: none;
}
.timeline-track {
  position: relative;
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding-top: 28px;
}
.timeline-track::before {
  content: '';
  position: absolute;
  left: 3%;
  right: 3%;
  top: 61px;
  height: 2px;
  background: var(--gold);
}
.timeline-track::after {
  content: '';
  position: absolute;
  inset: 6px 4% auto 4%;
  height: 96px;
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="240" height="100" viewBox="0 0 240 100"%3E%3Cg fill="none" stroke="%23d8cfbe" stroke-width="1" stroke-opacity="0.28"%3E%3Cpath d="M16 84c12-10 18-28 20-52"/%3E%3Cpath d="M32 70c6-6 10-16 13-28"/%3E%3Cpath d="M160 22c2 16 8 30 20 44"/%3E%3Cpath d="M150 30c4 12 7 20 13 31"/%3E%3Cpath d="M56 44c7 2 11 7 11 13-8 0-14-5-16-11 1-1 3-2 5-2Z"/%3E%3Cpath d="M184 52c7 2 11 7 11 13-8 0-14-5-16-11 1-1 3-2 5-2Z"/%3E%3C/g%3E%3C/svg%3E') repeat-x center top;
  pointer-events: none;
}
.timeline-track__item {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  z-index: 1;
}
.timeline-track__bubble {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(235, 231, 224, 0.92);
  box-shadow: 0 8px 18px rgba(0,0,0,0.04), inset 0 0 0 1px rgba(255,255,255,0.48);
  font-size: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 54px 54px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.timeline-track__item:nth-child(1) .timeline-track__bubble {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23876a4a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 28h36v22H14z'/%3E%3Cpath d='M12 28h40L32 16z'/%3E%3Cpath d='M20 28v22M32 28v22M44 28v22'/%3E%3Cpath d='M28 13h8M32 9v8'/%3E%3C/g%3E%3C/svg%3E");
}
.timeline-track__item:nth-child(2) .timeline-track__bubble {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23876a4a' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='25' cy='30' r='11'/%3E%3Ccircle cx='39' cy='30' r='11'/%3E%3Cpath d='M20 19l5-7 5 7M34 19l5-7 5 7'/%3E%3C/g%3E%3C/svg%3E");
}
.timeline-track__item:nth-child(3) .timeline-track__bubble {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23876a4a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 14h10l-3 16a6 6 0 0 1-4 0zM36 14h10l-3 16a6 6 0 0 1-4 0z'/%3E%3Cpath d='M23 30v10M41 30v10M18 40h10M36 40h10M28 18h8'/%3E%3C/g%3E%3C/svg%3E");
}
.timeline-track__item:nth-child(4) .timeline-track__bubble {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23876a4a' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 17h5v30h-5zM42 17h5v30h-5zM22 22h20M22 32h20M22 42h20M28 20v24M36 20v24'/%3E%3C/g%3E%3C/svg%3E");
}
.timeline-track__item:nth-child(5) .timeline-track__bubble {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23876a4a' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 42 30 30l16-10'/%3E%3Cpath d='M16 44c7-1 11 3 10 10-7 1-11-3-10-10Z'/%3E%3Cpath d='M34 18l3-8M44 22l8-3M42 30l8 3M29 21l-5-6'/%3E%3C/g%3E%3C/svg%3E");
}
.timeline-track__item:hover .timeline-track__bubble {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(0,0,0,0.06);
}
.timeline-track__stem {
  width: 0;
  height: 46px;
  border-left: 2px dashed rgba(176, 138, 79, 0.78);
  margin: 12px 0 12px;
}
.timeline-track__time {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 700;
  color: var(--green-dark);
}
.timeline-track__label {
  margin-top: 6px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  color: var(--text);
}

.count-rsvp-section {
  position: relative;
  min-height: 220px;
  padding: 16px 20px 10px;
  overflow: hidden;
}
.count-rsvp-section__image {
  position: absolute;
  inset: 0;
  background-image: url('../assets/foto-referencia-5.jpeg');
  /* Ajuste de encuadre: sube visualmente las manos dentro de la franja */
  background-position: center 55%;
}
.count-rsvp-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.12), rgba(0,0,0,0.18));
}
.countdown-banner {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  margin: 0 auto;
  background: rgba(173, 117, 92, 0.72);
  color: white;
  text-align: center;
  padding: 42px 20px 18px;
  border: 1px solid rgba(255,255,255,0.38);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(2px);
}
.countdown-banner__dots {
  position: absolute;
  left: 44px;
  right: 44px;
  top: 8px;
  display: flex;
  justify-content: space-between;
}
.countdown-banner__dots i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 2px solid rgba(255,255,255,0.92);
}
.countdown-inline {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
}
.countdown-inline__group {
  min-width: 120px;
}
.countdown-inline__group strong {
  display: block;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1;
}
.countdown-inline__group span {
  display: block;
  margin-top: 4px;
  font-size: clamp(1rem, 2vw, 1.28rem);
  text-transform: lowercase;
}

.rsvp-section {
  text-align: center;
  padding-top: 28px;
  padding-bottom: 74px;
}
.rsvp-section__content {
  width: min(850px, 100%);
  margin: 0 auto;
}
.rsvp-section__content p {
  width: min(760px, 100%);
  margin: 18px auto 0;
  font-size: clamp(1.24rem, 2.4vw, 1.68rem);
  line-height: 1.45;
}
.rsvp-section__reserved { margin-top: 28px; }
.rsvp-section__seat {
  margin: 10px 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3.5rem, 6vw, 5rem);
  line-height: 1;
  color: var(--green-dark);
}
.rsvp-section__honor { margin-top: 0; }
.confirm-form {
  width: min(720px, 100%);
  margin: 22px auto 0;
  text-align: left;
  display: grid;
  gap: 16px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height .35s ease, opacity .3s ease, transform .3s ease, padding-top .3s ease;
  padding-top: 0;
}
.confirm-form.is-open {
  max-height: 520px;
  opacity: 1;
  transform: translateY(0);
  padding-top: 6px;
}
.confirm-form label {
  color: var(--green-dark);
  font-weight: 500;
}
.confirm-form input,
.confirm-form select {
  width: 100%;
  min-height: 54px;
  margin-top: 8px;
  padding: 0 16px;
  border: 1px solid rgba(76,64,52,0.18);
  background: rgba(255,255,255,0.78);
  color: var(--text);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.42);
}

.dress-code-section {
  text-align: center;
}
.dress-code-section__content {
  width: min(920px, 100%);
  margin: 0 auto;
}
.dress-code-section__icon {
  width: 70px;
  margin: 18px auto 8px;
  opacity: 0.78;
}
.dress-code-section h3 {
  margin-top: 8px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--green-dark);
  font-weight: 400;
}
.dress-code-section__notice {
  margin-top: 22px;
  padding: 16px 20px;
  background: rgba(231, 209, 188, 0.72);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}
.swatches {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 16px;
}
.swatch {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 6px 14px rgba(0,0,0,0.05);
}
.swatch--white { background: #ffffff; }
.swatch--cream { background: #f2ebdb; }
.swatch--beige { background: #dec7a8; }
.swatch--sage { background: #c7cfbf; }

.guest-photos-section {
  text-align: center;
  padding-bottom: 54px;
}
.guest-photos-section__content {
  width: min(940px, 100%);
  margin: 0 auto;
}
.guest-photos-section__text {
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.45;
}
.guest-photos-section__icon {
  width: 68px;
  margin: 18px auto 16px;
  opacity: 0.78;
}
.peach-button--upload {
  cursor: pointer;
}
.guest-photos-section__input {
  position: absolute;
  left: -9999px;
}
.bottom-gallery {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1.8fr 1fr;
  gap: 18px;
  align-items: end;
}
.bottom-gallery__item {
  min-height: 290px;
  background-color: #ddd;
  background-image: url('../assets/foto-referencia-6.jpeg');
  background-position: center 22%;
  box-shadow: var(--shadow-paper);
  transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
}
.bottom-gallery__item--wide {
  min-height: 248px;
  background-image: url('../assets/foto-referencia-7.jpeg');
  background-position: center 14%;
}
#bottomGalleryThree {
  background-image: url('../assets/foto-referencia-8.jpeg');
  background-position: center 24%;
}
.guest-photos-section__signature {
  margin-top: 28px;
  font-size: clamp(3rem, 7vw, 5rem);
  color: var(--peach);
}

.footer {
  padding: 18px 20px 14px;
  background: #bfc6b6;
  text-align: center;
}
.footer p {
  color: rgba(255,255,255,0.92);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}


@media (min-width: 641px) {
  .song-section__inner {
    width: min(980px, 100%);
  }

  .names-script {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.22em;
    max-width: none;
    text-align: center;
    font-size: clamp(2.45rem, 4.7vw, 4.55rem);
    line-height: 0.98;
    white-space: nowrap;
  }

  .names-script__line,
  .names-script__amp {
    display: inline-block;
  }

  .names-script__amp {
    font-size: 0.9em;
    line-height: 1;
    margin: 0 0.05em;
    transform: translateY(-0.03em);
  }
}

@media (max-width: 980px) {
  .timeline-track {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 8px;
  }
  .timeline-track::before,
  .timeline-track::after {
    display: none;
  }
  .timeline-track__item {
    grid-template-columns: 62px 1fr;
    justify-items: start;
    align-items: center;
    text-align: left;
    gap: 12px 18px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(176, 138, 79, 0.24);
  }
  .timeline-track__stem {
    display: none;
  }
  .timeline-track__bubble {
    grid-row: 1 / span 2;
  }
  .timeline-track__time,
  .timeline-track__label {
    margin: 0;
  }
}

@media (max-width: 900px) {
  .hero__monogram {
    left: 26px;
    top: 22px;
    width: 84px;
    height: 84px;
    font-size: 2.45rem;
    padding-left: 3px;
  }
  .collage,
  .event-blocks,
  .bottom-gallery {
    grid-template-columns: 1fr;
  }
  .collage__item--two {
    grid-column: auto;
    grid-row: auto;
    min-height: 500px;
  }
  .collage__item--one,
  .collage__item--three {
    grid-column: auto;
    grid-row: auto;
    min-height: 360px;
  }
  .event-blocks__date {
    border-bottom: 1px solid var(--line);
    padding: 0 0 24px;
    min-width: 0;
  }
  .event-blocks__places {
    text-align: center;
  }
  .countdown-inline {
    flex-wrap: wrap;
    gap: 8px;
  }
  .countdown-inline__group { min-width: 120px; }
  .confirm-actions {
    grid-template-columns: 1fr;
  }
  .bottom-gallery__item,
  .bottom-gallery__item--wide { min-height: 260px; }
  .story-section__leaf { width: 220px; height: 280px; }
}

@media (max-width: 640px) {
  .hero { min-height: 72vh; }
  .hero__photo { background-position: center 20%; }
  .song-section {
    margin-top: -40px;
    padding: 0 14px 42px;
  }
  .song-section__tear { height: 162px; }
  .song-section__inner { padding-top: 92px; }
  .names-script {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
    white-space: normal;
  }
  .music-player__controls { gap: 8px; }
  .music-btn { width: 38px; height: 38px; }
  .music-btn--play { width: 58px; height: 58px; }
  .countdown-banner__dots { left: 16px; right: 16px; }
  .countdown-banner__dots i { width: 16px; height: 16px; }
  .countdown-inline__group { min-width: 80px; }
  .story-section__leaf {
    opacity: 0.14;
    left: -10px;
  }
  .swatches { flex-wrap: wrap; }
}

/* ===== Ajustes responsivos optimizados para celular ===== */
@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .invitation::before,
  .invitation::after {
    display: none;
  }

  .hero {
    min-height: 62vh;
    margin: 0;
    border-left: 0;
    border-right: 0;
  }

  .hero::after {
    height: 118px;
    left: 0;
    right: 0;
    bottom: -1px;
  }

  .hero__photo {
    background-position: center 12%;
    transform: scale(1.03);
  }

  .hero__monogram {
    left: 18px;
    top: 18px;
    width: 72px;
    height: 72px;
    font-size: 2.15rem;
    padding-left: 2px;
  }

  .song-section {
    margin-top: -12px;
    padding: 0 12px 34px;
  }

  .song-section__tear {
    height: 138px;
    top: -4px;
  }

  .song-section__inner {
    padding-top: 84px;
    width: 100%;
  }

  .names-script {
    font-size: clamp(2.18rem, 9.5vw, 3rem);
    line-height: 1.04;
    max-width: 330px;
    margin: 0 auto;
    display: block;
    text-align: center;
  }
  .names-script__line {
    display: block;
  }
  .names-script__amp {
    display: block;
    font-size: 0.74em;
    line-height: 0.6;
    margin: 0.04em 0 0.03em;
    transform: none;
  }

  .song-section__text {
    margin-top: 14px;
    font-size: 1.08rem;
  }

  .music-player {
    width: min(280px, 100%);
    margin-top: 18px;
  }

  .music-btn {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

  .music-btn--play {
    width: 52px;
    height: 52px;
    font-size: 1.1rem;
  }

  .collage-section,
  .story-section,
  .timeline-section,
  .rsvp-section,
  .dress-code-section,
  .guest-photos-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .collage {
    gap: 12px;
  }

  .collage__item--one,
  .collage__item--two,
  .collage__item--three {
    min-height: 300px;
  }

  .story-section__stripe {
    height: 18px;
    margin-bottom: 22px;
  }

  .caps-title {
    font-size: clamp(2.05rem, 8vw, 2.8rem);
  }

  .story-section__lead {
    font-size: 1.08rem;
    line-height: 1.5;
  }

  .script-line {
    font-size: clamp(3rem, 13vw, 4.2rem);
  }

  .story-section__invite {
    font-size: 1.06rem;
    line-height: 1.55;
  }

  .event-blocks {
    gap: 18px;
    margin-top: 24px;
  }

  .event-blocks__date {
    padding: 0 0 20px;
    gap: 6px;
  }

  .event-blocks__date span {
    font-size: 1rem;
    letter-spacing: 0.18em;
  }

  .event-blocks__date strong {
    font-size: clamp(4.4rem, 18vw, 5.6rem);
    margin-bottom: 25px;
  }

  .event-blocks__date em {
    font-size: 1rem;
    letter-spacing: 0.16em;
    margin-top: 4px;
    padding-top: 0;
  }

  .event-blocks__places p {
    font-size: 1.04rem;
    line-height: 1.45;
  }

  .story-section__actions {
    gap: 10px;
  }

  .peach-button {
    min-height: 54px;
    padding: 0 22px;
    font-size: 0.95rem;
    border-radius: 18px;
  }

  /* Itinerario estilo móvil tipo tarjeta vertical */
  .timeline-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }

  .timeline-panel {
    width: min(360px, 100%);
    padding: 22px 18px 24px;
    border: 0;
    border-radius: 170px 170px 26px 26px;
    background: linear-gradient(180deg, #efe5d6 0%, #f6eee4 100%);
    box-shadow: 0 16px 30px rgba(87, 74, 58, 0.08);
    overflow: hidden;
  }

  .timeline-panel::before {
    display: none;
  }

  .eyebrow--timeline {
    width: 100%;
    text-align: center;
    font-family: 'Great Vibes', cursive;
    text-transform: none;
    letter-spacing: 0;
    font-size: 2rem;
    line-height: 1.05;
    color: var(--text);
    margin-bottom: 10px;
  }

  .timeline-track {
    display: block;
    margin-top: 4px;
    padding: 14px 0 4px;
    min-height: 520px;
  }

  .timeline-track::before {
    left: 50%;
    right: auto;
    top: 10px;
    bottom: 14px;
    width: 2px;
    height: auto;
    transform: translateX(-50%);
    background: rgba(88, 86, 82, 0.82);
  }

  .timeline-track::after {
    display: none;
  }

  .timeline-track__item {
    position: relative;
    min-height: 112px;
    display: block;
    padding: 0;
    border: 0;
    text-align: center;
  }

  .timeline-track__item::before,
  .timeline-track__item::after {
    content: '';
    position: absolute;
    top: 26px;
  }

  .timeline-track__item::before {
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(88, 86, 82, 0.9);
    transform: translateX(-50%);
  }

  .timeline-track__item::after {
    width: 44px;
    border-top: 1px dashed rgba(88, 86, 82, 0.6);
  }

  .timeline-track__item:nth-child(odd)::after {
    left: calc(50% - 44px);
  }

  .timeline-track__item:nth-child(even)::after {
    right: calc(50% - 44px);
  }

  .timeline-track__bubble {
    position: absolute;
    top: 20px;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    font-size: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 62px 62px;
  }
  .timeline-track__item:nth-child(1) .timeline-track__bubble {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23876a4a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 28h36v22H14z'/%3E%3Cpath d='M12 28h40L32 16z'/%3E%3Cpath d='M20 28v22M32 28v22M44 28v22'/%3E%3Cpath d='M28 13h8M32 9v8'/%3E%3C/g%3E%3C/svg%3E");
  }
  .timeline-track__item:nth-child(2) .timeline-track__bubble {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23876a4a' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='25' cy='30' r='11'/%3E%3Ccircle cx='39' cy='30' r='11'/%3E%3Cpath d='M20 19l5-7 5 7M34 19l5-7 5 7'/%3E%3C/g%3E%3C/svg%3E");
  }
  .timeline-track__item:nth-child(3) .timeline-track__bubble {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23876a4a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 14h10l-3 16a6 6 0 0 1-4 0zM36 14h10l-3 16a6 6 0 0 1-4 0z'/%3E%3Cpath d='M23 30v10M41 30v10M18 40h10M36 40h10M28 18h8'/%3E%3C/g%3E%3C/svg%3E");
  }
  .timeline-track__item:nth-child(4) .timeline-track__bubble {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23876a4a' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='32' cy='32' r='12'/%3E%3Ccircle cx='32' cy='32' r='5'/%3E%3Cpath d='M16 16v32M12 20h8M12 28h8M12 36h8M48 16v32M52 16v32M48 24h4M48 32h4M48 40h4'/%3E%3C/g%3E%3C/svg%3E");
  }
  .timeline-track__item:nth-child(5) .timeline-track__bubble {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23876a4a' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 42 30 30l16-10'/%3E%3Cpath d='M16 44c7-1 11 3 10 10-7 1-11-3-10-10Z'/%3E%3Cpath d='M34 18l3-8M44 22l8-3M42 30l8 3M29 21l-5-6'/%3E%3C/g%3E%3C/svg%3E");
  }

  .timeline-track__item:nth-child(odd) .timeline-track__bubble {
    right: 4px;
    left: auto;
  }

  .timeline-track__item:nth-child(even) .timeline-track__bubble {
    left: 4px;
    right: auto;
  }

  .timeline-track__stem {
    display: none;
  }

  .timeline-track__time,
  .timeline-track__label {
    position: absolute;
    width: 138px;
    margin: 0;
  }

  .timeline-track__time {
    top: 16px;
    font-size: 1.05rem;
    color: var(--text);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.03em;
  }

  .timeline-track__label {
    top: 44px;
    font-size: 1.5rem;
    line-height: 1.08;
  }

  .timeline-track__item:nth-child(odd) .timeline-track__time,
  .timeline-track__item:nth-child(odd) .timeline-track__label {
    left: 16px;
    text-align: left;
  }

  .timeline-track__item:nth-child(even) .timeline-track__time,
  .timeline-track__item:nth-child(even) .timeline-track__label {
    right: 16px;
    text-align: right;
  }

  .count-rsvp-section {
    min-height: 0;
    padding: 8px 10px 4px;
  }

  .count-rsvp-section__image {
    /* En móvil se eleva el punto de interés para que las manos no queden tan abajo */
    background-position: center 68%;
  }

  .countdown-banner {
    padding: 28px 12px 8px;
  }

  .countdown-banner__dots {
    left: 16px;
    right: 16px;
    top: 6px;
  }

  .countdown-banner__dots i {
    width: 14px;
    height: 14px;
  }

  .caps-title--small {
    margin-top: 14px;
    margin-bottom: 10px;
    font-size: 2.1rem;
  }

  .countdown-inline {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 4px;
    align-items: flex-end;
  }

  .countdown-inline__group {
    min-width: 0;
    flex: 1 1 0;
  }

  .countdown-inline__group strong {
    font-size: clamp(1.9rem, 8.4vw, 2.8rem);
  }

  .countdown-inline__group span {
    font-size: 0.86rem;
  }

  .rsvp-section__content p {
    font-size: 1.06rem;
    line-height: 1.5;
  }

  .rsvp-section__seat {
    font-size: 3.6rem;
  }

  .confirm-form {
    gap: 14px;
  }

  .confirm-actions {
    grid-template-columns: 1fr;
  }

  .peach-button--dual {
    min-height: 54px;
  }

  .dress-code-section h3 {
    font-size: 1.75rem;
  }

  .dress-code-section__notice,
  .guest-photos-section__text {
    font-size: 1.02rem;
    line-height: 1.5;
  }

  .swatches {
    gap: 12px;
    flex-wrap: wrap;
  }

  .swatch {
    width: 52px;
    height: 52px;
  }

  .bottom-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bottom-gallery__item,
  .bottom-gallery__item--wide {
    min-height: 220px;
  }

  /* Ajuste móvil: evita que se corten las cabezas en las fotografías finales */
  #bottomGalleryOne {
    background-position: center 18%;
  }

  #bottomGalleryTwo {
    background-position: center 10%;
  }

  #bottomGalleryThree {
    background-position: center 18%;
  }

  .guest-photos-section__signature {
    font-size: clamp(2.5rem, 12vw, 3.6rem);
  }

  .footer {
    padding-bottom: 24px;
  }
}

@media (max-width: 420px) {
  .timeline-panel {
    padding-left: 14px;
    padding-right: 14px;
    border-radius: 150px 150px 22px 22px;
  }

  .timeline-track__time,
  .timeline-track__label {
    width: 104px;
  }

  .timeline-track__bubble {
    top: 20px;
    width: 60px;
    height: 60px;    
  }

  .timeline-track__item:nth-child(odd) .timeline-track__bubble {
    right: 30px;
    left: auto;
  }

  .timeline-track__item:nth-child(even) .timeline-track__bubble {
    left: 30px;
    right: auto;
  }

  .timeline-track__item:nth-child(odd) .timeline-track__time,
  .timeline-track__item:nth-child(odd) .timeline-track__label {
    left: 8px;
  }

  .timeline-track__item:nth-child(even) .timeline-track__time,
  .timeline-track__item:nth-child(even) .timeline-track__label {
    right: 8px;
  }
}

@media (max-width: 640px) {

  .hero__photo {
    background-position: center 100%;
  }

   .collage__item--one {
    background-position: center 30%;
  }

  .collage__item--two {
    background-position: center 35%;
  }

  .collage__item--three {
    background-position: center 22%;
  }

  #bottomGalleryOne {
    background-position: center 30%;
  }

  #bottomGalleryTwo {
    background-position: center 100%;
  }

  #bottomGalleryThree {
    background-position: center 35%;
  }
}

/* ===== Galería colaborativa y códigos personales ===== */
body.modal-open {
  overflow: hidden;
}

.guest-photos-section__actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.gallery-link-button {
  min-height: 62px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 90, 70, 0.34);
  border-radius: 22px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.38);
  text-transform: uppercase;
  font-size: clamp(0.9rem, 1.7vw, 1.05rem);
  letter-spacing: 0.03em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.gallery-link-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--green-dark);
}

.guest-photos-section__hint {
  width: min(680px, 100%);
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 39, 34, 0.58);
  backdrop-filter: blur(5px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(88vh, 780px);
  overflow-y: auto;
  padding: 38px 34px 32px;
  border: 1px solid rgba(176, 138, 79, 0.28);
  border-radius: 24px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 .025'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"),
    var(--paper);
  box-shadow: 0 28px 70px rgba(31, 39, 34, 0.22);
  text-align: center;
  transform: translateY(16px) scale(.98);
  transition: transform .25s ease;
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__dialog--code {
  width: min(520px, 100%);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--green-dark);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.modal__eyebrow {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .76rem;
}

.modal__title {
  margin-top: 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  line-height: 1;
  color: var(--green-dark);
  font-weight: 600;
}

.modal__text {
  width: min(500px, 100%);
  margin: 16px auto 0;
  color: var(--muted);
  line-height: 1.55;
}

.access-code {
  margin: 22px auto 18px;
  padding: 16px 18px;
  border: 1px dashed rgba(176, 138, 79, 0.74);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--green-dark);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 700;
  letter-spacing: .08em;
  user-select: all;
}

.modal__status {
  display: block;
  min-height: 20px;
  margin-top: 10px;
  color: var(--green-dark);
}

.photo-upload-form {
  margin-top: 22px;
  display: grid;
  gap: 16px;
  text-align: left;
}

.photo-upload-form label:not(.photo-dropzone) {
  color: var(--green-dark);
  font-weight: 600;
}

.photo-upload-form input[type='text'] {
  width: 100%;
  min-height: 54px;
  margin-top: 8px;
  padding: 0 16px;
  border: 1px solid rgba(76, 64, 52, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.photo-dropzone {
  min-height: 150px;
  padding: 22px;
  border: 1px dashed rgba(47, 90, 70, 0.44);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.34);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  color: var(--green-dark);
  text-align: center;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.photo-dropzone:hover {
  background: rgba(255, 255, 255, 0.68);
  border-color: var(--green-dark);
}

.photo-dropzone__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(216, 155, 126, 0.2);
  font-size: 1.7rem;
  font-weight: 300;
}

.photo-dropzone small {
  color: var(--muted);
  font-weight: 400;
}

.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.photo-preview-grid:empty {
  display: none;
}

.photo-preview-grid__item {
  margin: 0;
  min-width: 0;
}

.photo-preview-grid__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}

.photo-preview-grid__item figcaption {
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: .7rem;
}

.photo-upload-form__status {
  min-height: 22px;
  color: var(--green-dark);
  text-align: center;
  line-height: 1.45;
}

.modal__gallery-link {
  color: var(--green-dark);
  font-weight: 600;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}

button.is-loading {
  opacity: .72;
  cursor: wait;
}

@media (max-width: 640px) {
  .guest-photos-section__actions {
    display: grid;
  }

  .gallery-link-button,
  .guest-photos-section__actions .peach-button {
    width: 100%;
    min-height: 54px;
  }

  .modal {
    padding: 10px;
    align-items: end;
  }

  .modal__dialog {
    width: 100%;
    max-height: 91vh;
    padding: 34px 18px 24px;
    border-radius: 24px 24px 12px 12px;
  }

  .photo-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
