:root {
    --bg: #0d1715;
    --surface: #12211e;
    --surface-soft: #1a2c28;
    --paper: #f5efe6;
    --paper-strong: #efe4d6;
    --text: #14211c;
    --text-soft: #53625d;
    --white: #ffffff;
    --line: rgba(255, 255, 255, 0.08);
    --line-dark: rgba(20, 33, 28, 0.12);
    --brand: #0f6a50;
    --brand-strong: #0c533f;
    --accent: #c7965f;
    --accent-soft: #dfbf95;
    --shadow-lg: 0 28px 80px rgba(7, 12, 10, 0.24);
    --shadow-md: 0 16px 40px rgba(10, 20, 17, 0.14);
    --radius-lg: 2rem;
    --radius-md: 1.25rem;
    --radius-sm: 0.9rem;
    --max-width: 1240px;
    --topline-visual-height: 4.15rem;
    --header-visual-height: 5.8rem;
    --section-scroll-offset: calc(var(--header-visual-height) + 0.9rem);
    --hero-content-top-offset: calc(var(--header-visual-height) - (var(--topline-visual-height) * 0.63));
    --hero-bottom-offset: calc(2.75rem + (var(--topline-visual-height) * 0.42));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top right, rgba(15, 106, 80, 0.12), transparent 22rem),
        linear-gradient(180deg, #f1f7f4 0%, #e1eee8 100%);
    color: var(--text);
    font-family: "Archivo", sans-serif;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

main section[id] {
    scroll-margin-top: var(--section-scroll-offset);
}

.topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem 1.8rem;
    padding: 0.72rem 1.4rem;
    background: #0a120f;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.84rem;
    letter-spacing: 0.02em;
}

.topline-info {
    display: flex;
    align-items: center;
    gap: 0.7rem 1.15rem;
    min-width: 0;
    flex-wrap: wrap;
}

.topline-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.84);
    white-space: nowrap;
    transition: color 0.25s ease, transform 0.25s ease;
}

.topline-item i {
    color: var(--brand);
    font-size: 0.9rem;
}

.topline-item[href]:hover {
    color: var(--white);
    transform: translateY(-1px);
}

.topline-item-static {
    cursor: default;
}

.topline-social {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
}

.topline-social-link {
    width: 2.7rem;
    height: 2.7rem;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: var(--paper);
    font-size: 1.02rem;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.topline-social-link:hover {
    color: var(--white);
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 14px 34px rgba(15, 106, 80, 0.24);
    transform: scale(1.12);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(225, 238, 232, 0.82);
    border-bottom: 1px solid rgba(20, 33, 28, 0.08);
}

.header-inner,
.section,
.footer-inner {
    width: min(calc(100% - 1.5rem), var(--max-width));
    margin: 0 auto;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.4rem;
    min-height: 5.8rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.brand img {
    width: 4.4rem;
    height: 4.4rem;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-copy strong,
.hero-copy h1,
.section-heading h2,
.service-card h3,
.process-card h3,
.project-card h3,
.contact-card strong,
.footer-inner strong {
    font-family: "Sora", sans-serif;
}

.brand-copy strong {
    font-size: 1rem;
    transition: color 0.25s ease;
}

.brand-copy span {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.brand:hover,
.brand:focus-visible {
    transform: translateY(-1px);
}

.brand:hover img,
.brand:focus-visible img {
    transform: scale(1.06);
    box-shadow: 0 20px 45px rgba(10, 20, 17, 0.18);
}

.brand:hover .brand-copy strong,
.brand:focus-visible .brand-copy strong {
    color: var(--brand-strong);
}

.header-cluster {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    flex: 1 1 auto;
    margin-left: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.7rem;
}

.header-cta {
    flex-shrink: 0;
}

.nav-link {
    position: relative;
    font-weight: 600;
    color: rgba(20, 33, 28, 0.72);
    transition: color 0.25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.45rem;
    width: 100%;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--text);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 3.15rem;
    padding: 0.85rem 1.45rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.header-cta,
.button-primary {
    background: var(--brand);
    color: var(--white);
    box-shadow: 0 14px 34px rgba(15, 106, 80, 0.24);
}

.header-cta:hover,
.button-primary:hover {
    background: var(--brand-strong);
    transform: translateY(-2px);
}

.button-secondary {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.button-full {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 3rem;
    height: 3rem;
    border: 0;
    background: transparent;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    gap: 0.32rem;
}

.menu-toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--text);
    margin: 0 auto;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(0.42rem) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-0.42rem) rotate(-45deg);
}

.section {
    padding: 6rem 0;
}

#empresa.section {
    padding-top: 1.95rem;
    padding-bottom: 1.95rem;
    scroll-margin-top: calc(var(--header-visual-height) - 0.1rem);
}

.section-light {
    color: var(--text);
}

.section-dark {
    position: relative;
    color: var(--white);
    background:
        radial-gradient(circle at top left, rgba(199, 150, 95, 0.18), transparent 20rem),
        linear-gradient(180deg, #10201c 0%, #0b1513 100%);
    border-radius: 2.6rem;
    padding-inline: clamp(1rem, 2vw, 2rem);
    margin-block: 2rem;
}

.section-accent {
    background:
        linear-gradient(135deg, rgba(15, 106, 80, 0.08), rgba(199, 150, 95, 0.18)),
        var(--paper-strong);
    border: 1px solid rgba(20, 33, 28, 0.08);
    border-radius: 2.2rem;
    padding-inline: clamp(1rem, 2vw, 2rem);
}

.section-contact {
    padding-top: 6.5rem;
    padding-bottom: 7rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1rem;
    color: var(--brand);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-dark .eyebrow {
    color: var(--accent-soft);
}

.eyebrow::before {
    content: "";
    width: 1.8rem;
    height: 2px;
    background: currentColor;
}

.section-heading {
    max-width: 48rem;
    margin-bottom: 2.4rem;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
}

.company-heading-lines span {
    display: block;
}

#empresa .section-heading {
    max-width: none;
    margin: 0 0 0.95rem;
}

#empresa .eyebrow {
    color: var(--brand);
}

#empresa .section-heading h2 {
    font-size: clamp(1.7rem, 2.7vw, 2.35rem);
    line-height: 1.03;
}

.hero {
    position: relative;
    padding-top: 2.9rem;
    padding-bottom: 3.2rem;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    z-index: -1;
}

.hero::before {
    top: 3rem;
    right: -8rem;
    width: 22rem;
    height: 22rem;
    background: rgba(15, 106, 80, 0.12);
}

.hero::after {
    bottom: 0;
    left: -7rem;
    width: 18rem;
    height: 18rem;
    background: rgba(199, 150, 95, 0.14);
}

.hero-grid,
.overview-grid,
.coverage-grid,
.contact-grid {
    display: grid;
    gap: 2rem;
}

.hero-grid {
    grid-template-columns: minmax(18rem, 0.9fr) minmax(24rem, 1.1fr);
    align-items: start;
    gap: 1.4rem;
}

.hero-copy {
    color: var(--white);
    background:
        linear-gradient(155deg, rgba(9, 18, 15, 0.96), rgba(12, 27, 22, 0.92)),
        var(--bg);
    padding: clamp(1.85rem, 3.5vw, 2.55rem);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(2.95rem, 5.2vw, 5rem);
    line-height: 0.92;
    letter-spacing: -0.045em;
    max-width: 9ch;
}

.hero-subtitle {
    margin: 0.9rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(0.95rem, 1.6vw, 1.08rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.45rem;
}

.hero-actions .button {
    min-height: 2.9rem;
    padding: 0.78rem 1.2rem;
    font-size: 0.95rem;
}


.hero-media {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    grid-template-areas:
        "industrial residential"
        "industrial commercial"
        "industrial lifestyle";
    gap: 1rem;
    align-self: start;
    margin-top: -0.45rem;
}

.media-card {
    position: relative;
    overflow: hidden;
    min-height: 10.75rem;
    border-radius: 1.6rem;
    box-shadow: var(--shadow-lg);
    isolation: isolate;
}

.media-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 34%, rgba(6, 10, 9, 0.72) 100%);
    z-index: 1;
}

.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.media-card:hover img {
    transform: scale(1.04);
}

.media-card-industrial {
    grid-area: industrial;
    min-height: 36.5rem;
}

.media-card-commercial {
    grid-area: commercial;
}

.media-card-residential {
    grid-area: residential;
}

.media-card-lifestyle {
    grid-area: lifestyle;
}

.media-caption {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    color: var(--white);
}

.media-caption span {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.76);
}

.media-caption strong {
    font-size: 1.02rem;
}

/* trust-strip removed */

.overview-grid {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.92fr);
    align-items: start;
    gap: 1.35rem;
}

#empresa .overview-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(22rem, 0.98fr);
    gap: 0;
    min-height: clamp(20.5rem, 30vw, 23.75rem);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(239, 228, 214, 0.58));
    border: 1px solid rgba(20, 33, 28, 0.08);
    border-radius: 0.95rem;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    align-items: stretch;
}

.overview-copy,
.contact-panel,
.contact-form,
.coverage-copy,
.client-panel {
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(20, 33, 28, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
}

.overview-copy,
.coverage-copy,
.client-panel,
.contact-panel,
.contact-form {
    padding: clamp(1.25rem, 2.3vw, 1.8rem);
}

#empresa .overview-copy {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(20, 33, 28, 0.08);
    border-radius: 0.95rem 0 0 0.95rem;
    box-shadow: none;
    backdrop-filter: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    padding: clamp(1.1rem, 1.85vw, 1.45rem) clamp(1.15rem, 2vw, 1.55rem);
}

#empresa .overview-copy p {
    margin: 0 0 0.95rem;
    font-size: 0.965rem;
    line-height: 1.62;
}

#empresa .overview-copy p:last-of-type {
    margin-bottom: 0;
}

.overview-copy p,
.coverage-copy p,
.client-note {
    margin: 0 0 1.2rem;
    color: var(--text-soft);
    line-height: 1.68;
}

.office-list,
.insight-panel,
.team-grid,
.services-grid,
.process-grid,
.projects-grid,
.location-chips,
.client-chips {
    display: grid;
    gap: 1rem;
}

.office-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: auto;
    padding-top: 0.25rem;
}

.office-card,
.insight-card,
.team-card {
    padding: 1.05rem 1.1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(20, 33, 28, 0.08);
    background: rgba(255, 255, 255, 0.68);
}

.office-label,
.insight-card span,
.team-card span {
    display: block;
    color: var(--brand);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.office-label {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
}

.insight-label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.insight-icon {
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 auto;
    color: var(--brand);
}

.office-label i {
    font-size: 0.86rem;
}

.office-card p,
.insight-card p {
    margin: 0.7rem 0 0;
    color: var(--text-soft);
    line-height: 1.6;
}

.insight-card strong,
.team-card strong {
    display: block;
    margin-top: 0.55rem;
    font-size: 1.1rem;
}

.company-media {
    margin: 0;
    position: relative;
    overflow: hidden;
    min-height: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    border: 0;
    background: #10201a;
    box-shadow: none;
}

.company-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 7% center;
}

.insight-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0.72rem;
    gap: 0.65rem;
}

.insight-card {
    background: rgba(255, 255, 255, 0.96);
}

#empresa .insight-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.95rem;
    padding: 0.92rem 1rem;
}

#empresa .insight-panel {
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}

#empresa .insight-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--brand);
}

.team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.8rem;
}

.team-card-muted {
    background: linear-gradient(135deg, rgba(15, 106, 80, 0.1), rgba(199, 150, 95, 0.16));
}

.section-dark .section-heading {
    color: var(--white);
}

/* ── Services section ──────────────────────────────── */

#servicios {
    position: relative;
    margin-block: 0;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

#servicios .section-heading h2 {
    font-size: clamp(1.7rem, 2.7vw, 2.35rem);
    line-height: 1.03;
}

#servicios::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: #ffffff;
    z-index: -1;
}

/* ── Services mosaic ────────────────────────────────── */

.services-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 18rem;
    gap: 4px;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 106, 80, 0.10), 0 4px 16px rgba(10, 20, 17, 0.08);
}

.mosaic-tile {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    isolation: isolate;
}

.mosaic-tile-wide {
    grid-column: span 2;
}

.mosaic-tile-tall {
    grid-row: span 2;
}

.mosaic-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s ease, filter 0.65s ease;
}

.mosaic-tile:hover img {
    transform: scale(1.08);
    filter: brightness(0.7);
}

/* ── Mosaic label (always visible) ──────────────────── */

.mosaic-label {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 2.2rem 1.15rem 1rem;
    background: linear-gradient(0deg, rgba(6, 10, 9, 0.82) 0%, transparent 100%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mosaic-label h3 {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}

.mosaic-tile:hover .mosaic-label {
    opacity: 0;
}

/* ── Mosaic overlay (slide up on hover) ─────────────── */

.mosaic-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.5rem 1.35rem;
    background: linear-gradient(135deg, rgba(15, 106, 80, 0.94) 0%, rgba(10, 50, 38, 0.96) 100%);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mosaic-tile:hover .mosaic-overlay,
.mosaic-tile.is-open .mosaic-overlay {
    transform: translateY(0);
}

.mosaic-overlay h3 {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}

.mosaic-overlay p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ── Mosaic CTA button ──────────────────────────────── */

.mosaic-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: fit-content;
    margin-top: 0.3rem;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--white);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    transition: background 0.25s ease, gap 0.25s ease, transform 0.25s ease;
}

.mosaic-cta:hover {
    background: rgba(255, 255, 255, 0.28);
    gap: 0.9rem;
    transform: translateX(2px);
}

.mosaic-cta i {
    font-size: 0.78rem;
    transition: transform 0.25s ease;
}

.mosaic-cta:hover i {
    transform: translateX(3px);
}

#proyectos.section {
    padding-top: 4.2rem;
    padding-bottom: 5.35rem;
}

#proyectos .section-heading {
    max-width: none;
    margin-bottom: 1.45rem;
}

#proyectos .section-heading h2 {
    font-size: clamp(1.7rem, 2.7vw, 2.35rem);
    line-height: 1.03;
}

.project-heading-lines span {
    display: block;
}

.project-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.filter-button {
    min-height: 2rem;
    padding: 0.32rem 0.76rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(20, 33, 28, 0.08);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 24px rgba(10, 20, 17, 0.05);
    color: var(--text-soft);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.filter-button:hover,
.filter-button.is-active {
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 14px 28px rgba(15, 106, 80, 0.18);
    color: var(--white);
    transform: translateY(-1px);
}

.toolbar-note {
    margin: 0;
    color: var(--text-soft);
}

.projects-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 20rem;
    column-gap: 4px;
    row-gap: 3px;
}

.project-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 0;
    border: 0;
    background: rgba(220, 213, 202, 0.32);
    isolation: isolate;
    transition: opacity 0.35s ease;
}

.project-card::after {
    content: none;
}

.project-card:hover {
    transform: none;
}

.project-card.is-expanded {
    transform: none;
    box-shadow: none;
}

.project-card[hidden] {
    display: none;
}

.project-image {
    position: absolute;
    inset: 0;
    height: auto;
    overflow: hidden;
    background: rgba(20, 33, 28, 0.08);
    cursor: pointer;
}

.project-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 10, 9, 0.08) 0%, rgba(6, 10, 9, 0.16) 42%, rgba(6, 10, 9, 0.9) 100%);
}

.project-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.7s ease;
}

.project-summary {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0.9rem;
    padding: 3.45rem 0.92rem 0.9rem;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 10, 9, 0.84) 58%, rgba(6, 10, 9, 0.96) 100%);
    cursor: pointer;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.project-summary-copy {
    min-width: 0;
}

.project-sector {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    min-height: 1.95rem;
    padding: 0.22rem 0.7rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-summary h3 {
    margin: 0.55rem 0 0;
    color: var(--white);
    font-size: clamp(1.02rem, 1.42vw, 1.24rem);
    line-height: 1.12;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.project-panel {
    position: absolute;
    inset: 0;
    z-index: 3;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(7, 14, 12, 0.2) 0%, rgba(7, 14, 12, 0.72) 38%, rgba(7, 14, 12, 0.94) 100%);
    backdrop-filter: blur(10px) saturate(0.9);
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition:
        transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.project-panel-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.62rem;
    min-height: 100%;
    padding: 0.78rem;
    color: var(--white);
}

.project-card.is-expanded .project-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.project-card.is-expanded .project-summary {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
}

.project-card.is-expanded .project-image img {
    transform: scale(1.05);
    filter: saturate(0.95);
}

.project-panel h3 {
    margin: 0;
    color: var(--white);
    font-size: clamp(1rem, 1.45vw, 1.22rem);
    line-height: 1.08;
}

.project-panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.84rem;
    line-height: 1.45;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 0;
}

.project-meta div {
    padding: 0.56rem 0.62rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.08);
}

.project-meta dt {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.project-meta dd {
    margin: 0.18rem 0 0;
    color: var(--white);
    font-weight: 700;
    font-size: 0.72rem;
    line-height: 1.2;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.28rem 0.55rem;
    margin-top: 0;
}

.project-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    padding: 0.52rem 0.76rem;
    border-radius: 0.72rem;
    background: var(--white);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
    color: var(--brand-strong);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform 0.25s ease, gap 0.25s ease, background-color 0.25s ease;
}

.project-cta:hover {
    transform: translateY(-1px);
    gap: 0.82rem;
    background: #1a7b60;
    color: #ffffff;
}

.project-note {
    display: none;
}

.coverage-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
    align-items: start;
}

.location-chips,
.client-chips {
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
}

.location-chips span,
.client-chips span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(20, 33, 28, 0.08);
    font-weight: 700;
    text-align: center;
}

.contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
    align-items: start;
}

.contact-panel {
    display: grid;
    gap: 1rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(20, 33, 28, 0.08);
}

.contact-card i {
    width: 2.9rem;
    height: 2.9rem;
    display: inline-grid;
    place-items: center;
    border-radius: 0.95rem;
    background: rgba(15, 106, 80, 0.08);
    color: var(--brand);
}

.contact-card div {
    display: grid;
    gap: 0.35rem;
}

.contact-card a {
    font-weight: 700;
}

.contact-card span {
    color: var(--text-soft);
    line-height: 1.55;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

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

.contact-form label {
    display: grid;
    gap: 0.45rem;
    color: var(--text-soft);
    font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(20, 33, 28, 0.12);
    background: rgba(255, 255, 255, 0.88);
    color: var(--text);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(15, 106, 80, 0.18);
    border-color: var(--brand);
}

.section-coverage {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: var(--white);
    background:
        radial-gradient(circle at top right, rgba(184, 255, 229, 0.16), transparent 24rem),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.12), transparent 18rem),
        linear-gradient(145deg, #0c2d22 0%, #046635 52%, #0a4c39 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2.4rem;
    padding-inline: clamp(1rem, 2vw, 2rem);
    margin-block: 2rem 1.6rem;
}

.section-coverage::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 34%),
        linear-gradient(0deg, rgba(7, 17, 13, 0.08), rgba(7, 17, 13, 0));
    pointer-events: none;
}

.section-contact-hub {
    position: relative;
    overflow: visible;
    isolation: isolate;
    background: #ffffff;
    border: 1px solid rgba(20, 33, 28, 0.06);
    border-radius: 2.4rem;
    padding-inline: clamp(1rem, 2vw, 2rem);
    padding-top: 6.9rem;
    padding-bottom: 6.6rem;
    margin-bottom: 0;
    box-shadow: 0 24px 58px rgba(9, 35, 25, 0.04);
}

.section-contact-hub::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    background: #ffffff;
    pointer-events: none;
    z-index: -1;
}

.section-coverage .eyebrow,
.section-coverage .eyebrow::before {
    color: rgba(225, 255, 244, 0.86);
}

.section-contact-bridge {
    position: relative;
    z-index: 3;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: -3.6rem;
    padding: 0;
    background:
        radial-gradient(circle at top right, rgba(184, 255, 229, 0.16), transparent 24rem),
        linear-gradient(135deg, #0c2b22 0%, #0f4434 100%);
    box-shadow: 0 20px 44px rgba(5, 23, 17, 0.16);
}

.contact-bridge-shell {
    width: min(calc(100% - 1.5rem), var(--max-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 1.4rem;
    align-items: center;
    padding: clamp(1.3rem, 2.6vw, 1.9rem);
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.contact-bridge-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.contact-bridge-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 1.1rem;
    text-decoration: none;
}

.contact-bridge-logo-frame {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    border-radius: 1.1rem;
}

.contact-bridge-logo-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(201, 213, 208, 0.34);
    transform: translate(0.34rem, 0.34rem);
    box-shadow: 0 16px 28px rgba(3, 19, 14, 0.22);
    transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease;
    z-index: 0;
}

.contact-bridge-logo {
    position: relative;
    z-index: 1;
    width: 4.25rem;
    height: 4.25rem;
    object-fit: contain;
    border-radius: 1.1rem;
    transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.contact-bridge-logo-link:hover .contact-bridge-logo,
.contact-bridge-logo-link:focus-visible .contact-bridge-logo {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 18px 34px rgba(3, 19, 14, 0.24);
    filter: saturate(1.04);
}

.contact-bridge-logo-link:hover .contact-bridge-logo-frame::before,
.contact-bridge-logo-link:focus-visible .contact-bridge-logo-frame::before {
    transform: translate(0.48rem, 0.42rem);
    box-shadow: 0 20px 36px rgba(3, 19, 14, 0.26);
}

.contact-bridge-logo-link:focus-visible {
    outline: none;
}

.contact-bridge-brand-copy {
    display: grid;
    gap: 0.15rem;
}

.contact-bridge-brand-copy strong {
    color: var(--white);
    font-family: "Sora", sans-serif;
    font-size: 1rem;
}

.contact-bridge-brand-copy span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.82rem;
}

.contact-bridge-divider {
    width: 1px;
    height: 4.6rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.05));
}

.contact-bridge-shell p {
    margin: 0;
    color: var(--white);
    font-family: "Sora", sans-serif;
    font-size: clamp(1.15rem, 2.15vw, 1.75rem);
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.coverage-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
    gap: 1.5rem;
    align-items: stretch;
}

.coverage-story {
    padding: clamp(1.45rem, 2.8vw, 2.2rem);
    border-radius: 1.8rem;
    background: linear-gradient(165deg, rgba(4, 26, 19, 0.34), rgba(6, 22, 17, 0.16));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 52px rgba(4, 22, 17, 0.18);
}

.coverage-story h2 {
    margin: 0;
    max-width: 13ch;
    font-family: "Sora", sans-serif;
    font-size: clamp(2.15rem, 4.05vw, 3.5rem);
    line-height: 1.01;
    letter-spacing: -0.04em;
}

.coverage-story p {
    max-width: 42rem;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.72;
}

.coverage-compact-copy {
    max-width: 34rem;
}

.coverage-proof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.coverage-proof-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 12.5rem;
    padding: 1.35rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.07));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 42px rgba(4, 22, 17, 0.14);
}

.coverage-proof-kicker {
    width: 2.45rem;
    height: 2.45rem;
    display: inline-grid;
    place-items: center;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.14);
    color: #e3fff6;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.coverage-proof-card h3 {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 1.08rem;
    line-height: 1.15;
}

.coverage-proof-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.6;
}

.trust-band {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 1.35rem;
    align-items: start;
    margin-top: 1.35rem;
    padding: clamp(1.25rem, 2.2vw, 1.75rem);
    border-radius: 1.9rem;
    background: linear-gradient(135deg, rgba(3, 19, 14, 0.72), rgba(6, 49, 36, 0.48));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 22px 44px rgba(3, 19, 14, 0.18);
}

.trust-band-copy .eyebrow {
    margin-bottom: 0.8rem;
}

.trust-band-copy h3 {
    margin: 0;
    max-width: 18ch;
    font-family: "Sora", sans-serif;
    font-size: clamp(1.35rem, 2.25vw, 1.85rem);
    line-height: 1.12;
}

.trust-band-copy p {
    margin: 0.9rem 0 0;
    max-width: 37rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.66;
}

.trust-band-logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.trust-logo-slot {
    min-height: 4.7rem;
    padding: 0.95rem 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(234, 248, 241, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 14px 30px rgba(3, 19, 14, 0.18);
    color: #0d4c38;
    font-family: "Sora", sans-serif;
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}

.contact-hub-intro {
    position: relative;
    z-index: 1;
    max-width: 32rem;
    margin-bottom: 0;
    padding-top: 0.3rem;
}

.contact-hub-intro h2 {
    margin: 0;
    max-width: 13ch;
    font-family: "Sora", sans-serif;
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.contact-hub-intro p:last-child {
    max-width: 30rem;
    margin: 0.95rem 0 0;
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.7;
}

.contact-hub-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(22rem, 1.22fr);
    gap: 1.6rem;
    align-items: start;
}

.contact-methods {
    display: block;
}

.section-contact-hub > .office-selector {
    margin-bottom: 2.5rem;
}

#contacto .contact-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-height: 13rem;
    padding: 1.3rem;
    border-radius: 1.65rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(4, 102, 53, 0.1);
    box-shadow: 0 18px 40px rgba(9, 35, 25, 0.08);
}

#contacto .contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(4, 102, 53, 0.22);
    box-shadow: 0 18px 38px rgba(4, 102, 53, 0.14);
}

#contacto .contact-card.contact-card-primary {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #046635 0%, #0a4d38 100%);
    border-color: rgba(4, 102, 53, 0.32);
    box-shadow: 0 24px 50px rgba(4, 102, 53, 0.26);
    color: var(--white);
}

#contacto .contact-card.contact-card-primary:hover {
    border-color: rgba(184, 255, 229, 0.28);
    box-shadow: 0 28px 54px rgba(4, 102, 53, 0.28);
}

.contact-card-icon {
    width: 3.25rem;
    height: 3.25rem;
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 1rem;
    background: rgba(4, 102, 53, 0.08);
    color: var(--brand);
}

#contacto .contact-card.contact-card-primary .contact-card-icon {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
}

#contacto .contact-card-icon i {
    width: auto;
    height: auto;
    display: block;
    background: none;
    color: inherit;
    font-size: 1.08rem;
}

.contact-card-body {
    display: grid;
    gap: 0.55rem;
    min-width: 0;
}

.contact-card-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--brand);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

#contacto .contact-card.contact-card-primary .contact-card-kicker {
    color: rgba(255, 255, 255, 0.74);
}

#contacto .contact-card strong {
    color: var(--text);
    font-size: 1.08rem;
}

#contacto .contact-card.contact-card-primary strong {
    color: var(--white);
}

.contact-card-link {
    color: var(--brand-strong);
    font-family: "Sora", sans-serif;
    font-size: 1.03rem;
    line-height: 1.35;
    word-break: break-word;
}

#contacto .contact-card.contact-card-primary .contact-card-link {
    color: var(--white);
}

#contacto .contact-card p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.62;
}

#contacto .contact-card.contact-card-primary p {
    color: rgba(255, 255, 255, 0.78);
}

.contact-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.2rem;
}

.contact-inline-link {
    min-height: 2.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-weight: 700;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.contact-inline-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(255, 255, 255, 0.96);
    color: var(--brand-strong);
}

.office-selector {
    padding: clamp(1.25rem, 2.3vw, 1.75rem);
    border-radius: 1.85rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 248, 244, 0.94));
    border: 1px solid rgba(4, 102, 53, 0.1);
    box-shadow: 0 22px 48px rgba(9, 35, 25, 0.08);
    backdrop-filter: blur(12px);
}

.office-selector-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.office-selector-head .eyebrow {
    margin: 0;
}

.office-selector-controls {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.2rem;
}

.office-contact-jump {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 2.9rem;
    min-width: 11rem;
    margin-left: auto;
    padding: 0.72rem 1.35rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #046635 0%, #0b513d 100%);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 14px 30px rgba(4, 102, 53, 0.2);
    overflow: visible;
    isolation: isolate;
    will-change: transform;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.office-contact-jump::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 62%);
    opacity: 0.9;
    pointer-events: none;
}

.office-contact-jump span,
.office-contact-jump i {
    position: relative;
    z-index: 1;
}

.office-contact-jump span {
    display: block;
    grid-column: 2;
    text-align: center;
    justify-self: center;
}

.office-contact-jump i {
    grid-column: 3;
    justify-self: end;
    font-size: 0.86rem;
    transition: transform 0.25s ease;
}

.office-contact-jump:hover,
.office-contact-jump:focus-visible {
    transform: translateY(-2px);
    box-shadow:
        0 18px 36px rgba(4, 102, 53, 0.24),
        0 0 0 0 rgba(4, 102, 53, 0);
}

.office-contact-jump:hover i,
.office-contact-jump:focus-visible i {
    transform: translate(2px, 1px);
}

.office-contact-jump:focus-visible {
    outline: none;
}

.contact-hub-intro[id] {
    scroll-margin-top: calc(var(--header-visual-height) + 1.2rem);
}

.office-selector-head h3 {
    margin: 0.5rem 0 0;
    max-width: 18ch;
    font-family: "Sora", sans-serif;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.14;
}

.office-selector-label {
    margin: 0;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.office-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    width: min(100%, 22rem);
    margin-top: 0;
    flex: 0 1 22rem;
    padding: 0.4rem;
    border-radius: 999px;
    background: #e8f2ed;
    border: 1px solid rgba(4, 102, 53, 0.08);
}

.office-tab {
    min-height: 3.1rem;
    border: 0;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: transparent;
    color: var(--text-soft);
    font-weight: 700;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.office-tab:hover {
    color: var(--text);
    transform: translateY(-1px);
}

.office-tab.is-active {
    background: linear-gradient(135deg, #046635 0%, #0b513d 100%);
    color: var(--white);
    box-shadow: 0 12px 26px rgba(4, 102, 53, 0.24);
}

.office-map-card {
    display: grid;
    grid-template-columns: minmax(15rem, 0.38fr) minmax(0, 0.62fr);
    grid-template-areas:
        "meta frame"
        "button frame";
    gap: 1.2rem;
    align-items: stretch;
    margin-top: 1.15rem;
    padding: 1.15rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 246, 240, 0.92));
    border: 1px solid rgba(4, 102, 53, 0.08);
}

.office-map-meta {
    grid-area: meta;
    display: grid;
    gap: 0.4rem;
    align-content: start;
}

.office-map-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(4, 102, 53, 0.08);
    color: var(--brand);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.office-map-meta strong {
    color: var(--text);
    font-family: "Sora", sans-serif;
    font-size: 1.35rem;
}

.office-map-meta p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.65;
}

.office-map-frame {
    grid-area: frame;
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid rgba(4, 102, 53, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.office-map-frame iframe {
    display: block;
    width: 100%;
    height: clamp(22rem, 38vw, 30rem);
    border: 0;
    background: #dfe9e4;
}

.office-map-button {
    grid-area: button;
    width: fit-content;
    min-width: 15rem;
    align-self: end;
}

/* ── Contact info panel ──────────────────────────────── */

.contact-info-panel {
    width: 100%;
    padding: clamp(1.5rem, 2.6vw, 2.2rem);
    border-radius: 1.85rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 244, 0.95));
    border: 1px solid rgba(4, 102, 53, 0.1);
    box-shadow: 0 22px 48px rgba(9, 35, 25, 0.08);
}

.contact-details {
    margin: 0;
}

.contact-detail-item {
    display: grid;
    grid-template-columns: 8.5rem 1fr;
    gap: 0.15rem 1rem;
    align-items: start;
    padding: 1.1rem 0;
    border-top: 1px solid rgba(20, 33, 28, 0.08);
}

.contact-detail-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.contact-detail-item:last-child {
    padding-bottom: 0;
}

.contact-detail-item dt {
    grid-row: 1 / -1;
    color: var(--text-soft);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-top: 0.1rem;
}

.contact-detail-item dd {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
}

.contact-schedule-line {
    display: block;
}

.contact-schedule-line + .contact-schedule-line {
    margin-top: 0.15rem;
}

.contact-detail-item dd a {
    color: var(--text);
    font-weight: 400;
    transition: color 0.2s ease;
}

.contact-detail-item dd a:hover {
    color: var(--brand);
}

.contact-phone-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1.4rem;
}

.contact-phone-item {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.contact-phone-label {
    color: var(--text-soft);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-phone-item a {
    color: var(--text);
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1.3;
}

.contact-phone-item a:hover {
    color: var(--brand);
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(20, 33, 28, 0.08);
}

.contact-wa-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #046635, #0a4d38);
    color: var(--white);
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 10px 24px rgba(4, 102, 53, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-wa-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(4, 102, 53, 0.26);
}

.contact-wa-cta i {
    font-size: 1.1rem;
}

.contact-ig-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-soft);
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-ig-link:hover {
    color: var(--brand);
}

.contact-ig-link i {
    font-size: 1.05rem;
}

.site-footer {
    padding: 2rem 0 3rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(20, 33, 28, 0.08);
}

.footer-inner p {
    margin: 0.45rem 0 0;
    color: var(--text-soft);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-weight: 700;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* marquee animation removed */

@media (max-width: 1120px) {

    .hero-grid,
    .overview-grid,
    .coverage-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    #empresa .overview-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .company-media {
        aspect-ratio: 16 / 9;
        min-height: 0;
        border-radius: 1rem;
        border: 1px solid rgba(20, 33, 28, 0.08);
        box-shadow: var(--shadow-md);
    }

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

    .services-mosaic {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 16rem;
    }

    .mosaic-tile-wide {
        grid-column: span 2;
    }

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

@media (max-width: 920px) {
    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.75rem);
        right: 1rem;
        left: 1rem;
        display: grid;
        gap: 0.9rem;
        padding: 1.15rem;
        background: rgba(245, 239, 230, 0.97);
        border: 1px solid rgba(20, 33, 28, 0.08);
        border-radius: 1.4rem;
        box-shadow: var(--shadow-md);
        transform: scale(0.98);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    .header-cta {
        display: none;
    }

    .hero-media {
        margin-top: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "industrial industrial"
            "commercial residential"
            "lifestyle lifestyle";
        gap: 0.85rem;
    }

    .media-card-industrial {
        min-height: 19rem;
    }

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

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

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

@media (max-width: 680px) {
    .topline {
        flex-direction: column;
        align-items: stretch;
        padding-inline: 1rem;
    }

    .topline-info {
        gap: 0.65rem 0.9rem;
    }

    .topline-item {
        white-space: normal;
    }

    .topline-social {
        justify-content: flex-start;
    }

    .header-inner {
        min-height: 4.6rem;
    }

    .brand img {
        width: 3.6rem;
        height: 3.6rem;
    }

    .brand-copy span {
        display: none;
    }

    .section {
        padding: 4.5rem 0;
    }

    #empresa.section {
        padding-top: 1.7rem;
        padding-bottom: 1.7rem;
    }

    #servicios {
        padding-top: 2.35rem;
        padding-bottom: 2.35rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .section-dark,
    .section-accent {
        border-radius: 1.6rem;
        margin-block: 1rem;
    }

    .hero {
        padding-top: 1.85rem;
        padding-bottom: 2.6rem;
    }

    .hero-copy,
    .overview-copy,
    .coverage-copy,
    .client-panel,
    .contact-panel,
    .contact-form {
        padding: 1.35rem;
    }

    .office-list,
    .insight-panel,
    .team-grid,
    .form-grid,
    .project-meta {
        grid-template-columns: 1fr;
    }

    .services-mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: 15rem;
    }

    .mosaic-tile-wide,
    .mosaic-tile-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    #proyectos.section {
        padding-top: 3.55rem;
        padding-bottom: 4.55rem;
    }

    .filter-group {
        gap: 0.45rem;
    }

    .projects-grid {
        grid-auto-rows: 18rem;
    }

    .project-summary {
        padding: 3.15rem 0.92rem 0.92rem;
    }

    .project-panel-inner {
        gap: 0.78rem;
        padding: 0.92rem;
    }

    .project-panel p {
        -webkit-line-clamp: 4;
    }

    .project-note {
        display: none;
    }

    .company-media {
        aspect-ratio: 16 / 10;
        border-radius: 1rem;
        border: 1px solid rgba(20, 33, 28, 0.08);
        box-shadow: var(--shadow-md);
    }

    .company-media img {
        object-position: 10% center;
    }

    .hero-copy h1 {
        font-size: clamp(2.45rem, 11.6vw, 3.6rem);
        max-width: none;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-actions {
        gap: 0.65rem;
    }

    .hero-actions .button {
        min-height: 2.7rem;
        padding-inline: 1rem;
        font-size: 0.9rem;
    }

    .hero-media {
        margin-top: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "industrial industrial"
            "commercial residential"
            "lifestyle lifestyle";
        gap: 0.7rem;
    }

    .media-card-industrial {
        min-height: 14.5rem;
    }

    .media-card {
        min-height: 8.6rem;
    }

    .project-toolbar,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .header-inner,
    .section,
    .footer-inner {
        width: min(calc(100% - 1rem), var(--max-width));
    }
}

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

    .reveal,
    .reveal.is-visible,
    .brand,
    .brand img,
    .media-card img,
    .button,
    .header-cta,
    .topline-item,
    .topline-social-link,
    .project-card,
    .project-panel,
    .project-summary,
    .filter-button,
    .nav-link::after,
    .ticker-track,
    .office-contact-jump,
    .office-contact-jump i {
        transition: none;
        animation: none;
        transform: none;
        opacity: 1;
    }

}

/* ==========================================================
   PREMIUM VISUAL ENHANCEMENTS
   ========================================================== */

/* ── Scroll progress bar ────────────────────────────── */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    width: 0%;
    z-index: 100;
    pointer-events: none;
}

/* ── Film grain overlay ─────────────────────────────── */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9000;
    pointer-events: none;
    opacity: 0.026;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Header scroll state ────────────────────────────── */

.header-inner {
    transition: min-height 0.35s ease;
}

.brand img {
    transition: width 0.35s ease, height 0.35s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.site-header {
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
    background: #091411;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 45px rgba(7, 16, 13, 0.16);
    backdrop-filter: blur(18px);
}

.site-header.is-scrolled .header-inner {
    min-height: 4.4rem;
}

.site-header.is-scrolled .brand img {
    width: 3.2rem;
    height: 3.2rem;
}

.site-header.is-scrolled .nav-link,
.site-header.is-scrolled .brand-copy strong,
.site-header.is-scrolled .brand-copy span {
    color: rgba(255, 255, 255, 0.92);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active {
    color: var(--white);
}

.site-header.is-scrolled .nav-link::after,
.site-header.is-scrolled .menu-toggle span {
    background: var(--white);
}

/* ── Hero gradient text ─────────────────────────────── */

.hero-copy h1 {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-soft) 45%, #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* ── Hero reveal stagger ────────────────────────────── */

.hero-copy.reveal {
    --reveal-delay: 0.1s;
}

.hero-media.reveal {
    --reveal-delay: 0.35s;
}

/* ── Staggered reveal ───────────────────────────────── */

.reveal {
    transition-delay: var(--reveal-delay, 0s);
}

/* ── CTA shimmer effect ─────────────────────────────── */

.header-cta,
.button-primary {
    position: relative;
    overflow: hidden;
}

.header-cta::after,
.button-primary::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    pointer-events: none;
}

.header-cta:hover::after,
.button-primary:hover::after {
    left: 130%;
}

/* ── Project card enhancements ──────────────────────── */

.project-image img {
    transition: transform 0.65s ease, filter 0.65s ease;
}

.project-card:hover .project-image img,
.project-card.is-expanded .project-image img {
    transform: scale(1.06);
}

.project-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
}

@keyframes filterIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ── Team avatar ────────────────────────────────────── */

.team-avatar {
    width: 3rem;
    height: 3rem;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), #0a4f3c);
    color: var(--white);
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

.team-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(10, 20, 17, 0.1);
}

.team-card-muted .team-avatar {
    background: linear-gradient(135deg, var(--accent), var(--brand));
}

/* ── Insight card hover ─────────────────────────────── */

.insight-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.insight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(10, 20, 17, 0.08);
}

/* ── Contact card hover ─────────────────────────────── */

.contact-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(10, 20, 17, 0.1);
    border-color: rgba(15, 106, 80, 0.16);
}

/* ── Chip hover ─────────────────────────────────────── */

.location-chips span,
.client-chips span {
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.location-chips span:hover,
.client-chips span:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(15, 106, 80, 0.14);
    box-shadow: 0 8px 20px rgba(10, 20, 17, 0.06);
}

/* ── Office card hover ──────────────────────────────── */

.office-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.office-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(10, 20, 17, 0.08);
}

/* ── Ticker improvements ────────────────────────────── */

.ticker:hover .ticker-track {
    animation-play-state: paused;
}

/* ── Back to top button ─────────────────────────────── */

.back-to-top {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid rgba(20, 33, 28, 0.1);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    color: var(--brand);
    font-size: 0.95rem;
    display: grid;
    place-items: center;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.8rem);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease,
        background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 20px rgba(10, 20, 17, 0.1);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--brand);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 106, 80, 0.22);
}

.floating-whatsapp,
.whatsapp-float {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    width: 3.3rem;
    height: 3.3rem;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--brand);
    background: var(--brand);
    backdrop-filter: blur(14px);
    color: var(--white);
    font-size: 1.18rem;
    z-index: 49;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.8rem) scale(0.96);
    box-shadow: 0 12px 30px rgba(15, 106, 80, 0.24);
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.floating-whatsapp::after,
.whatsapp-float::after {
    content: "";
    position: absolute;
    inset: -0.35rem;
    border-radius: 50%;
    border: 1px solid rgba(121, 210, 178, 0.36);
    opacity: 0;
    transform: scale(0.88);
    pointer-events: none;
}

.floating-whatsapp.is-visible,
.whatsapp-float.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.floating-whatsapp.is-visible::after,
.whatsapp-float.is-visible::after {
    animation: whatsappFloatRing 2.2s ease-out infinite;
}

.floating-whatsapp:hover,
.whatsapp-float:hover {
    background: var(--brand-strong);
    border-color: var(--brand-strong);
    color: var(--white);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 16px 36px rgba(12, 83, 63, 0.3);
}

.floating-whatsapp:focus-visible,
.whatsapp-float:focus-visible {
    outline: 2px solid rgba(15, 106, 80, 0.22);
    outline-offset: 3px;
}

@keyframes whatsappFloatRing {
    0% {
        opacity: 0;
        transform: scale(0.88);
    }

    20% {
        opacity: 0.9;
    }

    100% {
        opacity: 0;
        transform: scale(1.22);
    }
}

/* ── Enhanced footer ────────────────────────────────── */

.site-footer {
    background: linear-gradient(180deg, #10201c 0%, #0a1310 100%);
    color: rgba(255, 255, 255, 0.84);
    padding: 0;
}

.site-footer .footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 1fr;
    gap: 2.5rem;
    padding: 4rem 0 2.5rem;
    border-top: none;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    transition: transform 0.25s ease;
}

.footer-logo-link:hover {
    transform: translateY(-1px);
}

.footer-logo {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 0.75rem;
    object-fit: contain;
}

.footer-brand strong,
.footer-nav strong,
.footer-contact-info strong {
    font-family: "Sora", sans-serif;
    color: var(--white);
    font-size: 0.95rem;
}

.footer-brand p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
    font-size: 0.88rem;
}

.footer-social {
    display: inline-flex;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.footer-social a {
    width: 2.4rem;
    height: 2.4rem;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-social a:hover {
    background: var(--brand);
    color: var(--white);
    border-color: var(--brand);
    box-shadow: 0 14px 34px rgba(15, 106, 80, 0.24);
    transform: scale(1.1);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    font-size: 0.92rem;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}

.footer-nav a:hover {
    color: var(--brand);
    transform: translateX(4px);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-contact-info a,
.footer-contact-info>span {
    color: rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    transition: color 0.25s ease;
}

.footer-contact-info a:hover {
    color: var(--brand);
}

.footer-contact-info i {
    color: var(--brand);
    font-size: 0.82rem;
    width: 1.15rem;
    text-align: center;
}

.footer-bottom {
    width: min(calc(100% - 1.5rem), var(--max-width));
    margin: 0 auto;
    padding: 1.4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.82rem;
}

.footer-credit-link {
    color: #79d2b2;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.footer-credit-link:hover {
    color: var(--white);
    border-bottom-color: currentColor;
}

/* ── Responsive enhancements ────────────────────────── */

@media (max-width: 1120px) {
    .coverage-shell,
    .trust-band,
    .contact-hub-layout {
        grid-template-columns: 1fr;
    }

    .office-map-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "meta"
            "frame"
            "button";
    }

    .office-map-button {
        width: 100%;
    }
}

@media (max-width: 920px) {
    .contact-bridge-shell {
        width: min(calc(100% - 1rem), var(--max-width));
        grid-template-columns: 1fr;
        gap: 1rem;
        align-items: start;
    }

    .contact-bridge-divider {
        width: 100%;
        height: 1px;
    }

    .header-inner {
        position: relative;
    }

    .menu-toggle {
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 0.95rem;
        background: rgba(7, 16, 13, 0.38);
        box-shadow: 0 16px 32px rgba(4, 14, 11, 0.24);
        backdrop-filter: blur(16px);
        transition:
            transform 0.25s ease,
            background-color 0.25s ease,
            border-color 0.25s ease,
            box-shadow 0.25s ease;
    }

    .menu-toggle:hover,
    .menu-toggle:focus-visible {
        transform: translateY(-1px);
        background: rgba(7, 16, 13, 0.52);
        border-color: rgba(255, 255, 255, 0.18);
        box-shadow: 0 18px 34px rgba(4, 14, 11, 0.28);
    }

    .menu-toggle span {
        width: 1.1rem;
        border-radius: 999px;
    }

    .site-nav {
        top: 100%;
        right: 0;
        left: 0;
        gap: 0.15rem;
        padding: 0.55rem 0.95rem 1rem;
        background: linear-gradient(180deg, rgba(9, 20, 17, 0.98), rgba(12, 35, 28, 0.98));
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-top: 0;
        border-radius: 0 0 1.45rem 1.45rem;
        box-shadow: 0 24px 48px rgba(4, 14, 11, 0.28);
        transform: translateY(-0.55rem);
    }

    .site-nav.is-open {
        transform: translateY(0);
    }

    .site-nav .nav-link {
        display: block;
        padding: 0.82rem 0.2rem;
        color: rgba(255, 255, 255, 0.86);
    }

    .site-nav .nav-link::after {
        bottom: 0.2rem;
        background: rgba(121, 210, 178, 0.9);
    }

    .site-header.is-scrolled .menu-toggle,
    .site-header.is-menu-open .menu-toggle {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.16);
        box-shadow: 0 18px 36px rgba(4, 14, 11, 0.28);
    }

    .site-header.is-menu-open {
        background: rgba(9, 20, 17, 0.94);
        border-bottom-color: rgba(255, 255, 255, 0.08);
        box-shadow: 0 18px 45px rgba(7, 16, 13, 0.16);
        backdrop-filter: blur(18px);
    }

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

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

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

@media (max-width: 680px) {
    .section-coverage,
    .section-contact-hub {
        border-radius: 1.6rem;
        padding-inline: 1rem;
    }

    .section-coverage {
        margin-block: 1rem 1.1rem;
    }

    .section-contact-hub {
        padding-top: 5.2rem;
        padding-bottom: 4.3rem;
        margin-bottom: 0;
    }

    .section-contact-bridge {
        margin-bottom: -2.9rem;
    }

    .topline {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.85rem;
        padding: 0.58rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .topline-info {
        flex: 1 1 auto;
        min-width: 0;
        gap: 0.4rem 0.65rem;
    }

    .topline-info .topline-item:not(.topline-item-static) {
        display: none;
    }

    .topline-item,
    .topline-item-static {
        min-width: 0;
        white-space: nowrap;
    }

    .topline-item i {
        font-size: 0.82rem;
    }

    .topline-item-static span {
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0.81rem;
    }

    .topline-social {
        justify-content: flex-end;
        gap: 0.4rem;
    }

    .topline-social-link {
        width: 2.3rem;
        height: 2.3rem;
        font-size: 0.92rem;
    }

    .header-inner {
        min-height: 4.4rem;
        gap: 0.85rem;
    }

    .brand {
        flex: 1 1 auto;
        gap: 0.75rem;
    }

    .brand img {
        width: 3.35rem;
        height: 3.35rem;
    }

    .brand-copy strong {
        font-size: 0.93rem;
    }

    .menu-toggle {
        width: 2.8rem;
        height: 2.8rem;
        border-radius: 0.9rem;
    }

    #empresa .overview-grid {
        border-radius: 1.35rem;
    }

    #empresa .overview-copy {
        border-radius: 1.35rem 1.35rem 0 0;
        padding: 1.35rem 1.15rem 1.15rem;
    }

    .company-media {
        min-height: clamp(14.5rem, 54vw, 18rem);
        border: 0;
        border-radius: 0 0 1.35rem 1.35rem;
        box-shadow: none;
    }

    .company-media img {
        object-position: center 38%;
    }

    .projects-grid {
        grid-auto-rows: minmax(23.75rem, auto);
        gap: 0.75rem;
    }

    .project-card,
    .project-panel {
        border-radius: 1.35rem;
    }

    .project-summary {
        padding: 3rem 1rem 1rem;
    }

    .project-panel-inner {
        gap: 0.72rem;
        padding: 1rem;
    }

    .project-panel h3 {
        font-size: clamp(1rem, 5.2vw, 1.18rem);
    }

    .project-panel p {
        font-size: 0.82rem;
        -webkit-line-clamp: 3;
    }

    .project-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .project-meta div {
        padding: 0.62rem;
    }

    .project-meta dd {
        font-size: 0.76rem;
    }

    .project-actions {
        gap: 0.45rem;
    }

    .project-cta {
        width: 100%;
        justify-content: center;
        padding: 0.78rem 0.9rem;
        font-size: 0.68rem;
    }

    .section-contact-bridge {
        width: auto;
        max-width: none;
        margin: 0 1rem -2.3rem;
        border-radius: 1.5rem;
        overflow: hidden;
    }

    .contact-bridge-shell {
        width: auto;
        padding: 1rem 1.05rem 1.1rem;
        gap: 0.85rem;
    }

    .contact-bridge-brand {
        align-items: flex-start;
        gap: 0.75rem;
    }

    .contact-bridge-logo {
        width: 3.5rem;
        height: 3.5rem;
        border-radius: 0.95rem;
    }

    .contact-bridge-logo-frame::before {
        transform: translate(0.28rem, 0.28rem);
    }

    .contact-bridge-brand-copy strong {
        font-size: 0.94rem;
    }

    .contact-bridge-brand-copy span {
        font-size: 0.78rem;
    }

    .contact-bridge-shell p {
        max-width: 14ch;
        font-size: clamp(1.05rem, 5.4vw, 1.35rem);
    }

    .coverage-story,
    .trust-band,
    .contact-info-panel,
    .office-selector,
    .office-map-card,
    #contacto .contact-card {
        border-radius: 1.35rem;
    }

    .coverage-story h2,
    .contact-hub-intro h2,
    .trust-band-copy h3,
    .office-selector-head h3 {
        max-width: none;
    }

    .office-selector-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .office-contact-jump {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        min-height: 2.65rem;
        padding: 0.66rem 1rem;
        font-size: 0.86rem;
    }

    .section-contact-hub > .office-selector {
        margin-bottom: 1.6rem;
    }

    .section-contact-hub {
        padding-top: 4.65rem;
        padding-bottom: 3.6rem;
    }

    .office-selector {
        padding: 1rem;
    }

    .office-selector-head {
        margin-bottom: 0.65rem;
    }

    .office-selector-controls {
        gap: 0.7rem;
    }

    .office-tabs {
        flex: none;
        width: 100%;
        padding: 0.28rem;
        gap: 0.28rem;
    }

    .office-tab {
        min-height: 2.65rem;
        padding: 0.68rem 0.75rem;
        font-size: 0.92rem;
    }

    .office-map-card {
        gap: 0.9rem;
        margin-top: 0.9rem;
        padding: 0.9rem;
    }

    .office-map-kicker {
        font-size: 0.67rem;
        letter-spacing: 0.11em;
    }

    .office-map-meta strong {
        font-size: 1.12rem;
    }

    .office-map-meta p {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .office-map-frame {
        border-radius: 1rem;
    }

    .coverage-proof-grid,
    .contact-methods,
    .trust-band-logos {
        grid-template-columns: 1fr;
    }

    .contact-detail-item {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }

    .contact-detail-item dt {
        grid-row: auto;
    }

    .contact-phone-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .contact-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .contact-wa-cta {
        justify-content: center;
    }

    .contact-ig-link {
        justify-content: center;
    }

    .office-map-frame iframe {
        height: 14.5rem;
    }

    .site-footer .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1rem 2rem;
    }

    .back-to-top {
        bottom: 5rem;
        right: 1.2rem;
    }

    .floating-whatsapp,
    .whatsapp-float {
        right: 1.2rem;
        bottom: 1.2rem;
    }

    .site-header.is-scrolled .header-inner {
        min-height: 4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-copy h1 {
        animation: none;
        background-position: 0% 50%;
    }

    .back-to-top,
    .service-card,
    .process-card,
    .team-card,
    .insight-card,
    .contact-card,
    .office-card,
    .coverage-proof-card,
    .trust-logo-slot,
    .office-tab,
    .contact-wa-cta,
    .contact-ig-link,
    .contact-detail-item dd a,
    .location-chips span,
    .client-chips span {
        transition: none;
    }
}

/* ==========================================================
   FULLSCREEN HERO SLIDESHOW + HEADER TRANSPARENCY
   ========================================================== */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    margin-top: calc(-1 * var(--header-visual-height));
    padding: 0;
    overflow: hidden;
}

.hero::before,
.hero::after {
    display: none;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.9s ease-in-out, transform 4.2s ease-out;
    will-change: opacity, transform;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1.12);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(160deg,
            rgba(10, 18, 15, 0.78) 0%,
            rgba(10, 18, 15, 0.42) 50%,
            rgba(10, 18, 15, 0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 2rem), var(--max-width));
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    padding-top: var(--hero-content-top-offset);
}

.hero-text {
    max-width: 38rem;
}

.hero-text.reveal {
    --reveal-delay: 0.25s;
}

.hero h1 {
    margin: 0;
    font-family: "Archivo", sans-serif;
    font-size: clamp(3.2rem, 6.5vw, 5.8rem);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.055em;
    color: var(--white);
    text-shadow: 0 10px 30px rgba(10, 18, 15, 0.22);
}

.hero .hero-subtitle {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.85);
    font-family: "Archivo", sans-serif;
    font-size: clamp(1.05rem, 1.7vw, 1.24rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-shadow: 0 8px 24px rgba(10, 18, 15, 0.18);
}

.hero-experience-line {
    margin: 0.42rem 0 0;
    max-width: min(100%, 33rem);
    font-family: "Archivo", sans-serif;
    font-size: clamp(0.84rem, 1.12vw, 0.96rem);
    font-weight: 400;
    line-height: 1.42;
    letter-spacing: 0.015em;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 8px 20px rgba(8, 15, 12, 0.1);
}

.hero-experience-line strong {
    font-weight: 700;
    color: var(--white);
}

.hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.8rem;
}

.hero-bottom {
    position: absolute;
    bottom: var(--hero-bottom-offset);
    left: 0;
    right: 0;
    width: min(calc(100% - 2rem), var(--max-width));
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-badge-number {
    font-family: "Sora", sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-soft);
    letter-spacing: -0.02em;
}

.hero-badge-label {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.85rem;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
    border-left: 2px solid var(--accent-soft);
    padding-left: 0.85rem;
}

.hero-indicators {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding-bottom: 0.5rem;
}

.hero-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-dot.is-active {
    background: var(--white);
    border-color: var(--white);
    transform: scale(1.35);
}

.hero-dot:hover {
    border-color: var(--white);
}

/* ── Header transparency ────────────────────────────── */

.site-header {
    transition: background-color 0.4s ease, box-shadow 0.4s ease,
        border-color 0.4s ease, backdrop-filter 0.4s ease;
}

.site-header:not(.is-scrolled) {
    background: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent;
    box-shadow: none;
}

.site-header:not(.is-scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.site-header:not(.is-scrolled) .nav-link:hover,
.site-header:not(.is-scrolled) .nav-link.is-active {
    color: var(--white);
}

.site-header:not(.is-scrolled) .nav-link::after {
    background: var(--brand);
}

.site-header:not(.is-scrolled) .brand-copy strong {
    color: var(--white);
}

.site-header:not(.is-scrolled) .brand-copy span {
    color: rgba(255, 255, 255, 0.6);
}

.site-header:not(.is-scrolled) .menu-toggle span {
    background: var(--white);
}

.brand-copy strong,
.brand-copy span {
    transition: color 0.4s ease;
}

.menu-toggle span {
    transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.4s ease;
}

/* ── Hero responsive ────────────────────────────────── */

@media (max-width: 920px) {
    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 680px) {
    :root {
        --topline-visual-height: 3.15rem;
        --header-visual-height: 4.4rem;
        --hero-content-top-offset: calc(var(--header-visual-height) - (var(--topline-visual-height) * 0.4));
        --hero-bottom-offset: calc(1.5rem + (var(--topline-visual-height) * 0.18));
    }

    .hero {
        min-height: 100svh;
        margin-top: calc(-1 * var(--header-visual-height));
    }

    .hero-content {
        padding-top: var(--hero-content-top-offset);
    }

    .hero h1 {
        font-size: clamp(2.6rem, 12vw, 3.8rem);
    }

    .hero-experience-line {
        margin-top: 0.38rem;
        max-width: 100%;
        font-size: 0.88rem;
        line-height: 1.38;
    }

    .hero-badge {
        padding: 0.7rem 1rem;
        gap: 0.75rem;
    }

    .hero-badge-number {
        font-size: 2rem;
    }

    .hero-badge-label {
        font-size: 0.72rem;
        padding-left: 0.65rem;
    }

    .hero-bottom {
        bottom: var(--hero-bottom-offset);
    }

    .hero-overlay {
        background: linear-gradient(180deg,
                rgba(10, 18, 15, 0.6) 0%,
                rgba(10, 18, 15, 0.4) 40%,
                rgba(10, 18, 15, 0.72) 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-whatsapp,
    .floating-whatsapp::after,
    .whatsapp-float,
    .whatsapp-float::after {
        animation: none;
    }

    .hero-slide {
        transition: opacity 0.5s ease;
        transform: none;
        will-change: opacity;
    }

    .hero-slide.is-active {
        transform: none;
    }

    .hero h1 {
        animation: none;
        color: var(--white);
        -webkit-text-fill-color: currentColor;
        background: none;
    }
}
