:root {
  --deep: #0d3b36;
  --deep-2: #11504a;
  --teal: #157d72;
  --teal-2: #2aa094;
  --mint: #5fc9ba;
  --sand: #f6f2ea;
  --ink: #16201e;
  --body: #4c5a57;
  --muted: #8a9793;
  --line: #e3eae8;
  --bg: #ffffff;
  --bg-soft: #f4f8f7;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(13, 59, 54, .06), 0 1px 3px rgba(13, 59, 54, .09);
  --shadow: 0 10px 30px rgba(13, 59, 54, .09);
  --shadow-lg: 0 26px 64px rgba(13, 59, 54, .18);
  --maxw: 1160px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.015em; }
h1, h2 { font-family: var(--serif); font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.4rem); }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--deep); }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 94px 0; }
.section--soft { background: var(--bg-soft); }
.section--sand { background: var(--sand); }
.section--tight { padding: 70px 0; }

.eyebrow {
  display: inline-block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(21, 125, 114, .08);
  border: 1px solid rgba(21, 125, 114, .18);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head { max-width: 720px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.05rem; margin-bottom: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; font-family: inherit; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 8px 22px rgba(21, 125, 114, .3); }
.btn--primary:hover { background: var(--deep-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); background: #fff; }
.btn--light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn--light:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn--white { background: #fff; color: var(--deep); }
.btn--white:hover { color: var(--deep); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.header.is-stuck { border-color: var(--line); box-shadow: 0 4px 20px rgba(13, 59, 54, .05); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }

.logo { display: flex; align-items: center; gap: 11px; }
.logo__mark {
  width: 38px; height: 38px; flex: none; border-radius: 11px;
  background: linear-gradient(135deg, var(--deep), var(--teal-2));
  color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: .92rem; letter-spacing: .04em;
  box-shadow: 0 6px 16px rgba(13, 59, 54, .28);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-family: var(--serif); font-weight: 600; font-size: 1.04rem; color: var(--ink); }
.logo__tag { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 8px 13px; border-radius: 999px; color: var(--body); font-size: .92rem; font-weight: 500; }
.nav a:hover { background: var(--bg-soft); color: var(--ink); }

.header__cta { display: flex; align-items: center; gap: 10px; }
.header__phone { font-weight: 600; color: var(--ink); font-size: .92rem; }
.header__phone:hover { color: var(--teal); }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 11px; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; padding: 12px 0 22px; }
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.mobile-nav .btn { margin-top: 16px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 520px at 80% -10%, #1a6b62 0%, transparent 62%),
    radial-gradient(700px 460px at 0% 110%, #0c332f 0%, transparent 58%),
    linear-gradient(165deg, #0d3b36 0%, #11504a 58%, #0c332f 100%);
  color: #cfe3e0;
  padding: 100px 0 88px;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle at 60% 20%, #000 0%, transparent 75%);
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 58px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero__lead { font-size: 1.11rem; color: #a9c6c1; max-width: 550px; margin-bottom: 28px; }
.hero .eyebrow { color: var(--mint); background: rgba(95, 201, 186, .1); border-color: rgba(95, 201, 186, .3); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: #9bb8b3; }
.hero__points li { display: flex; align-items: center; gap: 8px; }
.hero__points svg { flex: none; color: var(--mint); }

.hero-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px; padding: 26px;
  backdrop-filter: blur(10px); box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.hero-card__sub { font-size: .84rem; color: #8fb0ab; margin-bottom: 18px; }
.hero-card__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; }
.hero-card__row span:first-child { color: #b6d0cc; }
.hero-card__row b { color: #fff; font-weight: 600; }
.hero-card .btn { margin-top: 20px; }
.hero-card__note { font-size: .75rem; color: #7ea19c; margin: 12px 0 0; text-align: center; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 64px; position: relative; z-index: 2; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .13); }
.stat b { display: block; font-family: var(--serif); font-size: 1.8rem; color: #fff; font-weight: 600; }
.stat span { font-size: .84rem; color: #8fb0ab; }

/* Cards */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c8ddd8; }
.card__icon {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(21, 125, 114, .11), rgba(95, 201, 186, .2)); color: var(--teal);
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .93rem; margin-bottom: 14px; }
.card__list li { font-size: .86rem; color: var(--muted); padding: 4px 0 4px 18px; position: relative; }
.card__list li::before { content: ''; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.card__price { font-size: .84rem; font-weight: 700; color: var(--deep); margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }

/* Plans */
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column; position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--featured { border-color: var(--teal); box-shadow: 0 18px 46px rgba(21, 125, 114, .16); }
.plan__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 1.2rem; margin-bottom: 4px; }
.plan__desc { font-size: .88rem; color: var(--muted); min-height: 44px; margin-bottom: 18px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 2px; }
.plan__price b { font-family: var(--serif); font-size: 2.1rem; color: var(--ink); font-weight: 600; }
.plan__price small { font-size: .84rem; color: var(--muted); font-weight: 500; }
.plan__meta { font-size: .8rem; color: var(--muted); margin-bottom: 22px; }
.plan__features { margin-bottom: 26px; flex: 1; }
.plan__features li { display: flex; gap: 10px; align-items: flex-start; font-size: .89rem; padding: 6px 0; }
.plan__features svg { flex: none; margin-top: 4px; color: var(--teal-2); }
.plan__features li.muted { color: var(--muted); }
.plan__features li.muted svg { color: var(--line); }

/* Price table */
.pricetable { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pricetable thead th { background: var(--deep); color: #fff; text-align: left; font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; padding: 14px 20px; font-weight: 600; }
.pricetable thead th:last-child, .pricetable td:last-child { text-align: right; }
.pricetable td { padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: .93rem; vertical-align: top; }
.pricetable tbody tr:last-child td { border-bottom: none; }
.pricetable tbody tr:nth-child(even) { background: #fafcfb; }
.pricetable td b { color: var(--ink); display: block; }
.pricetable td .sub { font-size: .82rem; color: var(--muted); }
.pricetable td.amount { white-space: nowrap; font-weight: 700; color: var(--deep); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 46px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-size: .8rem; font-weight: 800; color: var(--teal);
  background: rgba(21, 125, 114, .1); border-radius: 999px; padding: 5px 12px;
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { font-size: .88rem; margin: 0; }

/* Profiles */
.profile { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.profile svg { flex: none; color: var(--teal-2); margin-top: 2px; }
.profile h3 { font-size: .97rem; margin-bottom: 4px; }
.profile p { font-size: .86rem; margin: 0; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.why li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.why li:last-child { border-bottom: none; }
.why svg { flex: none; color: var(--teal); margin-top: 3px; }
.why b { display: block; color: var(--ink); margin-bottom: 2px; }
.why span { font-size: .9rem; }

.quote { background: linear-gradient(160deg, var(--deep), var(--deep-2)); color: #cfe3e0; border-radius: 22px; padding: 38px 34px; }
.quote p { font-family: var(--serif); font-size: 1.12rem; color: #eaf4f2; line-height: 1.5; }
.quote footer { font-size: .86rem; color: #8fb0ab; margin-top: 18px; }
.quote footer b { color: #fff; display: block; }

/* FAQ */
.faq { max-width: 840px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq details[open] { border-color: #c8ddd8; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 600; color: var(--ink); list-style: none; position: relative; font-size: .97rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--teal); line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq .faq__body { padding: 0 22px 20px; font-size: .93rem; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* CTA */
.cta {
  background: radial-gradient(700px 380px at 88% 0%, #1a6b62 0%, transparent 64%), linear-gradient(150deg, var(--deep), var(--deep-2));
  color: #cfe3e0; border-radius: 24px; padding: 54px 46px;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 38px; align-items: center;
}
.cta h2 { color: #fff; }
.cta p { margin-bottom: 0; color: #a9c6c1; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; align-items: start; }
.contact-info li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info li:last-child { border-bottom: none; }
.contact-info svg { flex: none; color: var(--teal); margin-top: 3px; }
.contact-info .k { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; }
.contact-info .v { color: var(--ink); font-weight: 600; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .94rem; color: var(--ink); background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-2); box-shadow: 0 0 0 3px rgba(42, 160, 148, .15); }
.field textarea { resize: vertical; min-height: 118px; }
.form__note { font-size: .78rem; color: var(--muted); margin: 14px 0 0; }
.form__status { font-size: .88rem; margin: 14px 0 0; color: var(--teal); display: none; }
.form__status.is-visible { display: block; }

/* Footer */
.footer { background: var(--deep); color: #9bb8b3; padding: 62px 0 26px; font-size: .9rem; }
.footer a { color: #b6d0cc; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; padding-bottom: 38px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer .logo__name { color: #fff; }
.footer .logo__tag { color: #7ea19c; }
.footer h4 { color: #fff; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 16px; }
.footer li { padding: 5px 0; }
.footer__about { max-width: 340px; margin: 18px 0 0; font-size: .88rem; }
.footer__legal { padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .79rem; color: #7ea19c; }

/* Legal pages */
.legal { padding: 68px 0 92px; max-width: 820px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 10px; }
.legal .updated { font-size: .85rem; color: var(--muted); margin-bottom: 38px; }
.legal h2 { font-family: var(--font); font-size: 1.22rem; margin-top: 36px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1rem; }
.legal li { padding: 3px 0; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 20px; margin: 0 0 1rem; }
.legal dt { font-weight: 600; color: var(--ink); }
.legal dd { margin: 0; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .hero__inner { grid-template-columns: 1fr; gap: 42px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .contact, .cta { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}

@media (max-width: 720px) {
  .section { padding: 66px 0; }
  .hero { padding: 70px 0 62px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .cta { padding: 36px 24px; }
  .footer__grid { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; gap: 2px 0; }
  .legal dd { margin-bottom: 10px; }
  .pricetable thead { display: none; }
  .pricetable, .pricetable tbody, .pricetable tr, .pricetable td { display: block; width: 100%; }
  .pricetable tr { border-bottom: 1px solid var(--line); padding: 6px 0; }
  .pricetable td { border: none; padding: 6px 18px; }
  .pricetable td.amount { text-align: left; padding-bottom: 16px; }
  .header__cta .btn { display: none; }
}
