        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: "Nunito Sans", sans-serif;
        }

        /* главный контейнер */
        .container {
            max-width: 1900px;
            margin: 0 auto;
            background: rgba(255,255,255,0.85);
            backdrop-filter: blur(2px);
            border-radius: 2.5rem;
            box-shadow: 0 25px 45px -12px rgba(0,0,0,0.2), 0 1px 2px rgba(0,0,0,0.05);
            overflow: hidden;
            padding: 2rem 1.5rem 3rem;
            transition: all 0.2s;
        }
        .sticky-nav {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(12px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(0, 0, 0, 0.02);
            border-bottom: 1px solid rgba(226, 232, 240, 0.8);
            transition: all 0.2s ease;
        }

        .nav-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0.9rem 2rem;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 1rem;
            justify-content: center;
        }

        /* список ссылок */
        .nav-links {
            display: flex;
            flex-wrap: wrap;
            gap: 1.8rem;
            list-style: none;
            align-items: center;
            justify-content: center;
        }

        .nav-links a {
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
            color: #0039AC;
            padding: 0.4rem 0;
            transition: all 0.2s;
            border-bottom: 2px solid transparent;
            white-space: nowrap;
        }

        .nav-links a:hover {
            color: #3b4f8c;
            border-bottom-color: #3b4f8c;
        }

        /* кнопка "Оставить заявку" в навбаре – акцент */
        .nav-links .btn-nav {
            background: #1e3a5f;
            color: white !important;
            padding: 0.5rem 1.2rem;
            border-radius: 40px;
            border-bottom: none !important;
            transition: all 0.25s;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        }

        .nav-links .btn-nav:hover {
            background: #0f2c48;
            transform: translateY(-2px);
            box-shadow: 0 8px 18px rgba(30, 58, 95, 0.2);
        }

        /* мобильное меню – адаптив */
        @media (max-width: 780px) {
            .nav-container {
                flex-direction: column;
                align-items: stretch;
                padding: 0.8rem 1.2rem;
            }
            .nav-links {
                justify-content: center;
                gap: 1rem;
                flex-wrap: wrap;
                margin-top: 0.2rem;
            }
            .nav-links a {
                font-size: 0.85rem;
                white-space: nowrap;
            }
            .nav-brand {
                text-align: center;
                font-size: 1.3rem;
            }
        }

        @media (max-width: 560px) {
            .nav-links {
                gap: 0.9rem;
            }
            .nav-links a {
                font-size: 0.75rem;
            }
            .nav-links .btn-nav {
                padding: 0.4rem 1rem;
            }
        }

        /* шапка/заголовок */
        .hero {
            text-align: center;
            margin-bottom: 2.5rem;
            width: 100%;
            position: relative;
            margin-right: auto;
            margin-left: auto;
        }

        .hero .responsive-img {
            width: 100%;
            display: block;  
        }
        .who-needs, 
        .request {
            border-radius: 32px;
            padding: 80px 125px;
            background-color: #E8F4FE;
        }
        .request {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .hight-text {
            font-weight: 600;
            font-size: 24px;
            color: #0039AC;
            margin-bottom: 12px;
        }
        

        /* текст */
        .main {
            gap: 2rem;
            margin-top: 1.5rem;
            padding-left: 125px;
            padding-right: 125px;
            display: flex;
            flex-direction: column;

        }
        .izmerenie {
            margin-bottom: 20px;
            margin-right: auto;
            margin-left: auto;
            display: flex;
            flex-direction: column;
            gap: 20px;
            max-width: 1110px;
            justify-self: center;
        }
        .izmerenie .white-block {
            max-width: 694px;
            margin-right: auto;
            margin-left: auto;
        }
        .who-needs .blocks-line {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin: 20px 0;
        }
        .who-needs .blocks-line div {
            width: 346px;
            height: 228px;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .treatment {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .red-border-block {
            border: 1px solid #FF1100; 
            border-radius: 24px; 
            padding: 32px 40px; 
            display: flex; 
            flex-direction: column; 
            gap: 24px;
            margin-bottom: 20px;
        }
        .list-number-line {
            display: flex; 
            align-items: anchor-center; 
            gap: 20px;
            margin: 10px 0;
        }
        .list-number-line div {
            display: flex;
            align-items: center;
        }
        .list-number-line .list-number {
            background-color: #FFD356; 
            border-radius: 50%; 
            font-weight: 600; 
            font-size: 46px; 
            color: #0039AC;
            display: inline-block;
            width: 80px; /* Фиксированная ширина */
            height: 80px; /* Фиксированная высота, равна ширине */
            line-height: 75px; /* Центрирование текста по вертикали (height - padding*2 = 80-20=60) */
            text-align: center; /* Центрирование текста по горизонтали */
            box-sizing: border-box; /* Чтобы padding не увеличивал размер */
        }
        .list-number-line img {
            flex-shrink: 0;
            display: block;
        }
        .js-block {
            /* Начальное состояние — прозрачность 0 и смещение */
            opacity: 0;
            transform: translateY(20px) scale(0.9);
            transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1), 
                        transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
            will-change: opacity, transform;
        }
        .js-block.visible {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .info-block {
            display: flex;
            flex-direction: column;
            min-width: 240px;
            gap: 20px;
        }
        h2 {
            font-size: 32px;
            font-weight: 800;
            color: #0039AC;
            margin-bottom: 20px;
        }
        .classic-text {
            font-size: 18px;
            font-weight: 500;
            color: #0039AC;
        }
        .red-border-block ul {
            margin-left: 20px;
        }
        .extra-text {
            font-size: 18px;
            font-weight: 500;
            color: #1A7AF2;
        }
        .info-block .white-block {
            border-radius: 18px;
            padding: 20px;
            background-color: #ffffff;
            box-shadow: 0 5px 30px #0309321A;
        }

        /* форма */
        form {
            display: flex;
            flex-direction: column;
            gap: 20px;
            padding: 0 170px;
        }
        .form-group {
            margin-bottom: 1.25rem;
        }

        label {
            display: block;
            font-weight: 600;
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
            color: #0f172a;
        }

        .fields .text-line {
            width: 100%;
            padding: 0.85rem 1rem;
            font-size: 1rem;
            border: 1.5px solid #e2e8f0;
            border-radius: 1.2rem;
            background: #ffffff;
            transition: all 0.2s ease;
            font-family: inherit;
            outline: none;
        }

        .checkbox-block {
            display: flex;
            gap: 10px;
            align-items: baseline;
        }

        #submitBtn {
            background-color: #FFD356;
            color: #003399;
            border: none;
            padding: 0.9rem 1.4rem;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 2rem;
            cursor: pointer;
            width: 100%;
            transition: transform 0.1s, box-shadow 0.2s;
            box-shadow: 0 6px 14px rgba(37,99,235,0.25);
        }

        #submitBtn:hover {
            background: linear-gradient(95deg, #1d4ed8, #1e3a8a);
            color: #FFD356;
            transform: translateY(-1px);
            box-shadow: 0 12px 20px rgba(37,99,235,0.3);
        }

        #submitBtn:active {
            transform: translateY(1px);
        }

        /* статус сообщения */
        .status-message {
            margin-top: 1rem;
            padding: 0.7rem;
            border-radius: 1rem;
            text-align: center;
            font-size: 0.9rem;
            font-weight: 500;
            background: #f1f5f9;
            transition: all 0.2s;
        }

        .status-success {
            background: #dcfce7;
            color: #15803d;
            border-left: 4px solid #22c55e;
        }

        .status-error {
            background: #fee2e2;
            color: #b91c1c;
            border-left: 4px solid #ef4444;
        }
        .blocks-lines-mobile {
            display: none;
        }

        /* footer {
            margin-top: 3rem;
            text-align: center;
            font-size: 0.8rem;
            color: #5b6e8c;
            border-top: 1px solid #cbd5e180;
            padding-top: 2rem;
        } */
         @media (max-width: 1399px) {
            .blocks-lines {
                display: none;
            }
            .blocks-lines-mobile {
                display: flex;
                flex-direction: column;
                gap: 20px;
            }
            .blocks-lines-mobile .white-block {
                height: 168px;
            }
         }
        @media (max-width: 984px) and (min-width: 870px) {
            .hero h1 {
                font-size: 40px;
            }
            .who-needs,
            .request {
                padding:20px;
                gap: 20px;
            }
        }
        @media (max-width: 869px) and (min-width: 800px) {
            .hero h1 {
                font-size: 36px;
            }
            .who-needs,
            .request {
                padding:20px;
                gap: 20px;
            }
        }
        @media (max-width: 799px) and (min-width: 541px) {
            .izmerenie,
            .who-needs,
            .treatment,
            .request {
                margin-top: 20px;
                margin-bottom: 40px;
            }

            .hero .responsive-img {
                content: url("images/block1-mob-v2.png");
                max-height: none;
            }
            h2 {
                font-size: 22px;
            }
            .classic-text,
            .extra-text {
                font-size: 16px;
            }
            .hight-text {
                font-size: 20px;
            }
            .who-needs,
            .request {
                padding:20px;
                gap: 20px;
            }
            form {
                padding: 0;
            }
        }
        @media (max-width: 540px) {

            .hero .responsive-img {
                content: url("images/block1-mob-v2.png");
                max-height: none;
            }
            .main {
                padding:0;
            }
            h2 {
                font-size: 22px;
            }
            .classic-text,
            .extra-text {
                font-size: 16px;
            }
            .hight-text {
                font-size: 20px;
            }
            .who-needs,
            .request {
                padding: 20px;
                gap: 20px;
            }
            .red-border-block {
                padding: 20px;
            }
            form {
                padding: 0;
            }
        }
        @media (max-width: 410px) {

            .hero .responsive-img {
                content: url("images/block1-mob-v2.png");
                max-height: none;
            }
            .main {
                padding:0;
            }
            h2 {
                font-size: 22px;
            }
            .classic-text,
            .extra-text {
                font-size: 16px;
            }
            .hight-text {
                font-size: 20px;
            }
            .who-needs,
            .request {
                padding: 20px;
                gap: 20px;
            }
            .red-border-block {
                padding: 20px;
            }
            form {
                padding: 0;
            }
        }


/* Для модального окна */       
/* Оверлей (задний фон) — изначально скрыт */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(8px);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.4s ease, visibility 0.4s ease;
            z-index: 1000;
            padding: 20px;
        }

        /* Активное состояние оверлея */
        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Само модальное окно */
        .modal-window {
            background: white;
            border-radius: 24px;
            max-width: 700px;
            width: 100%;
            max-height: 90vh;
            display: flex;
            flex-direction: column;
            box-shadow: 0 25px 60px rgba(0,0,0,0.4);
            transform: scale(0.9) translateY(30px);
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                        opacity 0.4s ease;
            opacity: 0;
        }

        /* Активное состояние окна */
        .modal-overlay.active .modal-window {
            transform: scale(1) translateY(0);
            opacity: 1;
        }

        /* Шапка модального окна */
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 24px 32px 16px 32px;
            border-bottom: 1px solid #e9edf4;
            flex-shrink: 0;
        }

        .modal-header h2 {
            font-size: 24px;
            color: #1e293b;
            font-weight: 700;
            margin: 0;
        }

        /* Кнопка закрытия (крестик) */
        .modal-close {
            background: none;
            border: none;
            font-size: 32px;
            line-height: 1;
            color: #94a3b8;
            cursor: pointer;
            padding: 0 8px;
            transition: color 0.2s ease, transform 0.2s ease;
            width: 42px;
            height: 42px;
        }

        .modal-close:hover {
            color: #ef4444;
            transform: rotate(90deg);
        }

        /* Тело модального окна с прокруткой */
        .modal-body {
            padding: 24px 32px 32px 32px;
            overflow-y: auto;
            flex: 1;
        }

        .modal-body p {
            font-size: 16px;
            line-height: 1.8;
            color: #334155;
            margin-bottom: 20px;
        }

        .modal-body p:last-child {
            margin-bottom: 0;
        }

        .modal-body h3 {
            font-size: 18px;
            color: #1e293b;
            margin: 24px 0 12px 0;
        }

        .modal-body h3:first-of-type {
            margin-top: 0;
        }

        /* Кастомизация скроллбара */
        .modal-body::-webkit-scrollbar {
            width: 6px;
        }

        .modal-body::-webkit-scrollbar-track {
            background: #f1f5f9;
            border-radius: 10px;
        }

        .modal-body::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 10px;
        }

        .modal-body::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

        /* Адаптивность для мобильных */
        @media (max-width: 600px) {
            .modal-header {
                padding: 20px 20px 12px 20px;
            }

            .modal-header h2 {
                font-size: 20px;
            }

            .modal-body {
                padding: 16px 20px 24px 20px;
            }

            .modal-body p {
                font-size: 15px;
            }

            .open-modal-btn {
                padding: 14px 24px;
                font-size: 16px;
            }
        }