/* ============================================
   evtindom.bg – фирмен стил
   ============================================ */

:root {
    /* Основни цветове */
    --color-primary: #1a5f4a;
    --color-primary-dark: #0f3d32;
    --color-primary-light: #2d8a6e;
    --color-accent: #c9a227;
    --color-accent-hover: #b8921f;
    /* Текст */
    --color-text: #1f2937;
    --color-text-muted: #6b7280;
    --color-text-light: #9ca3af;
    /* Фон и граници */
    --color-border: #e5e7eb;
    --color-bg: #ffffff;
    --color-bg-alt: #f8faf9;
    --color-bg-warm: #fefdf9;
    /* Шрифтове – Source Sans 3 с кирилица */
    --font-sans: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-serif: Georgia, 'Times New Roman', serif;
    /* Размери */
    --max-width: 1200px;
    --header-height: 4rem;
    --spacing: 1.5rem;
    /* Фирмени ефекти */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(26, 95, 74, 0.08);
    --shadow-md: 0 4px 12px rgba(26, 95, 74, 0.1);
    --shadow-lg: 0 8px 24px rgba(26, 95, 74, 0.12);
    --transition: 0.2s ease;
}

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

.skip-link {
    position: absolute;
    top: -3rem;
    left: var(--spacing);
    padding: 0.5rem 1rem;
    background: var(--color-primary);
    color: #fff;
    z-index: 999;
    transition: top 0.2s;
}

.skip-link:focus {
    top: var(--spacing);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1rem);
    overflow-x: hidden;
}

body {
    margin: 0;
    padding-top: var(--header-height);
    overflow-x: hidden;
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

/* ========== Header ========== */
.site-header {
    background: var(--color-primary);
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: 0 2px 10px rgba(15, 61, 50, 0.2);
    border-bottom: 1px solid #fff;
    border-radius: 0;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing);
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    letter-spacing: -0.02em;
}

.site-logo:hover {
    color: rgba(255,255,255,0.9);
}

.header-contact-icons {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.header-contact-icons--desktop {
    margin-left: 0.25rem;
}

.header-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    color: #fff;
    border-radius: 50%;
    text-decoration: none !important;
    font-size: 1.05rem;
    animation: header-icon-attention 2.8s ease-in-out infinite;
}

.header-icon-link:nth-child(2) {
    animation-delay: 1.4s;
}

.header-icon-link:hover,
.header-icon-link:focus {
    color: var(--color-accent);
    background: rgba(255, 255, 255, 0.18);
    animation: none;
}

@keyframes header-icon-attention {
    0%, 100% {
        color: rgba(255, 255, 255, 0.88);
        background: transparent;
    }
    50% {
        color: var(--color-accent);
        background: rgba(201, 162, 39, 0.22);
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-icon-link {
        animation: none;
    }
}

/* ========== Navigation ========== */
.site-nav {
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    flex-grow: 1;
}

.site-nav.collapse:not(.show) {
    display: none;
}

.site-nav.collapse.show {
    display: block;
}

@media (min-width: 992px) {
    .site-nav {
        display: flex;
    }

    .site-nav.collapse {
        display: flex;
    }
}

.site-nav a {
    color: #fff;
    text-decoration: none!important;
    font-weight: 500;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
    font-size: 1.1rem;
}

.site-nav a:hover{
    color: var(--color-accent-hover)!important;
}


.site-nav a:focus {
    color: #fff;
}

.site-nav a:focus {
    outline: none;
}

.site-nav a.active {
    color: #fff;
    border-bottom-color: var(--color-accent-hover)!important;
}

.site-nav .nav-link {
    color: #fff;
    padding: 0.25rem 0.5rem;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus,
.site-nav .dropdown-toggle:hover,
.site-nav .dropdown-toggle:focus {
    color: #fff;
}

.site-nav .nav-link.active,
.site-nav .dropdown-toggle.active {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.9);
}

.site-nav .dropdown-menu {
    margin-top: 0.25rem;
    background: var(--color-primary-dark)!important;
    padding-right: 1rem!important;
    padding-left: 0.5rem!important;
}

.site-nav .dropdown-item:hover {
    background: var(--color-primary-dark)!important;
    color: var(--color-accent-hover)!important;
}

.site-nav .dropdown-item.active {
    background: rgba(26, 95, 74, 0.15)!important;
    color: #fff!important;
    
}

.lang-switch {
    margin-left: 0.5rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255,255,255,0.3);
}

.lang-switch a {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ========== Main content ========== */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--spacing);
    min-height: calc(100vh - var(--header-height) - 6rem);
}

main:has(.hero-section) {
    padding-top: 0;
}

main:has(.expandable-page) {
    max-width: none;
    padding-left: var(--spacing);
    padding-right: var(--spacing);
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    line-height: 1.25;
    font-weight: 600;
    color: var(--color-primary-dark);
    letter-spacing: -0.02em;
}

h1 { font-size: 2.25rem; margin-bottom: 0.75rem; letter-spacing: -0.03em; }
h2 { font-size: 1.625rem; margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--color-primary); }
h3 { font-size: 1.375rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.125rem; margin-bottom: 0.5rem; }
h5 { font-size: 1rem; margin-bottom: 0.375rem; }
h6 { font-size: 0.9375rem; margin-bottom: 0.25rem; color: var(--color-text-muted); }

p {
    margin: 0 0 1rem;
    color: var(--color-text);
}

p.lead {
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--color-text);
}

.text-muted {
    color: var(--color-text-muted) !important;
}

.text-accent {
    color: var(--color-accent) !important;
}

/* Информационни/рекламни текстове – видим акцент, не muted */
.text-content-accent {
    color: var(--color-primary-dark) !important;
}

.bg-alt {
    background: var(--color-bg-alt);
}

main > section.bg-alt,
main > section.bg-light,
main > section.cta-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

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

/* Списъци */
ul, ol {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
}

ul li {
    margin-bottom: 0.5rem;
}

ul li::marker {
    color: var(--color-primary);
}

ol li {
    margin-bottom: 0.5rem;
}

/* Цитати */
blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--color-primary);
    background: var(--color-bg-alt);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

blockquote p {
    margin-bottom: 0.5rem;
}

.blockquote-footer {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Таблици */
.table {
    --bs-table-striped-bg: var(--color-bg-alt);
}

.table thead th {
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 0.75rem 1rem;
}

.table tbody td {
    padding: 0.75rem 1rem;
}

/* Бутони – фирмен primary */
.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.btn-outline-primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* Карти / секции */
.card {
    border-radius: var(--radius-md);
    border-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.card-header {
    background: var(--color-bg-alt);
    border-bottom-color: var(--color-border);
    font-weight: 600;
    color: var(--color-primary-dark);
}

/* Разделител на секции */
.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

/* CTA бутон – акцентен (златист) */
.btn-accent {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #1f2937;
}

.btn-accent:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: #1f2937;
}

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

.btn-outline-accent:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #1f2937;
}

/* ========== Home page ========== */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 320px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    isolation: isolate;
    overflow: hidden;
}

.hero-section--composed {
    background-position: center right;
}

.hero-section--composed .hero-section__content {
    position: relative;
    z-index: 2;
}

.hero-section--composed .hero-section__visual {
    position: relative;
    z-index: 1;
}

.hero-visual {
    position: relative;
    width: 100%;
    min-height: 12rem;
    margin: 0 auto;
}

.hero-visual__house {
    display: block;
    width: 100%;
    max-width: 34rem;
    margin-left: auto;
    height: auto;
    object-fit: contain;
    object-position: bottom right;
}

.hero-visual__stamp {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: clamp(7.5rem, 24vw, 11.5rem);
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
    pointer-events: none;
}

@media (min-width: 992px) {
    .hero-visual {
        min-height: 18rem;
        padding-top: 0.5rem;
    }

    .hero-visual__house {
        max-width: 38rem;
        margin-right: -1.5rem;
    }

    .hero-visual__stamp {
        top: -0.25rem;
        right: 4%;
        left: auto;
    }
}

@media (max-width: 991.98px) {
    .hero-visual {
        max-width: 22rem;
    }

    .hero-visual__stamp {
        top: -0.5rem;
        right: -0.25rem;
        left: auto;
    }
}

@media (min-width: 992px) {
    .hero-section--composed::before {
        opacity: 0 !important;
    }
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 0;
}

@media (max-width: 575.98px) {
    .hero-section {
        display: flex;
        align-items: center;
        padding-top: 2.75rem !important;
        padding-bottom: 2.75rem !important;
    }

    .hero-section::before {
        opacity: 1;
        background: linear-gradient(
            180deg,
            rgba(15, 61, 50, 0.78) 0%,
            rgba(26, 95, 74, 0.56) 55%,
            rgba(26, 95, 74, 0.40) 100%
        );
    }

    .hero-section .hero-title {
        font-size: 1.7rem;
    }

    .hero-section .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section::before {
        opacity: 1;
        background: linear-gradient(
            180deg,
            rgba(15, 61, 50, 0.74) 0%,
            rgba(26, 95, 74, 0.52) 55%,
            rgba(26, 95, 74, 0.36) 100%
        );
    }
}

.site-logo-img {
    height: 40px;
}

@media (max-width: 768px) {
    .site-logo-img {
        height: 30px;
    }
}

@media (min-width: 992px) {
    .hero-section {
        min-height: 420px;
    }
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section .hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.9), 0 2px 8px rgba(0,0,0,0.7), 0 4px 16px rgba(0,0,0,0.5);
}

.hero-section .hero-subtitle {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 1px 2px rgba(0,0,0,0.9), 0 2px 6px rgba(0,0,0,0.6), 0 3px 12px rgba(0,0,0,0.4);
}

.hero-section .hero-lead {
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: 0 1px 2px rgba(0,0,0,0.9), 0 2px 6px rgba(0,0,0,0.6), 0 3px 12px rgba(0,0,0,0.4);
}

.hero-section .btn {
    box-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 4px 16px rgba(0,0,0,0.3);
}

.hero-section .btn-outline-danger {
    color: #fff;
    border-width: 2px;
    background: transparent;
}

.hero-section .btn-outline-danger:hover,
.hero-section .btn-outline-danger:focus {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.hero-cta-row .btn {
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .hero-cta-row {
        flex-wrap: wrap;
    }

    .hero-cta-row .btn {
        white-space: normal;
    }
}

.hero-section .btn-accent {
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.hero-section .btn-outline-accent {
    text-shadow: 0 1px 2px rgba(0,0,0,0.8), 0 2px 4px rgba(0,0,0,0.5);
}

.hero-price-accent {
    display: inline-block;
    text-align: center;
    background: rgba(255, 255, 255, 0.90);
    border: 3px solid var(--color-accent);
    border-radius: 50%;
    padding: 1.25rem 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transform: rotate(-4deg);
}

.hero-price-accent .hero-price-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    line-height: 1.2;
}

.hero-price-accent .hero-price-unit {
    display: block;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
    text-align: center;
}

.product-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md) !important;
}

.cta-section {
    background: var(--color-bg-warm);
    border-top: 1px solid var(--color-border);
}

/* Code / технически данни */
code {
    background: var(--color-bg-alt);
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-sm);
    font-size: 0.9em;
}

/* ========== Product gallery zoom ========== */
.gallery-thumb {
    position: relative;
    cursor: pointer;
    transition: opacity 0.2s;
}
.gallery-thumb:hover {
    opacity: 0.95;
}
.gallery-thumb:hover .gallery-zoom-icon {
    opacity: 1;
}
.gallery-zoom-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.2s;
}
#galleryModal .modal-dialog {
    max-width: 95vw;
}
#galleryModal .modal-content {
    background: transparent !important;
}
#galleryModal .btn-close {
    z-index: 1055;
}

/* ========== Product benefit cards ========== */
.benefit-card .benefit-icon {
    font-size: 2.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.benefit-card .benefit-icon i {
    font-size: inherit;
}

/* ========== Footer ========== */
.site-footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding: 2.5rem var(--spacing) 1.5rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col {
    min-width: 0;
}

.footer-about {
    max-width: 28rem;
}

.footer-logo {
    font-weight: 600;
    color: #fff;
    font-size: 1.1rem;
}

.footer-logo i {
    color: var(--color-accent);
}

.footer-text {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    font-size: 0.875rem;
}

.footer-social-links {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition), transform 0.15s;
}

.footer-social-link i {
    font-size: 1.1rem;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.footer-social-link:hover,
.footer-social-link:focus {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
    transform: translateY(-1px);
    outline: none;
}

.footer-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-links a,
.footer-links li {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    padding-top: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-align: center;
}

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

    .footer-about {
        max-width: none;
    }
}

/* ========== Navbar mobile ========== */
.site-header .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
    padding: 0.375rem 0.75rem;
}

.site-header .navbar-toggler:hover,
.site-header .navbar-toggler:focus {
    border-color: #fff;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.site-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .header-inner {
        flex-wrap: wrap;
        height: auto;
        min-height: var(--header-height);
        padding: 0.5rem var(--spacing);
        gap: 0.75rem;
    }

    .site-logo {
        flex: 0 1 auto;
        min-width: 0;
    }

    .header-contact-icons--mobile {
        margin-left: auto;
        order: 2;
        flex-shrink: 0;
    }

    .site-header .navbar-toggler {
        order: 3;
        flex: 0 0 auto;
    }

    .site-nav {
        width: 100%;
        flex-basis: 100%;
        flex-grow: 1;
        justify-content: flex-start;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        order: 4;
    }

    .site-nav .navbar-nav {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.25rem;
    }

    .site-nav .nav-link {
        padding: 0.5rem 0;
    }

    .site-nav .dropdown-menu {
        position: static !important;
        border: none;
        background: rgba(0, 0, 0, 0.2) !important;
        padding-left: 1rem;
        margin-top: 0.25rem;
        margin-bottom: 0.5rem;
    }

    .site-nav .btn,
    .site-nav .lang-switch {
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }

    .site-nav .lang-switch {
        padding-left: 0;
        border-left: none;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin-top: 0.5rem;
        width: 100%;
    }
}

/* ========== Home products rows ========== */
.home-event-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid rgba(26, 95, 74, 0.25);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 1.25rem 1rem;
    text-align: center;
    color: var(--color-text);
}

.home-event-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding-bottom: 0.9rem;
    margin-bottom: 0.9rem;
    border-bottom: 1px dashed rgba(26, 95, 74, 0.25);
}

.home-event-heading {
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-accent);
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
    font-size: 1.25rem;
}

.home-event-date {
    display: inline-block;
    background: var(--color-accent);
    color: #0b2f26;
    font-weight: 1000;
    padding: 0.3rem 1.15rem;
    border-radius: 999px;
    font-size: 2rem;
    border: 3px solid #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
    line-height: 1.05;
}

.home-event-title {
    font-weight: 1000;
    text-transform: uppercase;
    color: var(--color-primary-dark);
    font-size: clamp(1.25rem, 2.6vw + 0.6rem, 2.35rem);
    margin-top: 0.15rem;
    line-height: 1.05;
}

.home-event-subtitle {
    font-weight: 1000;
    color: var(--color-text);
    font-size: 1.15rem;
    text-transform: none;
}

.home-event-text {
    margin: 0.9rem auto 0;
    max-width: 820px;
    font-weight: 900;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.home-event-discount {
    margin: 1rem auto 0;
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    background: #b71c1c;
    color: #fff;
    border-radius: 12px;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 10px 30px rgba(183, 28, 28, 0.18);
}

.home-event-meta {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.home-event-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(26, 95, 74, 0.18);
    border-radius: 12px;
    background: rgba(26, 95, 74, 0.06);
    color: var(--color-primary-dark);
    font-weight: 900;
}

.home-event-meta-item:nth-child(2) {
    background: rgba(201, 162, 39, 0.16);
    border-color: rgba(201, 162, 39, 0.4);
}

.home-event-meta-item i {
    color: var(--color-accent);
}

.home-event-meta-item--maps {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.home-event-maps-hint {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--color-text-muted);
    letter-spacing: 0.02em;
}

.home-event-maps-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(26, 95, 74, 0.35);
    text-underline-offset: 0.15em;
    font-weight: inherit;
}

.home-event-maps-link:hover,
.home-event-maps-link:focus {
    color: var(--color-primary);
    text-decoration-color: var(--color-accent);
    outline: none;
}

.home-event-day {
    background: var(--color-accent);
    color: #fff;
    font-weight: 1000;
    padding: 0.25rem 0.95rem;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 1.4rem;
}

.home-event-start {
    font-weight: 1000;
    color: var(--color-primary-dark);
    font-size: 1.1rem;
}

.home-event-phones {
    margin: 1rem auto 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
    background: var(--color-primary-dark);
    border-radius: 12px;
    padding: 0.85rem 1rem;
}

.home-event-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 1000;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    box-sizing: border-box;
    transition: transform var(--transition), background-color var(--transition), border-color var(--transition);
}

.home-event-phone:hover,
.home-event-phone:focus {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    outline: none;
}

.home-event-phone i {
    color: var(--color-accent);
}

.home-event-cta {
    margin: 1rem auto 0;
    display: block;
    width: 100%;
    background: #d32f2f;
    color: #fff;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-weight: 1000;
    letter-spacing: 0.02em;
    font-size: 1.2rem;
    line-height: 1.15;
}

.home-event-cta span {
    display: inline-block;
    font-weight: 1000;
    text-transform: uppercase;
}

.home-event-bottom {
    margin: 0.9rem auto 0;
    color: var(--color-primary-dark);
    font-weight: 900;
    font-size: 1.05rem;
}

.home-product-rows .home-product-row {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-border);
    transition: background-color var(--transition);
}
.home-product-rows .home-product-row:last-of-type {
    border-bottom: none;
}
.home-product-rows .home-product-row:hover {
    background-color: rgba(26, 95, 74, 0.03);
}
.home-product-rows .home-product-row:hover .text-accent {
    color: var(--color-accent-hover) !important;
}

.product-image-wrap {
    position: relative;
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.3;
}

/* Най-ниска цена – оранжево/внимание */
.product-badge--price {
    background: #e67e22;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Нови продукти – зелено/свеж стил */
.product-badge--new {
    background: var(--color-primary);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Ексклузивен продукт – тъмен/премиум стил */
.product-badge--exclusive {
    background: var(--color-primary-dark);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.product-price-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    background: #e8f3ef;
    padding: 0.25rem 0.6rem;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
}

/* По-голям бадж на широки екрани */
@media (min-width: 992px) {
    .product-badge {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
        top: 1rem;
        right: 1rem;
    }
}

/* Бадж в текста (product_expandable страница) */
.product-badge--inline,
.product-expandable-page .product-badge {
    position: static !important;
    margin-bottom: 0.75rem;
}

.product-expandable-page .product-badge--inline {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

@media (min-width: 992px) {
    .product-expandable-page .product-badge--inline {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
}

/* ========== Expandable product page ========== */
/* overflow-x: hidden на body чупи position: sticky – само на тази страница */
html:has(.expandable-page),
body:has(.expandable-page) {
    overflow-x: visible;
}

.expandable-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

@media (min-width: 992px) {
    .expandable-page-layout {
        grid-template-columns: 11rem minmax(0, 1fr);
        gap: 2.5rem;
    }
}

.expandable-page-nav-inner {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1rem;
}

@media (max-width: 991.98px) {
    .expandable-page-nav-inner {
        overflow-x: auto;
    }

    .expandable-page-nav-list {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .expandable-page-nav-list li + li {
        margin-top: 0;
    }

    .expandable-page-nav-link {
        white-space: nowrap;
        background: #fff;
        border: 1px solid var(--color-border);
    }

    .expandable-page-nav-title {
        display: none;
    }
}

@media (min-width: 992px) {
    .expandable-page-nav {
        position: sticky;
        top: calc(var(--header-height) + 1rem);
        align-self: start;
        z-index: 20;
        height: fit-content;
    }

    .expandable-page-nav-inner {
        max-height: calc(100vh - var(--header-height) - 2rem);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
}

.expandable-page-nav-title {
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary-dark);
}

.expandable-page-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.expandable-page-nav-list li + li {
    margin-top: 0.35rem;
}

.expandable-page-nav-link {
    display: block;
    padding: 0.45rem 0.5rem;
    border-radius: var(--radius-sm);
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
    transition: background-color var(--transition), color var(--transition);
}

.expandable-page-nav-link:hover,
.expandable-page-nav-link:focus {
    background: rgba(26, 95, 74, 0.08);
    color: var(--color-primary);
}

.expandable-page-nav-link.is-active {
    background: rgba(26, 95, 74, 0.12);
    color: var(--color-primary);
    border-left: 3px solid var(--color-primary);
    padding-left: calc(0.5rem - 3px);
}

.expand-model-card {
    scroll-margin-top: calc(var(--header-height) + 1rem);
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.25rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .expand-model-card {
        padding: 1.75rem;
    }
}

.expand-model-card-title {
    color: var(--color-primary-dark);
    font-weight: 700;
}

.expand-model-gallery-main {
    position: relative;
}

.expand-model-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

@media (min-width: 576px) {
    .expand-model-gallery-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.expand-model-gallery-thumb {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-bg-alt);
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.expand-model-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expand-model-gallery-thumb .gallery-zoom-icon {
    font-size: 1rem;
}

.expand-model-list {
    margin: 0;
    padding-left: 1.15rem;
    columns: 1;
}

@media (min-width: 576px) {
    .expand-model-list--included,
    .expand-model-list--options {
        columns: 2;
        column-gap: 1.5rem;
    }
}

.expand-model-list li {
    break-inside: avoid;
    margin-bottom: 0.35rem;
}

.expand-offer-card {
    scroll-margin-top: calc(var(--header-height) + 1rem);
    background: linear-gradient(180deg, var(--color-bg-warm) 0%, var(--color-bg-alt) 100%);
    border: 2px solid rgba(26, 95, 74, 0.18);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .expand-offer-card {
        padding: 2rem;
    }
}

.expand-offer-card h2 {
    color: var(--color-primary-dark);
}

/* ========== reCAPTCHA ========== */
.recaptcha-field {
    min-height: 0;
}

#inquiryModal .recaptcha-field {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#inquiryModal .modal-body {
    overflow: visible;
}

.recaptcha-v3-hint {
    line-height: 1.4;
}

/* Скрива нечетливия червен блок „грешка за собственика“ при несъвместими ключове */
.g-recaptcha-widget iframe[src="about:blank"],
.g-recaptcha-widget > div[style*="background-color: rgb(255"] {
    display: none !important;
}

.grecaptcha-badge {
    z-index: 1060 !important;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    main {
        padding: 1rem;
    }
}
