/* =========================
   PAGE HERO
========================= */
.page-hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f5fbfa 60%, #e8faf6 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 760px;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
}

.page-hero .lead {
  margin-bottom: 0;
}

/* =========================
   GENERAL PAGE SECTION
========================= */
.page-section {
  padding: 80px 0;
  background: var(--white);
}

.page-section.muted {
  background: var(--mint-soft);
  border-top: 1px solid var(--line);
}

.legal-wrap,
.content-wrap {
  max-width: 980px;
}

.legal-wrap > * + *,
.content-wrap > * + * {
  margin-top: 20px;
}

/* =========================
   CARDS
========================= */
.legal-card,
.legal-text-card,
.content-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.legal-main,
.content-muted {
  background: var(--mint-soft);
}

.legal-card h2,
.legal-text-card h2,
.content-card h2 {
  margin-bottom: 16px;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  letter-spacing: -0.03em;
}

.legal-text-card h2 i {
  margin-right: 10px;
  color: var(--green-dark);
}

.legal-card p:last-child,
.legal-text-card p:last-child,
.content-card p:last-child {
  margin-bottom: 0;
}

.legal-card a,
.legal-text-card a,
.content-card a {
  font-weight: 800;
}

.legal-text-card ul,
.content-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.legal-text-card li + li,
.content-card li + li {
  margin-top: 6px;
}

/* =========================
   GRID
========================= */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* =========================
   IMAGE GRID
========================= */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.image-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.image-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.image-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--mint-soft);
}

.image-grid figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

/* =========================
   FEATURE IMAGE
========================= */
.feature-image {
  width: min(100%, 760px);
  margin: 20px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.feature-image img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}

.feature-image figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.feature-image-school img {
  object-position: center 42%;
}

/* =========================
   HERO IMAGE / SINGLE PAGE IMAGE
========================= */
.hero-image {
  width: min(100%, 860px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(11, 44, 42, 0.08);
}

.hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: var(--mint-soft);
}

.hero-image figcaption {
  padding: 14px 18px;
  color: var(--muted);
  background: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
}

/* =========================
   WEDDING DOVES PAGE
========================= */
.wedding-hero {
  padding: 90px 0;
}

.wedding-hero-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.wedding-hero-content {
  max-width: 680px;
}

.wedding-hero h1 {
  max-width: 720px;
}

.wedding-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.wedding-hero-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(11, 44, 42, 0.14);
}

.wedding-hero-image img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center;
  background: var(--mint-soft);
}

.wedding-hero-image figcaption {
  padding: 14px 18px;
  color: var(--muted);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.5;
}

.wedding-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.wedding-fact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 14px 35px rgba(11, 44, 42, 0.05);
}

.wedding-fact-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-deep), var(--green-dark));
  font-size: 0.85rem;
  font-weight: 900;
}

.wedding-fact-card h2 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}

.wedding-fact-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.wedding-split-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #f5fbfa 100%);
}

.wedding-split-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  letter-spacing: -0.03em;
}

.wedding-split-card p:last-child {
  margin-bottom: 0;
}

.wedding-split-card-accent {
  border-color: rgba(37, 138, 128, 0.22);
  background: linear-gradient(135deg, #eefcf8 0%, #ffffff 100%);
}

.wedding-final-box {
  padding: 40px;
  border-radius: 26px;
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 35%),
    linear-gradient(135deg, var(--green-deep), var(--green-dark));
  box-shadow: 0 24px 70px rgba(11, 44, 42, 0.14);
}

.wedding-final-box h2,
.wedding-final-box p {
  color: var(--white);
}

.wedding-final-box h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
}

.wedding-final-box p:not(.mini-kicker) {
  max-width: 760px;
  opacity: 0.94;
}

.wedding-final-box .mini-kicker {
  color: var(--green-deep);
  background: var(--white);
}

.wedding-final-box .btn {
  margin-top: 10px;
  background: var(--white);
  color: var(--green-deep);
}

/* =========================
   EDUCATION / PERSON CARDS
========================= */
.education-highlight,
.person-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.education-highlight-content,
.person-card-content {
  align-self: center;
}

.education-highlight h2,
.person-card h2 {
  margin-bottom: 16px;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  letter-spacing: -0.03em;
}

.education-highlight p:last-child,
.person-card p:last-child {
  margin-bottom: 0;
}

.education-highlight a,
.person-card a {
  color: var(--green-dark);
  font-weight: 800;
}

.mini-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--green-deep);
  background: var(--mint-soft);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.education-highlight-image,
.person-card-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--mint-soft);
}

.education-highlight-image img,
.person-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
}

.education-highlight-image figcaption,
.person-card-image figcaption {
  padding: 12px 16px;
  color: var(--muted);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.person-card {
  grid-template-columns: 1.25fr 0.75fr;
  background: linear-gradient(135deg, #ffffff 0%, #f5fbfa 100%);
}

.person-card-image img {
  min-height: 300px;
}

/* =========================
   NOTICE BOX
========================= */
.notice-box {
  padding: 32px;
  border-radius: 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-deep), var(--green-dark));
}

.notice-box h2,
.notice-box p {
  color: var(--white);
}

.notice-box h2 i {
  margin-right: 10px;
}

.notice-box p {
  margin-bottom: 0;
  opacity: 0.92;
}

.notice-box a {
  color: var(--white);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* =========================
   QUICK HELP
========================= */
.quick-help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quick-help-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--mint-soft);
}

.quick-help-card i {
  margin-right: 10px;
  color: var(--green-dark);
}

.quick-help-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.quick-help-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.quick-help-card p {
  margin-bottom: 0;
  color: var(--muted);
}

/* =========================
   CONTACT CARDS
========================= */
.help-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.help-contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--mint-soft);
}

.help-contact-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.help-contact-card h3 i {
  margin-right: 8px;
  color: var(--green-dark);
}

.help-contact-card p {
  margin-bottom: 0;
  color: var(--muted);
}

/* =========================
   FAQ SPACING
========================= */
.faq-list p + p {
  margin-top: 18px;
}

/* =========================
   CONTACT PAGE
========================= */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 20px;
}

.contact-form {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

/* =========================
   FORM
========================= */
.form-group {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.form-group label {
  font-weight: 800;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(24, 201, 155, 0.15);
}

.form-group textarea {
  resize: vertical;
}

.form-privacy label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-privacy input {
  width: auto;
  margin-top: 4px;
}

.form-privacy a {
  color: var(--green-dark);
  font-weight: 800;
}

/* =========================
   FORM FEEDBACK
========================= */
.form-success,
.form-error {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 700;
}

.form-success {
  background: var(--mint);
  color: var(--green-deep);
  border: 1px solid var(--line);
}

.form-error {
  background: #fff0f0;
  color: #a40000;
  border: 1px solid #f1caca;
}

/* =========================
   SPAM FIELD
========================= */
.spam-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 800px) {
  .quick-help-grid,
  .help-contact-grid,
  .image-grid {
    grid-template-columns: 1fr;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .feature-image {
    width: 100%;
  }

  .hero-image {
    width: 100%;
    border-radius: 18px;
  }

  .hero-image img {
    aspect-ratio: 4 / 3;
  }

  .hero-image figcaption {
    padding: 11px 14px;
    font-size: 0.85rem;
  }
}