:root {
  --white: #fff;
  --light: #f8f8f8;
  --text: #1f1f1f;
  --muted: #5d5d5d;
  --dark: #1a1a1a;
  --red: #ff6b6b;
  --orange: #ff8e53;
  --gold: #ffd700;
  --grad: linear-gradient(120deg, #ff6b6b 0%, #ff8e53 45%, #ffd700 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Poppins", sans-serif; font-weight: 400; color: var(--text); background: var(--white); }
a { color: inherit; text-decoration: none; }
h1,h2,h3 { margin: 0 0 16px; font-weight: 800; line-height: 1.16; }
p { margin: 0; }

.container { width: min(1240px, 100% - 32px); margin: 0 auto; }
.section { padding: 84px 0; }
.section-alt { background: var(--light); }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.btn { border: 0; border-radius: 12px; padding: 13px 20px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; transition: transform .3s ease, opacity .3s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--text); }
.btn-gradient { background: var(--grad); color: var(--white); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.9); color: var(--white); background: transparent; }

.site-header { position: sticky; top: 0; z-index: 40; background: var(--white); box-shadow: 0 10px 35px rgba(0,0,0,.08); }
.nav-wrap { min-height: 78px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px; }
.logo { display: inline-flex; width: 52px; height: 52px; }
.logo img { width: 100%; height: 100%; display: block; }
.site-nav { display: none; gap: 18px; color: #333; }
.site-nav a { font-size: 15px; }
.nav-cta { display: none; }
.menu-toggle { width: 40px; height: 40px; border: 1px solid #ddd; border-radius: 10px; background: var(--white); display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; padding: 8px; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: #333; }
.mobile-nav { display: none; padding: 0 16px 16px; }
.mobile-nav.open { display: grid; gap: 10px; }

.hero-gradient { padding: 160px 0 120px; background: var(--grad); background-size: 400% 400%; animation: heroGradient 8s ease infinite alternate; }
@keyframes heroGradient { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
.hero-content { text-align: center; color: var(--white); }
.hero-content h1 { font-size: clamp(36px, 8vw, 72px); max-width: 1020px; margin: 0 auto 20px; }
.hero-content p { max-width: 860px; margin: 0 auto; opacity: .92; font-size: clamp(17px, 2.6vw, 22px); }
.hero-actions { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-facts { margin-top: 36px; display: grid; grid-template-columns: 1fr; gap: 14px; }
.hero-facts article { background: var(--white); color: var(--text); border-radius: 16px; padding: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.08); }
.hero-facts strong { display: block; font-size: 32px; margin-bottom: 4px; }
.hero-image-card { margin: 60px auto 0; max-width: 900px; background: var(--white); border-radius: 20px; padding: 12px; box-shadow: 0 28px 80px rgba(0,0,0,.2); }
.hero-image-card img { width: 100%; border-radius: 16px; display: block; }

.trust-grid { display: grid; grid-template-columns: 1fr; gap: 16px; text-align: center; }
.trust-grid article { background: var(--white); border-radius: 20px; padding: 22px; box-shadow: 0 12px 28px rgba(0,0,0,.05); }
.trust-grid strong { display: block; font-size: 42px; }

h2 { font-size: clamp(28px, 5vw, 52px); margin-bottom: 28px; }
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.card { background: var(--white); border-radius: 20px; padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.08); transition: transform .3s ease; }
.card:hover { transform: translateY(-4px); }
.top-red { border-top: 3px solid var(--red); }
.top-orange { border-top: 3px solid var(--orange); }
.top-gold { border-top: 3px solid var(--gold); }

.gradient-banner { background: var(--grad); min-height: 420px; color: var(--white); display: grid; align-items: center; text-align: center; }
.gradient-banner h2 { font-size: clamp(32px, 6vw, 48px); margin-bottom: 16px; }
.gradient-banner p { opacity: .94; margin-bottom: 24px; }

.case-card { padding: 0; overflow: hidden; }
.case-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.case-body { padding: 18px 20px 22px; }
.badge { display: inline-block; border-radius: 999px; padding: 6px 12px; color: #fff; font-size: 13px; margin-bottom: 12px; }
.top-red-fill { background: var(--red); }
.top-orange-fill { background: var(--orange); }
.top-gold-fill { background: var(--gold); color: #1a1a1a; }
.result { font-weight: 800; margin-bottom: 8px; }
.case-card blockquote { margin: 0; color: var(--muted); }

.pricing-featured { background: var(--grad); color: var(--white); border-top: 0; }
.badge-light { background: rgba(255,255,255,.25); }
.pricing-grid ul { margin: 0 0 20px; padding-left: 18px; }

.faq-list { display: grid; gap: 12px; }
.faq-question { width: 100%; border: 0; background: transparent; font: 800 18px "Poppins", sans-serif; text-align: left; display: flex; justify-content: space-between; gap: 12px; cursor: pointer; color: inherit; padding: 0; }
.faq-icon { color: var(--red); font-size: 24px; line-height: 1; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--muted); }
.faq-item.active .faq-answer { max-height: 200px; padding-top: 10px; }

.gradient-form { background: var(--grad); }
.lead-card { max-width: 640px; margin: 0 auto; background: var(--white); border-radius: 24px; box-shadow: 0 30px 90px rgba(0,0,0,.22); padding: 28px; }
.lead-form { display: grid; gap: 12px; margin-top: 16px; }
.lead-form label { display: grid; gap: 6px; font-weight: 800; }
.lead-form input,.lead-form textarea { border: 1px solid #ddd; border-radius: 12px; padding: 11px 12px; font: 400 16px "Poppins", sans-serif; }
.form-note { color: var(--muted); font-size: 14px; }
.form-note a { text-decoration: underline; }
.form-thanks { font-weight: 800; color: #126932; }

.prefooter {
  background: #fff7f2;
}
.prefooter-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 10px;
}
.prefooter-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.prefooter-main {
  background: var(--grad);
  color: var(--white);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(255, 142, 83, 0.28);
}
.prefooter-main h2 {
  margin: 0;
  font-size: clamp(28px, 4.5vw, 46px);
}
.prefooter-desc {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.55;
  opacity: 0.95;
}
.prefooter-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.prefooter-list {
  margin: 18px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-weight: 800;
}
.prefooter-side {
  display: grid;
  gap: 16px;
}
.prefooter-card {
  background: var(--white);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}
.prefooter-card h3 {
  font-size: 24px;
}
.prefooter-card p {
  margin-bottom: 8px;
}
.compact-map iframe {
  min-height: 190px;
  margin-top: 8px;
}

.contacts-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.phone-link { font-size: clamp(26px, 4vw, 34px); font-weight: 800; }
iframe { width: 100%; min-height: 260px; border: 0; border-radius: 16px; }
.socials { display: grid; gap: 8px; }

.site-footer {
  background: #111;
  color: #efefef;
  padding-top: 26px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--grad);
}
.footer-head {
  display: grid;
  gap: 8px;
  padding: 16px 0 24px;
}
.footer-head p {
  color: #cfcfcf;
  max-width: 760px;
}
.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  padding: 20px 0 26px;
}
.footer-grid article {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px;
}
.footer-grid h3 { margin-bottom: 10px; font-size: 21px; }
.footer-grid p { color: #d6d6d6; margin-bottom: 6px; }
.footer-grid a { display: block; margin-bottom: 7px; color: #f2f2f2; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 0 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.floating-call { position: fixed; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: var(--white); display: grid; place-items: center; font-size: 24px; box-shadow: 0 14px 30px rgba(0,0,0,.22); opacity: 0; transform: translateY(14px); pointer-events: none; transition: .3s; z-index: 50; }
.floating-call.show { opacity: 1; transform: none; pointer-events: auto; }

.legal-page { max-width: 980px; margin: 60px auto; padding: 0 20px 30px; }
.legal-back { display: inline-flex; margin-bottom: 18px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.legal-inner { background: var(--white); border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,.08); padding: 28px; }
.legal-inner h1 { font-size: clamp(30px, 5vw, 46px); }
.legal-inner h2 { font-size: clamp(22px, 3vw, 30px); margin-top: 22px; margin-bottom: 10px; }
.legal-inner ul { margin: 0; padding-left: 20px; }

@media (min-width: 768px) {
  .container { width: min(1240px, 100% - 56px); }
  .nav-wrap { grid-template-columns: auto 1fr auto; }
  .site-nav { display: flex; justify-self: center; }
  .nav-cta { display: inline-flex; }
  .menu-toggle,.mobile-nav { display: none !important; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
  .trust-grid,.cards-grid,.contacts-grid,.footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .prefooter-shell { grid-template-columns: 1.25fr .95fr; }
  .prefooter-main { padding: 36px; }
}

@media (min-width: 1280px) {
  .cards-grid.services-grid,.cards-grid.cases-grid,.cards-grid.reviews-grid,.cards-grid.pricing-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .trust-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .contacts-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .prefooter-shell { grid-template-columns: 1.4fr .85fr; align-items: stretch; }
  .footer-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .gradient-banner { background-attachment: fixed; }
}

@media (min-width: 1920px) {
  .section { padding: 100px 0; }
  .hero-gradient { padding: 180px 0 140px; }
  .container { width: min(1540px, 100% - 120px); }
}
