/* ============================================================
   Conexão SOA 2.0 — 2026  |  styles.css
   Paleta e tokens conforme briefing (§4)
   ============================================================ */
:root {
  --cream: #f2e8de;
  --cream-light: #f7efe8;
  --cream-soft: #efe1d3;

  --green: #1e3a2d;
  --green-dark: #10291f;
  --green-deep: #0c241c;

  --gold: #b88946;
  --gold-soft: #d5b06a;
  --gold-muted: #a8844f;

  --text: #20352b;
  --text-muted: #6f6257;
  --border-gold: rgba(184, 137, 70, 0.45);
  --line-soft: rgba(30, 58, 45, 0.16);

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Montserrat", "Inter", Arial, sans-serif;
  --script: "Great Vibes", "Allura", cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

.page {
  width: 100%;
  overflow-x: hidden;
  background: var(--cream);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 48px;
}

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

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

/* ---------- Utilities ---------- */
.section-title {
  font-family: var(--serif);
  color: var(--green);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 0.98;
  text-transform: uppercase;
  margin: 0;
}
.section-title.center { text-align: center; }

.lead {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-muted);
  font-size: 22px;
  letter-spacing: 0.02em;
  margin: 0 0 18px;
}
.lead.center { text-align: center; }

.body-text {
  font-family: var(--sans);
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.9;
  margin: 0 0 16px;
}
.body-text.center { text-align: center; margin-left: auto; margin-right: auto; }

/* dividers */
.title-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0 26px; }
.title-divider .line { width: 142px; height: 1px; background: var(--gold); }
.title-divider .star { color: var(--gold); font-size: 17px; }

.center-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin: 14px auto 30px;
}
.center-divider .line { width: 72px; height: 1px; background: var(--gold); opacity: 0.6; }
.center-divider .star { color: var(--gold); font-size: 15px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, filter 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }

.header-cta {
  background: var(--green);
  color: var(--gold-soft);
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.header-cta:hover { background: var(--green-dark); color: var(--cream-light); }

.outline-button {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-top: 30px;
}
.outline-button:hover { background: var(--gold); color: var(--cream-light); }

.gold-button {
  background: var(--gold);
  color: var(--cream-light);
  border-radius: 999px;
  min-width: 288px;
  padding: 15px 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  margin-top: 22px;
}
.gold-button:hover { background: var(--gold-soft); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.logo-mark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 0.06em;
  color: var(--green);
  display: inline-flex;
  align-items: center;
}
.logo-o { position: relative; display: inline-flex; }
.logo-star {
  position: absolute; inset: 0; margin: auto;
  width: 13px; height: 13px; fill: var(--gold);
}
.logo-sub {
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 3px;
  padding-left: 2px;
}

/* ---------- Decorative leaves ---------- */
.leaf { position: absolute; color: var(--green); pointer-events: none; z-index: 3; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 232, 222, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav { display: flex; gap: 38px; }
.nav-link {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--green);
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--green); border-radius: 2px; transition: 0.3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 760px;
  background: var(--cream);
  display: grid;
  grid-template-columns: 48% 52%;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(120% 90% at 80% 20%, #cdbfa8 0%, #a9946f 45%, var(--green) 120%);
}
.hero-image {
  position: absolute; top: 0; right: 0;
  width: 60%; height: 100%;
  object-fit: cover; object-position: center right;
  filter: sepia(0.3) saturate(1.08) brightness(1.03) contrast(1.01);
}
/* warm golden wash to unify photo with the palette */
.hero-media::after {
  content: "";
  position: absolute; top: 0; right: 0;
  width: 60%; height: 100%;
  background: linear-gradient(200deg, rgba(184, 137, 70, 0.16), rgba(30, 58, 45, 0.12));
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    var(--cream) 0%, var(--cream) 40%,
    rgba(242, 232, 222, 0.86) 50%,
    rgba(242, 232, 222, 0.25) 68%,
    rgba(242, 232, 222, 0) 100%
  );
  pointer-events: none;
}
.leaf-left { left: -10px; top: 150px; width: 130px; opacity: 0.16; }

.hero-content {
  position: relative;
  z-index: 4;
  grid-column: 1;
  padding: 70px 24px 60px 118px;
  max-width: 560px;
  text-align: center;
}
.hero-kicker {
  font-family: var(--sans);
  font-size: 24px;
  letter-spacing: 0.5em;
  color: var(--green);
  text-transform: uppercase;
  margin: 0 0 -6px;
  padding-left: 0.5em;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(104px, 11vw, 168px);
  line-height: 0.78;
  font-weight: 400;
  color: var(--green);
  letter-spacing: -0.02em;
  margin: 0;
  display: flex;
  justify-content: center;
}
.title-o { position: relative; display: inline-flex; }
.title-star {
  position: absolute; inset: 0; margin: auto;
  width: 34%; height: 34%; fill: var(--gold);
}
.edition-row {
  display: flex; align-items: center; justify-content: center;
  gap: 22px; margin-top: 6px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 34px;
  letter-spacing: 0.16em;
}
.edition-row .line { width: 78px; height: 1px; background: var(--gold); opacity: 0.65; }
.year {
  margin: 4px 0 0;
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0.5em;
  color: var(--green);
  padding-left: 0.5em;
}
.hero-dates {
  margin: 22px 0 0;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-muted);
  font-weight: 600;
}
.hero-subtitle {
  margin: 26px 0 0;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 14px;
  line-height: 1.6;
  color: var(--green);
}
.script {
  margin: 8px 0 0;
  font-family: var(--script);
  color: var(--gold);
  font-size: 46px;
  line-height: 1;
}
.heart { color: var(--gold); font-size: 24px; margin: 10px 0 0; }

.date-card {
  margin: 26px auto 0;
  width: 300px;
  min-height: 82px;
  border-radius: 12px;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  gap: 20px;
  color: var(--cream-light);
  box-shadow: 0 14px 30px -18px rgba(16, 41, 31, 0.7);
}
.date-card-icon { color: var(--gold); width: 40px; height: 40px; }
.date-card-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.date-number {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--cream-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.date-month {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--gold-soft);
  text-transform: uppercase;
  margin-top: 4px;
}
.hero-note {
  margin: 20px auto 0;
  max-width: 430px;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.hero-btn { margin-top: 24px; }

/* Hero blob */
.hero-blob {
  position: absolute;
  right: -25px; bottom: -22px;
  width: 320px; height: 290px;
  background: var(--green);
  border-top-left-radius: 190px;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 18px;
  z-index: 4;
  overflow: hidden;
}
.hero-blob::before {
  content: "";
  position: absolute;
  inset: 12px 0 0 12px;
  border-top: 1.5px solid var(--gold);
  border-left: 1.5px solid var(--gold);
  border-top-left-radius: 178px;
  opacity: 0.75;
}
.hero-blob-content {
  position: absolute;
  right: 52px; bottom: 58px;
  display: flex; flex-direction: column; align-items: flex-end;
  text-align: right;
  color: var(--cream-light);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-blob-star { color: var(--gold); font-size: 22px; margin-bottom: 18px; }

/* ============================================================
   SOBRE
   ============================================================ */
.about {
  position: relative;
  background: var(--cream-light);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  padding: 78px 0 64px;
}
.about-grid {
  display: grid;
  grid-template-columns: 43% 57%;
  align-items: center;
  gap: 64px;
}
.about-title { font-size: 42px; }
.about-text { max-width: 420px; }
.about-media { display: flex; justify-content: flex-end; }
.arched-image-frame {
  width: 420px; max-width: 100%;
  height: 360px;
  border: 1.5px solid var(--gold);
  border-radius: 210px 210px 12px 12px;
  padding: 10px;
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 15%, #cdbfa8 0%, #a9946f 45%, var(--green) 120%);
}
.arched-image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 202px 202px 8px 8px;
  transition: transform 0.6s ease;
  filter: sepia(0.32) saturate(1.1) brightness(1.05) contrast(1.02);
}
.arched-image-frame:hover img { transform: scale(1.03); }
.about-leaf { right: 40px; bottom: 24px; width: 140px; opacity: 0.18; transform: scaleX(-1); }

/* ============================================================
   PROPÓSITO
   ============================================================ */
.purpose-section {
  position: relative;
  background: var(--cream);
  padding: 76px 0 78px;
}
.purpose-section .section-title { font-size: 32px; letter-spacing: 0.16em; color: var(--gold); }
.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 54px;
  align-items: center;
  max-width: 960px;
  margin: 8px auto 0;
}
.quote-wrap { display: flex; flex-direction: column; align-items: center; }
.quote-box {
  width: 100%;
  border: 1px solid rgba(30, 58, 45, 0.32);
  border-radius: 8px;
  padding: 26px 30px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--green);
  font-size: 21px;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.18);
}
.quote-heart { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote-heart .line { width: 60px; height: 1px; background: var(--gold); opacity: 0.6; }
.heart-sm { color: var(--gold); font-size: 18px; }
.purpose-leaf { right: 30px; top: 60px; width: 140px; opacity: 0.14; }

/* ============================================================
   O QUE VOCÊ VAI VIVER
   ============================================================ */
.experiences {
  background: var(--cream-light);
  padding: 56px 0 62px;
  border-top: 1px solid rgba(30, 58, 45, 0.05);
}
.experiences-title { font-size: 28px; letter-spacing: 0.2em; }
.exp-intro { margin-bottom: 34px; color: var(--text-muted); }
.experience-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, 1fr);
  align-items: start;
}
.experience-item {
  text-align: center;
  padding: 0 20px;
  min-height: 100px;
  position: relative;
  display: flex; flex-direction: column; align-items: center;
}
.experience-item:not(:last-child)::after {
  content: "";
  position: absolute; right: 0; top: 6px;
  height: 82px; width: 1px;
  background: var(--border-gold);
}
.exp-icon {
  width: 40px; height: 40px;
  color: var(--green);
  transition: color 0.25s ease, transform 0.25s ease;
}
.experience-item:hover .exp-icon { color: var(--gold); transform: translateY(-2px); }
.experience-label {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 10.5px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--green);
  text-transform: uppercase;
  font-weight: 600;
}

/* ============================================================
   QUANDO + PARA QUEM É
   ============================================================ */
.when-purpose {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 380px;
  background: var(--cream);
}
.when-card {
  background: var(--green);
  color: var(--cream-light);
  padding: 62px 58px;
  border-top-right-radius: 58px;
  position: relative;
  overflow: hidden;
}
.when-title { color: var(--gold); font-size: 31px; letter-spacing: 0.12em; }
.when-divider { width: 120px; height: 12px; margin: 14px 0 24px; color: var(--gold); display: block; }
.when-date {
  font-family: var(--serif);
  color: var(--cream-light);
  font-size: 38px;
  line-height: 1.16;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
.when-text {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.9;
  color: rgba(247, 239, 232, 0.9);
  max-width: 340px;
}
.when-leaf { left: -6px; bottom: -8px; width: 150px; opacity: 0.2; color: var(--gold); }

.purpose {
  position: relative;
  padding: 62px 88px;
  background: var(--cream);
}
.purpose-title { color: var(--gold); font-size: 31px; letter-spacing: 0.14em; }
.purpose-text { font-family: var(--sans); font-size: 13.5px; line-height: 1.8; color: var(--text); max-width: 560px; }
.purpose-text.emphasis {
  font-family: var(--serif); font-style: italic; font-size: 18px;
  color: var(--green); margin-top: 22px; letter-spacing: 0.01em;
}
.check-list { list-style: none; margin: 6px 0 0; padding: 0; max-width: 560px; }
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
}
.check-list li::before {
  content: "\10022";
  position: absolute; left: 0; top: 1px;
  color: var(--gold);
  font-size: 13px;
}
.purpose-leaf-2 { right: 24px; bottom: 30px; width: 140px; opacity: 0.15; }

/* ============================================================
   ALÉM DOS TRÊS DIAS
   ============================================================ */
.beyond {
  background: var(--cream-soft);
  padding: 70px 0;
  border-top: 1px solid rgba(30, 58, 45, 0.06);
}
.beyond-inner { max-width: 720px; margin: 0 auto; }
.beyond .section-title { font-size: 30px; letter-spacing: 0.1em; }
.beyond-text { max-width: 620px; }

/* ============================================================
   CHAMADO FINAL / CTA
   ============================================================ */
.final-cta {
  position: relative;
  background: var(--green);
  color: var(--cream-light);
  padding: 62px 0 66px;
  text-align: center;
  overflow: hidden;
}
.final-cta-inner { max-width: 720px; position: relative; z-index: 2; }
.final-cta-kicker {
  font-family: var(--sans);
  color: var(--gold-soft);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.final-cta-title {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-light);
  font-weight: 500;
  margin: 0;
}
.final-cta-copy {
  margin: 22px auto 0;
  max-width: 600px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.85;
  color: rgba(247, 239, 232, 0.86);
}
.final-cta-subtitle {
  margin: 18px 0 0;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold-soft);
  text-transform: uppercase;
}
.cta-leaf-left { left: -20px; bottom: -30px; width: 190px; opacity: 0.22; color: var(--gold); }
.cta-leaf-right { right: -20px; top: -30px; width: 190px; opacity: 0.22; color: var(--gold); transform: scaleX(-1) rotate(8deg); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--cream-light); padding: 28px 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 190px 1fr 190px;
  align-items: center;
  gap: 32px;
}
.footer-logo .logo-mark { font-size: 26px; }
.footer-text { text-align: center; font-family: var(--sans); font-size: 10.8px; line-height: 1.55; color: var(--green); letter-spacing: 0.03em; }
.footer-name { font-family: var(--serif); font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 6px; }
.footer-text p { margin: 0 0 6px; }
.footer-tags { color: var(--gold-muted); letter-spacing: 0.16em; text-transform: uppercase; font-size: 10px; }
.socials { display: flex; justify-content: flex-end; gap: 16px; }
.social-icon {
  width: 34px; height: 34px;
  border-radius: 999px;
  background: var(--green);
  color: var(--cream-light);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover { background: var(--gold); transform: translateY(-2px); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1023px) {
  .container { padding: 0 32px; }
  .nav { gap: 26px; }
  .hero { grid-template-columns: 54% 46%; min-height: 680px; }
  .hero-content { padding-left: 56px; }
  .hero-image { width: 52%; }
  .about-grid { gap: 40px; }
  .arched-image-frame { width: 340px; height: 320px; }
  .experience-list { grid-template-columns: repeat(3, 1fr); gap: 34px 0; }
  .experience-item:nth-child(3n)::after { display: none; }
  .purpose-grid { grid-template-columns: 1fr; gap: 34px; }
  .purpose { padding: 54px 48px; }
  .when-card { padding: 52px 44px; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 767px) {
  .container { padding: 0 24px; }

  /* Nav */
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 88px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cream-light);
    border-bottom: 1px solid var(--line-soft);
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav.open { max-height: 340px; }
  .nav-link { padding: 15px 24px; width: 100%; border-bottom: 1px solid var(--line-soft); }
  .header-cta { display: none; }

  /* Hero */
  .hero { display: block; min-height: auto; padding-bottom: 56px; }
  .hero-media { position: relative; height: 360px; }
  .hero-image { position: relative; width: 100%; height: 360px; }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(242, 232, 222, 0) 40%,
      rgba(242, 232, 222, 0.7) 78%,
      var(--cream) 100%
    );
  }
  .leaf-left { display: none; }
  .hero-content { padding: 36px 24px 0; margin: 0 auto; max-width: 100%; }
  .hero-title { font-size: 96px; }
  .hero-blob {
    position: relative;
    right: auto; bottom: auto;
    width: 100%; height: 190px;
    margin-top: 40px;
    border-radius: 40px 40px 12px 12px;
  }
  .hero-blob-content { right: 40px; bottom: 40px; }

  /* Sobre */
  .about { padding: 56px 0 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-text, .about-title { max-width: 100%; }
  .about-media { justify-content: center; }
  .arched-image-frame { width: 100%; max-width: 360px; height: 340px; }
  .about-leaf { display: none; }

  /* Propósito */
  .purpose-grid { grid-template-columns: 1fr; }
  .purpose-leaf { display: none; }

  /* Experiências */
  .experience-list { grid-template-columns: repeat(2, 1fr); gap: 34px 0; }
  .experience-item:nth-child(3n)::after { display: block; }
  .experience-item:nth-child(2n)::after { display: none; }

  /* Quando + para quem */
  .when-purpose { grid-template-columns: 1fr; }
  .when-card { border-top-right-radius: 40px; padding: 46px 30px; }
  .purpose { padding: 46px 30px; }
  .when-date { font-size: 32px; }

  /* CTA */
  .final-cta-title { font-size: 32px; }
  .cta-leaf-left, .cta-leaf-right { width: 130px; opacity: 0.16; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; justify-items: center; gap: 20px; text-align: center; }
  .socials { justify-content: center; }
  .footer-logo { align-items: center; }
}

/* ============================================================
   Modal de inscrição — "Você vai fazer ou servir?"
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 36, 28, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.32s ease;
}
.modal-overlay[hidden] { display: none; }
.modal-overlay.is-open { opacity: 1; }

.modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 52px 46px 46px;
  text-align: center;
  background: var(--cream-light);
  border: 1px solid var(--border-gold, rgba(184, 137, 70, 0.45));
  border-radius: 24px 24px 24px 60px;
  box-shadow: 0 40px 90px -40px rgba(12, 36, 28, 0.7);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.32s ease;
}
.modal-overlay.is-open .modal-card { transform: none; }

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 26px;
  line-height: 1;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.modal-close:hover { background: var(--cream-soft); color: var(--green); }

.modal-star {
  display: block;
  color: var(--gold);
  font-size: 22px;
  margin-bottom: 6px;
}
.modal-kicker {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin: 0 0 8px;
}
.modal-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.08;
  color: var(--green);
  margin: 0;
}
.modal-divider { margin: 18px auto 16px; }
.modal-text {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto 30px;
}

.modal-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.modal-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 18px 24px;
  text-decoration: none;
  background: var(--cream);
  border: 1px solid var(--line-soft, rgba(30, 58, 45, 0.16));
  border-radius: 16px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.modal-option:hover {
  transform: translateY(-3px);
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 22px 44px -26px rgba(16, 41, 31, 0.75);
}
.modal-option-icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: 6px;
  transition: color 0.22s ease;
}
.modal-option:hover .modal-option-icon { color: var(--gold-soft); }
.modal-option-title {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--green);
  transition: color 0.22s ease;
}
.modal-option:hover .modal-option-title { color: var(--cream-light); }
.modal-option-sub {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-muted);
  transition: color 0.22s ease;
}
.modal-option:hover .modal-option-sub { color: var(--gold-soft); }

@media (max-width: 767px) {
  .modal-card { padding: 46px 24px 34px; border-radius: 20px 20px 20px 44px; }
  .modal-title { font-size: 32px; }
  .modal-options { grid-template-columns: 1fr; gap: 14px; }
  .modal-option { padding: 22px 18px; }
}
