/* --- Основни променливи --- */
: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;
}

/* Базови стилове за линкове — пълна защита от лилав цвят на посетени връзки (visited) */
a, a:link, a:visited {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--accent-gold);
}

/* ========================================================
   ГЛОБАЛНА СИСТЕМА ЗА ЛУКСОЗНИ БУТОНИ (.btn)
   ======================================================== */
.btn,
a.btn,
a.btn:link,
a.btn:visited,
button.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    padding: 12px 26px !important;
    background: linear-gradient(135deg, #f0e2d3 0%, #d8c4af 50%, #c1ab94 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    color: #0b0f14 !important;
    font-family: var(--font-main) !important;
    font-weight: 800 !important;
    font-size: 11.5px !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, filter 0.25s ease !important;
    box-shadow: 0 4px 18px rgba(216, 196, 175, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}

.btn:hover,
a.btn:hover,
button.btn:hover {
    filter: brightness(1.06) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 28px rgba(216, 196, 175, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    color: #0b0f14 !important;
    text-decoration: none !important;
}

.btn:active,
a.btn:active,
button.btn:active {
    transform: translateY(0) scale(0.98) !important;
    box-shadow: 0 2px 10px rgba(216, 196, 175, 0.25) !important;
}

/* Вторичен контурен бутон (Outline Glass) */
.btn.outline-btn,
a.btn.outline-btn,
a.btn.outline-btn:link,
a.btn.outline-btn:visited,
button.btn.outline-btn,
.outline-btn {
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(212, 195, 179, 0.45) !important;
    color: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 14px rgba(0, 0, 0, 0.3) !important;
    text-decoration: none !important;
}

.btn.outline-btn:hover,
a.btn.outline-btn:hover,
button.btn.outline-btn:hover,
.outline-btn:hover {
    background: rgba(212, 195, 179, 0.15) !important;
    border-color: var(--accent-gold) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 16px rgba(212, 195, 179, 0.15) !important;
}

.portfolio-cta-bar {
    text-align: center;
    margin-top: 48px;
    margin-bottom: 24px;
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Удебелен текст (Bold) за заглавия и важни елементи */
h1, h2, h3, h4, h5, h6, 
.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;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(18px, 3vw, 44px);
    padding: clamp(14px, 2.5vh, 40px) 5%;
    background: #05070a;
    min-height: calc(100vh - 72px);
    box-sizing: border-box;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -4%;
    z-index: -2;
    background: url('../pictures/backgraund/black-rster.webp') center center / cover no-repeat;
    opacity: 1;
    filter: brightness(1.32) contrast(1.06);
    transform: translate3d(var(--hero-px, 0px), var(--hero-py, 0px), 0) scale(1.06);
    transform-origin: center;
    will-change: transform;
    animation: stdbRasterDrift 22s ease-in-out infinite alternate;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(650px circle at var(--mx, 68%) var(--my, 45%), rgba(228, 204, 176, 0.13), transparent 62%),
        linear-gradient(rgba(228, 204, 176, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(228, 204, 176, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(3, 5, 8, 0.45) 0%, rgba(3, 5, 8, 0.12) 45%, rgba(3, 5, 8, 0.35) 100%);
    background-size: 100% 100%, 68px 68px, 68px 68px, 100% 100%;
    pointer-events: none;
    animation: stdbGridPan 36s linear infinite;
}

.hero-content {
    position: relative;
    max-width: 660px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.hero .subtitle {
    font-size: clamp(9.5px, 0.75vw, 11px);
    letter-spacing: clamp(1.5px, 0.2vw, 2.5px);
    margin-bottom: clamp(4px, 0.8vh, 8px);
    color: var(--accent-gold);
    font-weight: 700;
}

.hero h1 {
    font-family: var(--font-main);
    font-size: clamp(20px, min(2.5vw, 3.4vh), 36px);
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: clamp(6px, 1.2vh, 12px);
    color: #ffffff;
}

.hero-desc {
    font-size: clamp(12px, min(0.92vw, 1.5vh), 14.5px);
    line-height: 1.45;
    color: #cbd5e1;
    margin-bottom: clamp(8px, 1.4vh, 14px);
    font-style: normal;
    max-width: 600px;
}

.hero-image {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    display: block;
    width: 100%;
    max-height: clamp(200px, 46vh, 440px);
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.gold-gradient-text {
    background: linear-gradient(135deg, #f5ebd9 0%, #d8c3af 45%, #bda48c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.gold-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-gold);
    flex-shrink: 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: rgba(212, 195, 179, 0.08);
    border: 1px solid rgba(212, 195, 179, 0.28);
    border-radius: 50px;
    color: var(--accent-gold);
    font-size: clamp(9.5px, 0.75vw, 11px);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: clamp(10px, 1.6vh, 16px);
    width: fit-content;
}

.hero-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 clamp(14px, 2vh, 22px) 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(8px, 1.2vh, 12px) clamp(14px, 1.6vw, 24px);
    max-width: 620px;
}

.hero-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(11.5px, 0.82vw, 13px);
    line-height: 1.35;
    color: #cbd5e1;
}

.hero-features-list li strong {
    color: #ffffff;
    font-weight: 700;
}

.feature-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(212, 195, 179, 0.12);
    border: 1px solid rgba(212, 195, 179, 0.35);
    color: var(--accent-gold);
    flex-shrink: 0;
}

.hero-trust-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: clamp(10px, 1.4vh, 14px);
    font-size: clamp(11px, 0.75vw, 12px);
    color: #94a3b8;
}

.hero-trust-note svg {
    flex-shrink: 0;
}

/* Showcase Card (Дясна колона в Hero) */
.showcase-card {
    position: relative;
    width: 100%;
    max-height: clamp(240px, 48vh, 460px);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 195, 179, 0.32);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(212, 195, 179, 0.08);
    background: #0a0d12;
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.showcase-card:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 195, 179, 0.5);
}

.showcase-card img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: clamp(240px, 48vh, 460px);
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.showcase-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    background: rgba(6, 9, 13, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 195, 179, 0.3);
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-gold);
    text-transform: uppercase;
}

.showcase-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(5, 7, 10, 0.96) 0%, rgba(5, 7, 10, 0.65) 65%, transparent 100%);
    padding: 30px 22px 18px;
    backdrop-filter: blur(2px);
}

.showcase-category {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-gold);
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.showcase-title {
    font-size: clamp(14px, 1.1vw, 17px);
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 4px;
}

.showcase-meta {
    font-size: 11.5px;
    color: #94a3b8;
}

.hero .ppc-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(4px, 0.7vh, 8px) clamp(8px, 1vw, 14px);
    margin-bottom: clamp(8px, 1.4vh, 14px);
    max-width: 600px;
}

.hero .ppc-badge {
    padding: clamp(3px, 0.6vh, 5px) clamp(8px, 0.8vw, 11px);
    font-size: clamp(10px, 0.75vw, 11.5px);
    line-height: 1.25;
    background: rgba(17, 24, 34, 0.85);
    border: 1px solid rgba(212, 195, 179, 0.25);
    border-radius: 4px;
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: normal;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.2vw, 14px);
    flex-wrap: wrap;
    margin-top: clamp(6px, 1.2vh, 14px);
}

.hero .btn,
.ppc-hero .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: clamp(9px, 1.3vh, 12px) clamp(18px, 1.6vw, 26px);
    background: linear-gradient(135deg, #f0e2d3 0%, #d8c4af 50%, #c1ab94 100%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #0b0f14;
    font-size: clamp(10.5px, 0.75vw, 12px);
    letter-spacing: 1.1px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, filter 0.25s ease;
    box-shadow: 0 4px 18px rgba(216, 196, 175, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    box-sizing: border-box;
}

.hero .btn:hover,
.ppc-hero .btn:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(216, 196, 175, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero .btn:active,
.ppc-hero .btn:active {
    transform: translateY(0);
}

.hero .btn.outline-btn,
.ppc-hero .btn.outline-btn {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    color: #ffffff;
    border: 1px solid rgba(212, 195, 179, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 14px rgba(0, 0, 0, 0.3);
}

.hero .btn.outline-btn:hover,
.ppc-hero .btn.outline-btn:hover {
    background: rgba(212, 195, 179, 0.15);
    border-color: var(--accent-gold);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 16px rgba(212, 195, 179, 0.15);
}

/* --- Секция За нас и Услуги --- */
.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;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-cta-panel {
    flex: 1;
    max-width: 480px;
    background: #0e1116;
    border: 1px solid #1f252e;
    padding: 34px 32px;
}

.footer-cta-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.footer-cta-panel h3 {
    font-size: 24px;
    color: #f4f4f6;
    margin-bottom: 12px;
}

.footer-cta-panel p {
    color: #b7bec8;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-cta-hours {
    font-size: 13px !important;
    color: #8f96a3 !important;
    margin-bottom: 0 !important;
    padding-top: 14px;
    border-top: 1px solid #1c222b;
}

.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 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    color: var(--text-light);
    border: 1px solid rgba(212, 195, 179, 0.35);
    border-radius: 6px;
    padding: 11px 22px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.outline-btn:hover {
    border-color: var(--accent-gold);
    background-color: rgba(212, 195, 179, 0.12);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #f0e2d3 0%, #d8c4af 50%, #c1ab94 100%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #0b0f14;
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 11.5px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(216, 196, 175, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, filter 0.25s ease;
}

.submit-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(216, 196, 175, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.submit-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Долна лента */
.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;
    pointer-events: none;
    transition: 0.4s ease-in-out;
}

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

.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: 600px;
    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/theskull-11.webp');
}

.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-contact-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.project-contact-item {
    background: #0e1116;
    border: 1px solid #1f252e;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.project-contact-item:hover {
    border-color: rgba(228, 204, 176, 0.45);
    background: #12161d;
    transform: translateY(-2px);
}

.project-contact-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(228, 204, 176, 0.08);
    border: 1px solid rgba(228, 204, 176, 0.22);
    color: #e4ccb0;
}

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

.project-contact-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.project-contact-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8f96a3;
}

.project-contact-body a {
    font-size: 15px;
    font-weight: 600;
    color: #e4ccb0;
    text-decoration: none;
    word-break: break-word;
}

.project-contact-body a:hover {
    color: #ffffff;
    text-decoration: underline;
}

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

.project-social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-social-link svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.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,
    .project-contact-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 .subtitle {
    color: #7b634b;
    font-weight: 700;
}

.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: 46px 5% 92px;
}

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

.contact-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.35fr);
    gap: 36px;
    align-items: start;
}

.contact-benefits-card {
    background: #0c0f14;
    border: 1px solid #1d232c;
    padding: clamp(28px, 4vw, 40px);
}

.contact-benefits-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.contact-benefits-card h2 {
    font-size: clamp(28px, 3.6vw, 38px);
    line-height: 1.15;
    color: #f4f4f6;
    margin-bottom: 14px;
}

.contact-benefits-lead {
    color: #b7bec8;
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 26px;
}

.contact-benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #d6dbe3;
    font-size: 15px;
    line-height: 1.6;
}

.contact-benefit-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(228, 204, 176, 0.1);
    border: 1px solid rgba(228, 204, 176, 0.3);
    color: var(--accent-gold);
    margin-top: 2px;
}

.contact-direct-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 22px;
    border-top: 1px solid #1d232c;
}

.contact-direct-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #11151c;
    border: 1px solid #1f2630;
    color: #e4ccb0;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.contact-direct-link:hover {
    border-color: rgba(228, 204, 176, 0.5);
    background: #161b24;
    color: #ffffff;
}

.contact-form-card {
    background: #0e1116;
    border: 1px solid #1f252e;
    padding: clamp(28px, 4vw, 44px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

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

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-field-full {
    margin-bottom: 20px;
}

.contact-field label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a9b1bd;
}

.contact-form-shell .contact-form input,
.contact-form-shell .contact-form select,
.contact-form-shell .contact-form textarea {
    width: 100%;
    border: 1px solid #262d38;
    background: #161a21;
    color: #f4f4f6;
    padding: 15px 16px;
    font-size: 15px;
    font-family: var(--font-main);
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.contact-form-shell .contact-form select {
    display: block;
    width: 100%;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-color: #161a21;
    color: #f4f4f6;
    border: 1px solid #262d38;
    border-radius: 0;
    background-image: linear-gradient(45deg, transparent 50%, #e4ccb0 50%), linear-gradient(135deg, #e4ccb0 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 38px;
}

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

.contact-form-shell .contact-form input::placeholder,
.contact-form-shell .contact-form textarea::placeholder {
    color: #777f8c;
}

.contact-form-shell .contact-form input:focus,
.contact-form-shell .contact-form select:focus,
.contact-form-shell .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: #1a1f28;
}

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

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

.contact-form-shell .captcha-input {
    width: 64px !important;
    padding: 10px 12px !important;
    text-align: center;
    border: 1px solid #2a3039;
    background: #161a21;
    color: #f4f4f6;
}

.contact-form-submit {
    min-width: 210px;
    padding: 16px 32px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.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-layout,
    .contact-form-shell .input-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .contact-hero-panel .subtitle {
    color: #7b634b;
    font-weight: 700;
}

.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;
    pointer-events: auto;
    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-banner[hidden] {
    display: none !important;
}

.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;
    position: relative;
    z-index: 1;
    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;
    position: relative;
    z-index: 1;
    gap: 10px;
}

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

.cookie-manage-floating,
.cookie-manage-floating[hidden],
#cookiescript_badge,
#cookie-badge,
[data-cookie-manage] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

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

body.cookie-manage-visible {
    padding-bottom: 0 !important;
}

.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 {
        display: none !important;
    }

    body.cookie-manage-visible {
        padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
    }

    .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;
    }
}

/* ==========================================
   PPC & HIGH-CONVERTING LANDING PAGE STYLES
   ========================================== */

/* 1. Двуколонна Hero секция за PPC */
.ppc-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(18px, 3vw, 44px);
    padding: clamp(14px, 2.5vh, 40px) 5%;
    background: #05070a;
    min-height: calc(100vh - 72px);
    box-sizing: border-box;
    border-bottom: 1px solid rgba(212, 195, 179, 0.15);
}

.ppc-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;
}

.ppc-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(3, 5, 8, 0.6) 0%, rgba(3, 5, 8, 0.25) 50%, rgba(3, 5, 8, 0.6) 100%);
}

.ppc-hero-content h1 {
    font-size: clamp(20px, min(2.5vw, 3.4vh), 36px);
    line-height: 1.15;
    margin-bottom: clamp(6px, 1.2vh, 12px);
    color: #fff;
    font-weight: 700;
}

.ppc-hero .ppc-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(4px, 0.7vh, 8px) clamp(8px, 1vw, 14px);
    margin-bottom: clamp(8px, 1.4vh, 14px);
    max-width: 600px;
}

.ppc-hero .ppc-badge {
    padding: clamp(3px, 0.6vh, 5px) clamp(8px, 0.8vw, 11px);
    font-size: clamp(10px, 0.75vw, 11.5px);
    line-height: 1.25;
    background: rgba(17, 24, 34, 0.85);
    border: 1px solid rgba(212, 195, 179, 0.25);
    border-radius: 4px;
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: normal;
}

/* Автоматично оразмеряване за екрани на лаптопи (височина под 820px) */
@media (max-height: 820px) and (min-width: 769px) {
    .hero,
    .ppc-hero {
        padding-top: clamp(10px, 1.8vh, 18px);
        padding-bottom: clamp(10px, 1.8vh, 18px);
        gap: 20px;
    }

    .hero-eyebrow {
        margin-bottom: 8px;
        padding: 4px 10px;
    }

    .hero .subtitle,
    .ppc-hero .subtitle {
        margin-bottom: 4px;
        font-size: 10px;
    }

    .hero h1,
    .ppc-hero-content h1 {
        font-size: clamp(18px, 3.2vh, 26px);
        margin-bottom: 6px;
        line-height: 1.15;
    }

    .hero-desc {
        font-size: 12.5px;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .hero-features-list {
        margin-bottom: 12px;
        gap: 6px 14px;
    }

    .feature-check {
        width: 17px;
        height: 17px;
    }

    .hero .ppc-badges,
    .ppc-hero .ppc-badges {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 10px;
        gap: 4px 8px;
    }

    .hero .ppc-badge,
    .ppc-hero .ppc-badge {
        padding: 3px 6px;
        font-size: 10.5px;
    }

    .hero-actions {
        margin-top: 8px;
        gap: 10px;
    }

    .hero .btn,
    .ppc-hero .btn {
        padding: 7px 16px;
        font-size: 10.5px;
    }

    .hero-trust-note {
        margin-top: 8px;
        font-size: 10.5px;
    }

    .hero-image img,
    .showcase-card,
    .showcase-card img {
        max-height: 42vh;
    }

    .quick-lead-card {
        padding: 14px 18px;
    }

    .quick-lead-card h3 {
        font-size: 15px;
        margin-bottom: 3px;
    }

    .quick-lead-card p {
        font-size: 10.5px;
        margin-bottom: 6px;
    }

    .quick-lead-form .form-group {
        margin-bottom: 4px;
    }

    .quick-lead-form input,
    .quick-lead-form select {
        padding: 5px 9px;
        font-size: 11.5px;
    }

    .quick-lead-btn {
        padding: 8px;
        font-size: 10.5px;
    }
}

/* Изключително компактни екрани / ниски браузърни прозорци (височина под 700px) */
@media (max-height: 700px) and (min-width: 769px) {
    .hero,
    .ppc-hero {
        padding-top: 8px;
        padding-bottom: 8px;
        gap: 16px;
    }

    .hero-eyebrow {
        margin-bottom: 4px;
        padding: 3px 8px;
        font-size: 9px;
    }

    .hero .subtitle,
    .ppc-hero .subtitle {
        margin-bottom: 2px;
        font-size: 9px;
        letter-spacing: 1.2px;
    }

    .hero h1,
    .ppc-hero-content h1 {
        font-size: clamp(16px, 3vh, 21px);
        margin-bottom: 4px;
        line-height: 1.12;
    }

    .hero-desc {
        font-size: 11px;
        line-height: 1.32;
        margin-bottom: 5px;
    }

    .hero-features-list {
        margin-bottom: 7px;
        gap: 3px 10px;
    }

    .hero-features-list li {
        font-size: 11px;
    }

    .feature-check {
        width: 15px;
        height: 15px;
    }

    .hero .ppc-badges,
    .ppc-hero .ppc-badges {
        margin-bottom: 6px;
        gap: 3px 6px;
    }

    .hero .ppc-badge,
    .ppc-hero .ppc-badge {
        padding: 2px 5px;
        font-size: 9.5px;
    }

    .hero-actions {
        margin-top: 5px;
        gap: 6px;
    }

    .hero .btn,
    .ppc-hero .btn {
        padding: 5px 12px;
        font-size: 9.5px;
        letter-spacing: 0.5px;
    }

    .hero-trust-note {
        margin-top: 5px;
        font-size: 9.5px;
    }

    .hero-image img,
    .showcase-card,
    .showcase-card img {
        max-height: 38vh;
    }

    .showcase-caption {
        padding: 16px 14px 10px;
    }

    .quick-lead-card {
        padding: 8px 12px;
    }

    .quick-lead-card h3 {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .quick-lead-card p {
        font-size: 9.5px;
        margin-bottom: 4px;
    }

    .quick-lead-form .form-group {
        margin-bottom: 3px;
    }

    .quick-lead-form input,
    .quick-lead-form select {
        padding: 4px 7px;
        font-size: 10.5px;
    }

    .quick-lead-btn {
        padding: 6px;
        font-size: 10px;
    }
}

.ppc-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
    margin-bottom: 20px;
}

.ppc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(212, 195, 179, 0.08);
    border: 1px solid rgba(212, 195, 179, 0.25);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 0.5px;
}

/* 2. Бърза форма за лийдове (Quick Lead Card) */
.quick-lead-card {
    background: #121820;
    border: 1px solid rgba(212, 195, 179, 0.35);
    border-radius: 8px;
    padding: clamp(24px, 3vw, 36px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    position: relative;
}

.quick-lead-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4c3b3, #ffffff, #d4c3b3);
    border-radius: 8px 8px 0 0;
}

.quick-lead-header {
    margin-bottom: 20px;
    text-align: center;
}

.quick-lead-header h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 700;
}

.quick-lead-header p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.quick-lead-form .form-group {
    margin-bottom: 16px;
}

.quick-lead-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #ccc;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-lead-form input,
.quick-lead-form select,
.quick-lead-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: #090d12;
    border: 1px solid #232d3b;
    border-radius: 4px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.quick-lead-form input:focus,
.quick-lead-form select:focus,
.quick-lead-form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.quick-lead-form select {
    cursor: pointer;
}

.quick-lead-btn {
    width: 100%;
    padding: 13px 18px;
    background: linear-gradient(135deg, #f0e2d3 0%, #d8c4af 50%, #c1ab94 100%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #0b0f14;
    border-radius: 6px;
    font-family: var(--font-main);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, filter 0.25s ease;
    box-shadow: 0 4px 20px rgba(216, 196, 175, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.quick-lead-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(216, 196, 175, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.quick-lead-btn:active {
    transform: translateY(0) scale(0.99);
}

.quick-lead-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: #788594;
    margin-top: 12px;
    text-align: center;
}

/* 3. Лента с метрики за доверие (Trust Bar) */
.trust-metrics-bar {
    background: #0d1218;
    border-bottom: 1px solid #1a2330;
    padding: 35px 5%;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.metric-card strong {
    display: block;
    font-size: clamp(26px, 3vw, 36px);
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 6px;
}

.metric-card span {
    font-size: 13px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

/* 4. Сравнителна таблица (Value Comparison) */
.comparison-section {
    padding: 80px 5%;
    background: #07090d;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 50px auto 0;
}

.comp-box {
    border-radius: 8px;
    padding: 35px 25px;
    position: relative;
}

.comp-box.sale {
    background: #10141a;
    border: 1px solid #242c38;
}

.comp-box.compensation {
    background: #131a24;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 10px 40px rgba(212, 195, 179, 0.15);
}

.comp-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.comp-box.sale .comp-tag {
    background: #2a1b1b;
    color: #f87171;
}

.comp-box.compensation .comp-tag {
    background: rgba(212, 195, 179, 0.15);
    color: var(--accent-gold);
}

.comp-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.comp-list {
    list-style: none;
    padding: 0;
}

.comp-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 14px;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.comp-list li:last-child {
    border-bottom: none;
}

.comp-icon-bad {
    color: #ef4444;
    font-weight: 700;
}

.comp-icon-good {
    color: #10b981;
    font-weight: 700;
}

/* 5. Процес в 4 стъпки (Timeline) */
.timeline-section {
    padding: 80px 5%;
    background: #0a0d12;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.timeline-step {
    background: #121822;
    border: 1px solid #1e2837;
    border-radius: 8px;
    padding: 30px 24px;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-step:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(212, 195, 179, 0.1);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
}

.timeline-step h3 {
    font-size: 17px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
}

.timeline-step p {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
}

/* 6. Нативен HTML5 ЧЗВ Акордеон (FAQ Details) */
.faq-section {
    padding: 80px 5%;
    background: #080b0f;
    border-top: 1px solid #18212e;
}

.faq-container {
    max-width: 900px;
    margin: 40px auto 0;
}

details.faq-item {
    background: #10161f;
    border: 1px solid #1f2a3a;
    border-radius: 6px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease;
}

details.faq-item[open] {
    border-color: rgba(212, 195, 179, 0.4);
    background: #131b26;
}

summary.faq-question {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #f1f5f9;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    user-select: none;
}

summary.faq-question::-webkit-details-marker {
    display: none;
}

summary.faq-question::after {
    content: "+";
    font-size: 22px;
    font-weight: 400;
    color: var(--accent-gold);
    transition: transform 0.2s ease;
    line-height: 1;
}

details.faq-item[open] summary.faq-question::after {
    content: "−";
    color: #fff;
}

.faq-answer {
    padding: 0 24px 22px;
    font-size: 14px;
    line-height: 1.6;
    color: #cbd5e1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

/* 7. Плаваща лента за бързо действие на мобилни телефони (Sticky Mobile CTA Bar) */
.sticky-mobile-cta {
    display: none;
}

@media (max-width: 768px) {
    .ppc-hero {
        grid-template-columns: 1fr;
        padding-top: 40px;
    }

    .sticky-mobile-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(8, 11, 15, 0.92);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid rgba(212, 195, 179, 0.22);
        gap: 12px;
        box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.7);
    }

    .sticky-btn-call,
    .sticky-btn-inquire {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 11px 14px;
        border-radius: 50px;
        font-family: var(--font-main);
        font-weight: 700;
        font-size: 11.5px;
        letter-spacing: 1px;
        text-transform: uppercase;
        text-decoration: none;
        transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease, filter 0.2s ease;
        box-sizing: border-box;
        position: relative;
        overflow: hidden;
    }

    .sticky-btn-call:active,
    .sticky-btn-inquire:active {
        transform: scale(0.97);
    }

    /* Бутон 1: ОБАЖДАНЕ — тъмно стъкло с фин изумруден акцент */
    .sticky-btn-call {
        background: linear-gradient(135deg, rgba(20, 27, 36, 0.95) 0%, rgba(12, 16, 22, 0.98) 100%);
        border: 1px solid rgba(212, 195, 179, 0.35);
        color: #ffffff;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }

    .sticky-btn-call:hover {
        border-color: var(--accent-gold);
        background: linear-gradient(135deg, rgba(28, 38, 50, 0.95) 0%, rgba(16, 22, 30, 0.98) 100%);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    .sticky-icon-wrap {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        flex-shrink: 0;
    }

    .sticky-icon-call {
        background: rgba(16, 185, 129, 0.16);
        border: 1px solid rgba(16, 185, 129, 0.35);
        color: #34d399;
    }

    /* Бутон 2: ЗАПИТВАНЕ — Първокласно метално шампанско злато */
    .sticky-btn-inquire {
        background: linear-gradient(135deg, #f0e2d3 0%, #d8c4af 50%, #c1ab94 100%);
        border: 1px solid rgba(255, 255, 255, 0.5);
        color: #0b0f14;
        box-shadow: 0 4px 20px rgba(216, 196, 175, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    }

    .sticky-btn-inquire:hover {
        filter: brightness(1.05);
        box-shadow: 0 6px 24px rgba(216, 196, 175, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.85);
    }

    .sticky-icon-inquire {
        background: rgba(11, 15, 20, 0.12);
        color: #0b0f14;
    }

    body.has-sticky-cta {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }
}

/* Елегантни векторни графики (SVG) вместо емотикони */
.icon-svg {
    display: inline-block;
    vertical-align: -2px;
    margin-right: 6px;
    flex-shrink: 0;
}

.fact-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(212, 195, 179, 0.1);
    border: 1px solid rgba(212, 195, 179, 0.25);
    flex-shrink: 0;
}

.fact-svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-gold);
}

.comp-icon-good {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    margin-top: 2px;
    flex-shrink: 0;
}

.comp-icon-bad {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    margin-top: 2px;
    flex-shrink: 0;
}

.ppc-badge svg {
    vertical-align: -2px;
    margin-right: 6px;
    stroke: var(--accent-gold);
}

/* ==========================================================================
   8. ВИЗУАЛНИ ЕЛЕМЕНТИ ЗА ДОВЕРИЕ: ГАЛЕРИЯ B-ONE, ГРАФИКИ И СРАВНЕНИЯ
   ========================================================================== */

/* Секция Реализиран Еталон (Сграда B-ONE) с реални снимки */
.proof-showcase-section {
    padding: 70px 5%;
    background: #090c10;
    border-top: 1px solid #1a222f;
    border-bottom: 1px solid #1a222f;
}

.proof-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 40px;
}

.proof-header h2 {
    font-size: clamp(24px, 3.2vw, 36px);
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
}

.proof-header p {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.7;
}

/* Визуална мрежа от снимки за сграда B-ONE */
.proof-visual-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto 35px;
    align-items: stretch;
}

.proof-main-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(212, 195, 179, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    background: #11161d;
    min-height: 380px;
}

.proof-main-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.proof-main-card:hover img {
    transform: scale(1.03);
}

.proof-ribbon {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(16, 185, 129, 0.92);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.proof-main-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 24px 20px;
    background: linear-gradient(to top, rgba(9, 12, 16, 0.95) 0%, rgba(9, 12, 16, 0.6) 60%, transparent 100%);
    color: #fff;
    z-index: 2;
}

.proof-main-overlay h3 {
    font-size: 20px;
    color: var(--accent-gold);
    margin-bottom: 6px;
}

.proof-main-overlay p {
    font-size: 13px;
    color: #cbd5e1;
    margin: 0;
}

.proof-side-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
}

.proof-side-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #1e2837;
    background: #11161d;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.proof-side-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 3;
    transition: transform 0.4s ease;
}

.proof-side-item:hover img {
    transform: scale(1.04);
}

.proof-side-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 13, 18, 0.85);
    backdrop-filter: blur(4px);
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #e2e8f0;
    text-align: center;
}

/* Лента с факти за сградата B-ONE */
.proof-facts-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.proof-fact-chip {
    background: #11161f;
    border: 1px solid #1f2b3b;
    border-radius: 6px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.fact-icon {
    font-size: 24px;
    line-height: 1;
}

.fact-meta strong {
    display: block;
    font-size: 14px;
    color: #fff;
    margin-bottom: 2px;
}

.fact-meta span {
    font-size: 12px;
    color: #94a3b8;
}

/* Инфографика за сравнение на доходността */
.financial-infographic {
    max-width: 900px;
    margin: 40px auto 0;
    background: #101620;
    border: 1px solid #233142;
    border-radius: 10px;
    padding: 30px;
}

.infographic-title {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.chart-bar-row {
    margin-bottom: 20px;
}

.chart-bar-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #cbd5e1;
}

.chart-track {
    height: 28px;
    background: #080c10;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid #1a222e;
}

.chart-fill {
    height: 100%;
    border-radius: 5px;
    display: flex;
    align-items: center;
    padding-left: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    transition: width 0.8s ease;
}

.chart-fill.sale-fill {
    width: 35%;
    background: linear-gradient(90deg, #64748b 0%, #475569 100%);
}

.chart-fill.comp-fill {
    width: 100%;
    background: linear-gradient(90deg, #d4c3b3 0%, #10b981 100%);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

/* Премиум материали и оборудване */
.materials-section {
    padding: 60px 5%;
    background: #080b0f;
    border-top: 1px solid #151d28;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 40px auto 0;
}

.material-card {
    background: #0e131a;
    border: 1px solid #1b2432;
    border-radius: 8px;
    padding: 22px 20px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.material-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
}

.material-card .mat-brand {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 6px;
}

.material-card .mat-role {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Локации с визуални карти */
.locations-visual-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.loc-card {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 180px;
    border: 1px solid #202b3a;
    background: #111720;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.loc-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

.loc-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.65;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.loc-card:hover img {
    transform: scale(1.06);
    opacity: 0.85;
}

.loc-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 12, 16, 0.95) 0%, rgba(9, 12, 16, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.loc-card-overlay h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 4px;
    font-weight: 700;
}

.loc-card-overlay span {
    font-size: 12px;
    color: var(--accent-gold);
    font-weight: 600;
}

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

    .proof-side-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .proof-main-card {
        min-height: 280px;
    }
}




/* ==========================================
   МОДЕРНИ АНИМАЦИИ, РАСТЕРИ И ИНТЕРАКТИВНОСТ (ВСИЧКИ СТРАНИЦИ)
   ========================================== */
.stdb-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    z-index: 9999;
    background: linear-gradient(90deg, #b89670 0%, #e4ccb0 65%, #fff2df 100%);
    transform-origin: left center;
    transform: scaleX(0);
    pointer-events: none;
    box-shadow: 0 0 10px rgba(228, 204, 176, 0.45);
}

@keyframes stdbRasterDrift {
    0% {
        transform: translate3d(var(--hero-px, 0px), var(--hero-py, 0px), 0) scale(1.04) rotate(0deg);
    }
    50% {
        transform: translate3d(calc(var(--hero-px, 0px) - 12px), calc(var(--hero-py, 0px) + 8px), 0) scale(1.1) rotate(0.4deg);
    }
    100% {
        transform: translate3d(calc(var(--hero-px, 0px) + 10px), calc(var(--hero-py, 0px) - 10px), 0) scale(1.06) rotate(-0.3deg);
    }
}

@keyframes stdbGridPan {
    0% {
        background-position: 0 0, 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 0 0, 68px 68px, 68px 68px, 0 0;
    }
}

@keyframes stdbHeroReveal {
    from {
        opacity: 0;
        transform: translate3d(0, 22px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Архитектурен растер и интерактивен светлинен паралакс във ВСИЧКИ Hero секции */
.ppc-hero,
.project-detail-hero,
.residential-hero,
.about-hero,
.portfolio-intro,
.contact-hero-split,
.policy-hero,
.thank-you-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.ppc-hero::before {
    content: "";
    position: absolute;
    inset: -4%;
    z-index: -2;
    background: url('../pictures/backgraund/black-rster.webp') center center / cover no-repeat;
    opacity: 0.92;
    filter: brightness(1.28) contrast(1.06);
    transform: translate3d(var(--hero-px, 0px), var(--hero-py, 0px), 0) scale(1.06);
    transform-origin: center;
    will-change: transform;
    animation: stdbRasterDrift 22s ease-in-out infinite alternate;
    pointer-events: none;
}

.ppc-hero::after,
.project-detail-hero::after,
.residential-hero::after,
.about-hero::after,
.portfolio-intro::after,
.contact-hero-split::after,
.policy-hero::after,
.thank-you-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        radial-gradient(620px circle at var(--mx, 68%) var(--my, 45%), rgba(228, 204, 176, 0.13), transparent 62%),
        linear-gradient(rgba(228, 204, 176, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(228, 204, 176, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(3, 5, 8, 0.15) 0%, rgba(3, 5, 8, 0.04) 50%, rgba(3, 5, 8, 0.15) 100%);
    background-size: 100% 100%, 68px 68px, 68px 68px, 100% 100%;
    pointer-events: none;
    animation: stdbGridPan 36s linear infinite;
}

.ppc-hero > *,
.project-detail-hero > *,
.residential-hero > *,
.about-hero > *,
.portfolio-intro > *,
.contact-hero-split > *,
.policy-hero > *,
.thank-you-section > * {
    position: relative;
    z-index: 1;
}

/* Каскадно появяване за всички Hero заглавия и панели */
.hero-content .subtitle,
.hero-content .hero-eyebrow,
.ppc-hero-content .hero-eyebrow,
.project-detail-content .subtitle,
.residential-hero-panel .subtitle,
.about-hero-text .subtitle,
.portfolio-intro-panel .subtitle,
.contact-hero-panel .subtitle {
    animation: stdbHeroReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.hero-content h1,
.ppc-hero-content h1,
.project-detail-content h1,
.residential-hero-panel h1,
.about-hero-text h1,
.portfolio-intro-panel h1,
.contact-hero-panel h1 {
    animation: stdbHeroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both;
}

.hero-content p,
.ppc-hero-content p,
.project-detail-content p,
.about-hero-text p,
.portfolio-intro-panel p,
.contact-hero-panel p {
    animation: stdbHeroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

.hero-content .btn,
.hero-content .hero-actions,
.ppc-hero-content .btn,
.project-detail-content .btn {
    animation: stdbHeroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.34s both;
}

.hero-image,
.showcase-card,
.residential-hero-image,
.about-hero-image,
.quick-lead-card,
.contact-info-panel {
    animation: stdbHeroReveal 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    will-change: transform;
}

.hero-image img,
.showcase-card img,
.residential-hero-image img,
.about-hero-image img {
    transition: transform 6s ease-out;
}

.hero-image:hover img,
.showcase-card:hover img,
.residential-hero-image:hover img,
.about-hero-image:hover img {
    transform: scale(1.035);
}

/* Луксозен светлинен отблясък върху всички бутони в сайта */
.btn,
.outline-btn,
.quick-lead-btn,
.submit-btn,
.contact-form-submit,
.sticky-btn-call,
.sticky-btn-inquire {
    position: relative;
    overflow: hidden;
}

.btn::after,
.outline-btn::after,
.quick-lead-btn::after,
.submit-btn::after,
.contact-form-submit::after,
.sticky-btn-call::after,
.sticky-btn-inquire::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 65%;
    height: 100%;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 50%, transparent 100%);
    transform: skewX(-18deg);
    transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.btn:hover::after,
.outline-btn:hover::after,
.quick-lead-btn:hover::after,
.submit-btn:hover::after,
.contact-form-submit:hover::after,
.sticky-btn-call:hover::after,
.sticky-btn-inquire:hover::after {
    left: 145%;
}

/* Плавна Scroll-Reveal система за всички страници */
.stdb-reveal {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1), transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--stdb-stagger, 0) * 65ms);
    will-change: opacity, transform;
}

.stdb-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Фин архитектурен растер на тъмните секции във всички страници */
.services-section,
.about-services,
.detailed-services,
.workflow-section,
.timeline-section,
.materials-section,
.comparison-section,
.proof-showcase-section,
.faq-section,
.testimonials,
.testimonials-section,
.residential-gallery,
.project-gallery-section,
.project-info-section,
.contact-form-section,
.main-footer {
    position: relative;
    background-image:
        radial-gradient(circle at 82% 18%, rgba(228, 204, 176, 0.05), transparent 46%),
        linear-gradient(rgba(228, 204, 176, 0.024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(228, 204, 176, 0.024) 1px, transparent 1px);
    background-size: 100% 100%, 56px 56px, 56px 56px;
}

@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .hero::after,
    .ppc-hero::before,
    .ppc-hero::after,
    .project-detail-hero::after,
    .residential-hero::after,
    .about-hero::after,
    .portfolio-intro::after,
    .contact-hero-split::after,
    .policy-hero::after,
    .thank-you-section::after,
    .hero-content .subtitle,
    .hero-content h1,
    .hero-content p,
    .hero-content .btn,
    .hero-content .hero-actions,
    .hero-image,
    .showcase-card,
    .residential-hero-image,
    .about-hero-image,
    .quick-lead-card {
        animation: none !important;
        transform: none !important;
    }

    .stdb-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =========================================================
   2026 Quick Inquiry Bottom Sheet (Mobile-First CRO)
========================================================= */
.stdb-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99990;
    background: rgba(5, 8, 12, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.stdb-sheet-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.stdb-sheet {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #10151c;
    border: 1px solid rgba(212, 180, 140, 0.28);
    border-radius: 14px;
    padding: 28px 24px 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    max-height: 92vh;
    overflow-y: auto;
}

.stdb-sheet-backdrop.is-open .stdb-sheet {
    transform: translateY(0) scale(1);
}

.stdb-sheet-handle {
    display: none;
}

.stdb-sheet-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.stdb-sheet-close:hover {
    background: rgba(212, 180, 140, 0.16);
    border-color: var(--accent-gold);
}

.stdb-sheet-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 6px;
}

.stdb-sheet-title {
    font-size: 22px;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 36px 8px 0;
}

.stdb-sheet-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 18px;
    line-height: 1.45;
}

.stdb-sheet .contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stdb-sheet .contact-form input:not([type="hidden"]),
.stdb-sheet .contact-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 13px 14px;
    font-size: 15px;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.stdb-sheet .contact-form input:focus,
.stdb-sheet .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.07);
}

.stdb-sheet .contact-form .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    border-radius: 8px;
    margin-top: 4px;
}

.stdb-sheet-meta {
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

.stdb-sheet-meta a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 768px) {
    .stdb-sheet-backdrop {
        align-items: flex-end;
        padding: 0;
    }

    .stdb-sheet {
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        padding: 14px 20px calc(22px + env(safe-area-inset-bottom, 0px));
        transform: translateY(100%);
    }

    .stdb-sheet-backdrop.is-open .stdb-sheet {
        transform: translateY(0);
    }

    .stdb-sheet-handle {
        display: block;
        width: 42px;
        height: 4px;
        border-radius: 99px;
        background: rgba(255, 255, 255, 0.22);
        margin: 0 auto 14px;
    }
}

