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

:root {
    --bg: #f7f6f4;
    --bg-dark: #1c1c1c;
    --text: #2c2c2c;
    --text-soft: #5a5a5a;
    --text-muted: #8a8a8a;
    --accent: #9c8b7a;
    --white: #ffffff;
    --border: rgba(0,0,0,0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --------------------------------
   Animations
-------------------------------- */

.anim {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 2.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 2.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim.in {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------
   Layout
-------------------------------- */

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

.label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 16px;
}

h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* --------------------------------
   Nav
-------------------------------- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 40px;
    transition: all 0.4s ease;
}

.nav-logo {
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: color 0.4s ease;
}

.nav.dark .nav-logo {
    color: var(--text);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 14px;
    color: var(--white);
    text-decoration: none;
    opacity: 0.85;
    transition: color 0.4s ease, opacity 0.3s ease;
}

.nav.dark .nav-links a {
    color: var(--text);
}

.nav-links a:hover {
    opacity: 1;
}

/* --------------------------------
   Hero
-------------------------------- */

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(20,20,20,0.3) 0%,
        rgba(20,20,20,0.5) 100%
    );
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--white);
    padding: 0 24px;
}

.hero-label {
    display: block;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.6;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(44px, 10vw, 100px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0.75;
    margin-bottom: 40px;
}

.hero-btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.35);
    text-decoration: none;
    transition: all 0.4s ease;
}

.hero-btn:hover {
    background: var(--white);
    color: var(--text);
    border-color: var(--white);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.hero-scroll span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.5;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 0.6; transform: scaleY(1.1); }
}

/* --------------------------------
   Intro
-------------------------------- */

.intro {
    padding: 140px 0;
    background: var(--bg);
}

.intro-text {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 300;
    line-height: 1.6;
    color: var(--text);
    max-width: 800px;
}

/* --------------------------------
   Services
-------------------------------- */

.services {
    padding: 100px 0 140px;
    background: var(--bg);
}

.section-head {
    margin-bottom: 60px;
}

.services-list {
    display: flex;
    flex-direction: column;
}

.service-item {
    display: flex;
    gap: 40px;
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.service-item:last-child {
    border-bottom: 1px solid var(--border);
}

.service-num {
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    min-width: 40px;
}

.service-content h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.service-content p {
    font-size: 15px;
    color: var(--text-soft);
    max-width: 500px;
}

/* --------------------------------
   Image Break
-------------------------------- */

.image-break {
    padding: 0 40px;
}

.image-break img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
}

/* --------------------------------
   About
-------------------------------- */

.about {
    padding: 140px 0;
    background: #e8e6e2;
}

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

.about-left h2 {
    margin-top: 8px;
}

.about-right p {
    font-size: 16px;
    color: var(--text-soft);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.stat-num {
    display: block;
    font-size: 32px;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.02em;
}

.stat-text {
    font-size: 13px;
    color: var(--text-muted);
}

/* --------------------------------
   Areas
-------------------------------- */

.areas {
    padding: 100px 0 140px;
    background: var(--bg);
}

.areas-head {
    margin-bottom: 40px;
}

.areas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 32px;
}

.area-item {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-soft);
    transition: opacity 2.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 2.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.area-item.in {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------
   Contact
-------------------------------- */

.contact {
    padding: 140px 0;
    background: var(--white);
}

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

.contact-left h2 {
    margin-top: 8px;
    margin-bottom: 16px;
}

.contact-left > p {
    font-size: 15px;
    color: var(--text-soft);
    margin-bottom: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.info-block a,
.info-block span {
    display: block;
    font-size: 15px;
    color: var(--text);
    text-decoration: none;
    line-height: 1.6;
}

.info-block a:hover {
    color: var(--accent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    font-family: inherit;
    font-size: 15px;
    background: var(--bg);
    border: none;
    border-radius: 4px;
    outline: none;
    transition: background 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: #eeecea;
}

.contact-form textarea {
    resize: none;
}

.contact-form button {
    margin-top: 8px;
    padding: 18px 40px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    background: var(--text);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: var(--accent);
}

/* --------------------------------
   Footer
-------------------------------- */

.footer {
    padding: 40px 0;
    background: var(--bg-dark);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
}

.footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* --------------------------------
   Responsive
-------------------------------- */

@media (max-width: 900px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .container {
        padding: 0 24px;
    }
    
    .nav {
        padding: 20px 24px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .intro {
        padding: 80px 0;
    }
    
    .intro-text {
        font-size: 20px;
    }
    
    .services,
    .about,
    .areas,
    .contact {
        padding: 80px 0;
    }
    
    .service-item {
        flex-direction: column;
        gap: 16px;
    }
    
    .image-break {
        padding: 0 24px;
    }
    
    .image-break img {
        height: 50vh;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
