/* ══════════════════════════════════════════════════════════════
   Talal & Rasha — Wedding Invitation
   Elegant black · silver · ivory, echoing the printed invitation
   ══════════════════════════════════════════════════════════════ */

:root {
  /* Accents / silver (flourishes, labels, dividers) */
  --theme-color1: #b9bbbd;
  --theme-color2: #f5f2ec;
  --theme-color3: #ffffff;
  --theme-color4: #8a8c8e;

  --theme-color1-rgb: 185, 187, 189;
  --theme-color2-rgb: 245, 242, 236;
  --theme-color3-rgb: 255, 255, 255;
  --theme-color4-rgb: 138, 140, 142;

  --ink: #171717;
  --ink-soft: #454545;
  --silver: #b9bbbd;
  --silver-soft: #d8dadc;
  --line: rgba(0, 0, 0, 0.09);
  --panel: #ffffff;
  --panel-soft: #f6f4ef;

  --text-color: #454545;
  --headings-color: #171717;

  --text-font: "Raleway", sans-serif;
  --title-font: "Cormorant Garamond", serif;
  --style-font: "Pinyon Script", "Great Vibes", cursive;
}

/* ── Global smoothness ── */
*,
*::before,
*::after {
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

body {
  font-family: var(--text-font);
  color: var(--text-color);
  background: #ffffff;
}

.sec-title h2 {
  font-family: var(--style-font);
  color: var(--headings-color);
  letter-spacing: 0.01em;
}

.sec-title .sub-title {
  font-family: var(--title-font);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--silver);
  font-size: 15px;
}

/* ── Buttons ── */
.theme-btn.btn-style-one {
  background: var(--ink);
  border: 1px solid var(--ink);
  /* border-radius: 4px; */
  letter-spacing: 0.22em;
  font-family: var(--text-font);
  font-weight: 500;
  text-transform: uppercase;
}

.theme-btn.btn-style-one:hover {
  background: transparent;
  color: var(--ink);
  transform: translateY(-2px);
}

.theme-btn .btn-title {
  font-size: 15px !important;
}

/* ══════════════════════════════════════════════════════════════
   Flourish ornament (extracted from the invitation)
   ══════════════════════════════════════════════════════════════ */
.flourish-divider {
  display: block;
  color: var(--silver);
  margin: clamp(10px, 1.8vh, 20px) auto;
  line-height: 0;
}

.flourish-divider .flourish {
  display: block;
  width: clamp(170px, 62%, 250px);
  height: auto;
  margin: 0 auto;
}

.flourish-divider.flip .flourish {
  transform: scaleY(-1);
}

/* ══════════════════════════════════════════════════════════════
   Envelope opening screen
   ══════════════════════════════════════════════════════════════ */
.envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #efe9df;
  transition:
    opacity 0.9s ease,
    visibility 0.9s ease;
}

.envelope-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Full-screen envelope */
.envelope {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  perspective: 2200px;
}

.envelope-body {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #fbf9f4 0%, #efe8db 100%);
  transform-style: preserve-3d;
  transform-origin: 50% 44%;
  transition:
    transform 0.7s cubic-bezier(0.5, 0, 0.75, 0.3),
    opacity 0.6s ease;
  overflow: hidden;
}

/* Bottom pocket triangle (envelope face) */
.envelope-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(175, 165, 150, 0.16) 100%
  );
  clip-path: polygon(0 100%, 100% 100%, 50% 30%);
  z-index: 2;
}

/* Left & right pocket shading */
.envelope-body::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(150, 140, 125, 0.14) 0%,
      rgba(255, 255, 255, 0) 26%
    ),
    linear-gradient(
      270deg,
      rgba(150, 140, 125, 0.14) 0%,
      rgba(255, 255, 255, 0) 26%
    );
  z-index: 1;
  pointer-events: none;
}

/* The closing flap — big triangle from the top */
.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 56%;
  background: linear-gradient(165deg, #f7f2e8 0%, #e5ddcd 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transition: transform 1.6s cubic-bezier(0.5, 0.02, 0.25, 1);
  z-index: 5;
  /* box-shadow: 0 3px 10px rgba(120, 110, 95, 0.14); */
}

.envelope-flap::after {
  /* subtle inner bevel line of the flap */
  content: "";
  position: absolute;
  inset: 10px 10px auto 10px;
  height: 94%;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0)
  );
}

/* Wax seal = the button — mottled, hand-pressed sealing wax */
.wax-seal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(110px, 15vw, 168px);
  aspect-ratio: 1;
  /* organic, slightly irregular wax-blob edge */
  border-radius: 48% 52% 51% 49% / 52% 48% 51% 49%;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 7;
  background-color: #efe8db;
  /* background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
        radial-gradient(circle at 40% 32%, #2b2b2b 0%, #171717 50%, #0a0a0a 100%); */
  background-size:
    150% 150%,
    cover;
  background-blend-mode: soft-light, normal;
  box-shadow:
    0 12px 28px rgba(96, 84, 66, 0.18),
    0 4px 10px rgba(96, 84, 66, 0.1),
    inset 0 2px 6px rgba(255, 255, 255, 0.75),
    inset 0 -5px 10px rgba(177, 162, 138, 0.18);
  animation: sealPulse 2.4s ease-in-out infinite;
}

/* .wax-seal::before {
    content: '';
    position: absolute;
    inset: 10%;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        inset 0 1px 3px rgba(0, 0, 0, 0.55),
        inset 0 -1px 2px rgba(255, 255, 255, 0.06);
} */

.wax-seal-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wax-monogram {
  font-family: var(--style-font);
  font-size: clamp(42px, 6vw, 62px);
  line-height: 1;
  color: #171717;
  /* pressed-into-wax emboss */
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12),
    0 -1px 1px rgba(0, 0, 0, 0.6),
    0 2px 4px rgba(0, 0, 0, 0.55);
  display: inline-flex;
  align-items: baseline;
}

.wax-monogram em {
  font-family: var(--title-font);
  font-style: italic;
  font-size: 0.5em;
  margin: 0 2px;
  opacity: 0.85;
}

@keyframes sealPulse {
  0%,
  100% {
    box-shadow:
      0 14px 30px rgba(30, 25, 20, 0.42),
      inset 0 2px 5px rgba(255, 255, 255, 0.18),
      inset 0 -5px 10px rgba(0, 0, 0, 0.4),
      0 0 0 0 rgba(120, 110, 95, 0.4);
  }

  50% {
    box-shadow:
      0 14px 30px rgba(30, 25, 20, 0.42),
      inset 0 2px 5px rgba(255, 255, 255, 0.18),
      inset 0 -5px 10px rgba(0, 0, 0, 0.4),
      0 0 0 22px rgba(120, 110, 95, 0);
  }
}

/* Opening animation — the wax cracks, the flap slowly lifts,
   then the whole envelope drifts toward the viewer and dissolves. */
.envelope.opening .envelope-flap {
  transform: rotateX(180deg);
  z-index: 1;
  transition-delay: 0.35s;
}

.envelope.opening .wax-seal {
  animation: sealBreak 0.9s cubic-bezier(0.36, 0, 0.55, 1) forwards;
}

@keyframes sealBreak {
  0% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 1;
  }

  22% {
    /* the wax gives, cracks, pops slightly */
    transform: translate(-50%, -50%) scale(1.07) rotate(-1.5deg);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -46%) scale(0.86) rotate(-6deg);
    opacity: 0;
  }
}

.envelope.opening .envelope-body {
  opacity: 0;
  transform: scale(1.9);
  transition-delay: 1.7s;
}

.envelope-overlay {
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

/* Cinematic reveal of the site behind the envelope */
body.revealed .page-wrapper {
  animation: pageFade 0.6s ease both;
}

@keyframes pageFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

body.revealed .hero-section {
  animation: heroReveal 0.85s cubic-bezier(0.16, 0.84, 0.28, 1) both;
}

@keyframes heroReveal {
  0% {
    opacity: 0;
    transform: scale(1.14);
    filter: blur(12px);
  }

  55% {
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

body.revealed .hero-invite > .invite-card {
  animation: inviteRise 0.8s cubic-bezier(0.16, 0.84, 0.28, 1) 0.1s both;
}

@keyframes inviteRise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════════════════════════
   Hero — invitation info (left) + couple photo (right)
   ══════════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  height: 100vh;
  padding: 0;
  background: #fff;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  height: 100%;
}

.hero-invite {
  flex: 1 1 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 3vh, 48px) clamp(28px, 5vw, 72px);
  background: #faf8f4;
}

.invite-card {
  max-width: 560px;
  width: 100%;
  text-align: center;
  padding: clamp(22px, 3.4vh, 46px) clamp(20px, 3vw, 40px);
  position: relative;
}

/* .invite-card::before,
.invite-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--silver-soft) 20%, var(--silver-soft) 80%, transparent);
} */

.invite-card::before {
  top: 0;
}

.invite-card::after {
  bottom: 0;
}

.invite-intro {
  font-family: var(--title-font);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 1.9;
  color: var(--ink);
  margin-bottom: 6px;
}

.couple-names {
  font-family: var(--style-font);
  font-size: clamp(58px, 8vw, 104px);
  line-height: 1;
  color: var(--ink);
  margin: clamp(2px, 1vh, 8px) 0;
  font-weight: 400;
}

.couple-names .amp {
  font-size: 0.62em;
  vertical-align: 0.06em;
  color: var(--silver);
  padding: 0 0.06em;
}

.invite-when {
  margin: clamp(4px, 1vh, 10px) 0 4px;
}

.invite-date {
  font-family: var(--title-font);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(19px, 2.1vw, 27px);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.invite-time {
  font-family: var(--title-font);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: clamp(16px, 1.7vw, 21px);
  color: var(--ink);
  margin-bottom: 12px;
}

.invite-place {
  font-family: var(--title-font);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--ink-soft);
}

.invite-continues {
  font-family: var(--title-font);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: clamp(13px, 1.35vw, 16px);
  line-height: 1.9;
  color: var(--ink);
  margin: clamp(12px, 2.2vh, 22px) 0 clamp(10px, 1.8vh, 18px);
}

/* .invite-note {
    font-family: var(--title-font);
    font-style: italic;
    font-size: clamp(17px, 1.8vw, 21px);
    letter-spacing: 0.03em;
    color: var(--silver);
} */
.invite-note {
  font-family: var(--title-font);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--ink-soft);
}

.hero-photo {
  flex: 1 1 50%;
  position: relative;
  overflow: hidden;
  background: var(--panel-soft);
}

.hero-photo-frame {
  position: absolute;
  inset: 0;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0) 22%
  );
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   Zigzag section — 4 photos (up/down) with 3 detail boxes
   ══════════════════════════════════════════════════════════════ */
.zigzag-section {
  position: relative;
  padding: 100px 0 0;
  background: white;
}

.zigzag-section .container-fluid {
  padding: 0;
}

.zz-head {
  margin-bottom: clamp(40px, 5vw, 70px);
  padding: 0 24px;
}

.zz-head .sub-title {
  display: block;
  margin-bottom: 22px;
}

.zz-head h2 {
  font-family: var(--style-font);
  font-size: clamp(46px, 6vw, 82px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}

.zz-head .flourish-divider {
  color: var(--silver);
  margin-top: 14px;
}

/* ── Full-bleed zigzag: 5 absolutely-placed photos, one up one down ── */
.zigzag-track {
  position: relative;
  width: 100%;
  height: 30vw;
  min-height: 300px;
  margin: 0 auto;
}

.zz-photo {
  position: absolute;
  top: 0;
  width: 16.5vw;
  min-width: 130px;
  margin: 0;
  overflow: hidden;
  border: 2px solid #f6f3ef;
  /* box-shadow: 0 18px 42px rgba(40, 34, 26, 0.18); */
}

.zz-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  padding: 10px;
  /* background: var(--bg-theme-color2); */
}

section > .container {
  padding: 0 !important;
}

.zz-photo:hover img {
  transform: scale(1.05);
}

.zz-photo.up {
  top: 0;
}

.zz-photo.down {
  top: 8vw;
}

.zz-photo:nth-child(1) {
  left: 2%;
}

.zz-photo:nth-child(2) {
  left: 21.9%;
}

.zz-photo:nth-child(3) {
  left: 41.8%;
}

.zz-photo:nth-child(4) {
  left: 61.6%;
}

.zz-photo:nth-child(5) {
  left: 81.5%;
}

/* ── Three separated detail cards ── */
.zz-boxes {
  display: flex;
  gap: 10px;
  /* max-width: 1080px; */
  margin: clamp(56px, 7vw, 92px) auto 0;
  padding: 0 10px;
}

.zz-box {
  flex: 1 1 0;
  text-align: center;
  background: #f6f3ef;
  /* border: 1px solid var(--line); */
  /* border-radius: 14px; */
  /* box-shadow: 0 16px 42px rgba(40, 34, 26, 0.08); */
  padding: clamp(34px, 3vw, 48px) clamp(22px, 2vw, 30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Flush outer edges: first card square on the left, last card square on the right */
@media (min-width: 768px) {
  .zz-box:first-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }

  .zz-box:last-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
}

.contact-row {
  padding: 10px;
}

.page-wrapper {
  background-color: var(--bg-theme-color2) !important;
}

.zz-label {
  display: block;
  font-family: var(--title-font);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 12px;
  color: #171717;
  /* margin-bottom: 16px; */
}

.zz-title {
  font-family: var(--title-font);
  font-weight: 600;
  font-size: clamp(25px, 2.2vw, 30px);
  color: #171717;
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}

.zz-year {
  font-family: var(--style-font);
  font-size: 34px;
  color: #171717;
  margin: 0 0 4px;
  line-height: 1;
}

.zz-rule {
  display: block;
  width: 40px;
  height: 1px;
  background: #171717;
  margin: 14px auto;
}

.zz-text {
  font-family: var(--title-font);
  font-size: 16px;
  line-height: 1.5;
  color: #171717;
  margin: 5px 0;
}

.zz-text strong {
  color: #171717;
  font-weight: 600;
}

.zz-map {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--text-font);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: #171717;
  border-bottom: 1px solid #171717;
  padding-bottom: 2px;
}

.zz-map:hover {
  color: #171717;
}

/* ── Countdown — larger, elegant ── */
.zz-count .time-counter {
  margin: 0;
  width: 100%;
}

.zz-count .time-countdown {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(6px, 1vw, 14px);
}

.zz-count .counter-column {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  min-width: 52px;
  padding: 0 clamp(4px, 0.8vw, 10px);
  margin: 0;
}

.zz-count .counter-column:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 6%;
  height: 52%;
  width: 1px;
  background: var(--line);
}

.zz-count .counter-column .count {
  font-family: var(--title-font);
  font-weight: 500;
  font-size: clamp(38px, 3.6vw, 50px) !important;
  line-height: 1;
  color: #171717 !important;
  padding: 0 !important;
  margin-bottom: 8px;
  font-feature-settings: "lnum" 1;
}

.zz-count .counter-column .count::before {
  display: none;
}

.zz-count .counter-column sub {
  font-family: var(--text-font);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  bottom: 0;
  position: static;
  opacity: 1;
}

/* Zigzag responsive */
@media (max-width: 991px) {
  .zigzag-track {
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 720px;
    padding: 0 20px;
  }

  .zz-photo {
    position: static;
    width: auto;
    min-width: 0;
  }

  .zz-photo.up {
    transform: translateY(-16px);
  }

  .zz-photo.down {
    top: 0;
    transform: translateY(16px);
  }
}

@media (max-width: 767px) {
  .contact-form-two .title,
  #rsvp .content-column .content-box .title,
  .zz-head h2 {
    font-size: 40px !important;
  }

  .zigzag-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 440px;
  }

  .zz-photo:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 6px);
  }

  .zz-photo.up,
  .zz-photo.down {
    transform: none;
  }

  .zz-boxes {
    flex-direction: column;
    max-width: 380px;
  }
}

/* ══════════════════════════════════════════════════════════════
   RSVP
   ══════════════════════════════════════════════════════════════ */
.contact-section-four {
  background: white;
  padding: clamp(48px, 6vw, 72px) 0;
  overflow-x: hidden;
}

.contact-section-four.pull-up {
  margin-top: 0;
}

#rsvp .container {
  max-width: 1300px !important;
}

/* No card wrapper — the form sits directly in the section */
#rsvp .row {
  align-items: stretch;
}

#rsvp .form-column {
  position: relative;
  text-align: left;
}

#rsvp .form-column .inner-column {
  padding: clamp(40px, 4.2vw, 62px) clamp(34px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* Kill the base form's own padding — the inner-column controls spacing */
.contact-form-two,
.contact-form-two.style-two {
  padding: 0 !important;
  margin: 0;
  border: none;
  border-radius: 0;
}

/* Even out Bootstrap row gutters inside the form */
.contact-form-two form > .row {
  margin-left: -8px;
  margin-right: -8px;
}

.contact-form-two form > .row > [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

/* Centered header with eyebrow + flourish */
.form-head {
  text-align: center;
  margin-bottom: clamp(26px, 3vw, 38px);
}

.form-eyebrow {
  display: block;
  font-family: var(--title-font);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 13px;
  color: var(--silver);
  margin-bottom: 10px;
}

.contact-form-two .title {
  font-family: var(--style-font);
  font-size: 50px;
  color: var(--ink);
  margin-bottom: 2px;
  text-align: center;
  line-height: 1.05;
}

.form-head .flourish-divider {
  margin: 8px auto 0;
  color: var(--silver);
}

.form-head .flourish-divider .flourish {
  width: 190px;
}

/* Radios as elegant selectable options */
.custom-radio-box-two {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 12px 16px 12px 46px;
  border: 1px solid #f6f3ef;
  /* border-radius: 10px; */
  background: white;
  font-family: var(--text-font);
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 0;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.custom-radio-box-two:has(input:checked) {
  border-color: var(--ink);
  background: #ffffff;
  color: var(--ink);
}

.custom-radio-box-two .checkmark {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  height: 18px;
  width: 18px;
}

.custom-radio-box-two input ~ .checkmark {
  background-color: #fff;
  border: 1px solid var(--silver);
}

.custom-radio-box-two input:checked ~ .checkmark {
  background-color: var(--ink);
  border: none !important;
}

/* Elegant boxed inputs with real padding */
.contact-form-two .form-group {
  margin-bottom: 16px;
}

.contact-form-two
  .form-group
  .select2-container--default
  .select2-selection--single,
.contact-form-two .form-group select,
.contact-form-two .form-group textarea,
.contact-form-two .form-group input:not([type="submit"]) {
  text-align: left;
  font-size: 15px;
  font-family: var(--text-font);
  color: var(--ink);
  background: white;
  border: 1px solid #f6f3ef;
  /* border-radius: 10px; */
  padding: 15px 18px;
  height: auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  line-height: 1.4;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

/* Keep the whole RSVP card within the viewport.
   min-width:0 lets the flex columns shrink below their content's intrinsic
   width (the classic flexbox overflow fix). */
#rsvp .row,
#rsvp .form-column,
#rsvp .content-column,
.contact-form-two,
.contact-form-two form,
.contact-form-two form > .row {
  max-width: 100%;
  min-width: 0;
}

#rsvp .row > [class*="col-"],
.contact-form-two form > .row > [class*="col-"] {
  min-width: 0;
}

.contact-form-two .form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form-two .input-outer input::placeholder,
.contact-form-two .input-outer textarea::placeholder {
  color: #a49f97;
}

.contact-form-two .input-outer input:focus,
.contact-form-two .input-outer textarea:focus {
  border-color: var(--ink);
  background: #ffffff;
  /* box-shadow: 0 0 0 3px rgba(42, 39, 35, 0.06); */
  outline: none;
}

.submit-btn {
  text-align: center;
  margin-top: 18px;
}

.contact-form-two .form-group .theme-btn.btn-style-one {
  background-color: var(--ink);
  border: 1px solid var(--ink);
  padding: 16px 60px;
  /* border-radius: 8px; */
}

.contact-form-two .form-group .theme-btn.btn-style-one:hover {
  background-color: transparent;
  color: var(--ink);
}

/* Right column — details + map */
#rsvp .content-column {
  background: #faf8f4;
  border-left: 1px solid var(--line);
}

.contact-row-form {
  border: 1px solid #f6f3ef;
  /* border-radius: 10px; */
}

#rsvp .content-column .inner-column::before {
  display: none;
}

.contact-section-four .content-column .rsvp-right-column {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  text-align: center;
  height: 100%;
}

.contact-section-four .content-column .rsvp-right-column .content-box {
  padding: clamp(40px, 4vw, 56px) clamp(28px, 3vw, 48px);
  flex-shrink: 0;
  margin-bottom: 0;
}

#rsvp .content-column .content-box .title {
  font-family: var(--style-font);
  font-size: clamp(36px, 3.8vw, 50px);
  color: var(--ink) !important;
  margin-bottom: 2px;
}

#rsvp .content-column .content-box .flourish-divider {
  margin: 8px auto 20px;
  color: var(--silver);
}

#rsvp .content-column .content-box .flourish-divider .flourish {
  width: 180px;
}

#rsvp .content-column .content-box .text {
  color: var(--ink-soft) !important;
  font-family: var(--title-font);
  font-size: 18px;
  line-height: 1.65;
}

.rsvp-map {
  position: relative;
  flex: 1;
  min-height: 240px;
  padding: 8px clamp(28px, 3vw, 48px) clamp(28px, 3vw, 48px);
}

.rsvp-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: none;
  border-radius: 8px;
  filter: grayscale(0.25);
}

/* ══════════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .hero-section {
    height: auto;
  }

  .hero-inner {
    flex-direction: column;
    height: auto;
  }

  .hero-invite {
    flex: none;
    width: 100%;
    height: auto;
    padding: 64px 26px 52px;
  }

  .hero-photo {
    flex: none;
    width: 100%;
    height: 60vh;
    min-height: 380px;
    position: relative;
  }

  .hero-photo-frame {
    position: absolute;
    inset: 0;
  }

  #rsvp .content-column {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .contact-section-four .content-column .rsvp-right-column {
    min-height: auto;
  }

  .rsvp-map {
    padding: 8px 26px 30px;
  }
}

@media (max-width: 767px) {
  .hero-invite {
    padding: 0px 16px 0px;
  }

  .invite-card {
    padding: 28px 4px;
  }

  .zigzag-section {
    padding: 80px 0 0;
  }

  .invite-intro {
    letter-spacing: 0.13em;
    font-size: 13px;
  }

  .couple-names {
    font-size: 60px;
    margin: 8px 0;
  }

  .invite-date {
    font-size: 16px;
    letter-spacing: 0.06em;
  }

  .invite-time {
    font-size: 15px;
    letter-spacing: 0.12em;
  }

  .invite-place {
    font-size: 12.5px;
    letter-spacing: 0.08em;
  }

  .invite-continues {
    font-size: 11px;
    letter-spacing: 0.05em;
    line-height: 1.9;
  }

  .contact-form-two .title {
    text-align: center;
  }

  .contact-section-four .content-column .rsvp-right-column .content-box {
    padding: 40px 24px 20px;
  }

  #rsvp .form-column .inner-column {
    padding: 40px 22px 44px;
  }

  #rsvp .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .custom-radio-box-two {
    min-height: 50px;
    font-size: 13.5px;
  }
}

/* ── Misc cleanup ── */
.scroll-to-top {
  background: var(--ink);
}

span {
  text-decoration: none !important;
}
