/* --- Основни променливи --- */
:root {
    --bg-dark: #111111;
    --bg-darker: #0a0a0a;
    --text-light: #ffffff;
    --text-muted: #aaaaaa;
    --accent-gold: #d4c3b3;
    --font-main: 'Montserrat', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-main);
    line-height: 1.6;
    font-weight: 400;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 10px;
    z-index: 2000;
    background: #fff;
    color: #000;
    padding: 10px 14px;
    text-decoration: none;
    border-radius: 4px;
}

.skip-link:focus {
    left: 10px;
}

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

/* Удебелен текст (Bold) за заглавия и важни елементи */
h1, h2, h3, h4, h5, h6, 
.btn, 
.dropdown-toggle, 
.address-box p, 
.lang-switch button {
    font-weight: 700;
}

/* --- Навигация --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #ffffff;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-link:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 4px;
    border-radius: 2px;
}

.logo-mark {
    display: inline-flex;
    width: 48px;
    flex: 0 0 auto;
}

.logo-mark img {
    display: block;
    width: 100%;
    height: auto;
}

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

.lang-switch button {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    color: #333;
}

.lang-switch button:hover {
    color: var(--accent-gold);
}

.lang-switch button.active {
    color: var(--accent-gold);
}

.menu-btn {
    font-size: 24px;
    cursor: pointer;
    color: #333;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

/* --- Главна секция (Hero) --- */
.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(28px, 4.2vw, 64px);
    padding: clamp(56px, 7vw, 92px) 5%;
    background: #05070a;
    min-height: clamp(560px, 74vh, 800px);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url('./pictures/backgraund/black-rster.webp') center center / cover no-repeat;
    opacity: 1;
    filter: brightness(1.3) contrast(1.04);
    transform: scale(1.01);
    transform-origin: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(3, 5, 8, 0.09) 0%, rgba(3, 5, 8, 0.04) 40%, rgba(3, 5, 8, 0.01) 66%, rgba(3, 5, 8, 0.06) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 620px;
    min-width: 0;
    padding-right: clamp(10px, 2vw, 24px);
}

.subtitle {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 15px;
}

.hero .subtitle {
    margin-bottom: 15px;
    color: var(--text-muted);
    letter-spacing: 3px;
}

.hero h1 {
    font-family: var(--font-main);
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-style: italic;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: var(--accent-gold);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    transition: 0.3s ease;
}

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

.hero-image {
    position: relative;
    min-width: 0;
}

.hero-image::before {
    content: none;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 26px 52px rgba(0, 0, 0, 0.56);
}

.hero .btn {
    padding-inline: 34px;
    background-color: #d8c9b5;
    color: #0d1015;
}

.hero .btn:hover {
    background-color: #f4e9dc;
}

/* --- Секция За нас и Услуги --- */
.about-services {
    padding: 100px 5%;
    text-align: center;
    background-color: var(--bg-darker);
}

.about-text-container {
    max-width: 800px;
    margin: 0 auto 80px auto;
}

.about-desc {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.9;
    margin-top: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Стилизиране на персонализираните иконки */
.custom-icon {
    height: 65px; 
    width: auto;  
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto; 
}

.service-item .icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.service-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.service-item p {
    font-size: 14px;
    color: var(--text-muted);
}

/* --- Секция Философия --- */
.philosophy {
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
    padding: 100px 5%;
    gap: 50px;
}

.philosophy-text {
    flex: 1;
    text-align: right; 
    padding-right: 20px;
}

.subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 15px;
}

.subtitle-wrapper .line {
    width: 50px;
    height: 1px;
    background-color: var(--accent-gold);
}

.philosophy h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-light);
}

.philosophy p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 2;
}

.philosophy-image {
    flex: 1;
}

.philosophy-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

/* --- Секция Портфолио --- */
.portfolio {
    padding: 100px 5%;
    background-color: var(--bg-darker);
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--accent-gold);
}

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

.portfolio-item .image-wrapper {
    overflow: hidden;
    margin-bottom: 15px;
}

.portfolio-item img {
    width: 100%;
    height: 200px; 
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.portfolio-item:hover img {
    transform: scale(1.05); 
}

.portfolio-item h4 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.portfolio-item .category {
    font-size: 12px;
    color: var(--text-muted);
}

.portfolio-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.portfolio-item-link:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 4px;
}

/* --- Секция Отзиви --- */
.testimonials {
    padding: 100px 5%;
    background-color: var(--bg-dark);
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.testi-item p {
    font-size: 16px;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.testi-item .author {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Футер --- */
.main-footer {
    background-color: var(--bg-darker);
    padding: 80px 5% 20px 5%;
    border-top: 1px solid #222;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-info {
    flex: 1;
    max-width: 500px;
}

.footer-info h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-info .email {
    display: block;
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 10px;
}

.phone-link {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 20px;
}

.map-link {
    display: inline-block;
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 13px;
    margin-top: 10px;
}

.map-link:hover {
    text-decoration: underline;
}

.address-box p {
    margin-bottom: 5px;
    color: var(--text-light);
    font-weight: 700;
}

/* Форма за контакт */
.footer-form {
    flex: 1;
    max-width: 600px;
}

.input-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-form input,
.footer-form textarea {
    width: 100%;
    background-color: #1a1a1a;
    border: none;
    padding: 15px;
    color: var(--text-light);
    font-family: var(--font-main);
}

.footer-form input:focus,
.footer-form textarea:focus {
    outline: 1px solid var(--accent-gold);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.captcha {
    color: var(--text-muted);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-input {
    width: 40px !important;
    padding: 10px !important;
    text-align: center;
}

.form-status {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.form-status.is-loading {
    color: var(--accent-gold);
}

.form-status.is-success {
    color: #95d5a0;
}

.form-status.is-error {
    color: #ff9b9b;
}

.contact-form button[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
}

.outline-btn {
    background: transparent;
    color: var(--text-light);
    border: 1px solid #444;
}

.outline-btn:hover {
    border-color: var(--accent-gold);
    background-color: transparent;
    color: var(--accent-gold);
}

/* Долна лента */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #222;
    padding-top: 20px;
    font-size: 11px;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    height: 56px;
    border: 1px solid #9e8e7f;
    color: #d6c8ba;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.03em;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.social-links a:hover {
    color: #ffffff;
    border-color: var(--accent-gold);
}

/* --- Странично Меню (Sidebar) --- */
.sidebar-menu {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background-color: #1a1a1a;
    z-index: 1000;
    transition: right 0.4s ease-in-out;
    padding: 40px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    overflow-y: auto;
}

.sidebar-menu.open {
    right: 0;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease-in-out;
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 30px;
    position: absolute;
    top: 20px;
    right: 30px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--accent-gold);
}

.sidebar-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sidebar-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 44px;
    border: 1px solid #9e8e7f;
    color: #d6c8ba;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-right: 0;
}

.sidebar-socials a:hover {
    color: #ffffff;
    border-color: var(--accent-gold);
}

.sidebar-search {
    display: flex;
    margin: 20px 0;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.sidebar-search input {
    background: none;
    border: none;
    color: var(--text-light);
    width: 100%;
    outline: none;
}

.sidebar-search button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

.sidebar-contact-info p {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.sidebar-contact-info a {
    color: var(--text-muted);
    text-decoration: none;
}

.sidebar-contact-info a:hover {
    color: var(--text-light);
}

.nav-links {
    list-style: none;
    margin-top: 40px;
}

.nav-links li {
    margin-bottom: 20px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s;
    display: flex;
    justify-content: space-between;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-light);
}

.sidebar-lang {
    margin-top: 40px;
}

.sidebar-lang a {
    color: var(--text-muted);
    text-decoration: none;
}

/* --- Падащо меню (Dropdown) в Sidebar --- */
.has-dropdown {
    display: flex;
    flex-direction: column;
}

.dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.chevron {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.dropdown-toggle.open .chevron {
    transform: rotate(180deg);
}

.sub-menu {
    list-style: none;
    padding-left: 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
    margin-top: 0;
}

.sub-menu.open {
    max-height: 150px;
    margin-top: 15px;
}

.sub-menu li {
    margin-bottom: 15px;
}

.sub-menu a {
    font-size: 16px;
    color: #888888;
    text-transform: uppercase;
}

.sub-menu a:hover {
    color: var(--text-light);
}

/* ==========================================
   СТИЛОВЕ ЗА СТРАНИЦАТА "ЗА НАС"
   ========================================== */

/* 1. Светла Hero Секция */
.about-hero {
    display: flex;
    min-height: 80vh;
    background-color: #f5f5f5; 
    color: #333; 
}

.about-hero-content {
    flex: 1;
    padding: 100px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.about-hero-content .subtitle {
    color: var(--accent-gold);
}

.about-hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-hero-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 40px;
    max-width: 500px;
}

.about-hero-image {
    flex: 1;
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

/* 2. Кои сме ние & Статистика */
.who-we-are {
    background-color: var(--bg-dark);
    padding: 100px 5%;
}

.who-we-are-text {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
}

.who-we-are-text .left-col {
    flex: 1;
}

.who-we-are-text .left-col h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
    margin-top: 15px;
}

.who-we-are-text .right-col {
    flex: 1;
}

.who-we-are-text .right-col p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Статистика лента */
.stats-row {
    background-color: #161616;
    display: flex;
    justify-content: space-around;
    padding: 50px 0;
    border-radius: 5px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* 3. Нашият екип */
.team-section {
    background-color: var(--bg-darker);
    padding: 80px 0; 
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
    padding: 0 5%;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.member-label {
    background-color: var(--accent-gold);
    color: #000;
    padding: 15px 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}


/* ==========================================
   4. СТИЛИЗИРАНЕ НА СЕКЦИЯТА "НАЧИН НА РАБОТА" (3 ГОРЕ, 2 ДОЛУ)
   ========================================== */
.workflow-section {
    background-color: var(--bg-dark);
    padding: 100px 5%;
    text-align: center;
}

.workflow-grid {
    display: flex;
    flex-wrap: wrap;         /* Позволява пренасяне на втори ред */
    justify-content: center; /* Центрира елементите перфектно на втория ред */
    gap: 60px 40px;          /* 60px разстояние вертикално, 40px хоризонтално */
    max-width: 1000px;
    margin: 0 auto;
}

.workflow-item {
    display: flex;
    flex-direction: column;
    align-items: center;     /* Центрира иконка, текст и бутон по вертикална ос */
    width: calc(33.333% - 40px); /* Гарантира точно 3 на ред */
    min-width: 250px;        
    text-align: center;
}

.workflow-item h4 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: var(--text-light);
}

.workflow-title-link {
    color: inherit;
    text-decoration: none;
}

.workflow-title-link:hover {
    color: var(--accent-gold);
}

.workflow-title-link:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 4px;
}

.small-btn {
    display: inline-block;
    padding: 10px 30px;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-muted);
    background-color: transparent;
    border: 1px solid #444;
    border-radius: 20px;     /* Силно заоблени краища като на снимката */
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;        /* Избутва бутоните най-отдолу, за да са в идеална линия */
}

.small-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}


/* ==========================================
   АДАПТИВНОСТ (Media Queries)
   ========================================== */
@media (max-width: 900px) {
    .philosophy {
        flex-direction: column-reverse; 
        text-align: center;
    }
    .philosophy-text {
        text-align: center;
        padding-right: 0;
    }
    .subtitle-wrapper {
        justify-content: center;
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
    .testi-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        flex-direction: column;
    }
    .input-row {
        flex-direction: column;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .about-hero { flex-direction: column; }
    .who-we-are-text { flex-direction: column; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { flex-direction: column; gap: 30px; }
}

@media (max-width: 800px) {
    .hero {
        grid-template-columns: 1fr;
        align-items: start;
        text-align: left;
        gap: 24px;
        padding: 48px 5% 56px;
        min-height: auto;
    }
    .hero::before {
        background-position: center center;
        opacity: 1;
        filter: brightness(1.26) contrast(1.03);
        transform: scale(1.02);
    }
    .hero::after {
        background: linear-gradient(180deg, rgba(3, 5, 8, 0.1) 0%, rgba(3, 5, 8, 0.06) 48%, rgba(3, 5, 8, 0.05) 100%);
    }
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 0;
    }
    .hero h1 {
        font-size: clamp(34px, 11vw, 52px);
        line-height: 1.02;
        overflow-wrap: anywhere;
    }
    .hero-desc {
        max-width: 26ch;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 32px;
        font-size: 18px;
        font-style: italic;
        color: var(--text-muted);
    }
    .hero-image {
        width: 100%;
        max-width: 100%;
    }
    .hero-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .workflow-item {
        width: 100%; /* На малки екрани услугите стават една под друга */
    }
}

@media (max-width: 500px) {
    .portfolio-grid {
        grid-template-columns: 1fr; 
    }
    .team-grid { 
        grid-template-columns: 1fr; 
    }
    .logo-mark {
        width: 40px;
    }
    .logo-link h2 {
        font-size: 22px;
    }
}

@media (max-width: 400px) {
    .sidebar-menu {
        width: 100%;
        right: -100%;
    }
}

/* ==========================================
   СТИЛОВЕ ЗА СТРАНИЦАТА "УСЛУГИ" (ДЕТАЙЛИ)
   ========================================== */

.detailed-services {
    background-color: var(--bg-dark);
    padding: 50px 5% 100px 5%;
}

/* 1. Центрираме подзаглавието "УСЛУГИ" */
.detailed-services > .subtitle {
    display: block;
    text-align: center; 
    margin-bottom: 80px;
}

/* 2. Използваме Flexbox за мрежата, за да центрираме 5-тия елемент */
.ds-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Центрира елементите на последния ред */
    gap: 80px 40px;          /* 80px разстояние вертикално, 40px хоризонтално */
    max-width: 1200px;
    margin: 0 auto;          /* Центрира целия блок спрямо екрана */
}

/* 3. Гарантираме, че елементите стоят в 2 колони */
.ds-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    width: calc(50% - 20px); /* 50% от ширината минус половината разстояние */
    min-width: 350px;        /* За да не стават прекалено тесни */
    text-align: left;        /* Текстът вътре остава подравнен вляво за четимост */
}

.ds-icon {
    width: 60px;
    height: auto;
    flex-shrink: 0;          /* Не позволява на иконата да се свива, ако текстът е дълъг */
}

.ds-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ds-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 4. Адаптивност за малки екрани */
@media (max-width: 900px) {
    .ds-item {
        width: 100%; /* Преминава в 1 колона на таблети и телефони */
    }
}

.icon-picture {
    display: block;
}

.icon-picture img {
    display: block;
}

.menu-btn:focus-visible,
.close-btn:focus-visible,
.sidebar-socials a:focus-visible,
.social-links a:focus-visible,
.map-link:focus-visible,
.sidebar-search input:focus-visible,
.sidebar-search button:focus-visible,
.footer-form input:focus-visible,
.footer-form textarea:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* ==========================================
   СТИЛОВЕ ЗА СТРАНИЦАТА "ПОРТФОЛИО"
   ========================================== */

.portfolio-page {
    background-color: var(--bg-darker);
}

.portfolio-intro {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    min-height: calc(100vh - 83px);
    background-color: #eef1f4;
}

.portfolio-intro-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(70px, 8vw, 120px) 8%;
    background-image: linear-gradient(rgba(241, 244, 247, 0.95), rgba(241, 244, 247, 0.95)), url('https://images.unsplash.com/photo-1615873968403-89e068629265?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
}

.portfolio-intro-panel .subtitle {
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.portfolio-intro-panel h1 {
    color: #2f3338;
    font-family: var(--font-main);
    font-size: clamp(52px, 6vw, 82px);
    line-height: 0.95;
    font-weight: 700;
    margin-bottom: 24px;
    max-width: 580px;
}

.portfolio-intro-panel p {
    color: #575d64;
    font-size: 17px;
    max-width: 500px;
    margin-bottom: 34px;
    line-height: 1.8;
}

.portfolio-intro-image {
    min-height: 100%;
}

.portfolio-intro-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.portfolio-showcase {
    padding: clamp(90px, 10vw, 130px) 5% 120px;
    background: linear-gradient(180deg, #080a0d 0%, #0b0d10 100%);
}

.portfolio-showcase-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    gap: 48px;
}

.portfolio-feature-card {
    --overlay-darkness: rgba(4, 5, 8, 0.58);
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-image: var(--card-image);
    background-size: cover;
    background-position: center;
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35);
}

.portfolio-feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.18) 0%, var(--overlay-darkness) 100%);
}

.portfolio-feature-content {
    position: relative;
    z-index: 1;
    padding: 58px 52px;
    max-width: 500px;
}

.portfolio-feature-content .subtitle {
    color: var(--accent-gold);
    margin-bottom: 14px;
}

.portfolio-feature-content h2 {
    color: var(--text-light);
    font-family: var(--font-main);
    font-size: clamp(56px, 6vw, 86px);
    font-weight: 700;
    line-height: 0.88;
    margin-bottom: 34px;
}

.portfolio-feature-content .btn {
    background-color: rgba(212, 195, 179, 0.95);
    color: #0e0e0e;
}

.portfolio-feature-content .btn:hover {
    background-color: #ffffff;
}

@media (max-width: 1100px) {
    .portfolio-intro-panel h1 {
        font-size: clamp(44px, 8vw, 70px);
    }

    .portfolio-feature-card {
        min-height: 360px;
    }

    .portfolio-feature-content {
        padding: 46px 40px;
    }
}

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

    .portfolio-intro-panel {
        order: 2;
    }

    .portfolio-intro-image {
        order: 1;
        max-height: 420px;
    }

    .portfolio-intro-panel h1 {
        line-height: 1;
    }

    .portfolio-showcase {
        padding-top: 70px;
    }

    .portfolio-feature-content h2 {
        line-height: 0.95;
    }
}

@media (max-width: 640px) {
    .portfolio-intro-panel {
        padding: 60px 7%;
    }

    .portfolio-intro-panel p {
        font-size: 15px;
    }

    .portfolio-feature-card {
        min-height: 300px;
    }

    .portfolio-feature-content {
        padding: 34px 26px;
    }

    .portfolio-feature-content h2 {
        font-size: clamp(42px, 14vw, 62px);
        margin-bottom: 24px;
    }
}

/* ==========================================
   СТИЛОВЕ ЗА СТРАНИЦАТА "ЖИЛИЩНИ"
   ========================================== */

.residential-page {
    background-color: var(--bg-darker);
}

.residential-hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: calc(100vh - 83px);
    background-color: #eaedf1;
}

.residential-hero-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(70px, 8vw, 120px) 8%;
    background-image: linear-gradient(rgba(236, 240, 245, 0.92), rgba(236, 240, 245, 0.92)), url('pictures/residential/webp/vone-hero-panel.webp');
    background-size: cover;
    background-position: center;
}

.residential-hero-panel .subtitle {
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.residential-hero-panel h1 {
    color: #5a5f66;
    font-family: var(--font-main);
    font-size: clamp(58px, 8vw, 86px);
    line-height: 0.95;
    font-weight: 700;
}

.residential-hero-image {
    min-height: 100%;
}

.residential-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.residential-gallery {
    padding: clamp(65px, 8vw, 95px) 5% clamp(95px, 11vw, 130px);
    background: linear-gradient(180deg, #07090c 0%, #080a0d 100%);
}

.residential-gallery-inner {
    max-width: 1080px;
    margin: 0 auto;
}

.residential-gallery-label {
    color: var(--text-light);
    font-size: 15px;
    letter-spacing: 0.14em;
    margin-bottom: 34px;
}

.residential-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 26px;
}

.residential-card {
    margin: 0;
}

.residential-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
    background-color: #121419;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.residential-card:hover img {
    transform: translateY(-3px) scale(1.015);
    filter: brightness(1.02);
}

.residential-card h3 {
    color: #f2f3f4;
    margin-top: 12px;
    font-size: 37px;
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 1200px) {
    .residential-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

    .residential-hero-panel {
        order: 2;
    }

    .residential-hero-image {
        order: 1;
        max-height: 430px;
    }

    .residential-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 20px;
    }
}

@media (max-width: 600px) {
    .residential-hero-panel {
        padding: 60px 7%;
    }

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

    .residential-card h3 {
        font-size: 34px;
    }
}


/* ==========================================
   СТИЛОВЕ ЗА СТРАНИЦАТА "ТЪРГОВСКИ"
   ========================================== */

.commercial-page .residential-hero-panel {
    background-image: linear-gradient(rgba(236, 240, 245, 0.92), rgba(236, 240, 245, 0.92)), url('pictures/thescull/интериор 11.jpg');
}

.commercial-page .residential-hero-panel h1 {
    color: #535962;
}

/* ==========================================
   СТИЛОВЕ ЗА СТРАНИЦА "ЖИЛИЩЕН КОМПЛЕКС ЕС ТИ I"
   ========================================== */

.residential-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.residential-card-link:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 4px;
}

.residential-card-subtitle {
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.residential-card-featured h3 {
    font-size: 28px;
    line-height: 1.1;
}

.project-detail-page {
    background: #06080b;
}

.project-detail-hero {
    min-height: calc(62vh - 83px);
    display: flex;
    align-items: flex-end;
    padding: clamp(78px, 11vw, 136px) 5% clamp(44px, 5vw, 68px);
    background-image: linear-gradient(110deg, rgba(8, 10, 14, 0.9) 0%, rgba(8, 10, 14, 0.52) 45%, rgba(8, 10, 14, 0.8) 100%), url('pictures/building-1/webp/full/st1-hero.webp');
    background-size: cover;
    background-position: center;
    border-top: 1px solid #151a20;
    border-bottom: 1px solid #151a20;
}

.project-detail-content {
    max-width: 880px;
}

.project-detail-content h1 {
    font-family: var(--font-main);
    font-size: clamp(44px, 6.4vw, 86px);
    font-weight: 700;
    line-height: 0.95;
    margin-bottom: 16px;
}

.project-detail-subtitle {
    color: #d7d9de;
    font-size: 16px;
    margin-bottom: 34px;
}

.project-gallery-section {
    padding: clamp(60px, 8vw, 90px) 5% clamp(85px, 11vw, 130px);
    background: linear-gradient(180deg, #06080b 0%, #080a0d 100%);
}

.project-gallery-shell {
    max-width: 1160px;
    margin: 0 auto;
}

.project-gallery-label {
    font-size: 15px;
    letter-spacing: 0.14em;
    color: #f2f3f5;
    margin-bottom: 26px;
}

.project-gallery-stage {
    position: relative;
    border: 1px solid rgba(212, 195, 179, 0.25);
    background: #050608;
    overflow: hidden;
}

.project-gallery-main-button {
    width: 100%;
    border: none;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
}

.project-gallery-main-button img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.project-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: 1px solid rgba(212, 195, 179, 0.45);
    background: rgba(5, 6, 8, 0.62);
    color: #fff;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.project-gallery-arrow:hover {
    background: rgba(17, 20, 26, 0.85);
    border-color: rgba(212, 195, 179, 0.8);
}

.project-gallery-arrow-prev {
    left: 16px;
}

.project-gallery-arrow-next {
    right: 16px;
}

.project-gallery-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 18px;
}

.project-gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.32);
}

.project-gallery-dot.is-active {
    background: var(--accent-gold);
}

.project-gallery-thumbs {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.project-thumb {
    border: 1px solid transparent;
    background: #090b0f;
    padding: 0;
    cursor: pointer;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.project-thumb img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.project-thumb:hover,
.project-thumb.is-active {
    border-color: rgba(212, 195, 179, 0.9);
    transform: translateY(-2px);
}

.project-thumb:focus-visible,
.project-gallery-dot:focus-visible,
.project-gallery-arrow:focus-visible,
.project-lightbox-close:focus-visible,
.project-lightbox-arrow:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.project-lightbox {
    display: none;
}

.project-lightbox.is-open {
    display: flex;
}

.project-lightbox[aria-hidden="true"] {
    display: none !important;
}

.project-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1200;
    align-items: center;
    justify-content: center;
    padding: 28px 24px;
}

.project-lightbox img {
    max-width: min(1240px, 90vw);
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 1px solid rgba(212, 195, 179, 0.45);
}

.project-lightbox-close {
    z-index: 3;
    position: absolute;
    top: 24px;
    right: 32px;
    width: 46px;
    height: 46px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 42px;
    cursor: pointer;
    line-height: 1;
}

.project-lightbox-arrow {
    z-index: 3;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border: 1px solid rgba(212, 195, 179, 0.55);
    background: rgba(7, 8, 11, 0.45);
    color: #fff;
    cursor: pointer;
}

.project-lightbox-prev {
    left: 24px;
}

.project-lightbox-next {
    right: 24px;
}

.project-lightbox-counter {
    z-index: 3;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.08em;
}

.project-info-section {
    padding: 0 5% clamp(90px, 10vw, 130px);
    background: #080a0d;
}

.project-info-inner {
    max-width: 980px;
    margin: 0 auto;
    border-top: 1px solid #1a2027;
    padding-top: clamp(46px, 6vw, 64px);
}

.project-info-inner h2,
.project-info-inner h3 {
    font-family: var(--font-main);
    font-weight: 700;
    color: #f4f4f6;
}

.project-info-inner h2 {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.02;
    margin-bottom: 24px;
}

.project-info-inner h3 {
    font-size: clamp(30px, 3.2vw, 38px);
    margin-top: 34px;
    margin-bottom: 12px;
}

.project-info-inner p {
    color: #c7cad1;
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1.9;
}

.project-info-inner a,
.project-penthouse-story a {
    color: #e4ccb0;
    text-decoration-color: rgba(228, 204, 176, 0.85);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.project-info-inner a:visited,
.project-penthouse-story a:visited {
    color: #e4ccb0;
    text-decoration-color: rgba(228, 204, 176, 0.85);
}

.project-info-inner a:hover,
.project-penthouse-story a:hover {
    color: #ffffff;
    text-decoration-color: #ffffff;
}

.project-info-inner a:focus-visible,
.project-penthouse-story a:focus-visible {
    outline: 2px solid rgba(228, 204, 176, 0.85);
    outline-offset: 2px;
    border-radius: 2px;
}

.project-spec-list {
    margin: 0;
    padding-left: 18px;
    color: #c7cad1;
}

.project-spec-list li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.project-metrics-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.project-metric-item {
    background: #0e1116;
    border: 1px solid #1f252e;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.project-metric-item span {
    font-size: 13px;
    color: #9ca4b0;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.project-metric-item strong {
    color: #f4f5f7;
    font-size: 19px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .project-detail-hero {
        min-height: calc(56vh - 83px);
        padding-top: 72px;
    }

    .project-gallery-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .project-gallery-arrow {
        width: 46px;
        height: 46px;
    }

    .project-metrics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .residential-card-featured h3 {
        font-size: 23px;
    }

    .project-gallery-thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .project-gallery-arrow {
        width: 40px;
        height: 40px;
    }

    .project-gallery-arrow-prev {
        left: 8px;
    }

    .project-gallery-arrow-next {
        right: 8px;
    }

    .project-lightbox {
        padding: 16px 12px;
    }

    .project-lightbox-arrow {
    z-index: 3;
        width: 42px;
        height: 42px;
    }

    .project-lightbox-prev {
        left: 8px;
    }

    .project-lightbox-next {
        right: 8px;
    }

    .project-lightbox-close {
    z-index: 3;
        top: 10px;
        right: 14px;
    }
}

.project-gallery-section-penthouse {
    padding-top: 0;
    padding-bottom: clamp(80px, 9vw, 120px);
    background:
        radial-gradient(120% 90% at 8% 0%, rgba(195, 164, 120, 0.2) 0%, rgba(195, 164, 120, 0) 58%),
        linear-gradient(180deg, #080a0d 0%, #07090c 100%);
}

.project-gallery-shell-premium {
    max-width: 1220px;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgba(212, 195, 179, 0.32);
    background: linear-gradient(145deg, rgba(19, 22, 29, 0.94) 0%, rgba(10, 13, 18, 0.96) 68%, rgba(7, 9, 13, 0.98) 100%);
    box-shadow: 0 28px 66px rgba(0, 0, 0, 0.38);
}

.project-gallery-shell-premium .project-gallery-label {
    margin-bottom: 8px;
    color: #f6eee3;
}

.project-gallery-section-penthouse .project-gallery-main-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(320px, 58vh, 760px);
}

.project-gallery-section-penthouse .project-gallery-main-button img {
    width: auto;
    max-width: 100%;
    max-height: min(76vh, 740px);
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    margin: 0 auto;
}

.project-gallery-section-penthouse .project-thumb img {
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #0a0c10;
}


.project-penthouse-intro {
    margin: 0 0 22px;
    color: #bcc2cc;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.project-penthouse-story {
    margin-top: 40px;
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid rgba(212, 195, 179, 0.3);
    background: linear-gradient(150deg, rgba(18, 22, 28, 0.95) 0%, rgba(10, 12, 16, 0.95) 100%);
}

.project-penthouse-kicker {
    margin: 0 0 10px;
    color: var(--accent-gold);
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.project-penthouse-story .project-penthouse-title {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: clamp(32px, 3.4vw, 46px);
}

.project-penthouse-story .project-penthouse-lead {
    color: #f2f4f7;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.7;
}

.project-penthouse-story p {
    color: #d0d4dc;
}

@media (max-width: 900px) {
    .project-gallery-shell-premium {
        padding: 18px;
    }

    .project-penthouse-story {
        margin-top: 30px;
    }
}

@media (max-width: 640px) {
    .project-gallery-section-penthouse .project-gallery-main-button {
        min-height: clamp(260px, 52vh, 520px);
    }

    .project-gallery-section-penthouse .project-gallery-main-button img {
        max-height: min(68vh, 500px);
    }

    .project-penthouse-intro {
        font-size: 12px;
    }

    .project-penthouse-story {
        padding: 20px 16px;
    }
}

/* ==========================================
   СТИЛОВЕ ЗА СТРАНИЦАТА "КОНТАКТИ"
   ========================================== */

.contact-page {
    background: #06080b;
}

.contact-hero-split {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    min-height: clamp(520px, 72vh, 760px);
}

.contact-hero-panel {
    padding: clamp(72px, 8vw, 126px) 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: linear-gradient(rgba(236, 240, 245, 0.88), rgba(236, 240, 245, 0.88)), url('https://images.unsplash.com/photo-1479839672679-a46483c0e7c8?auto=format&fit=crop&w=1800&q=80');
    background-size: cover;
    background-position: center;
}

.contact-hero-panel .subtitle {
    color: var(--accent-gold);
    margin-bottom: 18px;
}

.contact-hero-panel h1 {
    margin-bottom: 22px;
    color: #353a42;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: clamp(54px, 7vw, 92px);
    line-height: 0.95;
}

.contact-hero-panel p {
    color: #5f6670;
    font-size: clamp(16px, 1.4vw, 20px);
    max-width: 560px;
    line-height: 1.75;
}

.contact-info-panel {
    background: linear-gradient(165deg, #080a0f 0%, #05070a 100%);
    padding: clamp(72px, 8vw, 126px) 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 34px;
}

.contact-info-group h2 {
    color: #ffffff;
    font-family: var(--font-main);
    font-size: clamp(36px, 4.6vw, 56px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
}


.contact-info-group p,
.contact-info-group a {
    display: block;
    color: #d7d5d0;
    font-size: clamp(17px, 1.4vw, 23px);
    line-height: 1.7;
    text-decoration: none;
}

.contact-info-group p {
    font-weight: 400;
}

.contact-info-group a {
    font-weight: 700;
}

.contact-info-group a:hover {
    color: var(--accent-gold);
}

.contact-map-section {
    background: #07090c;
    padding: 34px 5% 0;
}

.contact-map-frame {
    max-width: 1180px;
    margin: 0 auto;
    border: 1px solid #20252d;
    overflow: hidden;
    background: #11151a;
}

.contact-map-frame iframe {
    width: 100%;
    height: 470px;
    border: 0;
    display: block;
}

.contact-form-section {
    background: #07090c;
    padding: 34px 5% 82px;
}

.contact-form-shell {
    max-width: 1180px;
    margin: 0 auto;
}

.contact-form-shell .input-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.contact-form-shell .contact-form input,
.contact-form-shell .contact-form textarea {
    width: 100%;
    border: 1px solid #262b33;
    background: #1b1e24;
    color: #f4f4f6;
    padding: 20px 16px;
    font-size: 17px;
    font-family: var(--font-main);
}

.contact-form-shell .contact-form textarea {
    min-height: 220px;
    resize: vertical;
}

.contact-form-shell .contact-form input::placeholder,
.contact-form-shell .contact-form textarea::placeholder {
    color: #8f95a0;
}

.contact-form-shell .contact-form input:focus,
.contact-form-shell .contact-form textarea:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 0;
    border-color: var(--accent-gold);
}

.contact-form-shell .form-actions {
    margin-top: 16px;
}

.contact-form-shell .captcha {
    font-size: 15px;
    color: #7f8693;
}

.contact-form-shell .captcha-input {
    width: 50px !important;
    border: 1px solid #2a3039;
    background: #1d2229;
    color: #f4f4f6;
}

.contact-form-shell .outline-btn {
    border-color: #9e8e7f;
    min-width: 164px;
    padding: 16px 26px;
}

.contact-page-footer {
    border-top: 1px solid #171c23;
    background: #05070a;
    padding: 20px 5%;
}

.contact-page-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.contact-page-footer p {
    font-size: 13px;
    color: #8c929d;
}

@media (max-width: 1000px) {
    .contact-hero-split {
        grid-template-columns: 1fr;
    }

    .contact-hero-panel {
        min-height: 460px;
    }

    .contact-info-panel {
        padding-top: 62px;
        padding-bottom: 62px;
    }

    .contact-form-shell .input-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .contact-hero-panel h1 {
        font-size: clamp(42px, 14vw, 66px);
    }

    .contact-hero-panel p,
    .contact-info-group p,
    .contact-info-group a {
        font-size: 16px;
        line-height: 1.7;
    }

    .contact-info-group h2 {
        font-size: clamp(28px, 9vw, 42px);
    }

    .contact-map-frame iframe {
        height: 340px;
    }

    .contact-form-shell .form-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .contact-page-footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

.contact-map-actions {
    max-width: 1180px;
    margin: 14px auto 0;
}

.contact-map-actions .map-link {
    font-size: 14px;
}

/* ==========================================
   COOKIE CONSENT UI
   ========================================== */

.cookie-consent-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 1600;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    background: rgba(13, 17, 24, 0.97);
    border: 1px solid #2d3641;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    padding: 20px;
}

.cookie-consent-copy {
    max-width: 760px;
}

.cookie-consent-title {
    margin: 0 0 8px;
    font-size: clamp(18px, 2vw, 24px);
    color: #ffffff;
}

.cookie-consent-desc {
    margin: 0;
    color: #bac1cb;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.cookie-consent-actions .btn {
    min-width: 122px;
    text-align: center;
}

.cookie-settings-modal {
    position: fixed;
    inset: 0;
    z-index: 1700;
    display: grid;
    place-items: center;
    padding: 20px;
}

.cookie-settings-modal[aria-hidden="true"] {
    display: none;
}

.cookie-settings-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 12, 0.72);
}

.cookie-settings-panel {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(88vh, 900px);
    overflow-y: auto;
    background: #0d1117;
    border: 1px solid #2d3641;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5);
    padding: 24px;
}

.cookie-settings-close {
    position: absolute;
    top: 14px;
    right: 14px;
    border: none;
    background: transparent;
    color: #9ca5b1;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.cookie-settings-close:hover {
    color: #ffffff;
}

.cookie-settings-intro {
    margin: 8px 0 18px;
    color: #a9b0bb;
    font-size: 14px;
}

.cookie-settings-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border: 1px solid #242c36;
    background: #121821;
    margin-bottom: 12px;
}

.cookie-settings-row h3 {
    margin: 0 0 6px;
    font-size: 16px;
    color: #ffffff;
}

.cookie-settings-row p {
    margin: 0;
    color: #9ea7b4;
    font-size: 13px;
    line-height: 1.6;
}

.cookie-settings-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--accent-gold);
}

.cookie-settings-row.is-required input[type="checkbox"] {
    opacity: 0.65;
}

.cookie-settings-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.cookie-settings-actions .btn {
    min-width: 122px;
}

.cookie-manage-floating {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 1500;
    border: 1px solid #736659;
    background: #11161d;
    color: #d9cebf;
    font-family: var(--font-main);
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 11px 14px;
    cursor: pointer;
}

.cookie-manage-floating:hover {
    border-color: var(--accent-gold);
    color: #ffffff;
}

body.cookie-modal-open {
    overflow: hidden;
}

.policy-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.policy-links a,
.policy-links button {
    color: #b8c0cb;
    font-size: 12px;
    text-decoration: none;
    border: none;
    background: none;
    font-family: var(--font-main);
    cursor: pointer;
    padding: 0;
}

.policy-links a:hover,
.policy-links button:hover {
    color: var(--accent-gold);
}

.form-policy-consent {
    margin-top: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: #b3bcc8;
    line-height: 1.6;
}

.form-policy-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: 0 0 auto;
    accent-color: var(--accent-gold);
}

.form-policy-consent a {
    color: var(--accent-gold);
    text-decoration: none;
}

.form-policy-consent a:hover {
    text-decoration: underline;
}

.contact-map-frame {
    position: relative;
}

.map-consent-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(160deg, rgba(11, 15, 21, 0.97), rgba(14, 20, 28, 0.97));
    z-index: 1;
}

.map-consent-placeholder p {
    margin: 0;
    max-width: 560px;
    color: #cad1dc;
    font-size: 14px;
}

.map-consent-btn {
    min-width: 220px;
}

.contact-map-frame.is-cookie-blocked iframe {
    opacity: 0;
    pointer-events: none;
}

.contact-map-frame:not(.is-cookie-blocked) .map-consent-placeholder {
    display: none;
}

/* ==========================================
   POLICY PAGES
   ========================================== */

.policy-page {
    background: #07090c;
}

.policy-header-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.policy-header-links a {
    color: #3e4651;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.policy-header-links a:hover {
    color: #111;
}

.policy-main {
    max-width: 1160px;
    margin: 0 auto;
    padding: 50px 5% 90px;
}

.policy-hero {
    margin-bottom: 22px;
}

.policy-hero h1 {
    margin-bottom: 16px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
}

.policy-hero p {
    margin: 0;
    color: #afb7c3;
    max-width: 900px;
}

.policy-content {
    border: 1px solid #232b35;
    background: #0e131a;
    padding: clamp(20px, 3vw, 34px);
}

.policy-meta {
    margin: 0 0 14px;
    color: #8f99a8;
    font-size: 12px;
}

.policy-content h2 {
    margin: 22px 0 10px;
    font-size: 22px;
    color: #ffffff;
}

.policy-content p,
.policy-content li {
    color: #bcc5d1;
    font-size: 14px;
    line-height: 1.8;
}

.policy-content ul {
    margin: 0 0 12px;
    padding-left: 20px;
}

.policy-content a {
    color: var(--accent-gold);
}

@media (max-width: 900px) {
    .cookie-consent-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-actions,
    .cookie-settings-actions {
        justify-content: flex-start;
    }

    .cookie-manage-floating {
        left: 12px;
        bottom: 12px;
    }

    .footer-bottom,
    .contact-page-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .policy-header-links {
        display: none;
    }
}

@media (max-width: 640px) {
    .cookie-settings-panel {
        padding: 20px 16px;
    }

    .cookie-settings-row {
        flex-direction: column;
    }

    .cookie-consent-actions .btn,
    .cookie-settings-actions .btn {
        width: 100%;
    }

    .map-consent-btn {
        min-width: 0;
        width: 100%;
    }

    .form-policy-consent {
        font-size: 11px;
    }
}
