/* =====================================================
   RESET
===================================================== */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Inter,Arial,sans-serif;
    font-size:16px;
    line-height:1.6;
    color:#222;
    background:#f7f8fb;
    overflow-x:hidden;
}

img{
    display:block;
    max-width:100%;
}

a{
    text-decoration:none;
    color:inherit;
    transition:.25s;
}

ul{
    list-style:none;
}

button,
input,
textarea{
    font:inherit;
}

button{
    border:none;
    cursor:pointer;
    background:none;
}

section{
    position:relative;
    padding:90px 0;
}

/* =====================================================
   CONTAINER
===================================================== */

.container{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
}

/* =====================================================
   TITLES
===================================================== */

.section-title{
    font-size:42px;
    font-weight:800;
    color:#1d1d1d;
    line-height:1.2;
    margin-bottom:20px;
}

.section-subtitle{
    max-width:760px;
    margin:0 auto 60px;
    color:#666;
    font-size:18px;
    text-align:center;
}

/* =====================================================
   BUTTONS
===================================================== */

.btn{
    display:inline-flex;

    margin:0;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:18px 34px;
    border-radius:12px;
    background:#ff8800;
    color:#fff;
    font-weight:700;
    transition:.3s;
    box-shadow:0 15px 40px rgba(255,136,0,.25);
}

.btn:hover{
    transform:translateY(-3px);
    background:#ff9800;
}

.btn-outline{
    background:#fff;
    color:#ff8800;
    border:2px solid #ff8800;
    box-shadow:none;
}

.btn-outline:hover{
    background:#ff8800;
    color:#fff;
}

/* =====================================================
   CARDS
===================================================== */

.card{
    background:#fff;
    border-radius:20px;
    box-shadow:0 10px 40px rgba(0,0,0,.06);
}

/* =====================================================
   FORM
===================================================== */

input,
textarea{
    width:100%;
    border:1px solid #ddd;
    border-radius:12px;
    padding:16px 18px;
    outline:none;
    transition:.3s;
    background:#fff;
}

input:focus,
textarea:focus{
    border-color:#ff8800;
}

textarea{
    resize:vertical;
    min-height:130px;
}
.services {
    padding: 90px 0;
    background: #f7f8fa;
}


.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}


.section-title h2 {
    font-size: 38px;
    margin-bottom: 15px;
}


.section-title p {
    color: #666;
    font-size: 18px;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}





.icon {
    font-size:40px;
    margin-bottom:20px;
}


.service-card h3 {
    font-size:22px;
    margin-bottom:15px;
}


.service-card p {
    color:#666;
    line-height:1.6;
    min-height:100px;
}


.service-card span {
    display:block;
    margin-top:20px;
    font-weight:700;
    color:#f57c00;
}



@media(max-width:1000px){

.services-grid{
grid-template-columns:repeat(2,1fr);
}

}


@media(max-width:600px){

.services-grid{
grid-template-columns:1fr;
}

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

}
.cta-section {
padding:80px 0;
}


.cta-box {

background:#111827;
border-radius:30px;
padding:60px;
text-align:center;
color:white;

}


.cta-box h2 {

font-size:38px;
max-width:800px;
margin:0 auto 20px;

}


.cta-box p {

font-size:20px;
color:#d1d5db;
margin-bottom:35px;

}


.cta-buttons {

display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;

}


.btn-primary {

background:#f57c00;
color:white;
padding:18px 35px;
border-radius:12px;
font-weight:700;
text-decoration:none;
transition:.3s;

}


.btn-primary:hover {

background:#ff9800;

}



.btn-phone {

border:2px solid white;
color:white;
padding:16px 35px;
border-radius:12px;
font-weight:700;
text-decoration:none;

}


@media(max-width:600px){

.cta-box {

padding:35px 20px;

}


.cta-box h2 {

font-size:28px;

}

}
.form-section {

padding:90px 0;
background:#f7f8fa;

}



.form-wrapper {

display:grid;
grid-template-columns:1fr 450px;
gap:60px;
align-items:center;

}



.form-info h2 {

font-size:40px;
margin-bottom:20px;

}


.form-info p {

font-size:18px;
color:#666;
line-height:1.6;

}



.form-info ul {

list-style:none;
padding:0;
margin-top:35px;

}



.form-info li {

font-size:18px;
margin-bottom:18px;
color:#222;

}



.form-box {

background:white;
padding:40px;
border-radius:25px;
box-shadow:0 15px 40px rgba(0,0,0,.08);

}



.form-box h3 {

font-size:28px;
margin-bottom:25px;
text-align:center;

}



.form-box input,
.form-box textarea {


width:100%;
padding:16px;
margin-bottom:15px;

border:1px solid #ddd;
border-radius:10px;

font-size:16px;

}



.form-box textarea {

height:100px;
resize:none;

}



.checkbox {

display:flex;
gap:10px;
font-size:13px;
color:#777;
margin-bottom:20px;

}



.checkbox input {

width:auto;

}



.form-box button {


width:100%;
padding:18px;

background:#f57c00;
color:white;

border:none;
border-radius:12px;

font-size:18px;
font-weight:700;

cursor:pointer;

transition:.3s;

}



.form-box button:hover {

background:#ff9800;

}



@media(max-width:900px){

.form-wrapper {

grid-template-columns:1fr;

}


.form-info h2 {

font-size:32px;

}

}
.popup,
.thanks-popup {

position:fixed;
top:0;
left:0;
width:100%;
height:100%;

display:none;

align-items:center;
justify-content:center;

z-index:9999;

}



.popup.active,
.thanks-popup.active {

display:flex;

}



.popup-overlay {

position:absolute;
width:100%;
height:100%;

background:rgba(0,0,0,.65);

}



.popup-content,
.thanks-content {


position:relative;

background:white;

width:420px;

padding:40px;

border-radius:25px;

z-index:2;

box-shadow:0 20px 50px rgba(0,0,0,.2);

}



.popup-content h3,
.thanks-content h3 {

font-size:28px;
margin-bottom:15px;
text-align:center;

}



.popup-content p {

text-align:center;
color:#666;
margin-bottom:25px;

}



.popup-content input {


width:100%;

padding:16px;

margin-bottom:15px;

border:1px solid #ddd;

border-radius:10px;

font-size:16px;

}



.popup-content button[type="submit"] {


width:100%;

padding:17px;

background:#f57c00;

border:none;

border-radius:12px;

color:white;

font-size:17px;

font-weight:700;

cursor:pointer;

}



.popup-close {


position:absolute;

right:20px;

top:15px;

border:none;

background:none;

font-size:32px;

cursor:pointer;

}



.thanks-content {

text-align:center;

}



.thanks-close {


margin-top:20px;

padding:12px 30px;

border:none;

border-radius:10px;

background:#f57c00;

color:white;

cursor:pointer;

}



@media(max-width:500px){

.popup-content,
.thanks-content{

width:90%;

padding:30px 20px;

}

}
.footer {

background:#111827;

color:white;

padding:60px 0 20px;

}



.footer-grid {

display:grid;

grid-template-columns:2fr 1fr 1fr;

gap:50px;

}



.footer h3 {

font-size:26px;

margin-bottom:20px;

}



.footer h4 {

font-size:18px;

margin-bottom:20px;

}



.footer p {

color:#cbd5e1;

line-height:1.6;

}



.footer a {

display:block;

color:#cbd5e1;

text-decoration:none;

margin-bottom:12px;

transition:.3s;

}



.footer a:hover {

color:white;

}



.footer-bottom {

border-top:1px solid rgba(255,255,255,.15);

margin-top:40px;

padding-top:20px;

text-align:center;

font-size:14px;

}



@media(max-width:800px){


.footer-grid {

grid-template-columns:1fr;

gap:30px;

}


}
/*=====================================================
                    HEADER
=====================================================*/

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(0,0,0,.06);
    transition:.35s;
}

.header.scrolled{
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}

.header .container{
      display:flex;
    align-items:center;
    gap:40px;
}

.logo{
    display:flex;
    align-items:center;
    gap:14px;
    flex-shrink:0;
}

.logo img{
    height:48px;
    width:auto;
}

.logo-text{
    display:flex;
    flex-direction:column;
}

.logo-title{
    font-size:22px;
    font-weight:800;
    color:#1b1b1b;
    line-height:1;
}

.logo-subtitle{
    margin-top:4px;
    font-size:13px;
    color:#777;
}

/*=========================
        MENU
=========================*/

.menu{
    margin-left:auto;
    margin-right:45px;
}

.menu{
    display:flex;
    align-items:center;
    gap:34px;
    margin-left:5px;
    margin-right:15px;
}


.menu a{
    font-size:16px;
    font-weight:600;
    color:#333;
    transition:.25s;
}

.menu a:hover{
    color:#ff8800;
}

.menu a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:2px;
    background:#ff8800;
    transition:.3s;
}

.nav a:hover::after{
    width:100%;
}

/*=========================
      CONTACTS
=========================*/

.header-right{
    display:flex;
    align-items:center;
    gap:22px;
}

.header-phone{
    margin-left:auto;
    margin-right:5px;
    text-align:right;
}

.header-phone span{
    font-size:12px;
    color:#888;
}

.header-phone a{
    display: block;
    white-space: nowrap;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    text-decoration: none;
}

.header-phone a:hover{
    color:#ff8800;
}

.header-btn{
    padding:15px 26px;
    border-radius:12px;
    background:#ff8800;
    color:#fff;
    font-weight:700;
    transition:.3s;
    box-shadow:0 12px 35px rgba(255,136,0,.28);
    flex-shrink:0;
}

.header-btn:hover{
    background:#ff9900;
    transform:translateY(-2px);
}

/*=========================
      BURGER
=========================*/

.burger{
    width:44px;
    height:44px;
    display:none;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}

.burger span{
    display:block;
    width:28px;
    height:3px;
    background:#222;
    position:relative;
    transition:.3s;
}

.burger span::before,
.burger span::after{
    content:"";
    position:absolute;
    width:28px;
    height:3px;
    background:#222;
    left:0;
    transition:.3s;
}

.burger span::before{
    top:-8px;
}

.burger span::after{
    top:8px;
}

.burger.active span{
    background:transparent;
}

.burger.active span::before{
    top:0;
    transform:rotate(45deg);
}

.burger.active span::after{
    top:0;
    transform:rotate(-45deg);
}
/*=====================================================
                    HERO
=====================================================*/

.hero{
    padding-top:110px;
    padding-bottom:50px;
    background:linear-gradient(180deg,#ffffff 0%,#f7f8fb 100%);
    overflow:hidden;
}

.hero .container{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    align-items:center;
    gap:70px;
}

.hero-content{
    max-width:640px;
}

.hero-label{
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-bottom:22px;
    padding:8px 18px;
    border-radius:30px;
    background:#fff3e5;
    color:#ff8800;
    font-size:14px;
    font-weight:700;
}

.hero h1{
    font-size:56px;
    line-height:1.1;
    font-weight:800;
    color:#1b1b1b;
    margin-bottom:28px;
}

.hero h1 span{
    color:#ff8800;
}

.hero-text{
    font-size:20px;
    line-height:1.7;
    color:#666;
    margin-bottom:36px;
}

.hero-list{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px;
    margin-bottom:40px;
}

.hero-list li{
    display:flex;
    align-items:center;
    gap:14px;
    background:#fff;
    padding:18px 20px;
    border-radius:16px;
    box-shadow:0 10px 35px rgba(0,0,0,.05);
    font-weight:600;
}

.hero-list i{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#ff8800;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-style:normal;
    font-weight:700;
}

.hero-buttons{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

.hero-image{
    position:relative;
}

.hero-image img{
    width:100%;
    border-radius:28px;
    box-shadow:0 35px 80px rgba(0,0,0,.12);
    transition:.4s;
}
.hero-image:hover img{

transform:scale(1.03);

}
.hero-card{
    position:absolute;
    left:-30px;
    bottom:35px;
    background:#fff;
    border-radius:18px;
    padding:22px;
    box-shadow:0 20px 45px rgba(0,0,0,.12);
    max-width:260px;
}

.hero-card-number{
    font-size:34px;
    font-weight:800;
    color:#ff8800;
    line-height:1;
}

.hero-card-text{
    margin-top:10px;
    color:#666;
    font-size:15px;
    line-height:1.5;
}
/* ==========================
   SERVICES SECTION
========================== */

.services1 {
    padding: 40px 0;
    background: #f7f8fa;
}


.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
}


.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1c1c1c;
}


.section-header p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
}



/* GRID */

.services-grid {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;

}




/* CARD */

.service-card {

    background: #ffffff;

    padding: 35px 30px;

    border-radius: 24px;

    box-shadow:
    0 10px 35px rgba(0,0,0,0.06);

    transition:
    transform .3s ease,
    box-shadow .3s ease;

    display:flex;
    flex-direction:column;

}



.service-card:hover {

    transform: translateY(-8px);

    box-shadow:
    0 20px 50px rgba(0,0,0,0.12);

}








/* TITLE */

.service-card h3 {

    font-size:24px;

    line-height:1.3;

    margin-bottom:15px;

    color:#222;

}



/* TEXT */

.service-card p {

    font-size:16px;

    line-height:1.6;

    color:#666;

    margin-bottom:20px;

}




/* LIST */

.service-card ul {

    list-style:none;

    padding:0;

    margin:0 0 30px;

}


.service-card li {

    position:relative;

    padding-left:25px;

    margin-bottom:10px;

    font-size:15px;

    color:#444;

}


.service-card li:before {

    content:"✓";

    position:absolute;

    left:0;

    color:#ff8800;

    font-weight:700;

}




/* BUTTON */

.service-btn {

    margin-top:auto;

    width:100%;

    padding:16px 25px;

    border:none;

    border-radius:12px;

    background:#ff8800;

    color:white;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}



.service-btn:hover {

    background:#e87500;

    transform:translateY(-2px);

}
/* =====================================
   SERVICES WITH PHOTOS
===================================== */


.services {

    padding: 100px 0;

    background: #f7f8fa;

}



/* Заголовок секции */

.section-header {

    max-width: 750px;

    margin: 0 auto 60px;

    text-align: center;

}


.section-header h2 {

    font-size: 42px;

    font-weight: 700;

    color: #1d1d1d;

    margin-bottom: 20px;

}


.section-header p {

    font-size: 18px;

    line-height: 1.6;

    color: #666;

}





/* Сетка карточек */


.services-grid {

    display:grid;

    grid-template-columns:repeat(3, 1fr);

    gap:30px;

}





/* Карточка */


.service-card {

    background:#ffffff;

    border-radius:24px;

    overflow:hidden;

    box-shadow:
    0 10px 35px rgba(0,0,0,0.07);

    transition:
    transform .35s ease,
    box-shadow .35s ease;

    display:flex;

    flex-direction:column;

}



.service-card:hover {

    transform:translateY(-10px);

    box-shadow:
    0 25px 55px rgba(0,0,0,0.14);

}





/* Фото */


.service-image {

    position:relative;

    height:240px;

    overflow:hidden;

}



.service-image img {

    width:100%;

    height:100%;

    object-fit:cover;

    transition:transform .5s ease;

}



.service-card:hover .service-image img {

    transform:scale(1.08);

}





/* затемнение при наведении */


.service-image::after {

    content:"";

    position:absolute;

    inset:0;

    background:
    linear-gradient(
    to bottom,
    transparent 50%,
    rgba(0,0,0,.25)
    );

}





/* Бейдж «Популярная услуга» */
.service-card .service-badge {
    position:absolute;
    top:6px;
    right:6px;
    z-index:5;
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:9px 13px;
    margin:0;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.42);
    border-radius:999px;
    background:linear-gradient(120deg,#f57c00 0%,#ff9800 45%,#ffb33a 55%,#f57c00 100%);
    background-size:240% 100%;
    box-shadow:0 8px 22px rgba(245,124,0,.32), inset 0 1px 0 rgba(255,255,255,.28);
    color:#fff;
    font-size:12px;
    line-height:1;
    font-weight:800;
    letter-spacing:.04em;
    white-space:nowrap;
    text-transform:uppercase;
    transform-origin:center;
    animation:serviceBadgePulse 1.8s ease-in-out infinite !important;
    will-change:transform,box-shadow,background-position;
}

.service-card .service-badge::before {
    content:"★";
    position:relative;
    z-index:2;
    display:grid;
    place-items:center;
    width:18px;
    height:18px;
    border-radius:50%;
    background:rgba(255,255,255,.22);
    color:#fff;
    font-size:10px;
    line-height:1;
    flex:0 0 18px;
    animation:serviceBadgeStar 1.8s ease-in-out infinite !important;
}

.service-card .service-badge::after {
    content:"";
    position:absolute;
    top:-40%;
    left:-45%;
    width:34%;
    height:180%;
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);
    transform:skewX(-20deg);
    pointer-events:none;
    animation:serviceBadgeShine 2.4s ease-in-out infinite !important;
}

@keyframes serviceBadgePulse {
    0%,100% {
        transform:translateY(0) scale(1);
        background-position:0% 50%;
        box-shadow:0 8px 22px rgba(245,124,0,.30),0 0 0 0 rgba(255,152,0,.22),inset 0 1px 0 rgba(255,255,255,.28);
    }
    50% {
        transform:translateY(-3px) scale(1.055);
        background-position:100% 50%;
        box-shadow:0 12px 30px rgba(245,124,0,.42),0 0 0 5px rgba(255,152,0,.10),inset 0 1px 0 rgba(255,255,255,.34);
    }
}

@keyframes serviceBadgeStar {
    0%,100% { transform:rotate(0deg) scale(1); }
    50% { transform:rotate(18deg) scale(1.25); }
}

@keyframes serviceBadgeShine {
    0%,25% { left:-45%; opacity:0; }
    35% { opacity:1; }
    65% { left:115%; opacity:1; }
    75%,100% { left:115%; opacity:0; }
}

/* Контент карточки */


.service-content {

    padding:10px;

    display:flex;

    flex-direction:column;

    flex:1;

}




.service-content h3 {

    font-size:24px;

    line-height:1.3;

    color:#222;

    margin-bottom:15px;

}



.service-content p {

    font-size:16px;

    line-height:1.6;

    color:#666;

    margin-bottom:20px;

}





/* Список */


.service-content ul {

    padding:0;

    margin:0 0 30px;

    list-style:none;

}



.service-content li {

    position:relative;

    padding-left:25px;

    margin-bottom:10px;

    font-size:15px;

    color:#444;

}



.service-content li::before {

    content:"✓";

    position:absolute;

    left:0;

    color:#ff8800;

    font-weight:700;

}





/* Кнопка */


.service-btn {

    margin-top:auto;

    width:100%;

    border:none;

    cursor:pointer;

    padding:16px 25px;

    border-radius:14px;

    background:#ff8800;

    color:white;

    font-size:16px;

    font-weight:600;

    transition:.3s;

}



.service-btn:hover {

    background:#e87500;

    transform:translateY(-3px);

    box-shadow:
    0 10px 25px rgba(255,136,0,.35);

}
/* =====================
   ADVANTAGES
===================== */


.advantages {

    padding:50px 0;

    background:#fff;

}



.stats-grid {

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}




.stat-item {

    text-align:center;

    padding:30px 20px;

    border-radius:20px;

    transition:.3s;

}



.stat-item:hover {

    transform:translateY(-5px);

}





.stat-icon {

    width:80px;

    height:80px;

    margin:0 auto 20px;

    border-radius:50%;

    background:#fff1e8;

    display:flex;

    align-items:center;

    justify-content:center;

}



.stat-icon svg {

    width:40px;

    height:40px;

    color:#ff8800;

}




.stat-number {

    font-size:42px;

    font-weight:700;

    color:#171717;

    margin-bottom:8px;

}



.stat-text {

    font-size:16px;

    color:#555;

}
/*======================================================
                ADVANTAGES
======================================================*/

.advantages1{

    padding:50px 0;
    background:#ffffff;
    overflow:hidden;

}



/* ---------- Заголовок ---------- */

.section-header{

    max-width:850px;

    margin:0 auto 70px;

    text-align:center;

}



.section-subtitle{

    display:inline-block;

    margin-bottom:18px;

    color:#ff8800;

    font-weight:600;

    font-size:15px;

    letter-spacing:1px;

    text-transform:uppercase;

}



.section-header h2{

    font-size:48px;

    line-height:1.2;

    font-weight:700;

    color:#222;

    margin-bottom:25px;

}



.section-header p{

    font-size:19px;

    color:#666;

    line-height:1.7;

}



/* ---------- Сетка ---------- */

.advantages-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}



/* ---------- Карточка ---------- */

.advantage-card{

    background:#fff;

    border-radius:24px;

    padding:40px 35px;

    text-align:center;

    box-shadow:0 12px 35px rgba(0,0,0,.06);

    transition:.35s ease;

    position:relative;

    overflow:hidden;

}



/* оранжевая полоска сверху */

.advantage-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:4px;

    background:#ff8800;

    transform:scaleX(0);

    transform-origin:left;

    transition:.35s;

}



.advantage-card:hover{

    transform:translateY(-10px);

    box-shadow:0 22px 55px rgba(0,0,0,.12);

}



.advantage-card:hover::before{

    transform:scaleX(1);

}



/* ---------- Иконка ---------- */

.advantage-icon{

    width:90px;

    height:90px;

    margin:0 auto 30px;

    border-radius:50%;

    background:#fff3e8;

    display:flex;

    justify-content:center;

    align-items:center;

    transition:.35s;

}



.advantage-icon svg{

    width:42px;

    height:42px;

    color:#ff8800;

    transition:.35s;

}



.advantage-card:hover .advantage-icon{

    background:#ff8800;

}



.advantage-card:hover .advantage-icon svg{

    color:#fff;

    transform:scale(1.15);

}



/* ---------- Заголовок ---------- */

.advantage-card h3{

    font-size:24px;

    line-height:1.35;

    color:#222;

    margin-bottom:18px;

}



/* ---------- Текст ---------- */

.advantage-card p{

    font-size:16px;

    line-height:1.7;

    color:#666;

}



/* ==========================
   Scroll Animation
========================== */

.advantage-card{

   
    opacity:1;

    transform:translateY(0);

    transition:.35s ease;

}

.advantage-card.show{

    opacity:1;

    transform:translateY(0);

}


/*======================================================
                TABLET
======================================================*/

@media(max-width:1100px){

.advantages-grid{

grid-template-columns:repeat(2,1fr);

gap:30px;

}

.section-header h2{

font-size:40px;

}

}



/*======================================================
                MOBILE
======================================================*/

@media(max-width:768px){

.advantages{

padding:70px 0;

}

.section-header{

margin-bottom:45px;

}

.section-header h2{

font-size:32px;

}

.section-header p{

font-size:17px;

}

.advantages-grid{

grid-template-columns:1fr;

gap:20px;

}

.advantage-card{

padding:30px 25px;

}

.advantage-icon{

width:72px;

height:72px;

margin-bottom:22px;

}

.advantage-icon svg{

width:34px;

height:34px;

}

.advantage-card h3{

font-size:22px;

}

.advantage-card p{

font-size:15px;

}

}
/* =========================================================
   WORKFLOW — КАК ПРОХОДИТ РАБОТА
   ========================================================= */

.workflow {
    padding: 100px 0;
    background: #ffffff;
    overflow: hidden;
}

.workflow .section-header {
    max-width: 800px;
    margin: 0 auto 70px;
    text-align: center;
}

/* Оранжевая подпись над заголовком */

.workflow .section-tag {
    display: inline-block;
    margin-bottom: 15px;
    color: #ff8800;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
}

/* Заголовок */

.workflow .section-header h2 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 800;
    color: #1d1d1d;
    margin-bottom: 20px;
}

/* Описание */

.workflow .section-header p {
    max-width: 720px;
    margin: 0 auto;
    color: #666;
    font-size: 18px;
    line-height: 1.6;
}


/* =========================================================
   СПИСОК ШАГОВ
   ========================================================= */

.workflow-list {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    width: 100%;
}


/* =========================================================
   ОТДЕЛЬНЫЙ ШАГ
   ========================================================= */

.workflow-item {
    position: relative;
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 0 10px;
}


/* =========================================================
   НОМЕР
   ========================================================= */

.workflow-number {
    position: relative;
    z-index: 2;

    width: 72px;
    height: 72px;

    margin: 0 auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #fff3e5;
    border: 2px solid #ff8800;

    color: #ff8800;

    font-size: 21px;
    font-weight: 800;

    transition: .3s;
}


/* =========================================================
   ЛИНИЯ МЕЖДУ ШАГАМИ
   ========================================================= */

.workflow-arrow {
    position: relative;

    width: 55px;
    min-width: 55px;

    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* горизонтальная линия */

.workflow-arrow::before {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    top: 35px;

    height: 2px;

    background: #ffd8b0;
}


/* стрелка */

.workflow-arrow::after {
    content: "";

    position: absolute;

    right: 0;
    top: 29px;

    width: 12px;
    height: 12px;

    border-top: 2px solid #ff8800;
    border-right: 2px solid #ff8800;

    transform: rotate(45deg);
}


/* =========================================================
   ЗАГОЛОВОК ШАГА
   ========================================================= */

.workflow-item h3 {
    margin-bottom: 12px;

    color: #222;

    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
}


/* =========================================================
   ОПИСАНИЕ
   ========================================================= */

.workflow-item p {
    max-width: 180px;

    margin: 0 auto;

    color: #666;

    font-size: 14px;
    line-height: 1.55;
}


/* =========================================================
   HOVER
   ========================================================= */

.workflow-item:hover .workflow-number {
    background: #ff8800;
    color: #ffffff;
    transform: translateY(-5px);

    box-shadow: 0 12px 30px rgba(255, 136, 0, .25);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .workflow {
        padding: 80px 0;
    }

    .workflow .section-header {
        margin-bottom: 55px;
    }

    .workflow .section-header h2 {
        font-size: 38px;
    }

    .workflow-list {
        display: grid;
        grid-template-columns: 1fr 40px 1fr;
        row-gap: 45px;
        align-items: start;
    }

    .workflow-item {
        padding: 0 5px;
    }

    .workflow-arrow {
        width: 40px;
        min-width: 40px;
    }

    .workflow-item h3 {
        font-size: 18px;
    }

    .workflow-item p {
        font-size: 14px;
    }

}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .workflow {
        padding: 70px 0;
    }

    .workflow .section-header {
        margin-bottom: 45px;
    }

    .workflow .section-tag {
        font-size: 14px;
    }

    .workflow .section-header h2 {
        font-size: 32px;
    }

    .workflow .section-header p {
        font-size: 16px;
    }

    /*
       На телефоне превращаем цепочку
       в вертикальную последовательность.
    */

    .workflow-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .workflow-item {
        display: grid;
        grid-template-columns: 64px 1fr;
        column-gap: 20px;

        text-align: left;

        padding: 0;

        width: 100%;
    }

    .workflow-number {
        grid-column: 1;
        grid-row: 1 / span 2;

        width: 60px;
        height: 60px;

        margin: 0;

        font-size: 18px;
    }

    .workflow-item h3 {
        grid-column: 2;
        margin: 4px 0 8px;

        font-size: 20px;
    }

    .workflow-item p {
        grid-column: 2;

        max-width: none;
        margin: 0;

        font-size: 15px;
        line-height: 1.55;
    }

    /*
       Стрелки превращаем в вертикальные линии.
    */

    .workflow-arrow {
        display: block;

        width: 60px;
        min-width: 60px;

        height: 35px;

        margin: 0;
    }

    .workflow-arrow::before {
        top: 0;
        bottom: 0;

        left: 29px;
        right: auto;

        width: 2px;
        height: auto;

        background: #ffd8b0;
    }

    .workflow-arrow::after {
        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 576px) {

    .workflow {
        padding: 60px 0;
    }

    .workflow .section-header h2 {
        font-size: 29px;
    }

    .workflow .section-header p {
        font-size: 15px;
    }

    .workflow-item {
        grid-template-columns: 54px 1fr;
        column-gap: 16px;
    }

    .workflow-number {
        width: 54px;
        height: 54px;

        font-size: 16px;
    }

    .workflow-item h3 {
        font-size: 18px;
    }

    .workflow-item p {
        font-size: 14px;
    }

    .workflow-arrow {
        width: 54px;
        min-width: 54px;
        height: 30px;
    }

    .workflow-arrow::before {
        left: 26px;
    }

}
/* =====================================================
   СОВРЕМЕННЫЙ БЛОК ЦЕНЫ
   ===================================================== */

.service-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    margin-top: auto;
    margin-bottom: 22px;

    padding-top: 18px;

    border-top: 1px solid #eeeeee;
}

.service-price span {
    display: block;

    margin-bottom: 3px;

    font-size: 11px;
    line-height: 1;

    font-weight: 800;
    letter-spacing: 1.5px;

    color: #999;
}

.service-price strong {
    display: block;

    color: #ff8800;

    font-size: 30px;
    line-height: 1.1;

    font-weight: 800;
    letter-spacing: -0.5px;
}

.service-price strong small {
    font-size: 21px;
    font-weight: 700;
}

/* =====================================================
   FINAL RESPONSIVE / COMPONENT FIXES
   ===================================================== */

html {
    scroll-padding-top: 90px;
}

[id] {
    scroll-margin-top: 90px;
}

.menu a {
    position: relative;
}

.hero-buttons,
.cta-buttons {
    align-items: stretch;
}

.service-card {
    min-width: 0;
}

.service-content {
    min-width: 0;
}

.service-content h3,
.workflow-item h3,
.price-row span,
.review-text,
.faq details p {
    overflow-wrap: anywhere;
}

/* Missing component styles: prices */
.prices {
    background: #f7f8fa;
}

.price-table {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,.07);
}

.price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 22px 28px;
    border-bottom: 1px solid #edf0f3;
}

.price-row:last-child {
    border-bottom: 0;
}

.price-row span {
    color: #333;
    font-weight: 600;
}

.price-row strong {
    color: #ff8800;
    white-space: nowrap;
    font-size: 18px;
}

.prices-note {
    max-width: 900px;
    margin: 28px auto 0;
    padding: 24px 28px;
    border-radius: 18px;
    background: #fff3e5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.prices-note p {
    color: #555;
    margin: 0;
}

/* Missing component styles: reviews */
.reviews {
    background: #fff;
}

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

.review-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 30px;
    background: #fff;
    border: 1px solid #edf0f3;
    border-radius: 22px;
    box-shadow: 0 10px 35px rgba(0,0,0,.05);
}

.review-stars {
    margin-bottom: 18px;
    color: #ff8800;
    letter-spacing: 3px;
    font-size: 18px;
}

.review-text {
    flex: 1;
    margin-bottom: 26px;
    color: #555;
    line-height: 1.7;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.review-avatar {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff3e5;
    color: #ff8800;
    font-weight: 800;
}

.review-author strong,
.review-author span {
    display: block;
}

.review-author span {
    margin-top: 3px;
    color: #888;
    font-size: 13px;
}

/* Missing component styles: FAQ */
.faq {
    background: #f7f8fa;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq details {
    background: #fff;
    border: 1px solid #e9edf2;
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 22px 60px 22px 24px;
    color: #222;
    font-weight: 700;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff8800;
    font-size: 26px;
    font-weight: 400;
}

.faq details[open] summary::after {
    content: "−";
}

.faq details p {
    padding: 0 24px 24px;
    color: #666;
    line-height: 1.7;
}

/* Mobile menu */
.burger {
    position: relative;
    z-index: 1002;
    flex: 0 0 44px;
}

@media (max-width: 900px) {
    .header {
        overflow: visible;
    }

    .header .container {
        position: relative;
    }

    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 10px 20px 18px;
        background: rgba(255,255,255,.98);
        border-top: 1px solid #edf0f3;
        box-shadow: 0 18px 35px rgba(0,0,0,.10);
        z-index: 1001;
    }

    .header.menu-open .menu {
        display: flex;
    }

    .menu a {
        padding: 13px 0;
        border-bottom: 1px solid #f0f2f5;
        font-size: 16px;
    }

    .menu a:last-child {
        border-bottom: 0;
    }

    .menu a::after {
        display: none;
    }

    .workflow-list {
        display: flex;
        gap: 0;
    }

    .workflow-item {
        flex: 1;
    }

    .workflow-arrow {
        width: 28px;
        min-width: 28px;
    }
}

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

    .prices-note {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .price-table {
        border-radius: 18px;
    }

    .price-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 18px 20px;
    }

    .price-row strong {
        white-space: normal;
        font-size: 17px;
    }

    .prices-note {
        padding: 20px;
    }

    .prices-note .btn-primary {
        width: 100%;
        text-align: center;
    }

    .review-card {
        padding: 24px 20px;
    }

    .faq summary {
        padding: 18px 52px 18px 18px;
    }

    .faq details p {
        padding: 0 18px 20px;
    }

    .workflow-list {
        display: flex;
        flex-direction: column;
    }

    .workflow-item {
        display: grid;
        grid-template-columns: 60px minmax(0, 1fr);
        flex: none;
        width: 100%;
        padding: 0;
        text-align: left;
    }

    .workflow-number {
        grid-column: 1;
        grid-row: 1 / span 2;
        margin: 0;
    }

    .workflow-item h3,
    .workflow-item p {
        grid-column: 2;
    }

    .workflow-arrow {
        width: 60px;
        min-width: 60px;
        height: 30px;
        margin: 0;
    }
}

@media (max-width: 576px) {
    .header .container {
        min-height: 65px;
    }

    .logo {
        min-width: 0;
    }

    .logo-title {
        white-space: nowrap;
    }

    .header-phone {
        min-width: 0;
    }

    .hero-content {
        min-width: 0;
    }

    .hero h1 {
        overflow-wrap: anywhere;
    }

    .hero-list li {
        min-width: 0;
    }

    .prices-note {
        gap: 18px;
    }
}

@media (max-width: 390px) {
    .logo-title {
        font-size: 15px;
    }

    .logo-subtitle {
        font-size: 8px;
    }

    .burger {
        flex-basis: 40px;
    }

    .price-row span,
    .price-row strong {
        font-size: 15px;
    }
}

/* Prevent accidental viewport overflow from form controls */
input,
textarea,
select,
button {
    max-width: 100%;
}

.checkbox {
    align-items: flex-start;
}

.checkbox input {
    flex: 0 0 auto;
    margin-top: 4px;
}

body.menu-open,
body.popup-open {
    overflow: hidden;
}
