/* Кликун — фирменный стиль по брендбуку */
:root {
  --green: #173F38;
  --green-2: #28564C;
  --terra: #C96D3F;
  --terra-soft: #FCEEE3;
  --bg: #F5F7F5;
  --ink: #202823;
  --grey: #64706B;
  --line: #D6DFDA;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(23, 63, 56, .10);
  --shadow-lg: 0 24px 60px rgba(23, 63, 56, .16);
  --ease: cubic-bezier(.22, .8, .3, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Golos Text', Arial, Helvetica, sans-serif;
  color: var(--ink); background: var(--bg);
  font-size: 17px; line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--green); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--terra); }
h1, h2, h3, h4 { color: var(--green); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 3.4vw, 36px); margin-bottom: 18px; }
h3 { font-size: clamp(19px, 2.4vw, 24px); }
p { margin-bottom: 14px; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
section { padding: 72px 0; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  font: 600 16px/1 'Golos Text', Arial, sans-serif; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  will-change: transform;
}
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 8px 22px rgba(201, 109, 63, .35); }
.btn-primary:hover { background: #b45c31; color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(201, 109, 63, .45); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-lg { padding: 17px 36px; font-size: 17px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 247, 245, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(23,63,56,.07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo .bird-mark { width: 46px; height: auto; transition: transform .5s var(--ease); }
.logo:hover .bird-mark { transform: translateX(4px) rotate(-4deg); }
.logo-text { font-weight: 800; font-size: 21px; letter-spacing: .06em; line-height: 1; display: flex; flex-direction: column; }
.logo-sub { font-size: 10px; font-weight: 500; letter-spacing: .02em; color: var(--grey); margin-top: 3px; }
.main-nav { display: flex; gap: 26px; }
.main-nav a { font-weight: 500; font-size: 15.5px; color: var(--ink); position: relative; padding: 6px 0; }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--green); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--green); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 96px 0 88px; overflow: hidden; background: linear-gradient(160deg, #F5F7F5 0%, #EDF2EF 55%, #FCEEE3 130%); }
.hero::before {
  content: ''; position: absolute; width: 640px; height: 640px; right: -160px; top: -200px;
  background: radial-gradient(circle, rgba(201,109,63,.16), transparent 65%);
  animation: blob 12s ease-in-out infinite alternate;
}
.hero::after {
  content: ''; position: absolute; width: 520px; height: 520px; left: -180px; bottom: -260px;
  background: radial-gradient(circle, rgba(40,86,76,.14), transparent 65%);
  animation: blob 14s ease-in-out infinite alternate-reverse;
}
@keyframes blob { from { transform: translate(0,0) scale(1); } to { transform: translate(-40px, 40px) scale(1.12); } }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--green-2); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-trust { font-size: 14.5px; color: var(--grey); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual .bird-mark { width: min(340px, 80%); filter: drop-shadow(0 24px 40px rgba(23,63,56,.18)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-16px) rotate(1.5deg); } }
.hero-badge {
  position: absolute; padding: 10px 18px; background: var(--white); border-radius: 999px; box-shadow: var(--shadow);
  font-size: 14px; font-weight: 600; color: var(--green); animation: float 7s ease-in-out infinite;
}
.hero-badge.b1 { top: 8%; left: 0; animation-delay: .8s; }
.hero-badge.b2 { bottom: 10%; right: 2%; animation-delay: 1.6s; }
.hero-badge strong { color: var(--terra); }

/* ---------- анимации появления ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; } .reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; } .reveal-delay-4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-visual .bird-mark, .hero-badge, .hero::before, .hero::after { animation: none; } }

/* ---------- секции и сетки ---------- */
.section-alt { background: var(--white); }
.section-dark { background: var(--green); color: #E9EFEC; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head .kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terra); margin-bottom: 10px; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- карточки ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--green-2), var(--terra)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card h3 { font-size: 20px; }
.card p { color: var(--grey); font-size: 15.5px; margin: 0; flex: 1; }
.card .price { font-size: 22px; font-weight: 800; color: var(--terra); }
.card .card-link { font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.card .card-link::after { content: '→'; transition: transform .3s var(--ease); }
.card .card-link:hover::after { transform: translateX(5px); }
.card-num { font-size: 40px; font-weight: 800; color: var(--terra-soft); line-height: 1; }
.card:hover .card-num { color: var(--terra); transition: color .3s; }

/* ---------- тарифная таблица ---------- */
.tariff-table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.tariff-table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 640px; }
.tariff-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: 15.5px; vertical-align: middle; }
.tariff-table tr:first-child td { background: var(--green); color: #fff; font-weight: 700; }
.tariff-table tr:first-child td:first-child { border-radius: var(--radius) 0 0 0; }
.tariff-table tr:first-child td:last-child { border-radius: 0 var(--radius) 0 0; }
.tariff-table tr:last-child td { border-bottom: 0; }
.tariff-table td.tariff-cta { text-align: right; white-space: nowrap; }
.tariff-table .price { font-weight: 800; color: var(--terra); font-size: 18px; white-space: nowrap; }
.tariff-note { margin-top: 14px; color: var(--grey); font-size: 15px; box-shadow: none; }
.tariff-table-wrap + .tariff-note, p.tariff-note { box-shadow: none; }

/* ---------- шаги ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; background: var(--white); padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--grey); font-size: 15.5px; margin: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: var(--green-2); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 16.5px; color: var(--green);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--terra); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 22px; color: var(--grey); }
.faq-answer p { margin: 0; }

/* ---------- форма ---------- */
.lead-section { padding: 72px 0; }
.lead-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: var(--green); border-radius: 24px; padding: 48px; color: #E9EFEC; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.lead-card::after { content: ''; position: absolute; width: 300px; height: 300px; right: -100px; bottom: -120px; background: radial-gradient(circle, rgba(201,109,63,.25), transparent 65%); }
.lead-info h2 { color: #fff; }
.lead-info p { color: #B8C6C0; }
.lead-contacts { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; position: relative; z-index: 1; }
.lead-tg { color: #fff; font-weight: 700; font-size: 17px; }
.lead-tg::before { content: '✈ '; color: var(--terra); }
.lead-mail { color: #B8C6C0; }
.lead-form { position: relative; z-index: 1; display: grid; gap: 14px; background: rgba(255,255,255,.06); padding: 28px; border-radius: 18px; border: 1px solid rgba(255,255,255,.14); }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; color: #C9D6D0; }
.field .opt { font-weight: 400; color: #8FA69E; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08); color: #fff; font: 400 15.5px/1.4 'Golos Text', Arial, sans-serif;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field input::placeholder, .field textarea::placeholder { color: #8FA69E; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--terra); background: rgba(255,255,255,.12); box-shadow: 0 0 0 4px rgba(201,109,63,.18); }
.form-note { font-size: 12.5px; color: #8FA69E; margin: 0; }
.form-note a { color: #C9D6D0; text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #FFB59A; font-size: 14px; display: none; }
.form-error.show { display: block; }

/* ---------- прочее ---------- */
.breadcrumbs { font-size: 14px; color: var(--grey); margin-bottom: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumb-sep { color: var(--line); }
.page-hero { padding: 56px 0 8px; }
.page-hero .lead { font-size: 19px; color: var(--green-2); max-width: 760px; }
.check-list { display: grid; gap: 14px; }
.check-list li { list-style: none; padding-left: 34px; position: relative; font-size: 16px; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--terra-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23C96D3F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.related { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.article-body { max-width: 760px; }
.article-body h2 { margin-top: 40px; }
.article-body h3 { margin-top: 28px; margin-bottom: 10px; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; }
.article-body li { margin-bottom: 8px; }
.article-meta { display: flex; gap: 16px; color: var(--grey); font-size: 14px; margin-bottom: 28px; }
.notice { background: var(--terra-soft); border-left: 4px solid var(--terra); padding: 18px 22px; border-radius: 12px; font-size: 15.5px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.avatar-photo { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 5px solid var(--terra-soft); }
.tag { display: inline-block; background: var(--terra-soft); color: var(--terra); font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }

/* ---------- мобильная кнопка ---------- */
.mobile-cta { display: none; }

/* ---------- 404 / thank-you ---------- */
.center-page { text-align: center; padding: 110px 0; }
.center-page h1 { margin-bottom: 16px; }
.center-page p { color: var(--grey); max-width: 480px; margin: 0 auto 28px; }

/* ---------- адаптив ---------- */
@media (max-width: 1024px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-3, .related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  section { padding: 52px 0; }
  .hero { padding: 64px 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual .bird-mark { width: 200px; }
  .hero-badge { display: none; }
  .grid-5, .grid-3, .grid-2, .related, .two-col, .lead-card { grid-template-columns: 1fr; }
  .lead-card { padding: 28px; gap: 24px; }
  .main-nav {
    position: fixed; inset: 64px 0 auto; flex-direction: column; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform .35s var(--ease); z-index: 49; padding: 8px 20px 16px;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .main-nav a:last-child { border-bottom: 0; }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .mobile-cta {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(245,247,245,.92);
    backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .mobile-cta .btn { flex: 1; padding: 14px 10px; }
  .mobile-cta .btn-ghost { flex: 0 0 64px; background: var(--green); color: #fff; border-color: var(--green); }
  body { padding-bottom: 70px; }
  .step { grid-template-columns: 48px 1fr; }
  .step::before { width: 42px; height: 42px; font-size: 17px; }
}
