:root {
    --bg: #f6f7f3;
    --surface: #ffffff;
    --surface-alt: #eef3ec;
    --surface-dark: #123d2f;
    --surface-dark-2: #0e3126;
    --text: #1d2823;
    --muted: #607067;
    --line: #dbe4dd;
    --primary: #0f5d3b;
    --primary-strong: #0c4c31;
    --accent: #d6b258;
    --shadow: 0 14px 32px rgba(18, 46, 33, 0.08);
    --radius: 24px;
    --radius-sm: 16px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, ul { margin-top: 0; }

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
}
.skip-link:focus {
    left: 16px;
    top: 16px;
    z-index: 200;
    background: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

.section {
    padding: 88px 0;
}
.section--compact { padding-top: 0; }
.section--tinted { background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(238,243,236,0.8)); }
.section--accent {
    background: linear-gradient(180deg, var(--surface-dark), var(--surface-dark-2));
    color: #f2f7f4;
}
.section--accent-soft {
    background: linear-gradient(180deg, #edf4ef 0%, #f9fbf9 100%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(17, 46, 34, 0.08);
}

.site-header--scrolled {
    box-shadow: 0 10px 26px rgba(18, 46, 33, 0.08);
}
.site-header__inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.brand__logo {
    width: 68px;
    min-width: 68px;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(18, 46, 33, 0.08);
}
.brand__text strong {
    display: block;
    font-size: 1rem;
    color: var(--surface-dark);
}
.brand__text small {
    display: block;
    color: var(--muted);
    font-size: 0.88rem;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}
.main-nav a {
    color: #3c4a42;
    font-weight: 600;
    font-size: 0.95rem;
}
.main-nav a:hover { color: var(--primary); }
.header-cta { white-space: nowrap; }

.hero {
    padding-top: 48px;
}
.hero__grid,
.split,
.achievement-layout,
.cta-panel,
.footer-grid {
    display: grid;
    gap: 32px;
}
.hero__grid,
.achievement-layout,
.cta-panel {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
}
.hero__content h1,
.section-heading h2,
.split__content h2,
.cta-panel h2 {
    margin: 0 0 16px;
    line-height: 1.08;
}
.hero__content h1 {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    max-width: 10.5ch;
}
.hero__subtitle {
    font-size: 1.15rem;
    color: var(--surface-dark);
    max-width: 52ch;
}
.hero__description,
.split__content p,
.section-heading p,
.cta-panel p {
    color: var(--muted);
}
.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 28px 0 20px;
}
.hero__highlights {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.hero__highlights li {
    background: #fff;
    border: 1px solid var(--line);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
    color: #355144;
}
.hero__photo,
.split__photo,
.achievement-media__photo,
.cta-panel__photo {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 8px 14px;
    background: rgba(15,93,59,0.09);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.eyebrow--light {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.stats__grid,
.achievement-grid,
.team-grid {
    display: grid;
    gap: 18px;
}
.stats__grid { grid-template-columns: repeat(4, 1fr); }
.achievement-grid { grid-template-columns: repeat(3, 1fr); }
.team-grid { grid-template-columns: repeat(3, 1fr); }

.stat-card,
.card {
    background: var(--surface);
    border: 1px solid rgba(17, 46, 34, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.stat-card {
    padding: 26px 22px;
}
.stat-card strong {
    display: block;
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    color: var(--primary);
}
.stat-card span {
    color: var(--muted);
    font-weight: 600;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}
.split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}
.split__content h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.split__content--light p,
.split__content--light h2 { color: #f3f8f5; }
.split__content--light .check-list li { color: #e8f4ed; }
.split__side-card { padding: 28px; align-self: start; }

.check-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
    display: grid;
    gap: 12px;
}
.check-list li {
    position: relative;
    padding-left: 28px;
    color: #345045;
    font-weight: 500;
}
.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 800;
}
.check-list--light li::before { color: var(--accent); }

.achievement-card {
    padding: 24px;
    height: 100%;
}
.achievement-card h3,
.team-card h3,
.gallery-intro h3 {
    margin: 0 0 10px;
}
.achievement-media {
    display: flex;
}

.project-media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
}
.project-media-grid__item {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: rgba(255,255,255,0.08);
}
.project-media-grid__item--1 {
    grid-row: span 2;
}
.project-media-grid__item--2,
.project-media-grid__item--3 {
    align-self: stretch;
}
.gallery-block { margin-top: 42px; }
.gallery-intro { margin-bottom: 22px; max-width: 680px; }
.gallery-intro p { color: rgba(255,255,255,0.8); }
.gallery-grid {
    columns: 3 280px;
    column-gap: 18px;
}
.gallery-card {
    display: inline-block;
    width: 100%;
    margin: 0 0 18px;
    padding: 10px;
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.12);
    box-shadow: none;
}
.gallery-card__photo {
    border-radius: 18px;
    overflow: hidden;
}

.team-card {
    overflow: hidden;
}
.team-card__photo {
    background: #fff;
}
.team-card__body {
    padding: 18px 20px 22px;
}
.team-card__body p {
    margin: 0;
    color: var(--muted);
    font-weight: 600;
}

.cta-section {
    padding-top: 32px;
}
.cta-panel {
    background: linear-gradient(135deg, var(--surface-dark), #194f3c);
    color: #f5fbf7;
    padding: 34px;
    border-radius: 32px;
    box-shadow: var(--shadow);
}
.cta-panel p { color: rgba(245,251,247,0.82); }

.site-footer {
    background: #0b2018;
    color: #deebe4;
    padding: 56px 0 24px;
}
.footer-grid {
    grid-template-columns: 1.1fr 1fr 1fr;
}
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.footer-list a { color: #d6e4dd; }
.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aac1b5;
    font-size: 0.92rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button:hover {
    transform: translateY(-1px);
}
.button--sm { min-height: 42px; }
.button--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(15,93,59,0.22);
}
.button--primary:hover { background: var(--primary-strong); }
.button--secondary {
    background: #fff;
    color: var(--surface-dark);
    border: 1px solid var(--line);
}
.button--ghost {
    color: var(--primary);
    border: 1px solid rgba(15,93,59,0.18);
    background: transparent;
}
.button--light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.22);
}

.media-frame {
    position: relative;
    width: 100%;
    border-radius: inherit;
    overflow: hidden;
    background: #eef2ee;
}
.media-frame img {
    display: block;
    width: 100%;
    height: auto;
}
.media-frame--contain {
    display: grid;
    place-items: center;
}
.media-frame--contain img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.media-frame--placeholder,
.media-frame--logo-placeholder {
    aspect-ratio: var(--ratio, 16 / 9);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 18px;
    color: #557063;
    background:
        linear-gradient(135deg, rgba(15,93,59,0.08), rgba(214,178,88,0.12)),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.35) 0, rgba(255,255,255,0.35) 12px, rgba(240,244,241,0.7) 12px, rgba(240,244,241,0.7) 24px);
}
.media-frame--placeholder figcaption,
.media-frame--logo-placeholder span {
    font-weight: 700;
    font-size: 0.95rem;
}

.floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 999px;
    background: #21a749;
    color: #fff;
    box-shadow: 0 18px 32px rgba(0,0,0,0.18);
    font-weight: 800;
}
.floating-whatsapp__icon { font-size: 1.1rem; }

@media (max-width: 1080px) {
    .site-header__inner,
    .main-nav {
        gap: 14px;
    }
    .hero__grid,
    .split,
    .achievement-layout,
    .cta-panel,
    .footer-grid,
    .stats__grid,
    .achievement-grid,
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
    .site-header__inner {
        min-height: auto;
        padding: 14px 0;
        flex-wrap: wrap;
    }
    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    .header-cta { margin-left: auto; }
}

@media (max-width: 760px) {
    .section { padding: 68px 0; }
    .hero__grid,
    .split,
    .achievement-layout,
    .cta-panel,
    .footer-grid,
    .stats__grid,
    .achievement-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    .hero__content h1 { max-width: none; }
    .project-media-grid {
        grid-template-columns: 1fr 1fr;
    }
    .project-media-grid__item--1 {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    .gallery-grid { columns: 1; }
    .main-nav {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 6px;
        scrollbar-width: none;
    }
    .main-nav::-webkit-scrollbar { display: none; }
    .brand__text small { display: none; }
    .floating-whatsapp__text { display: none; }
}
