/* CLG BYG - Design */

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

:root {
    --navy: #1e3a5f;
    --navy-dark: #152a45;
    --cream: #f9f6f1;
    --white: #ffffff;
    --sand: #e8e2d9;
    --text: #2d3436;
    --text-light: #636e72;
    --gold: #c9a962;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

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

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 102px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo img {
    height: 84px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s;
    position: relative;
}

.nav a:not(.nav-btn):hover {
    color: var(--navy);
}

.nav a:not(.nav-btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav a:not(.nav-btn):hover::after {
    width: 100%;
}

.nav-btn {
    background: var(--navy);
    color: var(--white) !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.nav-btn:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
}

.nav-btn::after {
    display: none !important;
}

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

.lang-toggle {
    display: flex;
    background: var(--cream);
    border-radius: 6px;
    padding: 4px;
}

.lang-btn {
    padding: 6px 12px;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.lang-btn.active {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg picture {
    display: block;
    width: 100%;
    height: 100%;
}

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

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,58,95,0.92) 0%, rgba(30,58,95,0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    color: var(--white);
}

.hero h1 {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero h1 span {
    display: block;
}

.hero h1 em {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    color: var(--gold);
}

.hero > .hero-content > p {
    font-size: 18px;
    line-height: 1.75;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 34px;
}

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

.trust-bar {
    margin-top: 36px;
    max-width: 920px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    backdrop-filter: blur(8px);
}

.trust-inner {
    display: flex;
}

.trust-item {
    flex: 1 1 0;
    min-width: 0;
    padding: 18px 16px;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.trust-item:last-child {
    border-right: none;
}

.trust-item strong {
    display: block;
    color: var(--white);
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 4px;
}

.trust-item span {
    display: block;
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}


/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.22s ease;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-dark);
}

.btn-primary:hover {
    background: #d4b36d;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
}

.btn-white:hover {
    background: var(--cream);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn.success {
    background: #27ae60;
    color: white;
}

/* ===== SECTIONS ===== */
.section-intro {
    margin-bottom: 48px;
}

.section-intro.center {
    text-align: center;
}

.overline {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 16px;
}

h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

/* ===== SERVICES ===== */
.services {
    padding: 96px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--cream);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}

.service-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-img picture {
    display: block;
    width: 100%;
    height: 100%;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-body {
    padding: 28px;
}

.service-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.service-body p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== ABOUT ===== */
.about {
    padding: 96px 0;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-main {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
}

.about-images picture {
    display: block;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content > p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.check-list {
    list-style: none;
    margin-top: 32px;
    display: grid;
    gap: 16px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
}

.check-list li::before {
    content: '';
    width: 24px;
    height: 24px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e3a5f' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== PROJECTS ===== */
.projects {
    padding: 96px 0;
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin: 0;
}

.project-card.large {
    grid-row: span 2;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card picture {
    display: block;
    width: 100%;
    height: 100%;
}

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

.project-card figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--white);
}

.project-card figcaption span {
    font-size: 18px;
    font-weight: 600;
}

.project-card figcaption p {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255,255,255,0.88);
    max-width: 420px;
}


/* ===== FAQ ===== */
.faq {
    padding: 96px 0;
    background: var(--white);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}

.faq-item {
    border: 1px solid var(--sand);
    border-radius: 12px;
    background: var(--cream);
    padding: 18px 20px;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    color: var(--navy);
    font-size: 18px;
    font-weight: 600;
}

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

.faq-item p {
    margin-top: 12px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== CTA ===== */
.cta {
    padding: 96px 0;
    background: var(--navy);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
}

/* ===== CONTACT ===== */
.contact {
    padding: 96px 0;
    background: linear-gradient(180deg, #f8f4ee 0%, var(--cream) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: block;
    padding: 24px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(30,58,95,0.08);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.contact-method::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 4px;
    border-radius: 12px;
    background: var(--gold);
}

.contact-method::after {
    content: '->';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--navy);
    opacity: 0.35;
    font-weight: 700;
}

.contact-method:hover {
    transform: translateY(-4px);
    border-color: rgba(30,58,95,0.2);
    box-shadow: 0 14px 30px rgba(0,0,0,0.1);
}

.contact-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 8px;
}

.contact-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
}

/* Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(30,58,95,0.1);
    box-shadow: 0 16px 36px rgba(0,0,0,0.08);
}

.form-head {
    margin-bottom: 22px;
}

.form-head h3 {
    color: var(--navy);
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.form-head p {
    color: var(--text-light);
    font-size: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--sand);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    background: var(--cream);
    transition: all 0.2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #9ca3af;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--navy);
    background: var(--white);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 64px 0 22px;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(520px, 1.25fr);
    gap: 48px;
    align-items: start;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.14);
}

.footer-logo {
    height: 88px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 15px;
    opacity: 0.85;
    line-height: 1.75;
    margin-top: 8px;
    max-width: 360px;
}

.footer-right {
    display: grid;
    gap: 18px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-nav a {
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.16);
    color: rgba(255,255,255,0.9);
    transition: all 0.2s;
}

.footer-nav a:hover {
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.08);
    color: var(--white);
}

.footer-contact-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    padding: 18px 18px 8px;
}

.footer-contact-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--gold);
    margin-bottom: 12px;
}

.footer-contact-card a,
.footer-contact-card p {
    display: block;
    font-size: 14px;
    line-height: 1.55;
    opacity: 0.9;
    margin-bottom: 8px;
}

.footer-contact-card a {
    font-weight: 600;
    transition: color 0.2s;
}

.footer-contact-card a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding-top: 16px;
    margin-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.6;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        gap: 48px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .project-card.large {
        grid-row: auto;
        grid-column: span 2;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 84px;
    }
    
    .logo img {
        height: 62px;
    }
    
    .nav {
        position: fixed;
        top: 84px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 32px 24px;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav.open {
        opacity: 1;
        visibility: visible;
    }
    
    .nav a {
        display: block;
        padding: 20px 0;
        font-size: 20px;
        border-bottom: 1px solid var(--sand);
    }
    
    .nav a::after {
        display: none;
    }
    
    .nav-btn {
        margin-top: 24px;
        text-align: center;
        border-bottom: none !important;
    }
    
    .menu-btn {
        display: flex;
    }
    
    .trust-inner {
        flex-wrap: wrap;
    }
    
    .trust-item {
        flex: 1 1 100%;
        max-width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 20px 16px;
    }
    
    .trust-item:last-child {
        border-bottom: none;
    }
    
    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services,
    .about,
    .projects,
    .faq,
    .cta,
    .contact {
        padding: 64px 0;
    }
    
    .about-img-main {
        height: 300px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card.large {
        grid-column: auto;
    }
    
    .project-card {
        height: 240px;
    }

    .contact-form {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer {
        padding: 44px 0 20px;
    }
    
    .footer-nav a {
        font-size: 12px;
        padding: 7px 10px;
    }

    .footer-contact-card {
        padding: 14px 14px 4px;
    }
}


@media (max-width: 480px) {
    .lang-toggle {
        display: none;
    }
    
    .header-right {
        gap: 0;
    }
    
    .trust-item strong {
        font-size: 22px;
    }
    
    .trust-item span {
        font-size: 11px;
    }
}
