:root {
    --primary-color: #3156a3;
    --secondary-color: #42b3e5; /* Светло синьо */
    --accent-color: #0384ce;    /* По-тъмно синьо */
    --dark-blue: #21386e;
    --light-blue: #e9f4fc;
    --text-color: #333;
    --light-text: #777;
    --light-gray: #f6f6f6;
    --white: #ffffff;
    /* Променливите за червен цвят вече не са нужни тук */
    /* --emergency-color: #e54242; */
    /* --emergency-color-hover: #c43535; */
    --box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --catalog-blue: #42b3e5;
    --pricelist-blue: #0384ce;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: 'Poppins', sans-serif; color: var(--text-color); line-height: 1.6; background-color: var(--white); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; font-weight: 700; margin-bottom: 0.5rem; }
a { text-decoration: none; color: var(--primary-color); transition: var(--transition); }
a:hover { color: var(--secondary-color); }

.section-title { text-align: center; margin-bottom: 2.5rem; color: var(--primary-color); font-size: 2rem; position: relative; padding-bottom: 15px; }
.section-title::after { content: ''; position: absolute; width: 50px; height: 3px; background-color: var(--secondary-color); bottom: 0; left: 50%; transform: translateX(-50%); }

/* Buttons (Общи) */
.btn-primary, .btn { /* Добавих .btn за новия бутон */
    display: inline-block; background-color: var(--primary-color); color: white; padding: 10px 20px; border-radius: 4px; font-weight: 600; transition: var(--transition); position: relative; border: none; cursor: pointer; text-decoration: none; }
.btn-primary:hover, .btn:hover { background-color: var(--dark-blue); color: white; } /* Общ hover за .btn */
.btn-outline { display: inline-block; border: 2px solid var(--primary-color); color: var(--primary-color); padding: 8px 18px; border-radius: 4px; font-weight: 600; transition: var(--transition); background: none; cursor: pointer; text-decoration: none; }
.btn-outline:hover { background-color: var(--primary-color); color: white; }

/* Header (Desktop) */
.main-header { background-color: white; box-shadow: 0 2px 5px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.header-top { display: flex; align-items: center; justify-content: center; padding: 10px 0; position: relative; }
.logo-container { display: flex; align-items: center; justify-content: center; }
.site-logo { height: 115px; width: auto; margin-right: 15px; }
.site-title h1 { font-size: 1.8rem; color: var(--primary-color); margin-bottom: 0; }

/* --- Спешен Телефон (Десктоп) - Стандартен Син Стил --- */
.emergency-phone {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}
.emergency-phone .phone-button {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 1rem;
    background-color: var(--primary-color); /* Основният син цвят */
    color: white;
    border-radius: 4px;
    font-weight: 600; /* Стандартна тежест */
    box-shadow: none; /* Без сянка */
    transition: all 0.3s ease;
    border: none;
}
.emergency-phone .phone-button:hover {
    background-color: var(--dark-blue); /* Стандартен hover цвят */
    box-shadow: none;
    transform: translateY(-50%); /* Запазваме оригиналната трансформация */
    color: white;
}
.emergency-phone .phone-button i {
    margin-right: 8px;
    font-size: 1em;
}
.emergency-phone .phone-button .btn-separator {
    display: inline-block;
    width: 1px;
    height: 20px;
    background-color: rgba(255,255,255,0.6);
    margin: 0 8px;
    vertical-align: middle; /* Добавено за по-добро подравняване */
}
/* ---------------------------------------------------- */

/* Navigation (Desktop) */
.nav-wrapper { background-color: var(--primary-color); width: 100%; }
.main-nav ul { display: flex; list-style: none; justify-content: center; flex-wrap: wrap; margin: 0; padding: 0; position: relative; }
.main-nav li { position: relative; }
.main-nav li:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: 16px; width: 1px; background-color: rgba(255,255,255,0.15); }
.main-nav li.language-item::after { display: none; }
.main-nav li:has(+ li.language-item)::after { display: none; }

.main-nav a {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 15px 20px;
    display: block;
    transition: var(--transition);
    text-decoration: none;
}
.main-nav a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

/* Специфични стилове за бутони в навигацията (като .btn-primary/.btn-outline) се прилагат директно чрез класовете */

/* Mobile menu icon (Desktop - Hidden) */
.menu-toggle { display: none; }

/* Dropdown (Desktop) */
.dropdown { position: relative; }
.dropdown .dropdown-toggle { cursor: pointer; }
.dropdown .dropdown-menu { display: none; position: absolute; background-color: var(--primary-color); list-style: none; margin: 0; padding: 0; border-radius: 0 0 4px 4px; box-shadow: var(--box-shadow); top: 100%; left: 0; min-width: 240px; z-index: 999; border: none; }
.dropdown:hover .dropdown-menu { display: block; }
.dropdown .dropdown-menu li a { display: block; padding: 10px 20px; color: white; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.2); }
.dropdown .dropdown-menu li:last-child a { border-bottom: none; }
.dropdown .dropdown-menu li a:hover { background-color: var(--secondary-color); color: #fff; }
.language-item.dropdown .dropdown-menu { min-width: auto; padding: 0; left: auto; right: 0; border-radius: 0 0 4px 4px; }
.language-item.dropdown .dropdown-menu li { text-align: left; }
.language-item.dropdown .dropdown-menu li a { padding: 10px 20px; }

/* Hero section (Desktop) */
.hero-section { position: relative; margin-bottom: 40px; display: flex; }
.hero-image-container { width: 100%; max-height: 440px; overflow: hidden; position: relative; }
.hero-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.site-title-mobile { display: none; }
.maps-button-mobile { display: none; }

/* Opening hours (Desktop) */
.opening-hours-container { position: absolute; top: 30px; right: 30px; width: 300px; z-index: 100; opacity: 0; transform: translateY(-20px); animation: fadeInDown 1s 0.5s forwards; }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.opening-hours-box { background-color: var(--primary-color); color: white; border-radius: 5px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.box-header { display: flex; align-items: center; padding: 15px 20px; background-color: var(--dark-blue); }
.box-header i { font-size: 1.5rem; margin-right: 15px; }
.box-header h3 { margin: 0; font-size: 1.2rem; font-weight: 700;}
.opening-hours-list { list-style: none; padding: 15px 20px; max-height: 500px; transition: max-height 0.3s ease; overflow: hidden; }
.opening-hours-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.2); font-size: 1rem; }
.opening-hours-list li:last-child { border-bottom: none; }
.hours-toggle { display: block; text-align: center; padding: 10px; background-color: rgba(0,0,0,0.1); color: white; transition: background-color 0.3s; cursor: pointer; }
.hours-toggle:hover { background-color: rgba(0,0,0,0.2); color: white; }
.opening-hours-box.collapsed .hours-toggle i { transform: rotate(180deg); }
.hours-toggle i { transition: transform 0.3s ease-in-out; }

/* Preventive programs section (Desktop) */
.services-section {
    padding: 30px 0;
    background-color: var(--white);
    margin-bottom: 20px; /* Запазваме отстоянието под тази секция */
    position: relative;
}
.services-section::after { display: none; }
.program-list { display: flex; justify-content: center; align-items: center; margin-top: 1rem; }
.preventive-program-button { display: inline-flex; align-items: center; justify-content: center; background-color: var(--secondary-color); color: var(--white); padding: 15px 35px; border-radius: 8px; font-weight: 600; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.5px; transition: var(--transition); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); border: none; text-decoration: none; }
.preventive-program-button i { margin-right: 12px; font-size: 1.3em; }
.preventive-program-button:hover { background-color: var(--primary-color); color: var(--white); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); transform: translateY(-3px); }

/* ============================================= */
/* === СТИЛОВЕ ЗА РЕДИЗАЙН НА УСЛУГИ (Десктоп) = */
/* ============================================= */

.extra-services {
    padding: 20px 0 40px 0; /* Намален padding-top, запазен padding-bottom */
    background-color: var(--light-blue);
}

.service-grid {
    display: grid;
    gap: 30px;
    align-items: stretch;
    margin-bottom: 30px; /* Намалено разстояние между редовете */
}
.service-grid.row-2 { grid-template-columns: repeat(2, 1fr); }
.service-grid.row-3 { grid-template-columns: repeat(3, 1fr); }
.service-grid.row-4 { grid-template-columns: repeat(4, 1fr); }

.service-grid:last-child {
    margin-bottom: 0; /* Премахваме долния margin на последния ред */
}

/* --- МОДИФИЦИРАНО ПРАВИЛО --- */
.service-block-redesigned {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px 25px;
    /* text-align: center; */ /* Премахваме това */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center; /* ДОБАВЕНО: Центрира всички елементи хоризонтално */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0eaf1;
}

.service-block-redesigned:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(49, 86, 163, 0.12);
}

.service-image-container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 25px auto; /* margin: auto вече не е нужно заради align-items */
    overflow: hidden;
    flex-shrink: 0;
    border: 5px solid var(--white);
    box-shadow: 0 0 0 4px var(--secondary-color), 0 6px 18px rgba(0, 0, 0, 0.12);
}

.service-image-container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-block-redesigned:hover .service-image-container img {
    transform: scale(1.1);
}

.service-block-redesigned .service-content {
    flex-grow: 1;
    margin-bottom: 20px;
    text-align: center; /* Добавяме text-align: center тук, ако искаме само текстът да е центриран */
}

.service-block-redesigned h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

.service-block-redesigned p {
    font-size: 0.95rem;
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Актуализирано правило за бутони "Виж повече" --- */
.btn-service-view {
    display: inline-flex;    /* inline-flex за подравняване на икона и текст */
    align-items: center;
    justify-content: center;
    width: 125px;            /* УВЕЛИЧЕНА ФИКСИРАНА ШИРИНА, за да се побере текстът */
    padding: 6px 10px;       /* Падинг вътре в бутона */
    font-size: 0.85rem;      /* Размер на текста "Виж повече" */
    font-weight: 500;
    color: white;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    border: none;
    border-radius: 18px;
    text-align: center;      /* Подравнява съдържанието вътре в бутона */
    text-decoration: none;
    white-space: nowrap;     /* Допълнителна гаранция, че текстът няма да се пренесе */
    cursor: pointer;
    margin-top: auto;        /* Избутва бутона надолу */
    /* Хоризонталното центриране на самия бутон се постига от */
    /* align-items: center на родителския елемент (.service-block-redesigned) */
    box-shadow: 0 2px 6px rgba(66, 179, 229, 0.2);
    transition: var(--transition);
}

/* Разделител в бутона "Виж повече" */
.btn-service-view .btn-separator {
    display: inline-block;
    width: 1px;
    height: 14px; /* Малко по-малка височина */
    background-color: rgba(255, 255, 255, 0.6);
    margin: 0 6px; /* Отстояние от иконата и текста */
    vertical-align: middle;
}

/* Стил за иконата вътре в бутона "Виж повече" */
.btn-service-view i {
    margin-right: 0;         /* Премахваме десния margin, защото има сепаратор */
    font-size: 1.15em;       /* Увеличен размер на иконата */
    line-height: 1;
    vertical-align: middle;
}

/* Hover ефектът за бутона "Виж повече" */
.btn-service-view:hover {
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    color: white;
    box-shadow: 0 4px 10px rgba(3, 132, 206, 0.35);
    transform: translateY(-2px);
}
/* ============================================= */
/* === КРАЙ: РЕДИЗАЙН НА УСЛУГИ (Десктоп) ====== */
/* ============================================= */


/* Doctors section (Desktop) */
.doctors-section {
    padding: 40px 0; /* Запазваме padding */
    background-color: var(--white);
    /* margin-top: 20px; */ /* Премахнато */
}
.doctors-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.doctor-card { text-align: center; }
.doctor-image { width: 180px; height: 180px; margin: 0 auto 20px; border-radius: 50%; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); border: 5px solid var(--light-blue); transition: var(--transition); }
.doctor-image img { width: 100%; height: 100%; object-fit: cover; }
.doctor-card:hover .doctor-image { border-color: var(--secondary-color); transform: scale(1.05); }
.doctor-card h3 { color: var(--primary-color); font-size: 1.2rem; margin-bottom: 5px; font-weight: 700;}
.doctor-title { font-size: 0.9rem; line-height: 1.4; color: var(--text-color); margin-bottom: 15px; font-style: normal; }
.doctor-quote { background-color: var(--light-blue); border-radius: 8px; padding: 15px; position: relative; margin-top: 0; min-height: 140px; display: flex; flex-direction: column; justify-content: center; }
.doctor-quote i { color: var(--secondary-color); font-size: 1.2rem; margin-bottom: 5px; }
.doctor-quote p { font-style: italic; color: var(--text-color); font-size: 0.9rem; line-height: 1.4; }


/* ============================================= */
/* === СТИЛОВЕ ЗА КОНТАКТИ (Редизайн) = */
/* ============================================= */
.contact-section.new-contact-design {
    padding: 60px 0;
    background-color: var(--white);
    border-top: 1px solid #eee;
}

.new-contact-design .section-title {
    margin-bottom: 3rem;
}

/* По подразбиране - скриваме десктоп изгледа, показваме мобилния */
.new-contact-design .desktop-view {
    display: none;
}
.new-contact-design .mobile-view {
    display: block;
}

/* ДЕСКТОП СТИЛОВЕ - За екрани над 992px */
@media (min-width: 993px) {
    /* Скриваме мобилната версия, показваме десктоп */
    .new-contact-design .desktop-view {
        display: grid;
        grid-template-columns: 40% 60%; /* Съотношение 40:60 */
        gap: 30px;
        align-items: stretch;
    }
    .new-contact-design .mobile-view {
        display: none;
    }
    
    /* Десктоп стилове за контактите */
    .new-contact-design .contact-boxes {
        display: flex;
        flex-direction: column;
        gap: 30px;
        margin-bottom: 0;
        height: 100%;
    }
    
    .new-contact-design .contact-box {
        background-color: var(--white);
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        overflow: hidden;
        position: relative;
        flex: 1;
        display: flex;
    }
    
    .new-contact-design .contact-box::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background-color: var(--secondary-color);
    }
    
    .new-contact-design .box-content {
        padding: 25px;
        flex-grow: 1;
    }
    
    .new-contact-design .box-content strong {
        display: flex;
        align-items: center;
        font-size: 1.1rem;
        color: var(--primary-color);
        margin-bottom: 15px;
    }
    
    .new-contact-design .box-content strong i {
        margin-right: 10px;
        color: var(--secondary-color);
    }
    
    .new-contact-design .box-content p {
        margin-bottom: 15px;
        color: var(--text-color);
    }
    
    .new-contact-design .phone-group {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 10px;
    }
    
    .new-contact-design .phone-group:last-child {
        margin-bottom: 0;
    }
    
    .new-contact-design .phone-group a {
        color: var(--text-color);
        text-decoration: none;
        font-weight: normal;
    }
    
    .new-contact-design .phone-group a:hover {
        text-decoration: underline;
        color: var(--secondary-color);
    }
    
    .new-contact-design .btn-directions {
        display: inline-flex;
        align-items: center;
        background-color: var(--secondary-color);
        color: var(--white);
        padding: 8px 15px;
        border-radius: 4px;
        text-decoration: none;
        transition: background-color 0.3s;
        font-weight: 500;
        margin-top: 10px;
    }
    
    .new-contact-design .btn-directions:hover {
        background-color: var(--accent-color);
        color: var(--white);
    }
    
    .new-contact-design .btn-directions i {
        margin-right: 8px;
    }
    
    .new-contact-design .social-icons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 5px;
    }
    
    /* Стил за Facebook линка */
    .new-contact-design .social-link {
        display: inline-flex;
        align-items: center;
        text-decoration: none;
        transition: color 0.3s;
    }
    
    .new-contact-design .facebook-link {
        color: var(--primary-color); /* Тъмно син цвят за текста */
    }
    
    .new-contact-design .facebook-text {
        font-weight: 500;
    }
    
    .new-contact-design .social-link:hover {
        text-decoration: underline;
    }
    
    .new-contact-design .facebook-link:hover .facebook-text {
        color: var(--secondary-color);
    }
    
    /* Стил за иконата в син кръг */
    .new-contact-design .footer-icon-wrapper {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        background-color: var(--primary-color);
        border-radius: 50%;
        margin-right: 10px;
        flex-shrink: 0;
    }
    
    .new-contact-design .footer-icon-wrapper i {
        color: white;
        font-size: 0.9rem;
        line-height: 1;
    }
    
    /* Карта на десктоп версията */
    .new-contact-design .contact-map {
        height: 100%;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
}

/* Footer */
.main-footer { background-color: var(--dark-blue); color: white; padding: 20px 0; text-align: center; position: relative; border-top: none; }
.main-footer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background-color: rgba(0, 0, 0, 0.3); box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.1); }
.footer-bottom p { margin: 0; font-size: 0.9rem; }
.footer-contact-mobile { display: none; }

/* По подразбиране скриваме мобилните елементи */
.mobile-services-links,
.additional-buttons-mobile {
    display: none;
}
/* ============================================================== */
/* =========== START: TABLET & MOBILE STYLES ==================== */
/* ============================================================== */

@media (max-width: 992px) {
    /* Tablet overrides */
    .service-grid.row-3, .service-grid.row-4 { grid-template-columns: repeat(2, 1fr); }
    .service-grid.row-2 { grid-template-columns: repeat(2, 1fr); }
    .doctors-row { grid-template-columns: repeat(2, 1fr); }
    .emergency-phone { position: static; transform: none; margin-left: auto; margin-right: 15px;}
    .emergency-phone .phone-button { padding: 8px 15px; font-size: 0.9rem; background-color: var(--primary-color); font-weight: 600; box-shadow: none; }
    .emergency-phone .phone-button:hover { background-color: var(--dark-blue); box-shadow: none; transform: none; }
    .site-title h1 { font-size: 1.6rem;}
    .site-logo { height: 80px;}
}

/* ============ MOBILE STYLES (768px and below) ============== */
@media (max-width: 768px) {
    /* --- Header Mobile --- */
    .header-top { padding: 5px 10px; justify-content: space-between; min-height: 65px; }
    .site-title { display: none; }
    .logo-container { justify-content: flex-start; }
    .site-logo { height: 50px; margin-right: 10px;}
    .emergency-phone { display: inline-flex; position: static; transform: none; margin: 0 5px 0 auto; }
    .emergency-phone .phone-button { padding: 6px 10px; font-size: 0.85rem; background-color: var(--primary-color); box-shadow: none; }
    .emergency-phone .phone-button:hover { background-color: var(--dark-blue); box-shadow: none; transform: none; }
    .emergency-phone .phone-button i { display: inline-block; margin-right: 0; font-size: 1em; }
    .emergency-phone .phone-button .btn-separator,
    .emergency-phone .phone-button span:not([class*="fa"]) { display: none; }

    .menu-toggle { display: flex; position: static; transform: none; width: 40px; height: 40px; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--primary-color); cursor: pointer; order: 3; z-index: 1100; }
    /* Навигация (Мобилна) */
    .nav-wrapper { position: absolute; top: 100%; left: 0; width: 100%; box-shadow: 0 5px 10px rgba(0,0,0,0.1); z-index: 999;}
    .main-nav { display: none; background-color: var(--primary-color); border-radius: 0; }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; padding: 0; }
    .main-nav li { margin: 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .main-nav li:last-child { border-bottom: none; }
    .main-nav li:not(:last-child)::after { display: none; }
    /* Стандартен стил за ВСИЧКИ линкове в мобилното меню (вкл. бившите бутони) */
    .main-nav a { padding: 12px 20px; font-size: 0.95rem; color: white; display: block; text-align: left; }
    .main-nav a:hover { background-color: rgba(255, 255, 255, 0.1); }
    /* Подравняване на "BG" вляво */
    .main-nav .language-item > a.dropdown-toggle { text-align: left; }
    /* Стилът за падащото меню на езиците */
    .main-nav .language-item .dropdown-menu { position: static; display: none; background: none; box-shadow: none; border-top: 1px solid rgba(255,255,255,0.1); padding: 5px 0; }
    .main-nav .language-item.open .dropdown-menu { display: flex; }
    .main-nav .language-item .dropdown-menu li { border: none; flex: 1; text-align: center; }
    .main-nav .language-item .dropdown-menu li a { padding: 8px 10px; border: none; font-size: 0.9rem; }

    /* Мобилно заглавие и Maps бутон */
    .site-title-mobile { display: block; text-align: center; padding: 8px 15px; background-color: var(--primary-color); margin-top: 0; }
    .site-title-mobile h2 { color: white; font-size: 1.1rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); }
    .maps-button-mobile { display: block; text-align: center; padding: 8px 15px; background: var(--primary-color); box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
    .maps-button-mobile .google-maps-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; background-color: var(--white); color: var(--primary-color); border: none; font-weight: 600; padding: 8px 15px; transition: all 0.3s; border-radius: 4px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); text-align: center; font-size: 0.9rem; }
    .maps-button-mobile .google-maps-btn i { color: var(--primary-color); margin-right: 8px; font-size: 1em; }
    .maps-button-mobile .google-maps-btn:hover { background-color: var(--light-blue); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); }

    /* Hero & Работно време */
    .hero-section { flex-direction: column; margin-bottom: 0; }
    .opening-hours-container { position: static; width: 100%; max-width: 100%; margin: 0; opacity: 1; transform: none; animation: none; }
    .opening-hours-box { border-radius: 0; box-shadow: none; background-color: var(--primary-color); }
    .opening-hours-box .box-header { background-color: var(--dark-blue); justify-content: center; padding: 10px 20px; }
    .opening-hours-box .box-header h3 { font-size: 1.1rem; }
    .opening-hours-box.collapsed .opening-hours-list { max-height: 0; overflow: hidden; padding-top: 0; padding-bottom: 0; border: none; }

    /* Секция Профил. програма - мобилни */
    .services-section { padding: 20px 0 20px 0; margin-bottom: 0; position: relative; }
    .services-section .section-title { margin-bottom: 1rem; font-size: 1.4rem; }
    .services-section::after { content: ''; display: block; position: absolute; bottom: 0; left: 5%; width: 90%; height: 1px; background-color: #eee; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7); }
    .program-list { padding: 0 10px; margin-top: 1.5rem;}
    .preventive-program-button { font-size: 1rem; padding: 12px 25px; }

    /* Секция Допълнителни Услуги - МОБИЛНИ */
    .extra-services { padding: 25px 0 15px 0; background-color: var(--white); margin-bottom: 0; }
    .extra-services .container { padding: 0; }
    .extra-services .service-grid { display: none !important; }
    .mobile-services-links { display: block !important; padding: 0 10px; }
    .mobile-services-links .service-block { display: flex !important; align-items: center; background-color: var(--primary-color); color: var(--white); padding: 10px 15px; border-radius: 5px; margin: 0 0 10px 0; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); text-decoration: none; text-align: left; transition: var(--transition); }
    .mobile-services-links .service-block:hover { background-color: var(--secondary-color); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); }
    .mobile-services-links .service-block .service-icon { flex-shrink: 0; width: 36px; height: 36px; font-size: 1rem; background-color: rgba(255, 255, 255, 0.15); color: var(--white); border-radius: 50%; margin: 0 12px 0 0; display: flex; align-items: center; justify-content: center; }
    .mobile-services-links .service-block:hover .service-icon { background-color: rgba(255, 255, 255, 0.25); }
    .mobile-services-links .service-block .service-content { flex-grow: 1; overflow: hidden; }
    .mobile-services-links .service-block h3 { color: var(--white); font-size: 0.9rem; margin: 0; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
    .mobile-services-links .service-block p { display: none; }

    /* Секция Екип - мобилни */
    .doctors-section { padding: 25px 0 20px 0; margin-top: 0; }
    .doctors-row { grid-template-columns: 1fr; gap: 20px; }

    /* ===== Нов стил за контактите - мобилни ===== */
    .contact-section.new-contact-design {
        padding: 25px 0;
    }
    .contact-section.new-contact-design .section-title {
        margin-bottom: 1.5rem;
        font-size: 1.5rem;
    }
    
    /* Мобилен изглед за контактите */
    .new-contact-design .mobile-view {
        text-align: center;
    }
    
    /* Стил за телефоните */
    .mobile-view .contact-heading {
        color: var(--primary-color);
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .mobile-view .contact-item {
        margin-bottom: 30px;
    }
    
    .mobile-view .phone-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .mobile-view .phone-line {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-view .phone-line a {
        color: var(--primary-color);
        font-size: 1.1rem;
        font-weight: 500;
        text-decoration: none;
    }
    
    .mobile-view .phone-line a:hover {
        text-decoration: underline;
        color: var(--secondary-color);
    }
    
    .mobile-view .phone-separator {
        display: inline-block;
        width: 1px;
        height: 18px;
        background-color: #ccc;
        margin: 0 15px;
    }
    
    /* Стил за имейл и Facebook */
    .mobile-view .contact-links {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .mobile-view .contact-link {
        display: inline-flex;
        align-items: center;
        text-decoration: none;
        color: var(--primary-color);
    }
    
    .mobile-view .contact-link:hover {
        color: var(--secondary-color);
    }
    
    .mobile-view .contact-link i {
        font-size: 1.1rem;
        margin-right: 8px;
    }
    
    .mobile-view .facebook-icon-wrapper {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        background-color: var(--primary-color);
        border-radius: 50%;
        margin-right: 8px;
    }
    
    .mobile-view .facebook-icon-wrapper i {
        color: white;
        font-size: 0.9rem;
        margin: 0;
    }
    
    /* Стил за адрес */
    .mobile-view .address-link {
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: var(--primary-color);
        margin-bottom: 25px;
    }
    
    .mobile-view .address-link i {
        font-size: 1.2rem;
        margin-right: 10px;
    }
    
    .mobile-view .address-text {
        font-weight: 600;
    }
    
    .mobile-view .address-link:hover .address-text {
        text-decoration: underline;
    }
    
    /* Стил за бутони за споделяне */
    .mobile-view .share-title {
        font-size: 1rem;
        color: var(--primary-color);
        font-weight: 600;
        margin-bottom: 15px;
    }
    
    .mobile-view .share-buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .mobile-view .share-button {
        display: inline-flex;
        align-items: center;
        background-color: var(--primary-color);
        color: white;
        padding: 8px 15px;
        border-radius: 4px;
        text-decoration: none;
        font-weight: 500;
        min-width: 110px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .mobile-view .share-button:hover {
        background-color: var(--dark-blue);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }
    
    .mobile-view .share-button i {
        margin-right: 8px;
        font-size: 1em;
    }
    
    /* Стил за карта */
    .mobile-view .contact-map {
        width: 100%;
        height: 300px;
    }
    
    .mobile-view .contact-map iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

    .footer-contact-mobile { display: none !important; }

} /* Край на @media (max-width: 768px) */

/* ============ EXTRA SMALL STYLES (576px and below) ============== */
@media (max-width: 576px) {
    /* Header */
    .site-logo { height: 45px; }
    .emergency-phone { margin-right: 5px; }
    .emergency-phone .phone-button { padding: 5px 8px; font-size: 0.8rem; }
    .menu-toggle { width: 35px; height: 35px; font-size: 1.4rem;}
    /* Titles & Buttons */
    .section-title { font-size: 1.3rem; }
    .preventive-program-button { font-size: 0.9rem; padding: 10px 20px; }
    .preventive-program-button i { font-size: 1.1em; margin-right: 8px; }
    /* Service Buttons (Mobile) */
    .mobile-services-links .service-block { padding: 8px 12px; margin-bottom: 8px;}
    .mobile-services-links .service-block h3 { font-size: 0.85rem; }
    .mobile-services-links .service-block .service-icon { width: 32px; height: 32px; font-size: 0.9rem; margin-right: 10px; }
    /* Doctors */
    .doctor-image { width: 130px; height: 130px; }
    .doctor-card h3 { font-size: 1rem; }
    .doctor-title { font-size: 0.85rem; }
    .doctor-quote p { font-size: 0.85rem; }
    
    /* Контакти - много малки екрани */
    .mobile-view .phone-line a {
        font-size: 1rem;
    }
    
    .mobile-view .phone-separator {
        margin: 0 10px;
        height: 16px;
    }
    
    .mobile-view .contact-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .mobile-view .share-buttons {
        flex-wrap: wrap;
    }
    
    .mobile-view .contact-map {
        height: 250px;
    }

} /* Край на @media (max-width: 576px) */

/* ============================================================== */
/* =========== END: MOBILE STYLES =============================== */
/* ============================================================== */

/* Допълнителни правила за достъпност и печат, ако са нужни */
/* ... */

/* Банер към страницата с проекти */
.projects-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 28px auto 0;
    padding: 18px 24px;
    max-width: 1120px;
    overflow: hidden;
    color: var(--primary-color);
    background: #fff;
    border: 1px solid rgba(15, 67, 125, 0.12);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(21, 49, 78, 0.10);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.projects-banner:hover {
    transform: translateY(-3px);
    border-color: rgba(15, 67, 125, 0.28);
    box-shadow: 0 12px 30px rgba(21, 49, 78, 0.16);
}
.projects-banner img {
    display: block;
    width: 100%;
    min-width: 0;
    height: auto;
}
.projects-banner__cta {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: #fff;
    background: var(--primary-color);
    border-radius: 7px;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
}
.projects-banner__cta i { transition: transform 0.25s ease; }
.projects-banner:hover .projects-banner__cta i { transform: translateX(4px); }

@media (max-width: 768px) {
    .projects-banner {
        flex-direction: column;
        gap: 14px;
        margin-top: 20px;
        padding: 14px;
        border-radius: 9px;
    }
    .projects-banner__cta {
        align-self: stretch;
        justify-content: center;
    }
}
