/* ============================================================
   ROOT & RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:    #0D1F0F;
  --accent:     #22C55E;
  --accent2:    #457b9d;
  --bg:         #F5F0E8;
  --bg2:        #f7f8fa;
  --bg3:        #eef1f6;
  --dark-bg:    #0D1F0F;
  --text:       #3d3d56;
  --muted:      #7a7a96;
  --border:     #e2e4ea;
  --white:      #ffffff;
  --radius:     10px;
  --radius-lg:  18px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid var(--accent);
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: #16a34a; border-color: #16a34a; transform: translateY(-1px); }
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--border);
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--primary); }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  border: 1.5px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background .2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; text-align: center; }

/* ============================================================
   COOKIE / MODAL
   ============================================================ */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px; right: 20px;
  background: var(--primary); color: #fff;
  z-index: 9999; padding: 18px 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
  max-width: 900px; margin: 0 auto;
}
.cookie-content { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-content p { flex: 1; font-size: 14px; color: rgba(255,255,255,.8); }
.cookie-content a { color: var(--accent); }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55); z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-box {
  background: #fff; border-radius: var(--radius-lg);
  padding: 40px; max-width: 460px; width: 90%;
  box-shadow: 0 32px 80px rgba(0,0,0,.18);
}
.modal-box h3 { font-size: 20px; font-weight: 800; margin-bottom: 24px; color: var(--primary); }
.cookie-option { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.cookie-option:last-of-type { border-bottom: none; }
.cookie-option label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--primary); margin-bottom: 4px; }
.cookie-option p { font-size: 13px; color: var(--muted); padding-left: 24px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.header-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 32px; height: 66px;
}
.logo {
  font-size: 22px; font-weight: 800; color: var(--primary);
  flex-shrink: 0; white-space: nowrap;
}
.logo-dot { color: var(--accent); }
.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: 6px; list-style: none; }
.main-nav a {
  padding: 8px 12px; border-radius: 7px;
  font-size: 14px; font-weight: 600; color: var(--text);
  transition: background .15s, color .15s;
}
.main-nav a:hover { background: var(--bg2); color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone { font-size: 14px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.header-actions .btn-primary { padding: 9px 20px; font-size: 14px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; }

.mobile-menu {
  display: none; background: #fff;
  border-top: 1px solid var(--border);
  padding: 16px 24px 20px;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block; padding: 10px 12px; font-weight: 600; font-size: 15px;
  border-radius: var(--radius); color: var(--text);
}
.mobile-menu a:hover { background: var(--bg2); }
.mobile-menu .btn-primary { margin-top: 8px; text-align: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--bg2);
  padding: 80px 24px 80px;
}
.hero-container {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center;
}
.hero-tag {
  display: inline-block;
  background: rgba(230,57,70,.1); color: var(--accent);
  padding: 6px 14px; border-radius: 40px;
  font-size: 13px; font-weight: 700;
  margin-bottom: 20px;
}
.hero-left h1 {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: 20px;
}
.hero-accent { color: var(--accent); }
.hero-desc { font-size: 17px; color: var(--muted); max-width: 480px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.hstat strong { display: block; font-size: 28px; font-weight: 800; color: var(--primary); line-height: 1.1; }
.hstat span { font-size: 13px; color: var(--muted); font-weight: 500; }
.hstat-divider { width: 1px; height: 40px; background: var(--border); }

/* Calc Card */
.calc-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 32px; box-shadow: 0 8px 40px rgba(0,0,0,.10);
  border: 1px solid var(--border);
}
.calc-title { font-size: 18px; font-weight: 800; color: var(--primary); margin-bottom: 22px; }
.calc-field { margin-bottom: 16px; }
.calc-field label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.calc-field select {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: inherit; font-size: 14px; font-weight: 500; color: var(--primary);
  background: var(--bg2); appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a7a96' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  cursor: pointer; transition: border-color .2s;
}
.calc-field select:focus { outline: none; border-color: var(--accent); }
.calc-result {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg2); border-radius: var(--radius);
  padding: 14px 18px; margin: 20px 0 16px;
  border: 1.5px solid var(--border);
}
.calc-result span { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.calc-result strong { font-size: 26px; font-weight: 800; color: var(--accent); }
.calc-cta { display: block; text-align: center; width: 100%; }
.calc-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }

/* ============================================================
   TRUSTED BY
   ============================================================ */
.trusted {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.trusted-label {
  text-align: center; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
  margin-bottom: 24px;
}
.trusted-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
}
.logo-item {
  padding: 10px 22px;
  border: 1.5px solid var(--border);
  border-radius: 40px;
  font-size: 14px; font-weight: 700; color: var(--muted);
  background: var(--bg2);
}

/* ============================================================
   SECTION HEADS
   ============================================================ */
.section-head { text-align: center; margin-bottom: 56px; }
.section-head p { font-size: 16px; color: var(--muted); max-width: 540px; margin: 14px auto 0; }
.section-tag {
  display: inline-block;
  background: rgba(230,57,70,.1); color: var(--accent);
  padding: 5px 14px; border-radius: 40px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 14px;
}
.section-head h2, .adv-left h2, .contact-info-col h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800; color: var(--primary); line-height: 1.2;
}
.section-head.light h2 { color: #fff; }
.section-head.light .section-tag { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 96px 0; background: var(--bg); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.service-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.09); transform: translateY(-3px); border-color: var(--accent); }
.service-icon {
  width: 52px; height: 52px;
  background: rgba(230,57,70,.1); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 18px;
}
.service-card h3 { font-size: 17px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.service-link { font-size: 14px; font-weight: 700; color: var(--accent); }
.service-link:hover { text-decoration: underline; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works { padding: 96px 0; background: var(--dark-bg); }
.how-it-works .section-head { margin-bottom: 52px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step-item { position: relative; }
.step-num {
  font-size: 48px; font-weight: 800;
  color: rgba(255,255,255,.08); line-height: 1;
  margin-bottom: 12px; font-family: inherit;
}
.step-item h3 { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.step-item p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.65; }

/* ============================================================
   ADVANTAGES
   ============================================================ */
.advantages { padding: 96px 0; background: var(--bg2); }
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.adv-left .section-tag { display: inline-block; }
.adv-left h2 { margin: 14px 0 18px; }
.adv-left p { font-size: 15px; color: var(--muted); margin-bottom: 28px; max-width: 340px; }
.adv-right { display: flex; flex-direction: column; gap: 28px; }
.adv-item { display: flex; gap: 16px; align-items: flex-start; }
.adv-icon {
  width: 30px; height: 30px; background: var(--accent); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; flex-shrink: 0; margin-top: 2px;
}
.adv-item h4 { font-size: 15px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.adv-item p { font-size: 14px; color: var(--muted); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding: 96px 0; background: #fff; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--bg2); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 26px;
}
.testi-stars { font-size: 18px; color: #22C55E; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card p { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 14px; font-weight: 800; color: var(--primary); }
.testi-author span { font-size: 13px; color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 96px 0; background: var(--bg2); }
.faq-grid { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  transition: border-color .2s;
}
.faq-item:hover, .faq-item.open { border-color: var(--accent); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; gap: 16px;
}
.faq-question span { font-size: 15px; font-weight: 700; color: var(--primary); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg2); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 400; color: var(--accent);
  flex-shrink: 0; transition: background .2s;
}
.faq-item.open .faq-icon { background: var(--accent); border-color: var(--accent); color: #fff; }
.faq-answer { display: none; padding: 0 22px 20px; }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: 96px 0; background: #fff; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-info-col .section-tag { display: inline-block; }
.contact-info-col h2 { margin: 14px 0 16px; }
.contact-info-col > p { font-size: 15px; color: var(--muted); margin-bottom: 30px; }
.contact-details { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.cd-item { display: flex; gap: 14px; align-items: flex-start; }
.cd-item svg { flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.cd-item strong { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 2px; }
.cd-item span { font-size: 14px; color: var(--text); line-height: 1.6; }
.cd-item a { color: var(--accent); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--border); }

.contact-form {
  background: var(--bg2); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }
.form-group:not(:last-child) { margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--primary); }
.form-group input, .form-group select, .form-group textarea {
  padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-family: inherit; font-size: 14px; color: var(--primary);
  background: #fff; transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-group textarea { resize: vertical; }
.form-policy { margin: 18px 0; }
.policy-check-label { display: flex; gap: 10px; cursor: pointer; font-size: 13px; color: var(--muted); line-height: 1.5; }
.policy-check-label input { margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }
.policy-check-label a { color: var(--accent); text-decoration: underline; }
.contact-form .btn-primary { padding: 14px; font-size: 16px; }
.form-success {
  margin-top: 14px; padding: 14px; background: #d4edda;
  border-radius: var(--radius); font-size: 14px; color: #155724;
  font-weight: 600; text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark-bg); color: rgba(255,255,255,.7); }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding: 64px 24px 48px;
}
.footer-logo { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.footer-logo span { color: var(--accent); }
.footer-brand-col p { font-size: 14px; line-height: 1.65; max-width: 280px; }
.disclaimer { font-size: 12px !important; color: rgba(255,255,255,.35) !important; margin-top: 12px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li { font-size: 14px; color: rgba(255,255,255,.6); }
.footer-col a { color: rgba(255,255,255,.6); transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; max-width: 1160px; margin: 0 auto;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.4); }
.cookie-pref-btn {
  background: none; border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.5); font-size: 12px; font-weight: 600;
  padding: 6px 14px; border-radius: 6px; cursor: pointer; transition: border-color .2s, color .2s;
}
.cookie-pref-btn:hover { border-color: rgba(255,255,255,.5); color: rgba(255,255,255,.8); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 820px) {
  .hero-container { grid-template-columns: 1fr; }
  .hero-right { max-width: 420px; }
  .adv-grid { grid-template-columns: 1fr; gap: 40px; }
  .testi-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .main-nav, .header-phone { display: none; }
  .burger { display: flex; }
  .header-actions .btn-primary { display: none; }
}

@media (max-width: 640px) {
  .hero { padding: 60px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hstat-divider { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 40px 20px 32px; }
  .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
}
