* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color:#1a1a2e;
  background:#fff;
  line-height:1.6;
  overflow-x:hidden;
}
img, svg { max-width:100%; height:auto; }
.icon { width:1.1em; height:1.1em; fill:currentColor; flex-shrink:0; display:inline-block; vertical-align:-0.15em; }
.container { max-width:1200px; margin:0 auto; padding:0 20px; width:100%; }
a { color:#0f1a2e; }
.skip-link { position:absolute; left:-9999px; top:0; background:#d4a44a; color:#0f1a2e; padding:8px 16px; z-index:3000; font-weight:700; }
.skip-link:focus { left:12px; top:12px; }

#main, #hero, #services, #faq, #contact, #about {
  scroll-margin-top:88px;
}

:focus { outline:none; }
:focus-visible {
  outline:3px solid #d4a44a;
  outline-offset:3px;
}
.btn:focus-visible, .btn-outline:focus-visible, .btn-small:focus-visible, .btn-ghost:focus-visible {
  outline:3px solid #fff;
  outline-offset:3px;
}

.header { background:#0f1a2e; padding:14px 0; position:sticky; top:0; z-index:100; box-shadow:0 4px 12px rgba(0,0,0,0.1); }
.header .container { display:block; }
.header-inner { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:nowrap; width:100%; }
.logo { font-size:20px; font-weight:800; color:#fff; letter-spacing:0.5px; text-decoration:none; line-height:1.2; display:inline-flex; align-items:center; gap:10px; min-width:0; }
.logo-mark { width:36px; height:36px; display:block; flex-shrink:0; border-radius:8px; }
.logo-word { display:inline-flex; align-items:baseline; gap:12px; min-width:0; }
.logo-word > span { color:#d4a44a; font-weight:600; font-size:15px; letter-spacing:0; }
.header-nav { display:flex; gap:16px; align-items:center; flex-wrap:wrap; flex:1; justify-content:center; }
.header-nav a { color:#fff; text-decoration:none; font-size:14px; font-weight:500; opacity:0.9; }
.header-nav a:hover, .header-nav a[aria-current="page"] { color:#d4a44a; opacity:1; }
.nav-toggle { display:none; background:transparent; border:1px solid #d4a44a; color:#d4a44a; width:44px; height:44px; border-radius:8px; font-size:22px; line-height:1; cursor:pointer; flex-shrink:0; align-items:center; justify-content:center; }
.nav-toggle:hover { background:rgba(212,164,74,.12); }
.header-phones { display:flex; flex-direction:column; align-items:flex-end; gap:4px; flex-shrink:0; }
.header-phone { color:#fff; font-weight:600; font-size:16px; text-decoration:none; white-space:nowrap; min-height:28px; display:inline-flex; align-items:center; }
.header-phone .icon { margin-right:8px; color:#d4a44a; }

.breadcrumbs { padding:18px 0 0; font-size:14px; color:#4a4a5a; overflow-wrap:anywhere; }
.breadcrumbs a { color:#4a4a5a; text-decoration:none; }
.breadcrumbs a:hover { color:#d4a44a; }
.breadcrumbs span { margin:0 8px; color:#a0a0b0; }

.page-hero { background:linear-gradient(145deg,#0f1a2e 0%,#1b2a44 100%); color:#fff; padding:48px 0 56px; margin-top:12px; }
.page-hero h1 { font-size:36px; font-weight:700; line-height:1.2; margin-bottom:16px; max-width:900px; }
.page-hero .lead { font-size:18px; opacity:0.92; max-width:760px; margin-bottom:24px; }

.hero { background:linear-gradient(145deg,#0f1a2e 0%,#1b2a44 100%); padding:80px 0 70px; color:#fff; }
.hero .container { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:40px; }
.hero-content { flex:1 1 500px; min-width:0; }
.hero-content h1 { font-size:44px; font-weight:700; line-height:1.2; margin-bottom:20px; }
.hero-content h1 span { color:#d4a44a; }
.hero-sub { font-size:18px; opacity:0.9; margin-bottom:30px; max-width:600px; }
.hero-cta { display:flex; flex-wrap:wrap; align-items:center; gap:20px; }
.hero-stat { background:rgba(255,255,255,0.08); padding:14px 28px; border-radius:60px; font-weight:600; font-size:18px; border-left:4px solid #d4a44a; }
.hero-image { flex:1 1 260px; text-align:center; }
.hero-image .icon-hero { width:160px; height:160px; fill:#d4a44a; opacity:0.35; }

.btn { display:inline-block; background:#d4a44a; color:#0f1a2e; padding:14px 36px; font-weight:700; font-size:17px; border-radius:50px; text-decoration:none; transition:background 0.3s, transform 0.3s; border:none; cursor:pointer; text-align:center; }
.btn:hover { background:#e6b85e; transform:scale(1.02); }
.btn-outline { display:inline-block; border:2px solid #d4a44a; color:#0f1a2e; padding:10px 28px; border-radius:50px; font-weight:600; text-decoration:none; transition:0.3s; background:transparent; cursor:pointer; text-align:center; }
.btn-outline:hover { background:#d4a44a; color:#0f1a2e; }

.section { padding:56px 0; }
.section-title { font-size:30px; font-weight:700; margin-bottom:18px; color:#0f1a2e; }
.hero + .section .section-title,
.section .section-title { text-align:center; }
.section-sub { color:#4a4a5a; max-width:760px; margin:0 auto 28px; font-size:17px; text-align:center; }
.content-block .section-title,
.content-block h2 { text-align:left; }
.content-block h2 { font-size:26px; margin:32px 0 14px; color:#0f1a2e; }
.content-block h3 { font-size:20px; margin:24px 0 10px; color:#0f1a2e; }
.content-block p { margin-bottom:14px; color:#2a2a3a; }
.content-block ul { margin:0 0 18px 22px; color:#2a2a3a; }
.content-block li { margin-bottom:8px; }
.price-box { background:#f8f9fc; border-left:5px solid #d4a44a; border-radius:16px; padding:22px 24px; margin:24px 0; }
.price-box strong { font-size:22px; color:#0f1a2e; }

.benefits-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:24px; }
.benefit-card { background:#f8f9fc; padding:30px 20px; border-radius:20px; text-align:center; border-bottom:4px solid #d4a44a; }
.benefit-card .num { font-size:34px; font-weight:700; color:#d4a44a; }
.benefit-card h3 { margin:15px 0 10px; font-size:20px; }
.benefit-card p { color:#4a4a5a; }

.services-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:22px; }
.service-card { background:#fff; border:1px solid #e9eef2; border-radius:20px; padding:30px 20px; transition:0.3s; box-shadow:0 4px 10px rgba(0,0,0,0.02); display:flex; flex-direction:column; }
.service-card:hover { border-color:#d4a44a; box-shadow:0 12px 24px rgba(0,0,0,0.06); }
.service-card h3 { font-size:20px; margin-bottom:12px; }
.service-card .price { font-weight:700; color:#0f1a2e; margin:15px 0; font-size:18px; }
.service-card .price span { color:#4a4a5a; font-weight:400; }
.service-card .btn-outline { margin-top:auto; align-self:flex-start; }
.service-card p { color:#4a4a5a; }

.steps { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr)); gap:24px; counter-reset:step; margin-top:24px; }
.step-item { background:#f8f9fc; border-radius:18px; padding:28px 18px; position:relative; text-align:center; }
.step-item::before { counter-increment:step; content:counter(step); position:absolute; top:-10px; left:18px; background:#d4a44a; color:#0f1a2e; font-weight:700; font-size:20px; width:40px; height:40px; line-height:40px; text-align:center; border-radius:50%; }
.step-item h3 { margin:16px 0 8px; font-size:17px; }
.step-item p { color:#4a4a5a; font-size:14px; }

.cases-grid, .related-grid, .faq-list { display:grid; gap:18px; }
.cases-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); }
.case-card { background:#f8f9fc; border-radius:18px; padding:24px; border-left:6px solid #d4a44a; }
.case-label { display:inline-block; font-size:12px; font-weight:700; letter-spacing:0.04em; text-transform:uppercase; color:#0f1a2e; background:#d4a44a; border-radius:999px; padding:4px 10px; margin-bottom:10px; }
.case-card .case-title { font-weight:700; font-size:17px; margin-bottom:8px; }
.case-card .case-problem { color:#4a4a5a; margin-bottom:8px; font-size:15px; }
.case-card .case-result { color:#0f1a2e; font-weight:600; font-size:15px; }

.faq-item { background:#fff; border:1px solid #e9eef2; border-radius:16px; padding:20px 22px; }
.faq-item h3 { font-size:18px; margin-bottom:8px; }
.faq-item p { color:#4a4a5a; margin:0; }
.faq-list { max-width:900px; margin:0 auto; text-align:left; }

.related-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); }
.related-card { display:block; background:#f8f9fc; border-radius:16px; padding:20px; text-decoration:none; border:1px solid transparent; transition:0.25s; }
.related-card:hover { border-color:#d4a44a; box-shadow:0 8px 20px rgba(0,0,0,0.05); }
.related-card strong { display:block; color:#0f1a2e; margin-bottom:6px; }
.related-card span { color:#4a4a5a; font-size:14px; }

.seo-caption { text-align:center; color:#4a4a5a; font-size:15px; margin:32px 0 12px; }
.seo-links { display:flex; flex-wrap:wrap; gap:10px 18px; justify-content:center; }
.seo-links a { color:#0f1a2e; font-size:14px; text-decoration:underline; text-underline-offset:3px; }
.seo-links a:hover { color:#d4a44a; }
.about-text { max-width:860px; margin:0 auto; text-align:center; color:#4a4a5a; font-size:17px; }
.about-text a { color:#0f1a2e; font-weight:600; }

.contact-section { background:#0f1a2e; color:#fff; }
.contact-grid { display:flex; flex-wrap:wrap; gap:40px; align-items:flex-start; }
.contact-info { flex:1 1 300px; min-width:0; }
.contact-info h2 { color:#fff; font-size:32px; margin-bottom:20px; }
.contact-info p { margin:12px 0; font-size:17px; word-break:break-word; display:flex; align-items:flex-start; gap:10px; }
.contact-info a { color:#fff; text-decoration:none; }
.contact-info a:hover { color:#d4a44a; }
.contact-info .icon { color:#d4a44a; width:22px; height:22px; margin-top:3px; }
.contact-highlight { margin-top:28px; font-size:20px; font-weight:600; display:block; }
.contact-highlight span { color:#d4a44a; }
.contact-form { flex:1 1 400px; background:#1b2a44; padding:36px 28px; border-radius:24px; min-width:0; }
.contact-form h3 { font-size:24px; margin-bottom:8px; }
.contact-form > p { margin-bottom:20px; color:#c8d2de; }
.contact-form > p a[href^="mailto:"] {
  color:#ffd36a;
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:3px;
}
.contact-form > p a[href^="mailto:"]:hover { color:#ffe8a3; }
.field-label { display:block; font-size:14px; font-weight:600; margin:0 0 6px; color:#e8eef6; }
.contact-form input, .contact-form textarea {
  width:100%; padding:14px 18px; margin-bottom:14px; border:none; border-radius:12px;
  background:#2a3d5c; color:#fff; font-size:16px; font-family:inherit;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color:#a0b0c0; }
.contact-form .btn { width:100%; }
.contact-form .btn:disabled { opacity:0.45; cursor:not-allowed; transform:none; }
.form-note { font-size:13px; opacity:0.65; margin-top:12px; }
.form-note a { color:#d4a44a; }
.robot-check { display:flex; align-items:flex-start; gap:12px; margin:4px 0 18px; padding:14px 16px; background:rgba(255,255,255,0.06); border:1px solid rgba(212,164,74,0.35); border-radius:12px; cursor:pointer; user-select:none; }
.robot-check input { width:20px; height:20px; margin-top:2px; flex-shrink:0; accent-color:#d4a44a; cursor:pointer; }
.robot-check span { color:#fff; font-size:15px; line-height:1.4; opacity:0.95; }
.robot-check a { color:#f3d9a0; text-decoration:underline; }
.form-status { display:none; margin-top:12px; font-size:15px; }
.form-status.ok { display:block; color:#9be7a6; }
.form-status.err { display:block; color:#ffb4b4; }
.hp-field { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

.map-wrap { margin-top:24px; border-radius:16px; overflow:hidden; min-height:240px; background:#1b2a44; }
.map-wrap iframe { display:block; width:100%; height:260px; border:0; }

.footer { background:#0a121f; padding:28px 0; color:#7a8a9a; text-align:center; font-size:14px; }
.footer a { color:#d4a44a; }
.footer p { margin-top:8px; line-height:1.8; }
.footer p:first-child { margin-top:0; }

.cookie-banner {
  position:fixed;
  left:16px;
  right:16px;
  bottom:max(16px, env(safe-area-inset-bottom));
  max-width:640px;
  margin:0 auto;
  background:#1b2a44;
  color:#fff;
  padding:14px 16px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  z-index:999;
  box-shadow:0 8px 28px rgba(0,0,0,0.35);
  border-radius:16px;
  transform:translateY(0);
  transition:transform 0.3s, opacity 0.3s;
}
.cookie-banner.hidden { transform:translateY(120%); opacity:0; pointer-events:none; }
.cookie-banner p { flex:1 1 200px; margin:0; font-size:13px; line-height:1.45; }
.cookie-banner a { color:#d4a44a; }
.cookie-actions { display:flex; gap:8px; flex-wrap:wrap; }
.cookie-banner .btn-small { background:#d4a44a; color:#0f1a2e; border:none; padding:10px 18px; border-radius:50px; font-weight:600; cursor:pointer; min-height:40px; }
.cookie-banner .btn-ghost { background:transparent; color:#fff; border:1px solid rgba(255,255,255,0.35); padding:10px 16px; border-radius:50px; font-weight:600; cursor:pointer; min-height:40px; }

@media (max-width:1024px) {
  .hero { padding:64px 0 56px; }
  .hero-content h1 { font-size:38px; }
  .page-hero { padding:40px 0 44px; }
  .page-hero h1 { font-size:32px; }
  .section { padding:48px 0; }
  .hero-image .icon-hero { width:120px; height:120px; }
}

@media (max-width:768px) {
  .container { padding:0 16px; }
  .header { padding:12px 0; overflow-x:hidden; }
  .header-inner {
    display:grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "logo toggle phones"
      "nav nav nav";
    align-items:center;
    column-gap:8px;
    row-gap:0;
  }
  .logo { grid-area:logo; font-size:16px; max-width:none; letter-spacing:0; gap:8px; flex-direction:row; align-items:center; }
  .logo-mark { width:32px; height:32px; }
  .logo-word { flex-direction:column; align-items:flex-start; gap:0; }
  .logo-word > span { font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:100%; }
  .nav-toggle { display:inline-flex; grid-area:toggle; position:relative; z-index:2; }
  .header-phones { grid-area:phones; }
  .header-phone-extra { display:none; }
  .header-nav {
    grid-area:nav;
    display:none;
    flex:none;
    width:100%;
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
    padding:12px 0 4px;
    justify-content:flex-start;
  }
  .header-nav.is-open { display:flex; }
  .header-phone { font-size:13px; }
  .breadcrumbs { font-size:13px; padding-top:14px; }
  .page-hero { padding:32px 0 36px; margin-top:8px; }
  .page-hero h1 { font-size:26px; }
  .page-hero .lead { font-size:16px; margin-bottom:18px; }
  .hero { padding:40px 0 44px; }
  .hero .container { gap:24px; }
  .hero-content { flex-basis:100%; }
  .hero-content h1 { font-size:28px; margin-bottom:14px; }
  .hero-sub { font-size:16px; margin-bottom:22px; }
  .hero-cta { flex-direction:column; align-items:stretch; gap:12px; }
  .hero-stat { font-size:15px; padding:12px 18px; border-radius:16px; text-align:left; }
  .hero-image { display:none; }
  .btn { width:100%; padding:14px 22px; font-size:16px; }
  .section { padding:40px 0; }
  .section-title { font-size:24px; }
  .section-sub { font-size:15px; margin-bottom:20px; }
  .content-block h2 { font-size:22px; margin-top:24px; }
  .content-block h3 { font-size:18px; }
  .price-box { padding:18px; }
  .price-box strong { font-size:18px; }
  .benefits-grid, .services-grid, .steps, .cases-grid, .related-grid, .faq-list { gap:14px; }
  .benefit-card, .service-card, .step-item, .case-card, .faq-item, .related-card { padding:18px; }
  .step-item { padding-top:34px; }
  .service-card .btn-outline { width:100%; text-align:center; }
  .contact-grid { gap:22px; }
  .contact-info h2 { font-size:24px; }
  .contact-info p { font-size:16px; }
  .contact-form { padding:26px 18px; border-radius:18px; flex-basis:100%; }
  .contact-form h3 { font-size:22px; }
  .cookie-banner { left:12px; right:12px; }
  .cookie-banner .btn-small, .cookie-banner .btn-ghost { width:100%; }
  .footer { padding:24px 0 28px; font-size:13px; }
}

@media (max-width:480px) {
  .logo { font-size:14px; }
  .header-phone { font-size:12px; }
  .hero-content h1 { font-size:24px; }
  .page-hero h1 { font-size:22px; }
  .section-title { font-size:20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after {
    animation-duration:0.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:0.01ms !important;
    scroll-behavior:auto !important;
  }
  .btn:hover, .btn-outline:hover { transform:none; }
}

.article-meta { font-size:14px; opacity:0.85; margin-bottom:12px; letter-spacing:0.02em; }
.page-hero .article-meta { color:#d4a44a; }
.article-cta { margin-top:28px; padding:18px 20px; background:#f8f9fc; border-left:4px solid #d4a44a; border-radius:8px; }
.seo-links a { display:inline-block; margin:0 12px 10px 0; }
