* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', sans-serif;
      background-color: #f5f7fb;
      color: #1e1e2a;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* Шапка — светлая, НЕ фиксированная */
    .header {
      background: #ffffff;
      color: #0b1a2a;
      padding: 20px 0;
      position: relative;
      z-index: 100;
      box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
      border-bottom: 1px solid rgba(0,0,0,0.04);
    }

    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px 20px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .logo img {
      width: 90px;
      height: auto;
      display: block;
    }
    .logo-text h1 {
      font-size: 1.8rem;
      font-weight: 800;
      letter-spacing: -0.5px;
      background: linear-gradient(135deg, #e63946, #c62828);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1.2;
    }
    .logo-text span {
      font-weight: 400;
      font-size: 0.9rem;
      color: #4a5b6b;
      -webkit-text-fill-color: #4a5b6b;
      background: none;
      display: block;
      letter-spacing: 0.3px;
    }

    .header-contacts {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 16px 24px;
    }

    .phone-group {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px 16px;
    }

    .phone-link {
      color: #0b1a2a;
      text-decoration: none;
      font-weight: 600;
      font-size: 1.1rem;
      transition: 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .phone-link:hover {
      color: #e63946;
    }
    .phone-link i {
      font-size: 1.2rem;
    }

    .social-icons {
      display: flex;
      gap: 8px;
    }
    .social-icons a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      border-radius: 10px;
      background: rgba(11, 26, 42, 0.06);
      color: #0b1a2a;
      text-decoration: none;
      transition: 0.25s;
      font-size: 1.2rem;
    }
    .social-icons a:hover {
      background: #e63946;
      color: #ffffff;
      transform: translateY(-2px);
    }

    .btn-cta-header {
      background: #e63946;
      color: #ffffff;
      padding: 10px 24px;
      border-radius: 10px;
      font-weight: 700;
      text-decoration: none;
      font-size: 0.95rem;
      transition: 0.2s;
      box-shadow: 0 6px 14px rgba(230, 57, 70, 0.3);
      white-space: nowrap;
    }
    .btn-cta-header:hover {
      background: #c62828;
      transform: scale(1.02);
      box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
    }

    /* Hero с фоновой картинкой */
    .hero {
      position: relative;
      padding: 60px 0 70px;
      color: white;
      overflow: hidden;
      min-height: 400px;
      display: flex;
      align-items: center;
    }

    .hero-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url('top_bg_desktop.jpg');
      background-size: cover;
      background-position: center;
      z-index: 0;
    }

    .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(11, 26, 42, 0.7);
      z-index: 1;
    }

    .hero-grid {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      align-items: center;
    }

    .hero-content h2 {
      font-size: 2.8rem;
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 20px;
      letter-spacing: -1px;
    }
    .hero-content h2 span {
      color: #e63946;
    }
    .hero-content p {
      font-size: 1.2rem;
      opacity: 0.95;
      margin-bottom: 28px;
      max-width: 500px;
    }
    .hero-features {
      display: flex;
      flex-wrap: wrap;
      gap: 14px 30px;
      margin-bottom: 30px;
    }
    .hero-features li {
      list-style: none;
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 500;
    }
    .hero-features li::before {
      content: '✓';
      color: #e63946;
      font-weight: 800;
      font-size: 1.4rem;
    }
    .hero-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }
    .btn-primary {
      background: #e63946;
      color: #ffffff;
      padding: 16px 40px;
      border-radius: 10px;
      font-weight: 700;
      text-decoration: none;
      font-size: 1.1rem;
      transition: 0.2s;
      display: inline-block;
      box-shadow: 0 8px 24px rgba(230, 57, 70, 0.35);
    }
    .btn-primary:hover {
      background: #c62828;
      transform: translateY(-3px);
    }
    .btn-outline {
      border: 2px solid rgba(255,255,255,0.5);
      color: white;
      padding: 16px 36px;
      border-radius: 10px;
      font-weight: 600;
      text-decoration: none;
      font-size: 1.1rem;
      transition: 0.2s;
      display: inline-block;
      background: transparent;
    }
    .btn-outline:hover {
      background: white;
      color: #0b1a2a;
      border-color: white;
    }

    /* Форма обратной связи в hero */
    .hero-form {
      background: rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border-radius: 10px;
      padding: 32px 28px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
      max-width: 420px;
      margin-left: auto;
    }
    .hero-form h3 {
      font-size: 1.6rem;
      font-weight: 700;
      margin-bottom: 6px;
      color: #fff;
    }
    .hero-form .form-subtitle {
      color: rgba(255, 255, 255, 0.75);
      margin-bottom: 20px;
      font-size: 0.95rem;
    }
    .hero-form label {
      display: block;
      font-weight: 500;
      font-size: 0.9rem;
      margin-bottom: 4px;
      color: rgba(255, 255, 255, 0.9);
    }
    .hero-form input,
    .hero-form textarea {
      width: 100%;
      padding: 12px 16px;
      border-radius: 10px;
      border: none;
      background: rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      color: #fff;
      font-size: 1rem;
      font-family: inherit;
      transition: 0.2s;
      margin-bottom: 16px;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .hero-form input::placeholder,
    .hero-form textarea::placeholder {
      color: rgba(255, 255, 255, 0.5);
    }
    .hero-form input:focus,
    .hero-form textarea:focus {
      outline: none;
      background: rgba(255, 255, 255, 0.2);
      border-color: #e63946;
      box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.25);
    }
    .hero-form textarea {
      resize: vertical;
      min-height: 70px;
    }
    .hero-form .btn-form {
      width: 100%;
      background: #e63946;
      color: #ffffff;
      padding: 14px 20px;
      border-radius: 10px;
      font-weight: 700;
      font-size: 1.1rem;
      border: none;
      cursor: pointer;
      transition: 0.2s;
      box-shadow: 0 8px 24px rgba(230, 57, 70, 0.3);
      font-family: inherit;
    }
    .hero-form .btn-form:hover {
      background: #c62828;
      transform: translateY(-2px);
      box-shadow: 0 12px 30px rgba(230, 57, 70, 0.4);
    }
    .hero-form .form-agreement {
      font-size: 0.75rem;
      color: rgba(255, 255, 255, 0.5);
      margin-top: 12px;
      text-align: center;
    }
    .hero-form .form-agreement a {
      color: rgba(255, 255, 255, 0.7);
      text-decoration: underline;
    }
    .hero-form .form-agreement a:hover {
      color: #ffffff;
    }

    .hero-image {
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .hero-image img {
      max-width: 100%;
      height: auto;
      filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
    }

    /* Секции */
    section {
      padding: 10px 0;
    }

    .section-title {
      font-size: 2.2rem;
      font-weight: 800;
      margin-bottom: 16px;
      letter-spacing: -0.5px;
    }
    .section-subtitle {
      color: #4a5b6b;
      font-size: 1.1rem;
      max-width: 700px;
      margin-bottom: 40px;
    }

    .benefits-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 30px;
    }
    .benefit-card {
      background: white;
      border-radius: 10px;
      padding: 30px 20px;
      box-shadow: 0 8px 30px rgba(0,0,0,0.04);
      transition: 0.25s;
      text-align: center;
      border: 1px solid #eef2f6;
    }
    .benefit-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    }
    .benefit-icon {
      font-size: 2.8rem;
      margin-bottom: 12px;
      display: block;
    }
    .benefit-card h3 {
      font-size: 1.25rem;
      margin-bottom: 8px;
    }
    .benefit-card p {
      color: #4a5b6b;
    }

    .price-table {
      background: white;
      border-radius: 10px;
      padding: 30px 20px;
      box-shadow: 0 12px 40px rgba(0,0,0,0.04);
      border: 1px solid #eef2f6;
    }
    .price-row {
      display: flex;
      justify-content: space-between;
      padding: 14px 0;
      border-bottom: 1px solid #edf2f7;
      font-weight: 500;
    }
    .price-row:last-child {
      border-bottom: none;
    }
    .price-row .price {
      color: #0b1a2a;
      font-weight: 700;
      font-size: 1.2rem;
    }
    .price-row .price span {
      color: #e63946;
    }

    /* Форма над контактами — СВЕТЛАЯ */
    .contacts-form-wrapper {
      background: #ffffff;
      border-radius: 10px;
      padding: 40px 40px;
      color: #0b1a2a;
      margin-bottom: 40px;
      border: 1px solid #eef2f6;
      box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    }
    .contacts-form-wrapper h3 {
      font-size: 1.8rem;
      font-weight: 700;
      margin-bottom: 6px;
      color: #0b1a2a;
    }
    .contacts-form-wrapper .form-subtitle {
      color: #4a5b6b;
      margin-bottom: 24px;
      font-size: 1rem;
    }
    .contacts-form-wrapper .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .contacts-form-wrapper input,
    .contacts-form-wrapper textarea {
      width: 100%;
      padding: 14px 18px;
      border-radius: 10px;
      border: 1px solid #dce1e8;
      background: #f8f9fc;
      color: #0b1a2a;
      font-size: 1rem;
      font-family: inherit;
      transition: 0.2s;
    }
    .contacts-form-wrapper input::placeholder,
    .contacts-form-wrapper textarea::placeholder {
      color: #8899aa;
    }
    .contacts-form-wrapper input:focus,
    .contacts-form-wrapper textarea:focus {
      outline: none;
      background: #ffffff;
      border-color: #e63946;
      box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
    }
    .contacts-form-wrapper textarea {
      resize: vertical;
      min-height: 80px;
      grid-column: 1 / -1;
    }
    .contacts-form-wrapper .btn-form {
      background: #e63946;
      color: #ffffff;
      padding: 14px 32px;
      border-radius: 10px;
      font-weight: 700;
      font-size: 1.1rem;
      border: none;
      cursor: pointer;
      transition: 0.2s;
      box-shadow: 0 8px 24px rgba(230, 57, 70, 0.3);
      font-family: inherit;
      grid-column: 1 / -1;
      width: 100%;
    }
    .contacts-form-wrapper .btn-form:hover {
      background: #c62828;
      transform: translateY(-2px);
      box-shadow: 0 12px 30px rgba(230, 57, 70, 0.4);
    }
    .contacts-form-wrapper .form-agreement {
      font-size: 0.75rem;
      color: #8899aa;
      margin-top: 12px;
      text-align: center;
      grid-column: 1 / -1;
    }
    .contacts-form-wrapper .form-agreement a {
      color: #e63946;
      text-decoration: underline;
    }
    .contacts-form-wrapper .form-agreement a:hover {
      color: #c62828;
    }

    .callback-box {
      background: #0b1a2a;
      border-radius: 10px;
      padding: 40px 40px;
      color: white;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      gap: 30px;
      margin-top: 20px;
    }
    .callback-box h3 {
      font-size: 1.8rem;
      font-weight: 700;
    }
    .callback-box .btn-primary {
      background: #e63946;
      color: #ffffff;
      padding: 16px 42px;
      font-size: 1.2rem;
      border-radius: 10px;
      font-weight: 700;
      text-decoration: none;
      transition: 0.2s;
      display: inline-block;
      box-shadow: 0 8px 24px rgba(230, 57, 70, 0.35);
    }
    .callback-box .btn-primary:hover {
      background: #c62828;
      transform: translateY(-3px);
    }

    /* Блок контакты: слева контакты, справа карта */
    .contacts-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
      align-items: stretch;
    }
    .contacts-grid {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .contact-item {
      background: white;
      border-radius: 10px;
      padding: 20px 24px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.02);
      border: 1px solid #eef2f6;
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }
    .contact-item .label {
      font-weight: 600;
      color: #2d3f52;
      min-width: 80px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .contact-item .label i {
      font-size: 1.2rem;
    }
    .contact-item .value {
      font-weight: 500;
      font-size: 1.05rem;
    }
    .contact-item .value a {
      color: #0b1a2a;
      text-decoration: none;
      transition: 0.2s;
    }
    .contact-item .value a:hover {
      color: #e63946;
    }

    .map-wrapper {
      background: #d9e2ec;
      border-radius: 10px;
      height: 100%;
      min-height: 320px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #1e2e3f;
      font-weight: 500;
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon points="0,0 100,0 100,100 0,100" fill="%23b6cdde" opacity="0.3"/><circle cx="50" cy="50" r="8" fill="%23e63946" /><circle cx="50" cy="50" r="16" fill="%23e63946" opacity="0.2"/></svg>');
      background-size: cover;
      background-position: center;
      position: relative;
    }
    .map-wrapper span {
      background: rgba(255,255,255,0.9);
      padding: 10px 24px;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }

    .footer {
      background: #0b1a2a;
      color: #ddd;
      padding: 30px 0;
      margin-top: 20px;
      text-align: center;
    }
    .footer a {
      color: #e63946;
      text-decoration: none;
    }
    .footer a:hover {
      text-decoration: underline;
    }

    /* ===== БЛОК КНОПОК В ПРАВОМ НИЖНЕМ УГЛУ ===== */
    .floating-buttons {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 999;
      display: flex;
      flex-direction: column;
      gap: 12px;
      align-items: flex-end;
    }

    .floating-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 56px;
      height: 56px;
      border-radius: 50%;
      color: #ffffff;
      text-decoration: none;
      font-size: 1.6rem;
      box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
      transition: 0.25s;
      position: relative;
    }

    .floating-btn:hover {
      transform: scale(1.1);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    .floating-btn i {
      font-size: 1.6rem;
    }

    /* Подсказка при наведении */
    .floating-btn .tooltip {
      position: absolute;
      right: 68px;
      background: rgba(0, 0, 0, 0.8);
      color: #fff;
      padding: 6px 14px;
      border-radius: 8px;
      font-size: 0.8rem;
      font-weight: 500;
      white-space: nowrap;
      opacity: 0;
      pointer-events: none;
      transition: 0.2s;
    }
    .floating-btn:hover .tooltip {
      opacity: 1;
    }

    .btn-tg {
      background: #0088cc;
    }
    .btn-tg:hover {
      background: #0077b3;
    }

    .btn-wa {
      background: #25d366;
    }
    .btn-wa:hover {
      background: #1da851;
    }

    .btn-phone {
      background: #e63946;
    }
    .btn-phone:hover {
      background: #c62828;
    }

    /* адаптив */
    @media (max-width: 900px) {
      .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
      }
      .hero-content h2 {
        font-size: 2.2rem;
      }
      .hero-content p {
        margin-left: auto;
        margin-right: auto;
      }
      .hero-features {
        justify-content: center;
      }
      .hero-buttons {
        justify-content: center;
      }
      .hero-form {
        margin: 0 auto;
        max-width: 100%;
      }
      .header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
      }
      .header-contacts {
        flex-wrap: wrap;
        justify-content: center;
      }
      .contacts-wrapper {
        grid-template-columns: 1fr;
      }
      .map-wrapper {
        min-height: 220px;
      }
      .callback-box {
        flex-direction: column;
        text-align: center;
      }
      .section-title {
        text-align: center;
      }
      .section-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
      }
      .benefit-card {
        text-align: center;
      }
      .contacts-form-wrapper .form-row {
        grid-template-columns: 1fr;
      }
      .contacts-form-wrapper textarea {
        grid-column: 1;
      }
      .contacts-form-wrapper .btn-form {
        grid-column: 1;
      }
      .contacts-form-wrapper .form-agreement {
        grid-column: 1;
      }
      .floating-buttons {
        bottom: 16px;
        right: 16px;
        gap: 10px;
      }
      .floating-btn {
        width: 48px;
        height: 48px;
      }
      .floating-btn i {
        font-size: 1.3rem;
      }
    }

    @media (max-width: 768px) {
      .hero-bg {
        background-image: url('top_bg_mobile.jpg');
      }
      .logo {
        justify-content: center;
      }
      .logo img {
        width: 250px;
      }
      .logo-text {
        display: none;
      }
    }

    @media (max-width: 480px) {
      .hero-content h2 {
        font-size: 1.8rem;
        text-align: center;
      }
      .hero-content p {
        text-align: center;
      }
      .hero-features {
        justify-content: center;
      }
      .hero-buttons {
        justify-content: center;
      }
      .phone-group {
        flex-direction: column;
        align-items: center;
        gap: 4px;
      }
      .btn-cta-header {
        width: 100%;
        text-align: center;
      }
      .price-row {
        flex-wrap: wrap;
        gap: 6px;
      }
      .container {
        padding: 0 16px;
      }
      .hero-form {
        padding: 24px 18px;
      }
      .section-title {
        font-size: 1.8rem;
        text-align: center;
      }
      .section-subtitle {
        text-align: center;
      }
      .contacts-form-wrapper {
        padding: 24px 18px;
      }
      .contacts-form-wrapper h3 {
        font-size: 1.4rem;
      }
      .logo img {
        width: 200px;
      }
      .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
      }
      .contact-item .label {
        min-width: auto;
      }
      .floating-buttons {
        bottom: 12px;
        right: 12px;
        gap: 8px;
      }
      .floating-btn {
        width: 44px;
        height: 44px;
      }
      .floating-btn i {
        font-size: 1.1rem;
      }
      .floating-btn .tooltip {
        display: none;
      }
    }


    /* ===== БЛОК С ОТЗЫВАМИ ===== */
.reviews-section {
    background: #f8f9fc;
    padding: 60px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.review-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f6;
    transition: 0.25s;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e63946, #c62828);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.review-author {
    flex: 1;
}

.review-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #0b1a2a;
}

.review-date {
    font-size: 0.85rem;
    color: #8899aa;
}

.review-stars {
    color: #f39c12;
    font-size: 0.95rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.review-text {
    color: #2d3f52;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.reviews-footer {
    text-align: center;
    margin-top: 40px;
}

/* Адаптив */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .review-card {
        padding: 22px 20px;
    }
}

@media (max-width: 480px) {
    .review-header {
        flex-wrap: wrap;
    }
    .review-avatar {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    .review-name {
        font-size: 0.95rem;
    }
}