/*
Theme Name: Root IT Theme
Author: Root IT
Version: 1.0
Text Domain: rootit
*/

/* ================================
   Base
================================ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #111827;
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin-top: 0;
}

ul {
  margin-top: 0;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.muted {
  color: #6b7280;
  line-height: 1.5;
}

/* ================================
   Buttons
================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 10px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.25);
  background: #1d4ed8;
}

.btn-secondary {
  background: #f3f4f6;
  color: #111827;
}

.btn-secondary:hover {
  background: #e5e7eb;
  box-shadow: none;
}

/* ================================
   Header
================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-logo {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 800;
  color: #111827;
}

.site-nav {
  display: flex;
  align-items: center;
}

.site-nav ul,
.site-nav .menu {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: #2563eb;
}

/* ================================
   Cards / Grids
================================ */

.card {
  padding: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ================================
   Eyebrow
================================ */

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #e0ecff;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 700;
}

/* ================================
   Hero
================================ */

.hero {
  padding: 96px 0;
  background: #f8fafc;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  max-width: 720px;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}

.hero p {
  max-width: 680px;
  font-size: 20px;
  line-height: 1.5;
  color: #4b5563;
  margin: 0 0 32px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero__facts span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
}

.hero-card {
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.hero-card h3 {
  margin-top: 0;
}

.hero-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.hero-card li {
  margin-bottom: 10px;
  line-height: 1.4;
}

/* ================================
   Section Head
================================ */

.section-head {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 32px;
}

.section-head h2 {
  max-width: 720px;
  margin: 12px 0 0;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.5;
}

/* ================================
   Services
================================ */

.services {
  background: #ffffff;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card h3 {
  margin-top: 0;
}

.service-card p {
  color: #4b5563;
  line-height: 1.45;
}

.service-card span {
  margin-top: auto;
  color: #2563eb;
  font-weight: 700;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

/* ================================
   Audience
================================ */

.audience {
  background: #f8fafc;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.audience-card {
  padding: 28px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.audience-card__icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #eff6ff;
  font-size: 24px;
}

.audience-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.audience-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.5;
}

.audience-card--accent {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.audience-card--accent p {
  color: #dbeafe;
}

.audience-card--accent .audience-card__icon {
  background: rgba(255, 255, 255, 0.16);
}

/* ================================
   Footer
================================ */

.site-footer {
  padding: 56px 0 28px;
  background: #111827;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  gap: 48px;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
}

.footer-brand p {
  max-width: 420px;
  margin: 0;
  color: #d1d5db;
  line-height: 1.55;
}

.footer-contacts {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.footer-contacts a,
.footer-contacts span {
  color: #ffffff;
  font-weight: 700;
}

.footer-col h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 16px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  color: #d1d5db;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9ca3af;
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}
/* ================================
   Responsive
================================ */

@media (max-width: 1100px) {
  .site-nav ul,
  .site-nav .menu {
    gap: 14px;
  }

  .site-nav a {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 46px;
  }
}

@media (max-width: 900px) {
  .site-header__inner {
    height: auto;
    min-height: 72px;
    padding: 16px 0;
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding: 72px 0;
  }

  .hero__grid,
  .grid-3,
  .audience-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    gap: 32px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 18px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    gap: 16px;
  }

  .section-head h2 {
    font-size: 30px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding: 56px 0;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .site-header .btn {
    display: none;
  }

  .card,
  .audience-card {
    padding: 22px;
  }
}

/* ================================
   Process
================================ */

.process {
  background: #ffffff;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.process-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 28px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.process-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.process-item__number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 18px;
  font-weight: 800;
}

.process-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.process-item p {
  margin: 0;
  color: #4b5563;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .process-list {
    grid-template-columns: 1fr;
  }

  .process-item {
    grid-template-columns: 56px 1fr;
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .process-item {
    grid-template-columns: 1fr;
  }
}

/* ================================
   Cases
================================ */

.cases {
  background: #f8fafc;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.case-card__tag {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
}

.case-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.2;
}

.case-card p {
  color: #4b5563;
  line-height: 1.5;
}

.case-card ul {
  margin: 4px 0 20px;
  padding-left: 20px;
  color: #374151;
}

.case-card li {
  margin-bottom: 8px;
  line-height: 1.4;
}

.case-card__result {
  margin-top: auto;
  padding: 16px;
  border-radius: 16px;
  background: #f8fafc;
  color: #111827;
  font-weight: 700;
  line-height: 1.45;
}

.cases-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 32px;
  padding: 28px;
  border-radius: 22px;
  background: #111827;
  color: #ffffff;
}

.cases-cta h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.cases-cta p {
  margin: 0;
  color: #d1d5db;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .cases-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ================================
   Why
================================ */

.why {
  background: #ffffff;
}

.why-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
}

.why-main {
  padding: 34px;
  border-radius: 24px;
  background: #111827;
  color: #ffffff;
}

.why-main h3 {
  max-width: 560px;
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.why-main p {
  margin: 0;
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.55;
}

.why-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 34px;
}

.why-stats div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.why-stats strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 24px;
}

.why-stats span {
  color: #d1d5db;
  line-height: 1.4;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-item {
  padding: 28px;
  border-radius: 22px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.why-item h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.why-item p {
  margin: 0;
  color: #4b5563;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .why-layout,
  .why-list {
    grid-template-columns: 1fr;
  }

  .why-main h3 {
    font-size: 26px;
  }
}

/* ================================
   Final CTA
================================ */

.final-cta {
  background: #f8fafc;
}

.final-cta__box {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 36px;
  padding: 42px;
  border-radius: 28px;
  background: #111827;
  color: #ffffff;
}

.final-cta__content h2 {
  max-width: 680px;
  margin: 12px 0 18px;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.final-cta__content p {
  max-width: 680px;
  margin: 0;
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.55;
}

.final-cta__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.final-cta__contacts a {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 700;
}

.final-form {
  padding: 26px;
  border-radius: 22px;
  background: #ffffff;
  color: #111827;
}

.final-form label {
  display: block;
  margin-bottom: 16px;
}

.final-form span {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 700;
}

.final-form input,
.final-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  outline: none;
  font: inherit;
  color: #111827;
  background: #ffffff;
}

.final-form textarea {
  resize: vertical;
}

.final-form input:focus,
.final-form textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.final-form .btn {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.final-form__note {
  margin: 14px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .final-cta__box {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .final-cta__content h2 {
    font-size: 30px;
  }
}

@media (max-width: 560px) {
  .final-cta__box {
    padding: 22px;
  }

  .final-form {
    padding: 20px;
  }
}

.form-hidden {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-alert {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.form-alert--success {
  background: #dcfce7;
  color: #166534;
}

.form-alert--error {
  background: #fee2e2;
  color: #991b1b;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

/* ================================
   Service Page
================================ */

.service-hero {
  padding: 96px 0;
  background: #f8fafc;
}

.service-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.service-hero h1 {
  max-width: 780px;
  margin: 0 0 24px;
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.service-hero p {
  max-width: 680px;
  margin: 0 0 32px;
  color: #4b5563;
  font-size: 20px;
  line-height: 1.5;
}

.service-hero__card {
  padding: 32px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.service-hero__card h3 {
  margin: 0 0 16px;
  font-size: 24px;
}

.service-hero__card ul {
  margin: 0;
  padding-left: 20px;
}

.service-hero__card li {
  margin-bottom: 10px;
  color: #374151;
  line-height: 1.45;
}

.included-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.included-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 28px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.included-item span {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 800;
}

.included-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.included-item p {
  margin: 0;
  color: #4b5563;
  line-height: 1.5;
}

.configs {
  background: #f8fafc;
}

.configs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.config-card {
  padding: 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #111827;
  font-size: 18px;
  font-weight: 800;
}

.price {
  background: #f8fafc;
}

.price-box {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 32px;
  align-items: stretch;
  padding: 38px;
  border-radius: 28px;
  background: #111827;
  color: #ffffff;
}

.price-box h2 {
  max-width: 680px;
  margin: 12px 0 18px;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.price-box p {
  max-width: 680px;
  margin: 0;
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.55;
}

.price-card {
  padding: 28px;
  border-radius: 22px;
  background: #ffffff;
  color: #111827;
}

.price-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.price-card p {
  margin: 0 0 24px;
  color: #4b5563;
  font-size: 16px;
}

.service-request__note {
  padding: 26px;
  border-radius: 22px;
  background: #ffffff;
  color: #111827;
}

.service-request__note h3 {
  margin: 0 0 16px;
  font-size: 24px;
}

.service-request__note ul {
  margin: 0 0 24px;
  padding-left: 20px;
  color: #374151;
}

.service-request__note li {
  margin-bottom: 10px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .service-hero__grid,
  .included-list,
  .configs-grid,
  .price-box {
    grid-template-columns: 1fr;
  }

  .service-hero {
    padding: 72px 0;
  }

  .service-hero h1 {
    font-size: 38px;
  }

  .service-hero p {
    font-size: 18px;
  }

  .price-box h2 {
    font-size: 30px;
  }
}

@media (max-width: 560px) {
  .service-hero {
    padding: 56px 0;
  }

  .service-hero h1 {
    font-size: 34px;
  }

  .included-item {
    grid-template-columns: 1fr;
  }
}

/* ================================
   Contacts Page
================================ */

.contacts-hero {
  padding: 96px 0;
  background: #f8fafc;
}

.contacts-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.contacts-hero h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.contacts-hero p {
  max-width: 680px;
  margin: 0 0 32px;
  color: #4b5563;
  font-size: 20px;
  line-height: 1.5;
}

.contacts-card {
  padding: 32px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.contacts-card h3 {
  margin: 0 0 22px;
  font-size: 28px;
}

.contacts-list {
  display: grid;
  gap: 18px;
}

.contacts-list div {
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
}

.contacts-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contacts-list span {
  display: block;
  margin-bottom: 6px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 700;
}

.contacts-list a {
  color: #2563eb;
  font-size: 20px;
  font-weight: 800;
}

.contacts-list p {
  margin: 0;
  color: #111827;
  font-size: 18px;
  line-height: 1.45;
}

.contacts-message {
  background: #f8fafc;
}

.contacts-message__box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
  padding: 38px;
  border-radius: 28px;
  background: #111827;
  color: #ffffff;
}

.contacts-message__box h2 {
  margin: 12px 0 18px;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.contacts-message__box p {
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.55;
}

.contacts-message__box a {
  color: #ffffff;
  font-weight: 800;
}

.message-template {
  padding: 26px;
  border-radius: 22px;
  background: #ffffff;
  color: #111827;
}

.message-template p {
  margin: 0 0 12px;
  color: #374151;
  font-size: 16px;
}

.message-template p:last-child {
  margin-bottom: 0;
}

.message-template strong {
  color: #111827;
}

@media (max-width: 900px) {
  .contacts-hero__grid,
  .contacts-message__box {
    grid-template-columns: 1fr;
  }

  .contacts-hero {
    padding: 72px 0;
  }

  .contacts-hero h1 {
    font-size: 38px;
  }

  .contacts-hero p {
    font-size: 18px;
  }

  .contacts-message__box h2 {
    font-size: 30px;
  }
}

@media (max-width: 560px) {
  .contacts-hero {
    padding: 56px 0;
  }

  .contacts-hero h1 {
    font-size: 34px;
  }

  .contacts-message__box {
    padding: 22px;
  }
}

/* ================================
   Mobile Menu
================================ */

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu {
  display: none;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}

.mobile-menu .container {
  padding-top: 16px;
  padding-bottom: 18px;
}

.mobile-menu__list {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.mobile-menu__list li {
  list-style: none;
}

.mobile-menu__list a {
  display: block;
  padding: 12px 0;
  color: #111827;
  font-size: 17px;
  font-weight: 700;
  border-bottom: 1px solid #f3f4f6;
}

.mobile-menu-open .mobile-menu {
  display: block;
}

.mobile-menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-header__cta {
    display: none;
  }
}

/* ================================
   About Page
================================ */

.about-hero {
  padding: 96px 0;
  background: #f8fafc;
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.about-hero h1 {
  max-width: 820px;
  margin: 0 0 24px;
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.about-hero p {
  max-width: 700px;
  margin: 0;
  color: #4b5563;
  font-size: 20px;
  line-height: 1.5;
}

.about-card {
  padding: 32px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.about-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
}

.about-card ul {
  margin: 0;
  padding-left: 20px;
}

.about-card li {
  margin-bottom: 10px;
  color: #374151;
  line-height: 1.45;
}

.about-text__box {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  padding: 38px;
  border-radius: 28px;
  background: #111827;
  color: #ffffff;
}

.about-text__box h2 {
  margin: 12px 0 0;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.about-text__box p {
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.6;
}

.about-text__box p:last-child {
  margin-bottom: 0;
}

.about-directions {
  background: #f8fafc;
}

@media (max-width: 900px) {
  .about-hero__grid,
  .about-text__box {
    grid-template-columns: 1fr;
  }

  .about-hero {
    padding: 72px 0;
  }

  .about-hero h1 {
    font-size: 38px;
  }

  .about-hero p {
    font-size: 18px;
  }

  .about-text__box {
    gap: 24px;
    padding: 28px;
  }

  .about-text__box h2 {
    font-size: 30px;
  }
}

@media (max-width: 560px) {
  .about-hero {
    padding: 56px 0;
  }

  .about-hero h1 {
    font-size: 34px;
  }

  .about-text__box {
    padding: 22px;
  }
}

/* ================================
   Cases Page
================================ */

.cases-page-hero {
  padding: 96px 0;
  background: #f8fafc;
}

.cases-page-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.cases-page-hero h1 {
  max-width: 820px;
  margin: 0 0 24px;
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.cases-page-hero p {
  max-width: 700px;
  margin: 0 0 32px;
  color: #4b5563;
  font-size: 20px;
  line-height: 1.5;
}

.cases-page-card {
  padding: 32px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.cases-page-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
}

.cases-page-card ul {
  margin: 0;
  padding-left: 20px;
}

.cases-page-card li {
  margin-bottom: 10px;
  color: #374151;
  line-height: 1.45;
}

.cases-page-list {
  background: #ffffff;
}

.case-full {
  padding: 32px;
  border-radius: 24px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.case-full + .case-full {
  margin-top: 24px;
}

.case-full__top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.case-full__top h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.case-full__top > span {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: #2563eb;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.case-full__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 24px;
}

.case-full h4 {
  margin: 0 0 10px;
  font-size: 18px;
}

.case-full p {
  margin: 0;
  color: #4b5563;
  line-height: 1.55;
}

.case-full ul {
  margin: 0;
  padding-left: 20px;
  color: #374151;
}

.case-full li {
  margin-bottom: 8px;
  line-height: 1.45;
}

.cases-page-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-top: 32px;
  padding: 34px;
  border-radius: 28px;
  background: #111827;
  color: #ffffff;
}

.cases-page-cta h2 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.15;
}

.cases-page-cta p {
  max-width: 720px;
  margin: 0;
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .cases-page-hero__grid,
  .case-full__grid {
    grid-template-columns: 1fr;
  }

  .cases-page-hero {
    padding: 72px 0;
  }

  .cases-page-hero h1 {
    font-size: 38px;
  }

  .cases-page-hero p {
    font-size: 18px;
  }

  .case-full__top {
    flex-direction: column;
  }

  .cases-page-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .cases-page-hero {
    padding: 56px 0;
  }

  .cases-page-hero h1 {
    font-size: 34px;
  }

  .case-full,
  .cases-page-cta {
    padding: 22px;
  }

  .case-full__top h3 {
    font-size: 24px;
  }
}

/* ================================
   Legal Page
================================ */

.legal-page {
  padding: 86px 0;
  background: #f8fafc;
}

.legal-page__header {
  max-width: 820px;
  margin-bottom: 36px;
}

.legal-page__header h1 {
  margin: 12px 0 18px;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.legal-page__header p {
  margin: 0;
  color: #4b5563;
  font-size: 20px;
  line-height: 1.5;
}

.legal-content {
  max-width: 900px;
  padding: 36px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.legal-content h2 {
  margin: 32px 0 14px;
  font-size: 24px;
  line-height: 1.25;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: #374151;
  font-size: 17px;
  line-height: 1.65;
}

.legal-content ul {
  padding-left: 22px;
}

.legal-content a {
  color: #2563eb;
  font-weight: 700;
}

.legal-content__date {
  margin-top: 36px;
  color: #6b7280;
  font-size: 15px;
}

@media (max-width: 900px) {
  .legal-page {
    padding: 64px 0;
  }

  .legal-page__header h1 {
    font-size: 38px;
  }

  .legal-page__header p {
    font-size: 18px;
  }

  .legal-content {
    padding: 26px;
  }
}

@media (max-width: 560px) {
  .legal-page {
    padding: 48px 0;
  }

  .legal-page__header h1 {
    font-size: 34px;
  }

  .legal-content {
    padding: 22px;
  }
}

.consent-checkbox {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0 18px;
  color: #374151;
  font-size: 13px;
  line-height: 1.4;
}

.consent-checkbox input {
  width: auto;
  flex-shrink: 0;
  margin-top: 3px;
}

.consent-checkbox span {
  display: block;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
}

.consent-checkbox a {
  color: #2563eb;
  font-weight: 700;
}

/* ================================
   Services Page
================================ */

.services-page {
  background: #ffffff;
}

.services-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-large-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 30px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-large-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.service-large-card__icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 16px;
  background: #eff6ff;
  font-size: 24px;
}

.service-large-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.service-large-card p {
  margin: 0 0 22px;
  color: #4b5563;
  line-height: 1.5;
}

.service-large-card span {
  margin-top: auto;
  color: #2563eb;
  font-weight: 800;
}

@media (max-width: 900px) {
  .services-page-grid {
    grid-template-columns: 1fr;
  }

  .service-large-card {
    min-height: auto;
  }
}
/* ================================
   404 Page
================================ */

.not-found-page {
  padding: 110px 0;
  background: #f8fafc;
}

.not-found-page__box {
  max-width: 760px;
  padding: 42px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.not-found-page h1 {
  margin: 12px 0 18px;
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.not-found-page p {
  margin: 0 0 28px;
  color: #4b5563;
  font-size: 20px;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .not-found-page {
    padding: 64px 0;
  }

  .not-found-page__box {
    padding: 24px;
  }

  .not-found-page h1 {
    font-size: 38px;
  }

  .not-found-page p {
    font-size: 18px;
  }
}

/* ================================
   Home Contrast Update
================================ */

/* Первый экран — более контрастный */
.home .hero,
.hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.28), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(59, 130, 246, 0.18), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #111827 58%, #1e3a8a 100%);
  color: #ffffff;
}

.hero h1 {
  color: #ffffff;
}

.hero p {
  color: #d1d5db;
}

.hero .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #dbeafe;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__facts span {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Правая карточка на первом экране */
.hero-card {
  border: 0;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.hero-card h3 {
  color: #111827;
}

.hero-card .muted {
  color: #4b5563;
}

.hero-card li {
  color: #374151;
}

/* Блок услуг — чуть плотнее и выразительнее */
.services {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.services .section-head {
  padding: 34px;
  border-radius: 28px;
  background: #111827;
  color: #ffffff;
}

.services .section-head h2 {
  color: #ffffff;
}

.services .section-head p {
  color: #d1d5db;
}

.services .section-head .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #dbeafe;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.service-card {
  border: 1px solid #dbeafe;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.service-card h3 {
  color: #111827;
}

.service-card:hover {
  border-color: #2563eb;
  box-shadow: 0 22px 50px rgba(37, 99, 235, 0.14);
}

/* Блок "для кого" тоже чуть выразительнее */
.audience {
  background: #eef4ff;
}

.audience-card {
  border-color: #dbeafe;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.audience-card:hover {
  border-color: #2563eb;
  box-shadow: 0 22px 50px rgba(37, 99, 235, 0.12);
}

.audience-card--accent {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.2), transparent 30%),
    linear-gradient(135deg, #2563eb 0%, #1d4ed8 55%, #1e3a8a 100%);
  border-color: #1d4ed8;
  box-shadow: 0 22px 50px rgba(37, 99, 235, 0.22);
}

/* Мобильная корректировка */
@media (max-width: 900px) {
  .services .section-head {
    padding: 26px;
  }
}

@media (max-width: 560px) {
  .services .section-head {
    padding: 22px;
  }
}

.hero .btn:not(.btn-secondary) {
  background: #3b82f6;
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.35);
}

.hero .btn:not(.btn-secondary):hover {
  background: #60a5fa;
  box-shadow: 0 22px 50px rgba(59, 130, 246, 0.45);
}

/* ================================
   Global Contrast Update for Inner Pages
================================ */

/* Общий темный hero для всех внутренних страниц */
.service-hero,
.contacts-hero,
.about-hero,
.cases-page-hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(37, 99, 235, 0.28), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(59, 130, 246, 0.18), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #111827 58%, #1e3a8a 100%);
  color: #ffffff;
}

.service-hero h1,
.contacts-hero h1,
.about-hero h1,
.cases-page-hero h1 {
  color: #ffffff;
}

.service-hero p,
.contacts-hero p,
.about-hero p,
.cases-page-hero p {
  color: #d1d5db;
}

.service-hero .eyebrow,
.contacts-hero .eyebrow,
.about-hero .eyebrow,
.cases-page-hero .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #dbeafe;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Вторичные кнопки на темном фоне */
.service-hero .btn-secondary,
.contacts-hero .btn-secondary,
.about-hero .btn-secondary,
.cases-page-hero .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.service-hero .btn-secondary:hover,
.contacts-hero .btn-secondary:hover,
.about-hero .btn-secondary:hover,
.cases-page-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Главные кнопки на темных hero */
.service-hero .btn:not(.btn-secondary),
.contacts-hero .btn:not(.btn-secondary),
.about-hero .btn:not(.btn-secondary),
.cases-page-hero .btn:not(.btn-secondary) {
  background: #3b82f6;
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.35);
}

.service-hero .btn:not(.btn-secondary):hover,
.contacts-hero .btn:not(.btn-secondary):hover,
.about-hero .btn:not(.btn-secondary):hover,
.cases-page-hero .btn:not(.btn-secondary):hover {
  background: #60a5fa;
  box-shadow: 0 22px 50px rgba(59, 130, 246, 0.45);
}

/* Белые карточки справа в hero внутренних страниц */
.service-hero__card,
.contacts-card,
.about-card,
.cases-page-card {
  border: 0;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.service-hero__card h3,
.contacts-card h3,
.about-card h3,
.cases-page-card h3 {
  color: #111827;
}

.service-hero__card li,
.contacts-card li,
.about-card li,
.cases-page-card li {
  color: #374151;
}

.contacts-card p,
.contacts-list p {
  color: #111827;
}

.contacts-list span {
  color: #6b7280;
}

/* Темные заголовочные блоки секций на внутренних страницах */
.service-problems .section-head,
.service-included .section-head,
.configs .section-head,
.service-process .section-head,
.contacts-hero + .contact-info .section-head,
.about-directions .section-head,
.about-principles .section-head,
.cases-page-list .section-head,
.services-page .section-head {
  padding: 34px;
  border-radius: 28px;
  background: #111827;
  color: #ffffff;
}

.service-problems .section-head h2,
.service-included .section-head h2,
.configs .section-head h2,
.service-process .section-head h2,
.contact-info .section-head h2,
.about-directions .section-head h2,
.about-principles .section-head h2,
.cases-page-list .section-head h2,
.services-page .section-head h2 {
  color: #ffffff;
}

.service-problems .section-head p,
.service-included .section-head p,
.configs .section-head p,
.service-process .section-head p,
.contact-info .section-head p,
.about-directions .section-head p,
.about-principles .section-head p,
.cases-page-list .section-head p,
.services-page .section-head p {
  color: #d1d5db;
}

.service-problems .section-head .eyebrow,
.service-included .section-head .eyebrow,
.configs .section-head .eyebrow,
.service-process .section-head .eyebrow,
.contact-info .section-head .eyebrow,
.about-directions .section-head .eyebrow,
.about-principles .section-head .eyebrow,
.cases-page-list .section-head .eyebrow,
.services-page .section-head .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #dbeafe;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Более выразительные карточки на всех страницах */
.card,
.included-item,
.process-item,
.case-card,
.case-full,
.service-large-card,
.config-card {
  border-color: #dbeafe;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.card:hover,
.included-item:hover,
.process-item:hover,
.case-card:hover,
.case-full:hover,
.service-large-card:hover,
.config-card:hover {
  border-color: #2563eb;
  box-shadow: 0 22px 50px rgba(37, 99, 235, 0.12);
}

/* Светло-синий фон для чередования секций */
.service-problems,
.configs,
.price,
.contacts-message,
.about-directions,
.cases-page-list,
.services-page,
.not-found-page {
  background: #eef4ff;
}

/* Белые секции для ритма */
.service-included,
.service-process,
.about-principles,
.contact-info {
  background: #ffffff;
}

/* Страница политики — тоже чуть контрастнее, но без темного тяжелого блока */
.legal-page {
  background:
    radial-gradient(circle at 15% 12%, rgba(37, 99, 235, 0.18), transparent 28%),
    linear-gradient(180deg, #eef4ff 0%, #f8fafc 42%, #ffffff 100%);
}

.legal-page__header {
  padding: 34px;
  border-radius: 28px;
  background: #111827;
  color: #ffffff;
}

.legal-page__header h1 {
  color: #ffffff;
}

.legal-page__header p {
  color: #d1d5db;
}

.legal-page__header .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #dbeafe;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.legal-content {
  border-color: #dbeafe;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

/* Блоки CTA на внутренних страницах */
.service-request .final-cta__box,
.contacts-message__box,
.about-text__box,
.price-box,
.cases-page-cta {
  background:
    radial-gradient(circle at 12% 20%, rgba(37, 99, 235, 0.24), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #111827 58%, #1e3a8a 100%);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18);
}

/* Страница услуг — карточки как полноценные плитки */
.service-large-card {
  border-color: #dbeafe;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.service-large-card:hover {
  border-color: #2563eb;
  box-shadow: 0 22px 50px rgba(37, 99, 235, 0.14);
}

.service-large-card__icon,
.included-item span,
.process-item__number {
  background: #dbeafe;
  color: #1d4ed8;
}

/* Мобильные корректировки */
@media (max-width: 900px) {
  .service-problems .section-head,
  .service-included .section-head,
  .configs .section-head,
  .service-process .section-head,
  .contact-info .section-head,
  .about-directions .section-head,
  .about-principles .section-head,
  .cases-page-list .section-head,
  .services-page .section-head,
  .legal-page__header {
    padding: 26px;
  }
}

@media (max-width: 560px) {
  .service-problems .section-head,
  .service-included .section-head,
  .configs .section-head,
  .service-process .section-head,
  .contact-info .section-head,
  .about-directions .section-head,
  .about-principles .section-head,
  .cases-page-list .section-head,
  .services-page .section-head,
  .legal-page__header {
    padding: 22px;
  }
}

/* ================================
   Stronger Individual Page Identity
================================ */

/* Общая декоративная сетка для внутренних hero */
.service-hero::before,
.contacts-hero::before,
.about-hero::before,
.cases-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 78%, transparent 100%);
}

.service-hero .container,
.contacts-hero .container,
.about-hero .container,
.cases-page-hero .container {
  position: relative;
  z-index: 1;
}

/* УСЛУГИ — центральная развилка, более чистый корпоративный синий */
.page-template-page-uslugi .service-hero {
  background:
    linear-gradient(115deg, rgba(15, 23, 42, 0.92), rgba(23, 37, 84, 0.78)),
    radial-gradient(circle at 8% 16%, rgba(96, 165, 250, 0.52), transparent 26%),
    radial-gradient(circle at 88% 76%, rgba(37, 99, 235, 0.42), transparent 32%),
    #0f172a;
}

.page-template-page-uslugi .service-hero::before {
  opacity: 0.24;
  background-size: 42px 42px;
}

/* ВНЕДРЕНИЕ — “запуск проекта”, диагональный свет */
.page-template-page-vnedrenie-1s .service-hero {
  background:
    linear-gradient(128deg, rgba(2, 6, 23, 0.92) 0%, rgba(17, 24, 39, 0.9) 42%, rgba(29, 78, 216, 0.86) 100%),
    radial-gradient(circle at 18% 18%, rgba(37, 99, 235, 0.55), transparent 28%),
    radial-gradient(circle at 72% 38%, rgba(147, 197, 253, 0.22), transparent 24%);
}

.page-template-page-vnedrenie-1s .service-hero::before {
  opacity: 0.16;
  transform: rotate(-8deg) scale(1.2);
  background-size: 62px 62px;
}

/* ДОРАБОТКА — технический графит, ощущение “мастерской” */
.page-template-page-dorabotka-1s .service-hero {
  background:
    radial-gradient(circle at 12% 82%, rgba(14, 165, 233, 0.35), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(37, 99, 235, 0.34), transparent 30%),
    linear-gradient(145deg, #020617 0%, #111827 50%, #075985 100%);
}

.page-template-page-dorabotka-1s .service-hero::before {
  opacity: 0.12;
  background-size: 34px 34px;
}

/* ИНТЕГРАЦИИ — больше “сетей”, голубой API-акцент */
.page-template-page-integratsii-1s .service-hero {
  background:
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.55), transparent 24%),
    radial-gradient(circle at 75% 30%, rgba(59, 130, 246, 0.32), transparent 26%),
    radial-gradient(circle at 88% 84%, rgba(14, 165, 233, 0.30), transparent 30%),
    linear-gradient(135deg, #082f49 0%, #0f172a 48%, #1e40af 100%);
}

.page-template-page-integratsii-1s .service-hero::before {
  opacity: 0.28;
  background-size: 48px 48px;
}

.page-template-page-integratsii-1s .service-hero::after {
  border-color: rgba(56, 189, 248, 0.10);
}

/* СОПРОВОЖДЕНИЕ — спокойный надежный navy */
.page-template-page-soprovozhdenie-1s .service-hero {
  background:
    radial-gradient(circle at 18% 24%, rgba(96, 165, 250, 0.30), transparent 28%),
    radial-gradient(circle at 84% 24%, rgba(30, 64, 175, 0.35), transparent 34%),
    linear-gradient(135deg, #111827 0%, #1e293b 56%, #172554 100%);
}

.page-template-page-soprovozhdenie-1s .service-hero::before {
  opacity: 0.10;
  background-size: 72px 72px;
}

/* АУДИТ — холодный аналитический teal-blue */
.page-template-page-audit-1s .service-hero {
  background:
    radial-gradient(circle at 13% 18%, rgba(34, 211, 238, 0.36), transparent 25%),
    radial-gradient(circle at 82% 72%, rgba(37, 99, 235, 0.34), transparent 32%),
    linear-gradient(135deg, #0f172a 0%, #164e63 48%, #1d4ed8 100%);
}

.page-template-page-audit-1s .service-hero::before {
  opacity: 0.20;
  background-size: 38px 38px;
}

/* ОБУЧЕНИЕ — мягче, светлее, дружелюбнее */
.page-template-page-obuchenie-1s .service-hero {
  background:
    radial-gradient(circle at 12% 20%, rgba(186, 230, 253, 0.32), transparent 26%),
    radial-gradient(circle at 82% 22%, rgba(96, 165, 250, 0.32), transparent 28%),
    linear-gradient(135deg, #172554 0%, #1e3a8a 42%, #2563eb 100%);
}

.page-template-page-obuchenie-1s .service-hero::before {
  opacity: 0.16;
  background-size: 80px 80px;
}

/* КОНТАКТЫ — самый активный, конверсионный */
.page-template-page-kontakty .contacts-hero {
  background:
    radial-gradient(circle at 16% 20%, rgba(96, 165, 250, 0.58), transparent 26%),
    radial-gradient(circle at 78% 18%, rgba(147, 197, 253, 0.34), transparent 26%),
    radial-gradient(circle at 92% 88%, rgba(37, 99, 235, 0.42), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #1e3a8a 44%, #2563eb 100%);
}

.page-template-page-kontakty .contacts-hero::before {
  opacity: 0.22;
}

/* О КОМПАНИИ — строгий, почти черный корпоративный */
.page-template-page-o-kompanii .about-hero {
  background:
    radial-gradient(circle at 14% 18%, rgba(37, 99, 235, 0.26), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(30, 64, 175, 0.20), transparent 26%),
    linear-gradient(135deg, #020617 0%, #0f172a 58%, #172554 100%);
}

.page-template-page-o-kompanii .about-hero::before {
  opacity: 0.08;
}

/* КЕЙСЫ — более динамичный, “результаты и движение” */
.page-template-page-keysy .cases-page-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(37, 99, 235, 0.44), transparent 26%),
    radial-gradient(circle at 84% 28%, rgba(56, 189, 248, 0.30), transparent 28%),
    linear-gradient(120deg, #0f172a 0%, #1e293b 36%, #1d4ed8 100%);
}

.page-template-page-keysy .cases-page-hero::before {
  opacity: 0.26;
  transform: rotate(7deg) scale(1.12);
}

/* Политика — отдельный спокойный документный стиль */
.page-template-page-politika-konfidentsialnosti .legal-page {
  background:
    radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.18), transparent 24%),
    radial-gradient(circle at 90% 8%, rgba(14, 165, 233, 0.14), transparent 24%),
    linear-gradient(180deg, #eaf2ff 0%, #f8fafc 44%, #ffffff 100%);
}

.page-template-page-politika-konfidentsialnosti .legal-page__header {
  background:
    radial-gradient(circle at 12% 20%, rgba(37, 99, 235, 0.26), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #111827 52%, #1e3a8a 100%);
}

/* Разные акценты у правых карточек */
.page-template-page-uslugi .service-hero__card {
  box-shadow: 0 30px 90px rgba(59, 130, 246, 0.24);
}

.page-template-page-vnedrenie-1s .service-hero__card {
  box-shadow: 0 30px 90px rgba(37, 99, 235, 0.30);
}

.page-template-page-dorabotka-1s .service-hero__card {
  box-shadow: 0 30px 90px rgba(2, 6, 23, 0.42);
}

.page-template-page-integratsii-1s .service-hero__card {
  box-shadow: 0 30px 90px rgba(56, 189, 248, 0.28);
}

.page-template-page-soprovozhdenie-1s .service-hero__card {
  box-shadow: 0 30px 90px rgba(30, 41, 59, 0.34);
}

.page-template-page-audit-1s .service-hero__card {
  box-shadow: 0 30px 90px rgba(14, 165, 233, 0.24);
}

.page-template-page-obuchenie-1s .service-hero__card {
  box-shadow: 0 30px 90px rgba(96, 165, 250, 0.28);
}

.page-template-page-kontakty .contacts-card {
  box-shadow: 0 30px 90px rgba(37, 99, 235, 0.30);
}

.page-template-page-o-kompanii .about-card {
  box-shadow: 0 30px 90px rgba(2, 6, 23, 0.40);
}

.page-template-page-keysy .cases-page-card {
  box-shadow: 0 30px 90px rgba(56, 189, 248, 0.24);
}

/* Маленькая цветовая идентичность иконок/номеров на разных услугах */
.page-template-page-vnedrenie-1s .included-item span,
.page-template-page-vnedrenie-1s .process-item__number {
  background: #dbeafe;
  color: #1d4ed8;
}

.page-template-page-dorabotka-1s .included-item span,
.page-template-page-dorabotka-1s .process-item__number {
  background: #e0f2fe;
  color: #0369a1;
}

.page-template-page-integratsii-1s .included-item span,
.page-template-page-integratsii-1s .process-item__number {
  background: #cffafe;
  color: #0e7490;
}

.page-template-page-soprovozhdenie-1s .included-item span,
.page-template-page-soprovozhdenie-1s .process-item__number {
  background: #e0e7ff;
  color: #3730a3;
}

.page-template-page-audit-1s .included-item span,
.page-template-page-audit-1s .process-item__number {
  background: #ccfbf1;
  color: #0f766e;
}

.page-template-page-obuchenie-1s .included-item span,
.page-template-page-obuchenie-1s .process-item__number {
  background: #dbeafe;
  color: #2563eb;
}

/* ================================
   Individual Section Head Accents
================================ */

/* Базовое оформление для темных заголовочных блоков */
.service-problems .section-head,
.service-included .section-head,
.configs .section-head,
.service-process .section-head,
.contact-info .section-head,
.about-directions .section-head,
.about-principles .section-head,
.cases-page-list .section-head,
.services-page .section-head {
  position: relative;
  overflow: hidden;
}

/* Легкая декоративная подсветка внутри блока */
.service-problems .section-head::after,
.service-included .section-head::after,
.configs .section-head::after,
.service-process .section-head::after,
.contact-info .section-head::after,
.about-directions .section-head::after,
.about-principles .section-head::after,
.cases-page-list .section-head::after,
.services-page .section-head::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  pointer-events: none;
}

.service-problems .section-head > *,
.service-included .section-head > *,
.configs .section-head > *,
.service-process .section-head > *,
.contact-info .section-head > *,
.about-directions .section-head > *,
.about-principles .section-head > *,
.cases-page-list .section-head > *,
.services-page .section-head > * {
  position: relative;
  z-index: 1;
}

/* Услуги */
.page-template-page-uslugi .services-page .section-head {
  background:
    radial-gradient(circle at 88% 18%, rgba(59, 130, 246, 0.24), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #172554 58%, #1e3a8a 100%);
}

/* Внедрение 1С */
.page-template-page-vnedrenie-1s .section-head {
  background:
    radial-gradient(circle at 88% 18%, rgba(96, 165, 250, 0.22), transparent 30%),
    linear-gradient(135deg, #0b1220 0%, #111827 52%, #1d4ed8 100%);
}

/* Доработка 1С */
.page-template-page-dorabotka-1s .section-head {
  background:
    radial-gradient(circle at 86% 20%, rgba(14, 165, 233, 0.22), transparent 30%),
    linear-gradient(135deg, #020617 0%, #111827 58%, #075985 100%);
}

/* Интеграции 1С */
.page-template-page-integratsii-1s .section-head {
  background:
    radial-gradient(circle at 88% 18%, rgba(56, 189, 248, 0.30), transparent 30%),
    linear-gradient(135deg, #082f49 0%, #0f172a 52%, #1e40af 100%);
}

/* Сопровождение 1С */
.page-template-page-soprovozhdenie-1s .section-head {
  background:
    radial-gradient(circle at 88% 18%, rgba(96, 165, 250, 0.18), transparent 32%),
    linear-gradient(135deg, #111827 0%, #1e293b 54%, #172554 100%);
}

/* Аудит 1С */
.page-template-page-audit-1s .section-head {
  background:
    radial-gradient(circle at 88% 18%, rgba(34, 211, 238, 0.24), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #164e63 52%, #1d4ed8 100%);
}

/* Обучение 1С */
.page-template-page-obuchenie-1s .section-head {
  background:
    radial-gradient(circle at 88% 18%, rgba(186, 230, 253, 0.22), transparent 30%),
    linear-gradient(135deg, #172554 0%, #1e3a8a 50%, #2563eb 100%);
}

/* Контакты */
.page-template-page-kontakty .contact-info .section-head {
  background:
    radial-gradient(circle at 88% 18%, rgba(147, 197, 253, 0.26), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #1e3a8a 52%, #2563eb 100%);
}

/* О компании */
.page-template-page-o-kompanii .section-head {
  background:
    radial-gradient(circle at 88% 18%, rgba(37, 99, 235, 0.18), transparent 30%),
    linear-gradient(135deg, #020617 0%, #111827 58%, #172554 100%);
}

/* Кейсы */
.page-template-page-keysy .cases-page-list .section-head {
  background:
    radial-gradient(circle at 88% 18%, rgba(56, 189, 248, 0.24), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 42%, #1d4ed8 100%);
}

/* Разный цвет декоративной подсветки */
.page-template-page-vnedrenie-1s .section-head::after,
.page-template-page-uslugi .section-head::after {
  background: rgba(59, 130, 246, 0.18);
}

.page-template-page-dorabotka-1s .section-head::after {
  background: rgba(14, 165, 233, 0.16);
}

.page-template-page-integratsii-1s .section-head::after {
  background: rgba(56, 189, 248, 0.20);
}

.page-template-page-soprovozhdenie-1s .section-head::after {
  background: rgba(129, 140, 248, 0.14);
}

.page-template-page-audit-1s .section-head::after {
  background: rgba(34, 211, 238, 0.18);
}

.page-template-page-obuchenie-1s .section-head::after {
  background: rgba(147, 197, 253, 0.18);
}

.page-template-page-kontakty .section-head::after {
  background: rgba(147, 197, 253, 0.22);
}

.page-template-page-o-kompanii .section-head::after {
  background: rgba(30, 64, 175, 0.14);
}

.page-template-page-keysy .section-head::after {
  background: rgba(56, 189, 248, 0.18);
}

/* ================================
   Home Services Head Softer Accent
================================ */

.home .services .section-head {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.24), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(147, 197, 253, 0.34), transparent 32%),
    linear-gradient(135deg, #2563eb 0%, #1d4ed8 52%, #1e40af 100%);
  color: #ffffff;
  box-shadow: 0 22px 55px rgba(37, 99, 235, 0.18);
}

.home .services .section-head h2 {
  color: #ffffff;
}

.home .services .section-head p {
  color: #dbeafe;
}

.home .services .section-head .eyebrow {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

/* Если после прошлых правок внутри блока появился декоративный круг — делаем его мягче */
.home .services .section-head::after {
  background: rgba(255, 255, 255, 0.14);
}

/* ================================
   UNF Page
================================ */

.unf-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(59, 130, 246, 0.42), transparent 28%),
    radial-gradient(circle at 88% 70%, rgba(14, 165, 233, 0.26), transparent 32%),
    linear-gradient(135deg, #0f172a 0%, #172554 54%, #1d4ed8 100%);
}

.unf-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.unf-package {
  padding: 28px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.unf-package h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.unf-package p {
  margin: 0 0 18px;
  color: #4b5563;
  line-height: 1.5;
}

.unf-package ul {
  margin: 0;
  padding-left: 20px;
  color: #374151;
}

.unf-package li {
  margin-bottom: 8px;
  line-height: 1.45;
}

.unf-package--accent {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #2563eb 0%, #1d4ed8 58%, #1e3a8a 100%);
  color: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 22px 50px rgba(37, 99, 235, 0.22);
}

.unf-package--accent p,
.unf-package--accent li {
  color: #dbeafe;
}

@media (max-width: 900px) {
  .unf-packages {
    grid-template-columns: 1fr;
  }
}

/* ================================
   Header Dropdown Menu
================================ */

.site-nav .menu-item-has-children {
  position: relative;
}

.site-nav .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-nav .menu-item-has-children > a::after {
  content: "▾";
  display: inline-block;
  color: #6b7280;
  font-size: 12px;
  line-height: 1;
  transform: translateY(1px);
}

.site-nav .sub-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  z-index: 100;
  min-width: 260px;
  display: grid;
  gap: 0;
  padding: 10px;
  margin: 0;
  list-style: none;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.site-nav .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.site-nav .menu-item-has-children:hover > .sub-menu,
.site-nav .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav .sub-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav .sub-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: #111827;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav .sub-menu a:hover {
  background: #eff6ff;
  color: #2563eb;
}

/* Чтобы обычное горизонтальное меню не ломало подменю */
.site-nav ul.sub-menu,
.site-nav .menu .sub-menu {
  flex-direction: column;
  align-items: stretch;
}

/* Mobile submenu */
.mobile-menu .sub-menu {
  display: grid;
  gap: 4px;
  margin: 6px 0 0 14px;
  padding: 0 0 0 12px;
  border-left: 2px solid #dbeafe;
  list-style: none;
}

.mobile-menu .sub-menu a {
  padding: 9px 0;
  color: #374151;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 0;
}

.mobile-menu .sub-menu a:hover {
  color: #2563eb;
}

/* ================================
   UNF Price Cards
================================ */

.unf-price {
  background: #eef4ff;
}

.unf-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.unf-price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  padding: 30px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.unf-price-card h3 {
  margin: 0 0 22px;
  color: #111827;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.unf-price-card ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.unf-price-card li {
  position: relative;
  padding-left: 34px;
  color: #64748b;
  font-size: 16px;
  line-height: 1.45;
}

.unf-price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #111827;
  border-radius: 999px;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.unf-price-card__bottom {
  margin-top: 34px;
}

.unf-price-card__line {
  height: 1px;
  margin-bottom: 24px;
  background: #e5e7eb;
}

.unf-price-card__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.unf-price-card__price strong {
  color: #dc2626;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.unf-price-card__price span {
  color: #64748b;
  font-size: 15px;
  font-weight: 700;
}

.unf-price-card .btn {
  width: 100%;
  border: 0;
}

/* Акцентная средняя карточка */
.unf-price-card--accent {
  position: relative;
  border-color: #2563eb;
  box-shadow: 0 26px 70px rgba(37, 99, 235, 0.18);
  transform: translateY(-8px);
}

.unf-price-card__badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 900;
}

.unf-price-note {
  margin-top: 24px;
  padding: 22px 26px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #dbeafe;
}

.unf-price-note p {
  margin: 0;
  color: #4b5563;
  line-height: 1.55;
}

/* Адаптив */
@media (max-width: 1000px) {
  .unf-price-grid {
    grid-template-columns: 1fr;
  }

  .unf-price-card {
    min-height: auto;
  }

  .unf-price-card--accent {
    transform: none;
  }
}

@media (max-width: 560px) {
  .unf-price-card {
    padding: 24px;
  }

  .unf-price-card h3 {
    font-size: 24px;
  }

  .unf-price-card__price {
    flex-direction: column;
    gap: 6px;
  }

  .unf-price-card__price strong {
    font-size: 24px;
  }
}

/* ================================
   Home Hero Visual
================================ */

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.24);
  filter: blur(70px);
  pointer-events: none;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  height: auto;
  display: block;
  filter: drop-shadow(0 34px 70px rgba(0, 0, 0, 0.35));
}

@media (max-width: 900px) {
  .hero-visual {
    min-height: auto;
    margin-top: 12px;
  }

  .hero-visual img {
    width: min(100%, 420px);
  }
}

/* ================================
   Home Hero Visual Integration
================================ */

.home .hero__grid {
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 4% 0 0 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.34), transparent 58%);
  filter: blur(55px);
  opacity: 0.9;
  pointer-events: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.55) 72%);
  pointer-events: none;
  z-index: 2;
  opacity: 0.35;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(115%, 680px);
  max-width: none;
  height: auto;
  display: block;
  transform: translateX(26px) translateY(10px);
  mix-blend-mode: screen;
  filter:
    drop-shadow(0 34px 70px rgba(0, 0, 0, 0.38))
    saturate(1.05)
    contrast(1.04);
  border-radius: 0;
}

/* убираем ощущение квадратной картинки */
.hero-visual img {
  -webkit-mask-image:
    radial-gradient(circle at 50% 50%, #000 0%, #000 58%, rgba(0,0,0,0.72) 72%, transparent 88%);
  mask-image:
    radial-gradient(circle at 50% 50%, #000 0%, #000 58%, rgba(0,0,0,0.72) 72%, transparent 88%);
}

/* На главной тексту даем чуть больше воздуха */
.home .hero h1 {
  max-width: 760px;
}

.home .hero p {
  max-width: 720px;
}

/* Мобильная версия */
@media (max-width: 900px) {
  .home .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
    margin-top: 8px;
  }

  .hero-visual img {
    width: min(100%, 440px);
    transform: none;
  }
}

@media (max-width: 560px) {
  .hero-visual {
    min-height: 280px;
  }

  .hero-visual img {
    width: min(100%, 340px);
  }
}

/* ================================
   Strong Hero Card
================================ */

.hero-card--strong {
  padding: 30px;
  border: 0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 16% 12%, rgba(37, 99, 235, 0.10), transparent 32%),
    #ffffff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.hero-card__top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.hero-card__label {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-card--strong h3 {
  margin: 0;
  color: #111827;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-card__badge {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 18px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}

.hero-card__steps {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.hero-card__steps div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.hero-card__steps span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 900;
}

.hero-card__steps p {
  margin: 0;
  color: #111827;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.hero-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-card__chips span {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 560px) {
  .hero-card--strong {
    padding: 22px;
  }

  .hero-card--strong h3 {
    font-size: 24px;
  }
}

/* ================================
   UT Page
================================ */

.ut-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(56, 189, 248, 0.36), transparent 28%),
    radial-gradient(circle at 88% 70%, rgba(37, 99, 235, 0.30), transparent 32%),
    linear-gradient(135deg, #082f49 0%, #0f172a 54%, #1e40af 100%);
}

.ut-price {
  background: #eef4ff;
}

/* ================================
   Start Price Section
================================ */

.start-price {
  background: #eef4ff;
}

.start-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.start-price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  padding: 28px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.start-price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(37, 99, 235, 0.12);
}

.start-price-card h3 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.start-price-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.5;
}

.start-price-card__bottom {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.start-price-card__bottom strong {
  display: block;
  margin-bottom: 6px;
  color: #dc2626;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.start-price-card__bottom span {
  display: block;
  margin-bottom: 16px;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.start-price-card__bottom a {
  color: #2563eb;
  font-weight: 900;
}

.start-price-card__badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 900;
}

.start-price-card--accent {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #2563eb 0%, #1d4ed8 58%, #1e3a8a 100%);
  color: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 22px 50px rgba(37, 99, 235, 0.22);
}

.start-price-card--accent h3,
.start-price-card--accent p,
.start-price-card--accent .start-price-card__bottom span,
.start-price-card--accent .start-price-card__bottom a {
  color: #ffffff;
}

.start-price-card--accent .start-price-card__bottom {
  border-top-color: rgba(255, 255, 255, 0.18);
}

.start-price-card--accent .start-price-card__bottom strong {
  color: #ffffff;
}

.start-price-card--accent .start-price-card__badge {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.start-price-note {
  margin-top: 24px;
  padding: 22px 26px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #dbeafe;
}

.start-price-note p {
  margin: 0;
  color: #4b5563;
  line-height: 1.55;
}

@media (max-width: 1000px) {
  .start-price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .start-price-grid {
    grid-template-columns: 1fr;
  }

  .start-price-card {
    min-height: auto;
  }
}
/* ================================
   FINAL FIX: readable dark section heads
   2026-05-26
   Причина: ниже по CSS есть правило .page-template-page-dorabotka-1s .section-head,
   которое красит ВСЕ заголовочные блоки страницы в темный фон, но не добавляет
   padding / radius / z-index. Из-за этого блоки без специальных классов выглядят
   сжатыми, а заголовок попадает на границу темного фона.
================================ */

.page-template-page-vnedrenie-1s .section-head,
.page-template-page-vnedrenie-1s-unf .section-head,
.page-template-page-vnedrenie-1s-ut .section-head,
.page-template-page-vnedrenie-1s-ka .section-head,
.page-template-page-dorabotka-1s .section-head,
.page-template-page-integratsii-1s .section-head,
.page-template-page-soprovozhdenie-1s .section-head,
.page-template-page-audit-1s .section-head,
.page-template-page-obuchenie-1s .section-head,
.page-template-page-uslugi .section-head,
.page-template-page-kontakty .section-head,
.page-template-page-o-kompanii .section-head,
.page-template-page-keysy .section-head {
  position: relative !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-columns: 1fr 0.8fr !important;
  gap: 48px !important;
  align-items: center !important;
  padding: 34px !important;
  border-radius: 28px !important;
  color: #ffffff !important;
}

.page-template-page-vnedrenie-1s .section-head > *,
.page-template-page-vnedrenie-1s-unf .section-head > *,
.page-template-page-vnedrenie-1s-ut .section-head > *,
.page-template-page-vnedrenie-1s-ka .section-head > *,
.page-template-page-dorabotka-1s .section-head > *,
.page-template-page-integratsii-1s .section-head > *,
.page-template-page-soprovozhdenie-1s .section-head > *,
.page-template-page-audit-1s .section-head > *,
.page-template-page-obuchenie-1s .section-head > *,
.page-template-page-uslugi .section-head > *,
.page-template-page-kontakty .section-head > *,
.page-template-page-o-kompanii .section-head > *,
.page-template-page-keysy .section-head > * {
  position: relative !important;
  z-index: 1 !important;
}

.page-template-page-vnedrenie-1s .section-head h2,
.page-template-page-vnedrenie-1s-unf .section-head h2,
.page-template-page-vnedrenie-1s-ut .section-head h2,
.page-template-page-vnedrenie-1s-ka .section-head h2,
.page-template-page-dorabotka-1s .section-head h2,
.page-template-page-integratsii-1s .section-head h2,
.page-template-page-soprovozhdenie-1s .section-head h2,
.page-template-page-audit-1s .section-head h2,
.page-template-page-obuchenie-1s .section-head h2,
.page-template-page-uslugi .section-head h2,
.page-template-page-kontakty .section-head h2,
.page-template-page-o-kompanii .section-head h2,
.page-template-page-keysy .section-head h2 {
  color: #ffffff !important;
  margin: 12px 0 0 !important;
}

.page-template-page-vnedrenie-1s .section-head p,
.page-template-page-vnedrenie-1s-unf .section-head p,
.page-template-page-vnedrenie-1s-ut .section-head p,
.page-template-page-vnedrenie-1s-ka .section-head p,
.page-template-page-dorabotka-1s .section-head p,
.page-template-page-integratsii-1s .section-head p,
.page-template-page-soprovozhdenie-1s .section-head p,
.page-template-page-audit-1s .section-head p,
.page-template-page-obuchenie-1s .section-head p,
.page-template-page-uslugi .section-head p,
.page-template-page-kontakty .section-head p,
.page-template-page-o-kompanii .section-head p,
.page-template-page-keysy .section-head p {
  color: #d1d5db !important;
}

.page-template-page-vnedrenie-1s .section-head .eyebrow,
.page-template-page-vnedrenie-1s-unf .section-head .eyebrow,
.page-template-page-vnedrenie-1s-ut .section-head .eyebrow,
.page-template-page-vnedrenie-1s-ka .section-head .eyebrow,
.page-template-page-dorabotka-1s .section-head .eyebrow,
.page-template-page-integratsii-1s .section-head .eyebrow,
.page-template-page-soprovozhdenie-1s .section-head .eyebrow,
.page-template-page-audit-1s .section-head .eyebrow,
.page-template-page-obuchenie-1s .section-head .eyebrow,
.page-template-page-uslugi .section-head .eyebrow,
.page-template-page-kontakty .section-head .eyebrow,
.page-template-page-o-kompanii .section-head .eyebrow,
.page-template-page-keysy .section-head .eyebrow {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #dbeafe !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

/* Точечный фикс для блока примеров доработок, если у секции нет класса из общего списка. */
.page-template-page-dorabotka-1s .section-head:has(h2) {
  min-height: 130px;
}

/* Липкая шапка не должна перекрывать блоки при переходе по якорям. */
section[id] {
  scroll-margin-top: 100px;
}

@media (max-width: 900px) {
  .page-template-page-vnedrenie-1s .section-head,
  .page-template-page-vnedrenie-1s-unf .section-head,
  .page-template-page-vnedrenie-1s-ut .section-head,
  .page-template-page-vnedrenie-1s-ka .section-head,
  .page-template-page-dorabotka-1s .section-head,
  .page-template-page-integratsii-1s .section-head,
  .page-template-page-soprovozhdenie-1s .section-head,
  .page-template-page-audit-1s .section-head,
  .page-template-page-obuchenie-1s .section-head,
  .page-template-page-uslugi .section-head,
  .page-template-page-kontakty .section-head,
  .page-template-page-o-kompanii .section-head,
  .page-template-page-keysy .section-head {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 26px !important;
  }
}

@media (max-width: 560px) {
  .page-template-page-vnedrenie-1s .section-head,
  .page-template-page-vnedrenie-1s-unf .section-head,
  .page-template-page-vnedrenie-1s-ut .section-head,
  .page-template-page-vnedrenie-1s-ka .section-head,
  .page-template-page-dorabotka-1s .section-head,
  .page-template-page-integratsii-1s .section-head,
  .page-template-page-soprovozhdenie-1s .section-head,
  .page-template-page-audit-1s .section-head,
  .page-template-page-obuchenie-1s .section-head,
  .page-template-page-uslugi .section-head,
  .page-template-page-kontakty .section-head,
  .page-template-page-o-kompanii .section-head,
  .page-template-page-keysy .section-head {
    padding: 22px !important;
  }
}

/* ================================
   KA Page
================================ */

.ka-hero {
  background:
    radial-gradient(circle at 16% 20%, rgba(96, 165, 250, 0.38), transparent 28%),
    radial-gradient(circle at 86% 72%, rgba(14, 165, 233, 0.26), transparent 32%),
    linear-gradient(135deg, #020617 0%, #172554 52%, #1e3a8a 100%);
}

.ka-price {
  background: #eef4ff;
}

/* ================================
   KA Price Section Fix
================================ */

.ka-price {
  background: #eef4ff;
}

.ka-price .section-head {
  padding: 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 18%, rgba(14, 165, 233, 0.22), transparent 30%),
    linear-gradient(135deg, #020617 0%, #111827 58%, #075985 100%);
  color: #ffffff;
}

.ka-price .section-head h2 {
  color: #ffffff;
}

.ka-price .section-head p {
  color: #d1d5db;
}

.ka-price .section-head .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #dbeafe;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
  .ka-price .section-head {
    padding: 26px;
  }
}

@media (max-width: 560px) {
  .ka-price .section-head {
    padding: 22px;
  }
}

/* ================================
   Detailed Brief Page
================================ */

.brief-hero {
  background:
    radial-gradient(circle at 16% 20%, rgba(96, 165, 250, 0.38), transparent 28%),
    radial-gradient(circle at 86% 72%, rgba(14, 165, 233, 0.26), transparent 32%),
    linear-gradient(135deg, #020617 0%, #172554 52%, #1e3a8a 100%);
}

.brief-page { background: #eef4ff; }
.brief-form { display: grid; gap: 22px; }
.brief-step {
  position: relative; padding: 30px; border-radius: 28px; background: #fff;
  border: 1px solid #dbeafe; box-shadow: 0 16px 38px rgba(15,23,42,.06);
  transition: opacity .2s ease, filter .2s ease;
}
.brief-step--locked { opacity: .38; filter: grayscale(.35); pointer-events: none; }
.brief-step--locked::after {
  content: "Заполните предыдущий блок"; position: absolute; right: 24px; top: 24px;
  padding: 8px 12px; border-radius: 999px; background: rgba(15,23,42,.08);
  color: #334155; font-size: 13px; font-weight: 900;
}
.brief-step__head { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; margin-bottom: 24px; }
.brief-step__head > span {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 16px; background: #dbeafe; color: #1d4ed8; font-weight: 900;
}
.brief-step__head h3 { margin: 0 0 8px; color: #111827; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; }
.brief-step__head p { margin: 0; color: #64748b; line-height: 1.5; }
.brief-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.brief-field, .brief-question { display: grid; gap: 8px; margin-bottom: 20px; }
.brief-field > span, .brief-question > span { color: #111827; font-size: 16px; font-weight: 900; }
.brief-field input, .brief-question select, .brief-question textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #cbd5e1; border-radius: 14px;
  background: #fff; color: #111827; font: inherit; outline: none;
}
.brief-field input:focus, .brief-question select:focus, .brief-question textarea:focus {
  border-color: #2563eb; box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
.brief-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.brief-option {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px;
  background: #f8fafc; border: 1px solid #e2e8f0; color: #334155; line-height: 1.35; cursor: pointer;
}
.brief-option:hover { border-color: #93c5fd; background: #eff6ff; }
.brief-option input { width: auto; margin-top: 2px; flex-shrink: 0; }
.brief-comment { margin-top: 14px; padding: 16px; border-radius: 18px; background: #fff7ed; border: 1px solid #fed7aa; }
.brief-comment span { display: block; margin-bottom: 8px; color: #9a3412; font-size: 14px; font-weight: 900; }
.brief-comment textarea { width: 100%; padding: 13px 14px; border: 1px solid #fdba74; border-radius: 14px; font: inherit; resize: vertical; }
.brief-consent {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; padding: 16px;
  border-radius: 18px; background: #f8fafc; border: 1px solid #e2e8f0; color: #334155; line-height: 1.45;
}
.brief-consent input { margin-top: 3px; flex-shrink: 0; }
.brief-consent a { color: #2563eb; font-weight: 900; }
.brief-submit {
  display: grid; gap: 12px; padding: 28px; border-radius: 28px;
  background: radial-gradient(circle at 12% 20%, rgba(37,99,235,.24), transparent 30%), linear-gradient(135deg,#0f172a 0%,#111827 58%,#1e3a8a 100%);
  color: #fff;
}
.brief-submit .btn { width: 100%; border: 0; cursor: pointer; }
.brief-submit p { margin: 0; color: #d1d5db; line-height: 1.5; text-align: center; }
@media (max-width: 900px) { .brief-grid, .brief-options { grid-template-columns: 1fr; } .brief-step { padding: 24px; } }
@media (max-width: 560px) { .brief-step { padding: 20px; border-radius: 22px; } .brief-step__head { grid-template-columns: 1fr; } .brief-step--locked::after { position: static; display: inline-flex; margin-top: 14px; } }

/* ================================
   Brief Layout Fix
   Убираем высокие select и перекосы сетки
================================ */

.brief-step {
  display: block;
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.brief-question {
  display: block;
  width: 100%;
  margin: 0 0 26px;
}

.brief-question:last-child {
  margin-bottom: 0;
}

.brief-question > span,
.brief-field > span {
  display: block;
  margin-bottom: 12px;
  color: #020617;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

.brief-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 10px;
}

.brief-option {
  min-height: 48px;
  align-items: center;
}

.brief-question select {
  display: block;
  width: 100%;
  max-width: 520px;
  height: 48px;
  min-height: 48px;
  padding: 0 44px 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background-color: #ffffff;
  color: #111827;
  font: inherit;
  line-height: 48px;
  box-shadow: none;
}

.brief-question select:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.brief-comment {
  max-width: 720px;
  margin-top: 14px;
}

/* Вопросы, где мало вариантов, можно делать компактнее */
.brief-question:has(select) {
  max-width: 720px;
}

/* Внутри блока контактных данных оставляем сетку */
.brief-step .brief-grid .brief-field {
  margin-bottom: 0;
}

/* Планшеты */
@media (max-width: 900px) {
  .brief-grid {
    grid-template-columns: 1fr;
  }

  .brief-options {
    grid-template-columns: 1fr;
  }

  .brief-question select {
    max-width: 100%;
  }
}

/* ================================
   Brief Fixes: compact fields, phone/email, INN
================================ */

.brief-step {
  display: block;
}

.brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.brief-question {
  display: block;
  width: 100%;
  margin: 0 0 26px;
}

.brief-question:last-child {
  margin-bottom: 0;
}

.brief-question > span,
.brief-field > span {
  display: block;
  margin-bottom: 12px;
  color: #020617;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

.brief-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 10px;
}

.brief-option {
  min-height: 48px;
  align-items: center;
}

.brief-question select {
  display: block;
  width: 100%;
  max-width: 520px;
  height: 48px;
  min-height: 48px;
  padding: 0 44px 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background-color: #ffffff;
  color: #111827;
  font: inherit;
  line-height: 48px;
  box-shadow: none;
}

.brief-question select:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.brief-question:has(select) {
  max-width: 720px;
}

.brief-step .brief-grid .brief-field {
  margin-bottom: 0;
}

.brief-field input.brief-field--soft-error,
.brief-field input.brief-field--soft-error:focus {
  border-color: #f59e0b;
  background: #fffbeb;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.brief-field__hint,
.brief-field__status {
  display: block;
  margin-top: 7px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.35;
}

.brief-field__status--loading {
  color: #2563eb;
}

.brief-field__status--success {
  color: #15803d;
}

.brief-field__status--error {
  color: #b45309;
}

.brief-submit p {
  display: none;
}

@media (max-width: 900px) {
  .brief-grid {
    grid-template-columns: 1fr;
  }

  .brief-options {
    grid-template-columns: 1fr;
  }

  .brief-question select {
    max-width: 100%;
  }
}

/* ================================
   Detailed Cases Page
================================ */

.cases-disclaimer {
  margin-bottom: 32px;
  padding: 22px 26px;
  border-radius: 22px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
}

.cases-disclaimer p {
  margin: 0;
  color: #1e3a8a;
  font-weight: 800;
  line-height: 1.5;
}

.case-group + .case-group {
  margin-top: 64px;
}

.case-group .section-head {
  margin-bottom: 28px;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 0 26px;
}

.case-meta div {
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

.case-meta strong {
  display: block;
  margin-bottom: 6px;
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.case-meta span {
  color: #4b5563;
  line-height: 1.4;
}

.case-full {
  background: #f8fafc;
}

.case-benefits {
  margin-top: 26px;
  padding: 24px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #dbeafe;
}

.case-benefits h4 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 20px;
}

.case-benefits ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 22px;
  margin: 0;
  padding-left: 20px;
  color: #374151;
}

.case-benefits li {
  line-height: 1.45;
}

@media (max-width: 900px) {
  .case-meta {
    grid-template-columns: 1fr;
  }

  .case-benefits ul {
    grid-template-columns: 1fr;
  }
}
