﻿:root {
    --bg: #0b0c10;
    --bg-soft: #0f1117;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-strong: rgba(255, 255, 255, 0.12);
    --text: #f5f1ea;
    --muted: #c4bfb6;
    --accent: #d6b06b;
    --accent-strong: #c79a47;
    --line: rgba(255, 255, 255, 0.12);
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    --transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(1200px 1200px at 80% -10%, rgba(214, 176, 107, 0.12), transparent 55%),
        radial-gradient(900px 900px at 10% 10%, rgba(255, 255, 255, 0.06), transparent 55%),
        var(--bg);
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

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

.bg-orb {
    position: fixed;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.45;
    z-index: -2;
}

.orb-1 {
    background: radial-gradient(circle, rgba(214, 176, 107, 0.4), transparent 65%);
    top: -120px;
    right: -120px;
}

.orb-2 {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 65%);
    bottom: -160px;
    left: -140px;
}

.grain {
    position: fixed;
    inset: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/></filter><rect width="200" height="200" filter="url(%23n)" opacity="0.07"/></svg>');
    pointer-events: none;
    z-index: -1;
}

/* Typography */
.h1,
.h2,
.logo {
    font-family: 'Cormorant Garamond', serif;
}

.h1 {
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.h1 span {
    color: var(--accent);
}

.h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 24px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 16px;
    font-weight: 600;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 36px;
    max-width: 680px;
}

/* Buttons */
.btn {
    padding: 14px 34px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.btn-primary {
    background: linear-gradient(120deg, var(--accent), var(--accent-strong));
    color: #1b140a;
    box-shadow: 0 18px 40px rgba(199, 154, 71, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: rgba(214, 176, 107, 0.12);
    transform: translateY(-2px);
}

.btn-text {
    color: var(--text);
    background: transparent;
}

/* Header */
.header {
    padding: 28px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 11, 15, 0.85);
    padding: 16px 0;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 4px;
    text-decoration: none;
    color: var(--text);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 36px;
}

.nav-links li {
    display: flex;
}

.nav-cta-item .btn {
    padding: 12px 24px;
    font-size: 12px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    opacity: 0.7;
    transition: var(--transition);
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
}

.menu-toggle__line {
    width: 22px;
    height: 2px;
    background: var(--text);
    display: block;
    border-radius: 99px;
    transition: var(--transition);
}

.menu-toggle.is-open .menu-toggle__line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle__line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open .menu-toggle__line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 160px 0 120px;
    background: linear-gradient(120deg, rgba(11, 12, 16, 0.85), rgba(11, 12, 16, 0.35)),
        url('https://images.unsplash.com/photo-1505691938895-1758d7feb511?auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 820px;
}

.hero-btns {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.stat {
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 6px;
}

.stat-label {
    color: var(--muted);
    font-size: 14px;
}

/* Sections */
.benefits,
.projects,
.cta {
    padding: 120px 0;
}

.section-header {
    margin-bottom: 50px;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.benefit-card {
    padding: 36px;
    background: var(--surface);
    border-radius: 20px;
    border: 1px solid var(--line);
    transition: var(--transition);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.benefit-card:hover {
    border-color: rgba(214, 176, 107, 0.5);
    transform: translateY(-6px);
}

.benefit-card .icon {
    font-size: 38px;
    font-family: 'Cormorant Garamond', serif;
    color: var(--accent);
    margin-bottom: 16px;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    height: 520px;
    box-shadow: var(--shadow);
}

.project-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0.9;
}

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

.project-item:hover img {
    transform: scale(1.06);
}

.project-info {
    position: absolute;
    bottom: 36px;
    left: 32px;
    z-index: 1;
}

.project-info h3 {
    font-size: 24px;
    margin-bottom: 6px;
    font-family: 'Cormorant Garamond', serif;
}

.project-info p {
    color: var(--muted);
}

/* CTA */
.cta-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    padding: 70px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    border-radius: 28px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.cta-text {
    max-width: 520px;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    max-width: 400px;
}

.cta-form input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #3a3d45;
    padding: 14px 0;
    color: var(--text);
    outline: none;
    font-size: 15px;
}

.cta-form input:focus {
    border-color: var(--accent);
}

.form-note {
    font-size: 12px;
    color: var(--muted);
}

/* Footer */
.footer {
    padding: 50px 0 70px;
    border-top: 1px solid var(--line);
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
    gap: 20px;
    flex-wrap: wrap;
}

.socials a {
    color: var(--text);
    margin-left: 16px;
    text-decoration: none;
    opacity: 0.7;
}

.socials a:hover {
    opacity: 1;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .menu-toggle { display: inline-flex; }
    .hero { padding-top: 140px; }
    .cta-box { padding: 48px 28px; }
    .project-item { height: 460px; }

    .nav {
        position: relative;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
    }

    .nav-links {
        position: absolute;
        top: 64px;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 18px;
        background: rgba(10, 11, 15, 0.92);
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: var(--shadow);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        z-index: 10;
    }

    .nav-links.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links li {
        opacity: 0;
        transform: translateY(10px);
        transition: var(--transition);
    }

    .nav-links.is-open li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links.is-open li:nth-child(1) { transition-delay: 0.06s; }
    .nav-links.is-open li:nth-child(2) { transition-delay: 0.12s; }
    .nav-links.is-open li:nth-child(3) { transition-delay: 0.18s; }
    .nav-links.is-open li:nth-child(4) { transition-delay: 0.24s; }

    .nav-cta-item .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .header {
        padding: 18px 0;
    }

    .logo {
        font-size: 22px;
        letter-spacing: 3px;
    }


    .hero {
        padding: 130px 0 90px;
    }

    .h1 {
        font-size: clamp(2.2rem, 9vw, 3.2rem);
    }

    .subtitle {
        font-size: 1rem;
    }

    .hero-btns {
        width: 100%;
        gap: 16px;
    }

    .btn {
        width: 100%;
        padding: 14px 20px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .benefits,
    .projects,
    .cta {
        padding: 90px 0;
    }

    .benefit-card {
        padding: 28px;
    }

    .project-item {
        height: 380px;
    }

    .project-info {
        left: 24px;
        bottom: 24px;
    }

    .cta-box {
        padding: 36px 22px;
    }

    .cta-text {
        max-width: 100%;
    }

    .footer-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}
