@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Montserrat:wght@700;800&family=DM+Sans:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #F8FAF8;
  --green:       #1B4332;
  --green-dark:  #0e2318;
  --green-mid:   #2d6a4f;
  --mint:        #91D18B;
  --mint-dark:   #68bc62;
  --text:        #1B4332;
  --muted:       #4a7c63;
  --border:      #d9ead9;
  --white:       #ffffff;
  --shadow:      0 2px 16px rgba(27,67,50,0.07);
  --shadow-md:   0 6px 32px rgba(27,67,50,0.12);
  --r:           14px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ── TOP BAR ── */
.topbar {
  background: var(--green-dark);
  padding: 9px 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(248,250,248,0.6);
  letter-spacing: 0.05em;
}
.topbar strong { color: var(--mint); font-weight: 600; }
.topbar .lock { margin-right: 6px; font-size: 12px; }

/* ── HERO ── */
.hero {
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(145,209,139,0.13) 0%, transparent 65%),
    linear-gradient(160deg, #091a0e 0%, #1B4332 60%, #1e3a29 100%);
  padding: 56px 24px 68px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-inner {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}
.badge {
  display: inline-block;
  background: linear-gradient(135deg, #91D18B 0%, #5cb556 100%);
  color: #0b2215;
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 99px;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 5vw, 42px);
  line-height: 1.2;
  color: #F8FAF8;
  margin-bottom: 14px;
}
.hero p {
  font-size: 15.5px;
  color: rgba(248,250,248,0.65);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── WRAPPER ── */
.wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

/* ── INCLUDED CARD ── */
.included-card {
  background: linear-gradient(155deg, #1e4535 0%, #132d22 100%);
  border-radius: var(--r);
  padding: 30px 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}
.included-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  color: var(--mint);
  margin-bottom: 18px;
}
.included-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.included-card li {
  display: flex;
  gap: 11px;
  font-size: 14.5px;
  color: rgba(248,250,248,0.85);
  line-height: 1.55;
}
.included-card li::before {
  content: '✓';
  color: var(--mint);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 13px;
}
.included-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(145,209,139,0.18);
  font-size: 12.5px;
  color: rgba(248,250,248,0.45);
  font-style: italic;
}

/* ── META CARD ── */
.meta-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.meta-card.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 540px) {
  .meta-card, .meta-card.cols-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .meta-card, .meta-card.cols-3 { grid-template-columns: 1fr; }
}
.meta-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}
.meta-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(145,209,139,0.18) 0%, rgba(145,209,139,0.06) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-mid);
}
.meta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.meta-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  white-space: nowrap;
}
.meta-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  line-height: 1.3;
}

/* ── PRICE CARD ── */
.price-card {
  background: var(--white);
  border-radius: var(--r);
  border: 1.5px solid var(--border);
  padding: 26px 30px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #91D18B 0%, #5cb556 100%);
}
.price-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.price-value {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(36px, 6vw, 50px);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #1B4332 0%, #2d6a4f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-value sup {
  font-size: 18px;
  font-weight: 700;
  vertical-align: super;
}
.price-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
}
.inst-box {
  background: linear-gradient(135deg, rgba(145,209,139,0.12) 0%, rgba(145,209,139,0.04) 100%);
  border: 1.5px solid rgba(145,209,139,0.6);
  border-radius: 12px;
  padding: 14px 20px;
  text-align: center;
  min-width: 160px;
}
.inst-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 600;
}
.inst-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
}
.inst-sub {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 3px;
}

/* ── FORM CARD ── */
.form-card {
  background: var(--white);
  border-radius: var(--r);
  border: 1.5px solid var(--border);
  padding: 28px 30px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  color: var(--green);
  margin-bottom: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 480px) {
  .form-grid { grid-template-columns: 1fr; }
  .price-card { flex-direction: column; }
  .inst-box { width: 100%; }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.field label {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}
.field input {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 15px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--green);
  background: var(--bg);
  outline: none;
  transition: border-color 0.16s, box-shadow 0.16s;
}
.field input:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(145,209,139,0.16);
}
.field input::placeholder { color: #b4cebe; }

/* ── CONSENTS ── */
.consents {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 18px 0 26px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--mint);
  cursor: pointer;
  border-radius: 4px;
}
.consent label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  cursor: pointer;
}
.consent a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(27,67,50,0.28);
  transition: border-color 0.14s;
}
.consent a:hover { border-color: var(--green); }

/* ── CTA ── */
.cta-btn {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #91D18B 0%, #5cb556 100%);
  color: #0c2217;
  border: none;
  border-radius: 12px;
  padding: 17px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.16s, transform 0.1s, box-shadow 0.16s;
  box-shadow: 0 4px 20px rgba(91,181,86,0.38);
}
.cta-btn:hover {
  opacity: 0.91;
  box-shadow: 0 6px 28px rgba(91,181,86,0.48);
}
.cta-btn:active { transform: scale(0.99); }
.payment-block {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.cta-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.payment-operator {
  font-size: 11.5px;
  color: #8aad99;
  text-align: center;
}

/* ── DOC PAGES ── */
.doc-topbar {
  background: var(--green);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.doc-topbar .brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--mint);
}
.doc-topbar .back-link {
  font-size: 12px;
  color: rgba(248,250,248,0.6);
  text-decoration: none;
}
.doc-topbar .back-link:hover { color: var(--mint); }
.doc-wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.doc-wrapper h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 38px);
  color: var(--green);
  margin-bottom: 6px;
  line-height: 1.2;
}
.doc-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 44px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.doc-section {
  margin-bottom: 36px;
}
.doc-section h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 14px;
  padding: 8px 0 10px;
  border-bottom: 2px solid var(--border);
}
.doc-section p {
  font-size: 14px;
  color: #2a5440;
  line-height: 1.85;
  margin-bottom: 10px;
}
.doc-section ol, .doc-section ul {
  padding-left: 22px;
  margin-bottom: 10px;
}
.doc-section ol li, .doc-section ul li {
  font-size: 14px;
  color: #2a5440;
  line-height: 1.85;
  margin-bottom: 6px;
}
.doc-section strong { color: var(--green); }
.doc-highlight {
  background: linear-gradient(135deg, rgba(145,209,139,0.12) 0%, rgba(145,209,139,0.04) 100%);
  border-left: 3px solid var(--mint);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 16px 0;
}
.doc-highlight p { margin: 0; }

/* ── FOOTER ── */
footer {
  background: var(--green-dark);
  padding: 36px 24px 32px;
  text-align: center;
  font-size: 12px;
  color: rgba(248,250,248,0.50);
  line-height: 1.95;
}
footer .f-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--mint);
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
footer strong { color: rgba(248,250,248,0.80); }
footer a {
  color: var(--mint);
  text-decoration: none;
}
footer a:hover { text-decoration: underline; }
footer .sep { margin: 0 8px; opacity: 0.35; }
footer .divider { border: none; border-top: 1px solid rgba(248,250,248,0.08); margin: 16px auto; max-width: 300px; }
.footer-copy {
  display: inline-block;
  margin-top: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #91D18B 0%, #5cb556 60%, #91D18B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
