﻿:root {
    --primary-brown: #5A3A1E;
    --deep-brown: #2B1A0F;
    --accent-green: #2F5D50;
    --luxury-cream: #F5EFE6;
    --text-dark: #1A1A1A;
    --slight-deep-brown: #391F02;
    --light-brown: #8E4D13;
    --footer-brown: #422302;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: #FAFAF8;
    overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
    font-family: 'Cormorant Garamond', serif;
}

/* ── Hero ── */
#hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 10vh;
    overflow: hidden;
}

#hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/Images//costruction-guide.webp');
    background-size: cover;
    background-position: center 30%;
    will-change: transform;
}

    #hero-bg::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(27, 16, 8, 0.92) 0%, rgba(27, 16, 8, 0.55) 50%, rgba(27, 16, 8, 0.25) 100% );
    }

.about-hero-copy {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-hero-panel {
    width: min(100%, 860px);
}

.about-hero-eyebrow {
    max-width: min(100%, 720px);
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.about-hero-title {
    max-width: 100%;
    font-size: clamp(3rem, 5vw, 6.2rem);
    font-weight: 300;
    line-height: 1.05;
    color: #F5EFE6;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
}

.hero-line {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    hyphens: auto;
    transform: translateY(60px);
    opacity: 0;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s ease;
}

    .hero-line.visible {
        transform: translateY(0);
        opacity: 1;
    }

.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.85s, transform 0.8s ease 0.85s;
}

    .hero-subtitle.visible {
        opacity: 1;
        transform: translateY(0);
    }

.hero-btns {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease 1.1s, transform 0.7s ease 1.1s;
}

    .hero-btns.visible {
        opacity: 1;
        transform: translateY(0);
    }

@media (max-width: 767px) {
    #hero {
        align-items: center;
        padding: 7rem 0 4rem;
    }

    .about-hero-panel {
        width: min(100%, 620px);
    }

    .about-hero-title {
        font-size: clamp(2.25rem, 10vw, 3.8rem);
        line-height: 1.08;
    }

    .about-hero-eyebrow {
        letter-spacing: 0.18em;
        margin-top: 0;
    }
}

/* ── Scroll animations ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-delay-1 {
    transition-delay: 0.15s;
}

.reveal-delay-2 {
    transition-delay: 0.3s;
}

.reveal-delay-3 {
    transition-delay: 0.45s;
}

.reveal-delay-4 {
    transition-delay: 0.6s;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--light-brown);
    color: #F5EFE6;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 32px;
    border: 1px solid var(--primary-brown);
    cursor: pointer;
    transition: background 0.4s ease, color 0.4s ease;
    text-decoration: none;
}

    .btn-primary:hover {
        background-color: transparent;
        color: var(--luxury-cream);
    }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: var(--luxury-cream);
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 32px;
    border: 1px solid rgba(245, 239, 230, 0.4);
    cursor: pointer;
    transition: border-color 0.4s ease, background 0.4s ease;
    text-decoration: none;
}

    .btn-ghost:hover {
        border-color: rgba(245, 239, 230, 0.9);
        background: rgba(245, 239, 230, 0.06);
    }

/* ── Section label ── */
.section-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-brown);
    opacity: 0.8;
}

/* ── Metrics ── */
.metric-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 300;
    line-height: 1;
    color: var(--deep-brown);
}

.metric-divider {
    width: 1px;
    height: 80px;
    background: rgba(90, 58, 30, 0.2);
    align-self: center;
}

/* ── Service cards ── */
.service-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card-img {
    height: 420px;
    background-size: cover;
    background-position: center;
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-img {
    transform: scale(1.04);
}

.service-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27,16,8,0.8) 0%, transparent 60%);
}

/* ── Why items ── */
.why-item {
    border-top: 1px solid rgba(90, 58, 30, 0.15);
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
    transition: border-color 0.3s ease;
}

    .why-item:last-child {
        border-bottom: 1px solid rgba(90, 58, 30, 0.15);
    }

    .why-item:hover {
        border-color: rgba(90, 58, 30, 0.4);
    }

    /*WHY Manaoh -- new */
.team-card {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

    .team-card:hover {
        transform: translateY(-6px);
    }

.team-card-img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-card-img {
    transform: scale(1.05);
}



/* ── Europe section ── */
#europe-section {
    background: var(--footer-brown);
    position: relative;
    overflow: hidden;
}

    #europe-section::before {
        content: '';
        position: absolute;
        top: -120px;
        right: -120px;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(90,58,30,0.25) 0%, transparent 70%);
        pointer-events: none;
    }

/* ── CTA ── */
#cta-section {
    background: var(--luxury-cream);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .metric-divider {
        display: none;
    }

    .service-card-img {
        height: 280px;
    }
}

/*RESPONSIVE OVERRIDES*/

@media (max-width: 900px) {
    .story-grid, .mv-grid, .why-grid

{
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
}

.why-grid > div:first-child {
    position: static !important;
}

.europe-grid {
    grid-template-columns: 1fr 1fr !important;
}

.services-grid {
    grid-template-columns: 1fr !important;
}

}

@media (max-width: 600px) {
    .europe-grid {
        grid-template-columns: 1fr !important;
    }

        .europe-grid > div {
            border-right: none !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
        }
}

