/* === Reset & Base === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: #333;
    line-height: 1.7;
    background: #faf8f5;
}

h1, h2, h3 {
    font-family: "Playfair Display", serif;
    line-height: 1.3;
}

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

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

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(44, 44, 44, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo-img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.25s, filter 0.25s;
}

.logo-text-img {
    height: 26px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.25s, filter 0.25s;
}

.logo:hover .logo-img,
.logo:hover .logo-text-img {
    opacity: 1;
    filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(5deg);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: #e8e4dc;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.25s;
}

.nav-links a:hover {
    color: #c9a84c;
}

/* === Hero === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 40px,
            rgba(201, 168, 76, 0.03) 40px,
            rgba(201, 168, 76, 0.03) 41px
        ),
        linear-gradient(160deg, #2c2c2c 0%, #3a3632 100%);
    color: #faf8f5;
    padding: 100px 20px 80px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #c9b98a;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border: 2px solid #c9a84c;
    color: #c9a84c;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: background 0.3s, color 0.3s;
}

.btn:hover {
    background: #c9a84c;
    color: #2c2c2c;
}

/* === Sections === */
.section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #2c2c2c;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #c9a84c;
    margin: 16px auto 0;
}

/* === About === */
.about {
    background: #faf8f5;
}

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

.about-content p {
    margin-bottom: 18px;
    font-size: 1.05rem;
    color: #4a4540;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* === Services === */
.services {
    background: #f0ece3;
}

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

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid transparent;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    border-color: rgba(201, 168, 76, 0.5);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.12);
    border-radius: 50%;
    color: #c9a84c;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #2c2c2c;
}

.service-card p {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.6;
}

/* === Contacts === */
.contacts {
    background: #2c2c2c;
    color: #e8e4dc;
}

.contacts .section-title {
    color: #faf8f5;
}

.contacts-subtitle {
    text-align: center;
    color: #a09a90;
    margin-top: -30px;
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.contacts-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: nowrap;
    margin-bottom: 16px;
}

.contacts-grid-bottom {
    margin-bottom: 40px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.3s, border-color 0.3s;
}

.contact-card:hover {
    background: rgba(201, 168, 76, 0.12);
    border-color: #c9a84c;
}

.contact-card i {
    font-size: 1.4rem;
    color: #c9a84c;
}

.contact-svg-icon {
    width: 1.4rem;
    height: 1.4rem;
    flex-shrink: 0;
}

.contact-card span {
    font-size: 0.95rem;
    color: #e8e4dc;
}

.contacts-address {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 28px;
}

.contacts-address p {
    margin-bottom: 8px;
    color: #a09a90;
    font-size: 0.95rem;
}

.contacts-address i {
    color: #c9a84c;
    margin-right: 8px;
}

.address-link {
    color: #a09a90;
    transition: color 0.25s;
}

.address-link:hover {
    color: #c9a84c;
}

/* === How We Work === */
.how-we-work {
    background: #faf8f5;
    padding: 60px 0 50px;
}

.how-we-work-subtitle {
    text-align: center;
    color: #7a7268;
    margin-top: -30px;
    margin-bottom: 50px;
    font-size: 1.05rem;
}

.steps-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.steps-list > .step-item {
    list-style: none !important;
}

.step-item {
    background: #fff;
    border-radius: 8px;
    padding: 10px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #c9a84c;
    display: flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    min-width: 280px;
}

.step-number {
    flex-shrink: 0;
    font-family: "Playfair Display", serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #c9a84c;
    width: 16px;
    text-align: center;
}

.step-title {
    font-size: 0.93rem;
    color: #2c2c2c;
    line-height: 1.3;
}

.step-title small {
    display: block;
    font-size: 0.78rem;
    color: #7a7268;
    line-height: 1.2;
}


/* === Footer === */
.footer {
    background: #222;
    text-align: center;
    padding: 24px 0;
    color: #777;
    font-size: 0.85rem;
}

.footer-legal {
    margin-top: 8px;
    font-size: 0.75rem;
    color: #555;
}

/* === Burger === */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    display: block;
    height: 2px;
    background: #e8e4dc;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === Responsive === */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .burger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: rgba(34, 34, 34, 0.97);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(201, 168, 76, 0.2);
        padding: 8px 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 14px 24px;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .contacts-grid {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .step-item {
        padding: 12px 16px;
    }
}
