/* ===== Дани Строй 25 — danistroy25.bg ===== */

:root {
    --bg: #0a0a0a;
    --bg-card: #101010;
    --bg-card-2: #151310;
    --gold: #e0aa3e;
    --gold-light: #f5d76e;
    --gold-dark: #a67612;
    --gold-grad: linear-gradient(180deg, #f9e08a 0%, #d9a428 55%, #a67612 100%);
    --silver: #c9c9c9;
    --text: #e8e8e8;
    --text-muted: #a8a8a8;
    --border: rgba(224, 170, 62, .35);
    --border-soft: rgba(224, 170, 62, .18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.gold { color: var(--gold); }
.silver { color: var(--silver); }

.icon { color: var(--gold); flex-shrink: 0; }

/* ===== Бутони ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .25s ease;
    white-space: nowrap;
}

.btn-gold {
    background: linear-gradient(180deg, #f0c75e, #d9a428);
    color: #1a1200;
    box-shadow: 0 4px 18px rgba(217, 164, 40, .35);
}
.btn-gold:hover {
    background: linear-gradient(180deg, #f7d67a, #e2af35);
    transform: translateY(-1px);
}
.btn-gold .icon { color: #1a1200; }

.btn-outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--border);
}
.btn-outline:hover {
    background: rgba(224, 170, 62, .1);
    border-color: var(--gold);
}

.btn-sm { padding: 9px 20px; font-size: 11.5px; }
.btn-block { width: 100%; }

/* ===== Хедър ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 8, 8, .95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-soft);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 62px; width: auto; }
.logo-mark { height: 56px; width: auto; }

.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    letter-spacing: .04em;
}
.logo-name .gold {
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo-name .silver {
    background: linear-gradient(180deg, #f2f2f2, #8a8a8a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo-tagline {
    font-size: 8.5px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.main-nav {
    display: flex;
    gap: 26px;
    margin-left: auto;
}
.main-nav a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
}
.main-nav a:hover { color: var(--gold); border-color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    color: var(--gold-light);
}
.header-phone:hover { color: var(--gold); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

/* ===== Херо ===== */
.hero {
    position: relative;
    background:
        linear-gradient(100deg, rgba(5, 5, 5, .96) 0%, rgba(8, 8, 8, .75) 45%, rgba(10, 9, 6, .88) 100%),
        url('../images/hero.jpg') center / cover no-repeat,
        radial-gradient(ellipse at 65% 40%, #2a2314 0%, #0a0a0a 65%);
    padding: 80px 0 90px;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(44px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.hero-white { color: #fff; }
.hero-gold { color: var(--gold); }

.hero-sub {
    margin-top: 18px;
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #fff;
}

.hero-divider {
    width: 90px;
    height: 3px;
    background: var(--gold-grad);
    margin: 22px 0;
    border-radius: 2px;
}

.hero-motto {
    font-size: 17px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
}

.hero-desc {
    max-width: 440px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Форма за запитване ===== */
.hero-form {
    background: rgba(12, 12, 12, .92);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 32px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
    scroll-margin-top: 100px;
}

.hero-form h2 {
    font-size: 19px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gold);
    text-align: center;
}

.form-divider {
    width: 60px;
    height: 2px;
    background: var(--gold-grad);
    margin: 12px auto 22px;
}

.form-field { margin-bottom: 14px; }

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #2e2e2e;
    border-radius: 8px;
    padding: 13px 15px;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    transition: border-color .2s;
}
.form-field select { appearance: none; color: var(--text-muted); }
.form-field select:valid { color: var(--text); }
.form-field textarea { resize: vertical; }

.form-field input::placeholder,
.form-field textarea::placeholder { color: #7a7a7a; }

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

.alert {
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 13.5px;
    margin-bottom: 16px;
}
.alert-success {
    background: rgba(50, 160, 80, .12);
    border: 1px solid rgba(50, 160, 80, .45);
    color: #7fd89a;
}
.alert-error {
    background: rgba(200, 60, 60, .12);
    border: 1px solid rgba(200, 60, 60, .45);
    color: #f0938d;
}

/* ===== Предимства ===== */
.badges {
    padding: 34px 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    background: #0d0d0d;
}

.badges-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.badge { display: flex; align-items: center; gap: 16px; }
.badge h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #fff;
}
.badge p { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }

/* ===== Услуги ===== */
.services { padding: 80px 0; }

.section-eyebrow {
    text-align: center;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    text-align: center;
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #fff;
    margin-bottom: 46px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 28px 16px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}

.service-card h3 {
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #fff;
    line-height: 1.4;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.services-all { text-align: center; margin-top: 36px; }

/* ===== Страница Услуги ===== */
.services-page { padding: 60px 0 30px; }

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

.sdetail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    scroll-margin-top: 100px;
    transition: border-color .25s, box-shadow .25s;
}
.sdetail-card:hover {
    border-color: var(--border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}
.sdetail-card:target {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold), 0 12px 30px rgba(0, 0, 0, .5);
}

.sdetail-photo {
    height: 170px;
    background:
        radial-gradient(ellipse at 60% 30%, #241f14 0%, #101010 70%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-soft);
}
.sdetail-photo.has-photo .icon { display: none; }

.sdetail-body { padding: 20px 22px; flex: 1; }

.sdetail-body h3 {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #fff;
    line-height: 1.35;
}
.snum {
    font-size: 20px;
    font-weight: 800;
    color: var(--gold);
}

.sdetail-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin: 8px 0 14px;
}

.sdetail-body ul { list-style: none; }
.sdetail-body li {
    position: relative;
    padding: 3px 0 3px 18px;
    font-size: 13.5px;
}
.sdetail-body li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 11px;
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
}

.sdetail-group {
    color: var(--gold);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 12px;
    margin-bottom: 2px;
}

.sdetail-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    padding: 13px 22px;
    border-top: 1px solid var(--border-soft);
}
.sdetail-badges span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-muted);
}

/* ===== Защо да ни изберете ===== */
.why {
    padding: 70px 0;
    background: #0d0d0d;
    border-top: 1px solid var(--border-soft);
}

.why-inner {
    display: grid;
    grid-template-columns: 1.1fr .8fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.why-list h2 {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #fff;
    margin-bottom: 22px;
}

.why-list ul { list-style: none; margin-bottom: 26px; }
.why-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 0;
    font-size: 14.5px;
}

.why-stats {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 28px 26px;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
}

.stat { display: flex; align-items: center; gap: 16px; }
.stat strong {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}
.stat span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
}

.why-image {
    min-height: 320px;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    background:
        url('../images/interior.jpg') center / cover no-repeat,
        linear-gradient(135deg, #1c1a15 0%, #0e0e0e 60%),
        var(--bg-card);
}

/* ===== CTA ===== */
.cta {
    padding: 40px 0;
    border-top: 1px solid var(--border-soft);
}

.cta-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    background: var(--bg-card-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 34px;
    flex-wrap: wrap;
}

.cta-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-text { flex: 1; min-width: 260px; }
.cta-text h2 {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #fff;
}
.cta-text p { color: var(--text-muted); font-size: 14px; margin-top: 4px; }

.cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.cta-phone {
    font-size: 26px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: .02em;
}
.cta-phone:hover { color: var(--gold-light); }

/* ===== Футър ===== */
.site-footer {
    border-top: 1px solid var(--border-soft);
    background: #070707;
    padding-top: 50px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--gold);
    margin-bottom: 14px;
}
.footer-col a, .footer-col p {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 4px 0;
}
.footer-col a:hover { color: var(--gold); }

.footer-tagline {
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: .18em;
    margin-top: 8px;
}
.footer-motto { color: var(--gold) !important; font-weight: 600; margin-top: 10px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 18px 0;
}
.footer-bottom p { font-size: 12.5px; color: #6e6e6e; text-align: center; }

/* ===== Лого (растерно) ===== */
.logo-img { height: 92px; width: auto; display: block; }
.footer-logo { height: 110px; width: auto; display: block; margin-bottom: 8px; }
.main-nav a.active { color: var(--gold); border-color: var(--gold); }
.form-consent { font-size: 11.5px; color: var(--text-muted); margin: -2px 0 12px; }
.form-consent a { color: var(--gold); text-decoration: underline; }

/* ===== Вътрешни страници ===== */
.page-head {
    padding: 60px 0 10px;
    background: radial-gradient(ellipse at 50% 0%, #1e1a10 0%, #0a0a0a 70%);
}
.page-head .section-title { margin-bottom: 0; }
.page-body { padding: 40px 0 60px; }

.page-content {
    max-width: 820px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 36px 40px;
}
.rich { line-height: 1.75; font-size: 15px; color: var(--text); }
.rich h2, .rich h3, .rich h4 {
    color: #fff;
    font-weight: 700;
    margin: 26px 0 10px;
    line-height: 1.3;
}
.rich h2 { font-size: 22px; padding-bottom: 8px; border-bottom: 1px solid var(--border-soft); }
.rich h3 { font-size: 18px; color: var(--gold); }
.rich h4 { font-size: 15.5px; }
.rich p { margin: 0 0 14px; }
.rich ul, .rich ol { margin: 0 0 16px; padding-left: 24px; }
.rich li { margin-bottom: 6px; }
.rich ul li::marker { color: var(--gold); }
.rich a { color: var(--gold); text-decoration: underline; }
.rich strong { color: #fff; }
.rich img { max-width: 100%; height: auto; border-radius: 8px; }
.rich table { border-collapse: collapse; width: 100%; margin: 12px 0 18px; }
.rich td, .rich th { border: 1px solid #333; padding: 8px 12px; }
.rich th { background: rgba(224, 170, 62, .1); color: var(--gold); }
.rich blockquote { border-left: 3px solid var(--gold); padding-left: 16px; color: var(--text-muted); margin: 14px 0; }
.rich hr { border: none; border-top: 1px solid var(--border-soft); margin: 22px 0; }

/* Контакти */
.contact-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: start;
}
.contact-intro { max-width: none; margin: 0 0 22px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 18px;
    transition: border-color .2s;
}
a.contact-card:hover { border-color: var(--gold); }
.contact-card span {
    display: block;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
}
.contact-card strong { color: #fff; font-size: 14.5px; }
.contact-page .hero-form { scroll-margin-top: 100px; }

/* Галерия */
.gallery-intro { max-width: 820px; margin: 0 auto 30px; }
.gallery-empty { text-align: center; color: var(--text-muted); padding: 40px 0; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    background: var(--bg-card);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 10px 14px;
    font-size: 12.5px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, .8));
}
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, .92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 8px; border: 1px solid var(--border); }
.lightbox p { color: var(--text-muted); margin-top: 12px; font-size: 14px; }
.lightbox-close {
    position: absolute;
    top: 16px; right: 22px;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
}

/* Лента за бисквитки */
.cookie-bar {
    position: fixed;
    left: 16px; right: 16px; bottom: 16px;
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: #111;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .6);
    max-width: 900px;
    margin: 0 auto;
}
.cookie-bar p { font-size: 13px; color: var(--text-muted); margin: 0; }
.cookie-bar a { color: var(--gold); text-decoration: underline; }

/* ===== Адаптивност ===== */
@media (max-width: 1080px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
    .sdetail-grid { grid-template-columns: repeat(2, 1fr); }
    .main-nav { gap: 18px; }
    .header-phone { display: none; }
}

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 44px; }
    .contact-inner { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .logo-img { height: 64px; }
    .page-content { padding: 26px 22px; }
    .hero { padding: 56px 0 64px; }
    .badges-inner { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .why-inner { grid-template-columns: 1fr 1fr; }
    .why-image { grid-column: 1 / -1; }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: #0c0c0c;
        border-bottom: 1px solid var(--border-soft);
        padding: 10px 20px 16px;
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
    .nav-toggle { display: flex; margin-left: auto; }
    .header-actions { margin-left: auto; }
    .header-actions .btn { display: none; }
}

@media (max-width: 640px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-cards { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-logo { height: 80px; }
    .sdetail-grid { grid-template-columns: 1fr; }
    .badges-inner { grid-template-columns: 1fr; }
    .why-inner { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .cta-inner { justify-content: center; text-align: center; }
    .logo-name { font-size: 17px; }
    .logo-tagline { font-size: 7.5px; }
}

/* Поле-капан против спам — скрито от хората, но не с display:none (някои ботове го проверяват) */
.hp-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
