/* ===== VARIABLES ===== */
:root {
    --primary-color: #FFD700;
    --primary-dark: #FFA500;
    --secondary-color: #1a1a2e;
    --text-color: #2d2d2d;
    --text-light: #666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    
    /* Typography */
    --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --h1-size: 3.5rem;
    --h2-size: 2.5rem;
    --h3-size: 1.5rem;
    --normal-size: 1rem;
    --small-size: 0.875rem;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--normal-size);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
    display: flex;
    gap: 0.3rem;
    background: var(--light-bg);
    padding: 0.25rem;
    border-radius: 25px;
    align-items: center;
}

.lang-btn {
    padding: 0.4rem 0.7rem;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 20px;
    transition: var(--transition);
    font-family: var(--font-family);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    white-space: nowrap;
}

.lang-btn:hover {
    background: rgba(255, 215, 0, 0.2);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.nav__item--lang {
    display: flex;
    align-items: center;
}

/* Language transition effect */
[data-translate] {
    transition: opacity 0.2s ease;
}

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

/* ===== REUSABLE CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media screen and (min-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__subtitle {
    display: inline-block;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: var(--small-size);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section__title {
    font-size: var(--h2-size);
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section__description {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: var(--normal-size);
    text-align: center;
}

.btn-secondary--on-dark {
    margin-left: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--secondary-color);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Variant for use on dark backgrounds (e.g. .contacts-section) — plain .btn-secondary
   is navy-on-navy there and unreadable. */
.btn-secondary--on-dark {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary--on-dark:hover {
    background: var(--white);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* CTA wrappers like <div style="text-align:center;margin-top:2rem;"> holding a
   phone button + secondary button (services/faq/homepage dark sections). On
   desktop the two .btn inline-blocks sit on one line with a hairline gap from
   the source whitespace between them; once they wrap to stacked lines on
   mobile, that whitespace-derived gap collapses to ~0 in Safari specifically —
   flex+gap gives an explicit, browser-independent gap in both directions. */
div[style^="text-align:center;margin-top:"] {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.btn-full {
    width: 100%;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 1rem;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.logo-text--primary {
    font-size: 1rem;
}

.logo-icon {
    font-size: 2rem;
}

.nav__list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav__list--uk {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav__link {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--primary-dark);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link.is-active {
    color: var(--primary-dark);
}

.nav__link.is-active::after {
    width: 100%;
}

.nav__phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--secondary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.nav__phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.nav__phone svg {
    flex-shrink: 0;
}

.nav__phone-number {
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.nav__phone-icon {
    display: none;
}

.nav__phone-mobile {
    display: none;
}

.nav__mobile-lang {
    display: none;
}

.nav__toggle,
.nav__close {
    display: none;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content {
    text-align: left;
}

.hero__badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.2);
    color: var(--primary-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: var(--small-size);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero__title {
    font-size: var(--h1-size);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero__title-main {
    display: block;
}

.hero__subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.hero__services {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero__service-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.service-bullet {
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: bold;
}

.hero__features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hero__feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.feature-icon {
    font-size: 1.5rem;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: float 6s ease-in-out infinite;
    will-change: transform;
    position: relative;
    z-index: 2;
}

.hero__image-decoration {
    position: absolute;
    width: 90%;
    height: 90%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 30px;
    z-index: 1;
    top: 10%;
    left: 5%;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 100px 0;
    background: var(--white);
    width: 100%;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service__card {
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 2px solid var(--primary-color);
}

.service__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-dark);
}

.service__card--featured {
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    border-color: var(--primary-color);
}

.service__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: var(--small-size);
    font-weight: 600;
}

.service__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.service__subtitle {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.service__description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.service__link {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.service__link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 100px 0;
    background: var(--light-bg);
    width: 100%;
}

.about__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__text {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about__features {
    display: grid;
    gap: 1.5rem;
}

.about__feature {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.about__feature:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.about__feature-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.about__feature-content h3 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 0.3rem;
}

.about__feature-content p {
    color: var(--text-light);
    font-size: var(--small-size);
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat__card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat__number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat__label {
    color: var(--text-light);
    font-size: var(--small-size);
}

/* ===== CONTACT SECTION ===== */
.contacts-section {
    padding: 80px 15px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.contacts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.contacts-section .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header */
.contacts-header {
    text-align: center;
    margin-bottom: 50px;
}

.contacts-header .badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: #FFD700;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.contacts-header .title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin: 0 0 15px 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.contacts-header .subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Emergency Banner */
.emergency-banner {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 20px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.emergency-banner:hover {
    transform: translateY(-5px);
}

.emergency-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a2e;
    flex-shrink: 0;
}

.emergency-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 5px 0;
}

.emergency-content p {
    font-size: 16px;
    color: #1a1a2e;
    margin: 0;
    opacity: 0.8;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.card-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.phone-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.whatsapp-icon {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.telegram-icon {
    background: linear-gradient(135deg, #0088cc 0%, #005580 100%);
    color: white;
}

.card-content h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #666;
    margin: 0 0 8px 0;
}

.contact-link {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #667eea;
}

/* Map */
.contact-map {
    margin: 2.5rem 0 2rem;
}

.contact-map__inner {
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.35);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.08);
    background: var(--secondary-color);
}

.contact-map__label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.9rem 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.contact-map__inner iframe {
    display: block;
    filter: grayscale(20%) contrast(1.05);
}

.contact-map__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.contact-map__btn:hover {
    opacity: 0.9;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
}

/* Features */
.contacts-section .features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contacts-section .feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

    .contacts-section .feature-item svg {
        color: #FFD700;
    }

/* ===== SOCIAL MEDIA SECTION ===== */
.social-media {
    padding: 30px 0;
    background: var(--light-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    width: 100%;
}

.social-media__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-media__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.social-media__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-icon--tiktok {
    background: #000000;
    color: white;
}

.social-icon--instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;
}

.social-icon--telegram {
    background: linear-gradient(135deg, #0088cc, #005580);
    color: white;
}

.social-icon--youtube {
    background: linear-gradient(135deg, #FF0000, #cc0000);
    color: white;
}

.social-icon--shop {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.social-icon--whatsapp-channel {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.social-icon--store {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
}

/* ===== FOOTER ===== */

/* ===== FOOTER ===== */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
    width: 100%;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer__description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer__title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer__list {
    display: grid;
    gap: 0.5rem;
}

.footer__list a {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer__list a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer__list li {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.footer__director {
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 1rem;
}

.footer__address {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.footer__address_link {
    text-align: center;
    margin-bottom: 1rem;
}

.footer__address-link {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 215, 0, 0.45);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.footer__address-link:hover,
.footer__address-link:focus {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    border-bottom-style: solid;
    outline: none;
}

/* ===== SCROLL UP ===== */
.scrollup {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scrollup.show {
    opacity: 1;
    visibility: visible;
}

.scrollup:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* ===== FLOATING CONTACT BUTTONS ===== */
.floating-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 998;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.floating-btn--phone {
    background: var(--primary-color);
}

.floating-btn--whatsapp {
    background: #25D366;
}

.floating-btn--telegram {
    background: #0088cc;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
    animation: none;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(255, 215, 0, 0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets */
@media screen and (max-width: 968px) {
    :root {
        --h1-size: 2.5rem;
        --h2-size: 2rem;
        --h3-size: 1.3rem;
    }

    .nav {
        gap: 0.4rem;
    }

    .nav__logo {
        min-width: 0;
        flex-shrink: 1;
    }

    /* Mobile header is tight (logo + call button + language + hamburger all in one
       row, and the same logo also has to fit the strip left of the slide-out menu
       when it's open) — show just the clickable key icon, drop the wordmark.
       Scoped to the header only — .logo-text is shared with .footer__logo, which
       has plenty of room and should keep showing the full name. */
    .nav__logo .logo-text {
        display: none;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        padding: 5rem 2rem 2rem;
        box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav__menu.show {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 2rem;
    }

    .nav__item--lang {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }

    .lang-switcher {
        width: 100%;
        justify-content: center;
    }

    .lang-btn {
        flex: 1;
        max-width: 80px;
    }

    .btn-secondary--on-dark {
        margin-top: 1rem;
        margin-left: 0;
    }

    .nav__phone {
        display: none;
    }

    .nav__phone-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        padding: 0.55rem;
        min-width: 38px;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        color: var(--secondary-color);
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.85rem;
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
        transition: var(--transition);
        white-space: nowrap;
        flex-shrink: 0;
        margin-right: 0.4rem;
        position: relative;
    }

    /* Full phone number is shown by .nav__phone on desktop; below 968px the header
       row also needs to fit the logo, language selector and hamburger toggle, so
       this becomes an icon-only call button (still a real tel: link either way). */
    .nav__phone-icon span {
        display: none;
    }

    .nav__phone-icon svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .nav__phone-icon:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    }

    .nav__mobile-lang {
        display: flex !important;
        align-items: center;
        flex-shrink: 0;
        position: relative;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .lang-select-mobile {
        padding: 0.5rem 0.8rem;
        background: var(--light-bg);
        border: 2px solid var(--primary-color);
        border-radius: 20px;
        font-family: var(--font-family);
        font-weight: 600;
        font-size: 0.85rem;
        color: var(--text-color);
        cursor: pointer;
        outline: none;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.5rem center;
        padding-right: 2rem;
        transition: var(--transition);
    }

    .lang-select-mobile:hover {
        border-color: var(--primary-dark);
        background-color: rgba(255, 215, 0, 0.1);
    }

    .lang-select-mobile:focus {
        border-color: var(--primary-dark);
        box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
    }

    .nav__mobile-lang .lang-switcher {
        display: none;
    }

    .nav__mobile-lang .lang-btn {
        display: none;
    }

    .nav__menu .nav__item--lang {
        display: none !important;
    }

    .nav__phone-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
        margin-top: 2rem;
        padding: 1rem 1.5rem;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        color: var(--secondary-color);
        border-radius: 50px;
        font-weight: 700;
        font-size: 1.1rem;
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
        transition: var(--transition);
    }

    .nav__phone-mobile:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    }

    .nav__toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        cursor: pointer;
        flex-shrink: 0;
        z-index: 1001;
    }

    .nav__toggle span {
        width: 25px;
        height: 3px;
        background: var(--secondary-color);
        border-radius: 3px;
        transition: var(--transition);
    }

    /* .nav__toggle lives in the header row (outside .nav__menu), so nothing was
       hiding it once the slide-out panel opened — it kept rendering on top of
       .nav__close in roughly the same corner, looking like a garbled icon. */
    .nav__menu.show ~ .nav__toggle {
        display: none;
    }

    /* Drawn with ::before/::after bars instead of the "✕" glyph — a Unicode
       character renders inconsistently (thin/blurry/off-center) across mobile
       browsers and fonts; two crossed CSS bars always render crisp. */
    .nav__close {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        width: 24px;
        height: 24px;
        cursor: pointer;
        z-index: 1001;
    }

    .nav__close::before,
    .nav__close::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 2.5px;
        background: var(--secondary-color);
        border-radius: 3px;
    }

    .nav__close::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .nav__close::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .hero__container,
    .about__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero__image {
        height: 300px;
    }

    .services__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    /* Contact Section Responsive */
    .contacts-section {
        padding: 60px 20px;
    }

    .contacts-header .title {
        font-size: 36px;
    }

    .emergency-banner {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contacts-section .features {
        gap: 20px;
    }

    .contacts-section .feature-item {
        font-size: 14px;
    }

    /* Social Media Section */
    .social-media {
        padding: 25px 0;
    }

    .social-media__content {
        gap: 1.5rem;
    }

    .social-media__title {
        font-size: 1rem;
    }

    .social-media__links {
        gap: 0.8rem;
    }

    .social-icon {
        width: 45px;
        height: 45px;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Mobile */
@media screen and (max-width: 576px) {
    :root {
        --h1-size: 2.2rem;
        --h2-size: 1.8rem;
        --h3-size: 1.2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .nav {
        height: 70px;
        padding: 0 0.8rem;
        gap: 0.5rem;
    }

    .nav__logo {
        font-size: 1.3rem;
        z-index: 1001;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .nav__phone-icon {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        margin-right: 0.2rem;
    }

    .nav__phone-icon svg {
        width: 14px;
        height: 14px;
    }

    .nav__phone-icon span {
        font-size: 0.75rem;
    }

    .nav__mobile-lang {
        margin-left: 0.2rem;
    }

    .nav__mobile-lang .lang-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.65rem;
    }

    .lang-select-mobile {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
        padding-right: 1.5rem;
        background-size: 10px;
    }

    .nav__toggle {
        width: 24px;
        height: 18px;
        padding: 0.3rem;
    }

    .nav__toggle span {
        width: 22px;
        height: 2.5px;
    }

    .nav__menu {
        width: 85%;
        padding: 5rem 1.5rem 2rem;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero__content {
        text-align: center;
    }

    .hero__badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .hero__title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero__subtitle {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hero__services {
        gap: 0.8rem;
        align-items: center;
    }

    .hero__service-item {
        font-size: 0.95rem;
        justify-content: center;
    }

    .service-bullet {
        font-size: 1.2rem;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .hero__features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero__image {
        height: 280px;
        margin-top: 2rem;
    }

    .hero__img {
        border-radius: 20px;
    }

    /* Services Section */
    .services {
        padding: 60px 0;
    }

    .section__header {
        margin-bottom: 2rem;
    }

    .section__subtitle {
        font-size: 0.75rem;
    }

    .section__title {
        font-size: 1.8rem;
        padding: 0 1rem;
    }

    .section__description {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service__card {
        padding: 1.5rem;
        text-align: center;
    }

    .service__icon {
        font-size: 2.5rem;
    }

    .service__title {
        font-size: 1.4rem;
    }

    .service__description {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    /* About Section */
    .about {
        padding: 60px 0;
    }

    .about__text {
        font-size: 1rem;
        text-align: center;
        padding: 0 0.5rem;
    }

    .about__stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat__card {
        padding: 1.5rem;
    }

    .stat__number {
        font-size: 2.5rem;
    }

    .stat__label {
        font-size: 0.9rem;
    }

    .about__feature {
        padding: 1.2rem;
    }

    .about__feature-icon {
        font-size: 2rem;
    }

    .about__feature-content h3 {
        font-size: 1rem;
    }

    .about__feature-content p {
        font-size: 0.85rem;
    }

    /* Contact Section */
    .contacts-section {
        padding: 50px 15px;
    }

    .contacts-header {
        margin-bottom: 30px;
    }

    .contacts-header .badge {
        font-size: 0.65rem;
        padding: 6px 12px;
    }

    .contacts-header .title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .contacts-header .subtitle {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .emergency-banner {
        padding: 18px;
        margin-bottom: 25px;
        border-radius: 15px;
    }

    .emergency-icon {
        width: 45px;
        height: 45px;
    }

    .emergency-icon svg {
        width: 22px;
        height: 22px;
    }

    .emergency-content h3 {
        font-size: 1.1rem;
    }

    .emergency-content p {
        font-size: 0.85rem;
    }

    .contact-cards {
        gap: 12px;
    }

    .contact-card {
        padding: 18px;
        flex-direction: column;
        text-align: center;
        border-radius: 15px;
    }

    .card-icon {
        width: 48px;
        height: 48px;
    }

    .card-icon svg {
        width: 22px;
        height: 22px;
    }

    .card-content h4 {
        font-size: 0.65rem;
    }

    .contact-link {
        font-size: 1rem;
        word-break: break-all;
    }

    .contacts-section .features {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .contacts-section .feature-item {
        font-size: 0.85rem;
    }

    .contacts-section .feature-item svg {
        width: 18px;
        height: 18px;
    }

    /* Social Media Mobile */
    .social-media {
        padding: 20px 0;
    }

    .social-media__content {
        flex-direction: column;
        gap: 1rem;
    }

    .social-media__title {
        font-size: 0.95rem;
    }

    .social-media__links {
        gap: 0.7rem;
    }

    .social-icon {
        width: 42px;
        height: 42px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer__content {
        text-align: center;
    }

    .footer__logo {
        justify-content: center;
        font-size: 1.3rem;
    }

    .footer__description {
        font-size: 0.9rem;
    }

    .footer__title {
        font-size: 1.1rem;
    }

    .footer__list {
        font-size: 0.9rem;
    }

    /* Floating Buttons */
    .floating-contact {
        bottom: 1rem;
        right: 1rem;
        gap: 0.8rem;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .floating-btn svg {
        width: 24px;
        height: 24px;
    }

    .scrollup {
        bottom: 1rem;
        left: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 350px) {
    :root {
        --h1-size: 1.75rem;
    }

    .container {
        padding: 0 0.8rem;
    }

    .nav {
        height: 65px;
        padding: 0 0.3rem;
    }

    .nav__logo {
        font-size: 1.1rem;
    }

    .logo-icon {
        font-size: 1.2rem;
    }

    .nav__phone-icon {
        padding: 0.3rem 0.4rem;
        font-size: 0.65rem;
        margin-right: 0;
        gap: 0.2rem;
    }

    .nav__phone-icon svg {
        width: 12px;
        height: 12px;
    }

    .nav__phone-icon span {
        font-size: 0.65rem;
    }

    .nav__mobile-lang {
        margin-left: 0.1rem;
    }

    .nav__mobile-lang .lang-btn {
        padding: 0.25rem 0.35rem;
        font-size: 0.55rem;
        gap: 0.15rem;
    }

    .lang-select-mobile {
        padding: 0.3rem 0.4rem;
        font-size: 0.65rem;
        padding-right: 1.2rem;
        background-size: 8px;
        border-width: 1.5px;
        border-radius: 15px;
    }

    .nav__toggle {
        width: 22px;
        height: 16px;
    }

    .nav__toggle span {
        width: 20px;
        height: 2px;
    }

    .nav__menu {
        width: 90%;
        padding: 4.5rem 1.25rem 1.5rem;
    }

    .hero__title {
        font-size: 1.6rem;
    }

    .hero__subtitle {
        font-size: 1.3rem;
    }

    .contacts-section {
        padding: 40px 10px;
    }

    .contacts-header .badge {
        font-size: 0.6rem;
        padding: 5px 10px;
    }

    .contacts-header .title {
        font-size: 1.6rem;
        padding: 0 0.5rem;
    }

    .contacts-header .subtitle {
        font-size: 0.85rem;
        padding: 0 0.3rem;
    }

    .emergency-banner {
        padding: 15px;
        margin-bottom: 20px;
    }

    .emergency-icon {
        width: 40px;
        height: 40px;
    }

    .emergency-icon svg {
        width: 20px;
        height: 20px;
    }

    .emergency-content h3 {
        font-size: 1rem;
    }

    .emergency-content p {
        font-size: 0.8rem;
    }

    .contact-card {
        padding: 15px;
    }

    .card-icon {
        width: 45px;
        height: 45px;
    }

    .card-icon svg {
        width: 20px;
        height: 20px;
    }

    .contact-link {
        font-size: 0.95rem;
    }

    .contacts-section .feature-item {
        font-size: 0.8rem;
    }

    .floating-btn {
        width: 45px;
        height: 45px;
    }

    .floating-contact {
        bottom: 0.8rem;
        right: 0.8rem;
    }

    .scrollup {
        bottom: 0.8rem;
        left: 0.8rem;
        width: 40px;
        height: 40px;
    }
}

/* ===== 380px BREAKPOINT ===== */
@media screen and (max-width: 420px) {
    /* Nav: hide phone number text, show only icon */
    .nav__phone-icon span {
        display: none;
    }

    .nav__phone-icon {
        padding: 0.45rem 0.6rem;
        gap: 0;
        min-width: 36px;
        justify-content: center;
    }

    .nav__logo {
        font-size: 1.1rem;
        flex-shrink: 1;
        min-width: 0;
    }

    .logo-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 130px;
    }

    .lang-select-mobile {
        font-size: 0.7rem;
        padding: 0.35rem 1.4rem 0.35rem 0.45rem;
    }

    /* Hero: slightly smaller title */
    .hero__title {
        font-size: 1.55rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

    /* Contact map label: prevent overflow */
    .contact-map__label span {
        font-size: 0.75rem;
        word-break: break-word;
    }

    /* Contact cards: tighter padding */
    .contact-card {
        padding: 14px;
    }

    .card-content h4 {
        font-size: 0.6rem;
    }

    .contact-link {
        font-size: 0.9rem;
    }

    /* Social media: wrap icons, smaller size */
    .social-media__links {
        gap: 0.6rem;
    }

    .social-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Footer: compact */
    .footer__logo {
        font-size: 1.1rem;
    }

    .footer__list {
        font-size: 0.82rem;
    }
}

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 700;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* ===== FAQ ===== */
.faq {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq__title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.faq__list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq__item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq__item[open] {
    border-color: rgba(255, 215, 0, 0.5);
}

.faq__question {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    gap: 1rem;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.faq__item[open] .faq__question::after {
    transform: rotate(45deg);
}

.faq__answer {
    padding: 0 1.25rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* .faq__* colors above assume the dark .contacts-section gradient behind them.
   Modifier for reuse on a plain light page background (e.g. homepage FAQ teaser
   outside .contacts-section, standalone /faq/ pages). */
.faq--on-light {
    border-top-color: var(--border-color);
}

.faq--on-light .faq__title {
    color: var(--secondary-color);
}

.faq--on-light .faq__item {
    background: var(--light-bg);
    border-color: var(--border-color);
}

.faq--on-light .faq__question {
    color: var(--text-color);
}

.faq--on-light .faq__answer {
    color: var(--text-light);
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero__img {
        animation: none;
    }

    .floating-btn {
        animation: none;
    }
}

/* ===== BREADCRUMBS (multi-page migration) ===== */
.breadcrumbs {
    /* .header is position:fixed (~80px tall on desktop, down to 65px on the
       narrowest mobile widths) and breadcrumbs is the first element in <main>,
       so it needs its own clearance — it can't rely on a preceding section's
       padding the way .hero/.contacts-section do. 100px comfortably clears the
       header at every breakpoint without needing per-breakpoint tuning. */
    padding: 100px 0 1rem;
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
    width: 100%;
}

.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--secondary-color);
    /* display:flex on <ol>/<ul> doesn't reliably suppress the browser's default
       marker in every engine (Chrome kept showing "1. 2. 3." on the <ol> version
       here) — list-style:none is required explicitly, not just implied by flex. */
    list-style: none;
}

.breadcrumbs__list a {
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
}

.breadcrumbs__list a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumbs__sep {
    color: var(--primary-color);
    font-weight: 700;
}

.breadcrumbs__current {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Variant for pages whose content opens directly on the dark .contacts-section
   gradient (the contact pages) — plain .breadcrumbs is navy-on-light and would
   clash; this makes the strip itself dark so it reads as part of the same block. */
.breadcrumbs--on-dark {
    background: var(--secondary-color);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.breadcrumbs--on-dark .breadcrumbs__list,
.breadcrumbs--on-dark .breadcrumbs__current {
    color: var(--white);
}

.breadcrumbs--on-dark .breadcrumbs__list a {
    color: var(--white);
}

.breadcrumbs--on-dark .breadcrumbs__list a:hover {
    color: var(--primary-color);
}

.breadcrumbs--on-dark .breadcrumbs__sep {
    color: var(--primary-color);
}

/* ===== PAGE INTRO (inner pages hub/service header) ===== */
.page-intro {
    padding: 70px 0 30px;
    background: var(--white);
    width: 100%;
}

.page-intro--alt {
    background: var(--light-bg);
}

.page-intro__text {
    max-width: 780px;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0 auto 1.5rem;
    text-align: center;
}

/* ===== ARTICLE (blog post body) ===== */
.article {
    padding: 20px 0 80px;
    background: var(--white);
    width: 100%;
}

.article__container {
    max-width: 780px;
    margin: 0 auto;
}

.article__meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.article__lead {
    font-size: 1.15rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 500;
}

.article__body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 2.2rem 0 1rem;
}

.article__body p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
}

.article__body ul {
    margin: 0 0 1.4rem 1.3rem;
    list-style: disc;
}

.article__body li {
    margin-bottom: 0.6rem;
    line-height: 1.7;
    color: var(--text-color);
}

.article__cta {
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--primary-color);
}

.article__cta p {
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.article__related {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.article__related h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.article__related ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    list-style: disc;
    margin-left: 1.2rem;
}

.article__related a {
    color: var(--primary-dark);
    font-weight: 600;
}

.article__related a:hover {
    color: var(--secondary-color);
}

/* ===== BLOG GRID / CARDS ===== */
.blog {
    padding: 100px 0;
    background: var(--white);
    width: 100%;
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.blog__card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.blog__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.blog__card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog__card-date {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.blog__card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog__card-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex: 1;
}

.blog__card-link {
    color: var(--primary-dark);
    font-weight: 600;
}

.blog__card-link:hover {
    color: var(--secondary-color);
}

/* ===== CONTACT FORM ===== */
.contact-form {
    max-width: 600px;
    margin: 2.5rem auto 0;
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 2px solid var(--primary-color);
}

.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 1rem;
    color: var(--text-color);
    background: var(--light-bg);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group--checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.6rem;
}

.form-group--checkbox input {
    width: auto;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.form-group--checkbox label {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--text-light);
}

.form-group--checkbox a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: underline;
}

.contact-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* ===== RESPONSIVE: BREADCRUMBS / ARTICLE / BLOG / FORM ===== */
@media screen and (max-width: 576px) {
    .breadcrumbs {
        /* Keep the header clearance from the base rule — only the bottom
           breathing room shrinks on mobile. Overwriting with a bare
           "padding: 0.75rem 0" here is exactly what put breadcrumbs back
           under the fixed header on every real phone. */
        padding: 90px 0 0.75rem;
    }

    .breadcrumbs__list {
        font-size: 0.75rem;
        gap: 0.3rem;
    }

    .page-intro {
        padding: 50px 0 20px;
    }

    .page-intro__text {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .article {
        padding: 10px 0 60px;
    }

    .article__lead {
        font-size: 1.05rem;
    }

    .article__body h2 {
        font-size: 1.3rem;
    }

    .article__cta {
        padding: 1.5rem;
    }

    .blog {
        padding: 60px 0;
    }

    .blog__grid {
        gap: 1.5rem;
        margin-top: 1.75rem;
    }

    .blog__card-body {
        padding: 1.25rem;
    }

    .blog__card-title {
        font-size: 1.15rem;
    }

    .contact-form {
        padding: 1.25rem;
        margin-top: 1.75rem;
        border-radius: 16px;
    }
}

@media screen and (max-width: 420px) {
    .contact-form {
        padding: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.7rem 0.85rem;
        font-size: 0.95rem;
    }

    .breadcrumbs__list {
        font-size: 0.7rem;
    }

    .page-intro__text {
        font-size: 0.95rem;
    }
}

/* Dark-background variant for section headings placed inside .contacts-section
   (e.g. the "Leave a request" title above the contact form) — .section__title's
   default navy color is unreadable on that dark gradient. */
.section__title--on-dark {
    color: var(--white);
}
