:root {
    --bg: #f1ecdf;
    --bg-deep: #d9d1bc;
    --surface: rgba(255, 255, 255, 0.74);
    --surface-strong: rgba(255, 255, 255, 0.9);
    --surface-dark: rgba(18, 34, 28, 0.72);
    --text: #18231f;
    --muted: #56635b;
    --line: rgba(24, 35, 31, 0.12);
    --shadow: 0 24px 80px rgba(40, 54, 47, 0.14);
    --shadow-soft: 0 18px 42px rgba(40, 54, 47, 0.11);
    --accent: #1f6a4f;
    --accent-soft: #2d8765;
    --accent-warm: #bf7b36;
    --accent-pale: #e6d7b7;
    --radius-lg: 32px;
    --radius-md: 22px;
    --radius-sm: 16px;
    --content-width: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), transparent 30%),
        radial-gradient(circle at top right, rgba(196, 220, 205, 0.72), transparent 28%),
        linear-gradient(140deg, var(--bg) 0%, #ebe4d1 54%, var(--bg-deep) 100%);
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(circle at center, black 32%, transparent 90%);
    opacity: 0.42;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(241, 236, 223, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    width: min(100% - 32px, var(--content-width));
    margin: 0 auto;
    padding: 14px 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    min-width: 0;
    max-width: 100%;
}

.brand img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: var(--shadow-soft);
}

.brand-copy {
    min-width: 0;
    overflow: hidden;
}

.brand-name {
    display: block;
    font-size: clamp(0.98rem, 2.1vw, 1.2rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-tagline {
    margin: 4px 0 0;
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--muted);
    max-width: 33ch;
}

.brand-tagline span,
.acronym span {
    color: var(--accent);
    font-weight: 800;
}

.site-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.site-nav a,
.button {
    border-radius: 999px;
    text-decoration: none;
    transition: transform 200ms ease, background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.site-nav a {
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: rgba(31, 106, 79, 0.1);
    color: var(--text);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.lang-switch a {
    width: 42px;
    height: 42px;
    padding: 3px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-soft);
    transition: transform 200ms ease, border-color 200ms ease;
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(31, 106, 79, 0.28);
}

.lang-switch a.is-active {
    border-color: rgba(31, 106, 79, 0.36);
}

.lang-switch img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.menu-toggle {
    display: none;
    justify-self: end;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--text);
    font: inherit;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
}

.page-shell {
    width: min(100% - 32px, var(--content-width));
    margin: 0 auto;
    padding: 28px 0 48px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 20px;
    align-items: stretch;
}

.hero-copy,
.hero-panel,
.section,
.info-card,
.service-card,
.impact-card,
.visual-item {
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: var(--shadow);
}

.hero-copy,
.section {
    background: linear-gradient(180deg, var(--surface-strong) 0%, rgba(255, 255, 255, 0.58) 100%);
}

.hero-copy {
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 6vw, 72px);
    border-radius: var(--radius-lg);
    isolation: isolate;
}

.hero-copy::before,
.hero-copy::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-copy::before {
    width: 280px;
    height: 280px;
    top: -120px;
    right: -90px;
    background: radial-gradient(circle, rgba(31, 106, 79, 0.24), transparent 72%);
}

.hero-copy::after {
    width: 220px;
    height: 220px;
    bottom: -90px;
    left: -70px;
    background: radial-gradient(circle, rgba(191, 123, 54, 0.24), transparent 72%);
}

.eyebrow,
.section-kicker,
.focus-card-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow,
.section-kicker {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(31, 106, 79, 0.1);
    color: var(--accent);
}

.hero h1,
.section-heading h2 {
    margin: 18px 0 0;
    font-family: "Fraunces", serif;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.hero-copy > h1 {
    margin-top: 0;
}

.hero-copy > .eyebrow + h1 {
    margin-top: 18px;
}

.hero h1 {
    font-size: clamp(3rem, 9vw, 5.8rem);
    line-height: 0.95;
    max-width: 8ch;
}

.hero-text {
    margin: 20px 0 0;
    font-size: clamp(1.04rem, 2vw, 1.18rem);
    line-height: 1.8;
    max-width: 40rem;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 22px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
    color: #f9f6ef;
    box-shadow: 0 18px 32px rgba(31, 106, 79, 0.24);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.6);
    color: var(--text);
    border-color: var(--line);
}

.button-ghost {
    width: fit-content;
    margin-top: auto;
    background: transparent;
    color: var(--accent);
    border-color: rgba(31, 106, 79, 0.22);
}

.button-ghost:hover,
.button-ghost:focus-visible {
    background: rgba(31, 106, 79, 0.08);
}

.hero-panel {
    --parallax-x: 0px;
    --parallax-y: 0px;
    --card-x: 0px;
    --card-y: 0px;
    position: relative;
    overflow: hidden;
    min-height: 100%;
    border-radius: var(--radius-lg);
    isolation: isolate;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: -8%;
    background:
        linear-gradient(180deg, rgba(18, 34, 28, 0.22), rgba(18, 34, 28, 0.82)),
        url("h.jpg") center center / cover no-repeat;
    transform: translate3d(var(--parallax-x), var(--parallax-y), 0) scale(1.12);
    transition: transform 180ms ease;
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-radial-gradient(circle at 22% 30%, rgba(255, 255, 255, 0.09) 0 2px, transparent 2px 18px),
        linear-gradient(140deg, transparent 0%, rgba(191, 123, 54, 0.16) 100%);
    mix-blend-mode: screen;
    opacity: 0.6;
    animation: topo-drift 26s linear infinite;
}

.hero-glow {
    position: absolute;
    right: -18%;
    bottom: -24%;
    width: 280px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(191, 123, 54, 0.42), transparent 72%);
    z-index: 1;
    pointer-events: none;
}

.hero-card-stack {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 14px;
    min-height: 100%;
    padding: 24px;
    align-content: end;
    transform: translate3d(var(--card-x), var(--card-y), 0);
    transition: transform 220ms ease;
}

.focus-card {
    display: grid;
    gap: 6px;
    padding: 20px;
    min-width: 0;
    border-radius: 24px;
    text-decoration: none;
    color: #f9f6ef;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(16px);
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.focus-card:hover,
.focus-card:focus-visible {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
}

.focus-card strong {
    font-size: clamp(1.02rem, 2.8vw, 1.16rem);
    line-height: 1.3;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.focus-card-label {
    color: rgba(249, 246, 239, 0.72);
}

.section {
    margin-top: 20px;
    padding: clamp(28px, 5vw, 48px);
    border-radius: var(--radius-lg);
}

.section-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.section-heading h2 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1;
}

.intro-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 24px;
    margin-top: 24px;
    align-items: start;
}

.lead {
    margin: 0;
    font-size: 1.06rem;
    line-height: 1.9;
    color: var(--muted);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-list span {
    padding: 13px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(31, 106, 79, 0.12);
    color: var(--text);
    font-weight: 700;
    box-shadow: var(--shadow-soft);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.impact-card {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.8);
    padding: 22px;
}

.impact-card h3 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.3;
}

.impact-card p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.impact-card p:only-child {
    margin-top: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.service-card {
    display: flex;
    flex-direction: column;
    grid-column: span 6;
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.76);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.service-card:nth-child(5) {
    grid-column: span 12;
}

.service-card-link {
    cursor: pointer;
}

.service-card-link:hover,
.service-card-link:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(40, 54, 47, 0.22);
}

.service-card-link:focus-visible {
    outline: 3px solid rgba(31, 106, 79, 0.42);
    outline-offset: 2px;
}

.service-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.service-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(24, 35, 31, 0.04) 0%, rgba(24, 35, 31, 0.24) 100%);
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 650ms ease;
}

.service-card:hover .service-media img,
.service-card:focus-within .service-media img {
    transform: scale(1.06);
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
    padding: 26px;
}

.service-content h3,
.info-card h3 {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.service-content h3 {
    display: block;
    line-height: 1.25;
}

.service-content p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.service-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin-right: 10px;
    margin-top: -2px;
    vertical-align: middle;
    border-radius: 50%;
    background: rgba(31, 106, 79, 0.12);
    border: 1px solid rgba(31, 106, 79, 0.22);
    position: relative;
    flex: 0 0 auto;
}

.service-icon::before {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.82;
}

.service-card-accent {
    position: relative;
    color: #f9f6ef;
    background:
        linear-gradient(135deg, rgba(31, 106, 79, 0.94), rgba(16, 53, 39, 0.9)),
        radial-gradient(circle at top right, rgba(191, 123, 54, 0.5), transparent 40%);
}

.service-card-accent::after {
    content: "";
    position: absolute;
    inset: auto 24px 24px auto;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 72%);
}

.service-card-accent .service-content {
    justify-content: center;
    min-height: 100%;
    padding: 40px 30px;
}

.service-card-accent p {
    color: rgba(249, 246, 239, 0.84);
    max-width: 65ch;
}

.visual-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.visual-item {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.82);
}

.visual-item img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.visual-item figcaption {
    padding: 16px 18px;
    color: var(--muted);
    line-height: 1.65;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.info-card {
    height: 100%;
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
}

.contact-card,
.company-card,
.map-card {
    grid-column: span 4;
}

.info-list {
    margin: 24px 0 0;
    display: grid;
    gap: 16px;
}

.info-list div {
    display: grid;
    grid-template-columns: minmax(0, 170px) 1fr;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(24, 35, 31, 0.08);
}

.info-list div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.info-list dt {
    font-weight: 800;
    color: var(--text);
}

.info-list dd {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.info-list a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.quick-cta {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.map-frame {
    display: block;
    width: 100%;
    margin-top: 16px;
    aspect-ratio: 16 / 10;
    min-height: 300px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(31, 106, 79, 0.2);
    box-shadow: var(--shadow-soft);
    background: #dbe7e0;
}

.map-card p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.site-footer {
    width: min(100% - 32px, var(--content-width));
    margin: 0 auto 32px;
    padding: 28px;
    border-radius: 28px;
    background: var(--surface-dark);
    color: rgba(249, 246, 239, 0.92);
    box-shadow: var(--shadow);
}

.site-footer p {
    margin: 0;
    line-height: 1.8;
}

.site-footer p + p {
    margin-top: 8px;
}

.site-footer a {
    color: var(--accent-pale);
    text-decoration: none;
}

.reveal {
    opacity: 1;
    transform: none;
}

.has-js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 560ms ease, transform 560ms ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.has-js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes topo-drift {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-72px);
    }
}

@media (max-width: 1180px) {
    .impact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-card,
    .company-card {
        grid-column: span 6;
    }

    .map-card {
        grid-column: span 12;
    }
}

@media (max-width: 1080px) {
    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto auto;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .hero,
    .intro-layout {
        grid-template-columns: 1fr;
    }

    .visual-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto auto;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        display: grid;
        gap: 6px;
        padding: 12px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 180ms ease, transform 180ms ease;
    }

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

    .site-nav a {
        width: 100%;
        padding: 14px 16px;
        border-radius: 18px;
    }
}

@media (max-width: 760px) {
    .page-shell,
    .site-footer,
    .header-inner {
        width: min(100% - 24px, var(--content-width));
    }

    .brand {
        gap: 12px;
    }

    .brand img {
        width: 58px;
        height: 58px;
    }

    .brand-tagline {
        display: none;
    }

    .hero-copy,
    .section,
    .info-card,
    .service-content {
        padding-left: 22px;
        padding-right: 22px;
    }

    .hero-copy {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .services-grid,
    .impact-grid,
    .visual-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .service-card:nth-child(5),
    .contact-card,
    .company-card,
    .map-card {
        grid-column: 1 / -1;
    }

    .info-list div {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .lang-switch {
        gap: 6px;
    }
}

@media (max-width: 520px) {
    .header-inner {
        gap: 10px;
    }

    .brand-name {
        font-size: 0.94rem;
    }

    .menu-toggle {
        padding: 10px 13px;
    }

    .lang-switch a {
        width: 38px;
        height: 38px;
    }

    .hero h1 {
        max-width: none;
    }

    .service-content h3,
    .info-card h3 {
        font-size: 1.3rem;
    }

    .quick-cta .button {
        width: 100%;
    }

    .hero-card-stack {
        padding: 16px;
        gap: 10px;
    }

    .focus-card {
        padding: 14px;
        border-radius: 18px;
    }

    .focus-card strong {
        font-size: 0.98rem;
    }

    .focus-card-label {
        font-size: 0.66rem;
        letter-spacing: 0.12em;
    }

    .map-frame {
        min-height: 240px;
    }
}

@media (max-width: 430px) {
    .header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        align-items: start;
    }

    .brand {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: center;
    }

    .lang-switch {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .menu-toggle {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
        margin-top: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-panel::after {
        animation: none;
    }

    .service-card,
    .service-media img,
    .map-frame,
    .button,
    .site-nav a,
    .focus-card,
    .hero-panel::before,
    .hero-card-stack,
    .lang-switch a,
    .has-js .reveal {
        transition: none;
    }
}
