﻿.content-page {
  min-height: 100vh;
  background: var(--ivory-soft);
  color: var(--ink);
}

.content-page .site {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 247, 235, .96);
  box-shadow: 0 5px 20px rgba(7, 45, 23, .06);
  backdrop-filter: blur(12px);
}

.content-page .site .wrap {
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.content-page .brand {
  display: block;
  flex: 0 0 auto;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

.content-page .brand small {
  display: block;
  margin-top: 4px;
  color: var(--gold-deep);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.content-page .main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
}

.content-page .main a {
  color: var(--green);
  font-size: .9rem;
  font-weight: 750;
}

.content-page .main a:hover,
.content-page .main a.active {
  color: var(--emerald-deep);
}

.content-page .main a.active {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.content-page .btn {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: .88rem;
  font-weight: 800;
  white-space: nowrap;
}

.content-page .btn:hover,
.content-page .btn:focus-visible {
  background: var(--emerald-deep);
  color: #fff;
  text-decoration: none;
}

.content-page .hero {
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .82fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(48px, 6vw, 76px) max(24px, calc((100% - 1180px) / 2));
  background:
    radial-gradient(circle at 8% 10%, rgba(0, 133, 74, .45), transparent 35%),
    radial-gradient(circle at 90% 85%, rgba(212, 161, 59, .22), transparent 38%),
    linear-gradient(135deg, #06301a, var(--green) 55%, #0b5a30);
}

.content-page .hero::before {
  background: linear-gradient(120deg, transparent 45%, rgba(255, 255, 255, .035));
  z-index: -1;
}

.content-page .hero .wrap,
.content-page section .wrap,
.content-page .cta .wrap,
.content-page footer .wrap {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.content-page .hero .wrap { width: auto; margin: 0; }

.content-page .hero h1 {
  max-width: 760px;
  min-height: 0;
  margin: 0;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.035em;
  text-align: left;
  text-wrap: balance;
}

.content-page .hero-visual {
  position: relative;
  min-width: 0;
  height: clamp(300px, 34vw, 450px);
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(235, 200, 117, .5);
  border-radius: 28px;
  background: rgba(245, 240, 223, .1);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .25), 0 0 0 8px rgba(245, 240, 223, .045);
  animation: contentHeroFloat 7s ease-in-out infinite;
}

.content-page .hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 19px;
  object-fit: cover;
}

.content-page .hero-visual figcaption {
  position: absolute;
  right: 26px;
  bottom: 26px;
  left: 26px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 14px;
  background: rgba(5, 48, 27, .82);
  color: var(--ivory);
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .04em;
  backdrop-filter: blur(10px);
}

@keyframes contentHeroFloat {
  0%, 100% { transform: translateY(0) rotate(.4deg); }
  50% { transform: translateY(-10px) rotate(-.4deg); }
}

.content-page .eyebrow {
  margin: 0 0 16px;
  color: var(--gold-light);
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.content-page .hero .lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(245, 240, 223, .86);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.content-page .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.content-page .hero .btn.light,
.content-page .cta .btn.light {
  border: 1px solid var(--gold-light);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--green-dark);
}

.content-page .hero .btn.light:hover,
.content-page .cta .btn.light:hover {
  background: #f5dfa8;
}

.content-page .hero .btn.ghost {
  border: 1px solid rgba(245, 240, 223, .65);
  background: transparent;
  color: var(--ivory);
}

.content-page .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.content-page .chips span {
  padding: 8px 13px;
  border: 1px solid rgba(235, 200, 117, .32);
  border-radius: 999px;
  background: rgba(245, 240, 223, .08);
  color: var(--ivory);
  font-size: .83rem;
  font-weight: 700;
}

.content-page section {
  padding: clamp(56px, 7vw, 84px) 0;
  scroll-margin-top: 90px;
}

.content-page section.alt {
  background: #fff;
}

.content-page section h2,
.content-page .cta h2 {
  margin: 0;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.content-page section h2::after {
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 17px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  content: "";
}

.content-page .sub {
  max-width: 800px;
  margin: 16px 0 28px;
  color: var(--muted);
  font-size: 1.04rem;
}

.content-page .grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.content-page .grid.g2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-page .grid.g3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-page .grid.g4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-page .split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(24px, 5vw, 52px);
}

.content-page .card,
.content-page .callout {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.content-page .card h3,
.content-page .callout h3 {
  margin: 12px 0 8px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  line-height: 1.25;
}

.content-page .card p,
.content-page .callout p {
  margin: 0;
  color: var(--muted);
}

.content-page .tag {
  color: var(--emerald-deep);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.content-page .num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 850;
}

.content-page .callout {
  border-color: rgba(212, 161, 59, .35);
  background: linear-gradient(145deg, #fff, var(--green-pale));
}

.content-page .callout h3 {
  margin-top: 0;
}

.content-page .tick {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.content-page .tick li {
  position: relative;
  padding: 15px 18px 15px 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
}

.content-page .tick li::before {
  position: absolute;
  top: 14px;
  left: 17px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--emerald-deep);
  content: "✓";
  font-size: .8rem;
  font-weight: 900;
}

.content-page .note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.content-page .cta {
  padding: clamp(48px, 7vw, 76px) 0;
  background: linear-gradient(135deg, #06301a, var(--green));
  color: var(--ivory);
}

.content-page .cta h2 {
  color: var(--ivory);
}

.content-page .cta p {
  max-width: 780px;
  margin: 16px 0 24px;
  color: rgba(245, 240, 223, .82);
}

.content-page .contact {
  margin-top: 22px;
  color: rgba(245, 240, 223, .78);
  font-size: .9rem;
}

.content-page .contact a {
  color: var(--gold-light);
}

.content-page footer.site {
  position: static;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  box-shadow: none;
}

.content-page footer.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.content-page footer.site a {
  display: inline-block;
  margin: 6px 0 6px 16px;
  color: var(--green);
  font-size: .88rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .content-page .hero { grid-template-columns: minmax(0, 1fr) minmax(250px, .8fr); gap: 24px; }
  .content-page .hero h1 { font-size: clamp(2.35rem, 5.5vw, 3.8rem); }
  .content-page .site .wrap {
    min-height: 72px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 22px;
    padding: 12px 0;
  }

  .content-page .main {
    flex: 1 1 100%;
    flex-wrap: wrap;
    order: 3;
    gap: 8px 20px;
  }

  .content-page .grid.g4,
  .content-page .grid.g3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .content-page .site .wrap,
  .content-page .hero .wrap,
  .content-page section .wrap,
  .content-page .cta .wrap,
  .content-page footer .wrap {
    width: min(100% - 28px, 1080px);
  }

  .content-page .site .wrap {
    justify-content: space-between;
  }

  .content-page .main {
    justify-content: flex-start;
    gap: 6px 16px;
  }

  .content-page .main a {
    font-size: .82rem;
  }

  .content-page .hero { grid-template-columns: 1fr; gap: 28px; padding: 44px 14px 66px; }
  .content-page .hero .wrap { width: auto; }
  .content-page .hero-visual { height: 270px; }
  .content-page .hero h1 { font-size: clamp(2.35rem, 11vw, 3.2rem); }

  .content-page .header > .btn,
  .content-page header.site > .wrap > .btn {
    min-height: 40px;
    padding-inline: 14px;
    font-size: .78rem;
  }

  .content-page .grid.g2,
  .content-page .grid.g3,
  .content-page .grid.g4,
  .content-page .split {
    grid-template-columns: 1fr;
  }

  .content-page footer.site .wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .content-page footer.site a {
    margin-left: 0;
    margin-right: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .content-page .hero-visual { animation: none; }
}

.content-page .contact-line {
  margin-top: 22px;
  color: rgba(245, 240, 223, .78);
  font-size: .9rem;
}

.content-page .contact-line a {
  color: var(--gold-light);
}

