:root {
  --ink: #183b34;
  --ink-2: #2d5248;
  --muted: #61786b;
  --line: #dce3d8;
  --bg: #f7f8f4;
  --bg-alt: #eef2e5;
  --card: #ffffff;
  --lime: #d8f1a8;
  --lime-2: #c4e88a;
  --focus: #64a987;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(24, 59, 52, .06), 0 12px 32px -12px rgba(24, 59, 52, .18);
  --wrap: 1160px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 3px;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 19px; letter-spacing: -.01em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.sub { color: var(--muted); font-size: 17px; max-width: 620px; margin: 16px 0 0; }
.sub a { color: var(--ink); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600;
  border: 1px solid var(--ink); border-radius: 999px; padding: 11px 20px; font-size: 15px;
  cursor: pointer; font-family: inherit; transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-small { padding: 8px 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #c6d3c7; }
.btn-ghost:hover { background: #fff; }
.btn-lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn-lime:hover { background: var(--lime-2); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 248, 244, .85); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -.04em; }
.brand-icon {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink); color: var(--lime); font-weight: 800; font-size: 20px; letter-spacing: 0;
}
.brand-icon.sm { width: 26px; height: 26px; font-size: 15px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav > a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav > a:not(.btn):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.nav .btn-ghost { margin-left: 6px; }
.menu-toggle { display: none; }

@media (max-width: 920px) {
  .menu-toggle {
    display: grid; gap: 6px; place-content: center; width: 44px; height: 44px;
    background: none; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  }
  .menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav .btn { margin: 12px 0 0; padding: 13px; }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 66px); letter-spacing: -.04em; line-height: 1.04; }
.hl { background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--ink-2); max-width: 560px; margin: 24px 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; font-weight: 500; color: var(--muted); }
.hero-points li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 800; margin-right: 8px; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::before {
  content: ""; position: absolute; inset: 8% -10% -6% 6%; border-radius: 40px;
  background: radial-gradient(circle at 30% 30%, var(--lime), #e8f0dc 60%, transparent 75%); z-index: 0;
}
.phone {
  position: relative; z-index: 1; width: min(360px, 100%); background: var(--card); border-radius: 30px;
  border: 1px solid var(--line); padding: 22px 18px 18px; box-shadow: 0 40px 80px -30px rgba(24, 59, 52, .45);
  transform: rotate(2deg);
}
.phone-top { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.phone-title { font-weight: 700; font-size: 17px; flex: 1; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #64a987; box-shadow: 0 0 0 4px #e8f0dc; }
.phone-caption { font-size: 12px; color: var(--muted); margin: 12px 2px 10px; }
.mail-item { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; border: 1px solid #e6ebe2; margin-bottom: 8px; }
.mail-item.is-new { background: #f8fbf2; border-color: #dbe8c8; }
.mail-item > div:nth-child(2) { flex: 1; min-width: 0; display: grid; }
.mail-item strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-item span { font-size: 12px; color: var(--muted); }
.mail-item time { font-size: 11px; color: var(--muted); }
.env { width: 36px; height: 36px; border-radius: 10px; background: var(--bg-alt); display: grid; place-items: center; font-size: 17px; flex-shrink: 0; }
.float-card {
  position: absolute; z-index: 2; left: -4%; bottom: 8%; display: flex; gap: 12px; align-items: center;
  background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow); max-width: 280px;
  animation: float 5s ease-in-out infinite;
}
.float-card div { display: grid; }
.float-card strong { font-size: 14px; }
.float-card span { font-size: 12px; color: #b9cdbf; }
.float-icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); font-weight: 800; }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .float-card { left: 0; bottom: -18px; }
  .phone { transform: none; }
}

/* Strip */
.strip { border-block: 1px solid var(--line); background: #fff; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid > div { padding: 26px 20px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.strip-grid > div:first-child { border-left: 0; padding-left: 0; }
.strip strong { font-size: 15px; }
.strip span { font-size: 14px; color: var(--muted); }
@media (max-width: 820px) {
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid > div { padding: 20px 16px; }
  .strip-grid > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .strip-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .sub { margin-inline: auto; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; }
.steps p { color: var(--muted); margin: 10px 0 0; }
.step-no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--lime); font-weight: 800; margin-bottom: 22px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card p { color: var(--muted); font-size: 15px; margin: 8px 0 18px; flex: 1; }
.card a { font-weight: 600; font-size: 14px; text-decoration: none; }
.card a:hover { text-decoration: underline; text-underline-offset: 4px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-alt); display: grid; place-items: center; margin-bottom: 20px; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-feature { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-feature p { color: #b9cdbf; }
.card-feature .icon { background: var(--lime); }
.card-feature a { color: var(--lime); }
@media (max-width: 1020px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Pricing */
.segment {
  display: flex; width: fit-content; margin: 0 auto 36px; padding: 5px; background: #fff;
  border: 1px solid var(--line); border-radius: 999px;
}
.segment button {
  border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 15px; color: var(--muted);
  padding: 10px 24px; border-radius: 999px; cursor: pointer; min-height: 44px;
}
.segment button[aria-selected="true"] { background: var(--ink); color: #fff; }

.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: stretch; }
.plan {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px;
  display: flex; flex-direction: column; position: relative;
}
.plan.popular { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.badge {
  position: absolute; top: -12px; left: 20px; background: var(--lime); font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.plan h3 { font-size: 17px; }
.plan .for { font-size: 13px; color: var(--muted); margin: 4px 0 18px; min-height: 40px; }
.price { display: flex; align-items: baseline; gap: 4px; }
.price strong { font-size: 36px; letter-spacing: -.04em; line-height: 1; }
.price span { font-size: 14px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 9px; font-size: 14px; flex: 1; }
.plan li { display: flex; gap: 8px; }
.plan li::before { content: "✓"; color: #3f8a64; font-weight: 800; flex-shrink: 0; }
.plan .btn { width: 100%; }
.plan:not(.popular) .btn { background: transparent; color: var(--ink); border-color: #c6d3c7; }
.plan:not(.popular) .btn:hover { background: var(--bg-alt); }
.vat-note { text-align: center; color: var(--muted); font-size: 14px; margin: 24px 0 0; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .plans { grid-template-columns: 1fr; } .plan .for { min-height: 0; } }

.extras { margin-top: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.extras summary, .faq summary {
  cursor: pointer; list-style: none; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.extras summary { padding: 20px 24px; }
.extras summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.extras summary::after, .faq summary::after { content: "+"; font-size: 22px; font-weight: 400; transition: transform .2s; flex-shrink: 0; }
.extras[open] summary::after, .faq details[open] summary::after { transform: rotate(45deg); }
.table-scroll { overflow-x: auto; padding: 0 24px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 620px; }
th, td { text-align: right; padding: 11px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th:first-child, td:first-child { text-align: left; white-space: normal; }
thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
tbody tr:hover { background: #fafbf7; }
.fine { font-size: 13px; color: var(--muted); padding: 16px 24px 22px; margin: 0; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq details { border-bottom: 1px solid #cfdac7; }
.faq summary { padding: 22px 0; font-size: 17px; }
.faq p { margin: 0 0 22px; color: var(--ink-2); max-width: 640px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 8px; } }

/* CTA */
.cta { background: var(--ink); color: #fff; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 64px; flex-wrap: wrap; }
.cta p { color: #b9cdbf; margin: 10px 0 0; font-size: 17px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; }
.contact-list { margin: 32px 0 0; display: grid; gap: 20px; }
.contact-list div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.contact-list dt { font-size: 13px; color: var(--muted); font-weight: 600; padding-top: 2px; }
.contact-list dd { margin: 0; font-weight: 500; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 8px; padding: 13px 14px; min-height: 48px; font: inherit; font-size: 16px;
  color: var(--ink); background: var(--bg); border: 1px solid #c6d3c7; border-radius: 12px;
}
.contact-form textarea { resize: vertical; }
.contact-form [aria-invalid="true"] { border-color: #b4543f; background: #fbece6; }
.contact-form .btn { width: 100%; margin-top: 4px; }
.form-status { font-size: 14px; margin: 14px 0 0; min-height: 1.4em; }
.form-status.error { color: #853d30; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; gap: 0; } .contact-list div { grid-template-columns: 1fr; gap: 2px; } }

/* Footer */
.site-footer { background: #10291f; color: #b9cdbf; padding: 64px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-grid h3 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer-grid a, .footer-grid span { display: block; text-decoration: none; margin-bottom: 9px; overflow-wrap: anywhere; }
.footer-grid a:hover { color: #fff; }
.brand-light { color: #fff; display: inline-flex !important; }
.brand-light .brand-icon { background: var(--lime); color: var(--ink); }
.footer-grid p { max-width: 260px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #24443a; margin-top: 40px; padding-top: 24px; font-size: 13px; }
.footer-bottom a { text-decoration: none; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

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