/* Optimized stylesheet: duplicates consolidated, final visual state preserved. */
:root { --bg-dark: #06090d; --bg-light: #fdfaf6; --accent-gold: #c5a47e; --text-white: #ffffff; --text-dark: #111111; --border-dark: rgba(255, 255, 255, 0.08); --border-light: rgba(0, 0, 0, 0.08); }
html { scroll-behavior: smooth; }
body { font-family: "Montserrat", sans-serif; margin: 0; padding: 0; background-color: var(--bg-dark); color: var(--text-white); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s; }
.container { max-width: 1440px; margin: 0 auto; padding: 0 50px; box-sizing: border-box; }
.header { position: absolute; top: 0; width: 100%; z-index: 100; padding: 35px 0; box-sizing: border-box; }
.header-inner { display: flex; justify-content: space-between; align-items: center; margin-left: 220px; }
.logo-box-small { width: 48px; height: 48px; border: 1px solid var(--accent-gold); display: flex; align-items: center; justify-content: center; color: var(--accent-gold); font-weight: 600; font-size: 16px; letter-spacing: 0.5px; }
.logo-text-small { font-size: 10px; color: var(--accent-gold); font-weight: 500; letter-spacing: 1px; line-height: 1.3; }
.main-nav ul { display: flex; gap: 45px; list-style: none; margin: 0; padding: 0; }
.main-nav a:hover { color: var(--accent-gold); }
.header-phone { font-size: 15px; font-weight: 500; letter-spacing: 0.5px; }
.btn-outline { display: inline-flex; align-items: center; gap: 15px; border: 1px solid var(--accent-gold); padding: 16px 34px; font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-gold); background: transparent; }
.btn-outline:hover { background-color: var(--accent-gold); color: #06090d; }
.btn-outline .arrow { font-size: 13px; transition: transform 0.3s ease; }
.btn-outline:hover .arrow { transform: translateX(5px); }
.btn-outline.dark { border-color: #cbd0d8; color: var(--text-dark); }
.btn-outline.dark:hover { border-color: var(--text-dark); background-color: var(--text-dark); color: var(--bg-light); }
.about-section { background-color: var(--bg-light); color: var(--text-dark); padding: 140px 0; }
.about-inner { display: flex; justify-content: space-between; gap: 100px; align-items: center; }
.about-text { flex: 1.1; }
.section-label { font-size: 20px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; display: block; margin-bottom: 25px; color: #a39583; }
.section-label.gold { color: var(--accent-gold); }
.about-text h2 { font-size: 44px; font-weight: 400; margin: 0 0 35px 0; line-height: 1.25; letter-spacing: -0.5px; }
.about-text p { font-size: 15px; color: #444444; margin-bottom: 25px; font-weight: 400; line-height: 1.65; }
.about-text p strong { color: var(--text-dark); font-weight: 600; }
.about-text .btn-outline { margin-top: 15px; }
.about-stats { flex: 1; display: grid; grid-template-columns: 1fr 1fr; }
.stat-item { padding: 40px; box-sizing: border-box; }
.stat-item:nth-child(1) { border-right: 1px solid rgba(0, 0, 0, 0.08); border-bottom: 1px solid rgba(0, 0, 0, 0.08); padding-top: 0; padding-left: 0; }
.stat-item:nth-child(2) { border-bottom: 1px solid rgba(0, 0, 0, 0.08); padding-top: 0; padding-right: 0; }
.stat-item:nth-child(3) { border-right: 1px solid rgba(0, 0, 0, 0.08); padding-bottom: 0; padding-left: 0; }
.stat-item:nth-child(4) { padding-bottom: 0; padding-right: 0; }
.stat-icon { height: 32px; margin-bottom: 20px; filter: invert(72%) sepia(13%) saturate(1478%) hue-rotate(345deg) brightness(88%) contrast(85%); }
.stat-number { font-size: 38px; font-weight: 400; color: var(--text-dark); margin-bottom: 8px; line-height: 1; }
.stat-label { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: #666; text-transform: uppercase; }
.home-projects { padding: 120px 0; background-color: var(--bg-dark); }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 55px; }
.section-header h2 { font-size: 38px; font-weight: 400; margin: 0; line-height: 1.25; }
.section-header .btn-outline { margin-bottom: 5px; }
.section-header.dark-text h2 { color: var(--text-dark); }
.projects-grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.project-card { background: #11161d; overflow: hidden; display: flex; flex-direction: column; }
.project-card:hover { transform: translateY(-4px); }
.project-card img { width: 100%; height: 210px; object-fit: cover; display: block; }
.p-info { padding: 20px 15px; flex-grow: 1; display: flex; flex-direction: column; }
.p-info h3 { font-size: 14px; margin: 0 0 8px; font-weight: 500; line-height: 1.35; color: var(--text-white); }
.p-info .loc { font-size: 11px; color: #828a94; margin-bottom: 20px; }
.p-info .status { font-size: 11px; font-weight: 500; color: #cbd0d8; display: flex; align-items: center; gap: 8px; margin-top: auto; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; }
.dot.gold { background: var(--accent-gold); }
.home-news { padding: 120px 0; background-color: var(--bg-light); color: var(--text-dark); }
.news-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.news-card-horizontal { display: flex; gap: 20px; align-items: flex-start; }
.news-card-horizontal img { width: 125px; height: 125px; object-fit: cover; flex-shrink: 0; }
.n-info { display: flex; flex-direction: column; justify-content: space-between; height: 125px; }
.n-info .date { font-size: 10px; font-weight: 600; color: #828a94; letter-spacing: 1px; display: block; margin-bottom: 4px; }
.n-info h3 { font-size: 15px; font-weight: 500; margin: 0 0 6px 0; line-height: 1.35; color: var(--text-dark); }
.n-info p { font-size: 12.5px; color: #555; margin: 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { font-size: 11px; font-weight: 600; color: var(--accent-gold); letter-spacing: 1px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.read-more:hover { color: var(--text-dark); }
.footer { padding: 90px 0 40px; background-color: #040609; border-top: 1px solid var(--border-dark); }
.footer-logo { display: flex; flex-direction: column; gap: 20px; }
.logo-box-big { width: 110px; height: 110px; border: 2px solid var(--accent-gold); display: flex; align-items: center; justify-content: center; font-size: 38px; font-weight: 600; color: var(--accent-gold); letter-spacing: 0.5px; }
.logo-text-big { font-size: 12px; color: var(--accent-gold); font-weight: 500; letter-spacing: 2px; line-height: 1.4; }
.footer-contacts { padding-right: 40px; }
.footer-contacts h3 { font-size: 30px; font-weight: 400; margin: 0 0 35px 0; color: var(--text-white); }
.footer-contacts ul { list-style: none; padding: 0; margin: 0; font-size: 15px; font-weight: 300; display: flex; flex-direction: column; gap: 22px; }
.instagram-link:hover { color: var(--accent-gold); }
.bg-light { background-color: var(--bg-light); color: var(--text-dark); }
.bg-dark { background-color: var(--bg-dark); color: var(--text-white); }
.black-text { color: var(--text-dark); }
.page-title { font-size: 36px; font-weight: 500; margin-bottom: 40px; }
.grid-3-clean { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card-clean:hover { transform: translateY(-5px); }
.card-clean img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }
.card-title { font-size: 18px; font-weight: 600; margin: 0; line-height: 1.4; }
.card-meta { font-size: 12px; color: #888; font-weight: 400; }
.detail-hero-img { width: 100%; height: auto; max-height: 600px; object-fit: cover; border-radius: 4px; margin-bottom: 40px; }
.detail-header-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 30px; border-bottom: 1px solid var(--border-light); padding-bottom: 30px; }
.bg-dark .detail-header-row { border-bottom-color: var(--border-dark); }
.detail-title { font-size: 32px; font-weight: 600; margin: 0; line-height: 1.3; flex: 1; }
.detail-date { font-size: 14px; color: #888; white-space: nowrap; padding-top: 10px; }
.detail-content { font-size: 16px; line-height: 1.8; color: #444; max-width: 1000px; margin: 0 auto; }
.bg-dark .detail-content { color: #ccc; }
.detail-content p.lead { font-style: italic; font-weight: 500; font-size: 17px; margin-bottom: 25px; color: inherit; }
.detail-content p { margin-bottom: 20px; }
.hero-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 80px; width: 100%; }
.hero-image { flex: 0 0 50%; display: flex; justify-content: flex-end; }
.hero-image img { width: 100%; max-width: 850px; height: auto; border-radius: 12px; display: block; }
.hero-wrapper,.hero-image { display: none; }
.hero-section { height: 100vh; overflow: hidden; position: relative; background: linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.58) 28%,rgba(0,0,0,.15) 60%,rgba(0,0,0,0) 100%), url("img/hero-bg.jpg"); background-size: cover; background-position: center center; background-repeat: no-repeat; min-height: 100vh; display: flex; align-items: center; }
.phone,.header-phone,.contact-phone { font-size: 32px !important; font-weight: 700 !important; }
.logo { display: flex; align-items: center; gap: 15px; position: absolute !important; left: 40px !important; top: 20px !important; }
.logo img { margin-left: 220px; display: block; height: 180px !important; width: auto !important; }
.header .container, .navbar, .header-content { align-items: flex-start !important; }
.main-nav { margin-top: 18px !important; }
.main-nav a { font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-white); font-size: 18px !important; }
.header-phone, .phone, .contact-phone { font-size: 28px !important; font-weight: 700 !important; margin-top: 10px !important; }
.hero-content { flex: 0 0 45%; z-index: 5; padding-left: 40px; margin-top: 60px; margin-left: 60px !important; text-align: left !important; position: absolute !important; top: 240px !important; margin: 0 !important; max-width: 420px !important; left: 0 !important; }
.hero-subtitle { font-weight: 400; opacity: 0.9; text-transform: uppercase; margin-bottom: 25px; font-size: 22px !important; letter-spacing: 5px !important; color: #c89b5a !important; }
.hero-description { font-weight: 300; line-height: 1.7; color: rgba(255,255,255,.92); margin-bottom: 40px; font-size: 16px !important; max-width: 360px !important; }
.hero-title br:first-of-type { display: none !important; }
header::after, .header::after, .navbar::after, .header-line, .top-line { display: none !important; }
.hero-title span { font-weight: 400; color: #c5a47e; display: block !important; }
header, .header, .navbar { border: none !important; box-shadow: none !important; }
header:before, header:after, .header:before, .header:after, .navbar:before, .navbar:after, .site-header:before, .site-header:after { display: none !important; content: none !important; border: none !important; }
hr { display: none !important; }
.hero-title { margin: 0 0 30px 0; letter-spacing: 1px; font-family: "Cormorant Garamond",serif; font-weight: 400; color: #fff; margin-bottom: 30px; white-space: normal !important; font-size: 72px !important; line-height: 1.0 !important; max-width: 720px !important; }
.header::after { display: none !important; }
.hero-title .line1 { white-space: nowrap !important; display: block !important; }
.hero-title .line2 { color: #c89b5a !important; display: block !important; }
.header::after, header::after, .header-line, .top-line { display: none !important; }
.contact-item img,.contact-icon { width: 32px !important; height: 32px !important; background: transparent !important; }
.map-container iframe { width: 100%; height: 420px; border: 0; }
.solid-header { background-color: var(--bg-dark); position: relative !important; min-height: 220px !important; background: #06090d !important; padding: 35px 0 20px !important; }
.solid-header .logo { position: absolute !important; left: 40px !important; top: 20px !important; }
.solid-header .main-nav { margin-top: 18px !important; }
.solid-header .header-phone { margin-top: 10px !important; }
.page-section { padding: 120px 0 80px; padding-top: 40px !important; }
.detail-section { padding: 80px 0 100px; padding-top: 40px !important; }
.footer-contacts ul li { display: flex; gap: 18px; color: #cbd0d8; line-height: 1.4; align-items: flex-start !important; }
.card-clean h3 { color: #fff; }
.card-clean { display: flex; flex-direction: column; gap: 15px; text-decoration: none; transition: transform 0.3s ease; color: #fff; }
.status-complete { border-color: #4caf50; background: rgba(76,175,80,.2); }
.contact-icon img,.contact-item img { background: transparent !important; }
@media (max-width:768px) { .container { padding: 0 15px; } }
@media (max-width:768px) { .projects-grid-6,.grid-3-clean { grid-template-columns: 1fr !important; } }
@media (max-width:768px) { .project-card img,.card-clean img { height: auto; width: 100%; } }
@media (max-width:768px) { .mobile-menu-toggle { display: block; } }
.home-projects .project-card { border: 1px solid #8f714d !important; box-shadow: 0 0 0 1px rgba(143,113,77,.25) inset; }
.grid-3-clean .card-clean { border: none !important; box-shadow: none !important; }
.project-image-wrap { position: relative; display: block; overflow: hidden; }
.project-image-wrap img { width: 100%; display: block; }
.status-badge { border: 1px solid #c5a47e; position: absolute; top: 12px; left: 12px; z-index: 3; padding: 6px 12px; border-radius: 2px; font-size: 11px; font-weight: 600; line-height: 1; color: #fff; letter-spacing: .2px; background: rgba(0,0,0,.38); backdrop-filter: blur(2px); }
.status-badge.building { border: 1px solid #c89b5a; background: rgba(200,155,90,.55); }
.status-badge.complete { border: 1px solid #5f8f68; background: rgba(48,105,61,.62); }
.project-card .status { display: none !important; }
.projects-page-bg { background: linear-gradient(rgba(6,9,13,.78),rgba(6,9,13,.88)), url("img/fon-1.jpg") center/cover fixed !important; }
.news-page-bg { background: linear-gradient(rgba(6,9,13,.78),rgba(6,9,13,.88)), url("img/fon-2.jpg") center/cover fixed !important; }
.instagram-link { color: #828a94; font-weight: 500; display: inline-flex !important; align-items: center; gap: 8px; }
.instagram-link img { width: 18px; height: 18px; display: block; }
@media (max-width:768px) { .projects-page-bg,.news-page-bg { background-attachment: scroll !important; } }
@media (max-width:768px) { .status-badge { top: 10px; left: 10px; font-size: 10px; } }
body.projects-bg { background: linear-gradient(rgba(6,9,13,.72),rgba(6,9,13,.9)),url("img/fon-1.jpg") center top/cover fixed !important; }
body.news-bg { background: linear-gradient(rgba(6,9,13,.72),rgba(6,9,13,.9)),url("img/fon-2.jpg") center top/cover fixed !important; }
body.projects-bg .solid-header, body.news-bg .solid-header { background: transparent !important; }
body.projects-bg .projects-page-bg, body.news-bg .news-page-bg { background: transparent !important; }
.news-page-bg .grid-3-clean { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 38px !important; align-items: start !important; }
.news-card-page { display: block !important; border: none !important; box-shadow: none !important; padding: 0 !important; }
.news-card-page img { width: 100% !important; height: 260px !important; object-fit: cover !important; border-radius: 4px !important; margin-bottom: 16px !important; }
.news-card-page .card-meta { display: block !important; margin: 0 0 12px !important; color: #aab1bc !important; font-size: 12px !important; letter-spacing: .04em !important; }
.news-card-page .card-title { margin: 0 !important; color: #fff !important; }
.footer-bottom { display: flex; align-items: center; border-top: 1px solid var(--border-dark); padding-top: 30px; font-size: 13px; color: #565d66; justify-content: flex-start !important; }
@media (max-width:900px) { body.projects-bg,body.news-bg { background-attachment: scroll !important; } }
@media (max-width:900px) { .news-page-bg .grid-3-clean { grid-template-columns: 1fr !important; } }
@media (max-width:900px) { .news-card-page img { height: auto !important; max-height: none !important; } }
.footer-logo img { width: 150px !important; height: auto !important; max-height: none !important; object-fit: contain !important; }
.footer-contacts .instagram-link { display: inline-flex !important; align-items: center !important; gap: 18px !important; color: #cbd0d8 !important; text-decoration: none !important; }
.footer-contacts .instagram-link img { width: 22px !important; height: 22px !important; background: transparent !important; filter: none !important; border: 0 !important; box-shadow: none !important; object-fit: contain !important; }
.footer-contacts ul li img { margin-top: 2px; width: 22px !important; height: 22px !important; object-fit: contain !important; border-radius: 0 !important; mix-blend-mode: normal; background: transparent !important; filter: none !important; }
@media (max-width: 768px) { html, body { width: 100% !important; max-width: 100% !important; overflow-x: hidden !important; } }
@media (max-width: 768px) { *, *::before, *::after { box-sizing: border-box !important; } }
@media (max-width: 768px) { img, video, iframe, table { max-width: 100% !important; } }
@media (max-width: 768px) { .container { width: 100% !important; max-width: 100% !important; padding-left: 16px !important; padding-right: 16px !important; margin-left: 0 !important; margin-right: 0 !important; } }
@media (max-width: 768px) { .logo img, .footer-logo img { height: auto !important; width: 82px !important; max-width: 82px !important; object-fit: contain !important; } }
@media (max-width: 768px) { .header-phone, .phone, .contact-phone { font-size: 18px !important; line-height: 1.2 !important; margin: 0 !important; white-space: nowrap !important; } }
@media (max-width: 768px) { .main-nav ul { display: flex !important; gap: 14px !important; width: max-content !important; min-width: 100% !important; padding: 0 !important; margin: 0 !important; list-style: none !important; } }
@media (max-width: 768px) { .main-nav a { font-size: 11px !important; white-space: nowrap !important; letter-spacing: 1px !important; } }
@media (max-width: 768px) { .hero-section { min-height: calc(100vh - 1px) !important; height: auto !important; width: 100% !important; overflow: hidden !important; padding: 40px 0 !important; background-position: center center !important; } }
@media (max-width: 768px) { .hero-content { position: relative !important; left: auto !important; top: auto !important; margin: 60px 0 0 !important; padding-left: 0 !important; max-width: 100% !important; width: 100% !important; } }
@media (max-width: 768px) { .hero-title { font-size: 42px !important; line-height: 1.02 !important; max-width: 100% !important; width: 100% !important; word-break: normal !important; overflow-wrap: break-word !important; } }
@media (max-width: 768px) { .hero-title .line1, .hero-title .line2 { white-space: normal !important; display: block !important; } }
@media (max-width: 768px) { .hero-subtitle { font-size: 13px !important; letter-spacing: 2px !important; } }
@media (max-width: 768px) { .hero-description { max-width: 100% !important; font-size: 15px !important; } }
@media (max-width: 768px) { .btn-outline { max-width: 100% !important; padding: 14px 18px !important; font-size: 10px !important; letter-spacing: 1.2px !important; } }
@media (max-width: 768px) { .about-section, .home-projects, .home-news, .page-section, .detail-section, .footer { width: 100% !important; overflow: hidden !important; padding-left: 0 !important; padding-right: 0 !important; } }
@media (max-width: 768px) { .about-section { padding-top: 70px !important; padding-bottom: 70px !important; } }
@media (max-width: 768px) { .home-projects,.home-news { padding-top: 70px !important; padding-bottom: 70px !important; } }
@media (max-width: 768px) { .page-section { padding-top: 50px !important; padding-bottom: 60px !important; } }
@media (max-width: 768px) { .detail-section { padding-top: 40px !important; padding-bottom: 60px !important; } }
@media (max-width: 768px) { .about-inner, .section-header, .detail-header-row { display: flex !important; flex-direction: column !important; gap: 24px !important; align-items: flex-start !important; width: 100% !important; } }
@media (max-width: 768px) { .about-text, .about-stats { width: 100% !important; max-width: 100% !important; flex: none !important; } }
@media (max-width: 768px) { .about-text h2, .section-header h2, .page-title, .detail-title { font-size: 30px !important; line-height: 1.15 !important; max-width: 100% !important; } }
@media (max-width: 768px) { .about-stats { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 768px) { .stat-item { padding: 20px !important; } }
@media (max-width: 768px) { .stat-number { font-size: 30px !important; } }
@media (max-width: 768px) { .projects-grid-6, .grid-3-clean, .news-page-bg .grid-3-clean, .news-grid-3 { display: grid !important; grid-template-columns: 1fr !important; gap: 22px !important; width: 100% !important; } }
@media (max-width: 768px) { .project-card, .card-clean, .news-card-page, .news-card-horizontal { width: 100% !important; max-width: 100% !important; min-width: 0 !important; } }
@media (max-width: 768px) { .project-card img, .card-clean img, .news-card-page img, .detail-hero-img { width: 100% !important; max-width: 100% !important; height: auto !important; object-fit: cover !important; } }
@media (max-width: 768px) { .project-card img { aspect-ratio: 4/3 !important; } }
@media (max-width: 768px) { .news-card-horizontal { display: flex !important; flex-direction: column !important; gap: 12px !important; } }
@media (max-width: 768px) { .news-card-horizontal img { width: 100% !important; height: auto !important; aspect-ratio: 4/3 !important; } }
@media (max-width: 768px) { .n-info { height: auto !important; width: 100% !important; } }
@media (max-width: 768px) { .footer-inner { display: grid !important; grid-template-columns: 1fr !important; gap: 90px !important; width: 100% !important; margin-bottom: 40px !important; } }
@media (max-width: 768px) { .footer-contacts { width: 100% !important; padding-right: 0 !important; } }
@media (max-width: 768px) { .footer-contacts h3 { font-size: 26px !important; } }
@media (max-width: 768px) { .footer-map, .footer-map iframe, .map-container, .map-container iframe { width: 100% !important; max-width: 100% !important; height: 260px !important; } }
@media (max-width: 768px) { .footer-bottom { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 14px !important; width: 100% !important; } }
@media (max-width: 380px) { .logo img,.footer-logo img { width: 72px !important; max-width: 72px !important; } }
@media (max-width: 380px) { .header-phone,.phone,.contact-phone { font-size: 16px !important; } }
@media (max-width: 380px) { .hero-title { font-size: 36px !important; } }
@media (max-width: 380px) { .about-text h2,.section-header h2,.page-title,.detail-title { font-size: 26px !important; } }
.nav-check, .burger-toggle { display: none; }
.detail-image-wrap { position: relative; display: block; width: 100%; margin-bottom: 40px; }
.detail-image-wrap .detail-hero-img { margin-bottom: 0; display: block; }
.detail-location-badge { position: absolute; right: 18px; bottom: 18px; padding: 8px 13px; background: rgba(6,9,13,.72); border: 1px solid rgba(197,164,126,.85); color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .2px; border-radius: 2px; backdrop-filter: blur(2px); }
.footer-contacts a { color: #cbd0d8; text-decoration: none; }
.footer-contacts a:hover { color: var(--accent-gold); }
.footer-contacts ul li img,.footer-contacts .instagram-link img { filter: none !important; border: none !important; box-shadow: none !important; background: transparent !important; }
@media (max-width:768px) { .header,.solid-header { overflow: visible !important; } }
@media (max-width:768px) { .header-inner { flex-wrap: nowrap !important; position: relative !important; } }
@media (max-width:768px) { .burger-toggle { display: flex !important; width: 42px; height: 42px; border: 1px solid rgba(197,164,126,.8); align-items: center; justify-content: center; flex-direction: column; gap: 5px; margin-left: auto; cursor: pointer; z-index: 1002; background: rgba(6,9,13,.55); } }
@media (max-width:768px) { .burger-toggle span { display: block; width: 21px; height: 2px; background: #c5a47e; border-radius: 2px; transition: .25s ease; } }
@media (max-width:768px) { .header-phone { display: none !important; } }
@media (max-width:768px) { .main-nav { display: none !important; position: absolute !important; right: 16px !important; top: 58px !important; width: min(260px,calc(100vw - 32px)) !important; margin: 0 !important; overflow: visible !important; background: #06090d !important; border: 1px solid rgba(197,164,126,.7) !important; box-shadow: 0 18px 40px rgba(0,0,0,.45) !important; padding: 14px 0 !important; z-index: 1001 !important; } }
@media (max-width:768px) { .main-nav ul { display: flex !important; flex-direction: column !important; gap: 0 !important; min-width: 0 !important; width: 100% !important; margin: 0 !important; padding: 0 !important; } }
@media (max-width:768px) { .main-nav li { width: 100% !important; } }
@media (max-width:768px) { .main-nav a { display: block !important; width: 100% !important; padding: 13px 18px !important; font-size: 12px !important; letter-spacing: 1.4px !important; white-space: normal !important; } }
@media (max-width:768px) { .main-nav a:hover { background: rgba(197,164,126,.12) !important; } }
@media (max-width:768px) { .nav-check:checked + .burger-toggle + .main-nav { display: block !important; } }
@media (max-width:768px) { .nav-check:checked + .burger-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); } }
@media (max-width:768px) { .nav-check:checked + .burger-toggle span:nth-child(2) { opacity: 0; } }
@media (max-width:768px) { .nav-check:checked + .burger-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } }
@media (max-width:768px) { .detail-location-badge { right: 10px; bottom: 10px; font-size: 11px; padding: 6px 9px; } }
.projects-page-bg .project-image-wrap .project-location-badge { position: absolute; right: 12px; bottom: 12px; z-index: 3; max-width: calc(100% - 24px); padding: 7px 11px; border: 1px solid rgba(197,164,126,.85); border-radius: 2px; background: rgba(6,9,13,.72); color: #fff; font-size: 12px; font-weight: 500; line-height: 1.2; letter-spacing: .15px; backdrop-filter: blur(2px); }
.projects-page-bg .project-image-wrap .project-location-badge::before { content: "📍 "; font-size: 11px; }
@media (max-width:768px) { .projects-page-bg .project-image-wrap .project-location-badge { right: 10px; bottom: 10px; font-size: 11px; padding: 6px 9px; } }
body.detail-bg { background: linear-gradient(90deg, rgba(6,9,13,.96) 0%, rgba(6,9,13,.82) 42%, rgba(6,9,13,.92) 100%), url("img/fon-3.png") right top / cover fixed no-repeat !important; }
body.detail-bg .solid-header { background: transparent !important; }
body.detail-bg .detail-section { background: transparent !important; }
body.detail-bg .detail-hero-img { width: auto !important; max-width: 100% !important; height: auto !important; max-height: 600px !important; object-fit: contain !important; display: block !important; margin-left: auto !important; margin-right: auto !important; }
body.detail-bg .detail-image-wrap { text-align: center !important; }
.footer-inner { justify-content: space-between; margin-bottom: 70px; display: grid !important; grid-template-columns: 170px minmax(620px,1fr) 360px !important; gap: 45px !important; align-items: start !important; }
.footer-map iframe { width: 100% !important; border: 1px solid rgba(200,155,90,.45) !important; filter: none !important; background: #040609 !important; height: 360px !important; }
@media (max-width:900px) { body.detail-bg { background-attachment: scroll !important; background-position: center top !important; } }
@media (max-width:900px) { .footer-inner { grid-template-columns: 1fr !important; gap: 28px !important; } }
@media (max-width:900px) { .footer-map iframe { height: 300px !important; } }
@media (max-width:900px) { body.detail-bg .detail-hero-img { width: auto !important; max-width: 100% !important; object-fit: contain !important; } }
@media (min-width: 769px) { .hero-section .hero-content { margin: 0 !important; left: 270px !important; top: 245px !important; padding-left: 0 !important; margin-left: 0 !important; } }
@media (max-width: 768px) { .header-inner { width: 100% !important; display: flex !important; gap: 12px !important; flex-wrap: wrap !important; justify-content: space-between !important; align-items: center !important; } }
@media (max-width: 768px) { .logo, .solid-header .logo { position: static !important; left: auto !important; top: auto !important; flex: 0 0 auto !important; margin-right: auto !important; margin-left: 0 !important; order: 1 !important; justify-self: flex-start !important; } }
@media (min-width: 769px) { .header:not(.solid-header) { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; padding: 0 !important; min-height: 190px !important; overflow: visible !important; } }
@media (min-width: 769px) { .header:not(.solid-header) .container.header-inner { position: relative !important; display: block !important; width: 100% !important; max-width: none !important; height: 190px !important; margin: 0 !important; padding: 0 !important; } }
@media (min-width: 769px) { .header:not(.solid-header) .logo { position: absolute !important; left: 270px !important; top: 28px !important; margin: 0 !important; z-index: 10 !important; } }
@media (min-width: 769px) { .header:not(.solid-header) .logo img { margin-left: 0 !important; display: block !important; height: 220px !important; width: auto !important; margin: 0 !important; } }
@media (min-width: 769px) { .header:not(.solid-header) .main-nav { position: absolute !important; left: 50% !important; top: 58px !important; transform: translateX(-50%) !important; margin: 0 !important; z-index: 12 !important; } }
@media (min-width: 769px) { .header:not(.solid-header) .main-nav ul { display: flex !important; justify-content: center !important; gap: 45px !important; margin: 0 !important; padding: 0 !important; list-style: none !important; } }
@media (min-width: 769px) { .header:not(.solid-header) .header-phone { position: absolute !important; right: 260px !important; top: 50px !important; margin: 0 !important; z-index: 12 !important; } }
@media (min-width: 769px) { body:not(.projects-bg):not(.news-bg) .hero-section .hero-content { position: absolute !important; left: 300px !important; top: 250px !important; margin: 0 !important; padding: 0 !important; max-width: 640px !important; text-align: left !important; z-index: 5 !important; } }
@media (min-width: 769px) { body:not(.projects-bg):not(.news-bg) .hero-section .hero-subtitle, body:not(.projects-bg):not(.news-bg) .hero-section .hero-title, body:not(.projects-bg):not(.news-bg) .hero-section .hero-description, body:not(.projects-bg):not(.news-bg) .hero-section .btn-outline { margin-left: 0 !important; } }
@media (min-width: 769px) { .solid-header { position: relative !important; padding: 0 !important; min-height: 190px !important; overflow: visible !important; } }
@media (min-width: 769px) { .solid-header .container.header-inner { position: relative !important; display: block !important; width: 100% !important; max-width: none !important; height: 190px !important; margin: 0 !important; padding: 0 !important; } }
@media (min-width: 769px) { .solid-header .logo { position: absolute !important; left: 270px !important; top: 28px !important; margin: 0 !important; z-index: 10 !important; } }
@media (min-width: 769px) { .solid-header .logo img { margin-left: 0 !important; display: block !important; height: 220px !important; width: auto !important; margin: 0 !important; } }
@media (min-width: 769px) { .solid-header .main-nav { position: absolute !important; left: 50% !important; top: 58px !important; transform: translateX(-50%) !important; margin: 0 !important; z-index: 12 !important; } }
@media (min-width: 769px) { .solid-header .main-nav ul { display: flex !important; justify-content: center !important; gap: 45px !important; } }
@media (min-width: 769px) { .solid-header .header-phone { position: absolute !important; right: 260px !important; top: 50px !important; margin: 0 !important; z-index: 12 !important; } }
@media (min-width: 769px) { .page-section > .container, .detail-section > .container { padding-left: 0 !important; padding-right: 0 !important; max-width: 1320px !important; } }
@media (max-width: 768px) { .header, .solid-header { width: 100% !important; position: relative !important; padding: 16px 0 !important; min-height: 96px !important; overflow: visible !important; } }
@media (max-width: 768px) { .header .container.header-inner, .solid-header .container.header-inner { display: flex !important; align-items: center !important; justify-content: space-between !important; flex-wrap: nowrap !important; width: 100% !important; max-width: 100% !important; height: auto !important; margin: 0 !important; padding: 0 16px !important; } }
@media (max-width: 768px) { .header .logo, .solid-header .logo { position: static !important; left: auto !important; top: auto !important; order: 1 !important; flex: 0 0 auto !important; margin: 0 auto 0 0 !important; transform: none !important; } }
@media (max-width: 768px) { .header .logo img, .solid-header .logo img { display: block !important; width: 120px !important; max-width: 120px !important; height: auto !important; margin: 0 !important; } }
@media (max-width: 768px) { .burger-toggle { margin-left: auto !important; order: 2 !important; flex: 0 0 auto !important; margin: 0 0 0 auto !important; } }
@media (max-width: 768px) { .header-phone { display: none !important; } }
@media (max-width: 768px) { .main-nav { display: block !important; width: 100% !important; margin: 10px 0 0 !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; order: 3 !important; right: 16px !important; left: auto !important; top: 72px !important; transform: none !important; } }
@media (min-width: 769px) { .about-stats .stat-item:nth-child(4) { padding-top: 24px !important; position: relative !important; top: 0 !important; } }
@media (min-width: 769px) { .about-stats .stat-item:nth-child(4) .stat-icon { margin-bottom: 20px !important; } }
@media (min-width: 769px) { .about-stats .stat-item:nth-child(4) .stat-number { font-size: 24px !important; line-height: 1.08 !important; margin-bottom: 8px !important; max-width: 180px !important; letter-spacing: 1px !important; } }
@media (min-width: 769px) { .about-stats .stat-item:nth-child(4) .stat-label { display: block !important; margin-top: 0 !important; transform: translateY(-6px) !important; } }
.about-stats .stat-item:nth-child(2) .stat-number { font-size: 24px !important; }
.about-stats .stat-item:nth-child(4) .stat-icon { position: relative; top: 2px !important; }
.about-stats .stat-item:nth-child(4) .stat-label { position: relative; top: 12px !important; }
.stat-item:nth-child(2) .stat-number { font-size: 24px !important; }
.stat-item:nth-child(2) .stat-label { position: relative; top: 6px; }
.stat-item:nth-child(4) .stat-icon { position: relative; top: 4px; }
.stat-item:nth-child(4) .stat-label { position: relative; top: -2px; }

/* Final mobile burger fix: menu closed by default */
@media (max-width: 768px) {
  .header .main-nav,
  .solid-header .main-nav {
    display: none !important;
    position: absolute !important;
    right: 16px !important;
    left: auto !important;
    top: 72px !important;
    width: min(320px, calc(100vw - 32px)) !important;
    margin: 0 !important;
    padding: 14px 0 !important;
    background: #06090d !important;
    border: 1px solid rgba(197,164,126,.7) !important;
    box-shadow: 0 18px 40px rgba(0,0,0,.45) !important;
    overflow: visible !important;
    z-index: 1001 !important;
  }

  .header .nav-check:checked + .burger-toggle + .main-nav,
  .solid-header .nav-check:checked + .burger-toggle + .main-nav {
    display: block !important;
  }

  .header .main-nav ul,
  .solid-header .main-nav ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .header .main-nav a,
  .solid-header .main-nav a {
    display: block !important;
    padding: 13px 18px !important;
    font-size: 12px !important;
    letter-spacing: 1.4px !important;
  }
}

/* Mobile contacts spacing */
@media (max-width: 768px) {
  #contacts,
  .footer {
    padding-top: 90px !important;
  }
}
@media (max-width: 768px) {
    #contacts .section-label,
    #contacts .section-title {
        margin-top: 40px !important;
        display: block;
    }
}
@media (max-width: 768px) {
    .about-stats .stat-item:nth-child(4) .stat-number {
        font-size: 22px !important;
        line-height: 1.05 !important;
    }
}
.header .header-inner {
    display: grid !important;
    grid-template-columns: 230px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 24px !important;
}

.header .logo {
    justify-self: start !important;
}

.header .main-nav {
    min-width: 0 !important;
}

.header .main-nav ul {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 28px !important;
    flex-wrap: nowrap !important;
}

.header .main-nav a {
    font-size: 18px !important;
    white-space: nowrap !important;
}

.header .header-phone {
    white-space: nowrap !important;
    justify-self: end !important;
    font-size: 24px !important;
}
@media (max-width: 1300px) {
    .header .header-inner {
        grid-template-columns: 190px minmax(0, 1fr) auto !important;
        gap: 18px !important;
    }

    .header .main-nav ul {
        gap: 20px !important;
    }

    .header .main-nav a {
        font-size: 15px !important;
        letter-spacing: 1px !important;
    }

    .header .header-phone {
        font-size: 20px !important;
    }
}
@media (min-width: 769px) {
    .header .header-inner {
        display: grid !important;
        grid-template-columns: 230px minmax(0, 1fr) 280px !important;
        align-items: center !important;
        column-gap: 20px !important;
    }

    .header .logo {
        grid-column: 1 !important;
        justify-self: start !important;
    }

    .header .main-nav {
        grid-column: 2 !important;
        min-width: 0 !important;
        max-width: 100% !important;
        justify-self: center !important;
        overflow: hidden !important;
    }

    .header .main-nav ul {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 30px !important;
        flex-wrap: nowrap !important;
    }

    .header .main-nav a {
        white-space: nowrap !important;
        font-size: 18px !important;
        letter-spacing: 2px !important;
    }

    .header .header-phone {
        grid-column: 3 !important;
        justify-self: end !important;
        min-width: 260px !important;
        text-align: right !important;
        white-space: nowrap !important;
        font-size: 28px !important;
        line-height: 1 !important;
        position: relative !important;
        z-index: 5 !important;
    }
}

@media (min-width: 769px) and (max-width: 1350px) {
    .header .header-inner {
        grid-template-columns: 200px minmax(0, 1fr) 240px !important;
        column-gap: 14px !important;
    }

    .header .main-nav ul {
        gap: 20px !important;
    }

    .header .main-nav a {
        font-size: 15px !important;
        letter-spacing: 1px !important;
    }

    .header .header-phone {
        min-width: 220px !important;
        font-size: 22px !important;
    }
}

@media (min-width: 769px) and (max-width: 1150px) {
    .header .header-phone {
        display: none !important;
    }

    .header .header-inner {
        grid-template-columns: 200px minmax(0, 1fr) !important;
    }
}