:root {
    --bg: #f7f4ef;
    --bg-warm: #efe8dc;
    --ink: #2c2c2c;
    --ink-soft: #5c5852;
    --gold: #b89b6a;
    --gold-deep: #9a7d4f;
    --cream: #faf8f4;
    --line: #e4ddd0;
    --white: #fffcf8;
    --shadow: 0 18px 50px rgba(44, 44, 44, .08);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "Outfit", system-ui, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4,.display-font { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; letter-spacing: .01em; }

.container-wide { width: min(1240px, calc(100% - 32px)); margin-inline: auto; }

.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(247,244,239,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 8px 30px rgba(44,44,44,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 42px; width: auto; }
.brand-text { font-family: "Cormorant Garamond", serif; font-size: 22px; letter-spacing: .18em; }
.brand-text span { display: block; font-size: 11px; letter-spacing: .32em; color: var(--gold); margin-top: -4px; }

.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { font-size: 14px; color: var(--ink-soft); letter-spacing: .04em; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--gold); transition: width .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 0; cursor: pointer; border-radius: 999px; padding: 13px 26px;
    font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
    transition: .25s ease;
}
.btn-gold { background: var(--ink); color: var(--cream); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; }
.btn-outline { border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-whatsapp { background: #25d366; color: #fff; }

.menu-toggle {
    display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; border-radius: 12px;
}

.hero { position: relative; height: min(92vh, 820px); overflow: hidden; }
.hero-slide { position: relative; height: min(92vh, 820px); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(20,18,14,.72) 0%, rgba(20,18,14,.28) 58%, rgba(20,18,14,.1) 100%);
}
.hero-content {
    position: absolute; inset: 0; display: flex; align-items: center;
    color: #fff;
}
.hero-kicker { color: var(--gold); letter-spacing: .28em; font-size: 12px; text-transform: uppercase; margin-bottom: 16px; }
.hero-title { font-size: clamp(42px, 6vw, 84px); line-height: 1.05; max-width: 760px; margin-bottom: 18px; }
.hero-text { max-width: 520px; color: rgba(255,255,255,.84); margin-bottom: 28px; font-size: 18px; }
.swiper-pagination-bullet { background: #fff !important; opacity: .4; }
.swiper-pagination-bullet-active { background: var(--gold) !important; opacity: 1; }

.section { padding: 96px 0; }
.section-warm { background: var(--bg-warm); }
.section-dark { background: #1f1c19; color: #f4eee6; }
.eyebrow { color: var(--gold-deep); letter-spacing: .28em; font-size: 12px; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-size: clamp(32px, 4vw, 52px); line-height: 1.15; margin-bottom: 18px; }
.section-lead { max-width: 640px; color: var(--ink-soft); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split img { width: 100%; height: 560px; object-fit: cover; border-radius: 4px; }
.about-frame { position: relative; }
.about-frame::after {
    content: ""; position: absolute; inset: 22px -22px -22px 22px;
    border: 1px solid var(--gold); pointer-events: none;
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    background: var(--white); border: 1px solid var(--line); overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card img { width: 100%; height: 230px; object-fit: cover; }
.card-body { padding: 24px; }
.card h3 { font-size: 28px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--gold-deep); letter-spacing: .08em; font-size: 13px; text-transform: uppercase; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
    padding: 28px; border: 1px solid var(--line); background: var(--white);
}
.feature i { color: var(--gold); font-size: 22px; margin-bottom: 14px; }
.feature h3 { font-size: 24px; margin-bottom: 8px; }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-item { position: relative; overflow: hidden; min-height: 320px; }
.project-item img { width: 100%; height: 360px; object-fit: cover; transition: transform .6s ease; }
.project-item:hover img { transform: scale(1.06); }
.project-meta {
    position: absolute; inset: auto 0 0 0; padding: 24px;
    background: linear-gradient(transparent, rgba(20,18,14,.78));
    color: #fff;
}
.project-meta small { color: var(--gold); letter-spacing: .16em; text-transform: uppercase; font-size: 11px; }
.project-meta h3 { font-size: 28px; margin: 4px 0 0; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat-value { font-family: "Cormorant Garamond", serif; font-size: 56px; line-height: 1; }
.stat-label { letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: rgba(244,238,230,.72); margin-top: 8px; }

.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.panel img { width: 100%; height: 280px; object-fit: cover; }
.panel-body { padding: 32px; }

.cta-band {
    background: url('../images/placeholder.svg') center/cover;
    position: relative; min-height: 360px; display: flex; align-items: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(24,20,16,.72); }
.cta-inner { position: relative; color: #fff; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: var(--white); border: 1px solid var(--line); }
.post-card img { width: 100%; height: 220px; object-fit: cover; }
.post-card .body { padding: 24px; }
.post-date { color: var(--gold-deep); font-size: 13px; letter-spacing: .08em; }

.page-hero {
    padding: 92px 0 64px;
    background: linear-gradient(180deg, #1f1c19 0%, #2b2722 100%);
    color: #fff;
}
.breadcrumb { color: rgba(255,255,255,.7); font-size: 13px; margin-bottom: 12px; }
.breadcrumb a { color: var(--gold); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; }
.contact-card { background: var(--white); border: 1px solid var(--line); padding: 28px; }
.form-control, .form-select, textarea.form-control {
    width: 100%; border: 1px solid var(--line); background: var(--cream); border-radius: 0;
    padding: 12px 14px; color: var(--ink);
}
.form-control:focus, .form-select:focus { outline: 1px solid var(--gold); box-shadow: none; }
.form-label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.map-wrap iframe { width: 100%; height: 360px; border: 0; filter: grayscale(.35) contrast(1.05); }

.site-footer { background: #171512; color: #d9d1c6; padding: 72px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 22px; margin-bottom: 16px; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; border-radius: 50%; }

.whatsapp-float-wrap {
    position: fixed; right: 22px; bottom: 22px; z-index: 50;
    display: flex; flex-direction: column; gap: 10px;
}
.whatsapp-float {
    position: relative; right: auto; bottom: auto;
    background: #25d366; color: #fff; border-radius: 999px;
    padding: 14px 18px; display: flex; align-items: center; gap: 10px;
    box-shadow: 0 12px 30px rgba(37,211,102,.35);
}
.whatsapp-float span { font-size: 13px; letter-spacing: .04em; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-bar a { padding: 8px 16px; border: 1px solid var(--line); font-size: 13px; }
.filter-bar a.active, .filter-bar a:hover { background: var(--ink); color: #fff; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-grid a, .gallery-grid img { display: block; width: 100%; height: 240px; object-fit: cover; }

.article-body { max-width: 760px; }
.article-body p { margin-bottom: 16px; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.error-page h1 { font-size: 120px; line-height: 1; color: var(--gold); }

.reveal { opacity: 0; transform: translateY(24px); animation: rise .8s ease forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
    .cards, .feature-grid, .project-grid, .blog-grid, .mission-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
    .split, .stats { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
    .menu-toggle { display: grid; place-items: center; }
    .nav-links {
        position: absolute; left: 0; right: 0; top: 82px; background: var(--cream);
        display: none; flex-direction: column; align-items: flex-start; padding: 20px 24px 28px; gap: 16px;
        border-bottom: 1px solid var(--line);
    }
    .nav-links.open { display: flex; }
    .nav-links .btn { margin-top: 8px; }
    .hero, .hero-slide { height: 78vh; }
    .split, .cards, .feature-grid, .project-grid, .blog-grid, .mission-grid, .contact-grid, .footer-grid, .stats, .related { grid-template-columns: 1fr; }
    .split img, .project-item img { height: 280px; }
    .section { padding: 64px 0; }
    .whatsapp-float span { display: none; }
    .footer-bottom { flex-direction: column; }
}
