html, body {
    max-width: 100%;
    overflow-x: hidden; /* Скрива хоризонталния скрол */
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box; /* Гарантира, че padding-ът не раздува елементите */
}

/* ПЪЛЕН РЕСТАРТ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #ffffff;
}

/* ГЛАВНА HERO СЕКЦИЯ */
.hero-section {
    position: relative;
    height: 650px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
    margin-top: 100px;
}

/* СЛАЙДЪР */
.slider-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    background: #000;
}

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* OVERLAY */
.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 2;
}

/* КОНТЕЙНЕР */
.container {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.hero-container {
    position: relative;
    z-index: 3;
    text-align: center;
}

/* ЗАГЛАВИЕ */
.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.6);
}

/* КРАСИВАТА ЧЕРВЕНА ЛИНИЯ ПОД "ПРАНЕ НА КИЛИМИ" */
.underline-text {
    position: relative;
    display: inline-block;
    color: #ffffff;
}

.underline-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px; /* По-близо до текста */
    width: 100%;
    height: 7px; /* Дебелина */
    background-color: #ffffff; /* ЧЕРВЕН ЦВЯТ */
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(238, 106, 106, 0.6); /* Красив ефект */
}

/* Запазваме червения акцент за .red-highlight, ако го ползваш другаде */
.hero-content h1 span.red-highlight {
    color: #ff0000 !important;
}

.hero-content p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 50px;
    font-weight: 600;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.7);
}

/* БУТОНИ */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
}

.btn {
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    transition: 0.3s all ease;
    display: inline-block;
    text-transform: uppercase;
}

.btn-primary {
    background: #ff0000;
    color: white;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4);
}

.btn-secondary {
    background: white;
    color: #001f3f;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.about-section {
    padding: 10px 0 50px 0; /* Минимално разстояние отгоре (10px) - плътно до снимката */
    background-color: #ffffff;
    width: 100%;
    display: flex;
    justify-content: center;
}

.about-section .container {
    max-width: 800px;
    width: 100%;
    padding: 0 20px;
}

/* ГЛАВАТА (ЗАГЛАВИЕ + ЛИНИЯ) СИ ОСТАВА ЦЕНТРАЛНА */
.about-header {
    margin-bottom: 25px;
    text-align: center; /* Центрира заглавието */
}

.about-header h2 {
    font-size: 1.8rem;
    color: #333;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}

.about-line {
    width: 220px;
    height: 3px;
    background-color: #e0e0e0;
    border-radius: 2px;
    margin: 0 auto; /* Центрира линията */
}

/* ТЕКСТЪТ СЕ ПОДРАВНЯВА ВЛЯВО */
.about-text {
    text-align: left; /* Текстът отива вляво */
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.video-container {
    max-width: 1200px; /* Правим го малко по-прибрано */
    margin: 0px auto 0px auto; /* Центриране и отстояние от текста */
    position: relative;
    padding-bottom: 39.375%; /* Съотношение за по-издължен и елегантен вид */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    background: #000; /* Черен фон, докато зарежда */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ИНФО ЛЕНТА - СИНХРОНИЗИРАНА С НАВИГАЦИЯТА */
.info-strip {
    background: #ffffff; /* Чисто бяло за по-модерен вид */
    padding: 30px 0;
    width: 100%;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    margin-top: 40px;
}

.strip-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.strip-logo {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.strip-logo:last-child {
    align-items: flex-end; /* Дясното лого отива в края */
}

.strip-text {
    display: flex;
    flex-direction: column;
    width: fit-content;
}

.strip-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.3rem; /* Малко по-голям за видимост */
    color: #1a1a1a;
    font-weight: 300; /* Тънко за "Перфект" */
    line-height: 1.1;
}

.strip-brand .accent {
    font-weight: 900; /* Дебело за "Клийн" */
    color: #e31e24;   /* Червено */
}

.strip-logo-line {
    width: 100%;
    height: 2px;
    background: #e31e24;
    margin: 3px 0;
}

.strip-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: #ff0000; /* Тъмно сиво за професионален вид */
    font-weight: 700;
    text-transform: uppercase;
}

/* ЦЕНТРАЛНИ КОНТАКТИ - ОБНОВЕН СТИЛ */
.strip-contacts {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1.5;
    justify-content: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрира елементите вертикално */
    text-align: center;
}

.contact-item .city {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px; /* Разстояние до линията */
}

/* ЧЕРТАТА ПОД ГРАДОВЕТЕ */
.contact-item .city-line {
    width: 60px; /* Дължина на чертата */
    height: 2px;
    background-color: #e31e24; /* Червен цвят за чертата */
    margin-bottom: 8px; /* Разстояние до номера */
}

.contact-item .phone {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    color: #e31e24 !important; /* НОМЕРЪТ В ЧЕРВЕНО */
    text-decoration: none;
    font-weight: 900;
    transition: 0.3s;
}

.contact-item .phone:hover {
    color: #b5151a !important; /* По-тъмно червено при посочване */
    transform: scale(1.05);
}

.contact-divider {
    width: 1px;
    height: 50px;
    background: #eee;
}

/* СТИЛОВЕ ЗА ШАХМАТНИЯ ПРОЦЕС */
.process-section {
    padding: 100px 0;
    background-color: #ffffff;
    display: flex;
    justify-content: center; /* Центрира секцията спрямо екрана */
}

.process-rows {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 60px; /* Разстояние между редовете */
    max-width: 1200px; /* Ограничава ширината за по-добро центриране */
    width: 100%;
}

.process-row {
    display: flex;
    align-items: center; /* Вертикално центриране на текст спрямо снимка */
    justify-content: center; /* Хоризонтално центриране */
    gap: 50px; /* Разстояние между текст и снимка в реда */
}

/* Използваме flex-direction: row-reverse за обръщане на редовете (Снимка - Текст) */
.process-row.reverse {
    flex-direction: row-reverse;
}

/* ТЕКСТОВА ЧАСТ */
.process-text {
    flex: 1; /* Заема половината пространство */
    text-align: left;
}

.step-badge {
    display: inline-block;
    background-color: #ff0000;
    color: white;
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.process-text h3 {
    font-size: 2.2rem;
    color: #001f3f;
    margin-bottom: 20px;
    font-weight: 800;
}

.process-text p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
}

/* СНИМКОВА ЧАСТ */
.process-image {
    flex: 1; /* Заема другата половина */
    display: flex;
    justify-content: center; /* Центрира снимката в нейния контейнер */
}

.process-image img {
    width: 100%;
    max-width: 500px; /* Ограничава снимката, за да не "избяга" центрирането */
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    transition: 0.4s all ease;
}


/* ФУТЪР - СИМЕТРИЧЕН ДИЗАЙН */
.main-footer {
    background: linear-gradient(180deg, #01162b 0%, #000c18 100%);
    color: #ffffff;
    padding: 60px 0 0 0;
    margin-top: 50px;
    width: 100%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px 60px 40px;
}

/* СТИЛ ЗА ТЕКСТОВОТО ЛОГО */
.side-logo {
    flex: 1;
}

.side-logo:last-child {
    display: flex;
    justify-content: flex-end; /* Дясното лого отива в края */
}

.footer-logo-text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
}

.footer-logo-text {
    font-family: 'Bad Script', cursive;
    color: #ffffff;
    font-size: 2.4rem;
    line-height: 1;
}

.footer-logo-line {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    margin: 4px 0;
}

.footer-logo-subtext {
    font-family: 'Montserrat', sans-serif;
    color: #ff0000;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ЦЕНТРАЛНА ИНФОРМАЦИЯ */
.center-info {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.footer-address-group {
    text-align: center;
}

.footer-address-group h4 {
    color: #ff0000;
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 800;
}

.footer-address-group p {
    font-size: 1rem;
    color: #cbd5e0;
    margin: 2px 0;
}

.footer-v-divider {
    width: 1px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
}


/* MODAL BASE - ПЪЛНО ЦЕНТРИРАНЕ И ФИКСИРАНЕ */
.modal {
    display: none; 
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    
    /* Центриране */
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex; 
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 95%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
    /* Гарантира, че нищо не излиза извън кутията */
    box-sizing: border-box; 
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 35px;
    cursor: pointer;
    color: #333;
    transition: 0.3s;
    line-height: 1;
}

.close-modal:hover { color: #ff0000; }

.modal-header { text-align: center; margin-bottom: 25px; }

.modal-form { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    width: 100%;
}

.form-group { 
    display: flex; 
    flex-direction: column; 
    gap: 5px; 
    text-align: left;
    width: 100%;
}

.form-group label { 
    font-weight: 700; 
    color: #001f3f; 
    font-size: 0.85rem; 
}

.form-group input {
    width: 100%; /* Заема цялата ширина на контейнера си */
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.3s;
    box-sizing: border-box; /* Важно за подравняването */
}

/* Валидация */
.form-group input:focus:invalid {
    border-color: #ff0000;
    background-color: #fff8f8;
}

.form-group input:focus:valid {
    border-color: #28a745;
}

/* ПОПРАВКА НА БЯГАЩОТО ПОЛЕ (ГРАД И ТЕЛЕФОН) */
.form-row { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 15px; 
    width: 100%;
    box-sizing: border-box;
}

.order-note-box {
    background: #fff5f5;
    border-left: 4px solid #ff0000;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
    margin: 10px 0;
    box-sizing: border-box;
}

.order-note-box p { 
    color: #cc0000; 
    margin: 0; 
    font-size: 0.9rem; 
    font-weight: 600; 
}

.btn-submit-order {
    background: #ff0000;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: 0.3s;
    width: 100%;
}

.btn-submit-order:hover { 
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(204, 0, 0, 0.3);
}

/* ФИНАЛНО ЦЕНТРИРАНЕ ЗА PRICES PAGE */
.prices-page-content {
    padding: 120px 0 80px 0;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрира всичко по вертикалната ос */
    width: 100%;
}

.prices-wrapper {
    width: 90%;
    max-width: 800px; /* Ограничава широчината, за да стои компактно в центъра */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрира вътрешните блокове */
}

/* Центриране на заглавията и линиите */
.price-main-header, .price-section {
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
}

.header-line, .header-line-small {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* КУТИЯТА С ПРИМЕРИТЕ - Центрирана, но текстът вътре е вляво */
.calculation-info {
    width: 100%;
    background: #fdfdfd;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #ff0000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    text-align: left; /* Важно: четенето е отляво */
    margin-bottom: 40px;
}

/* СПИСЪКЪТ - Центриран контейнер с ляво подравнен текст */
.price-list {
    display: inline-block; /* Позволява на списъка да се центрира като блок */
    text-align: left;
    padding: 0;
    margin: 0 auto 40px auto;
    width: 100%;
    max-width: 600px; /* За да не се разтяга твърде много */
}

.price-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.1rem;
}

/* ТАБЛИЦАТА С ГРАДОВЕТЕ */
.city-prices-table.simple {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

/* КАРТИТЕ ЗА СПЕЦИФИЧНИ КИЛИМИ */
.specific-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
    text-align: left;
}

.spec-card {
    background: #f9f9f9;
    padding: 15px 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
}

.header-line { width: 120px; height: 3px; background-color: #ff0000; margin: 15px auto 0; }


/* БУТОН ЗА ЗАТВАРЯНЕ (ХИКС) - ПО-ГОЛЯМ И УДОБЕН */
.close-modal, .close-calc {
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 50px; /* Много голям хикс */
    font-weight: 200; /* Тънък и модерен вид */
    cursor: pointer;
    color: #333;
    line-height: 1;
    width: 60px;  /* Широка зона за докосване */
    height: 60px; /* Висока зона за докосване */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    z-index: 10001;
}

.close-modal:hover, .close-calc:hover {
    color: #ff0000;
    transform: scale(1.1);
}

/* Calculator */
.calc-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
    margin-top: 10px;
}

.tab-btn {
    padding: 12px 20px;
    border: 1px solid #ddd;
    background: #f4f4f4;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s;
    flex: 1; /* Бутоните да са равни */
    max-width: 200px;
}

.tab-btn.active {
    background: #ff0000;
    color: #fff;
    border-color: #ff0000;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.2);
}

/* СЕКЦИИ */
.calc-section {
    display: none; /* Скрити по подразбиране */
}

.calc-section.active {
    display: block; /* Показва се само активната */
}

.calc-step-result {
    background: #f0f4f8;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    margin: 15px 0;
    font-size: 1.1rem;
    color: #001f3f;
    border: 1px dashed #cbd5e0;
    font-weight: 600;
}

.calc-result-final {
    background: #fdfdfd;
    color: #333;
    padding: 30px 10px;
    border-radius: 12px;
    text-align: center;
    margin: 20px 0 10px 0;
    border: 2px solid #f0f0f0;
}

.calc-result-final span { 
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    color: #001f3f;
}

.price-display { 
    display: flex;         /* ТОВА СЛАГА ЦИФРИТЕ И ВАЛУТАТА ЕДНО ДО ДРУГО */
    justify-content: center; /* Центрира ги в средата на кутията */
    align-items: baseline;   /* Подравнява ги по долната линия на текста */
    font-size: 3.5rem; 
    font-weight: 900; 
    color: #ff0000; 
    line-height: 1;
}

.order-note-box.mini { 
    padding: 10px; 
    margin-top: 15px; 
    background: #fff5f5; 
    border-left: 4px solid #ff0000;
    border-radius: 4px;
}

.order-note-box.mini p { 
    font-size: 0.85rem; 
    margin: 0; 
    color: #333; 
    line-height: 1.4;
}

.calc-footer-btns {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-clear {
    flex: 1;
    padding: 12px;
    background: #e2e8f0; /* Светло сиво */
    color: #4a5568;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-clear:hover {
    background: #cbd5e0;
}

.calc-footer-btns .btn-submit-order {
    flex: 1;
    margin-top: 0 !important; /* Премахваме стария марджин */
}

.red-sub-header {
    color: #ff0000;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 1.5rem;
}
.city-col span {
    font-size: 1.2rem;
    color: #000000;
    font-weight: 700;
}

.city-col h4 {
    font-size: 1.2rem;
    color: #001f3f;
    margin-bottom: 8px;
    font-weight: 800;
}

.city-col {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.city-prices-table.simple {
    display: flex;             /* Променено от grid на flex */
    justify-content: center;   /* Хоризонтално центриране */
    align-items: center;
    gap: 80px;                 /* Разстояние между Перник и София */
    width: 100%;
    margin: 30px 0;
    padding: 25px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.price-extra-info{
    margin-left: 0 !important; /* Премахваме стария марджин */
    text-align: center;
    color: rgb(255, 0, 0);

    width: 100%;
    margin-top: 20px;
    font-size: 1.8rem;
    border-radius: 20%;
}

.price-extra-info2{
    margin-left: 0 !important; /* Премахваме стария марджин */
    text-align: center;
    color: red;
    width: 100%;
    margin-top: 20px;
    font-size: 1.4rem;
}

.storage-price-info {
    text-align: center;
    font-size: 1.2rem;
    color: #333;
    margin-top: -50px;
    padding: 10px;
    font-weight: 600;
}

.storage-price-info strong {
    color: #ff0000;
}

/* --- ГАЛЕРИЯ СЕКЦИЯ --- */
.gallery-section {
    padding: 120px 20px 60px;
    background: #fdfdfd;
    max-width: 1200px;
    margin: 0 auto;
}

.container {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    color: #ff0000;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #333;
    margin-bottom: 50px;
    font-weight: 700;
}

/* --- ГРИДОВЕ (DESKTOP) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    margin-bottom: 40px;
    justify-items: center;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
    justify-content: center;
}

.before-after-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1130px;
    margin: 40px auto;
}

/* --- ЕЛЕМЕНТИ --- */
.gallery-item {
    width: 100%;
    max-width: 350px;
}

.gallery-item img, .ba-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: block;
}

.video-item iframe {
    width: 100%;
    max-width: 500px;
    height: 400px; /* Тук регулирате колко да е разгънато надолу */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.video-item iframe {
    width: 100%;
    max-width: 320px; /* Ограничаваме ширината, за да е като телефон */
    aspect-ratio: 9 / 16; /* Вертикално съотношение */
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: none;
}

.video-item {
    display: flex;
    justify-content: center; /* Центрира видеото в страницата */
    padding: 20px;
}
/* --- ЕТИКЕТИ ПРЕДИ/СЛЕД --- */
.ba-label {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    padding: 8px 15px;
    display: inline-block;
    border-radius: 5px;
}

.ba-label.before { background: #555; color: #fff; }
.ba-label.after { background: #ff0000; color: #fff; }

.gallery-thank-you {
    background: #fff;
    border: 1px solid #eee;
    border-left: 8px solid #ff0000;
    padding: 40px 20px;
    text-align: center;
    margin: 60px auto;
    max-width: 900px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    border-radius: 10px;
}

.gallery-thank-you h3 {
    color: #001f3f;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.gallery-phone {
    font-weight: 900;
    color: #ff0000;
    font-size: 1.5rem;
    margin-top: 15px;
    display: block;
}

.gallery-divider {
    border: 0;
    height: 1px;
    background-color: #e0e0e0;
    max-width: 900px;
    margin: 50px auto;
}


@media (max-width: 1024px) {
    .hide-mobile {
        display: none; /* Скриваме второто лого на по-малки екрани, за да не стане натрупано */
    }
}

/* МОБИЛНА ВЕРСИЯ */
@media (max-width: 768px) {
    .hero-section { 
        height: 85vh; /* По-високо на телефон, за да се вижда снимката под менюто */
        margin-top: 80px; 
    }

    .hero-content h1 {
        font-size: 2.2rem; /* Намали заглавието, за да не се чупи на много редове */
        width: 100%;
    }
    .hero-content {
        width: 100% !important;
        padding: 0 20px; /* Дава въздух отстрани, без да излиза от екрана */
        text-align: center;
    }
    .hero-btns {
        display: flex;
        flex-direction: column; /* Бутоните един под друг, за да не се застъпват */
        gap: 15px;
        align-items: center;
    }

    .hero-btns .btn {
        width: 90%; /* Бутоните заемат почти целия екран на телефон */
    }

    /* Настройваме линията специално за телефон */
    .underline-text::after { 
        height: 5px; 
        bottom: -5px; /* На телефон трябва да е по-близо до текста */
        background-color: #ff0000; /* Връщаме червеното */
    }

    .hero-content p {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .cta-buttons { 
        flex-direction: column; 
        gap: 15px;
        align-items: center; 
    }

    .btn { 
        width: 100%; 
        max-width: 320px; 
        padding: 15px 30px; /* По-удобни за палеца */
    }
    .about-section {
        padding: 10px 15px 40px 15px;
    }
    
    .about-header h2 {
        font-size: 1.6rem;
    }

    .about-text {
        text-align: center; /* На телефон е по-красиво текстът да е в центъра */
    }
    .video-container {
        max-width: 125%;
        padding-bottom: 56.25%; /* Стандартно 16:9 за телефон */
        margin-top: 30px;
        text-align: center;
    }
    .strip-container {
        flex-direction: column;
        gap: 25px;
    }
    .strip-contacts {
        flex-direction: column;
        gap: 20px;
    }
    .contact-divider {
        display: none;
    }

    .process-section {
        padding: 50px 15px; /* По-малки отстояния на телефон */
    }

    .process-rows {
        gap: 40px; /* По-малко разстояние между отделните стъпки */
    }

    .process-row, 
    .process-row.reverse {
        flex-direction: column !important; /* Всичко става един под друг */
        text-align: center; /* Центрираме текста */
        gap: 20px;
    }

    .process-text {
        text-align: center; /* Заглавието и параграфът отиват в средата */
        padding: 0 10px;
    }

    .process-text h3 {
        font-size: 1.6rem; /* Малко по-малко заглавие за телефон */
        margin-bottom: 15px;
    }

    .process-text p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .process-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .process-image img {
        max-width: 100%; /* Снимката заема целия наличен екран */
        height: auto;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* Малко по-лека сянка */
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .center-info {
        flex-direction: column;
    }
    
    .footer-v-divider {
        display: none;
    }

    .footer-address-group {
        margin-bottom: 30px;
    }

    .form-row { grid-template-columns: 1fr; }
    .modal-content { padding: 25px; width: 90%; }

    /* price page */
    .city-prices-table.simple { grid-template-columns: 1fr 1fr; gap: 20px; }
    .city-prices-table.simple .city-col:nth-child(2n) { border-right: none; }
    .specific-grid { grid-template-columns: 1fr; }
    
    /* Calculator */
    .close-modal, .close-calc {
        font-size: 40px;
        width: 50px;
        height: 50px;
        right: 5px;
        top: 0;
    }

    .calc-tabs {
        flex-direction: row; /* Държим ги един до друг, но намаляваме шрифта */
        gap: 5px;
    }

    .tab-btn {
        padding: 10px 5px;
        font-size: 0.8rem; /* По-малък текст за малки екрани */
    }

    .price-display {
        font-size: 2.5rem; /* Намаляваме сумата, за да не излиза от екрана */
    }

    .calc-result-final {
        padding: 20px 5px;
    }

    .calc-result-final span {
        font-size: 1rem;
    }

    .calc-footer-btns {
        flex-direction: column; /* Бутоните стават един под друг за лесно натискане */
    }

    .btn-clear, .calc-footer-btns .btn-submit-order {
        width: 100%;
        padding: 15px; /* По-голяма зона за кликване с палец */
    }
    .gallery-section {
        padding: 100px 15px 40px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .gallery-grid, 
    .video-grid, 
    .before-after-row {
        grid-template-columns: 1fr; /* Всичко минава в една колона */
        gap: 30px;
    }

    .gallery-item img, 
    .ba-item img {
        height: 300px; /* По-ниски снимки за по-лесен скрол */
    }

    .gallery-thank-you {
        padding: 30px 15px;
        margin: 40px 0;
    }

    .gallery-thank-you h3, 
    .gallery-phone {
        font-size: 1.4rem;
    }
}