:root {
  --navy-950: #071426;
  --navy-900: #0b1f3a;
  --navy-800: #102b4e;
  --blue-700: #144f86;
  --blue-600: #1d65a6;
  --blue-500: #2f80d1;
  --blue-100: #eaf4ff;
  --blue-050: #f5faff;
  --text: #152236;
  --muted: #64748b;
  --line: #d8e6f4;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 20, 38, .14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--blue-050);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(216,230,244,.9);
}
.header-inner { min-height: 80px; display: flex; align-items: center; gap: 24px; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, var(--navy-900), var(--blue-700)); color: var(--white); font-weight: 900; letter-spacing: .03em; }
.brand-text strong { display: block; font-size: 18px; color: var(--navy-950); line-height: 1.1; }
.brand-text small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.main-nav { display: flex; align-items: center; gap: 17px; color: #334155; font-weight: 650; }
.main-nav a { position: relative; padding: 28px 0; font-size: 14px; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 19px; height: 3px; transform: scaleX(0); border-radius: 99px; background: var(--blue-600); transition: .2s; }
.main-nav a:hover, .main-nav a.is-active { color: var(--blue-700); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.header-contacts { display: flex; align-items: center; gap: 14px; }
.header-phone { font-weight: 800; color: var(--navy-900); white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 800; cursor: pointer; transition: .2s ease; text-align: center; }
.btn-primary { background: var(--blue-600); color: var(--white); box-shadow: 0 14px 34px rgba(29, 101, 166, .25); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 18px 44px rgba(29, 101, 166, .32); }
.btn-secondary { background: var(--white); color: var(--blue-700); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--blue-600); transform: translateY(-2px); }
.btn-lg { min-height: 56px; padding: 0 28px; }
.btn-full { width: 100%; }

.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); cursor: pointer; }
.menu-toggle span { display: block; width: 21px; height: 2px; background: var(--navy-900); margin: 5px auto; border-radius: 99px; }

.hero { position: relative; padding: 96px 0 78px; color: var(--white); background: radial-gradient(circle at 80% 12%, rgba(47,128,209,.35), transparent 30%), linear-gradient(135deg, var(--navy-950), var(--navy-900) 50%, var(--blue-700)); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 680px; height: 680px; right: -240px; bottom: -310px; border-radius: 50%; background: rgba(255,255,255,.05); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; width: fit-content; padding: 8px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: rgba(255,255,255,.82); font-size: 14px; font-weight: 750; margin-bottom: 22px; }
.hero h1, .inner-hero h1 { margin: 0; font-size: clamp(38px, 5.4vw, 74px); line-height: 1.02; letter-spacing: -.055em; }
.hero p { max-width: 720px; margin: 24px 0 0; color: rgba(255,255,255,.76); font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 42px; }
.hero-metrics div { padding: 18px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.hero-metrics strong { display: block; font-size: 22px; color: var(--white); }
.hero-metrics span { display: block; margin-top: 4px; color: rgba(255,255,255,.68); font-size: 14px; }
.hero-panel { padding: 34px; border-radius: var(--radius-xl); background: rgba(255,255,255,.97); color: var(--text); box-shadow: var(--shadow); }
.hero-panel h2 { margin: 0 0 12px; color: var(--navy-950); font-size: 30px; letter-spacing: -.03em; }
.hero-panel p { color: var(--muted); margin: 0 0 22px; font-size: 16px; }
.check-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .38em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-100); border: 5px solid var(--blue-600); }

.section { padding: 88px 0; }
.section-head { margin-bottom: 36px; max-width: 900px; }
.section-kicker { display: block; color: var(--blue-600); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; font-weight: 900; margin-bottom: 12px; }
.section-kicker.light { color: #a6d3ff; }
.section-head h2, .split-block h2, .cta-inner h2 { margin: 0; color: var(--navy-950); font-size: clamp(32px, 4vw, 54px); line-height: 1.08; letter-spacing: -.045em; }
.section-head p, .split-block p, .cta-inner p { max-width: 720px; color: var(--muted); margin: 18px 0 0; font-size: 18px; }

.direction-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.direction-card { min-height: 300px; padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: 0 14px 38px rgba(7,20,38,.06); display: flex; flex-direction: column; transition: .22s ease; }
.direction-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(29,101,166,.36); }
.card-number { color: var(--blue-600); font-weight: 900; letter-spacing: .08em; }
.direction-card h3 { margin: 36px 0 12px; color: var(--navy-950); font-size: 25px; letter-spacing: -.025em; }
.direction-card p { color: var(--muted); margin: 0 0 22px; }
.direction-card strong { margin-top: auto; color: var(--blue-700); font-size: 21px; }
.direction-card-dark, .direction-card-accent { background: linear-gradient(135deg, var(--navy-900), var(--blue-700)); border-color: transparent; color: var(--white); }
.direction-card-dark h3, .direction-card-accent h3, .direction-card-dark strong, .direction-card-accent strong { color: var(--white); }
.direction-card-dark p, .direction-card-accent p, .direction-card-dark .card-number, .direction-card-accent .card-number { color: rgba(255,255,255,.72); }

.dark-section { background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); color: var(--white); }
.split-block { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.split-block h2, .cta-inner h2 { color: var(--white); }
.split-block p, .cta-inner p { color: rgba(255,255,255,.72); }
.feature-list { display: grid; gap: 16px; }
.feature-list article { padding: 24px; border-radius: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.feature-list h3 { margin: 0 0 8px; font-size: 22px; }
.feature-list p { margin: 0; color: rgba(255,255,255,.7); }

.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.step-card { padding: 26px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(7,20,38,.05); }
.step-card span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-600); color: var(--white); font-weight: 900; margin-bottom: 24px; }
.step-card h3 { margin: 0 0 8px; font-size: 22px; color: var(--navy-950); }
.step-card p { margin: 0; color: var(--muted); }

.cta-section { padding: 72px 0; background: linear-gradient(135deg, var(--blue-700), var(--navy-950)); color: var(--white); }
.cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }

.inner-hero { padding: 76px 0 52px; color: var(--white); background: radial-gradient(circle at 85% 15%, rgba(47,128,209,.34), transparent 25%), linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.inner-hero p { max-width: 800px; color: rgba(255,255,255,.72); font-size: 19px; margin: 22px 0 0; }
.quick-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.quick-links a { padding: 10px 15px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.86); border-radius: 999px; background: rgba(255,255,255,.06); }
.quick-links a:hover { background: rgba(255,255,255,.14); }
.services-toolbar { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: end; margin-bottom: 28px; }
.search-field span { display: block; font-weight: 800; color: var(--navy-950); margin-bottom: 8px; }
.search-field input, .request-form input, .request-form textarea, .request-form select { width: 100%; min-height: 52px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); padding: 13px 16px; font: inherit; outline: none; }
.search-field input:focus, .request-form input:focus, .request-form textarea:focus, .request-form select:focus { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(29,101,166,.09); }
.services-root { display: grid; gap: 24px; }
.service-category { scroll-margin-top: 98px; border-radius: var(--radius-xl); background: var(--white); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 18px 48px rgba(7,20,38,.07); }
.category-head { padding: 30px; background: linear-gradient(135deg, var(--navy-900), var(--blue-700)); color: var(--white); display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: end; }
.category-head h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.035em; }
.category-head p { margin: 10px 0 0; color: rgba(255,255,255,.75); max-width: 760px; }
.category-meta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.category-meta span { padding: 9px 12px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; font-weight: 800; white-space: nowrap; }
.service-list { display: grid; }
.service-item { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 22px 30px; border-top: 1px solid var(--line); }
.service-item:first-child { border-top: 0; }
.service-item h3 { margin: 0; font-size: 20px; color: var(--navy-950); }
.service-item p { margin: 8px 0 0; color: var(--muted); }
.service-price { text-align: right; min-width: 170px; }
.service-price strong { display: block; color: var(--blue-700); font-size: 20px; }
.service-price span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
.service-actions { padding: 24px 30px 30px; border-top: 1px solid var(--line); background: var(--blue-050); display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.no-results { padding: 26px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); color: var(--muted); }
.pricing-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 48px rgba(7,20,38,.07); }
.pricing-table { width: 100%; border-collapse: collapse; min-width: 980px; }
.pricing-table th, .pricing-table td { padding: 18px; border-bottom: 1px solid var(--line); text-align: center; }
.pricing-table thead th { background: var(--navy-900); color: var(--white); }
.pricing-table tbody th { text-align: left; color: var(--navy-950); background: var(--blue-050); max-width: 320px; }
.pricing-table td { color: #334155; }

.about-grid, .contacts-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.about-card, .contact-card, .request-form { padding: 30px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: 0 14px 38px rgba(7,20,38,.06); }
.about-card h2, .contact-card h2, .request-form h2 { margin: 0 0 12px; color: var(--navy-950); }
.contacts-grid { grid-template-columns: .82fr 1.18fr; align-items: start; }
.request-form { display: grid; gap: 15px; }
.request-form label { display: grid; gap: 8px; font-weight: 750; color: var(--navy-950); }
.request-form textarea { min-height: 130px; resize: vertical; }
.muted { color: var(--muted); }

.site-footer { padding: 44px 0; background: var(--navy-950); color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .6fr .7fr; gap: 40px; }
.footer-brand .brand-text strong { color: var(--white); }
.footer-grid h3 { color: var(--white); margin: 0 0 12px; }
.footer-grid a, .footer-grid span { display: block; color: rgba(255,255,255,.72); margin: 8px 0; }
.footer-grid a:hover { color: var(--white); }

.reveal { opacity: 0; transform: translateY(18px); transition: .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1040px) {
  .header-contacts { display: none; }
  .hero-grid, .split-block, .cta-inner, .contacts-grid { grid-template-columns: 1fr; }
  .direction-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 70px; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; left: 16px; right: 16px; top: 78px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 10px; box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px; border-radius: 14px; }
  .main-nav a::after { display: none; }
  .hero { padding: 58px 0 44px; }
  .hero-metrics, .direction-grid, .steps-grid, .about-grid, .services-toolbar, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .category-head, .service-item { grid-template-columns: 1fr; }
  .category-meta { justify-content: flex-start; }
  .service-price { min-width: 0; text-align: left; }
  .service-actions { justify-content: stretch; }
  .service-actions .btn { width: 100%; }
}


/* Дополнительные маркетинговые блоки */
.hero-panel-media img { width: 100%; border-radius: 24px; margin: 0 0 22px; box-shadow: 0 16px 42px rgba(7,20,38,.12); }
.split-visual { display: grid; grid-template-columns: 1fr .92fr; gap: 52px; align-items: center; }
.split-visual.reverse { grid-template-columns: .92fr 1fr; }
.visual-copy h2 { margin: 0; color: var(--navy-950); font-size: clamp(32px, 4vw, 54px); line-height: 1.08; letter-spacing: -.045em; }
.visual-copy p { color: var(--muted); font-size: 18px; margin: 18px 0 0; }
.lead-text { color: #334155 !important; font-weight: 700; }
.visual-card { padding: 16px; border-radius: var(--radius-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.visual-card img { width: 100%; border-radius: 24px; }
.quote-panel { margin-top: 26px; padding: 24px; border-left: 5px solid var(--blue-600); border-radius: 18px; background: var(--blue-100); color: var(--navy-900); font-weight: 750; }
.mini-accordion { display: grid; gap: 12px; margin: 24px 0; }
.mini-accordion details, .faq-item { border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 12px 32px rgba(7,20,38,.05); overflow: hidden; }
.mini-accordion summary, .faq-item summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 900; color: var(--navy-950); display: flex; gap: 14px; align-items: center; }
.mini-accordion summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.mini-accordion summary::after, .faq-item summary::after { content: "+"; margin-left: auto; color: var(--blue-600); font-size: 24px; line-height: 1; }
.mini-accordion details[open] summary::after, .faq-item[open] summary::after { content: "−"; }
.mini-accordion p, .faq-item p { margin: 0; padding: 0 24px 22px; color: var(--muted); }
.faq-list { display: grid; gap: 16px; }
.faq-item summary span { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--blue-100); color: var(--blue-700); font-weight: 900; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.reviews-grid-large { grid-template-columns: repeat(3, minmax(0,1fr)); }
.review-card { padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: 0 14px 38px rgba(7,20,38,.06); }
.review-card p { color: #334155; margin: 16px 0 22px; }
.review-card strong { display: block; color: var(--navy-950); }
.review-card span { display: block; color: var(--muted); margin-top: 4px; font-size: 14px; }
.stars { color: var(--blue-600); font-size: 20px; letter-spacing: .06em; font-weight: 900; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.case-grid-large { grid-template-columns: repeat(3, minmax(0,1fr)); }
.case-card { padding: 28px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: 0 14px 38px rgba(7,20,38,.06); }
.case-card span { display: inline-flex; padding: 7px 12px; border-radius: 999px; background: var(--blue-100); color: var(--blue-700); font-size: 13px; font-weight: 900; }
.case-card h3 { margin: 18px 0 12px; color: var(--navy-950); font-size: 23px; line-height: 1.16; }
.case-card p { color: var(--muted); margin: 0; }
.case-card ul { margin: 18px 0 0; padding-left: 20px; color: #334155; }
.center-actions { display: flex; justify-content: center; margin-top: 28px; }
.hero-inner-visual { grid-template-columns: 1fr 360px; }
.inner-hero-image { padding: 12px; border-radius: 28px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.inner-hero-image img { width: 100%; border-radius: 22px; }
.form-note { margin: -4px 0 0; color: var(--muted); font-size: 13px; }

@media (max-width: 1040px) {
  .split-visual, .split-visual.reverse, .hero-inner-visual { grid-template-columns: 1fr; }
  .reviews-grid, .reviews-grid-large, .case-grid, .case-grid-large { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .visual-card { padding: 10px; border-radius: 22px; }
  .reviews-grid, .reviews-grid-large, .case-grid, .case-grid-large { grid-template-columns: 1fr; }
  .faq-item summary { align-items: flex-start; }
  .faq-item summary span { width: 38px; height: 38px; }
}


/* Фотографии и визуальные акценты */
.photo-image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-panel-media .photo-image { aspect-ratio: 16 / 10; border-radius: 24px; }
.visual-card-photo { overflow: hidden; }
.visual-card-photo .photo-image { aspect-ratio: 16 / 10; border-radius: 24px; }
.inner-hero-image .photo-image { aspect-ratio: 16 / 10; border-radius: 22px; min-height: 260px; }
.dark-photo-card { margin: 4px 0 0; padding: 10px; border-radius: 24px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.dark-photo-card img { width: 100%; aspect-ratio: 21 / 7.5; object-fit: cover; object-position: center; border-radius: 18px; }
.photo-section { background: linear-gradient(180deg, var(--white), var(--blue-050)); }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.photo-card { position: relative; margin: 0; min-height: 300px; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--navy-900); box-shadow: 0 14px 38px rgba(7,20,38,.09); }
.photo-card img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; transition: transform .35s ease; }
.photo-card:hover img { transform: scale(1.035); }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,20,38,.86)); pointer-events: none; }
.photo-card figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; color: var(--white); font-size: 20px; font-weight: 900; }
.section-photo-wide { margin: 0 0 28px; padding: 12px; border-radius: var(--radius-xl); background: var(--white); border: 1px solid var(--line); box-shadow: 0 14px 38px rgba(7,20,38,.07); overflow: hidden; }
.section-photo-wide img { width: 100%; aspect-ratio: 21 / 7.6; object-fit: cover; object-position: center; border-radius: 22px; }
.contact-photo { margin-bottom: 30px; }

@media (max-width: 1040px) {
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-photo-wide img { aspect-ratio: 16 / 8; }
}
@media (max-width: 760px) {
  .photo-grid { grid-template-columns: 1fr; }
  .photo-card, .photo-card img { min-height: 240px; }
  .inner-hero-image .photo-image { min-height: 220px; }
  .section-photo-wide { padding: 8px; border-radius: 22px; }
  .section-photo-wide img { aspect-ratio: 16 / 10; border-radius: 16px; }
}
