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

body,
main,
section,
.site-header,
.site-footer {
    max-width: 100%;
}

html {
    max-width: 100%;
    overflow-x: hidden;
    background: #FAFAFA;
}

body {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background: #FAFAFA;
    color: #000000;
    font-family: 'Montserrat', sans-serif;
}

h1,
h2,
h3,
p {
    max-width: 720px;
}

h1 {
    font-size: clamp(2.6rem, 5.8vw, 5.1rem);
    line-height: 1;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.08;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.2;
}

p {
    font-size: clamp(0.95rem, 1.25vw, 1.08rem);
    line-height: 1.6;
}

img,
.origin-box,
.pillar-image,
.projects-hero-image,
.project-image,
.impact-photo {
    filter: saturate(0.8);
    transition: filter 180ms ease;
}

img:hover,
.origin-box:hover,
.pillar-image:hover,
.projects-hero-image:hover,
.project-image:hover,
.impact-photo:hover {
    filter: saturate(1);
}

.origin-box,
.pillar-image,
.projects-hero-image,
.project-card,
.project-image,
.impact-photo,
.contact-office-image,
.contact-info-card,
.contact-reason-card,
.intervention-map,
.intervention-card,
.alliance-logo {
    border-radius: 8px;
}

.section-eyebrow {
    display: block;
    margin-bottom: 16px;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    padding: 10px 40px 8px;
    background: transparent;
    transition: background 180ms ease, box-shadow 180ms ease, backdrop-filter 180ms ease;
}

.nav-shell {
    position: relative;
    width: 100%;
    max-width: 1180px;
    min-height: 56px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-header.is-scrolled {
    background: rgba(250, 250, 250, 0.9);
    backdrop-filter: blur(14px);
}

.nav-brand,
.main-nav a,
.nav-contact,
.mobile-nav-contact a {
    color: #000000;
    text-decoration: none;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
}

.nav-brand img {
    display: block;
    width: auto;
    height: 50px;
    object-fit: contain;
}

.main-nav {
    position: absolute;
    left: 50%;
    display: flex;
    width: max-content;
    justify-content: center;
    gap: 10px;
    transform: translateX(-50%);
}

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

.mobile-nav-contact {
    display: none;
}

.main-nav a,
.nav-contact,
.nav-menu-toggle {
    min-height: 38px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: #182015;
    font: inherit;
    font-size: 0.85rem;
    line-height: 1;
    white-space: nowrap;
    text-wrap: nowrap;
    transition: filter 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.main-nav a:hover,
.nav-contact:hover,
.nav-menu-toggle:hover,
.main-nav a:focus-visible,
.nav-contact:focus-visible,
.nav-menu-toggle:focus-visible {
    filter: brightness(0.9);
}

.main-nav a:hover,
.main-nav a:focus-visible {
    border-color: transparent;
}

.nav-menu-toggle {
    display: none;
    cursor: pointer;
}

.nav-contact {
    justify-self: end;
    border-color: rgba(72, 48, 28, 0.34);
    background: linear-gradient(135deg, #214f2f 0%, #6d8f3f 56%, #9a6f3b 100%);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(31, 79, 47, 0.18);
}

.site-header .main-nav a {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.hero {
    --hero-image-opacity: 1;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 128px 40px 80px;
    overflow: hidden;
    background: #FAFAFA;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('../images/details/fondo.webp') center / cover no-repeat;
    opacity: var(--hero-image-opacity);
    transition: opacity 80ms linear;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: -50%;
    z-index: 2;
    background: url('../images/Patterns/patron-textura-arbol.webp') center / 220px auto repeat;
    opacity: 0.46;
    pointer-events: none;
    transform: rotate(90deg) scale(1.2);
    transform-origin: center;
}

.hero-content {
    position: relative;
    width: 100%;
    max-width: 680px;
    margin-left: clamp(24px, 5vw, 72px);
    margin-right: auto;
}

.hero h1 {
    position: relative;
    z-index: 3;
    width: fit-content;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(135deg, #06150c 0%, #174925 32%, #4f7f32 62%, #b08a32 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero-title span {
    display: block;
}

.title-foundation {
    font-size: 0.46em;
    line-height: 1.05;
}

.title-wood {
    font-size: 1em;
    line-height: 0.95;
}

.title-green {
    font-size: 1.32em;
    line-height: 0.9;
}

.hero p {
    position: relative;
    z-index: 3;
    max-width: 560px;
    margin-top: 24px;
}

.hero-actions {
    position: relative;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.btn {
    min-height: 48px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(72, 48, 28, 0.32);
    border-radius: 999px;
    color: #182015;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition: filter 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
    filter: brightness(0.88);
}

.btn-primary {
    background: linear-gradient(135deg, #214f2f 0%, #6d8f3f 56%, #9a6f3b 100%);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(31, 79, 47, 0.18);
}

.btn-secondary {
    background: linear-gradient(135deg, #f4f8e8 0%, #dceccf 58%, #b9d59c 100%);
    color: #182015;
    box-shadow: 0 10px 24px rgba(31, 79, 47, 0.1);
}

.origin {
    padding: 80px 40px;
}

.origin-content {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 80px;
    align-items: center;
}

.origin-content::before {
    content: "";
    position: absolute;
    left: calc(100% - 500px);
    bottom: -58px;
    z-index: -1;
    width: 220px;
    height: 220px;
    background: url('../images/Patterns/patron-textura-arbol.webp') center / 220px auto repeat;
    opacity: 0.16;
    pointer-events: none;
}

.origin-copy h2 {
    max-width: 640px;
}

.origin-copy p {
    max-width: 640px;
    margin-top: 24px;
}

.origin-remate {
    font-weight: 700;
}

.origin-box {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 420px;
    background: #e9e9e9 url('../images/sillas_maderaverde.webp') center / cover no-repeat;
    box-shadow: none;
}

.origin-box::before {
    content: "";
    position: absolute;
    inset: -8% -10% -8% -10%;
    z-index: -1;
    background: none;
    filter: none;
    pointer-events: none;
}

.work {
    padding: 80px 40px;
}

.work-content {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.work-intro h2 {
    max-width: 760px;
}

.work-intro p {
    max-width: 720px;
    margin-top: 24px;
}

.pillar-layout {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 360px) minmax(220px, 1fr);
    gap: 22px;
    align-items: center;
    margin-top: 44px;
}

.pillar-column {
    display: grid;
    gap: 22px;
}

.pillar-image {
    width: 100%;
    min-height: 620px;
    background: #e9e9e9 url('../images/bosque.webp') center / cover no-repeat;
}

.pillar {
    position: relative;
    isolation: isolate;
    min-height: 260px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 22% 18%, rgba(42, 102, 59, 0.16), transparent 34%),
        radial-gradient(circle at 86% 84%, rgba(176, 126, 68, 0.18), transparent 42%),
        linear-gradient(145deg, #fbf8ee 0%, #eaf3df 56%, #d9c5a9 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 18px 40px rgba(18, 45, 28, 0.1);
    text-align: center;
}

.pillar::before {
    content: "";
    position: absolute;
    inset: -28px;
    z-index: 0;
    background: url('../images/Patterns/patron_maderaverde.webp') center / 210px auto repeat;
    opacity: 0.14;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.pillar::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border: 1px solid transparent;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(92, 57, 31, 0.8), rgba(185, 139, 85, 0.46) 48%, rgba(74, 50, 29, 0.62)) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.pillar > * {
    position: relative;
    z-index: 2;
}

.pillar-left-top,
.pillar-left-bottom {
    border-top-left-radius: 28px;
    border-bottom-left-radius: 28px;
}

.pillar-right-top,
.pillar-right-bottom {
    border-top-right-radius: 28px;
    border-bottom-right-radius: 28px;
}

.pillar h3 {
    max-width: 240px;
    color: #141812;
}

.pillar p {
    max-width: 280px;
    margin-top: 18px;
    color: rgba(20, 24, 18, 0.72);
}

.projects {
    padding: 80px 40px;
}

.projects-content {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.projects-intro h2 {
    max-width: 760px;
}

.projects-intro p {
    max-width: 720px;
    margin-top: 24px;
}

.project-featured-heading {
    margin-top: 44px;
}

.project-featured {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 36px;
    align-items: stretch;
    margin-top: 18px;
    padding: 18px;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 12%, rgba(42, 102, 59, 0.22), transparent 34%),
        radial-gradient(circle at 90% 92%, rgba(176, 126, 68, 0.2), transparent 42%),
        linear-gradient(145deg, #f4f8e8 0%, #dceccf 56%, #d9c5a9 100%);
    border: 1px solid rgba(120, 116, 106, 0.24);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(31, 79, 47, 0.1);
}

.project-featured::before {
    content: "";
    position: absolute;
    inset: -24px;
    z-index: 0;
    background: url('../images/Patterns/patron-textura-arbol.webp') center / 220px auto repeat;
    opacity: 0.18;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.project-featured > * {
    position: relative;
    z-index: 1;
}

.project-featured-media {
    min-height: 420px;
    border-radius: 8px;
    background: #e9e9e9 url('../images/montana.webp') center / cover no-repeat;
}

.project-featured-copy {
    padding: clamp(18px, 3vw, 34px) clamp(12px, 2vw, 24px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-status {
    width: fit-content;
    min-height: 34px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(72, 48, 28, 0.28);
    border-radius: 999px;
    background: linear-gradient(135deg, #214f2f 0%, #6d8f3f 60%, #9a6f3b 100%);
    color: #ffffff;
    font-size: 0.82rem;
    line-height: 1;
}

.project-featured-copy h3 {
    max-width: 620px;
    margin-top: 18px;
    font-size: clamp(1.8rem, 3.4vw, 3.2rem);
}

.project-featured-copy p {
    max-width: 620px;
    margin-top: 18px;
}

.project-meta-grid,
.project-facts {
    display: grid;
    gap: 10px;
}

.project-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
}

.project-meta-grid div,
.project-facts div {
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(72, 48, 28, 0.16);
    border-radius: 8px;
    background: rgba(250, 250, 250, 0.68);
}

.project-meta-grid dt,
.project-facts dt {
    font-size: 0.72rem;
    line-height: 1;
    text-transform: uppercase;
    color: rgba(24, 32, 21, 0.62);
}

.project-meta-grid dd,
.project-facts dd {
    margin-top: 7px;
    font-size: 0.9rem;
    line-height: 1.35;
    color: #182015;
}

.project-featured-copy .btn {
    width: fit-content;
    margin-top: 24px;
}

.project-section-heading {
    margin-top: 56px;
}

.project-section-heading h3 {
    max-width: 620px;
}

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

.project-card {
    position: relative;
    isolation: isolate;
    min-width: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 16%, rgba(42, 102, 59, 0.16), transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #f3f8e8 58%, #e5efd8 100%);
    border: 1px solid rgba(120, 116, 106, 0.2);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(31, 40, 29, 0.06);
}

.project-card::before {
    content: "";
    position: absolute;
    inset: -24px;
    z-index: 0;
    background: url('../images/Patterns/patron-textura-arbol.webp') center / 220px auto repeat;
    opacity: 0.1;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.project-card > * {
    position: relative;
    z-index: 1;
}

.project-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #e9e9e9 center / cover no-repeat;
}

.project-card:nth-child(1) .project-image {
    background-image: url('../images/talar.webp');
}

.project-card:nth-child(2) .project-image {
    background-image: url('../images/tallar.webp');
}

.project-card:nth-child(3) .project-image {
    background-image: url('../images/preparacion.webp');
}

.project-card:nth-child(4) .project-image {
    background-image: url('../images/sembrar.webp');
}

.project-card:nth-child(5) .project-image {
    background-image: url('../images/exploracion.webp');
}

.project-copy {
    padding: 22px;
}

.project-copy h3 {
    max-width: 100%;
}

.project-copy p {
    max-width: 100%;
    margin-top: 14px;
}

.project-facts {
    margin-top: 18px;
}

.project-copy .btn {
    width: fit-content;
    margin-top: 20px;
}

@media (max-width: 900px) {
    .project-featured {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .project-featured-media {
        min-height: 320px;
    }

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

@media (max-width: 640px) {
    .project-featured {
        margin-top: 32px;
        padding: 14px;
    }

    .project-featured-media {
        min-height: 240px;
    }

    .project-featured-copy {
        padding: 10px 4px 6px;
    }

    .project-meta-grid,
    .project-list {
        grid-template-columns: 1fr;
    }

    .project-section-heading {
        margin-top: 44px;
    }

    .project-copy {
        padding: 20px;
    }
}

.impact {
    padding: 80px 40px;
}

.impact-content {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.impact-intro {
    display: grid;
    justify-items: center;
    text-align: center;
}

.impact-intro h2 {
    max-width: 820px;
}

.impact-intro p {
    max-width: 720px;
    margin-top: 24px;
}

.impact-group {
    display: grid;
    gap: 18px;
}

.impact-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 44px;
}

.impact-data {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 18px;
}

.impact-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #dceccf 0%, #f3f8e8 52%, #d9c5a9 100%);
    border: 1px solid rgba(90, 119, 55, 0.18);
    box-shadow: 0 12px 24px rgba(31, 79, 47, 0.06);
}

.impact-photo::before,
.impact-photo::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.impact-photo::before {
    inset: 0;
    opacity: 0.3;
    mix-blend-mode: multiply;
}

.impact-photo::after {
    inset: 12px;
    border-radius: 6px;
    background: #e9e9e9 center / cover no-repeat;
}

.impact-metrics .impact-card:nth-child(1) .impact-photo::before,
.impact-metrics .impact-card:nth-child(3) .impact-photo::before,
.impact-data .impact-card:nth-child(2) .impact-photo::before {
    background: url('../images/Patterns/patron_maderaverde.webp') center / 190px auto repeat;
}

.impact-metrics .impact-card:nth-child(2) .impact-photo::before,
.impact-data .impact-card:nth-child(1) .impact-photo::before {
    background: url('../images/Patterns/patron-textura-arbol.webp') center / 220px auto repeat;
}

.impact-metrics .impact-card:nth-child(1) .impact-photo::after {
    background-image: url('../images/charla.webp');
}

.impact-metrics .impact-card:nth-child(2) .impact-photo::after {
    background-image: url('../images/exploracion.webp');
}

.impact-metrics .impact-card:nth-child(3) .impact-photo::after {
    background-image: url('../images/bosque.webp');
}

.impact-data .impact-card:nth-child(1) .impact-photo::after {
    background-image: url('../images/preparacion.webp');
}

.impact-data .impact-card:nth-child(2) .impact-photo::after {
    background-image: url('../images/mapa.webp');
}

.impact-copy {
    position: relative;
    min-height: 110px;
    padding: 20px 18px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    text-align: center;
}

.impact-copy strong {
    position: relative;
    z-index: 1;
    display: block;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1;
}

.impact-copy p {
    position: relative;
    z-index: 1;
    max-width: 320px;
    margin: 16px auto 0;
}

.alliances {
    position: relative;
    padding: 80px 40px;
    overflow: hidden;
}

.alliances::after {
    content: "";
    position: absolute;
    top: 120px;
    right: 40px;
    z-index: 0;
    width: 260px;
    height: 260px;
    background: url('../images/Patterns/patron_maderaverde.webp') center / contain no-repeat;
    opacity: 0.18;
    pointer-events: none;
}

.alliances-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.alliances-intro h2 {
    max-width: 820px;
}

.alliances-intro p {
    max-width: 760px;
    margin-top: 24px;
}

.alliance-list {
    max-width: 980px;
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 44px;
}

.alliance-logo {
    aspect-ratio: 1 / 1;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alliance-logo img {
    display: block;
    width: 100%;
    max-width: 168px;
    max-height: 128px;
    object-fit: contain;
}

.alliance-logo:nth-child(n + 2) img {
    max-width: 220px;
    max-height: 164px;
}

.final-cta,
.contact-close {
    position: relative;
    isolation: isolate;
    padding: 100px 40px;
    overflow: hidden;
    border-top: 1px solid #000000;
}

.final-cta::before,
.contact-close::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #e9e9e9 url('../images/details/cta.webp') center / cover no-repeat;
    filter: none;
    pointer-events: none;
}

.final-cta-content,
.contact-close-content {
    position: relative;
    z-index: 1;
}

.final-cta-content {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    justify-items: center;
    text-align: center;
}

.final-cta-content h2 {
    max-width: 820px;
}

.final-cta-content p {
    max-width: 680px;
    margin-top: 24px;
}

.final-cta-content .btn {
    margin-top: 36px;
}

.contact-hero {
    min-height: 72vh;
    padding: 148px 40px 80px;
    display: flex;
    align-items: center;
}

.contact-hero-content {
    width: 100%;
    max-width: 760px;
    margin-left: clamp(24px, 5vw, 72px);
}

.contact-hero h1 {
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: 0.95;
}

.contact-hero p {
    max-width: 620px;
    margin-top: 24px;
}

.contact-hero .btn {
    margin-top: 36px;
}

.contact-section {
    padding: 80px 40px;
}

.contact-section-content {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.contact-two-column,
.contact-form-layout,
.contact-office-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 80px;
    align-items: start;
}

.contact-copy p + p,
.contact-section-content > p + p {
    margin-top: 24px;
}

.contact-info-grid,
.contact-reasons-grid {
    display: grid;
    gap: 18px;
    margin-top: 44px;
}

.contact-info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-info-main {
    grid-column: 1 / -1;
}

.contact-info-card,
.contact-reason-card {
    position: relative;
    isolation: isolate;
    padding: 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 16%, rgba(42, 102, 59, 0.22), transparent 34%),
        radial-gradient(circle at 90% 90%, rgba(176, 126, 68, 0.16), transparent 44%),
        linear-gradient(145deg, #f4f8e8 0%, #dceccf 58%, #b9d59c 100%);
    border: 1px solid rgba(120, 116, 106, 0.22);
    box-shadow: 0 14px 34px rgba(31, 40, 29, 0.06);
}

.contact-info-card::before,
.contact-reason-card::before {
    content: "";
    position: absolute;
    inset: -24px;
    z-index: 0;
    background: url('../images/Patterns/patron-textura-arbol.webp') center / 220px auto repeat;
    opacity: 0.16;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.contact-info-card > *,
.contact-reason-card > * {
    position: relative;
    z-index: 1;
}

.contact-info-card h3,
.contact-reason-card h3 {
    max-width: 100%;
}

.contact-info-card p,
.contact-info-card a,
.contact-reason-card p {
    display: block;
    max-width: 100%;
    margin-top: 14px;
    color: #000000;
    text-decoration: none;
}

.contact-office-image {
    width: 100%;
    min-height: 420px;
    background: #e9e9e9 url('../images/tallar.webp') center / cover no-repeat;
}

.contact-office-layout p {
    margin-top: 24px;
}

.contact-form-alert {
    grid-column: 1 / -1;
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.contact-form-alert-success {
    border: 1px solid rgba(33, 79, 47, 0.28);
    background: rgba(220, 236, 207, 0.72);
    color: #182015;
}

.contact-form-alert-error {
    border: 1px solid rgba(122, 53, 46, 0.28);
    background: rgba(250, 232, 224, 0.82);
    color: #4a211c;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-form label {
    display: grid;
    gap: 10px;
}

.contact-form span {
    font-size: 0.9rem;
    line-height: 1.2;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(78, 112, 45, 0.24);
    border-radius: 999px;
    background:
        radial-gradient(circle at 18% 20%, rgba(150, 218, 69, 0.28), transparent 34%),
        radial-gradient(circle at 88% 82%, rgba(219, 174, 62, 0.2), transparent 40%),
        linear-gradient(145deg, #ffffff 0%, #f8fcf2 54%, #eff8e7 100%);
    color: #182015;
    font: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 8px 18px rgba(31, 79, 47, 0.05);
    transition: border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.contact-form input {
    min-height: 52px;
    padding: 0 16px;
}

.contact-form textarea {
    padding: 18px 20px;
    border-radius: 28px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 0;
    border-color: rgba(73, 137, 45, 0.58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 0 0 3px rgba(150, 218, 69, 0.18), 0 10px 22px rgba(31, 79, 47, 0.08);
}

.form-full,
.contact-form .btn {
    grid-column: 1 / -1;
}

.contact-form .btn {
    width: fit-content;
    margin-top: 12px;
    cursor: pointer;
}

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

.contact-close-content {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    justify-items: center;
    text-align: center;
}

.contact-close-content h2 {
    max-width: 820px;
}

.contact-close-content p {
    max-width: 680px;
    margin-top: 24px;
}

.contact-close-content .btn {
    margin-top: 36px;
}

.site-footer {
    padding: 48px 40px 32px;
    border-top: 1px solid #000000;
}

.footer-content {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 0.7fr) minmax(520px, 1.3fr);
    gap: 40px;
}

.footer-brand strong {
    display: block;
    font-size: 1rem;
    line-height: 1.2;
}

.footer-brand p {
    max-width: 360px;
    margin-top: 14px;
    font-size: 0.9rem;
}

.footer-contact {
    display: grid;
    gap: 14px;
    align-content: start;
}

.footer-contact strong {
    display: block;
    justify-self: end;
    font-size: 1rem;
    line-height: 1.2;
    text-align: right;
}

.footer-contact-list {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 14px 24px;
    align-items: center;
    justify-content: end;
}

.footer-contact a,
.footer-contact span,
.footer-bottom a,
.footer-bottom span {
    color: #000000;
    font-size: 0.9rem;
    line-height: 1.3;
    text-decoration: none;
}

.footer-bottom {
    width: 100%;
    max-width: 1180px;
    margin: 40px auto 0;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid #000000;
}

.footer-wordmark {
    width: 100%;
    max-width: 1180px;
    margin: 32px auto 0;
    display: block;
    font-size: clamp(3rem, 12vw, 10rem);
    line-height: 0.9;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .site-header {
        padding: 16px 24px 0;
    }

    .nav-shell {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 18px;
    }

    .main-nav {
        position: static;
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: center;
        gap: 10px;
        overflow-x: auto;
        padding: 0 0 16px;
        transform: none;
    }

    .main-nav a {
        white-space: nowrap;
    }

    .origin-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .origin-box {
        min-height: 320px;
    }

    .pillar-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .pillar-image {
        min-height: 360px;
        order: -1;
    }

    .pillar-left-top,
    .pillar-left-bottom,
    .pillar-right-top,
    .pillar-right-bottom {
        border-radius: 22px;
    }

    .project-card {
        grid-template-columns: 140px minmax(0, 1fr);
    }

    .impact-metrics,
    .impact-data,
    .alliance-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .alliances::after {
        top: 96px;
        right: -24px;
        width: 200px;
        height: 200px;
    }

    .contact-two-column,
    .contact-form-layout,
    .contact-office-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .contact-info-main {
        grid-column: auto;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

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

}

@media (max-width: 640px) {
    .hero {
        padding: 144px 24px 80px;
    }

    .site-header {
        padding: 14px 24px 0;
    }

    .nav-shell {
        min-height: 52px;
        gap: 14px;
    }

    .nav-brand img {
        width: auto;
        height: 42px;
    }

    .nav-contact,
    .main-nav a {
        min-height: 36px;
        padding: 0 14px;
        font-size: 0.8rem;
    }

    .main-nav {
        gap: 10px;
    }

    .origin,
    .work,
    .projects,
    .impact,
    .alliances,
    .final-cta,
    .contact-section,
    .contact-close {
        padding: 80px 24px;
    }

    .contact-hero {
        min-height: 68vh;
        padding: 152px 24px 80px;
    }

    .contact-hero-content {
        margin-left: 0;
    }

    .contact-info-grid,
    .contact-reasons-grid,
    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-office-image {
        min-height: 300px;
    }

    .site-footer {
        padding: 40px 24px 28px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .pillar-layout {
        margin-top: 44px;
    }

    .pillar-image {
        min-height: 300px;
    }

    .pillar {
        min-height: auto;
    }

    .projects-hero-image {
        min-height: 240px;
        margin-top: 44px;
    }

    .project-card {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .project-image {
        max-width: 180px;
    }

    .impact-metrics,
    .impact-data,
    .alliance-list {
        grid-template-columns: 1fr;
    }

    .impact-copy {
        min-height: 96px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-contact-list {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-wordmark {
        font-size: clamp(2.4rem, 16vw, 5rem);
    }
}

@media (max-width: 900px) {
    body {
        overflow-x: hidden;
    }

    h1 {
        font-size: clamp(2.5rem, 11vw, 4.5rem);
    }

    h2 {
        font-size: clamp(1.85rem, 7vw, 3rem);
    }

    h3 {
        font-size: clamp(1.15rem, 4vw, 1.45rem);
    }

    p {
        font-size: 1rem;
    }

    .site-header {
        padding: 14px 24px 0;
    }

    .nav-shell {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr auto auto;
        align-items: center;
        gap: 10px;
    }

    .nav-brand img {
        height: 44px;
    }

    .nav-contact,
    .nav-menu-toggle,
    .main-nav a {
        min-height: 36px;
        padding: 0 14px;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .nav-menu-toggle {
        display: inline-flex;
        grid-column: 2;
        grid-row: 1;
    }

    .nav-contact {
        grid-column: 3;
        grid-row: 1;
    }

    .main-nav {
        position: static;
        grid-column: 1 / -1;
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        padding: 8px 0 10px;
        transform: none;
    }

    .main-nav.is-open {
        display: grid;
    }

    .main-nav a {
        width: 100%;
    }

    .hero,
    .contact-hero {
        min-height: auto;
        padding: 154px 24px 72px;
        align-items: flex-start;
    }

    .hero-content,
    .contact-hero-content {
        max-width: 100%;
        margin-left: 0;
    }

    .hero p,
    .contact-hero p {
        max-width: 100%;
    }

    .hero-actions {
        gap: 10px;
        margin-top: 28px;
    }

    .origin,
    .work,
    .projects,
    .impact,
    .alliances,
    .final-cta,
    .contact-section,
    .contact-close {
        padding: 68px 24px;
    }

    .origin-content,
    .pillar-layout,
    .contact-two-column,
    .contact-form-layout,
    .contact-office-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .origin-box,
    .pillar-image,
    .contact-office-image {
        min-height: 300px;
    }

    .pillar-layout,
    .projects-hero-image,
    .project-list,
    .impact-metrics,
    .contact-info-grid,
    .contact-reasons-grid {
        margin-top: 32px;
    }

    .pillar-column {
        gap: 14px;
    }

    .pillar {
        min-height: auto;
        padding: 24px;
        border-radius: 22px;
    }

    .pillar h3,
    .pillar p {
        max-width: 100%;
    }

    .projects-hero-image {
        min-height: 200px;
    }

    .project-card {
        grid-template-columns: 132px minmax(0, 1fr);
        gap: 18px;
        padding: 14px;
    }

    .impact-metrics,
    .impact-data,
    .contact-info-grid,
    .contact-reasons-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .impact-copy {
        min-height: 104px;
    }

    .impact-copy strong {
        font-size: clamp(2rem, 8vw, 3.2rem);
    }

    .alliances::after {
        top: 120px;
        right: -40px;
        width: 180px;
        height: 180px;
        opacity: 0.12;
    }

    .alliance-list {
        max-width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .alliance-logo img {
        max-width: 150px;
        max-height: 112px;
    }

    .contact-info-main {
        grid-column: auto;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-info-card,
    .contact-reason-card {
        padding: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-contact strong,
    .footer-contact-list {
        justify-self: start;
        justify-content: start;
        text-align: left;
    }

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

    .footer-bottom {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 12px 18px 0;
    }

    .nav-brand img {
        height: 38px;
    }

    .nav-contact,
    .main-nav a {
        min-height: 34px;
        padding: 0 12px;
        font-size: 0.76rem;
    }

    .main-nav {
        width: 100%;
        padding-bottom: 12px;
    }

    .hero,
    .contact-hero {
        padding: 138px 18px 64px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn,
    .contact-form .btn {
        min-height: 46px;
        padding: 0 20px;
    }

    .origin,
    .work,
    .projects,
    .impact,
    .alliances,
    .final-cta,
    .contact-section,
    .contact-close {
        padding: 60px 18px;
    }

    .section-eyebrow {
        margin-bottom: 12px;
    }

    .origin-copy p,
    .work-intro p,
    .projects-intro p,
    .alliances-intro p,
    .contact-copy p,
    .contact-section-content > p {
        max-width: 100%;
        margin-top: 18px;
    }

    .origin-box,
    .pillar-image,
    .contact-office-image {
        min-height: 260px;
    }

    .origin-content::before {
        left: auto;
        right: -34px;
        bottom: 210px;
        width: 150px;
        height: 150px;
        opacity: 0.16;
    }

    .pillar-layout,
    .projects-hero-image,
    .project-list,
    .impact-metrics,
    .contact-info-grid,
    .contact-reasons-grid {
        margin-top: 28px;
    }

    .project-card {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 14px;
    }

    .project-image {
        max-width: none;
        width: 100%;
        aspect-ratio: 16 / 10;
    }

    .projects-hero-image {
        min-height: 170px;
    }

    .impact-metrics,
    .impact-data,
    .contact-info-grid,
    .contact-reasons-grid,
    .alliance-list,
    .footer-contact-list {
        grid-template-columns: 1fr;
    }

    .impact-group {
        gap: 28px;
    }

    .impact-photo {
        aspect-ratio: 16 / 10;
    }

    .impact-copy {
        min-height: auto;
        padding: 18px 14px 0;
    }

    .alliances::after {
        top: 140px;
        right: -56px;
        width: 160px;
        height: 160px;
    }

    .alliance-list {
        max-width: 260px;
    }

    .alliance-logo {
        max-width: 220px;
    }

    .contact-form input {
        min-height: 50px;
    }

    .contact-form textarea {
        min-height: 160px;
    }

    .contact-close-content,
    .final-cta-content {
        justify-items: start;
        text-align: left;
    }

    .site-footer {
        padding: 36px 18px 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
    }

    .footer-wordmark {
        font-size: clamp(2.5rem, 19vw, 5rem);
        line-height: 0.92;
    }
}

@media (max-width: 900px) {
    .site-header {
        padding: 8px 20px;
    }

    .nav-shell {
        position: relative;
        display: grid;
        grid-template-columns: auto 1fr auto auto;
        min-height: 42px;
        gap: 8px;
    }

    .nav-brand {
        grid-column: 1;
        grid-row: 1;
    }

    .nav-brand img {
        height: 38px;
    }

    .nav-menu-toggle {
        display: inline-flex;
        grid-column: 3;
        grid-row: 1;
    }

    .nav-contact {
        grid-column: 4;
        grid-row: 1;
    }

    .nav-contact,
    .nav-menu-toggle,
    .main-nav a {
        min-height: 34px;
        padding: 0 13px;
        font-size: 0.78rem;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 50%;
        right: auto;
        display: none;
        width: min(360px, 100%);
        padding: 10px;
        gap: 8px;
        overflow: visible;
        background: #FAFAFA;
        transform: translateX(-50%);
    }

    .main-nav.is-open {
        display: grid;
        grid-template-columns: repeat(2, minmax(118px, 1fr));
        justify-content: center;
    }

    .main-nav a {
        width: 100%;
        min-width: 0;
        justify-content: center;
        white-space: nowrap;
        word-break: keep-all;
        overflow-wrap: normal;
    }

    .hero,
    .contact-hero {
        padding-top: 126px;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 10px 14px;
    }

    .nav-shell {
        grid-template-columns: auto 1fr auto auto;
        gap: 6px;
    }

    .nav-brand img {
        height: 34px;
    }

    .nav-contact,
    .nav-menu-toggle,
    .main-nav a {
        min-height: 32px;
        padding: 0 10px;
        font-size: 0.72rem;
    }

    .main-nav {
        top: calc(100% + 8px);
        width: min(330px, 100%);
        padding: 8px;
    }

    .main-nav.is-open {
        grid-template-columns: repeat(2, minmax(112px, 1fr));
    }

    .main-nav a {
        min-width: 0;
    }

    .hero,
    .contact-hero {
        padding-top: 112px;
    }

    .hero {
        min-height: 100svh;
        padding-bottom: 96px;
        align-items: center;
    }

    .hero::after {
        background-size: 190px auto;
        opacity: 0.46;
    }
}

.hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.hero-actions .btn {
    white-space: nowrap;
}

@media (max-width: 640px) {
    .hero-actions {
        gap: 8px;
    }

    .hero-actions .btn {
        min-height: 42px;
        padding: 0 14px;
        font-size: 0.82rem;
    }
}

.hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.hero-actions .btn {
    white-space: nowrap;
}

@media (max-width: 640px) {
    .hero-actions {
        gap: 8px;
    }

    .hero-actions .btn {
        min-height: 42px;
        padding: 0 14px;
        font-size: 0.82rem;
    }

    .alliance-list {
        width: 100%;
        max-width: 420px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 18px;
    }

    .alliance-logo {
        width: 100%;
        max-width: none;
        min-height: 148px;
        aspect-ratio: 4 / 3;
        padding: 10px;
    }

    .alliance-logo:nth-child(5) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 52%;
    }

    .alliance-logo img,
    .alliance-logo:nth-child(n + 2) img {
        max-width: 100%;
        max-height: 118px;
    }
}

.intervention-areas {
    padding: 80px 40px;
}

.intervention-content {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.intervention-intro h2 {
    max-width: 760px;
}

.intervention-intro p {
    max-width: 760px;
    margin-top: 24px;
}

.intervention-layout {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    gap: 28px;
    align-items: stretch;
    margin-top: 44px;
}

.intervention-layout::before {
    content: "";
    position: absolute;
    top: -96px;
    left: min(38%, 430px);
    z-index: -1;
    width: clamp(260px, 28vw, 380px);
    height: clamp(260px, 28vw, 380px);
    background: url('../images/Patterns/patron_maderaverde.webp') center / contain no-repeat;
    opacity: 0.2;
    pointer-events: none;
    transform: translateX(-50%);
}

.intervention-map {
    position: relative;
    z-index: 1;
    min-height: 440px;
    background: #e9e9e9 url('../images/mapa.webp') center / cover no-repeat;
}

.intervention-card-list {
    display: grid;
    gap: 18px;
}

.intervention-card {
    position: relative;
    isolation: isolate;
    min-height: 128px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 16%, rgba(42, 102, 59, 0.22), transparent 34%),
        radial-gradient(circle at 90% 90%, rgba(176, 126, 68, 0.16), transparent 44%),
        linear-gradient(145deg, #f4f8e8 0%, #dceccf 58%, #b9d59c 100%);
    border: 1px solid rgba(120, 116, 106, 0.22);
    box-shadow: 0 14px 34px rgba(31, 40, 29, 0.06);
}

.intervention-card::before {
    content: "";
    position: absolute;
    inset: -24px;
    z-index: 0;
    background: url('../images/Patterns/patron_maderaverde.webp') center / 190px auto repeat;
    opacity: 0.14;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.intervention-card > * {
    position: relative;
    z-index: 1;
}

.intervention-card h3,
.intervention-card p {
    max-width: 100%;
}

.intervention-card p {
    margin-top: 14px;
}

@media (max-width: 900px) {
    .intervention-areas {
        padding: 68px 24px;
    }

    .intervention-layout {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 32px;
    }

    .intervention-map {
        min-height: 320px;
    }

    .intervention-card {
        min-height: auto;
        padding: 24px;
    }
}

@media (max-width: 640px) {
    .intervention-areas {
        padding: 60px 18px;
    }

    .intervention-intro p {
        max-width: 100%;
        margin-top: 18px;
    }

    .intervention-layout {
        margin-top: 28px;
    }

    .intervention-map {
        min-height: 260px;
    }

    .intervention-layout::before {
        top: -64px;
        left: auto;
        right: -42px;
        width: 190px;
        height: 190px;
        opacity: 0.16;
        transform: none;
    }
}

.footer-wordmark {
    width: 100%;
    max-width: 100%;
    overflow-wrap: normal;
    white-space: nowrap;
    font-size: clamp(2.4rem, 11.2vw, 8.75rem);
    line-height: 0.92;
    letter-spacing: 0;
}

@media (max-width: 640px) {
    .footer-wordmark {
        font-size: clamp(2rem, 13.6vw, 3.45rem);
    }
}

@media (max-width: 380px) {
    .footer-wordmark {
        font-size: clamp(1.8rem, 13vw, 3.05rem);
    }
}

@media (max-width: 1100px) {
    body.nav-open {
        overflow: hidden;
    }

    .site-header {
        padding: 8px 20px;
    }

    .nav-shell {
        position: relative;
        display: grid;
        grid-template-columns: auto 1fr auto auto;
        min-height: 42px;
        gap: 8px;
    }

    .nav-brand,
    .nav-menu-toggle,
    .nav-contact {
        position: relative;
        z-index: 31;
    }

    .nav-brand {
        grid-column: 1;
        grid-row: 1;
    }

    .nav-brand img {
        height: 38px;
    }

    .nav-menu-toggle {
        display: inline-flex;
        grid-column: 3;
        grid-row: 1;
    }

    .nav-contact {
        grid-column: 4;
        grid-row: 1;
    }

    .nav-contact,
    .nav-menu-toggle {
        min-height: 34px;
        padding: 0 13px;
        font-size: 0.78rem;
        white-space: nowrap;
        text-wrap: nowrap;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        z-index: 30;
        display: grid;
        width: auto;
        min-height: 100svh;
        padding: 108px 24px 44px;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-content: space-between;
        justify-items: stretch;
        gap: 28px;
        overflow-x: hidden;
        overflow-y: auto;
        background: #FAFAFA;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    }

    .main-nav.is-open {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .mobile-nav-links {
        display: grid;
        max-width: 100%;
        min-width: 0;
        gap: 0;
        overflow-x: hidden;
        align-content: start;
        align-self: start;
    }

    .main-nav a {
        width: 100%;
        justify-content: flex-start;
        white-space: nowrap;
        text-wrap: nowrap;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }

    .mobile-nav-links a {
        min-height: 64px;
        padding: 0;
        border: 0;
        border-bottom: 1px solid #000000;
        border-radius: 0;
        background: transparent;
        font-size: clamp(1.45rem, 7vw, 2.5rem);
        font-weight: 700;
        line-height: 1;
    }

    .mobile-nav-contact {
        display: grid;
        max-width: 100%;
        min-width: 0;
        gap: 10px;
        align-self: start;
        padding-top: 20px;
        overflow-x: hidden;
    }

    .mobile-nav-contact span {
        font-size: 0.82rem;
        line-height: 1;
    }

    .mobile-nav-contact a,
    .mobile-nav-contact p {
        max-width: 100%;
        min-height: auto;
        padding: 0;
        display: block;
        border: 0;
        border-radius: 0;
        background: transparent;
        font-size: 0.95rem;
        line-height: 1.35;
    }

    .hero,
    .contact-hero {
        padding-top: 126px;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 10px 14px;
    }

    .nav-shell {
        grid-template-columns: auto 1fr auto auto;
        gap: 6px;
    }

    .nav-brand img {
        height: 34px;
    }

    .nav-contact,
    .nav-menu-toggle {
        min-height: 32px;
        padding: 0 10px;
        font-size: 0.72rem;
    }

    .main-nav {
        padding: 94px 18px 34px;
        gap: 28px;
    }

    .mobile-nav-links a {
        min-height: 56px;
        font-size: clamp(1.32rem, 6.8vw, 2.2rem);
    }

    .mobile-nav-contact {
        gap: 8px;
        padding-top: 18px;
    }

    .mobile-nav-contact a,
    .mobile-nav-contact p {
        font-size: 0.86rem;
    }

    .hero,
    .contact-hero {
        padding-top: 112px;
    }
}
