 /* ===== СБРОС И БАЗА ===== */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html, body {
      width: 100%;
      overflow-x: hidden; /* Защита от горизонтального скролла */
    }

    :root {
      --primary: #0b2b4a;
      --primary-light: #1a4b6d;
      --accent: #e8852b; /* оранжевый (запасной) */
      --red: #dc2626;
      --red-dark: #b91c1c;
      --red-light: #ef4444;
      --gray-light: #f4f7fc;
      --gray-border: #e2e8f0;
      --text-dark: #1a2634;
      --text-muted: #4a5a6e;
      --white: #ffffff;
      --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
      --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
      --radius: 20px;
      --radius-sm: 12px;
      --transition: all 0.25s ease;
    }

    body {
      font-family: 'Inter', sans-serif;
      color: var(--text-dark);
      background-color: var(--white);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      position: relative;
    }

    /* Блокировка скролла при открытом меню/модалке */
    body.no-scroll {
      overflow: hidden;
    }

    .container {
      max-width: 1240px;
      width: 100%;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* ===== КНОПКИ - КРАСНЫЕ С БЛИКОМ ===== */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 14px 32px;
      font-weight: 600;
      font-size: 1rem;
      border: none;
      border-radius: 60px;
      background: var(--red);
      color: var(--white);
      cursor: pointer;
      transition: var(--transition);
      text-decoration: none;
      box-shadow: 0 8px 18px rgba(220, 38, 38, 0.35);
      letter-spacing: 0.3px;
      border: 2px solid transparent;
      position: relative;
      overflow: hidden;
      max-width: 100%;
    }

    .btn::after {
      content: '';
      position: absolute;
      top: -50%;
      left: -60%;
      width: 40%;
      height: 200%;
      background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.25) 50%,
        transparent 100%
      );
      transform: rotate(25deg);
      animation: shine 3.5s infinite ease-in-out;
      pointer-events: none;
    }

    @keyframes shine {
      0% { left: -60%; }
      100% { left: 120%; }
    }

    .btn:hover {
      background: var(--red-dark);
      transform: translateY(-3px);
      box-shadow: 0 14px 28px rgba(220, 38, 38, 0.5);
    }

    .btn-outline {
      background: transparent;
      color: var(--red);
      border: 2px solid var(--red);
      box-shadow: none;
    }

    .btn-outline::after {
      display: none;
    }

    .btn-outline:hover {
      background: var(--red);
      color: var(--white);
      border-color: var(--red);
      box-shadow: 0 14px 28px rgba(220, 38, 38, 0.4);
    }

    .btn-primary {
      background: var(--red);
      box-shadow: 0 8px 18px rgba(220, 38, 38, 0.35);
    }

    .btn-primary:hover {
      background: var(--red-dark);
      box-shadow: 0 14px 28px rgba(220, 38, 38, 0.5);
    }

    /* ===== ШАПКА ===== */
    .header {
      background: var(--white);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
      position: sticky;
      top: 0;
      z-index: 1000; /* Шапка выше всего контента */
      padding: 14px 0;
      border-bottom: 1px solid var(--gray-border);
      width: 100%;
    }

    .header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }

    .logo {
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--primary);
      letter-spacing: -0.5px;
      flex-shrink: 0;
    }
    .logo span {
      color: var(--red);
    }
    .logo small {
      font-size: 0.75rem;
      font-weight: 400;
      display: block;
      color: var(--text-muted);
      letter-spacing: 0.2px;
    }

    .nav-menu {
      display: flex;
      gap: 32px;
      align-items: center;
    }

    .nav-menu a {
      text-decoration: none;
      color: var(--text-dark);
      font-weight: 500;
      font-size: 0.95rem;
      transition: var(--transition);
      border-bottom: 2px solid transparent;
    
    }

    .nav-menu a:hover {
      color: var(--red);
      border-bottom-color: var(--red);
    }

    .nav-cta {
      background: var(--red) !important;
      color: var(--white) !important;
      padding: 10px 24px;
      border-radius: 60px;
      border-bottom: none !important;
      font-weight: 600;
      position: relative;
      overflow: hidden;
    }

    .nav-cta::after {
      content: '';
      position: absolute;
      top: -50%;
      left: -60%;
      width: 40%;
      height: 200%;
      background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.25) 50%,
        transparent 100%
      );
      transform: rotate(25deg);
      animation: shine 3.5s infinite ease-in-out;
      pointer-events: none;
    }

    .nav-cta:hover {
      background: var(--red-dark) !important;
      color: white !important;
    }

    .burger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 6px 2px;
      background: none;
      border: none;
      z-index: 1100;
    }
    .burger span {
      display: block;
      width: 28px;
      height: 3px;
      background: var(--primary);
      border-radius: 4px;
      transition: var(--transition);
    }

    /* ===== МОБИЛЬНОЕ МЕНЮ (исправлено) ===== */
    @media (max-width: 992px) {
      .burger {
        display: flex;
      }

      /* Затемнение позади меню — z-index 999 */
      .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
      }
      .overlay.active {
        display: block;
        opacity: 1;
      }

      /* Само меню — z-index 1001, выше затемнения и выше шапки */
      .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        padding: 90px 28px 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
        gap: 0;
        align-items: flex-start;
        overflow-y: auto;
        z-index: 1001;
      }

      .nav-menu.active {
        right: 0;
      }

      .nav-menu a {
        font-size: 1.05rem;
        width: 100%;
        border-bottom: 1px solid var(--gray-border);
        padding: 16px 0;
        color: var(--text-dark);
      }

      .nav-menu a:last-of-type {
        border-bottom: none;
      }

      .nav-cta {
        margin-top: 20px;
        text-align: center;
        width: 100%;
        background: var(--red) !important;
        color: white !important;
        border-radius: 60px;
        border: none !important;
        padding: 14px 24px;
        justify-content: center;
      }
      .nav-cta::after {
        display: none;
      }
    }

    /* ===== ГЕРОЙ ===== */
    .hero {
      padding: 64px 0 80px;
      background: linear-gradient(165deg, #f0f6fe 0%, #ffffff 70%);
      border-bottom: 1px solid var(--gray-border);
      width: 100%;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
      width: 100%;
    }

    .hero h1 {
      font-size: 3.2rem;
      font-weight: 700;
      line-height: 1.15;
      letter-spacing: -1.5px;
      color: var(--primary);
      margin-bottom: 20px;
    }
    .hero h1 span {
      color: var(--red);
    }

    .hero p {
      font-size: 1.2rem;
      color: var(--text-muted);
      max-width: 520px;
      margin-bottom: 32px;
    }

    .hero-badge {
      display: inline-block;
      background: rgba(220, 38, 38, 0.1);
      color: var(--red);
      font-weight: 600;
      padding: 6px 16px;
      border-radius: 60px;
      font-size: 0.9rem;
      margin-bottom: 20px;
      border: 1px solid rgba(220, 38, 38, 0.2);
    }

    .hero-stats {
      display: flex;
      gap: 40px;
      margin-top: 40px;
      flex-wrap: wrap;
    }
    .hero-stats div {
      font-weight: 600;
      font-size: 1.5rem;
      color: var(--primary);
    }
    .hero-stats div small {
      display: block;
      font-weight: 400;
      font-size: 0.9rem;
      color: var(--text-muted);
    }

		.hero-collage {
			flex: 1.2; 
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
			grid-template-rows: repeat(2, 130px);
            gap: 10px;
            position: relative;
			max-height: 650px;
        }
        .collage-item {
            position: relative;
            overflow: hidden;
        }
        .collage-item:first-child {
            grid-row: span 2;
        }
        .collage-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .collage-item img.flying {
            animation: fly 0.6s ease-in-out;
        }
        @keyframes fly {
            0% {
                transform: scale(1) translate(0, 0);
                opacity: 1;
            }
            25% {
                transform: scale(1.15) translate(20px, -20px);
                opacity: 0.9;
                z-index: 100;
            }
            50% {
                transform: scale(0.9) translate(-10px, 10px);
                opacity: 0.8;
            }
            75% {
                transform: scale(1.05) translate(5px, -5px);
                opacity: 0.9;
            }
            100% {
                transform: scale(1) translate(0, 0);
                opacity: 1;
            }
        }
        .collage-item { background: #2a2c3a; border-radius: 20px; overflow: hidden; cursor: pointer; transition: 0.2s; box-shadow: 0 8px 18px rgba(0,0,0,0.3);max-height: 150px;}
        .collage-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
        .collage-item:hover img { transform: scale(1.05); }
        .collage-item:nth-child(1) { grid-column: span 2; grid-row: span 2; min-height: 267px;}
        @media (max-width: 780px) { .hero-grid { flex-direction: column; } .hero-collage { width: 100%; grid-template-rows: repeat(2, 100px); } .hero-text h1 { font-size: 2.2rem; } .collage-item:nth-child(1) { grid-column: span 2; grid-row: span 2; min-height: 206px;} }
        
    .hero-image {
      background: var(--white);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 12px;
      border: 1px solid var(--gray-border);
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 280px;
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 400" width="100%" height="100%"><rect width="600" height="400" fill="%23f4f7fc" /><circle cx="300" cy="180" r="90" fill="%23dc2626" opacity="0.08" /><text x="120" y="220" font-family="Inter" font-size="28" fill="%230b2b4a" font-weight="600">Теплый пол</text><text x="120" y="270" font-family="Inter" font-size="22" fill="%234a5a6e">и отопление</text><text x="120" y="320" font-family="Inter" font-size="18" fill="%23dc2626">под ключ</text></svg>');
      background-size: cover;
      background-position: center;
    }

    /* ===== ОБЩИЕ СЕКЦИИ ===== */
    .section {
      padding: 72px 0;
      border-bottom: 1px solid var(--gray-border);
      width: 100%;
    }

    .section-title {
      font-size: 2.4rem;
      font-weight: 700;
      letter-spacing: -0.5px;
      margin-bottom: 16px;
      color: var(--primary);
    }

    .section-sub {
      font-size: 1.1rem;
      color: var(--text-muted);
      max-width: 700px;
      margin-bottom: 48px;
    }

    .text-center {
      text-align: center;
    }
    .mx-auto {
      margin-left: auto;
      margin-right: auto;
    }

    /* ===== УСЛУГИ ===== */
    .services-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
      margin-bottom: 40px;
    }

    .services-tabs .tab-btn {
      padding: 12px 28px;
      border-radius: 60px;
      border: 2px solid var(--gray-border);
      background: var(--white);
      font-weight: 600;
      color: var(--text-muted);
      cursor: pointer;
      transition: var(--transition);
      font-size: 0.95rem;
      font-family: inherit;
    }

    .services-tabs .tab-btn:hover {
      border-color: var(--red);
      color: var(--red);
    }

    .services-tabs .tab-btn.active {
      background: var(--red);
      color: var(--white);
      border-color: var(--red);
    }

    .service-content {
      display: none;
      animation: fadeIn 0.3s ease;
    }

    .service-content.active {
      display: block;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .service-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 28px;
    }

    .service-card {
      background: var(--white);
      border-radius: var(--radius-sm);
      padding: 28px 24px;
      border: 1px solid var(--gray-border);
      transition: var(--transition);
      box-shadow: 0 4px 10px rgba(0,0,0,0.02);
      width: 100%;
    }

    .service-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
      border-color: var(--red);
    }

    .service-card i {
      font-size: 2rem;
      color: var(--red);
      margin-bottom: 16px;
    }

    .service-card h4 {
      font-size: 1.1rem;
      margin-bottom: 10px;
    }

    .service-card ul {
      list-style: none;
      padding: 0;
    }

    .service-card ul li {
      padding: 4px 0 4px 24px;
      position: relative;
      color: var(--text-muted);
      font-size: 0.95rem;
    }

    .service-card ul li::before {
      content: "✔";
      position: absolute;
      left: 0;
      color: var(--red);
      font-weight: 700;
    }

    .service-card .result {
      margin-top: 14px;
      font-weight: 600;
      color: var(--primary);
      border-top: 1px solid var(--gray-border);
      padding-top: 14px;
    }

    /* ===== ПРЕИМУЩЕСТВА ===== */
    .benefits-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 28px;
    }

    .benefit-card {
      background: var(--white);
      padding: 28px 24px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--gray-border);
      transition: var(--transition);
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    }
    .benefit-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
      border-color: var(--red);
    }
    .benefit-card i {
      font-size: 2.2rem;
      color: var(--red);
      margin-bottom: 16px;
    }
    .benefit-card h4 {
      font-size: 1.1rem;
      margin-bottom: 8px;
    }
    .benefit-card p {
      color: var(--text-muted);
      font-size: 0.95rem;
    }

    /* ===== ЦЕНЫ ===== */
    .prices-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 24px;
    }

    .price-card {
      background: var(--white);
      border-radius: var(--radius-sm);
      border: 1px solid var(--gray-border);
      padding: 28px 20px;
      text-align: center;
      transition: var(--transition);
    }
    .price-card:hover {
      border-color: var(--red);
      box-shadow: var(--shadow-hover);
    }
    .price-card .area {
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--primary);
    }
    .price-card .price {
      font-size: 1.6rem;
      font-weight: 700;
      color: var(--red);
      margin: 12px 0;
    }
    .price-card .price small {
      font-size: 0.9rem;
      font-weight: 400;
      color: var(--text-muted);
    }
    .price-card .detail {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-bottom: 16px;
    }

    /* ===== ПОРТФОЛИО ===== */
    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 20px;
    }

    .project-card {
      background: var(--white);
      border-radius: var(--radius-sm);
      overflow: hidden;
      border: 1px solid var(--gray-border);
      transition: var(--transition);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
      width: 100%;
    }
    .project-card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-4px);
    }

    .project-gallery {
      position: relative;
      height: 220px;
      background: #eef2f7;
      overflow: hidden;
    }

    .project-gallery .slides {
      display: flex;
      width: 100%;
      height: 100%;
      transition: transform 0.4s ease;
    }
    .project-gallery .slide {
      min-width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      background-color: #d9e1ec;
    }

    .gallery-controls {
      position: absolute;
      bottom: 12px;
      right: 12px;
      display: flex;
      gap: 6px;
    }
    .gallery-controls button {
      background: rgba(0, 0, 0, 0.55);
      backdrop-filter: blur(4px);
      border: none;
      color: white;
      width: 34px;
      height: 34px;
      border-radius: 40px;
      font-size: 1rem;
      cursor: pointer;
      transition: var(--transition);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .gallery-controls button:hover {
      background: var(--red);
    }

    .project-info {
      padding: 20px 20px 24px;
    }
    .project-info h4 {
      font-size: 1.1rem;
      margin-bottom: 6px;
    }
    .project-info p {
      color: var(--text-muted);
      font-size: 0.95rem;
      margin-bottom: 12px;
    }
    .project-tag {
      display: inline-block;
      background: var(--gray-light);
      padding: 4px 14px;
      border-radius: 40px;
      font-size: 0.8rem;
      font-weight: 500;
      color: var(--text-muted);
    }

    /* ===== ОТЗЫВЫ ===== */
    .review-block {
      background: var(--gray-light);
      padding: 32px;
      border-radius: var(--radius);
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      align-items: center;
      justify-content: space-between;
      border: 1px solid var(--gray-border);
      width: 100%;
    }
    .review-block .stars {
      color: #f59e0b;
      font-size: 1.3rem;
      letter-spacing: 2px;
    }
    .review-block .text {
      flex: 2;
      min-width: 220px;
    }

    /* ===== КОНТАКТЫ ===== */
    .contacts-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: start;
    }

    .contact-item {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 24px;
    }
    .contact-item i {
      width: 44px;
      height: 44px;
      flex-shrink: 0;
      background: var(--gray-light);
      border-radius: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--red);
      font-size: 1.2rem;
    }

    .map-placeholder {
      background: #eef2f7;
      border-radius: var(--radius-sm);
      height: 260px;
      border: 1px solid var(--gray-border);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
      font-weight: 500;
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 600 300" width="100%" height="100%"><rect width="600" height="300" fill="%23eef2f7" /><path d="M300 80 L320 130 L380 140 L335 180 L350 240 L300 210 L250 240 L265 180 L220 140 L280 130 Z" fill="%23dc2626" opacity="0.3" /><circle cx="300" cy="130" r="18" fill="%23dc2626" /><text x="230" y="180" font-family="Inter" font-size="18" fill="%230b2b4a">Тула, Рязанская обл.</text></svg>');
      background-size: cover;
      background-position: center;
      width: 100%;
    }

    /* ===== МОДАЛЬНОЕ ОКНО ===== */
    .modal-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(6px);
      z-index: 2000;
      justify-content: center;
      align-items: center;
      padding: 20px;
    }

    .modal-overlay.active {
      display: flex;
    }

    .modal {
      background: var(--white);
      border-radius: var(--radius);
      max-width: 520px;
      width: 100%;
      padding: 40px 36px 36px;
      box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
      position: relative;
      animation: modalFade 0.3s ease;
      max-height: 90vh;
      overflow-y: auto;
    }

    @keyframes modalFade {
      from { opacity: 0; transform: scale(0.95) translateY(20px); }
      to { opacity: 1; transform: scale(1) translateY(0); }
    }

    .modal-close {
      position: absolute;
      top: 16px;
      right: 20px;
      background: none;
      border: none;
      font-size: 1.8rem;
      line-height: 1;
      cursor: pointer;
      color: var(--text-muted);
      transition: var(--transition);
      padding: 4px 8px;
    }
    .modal-close:hover {
      color: var(--red);
      transform: rotate(90deg);
    }

    .modal h3 {
      font-size: 1.8rem;
      margin-bottom: 6px;
      color: var(--primary);
    }

    .modal p {
      color: var(--text-muted);
      margin-bottom: 24px;
    }

    .modal input,
    .modal textarea {
      width: 100%;
      padding: 14px 18px;
      border: 1px solid var(--gray-border);
      border-radius: var(--radius-sm);
      font-size: 1rem;
      margin-bottom: 14px;
      background: var(--gray-light);
      transition: var(--transition);
      font-family: inherit;
    }

    .modal input:focus,
    .modal textarea:focus {
      outline: none;
      border-color: var(--red);
      background: var(--white);
      box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
    }

    .modal .btn {
      width: 100%;
      justify-content: center;
    }

    .modal .form-note {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-top: 16px;
      text-align: center;
    }

    /* ===== ФУТЕР ===== */
    .footer {
      background: var(--primary);
      color: rgba(255, 255, 255, 0.7);
      padding: 32px 0;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      width: 100%;
    }
    .footer-inner {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 20px;
      align-items: center;
    }
    .footer a {
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      margin-left: 24px;
    }
    .footer a:hover {
      color: var(--red);
    }

    /* ===== ПЛАНШЕТ ===== */
    @media (max-width: 992px) {
      .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
      }
      .hero h1 {
        font-size: 2.6rem;
      }
      .contacts-grid {
        grid-template-columns: 1fr;
        gap: 32px;
      }
      .section-title {
        font-size: 2rem;
      }
      .section-sub {
        font-size: 1rem;
        margin-bottom: 32px;
      }
      .hero p {
        font-size: 1.1rem;
      }
    }

    /* ===== МОБИЛЬНЫЙ ===== */
    @media (max-width: 640px) {
      .container {
        padding: 0 16px;
      }

      .section {
        padding: 40px 0;
      }

      .section-title {
        font-size: 1.6rem;
        letter-spacing: -0.3px;
      }

      .section-sub {
        font-size: 0.95rem;
        margin-bottom: 28px;
      }

      .hero {
        padding: 40px 0 56px;
      }

      .hero h1 {
        font-size: 1.75rem;
        letter-spacing: -0.5px;
        line-height: 1.2;
      }

      .hero p {
        font-size: 1rem;
        margin-bottom: 24px;
      }

      .hero-badge {
        font-size: 0.8rem;
        padding: 5px 12px;
      }

      .hero-stats {
        gap: 24px;
        margin-top: 28px;
      }

      .hero-stats div {
        font-size: 1.2rem;
      }

      .hero-stats div small {
        font-size: 0.8rem;
      }

      .btn {
        padding: 13px 24px;
        font-size: 0.95rem;
        width: 100%;
      }

      .hero .btn {
        width: auto;
      }

      /* Все сетки — одна колонка */
      .prices-grid,
      .benefits-grid,
      .portfolio-grid,
      .service-grid {
        grid-template-columns: 1fr;
        gap: 16px;
      }

      .services-tabs {
        gap: 8px;
      }

      .services-tabs .tab-btn {
        padding: 9px 16px;
        font-size: 0.8rem;
        flex: 1 1 calc(50% - 8px);
        text-align: center;
      }

      .service-card {
        padding: 22px 18px;
      }

      .review-block {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
        gap: 20px;
      }

      .review-block .btn {
        width: 100%;
      }

      .modal {
        padding: 32px 20px 24px;
        border-radius: 16px;
      }

      .modal h3 {
        font-size: 1.4rem;
      }

      .modal-close {
        top: 10px;
        right: 12px;
        font-size: 1.5rem;
      }

      .contact-item i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
      }

      .map-placeholder {
        height: 200px;
      }

      .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
      }

      .footer a {
        margin: 0 10px;
      }

      .logo {
        font-size: 1.2rem;
      }

      .logo small {
        font-size: 0.65rem;
      }

      .project-gallery {
        height: 200px;
      }
    }

    /* Очень маленькие экраны */
    @media (max-width: 380px) {
      .hero h1 {
        font-size: 1.5rem;
      }
      .section-title {
        font-size: 1.4rem;
      }
      .services-tabs .tab-btn {
        flex: 1 1 100%;
      }
      .hero .btn {
        width: 100%;
      }
    }