/* GM Mineros: Design System matched with high fidelity to Captura 2 mockup. */
.gm {
    --gm-bg: #181D1D;
    --gm-panel: #1e2424;
    --gm-panel-alt: #242c2c;
    --gm-text: #FFFFFF;
    --gm-muted: #E2E8F0;
    --gm-nav: #F1F5F9;
    --gm-accent: #005397;
    --gm-accent-hover: #0069B9;
    --gm-accent-active: #003F73;
    --gm-line: rgba(255, 255, 255, 0.1);
    --gm-ink: #141818;
    --gm-max: 1280px;
    --gm-gutter: clamp(20px, 4vw, 64px);
    --gm-space: clamp(64px, 7vw, 112px);
    --gm-ease: cubic-bezier(.23, 1, .32, 1);
    --gm-header: 64px;
    color: var(--gm-text);
    background: var(--gm-bg);
    font: 400 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-align: left;
    position: relative;
    isolation: isolate;
    color-scheme: dark;
    overflow-wrap: anywhere;
}
.gm *, .gm *::before, .gm *::after { box-sizing: border-box; }
.gm :where(h1, h2, h3, p, ul, figure) { margin: 0; padding: 0; }
.gm :where(h1, h2, h3) { color: var(--gm-text); font-family: inherit; font-weight: 600; line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
.gm h1 { font-size: clamp(34px, 3.8vw, 48px); }
.gm h2 { font-size: clamp(28px, 3.5vw, 44px); max-width: 24ch; }
.gm h3 { font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.02em; line-height: 1.25; }
.gm a { color: inherit; text-decoration: none; }
.gm :where(button, input, textarea) { font: inherit; border-radius: 0; }
.gm :where(button, a, input, textarea, summary):focus-visible { outline: 2px solid var(--gm-accent); outline-offset: 3px; }
.gm :where(section, article, [id]) { scroll-margin-top: calc(var(--gm-header) + 20px); }
.gm [hidden] { display: none !important; }
.gm .gm-wrap { width: min(100% - var(--gm-gutter) * 2, var(--gm-max)); margin-inline: auto; }
.gm .gm-section { padding-block: var(--gm-space); }
.gm .gm-copy { align-self: center; min-width: 0; }
.gm .gm-prose { color: var(--gm-muted); max-width: 70ch; margin-top: 24px; }
.gm .gm-prose p + p { margin-top: 16px; }
.gm .gm-copy > .gm-button { margin-top: 32px; }
.gm .gm-icon { width: 18px; height: 18px; flex: 0 0 18px; }

/* Buttons & Links: corporate blue with accessible white text */
.gm .gm-button {
    min-height: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    background: var(--gm-accent) !important;
    color: #FFFFFF !important;
    border: 1px solid transparent;
    border-radius: 8px !important;
    font-weight: 600;
    font-size: 13.5px;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 140ms var(--gm-ease), background-color 140ms var(--gm-ease), color 140ms var(--gm-ease), box-shadow 140ms var(--gm-ease);
}
.gm .gm-button:active:not(:disabled) { transform: scale(0.975); }
.gm .gm-button--line { background: transparent !important; color: var(--gm-text) !important; border-color: var(--gm-line); border-radius: 8px !important; }
.gm .gm-button:disabled { opacity: .65; cursor: wait; }
.gm .gm-link { display: inline-flex; gap: 12px; align-items: center; padding-block: 10px; text-decoration: underline; text-underline-offset: 4px; transition: color 140ms var(--gm-ease), opacity 140ms var(--gm-ease); }
.gm .gm-link:active { transform: scale(0.98); }
.gm .gm-actions { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; margin-top: 32px; }

/* ==========================================================================
   HEADER (Matched to Captura 2: 64px height, left logo, center nav, single right button)
   ========================================================================== */
.gm .gm-header {
    position: relative;
    z-index: 40;
    background: #005397;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.gm .gm-header__inner {
    min-height: var(--gm-header);
    height: var(--gm-header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.gm .gm-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    text-decoration: none;
}
.gm .gm-brand__mark {
    width: 20px;
    height: 24px;
    flex: 0 0 20px;
    border-left: 4px solid var(--gm-accent);
    border-bottom: 4px solid var(--gm-accent);
    transform: skewY(-14deg);
}
.gm .gm-logo {
    width: 200px;
    max-width: 200px;
    height: auto;
    max-height: 38px;
    object-fit: contain;
    display: block;
}
.gm .gm-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2vw, 28px);
    font-size: 13.5px;
    margin-inline: auto;
}
.gm .gm-nav__link, .gm .gm-nav > a:not(.gm-button) {
    color: #F1F5F9;
    font-weight: 500;
    padding: 6px 2px;
    text-decoration: none;
    transition: color 140ms var(--gm-ease);
}
.gm .gm-nav__link.is-active, .gm .gm-nav > a.is-active {
    color: #FFFFFF;
    font-weight: 600;
}
.gm .gm-header__cta {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}
.gm .gm-header__cta .gm-button {
    height: 38px;
    min-height: 38px;
    padding: 0 18px;
    font-size: 13.5px;
}
/* Crucial rule: The mobile drawer CTA must NEVER show on desktop! */
.gm .gm-nav__mobile-cta { display: none !important; }
.gm .gm-menu-toggle { display: none; }

/* ==========================================================================
   HERO (Matched to Captura 2: natural mining photo, soft left gradient, 540px height)
   ========================================================================== */
.gm .gm-hero {
    min-height: 520px;
    height: clamp(520px, 58vh, 570px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #181D1D;
}
.gm .gm-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}
.gm .gm-hero__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
}
.gm .gm-hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(18, 22, 22, 0.82) 0%, rgba(18, 22, 22, 0.65) 38%, rgba(18, 22, 22, 0.22) 58%, rgba(18, 22, 22, 0) 78%);
}
.gm .gm-hero__inner {
    position: relative;
    z-index: 2;
    height: 100%;
    width: min(100% - var(--gm-gutter) * 2, var(--gm-max));
    margin-inline: auto;
    display: flex;
    align-items: center;
}
.gm .gm-hero__content {
    max-width: 520px;
    min-width: 0;
}
.gm .gm-hero__eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 12px;
}
.gm .gm-hero__title {
    font-size: clamp(34px, 3.8vw, 48px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: #FFFFFF;
    margin-bottom: 12px;
    text-wrap: balance;
}
.gm .gm-hero__subtitle {
    font-size: clamp(16px, 1.35vw, 18.5px);
    font-weight: 500;
    line-height: 1.35;
    color: #F1F5F9;
    margin-bottom: 10px;
    max-width: 480px;
}
.gm .gm-hero__desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #CBD5E1;
    margin-bottom: 22px;
    max-width: 460px;
}
.gm .gm-hero__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.gm .gm-hero__actions .gm-button {
    font-size: 13.5px;
    height: 42px;
    padding: 0 20px;
    border-radius: 8px !important;
}

/* Sello / Microcredencial (Matched to Captura 2: Bottom-right corner) */
.gm .gm-hero__sello {
    position: absolute;
    right: max(var(--gm-gutter), 36px);
    bottom: 22px;
    z-index: 4;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 11.5px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.01em;
    pointer-events: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
}

/* Sections & Components */
.gm .gm-media { background: var(--gm-panel-alt); overflow: hidden; aspect-ratio: 5 / 4; min-width: 0; }
.gm .gm-media--empty { background: linear-gradient(135deg, #263e47, #192a31 65%, #22383f); border: 1px solid #35474e; }
.gm .gm-image { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.gm .gm-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 6vw, 90px); }
/* SECTION: Diagnóstico de Infraestructura Crítica Minera (Bloque 2) */
.gm .gm-section--diagnostico {
    background: #F9FAF8 !important;
    color: #141818 !important;
    border-bottom: 1px solid #E5E7EB !important;
    padding-block: clamp(48px, 5.5vw, 68px) !important;
}

.gm .gm-diagnostico__layout {
    display: grid;
    grid-template-columns: minmax(350px, 0.85fr) minmax(0, 1.35fr);
    gap: clamp(28px, 3.5vw, 48px);
    align-items: start;
}

.gm .gm-diagnostico__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.gm .gm-diagnostico__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6B7280;
    margin-bottom: 12px;
    line-height: 1.2;
}

.gm .gm-diagnostico__title {
    font-size: clamp(26px, 2.4vw, 34px);
    font-weight: 700;
    color: #141818 !important;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
    text-wrap: balance;
}

.gm .gm-diagnostico__desc {
    color: #4B5563;
    font-size: 14.5px;
    line-height: 1.55;
    max-width: 44ch;
}

.gm .gm-diagnostico__desc p {
    margin: 0;
    color: #4B5563;
}

.gm .gm-diagnostico__right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.gm .gm-diagnostico__right .gm-diagnostico__eyebrow {
    margin-bottom: 14px;
}

.gm .gm-areas-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.gm .gm-area-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    padding: 9px 10px;
    display: flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    min-height: 52px;
    box-sizing: border-box;
    transition: transform 160ms var(--gm-ease), box-shadow 160ms var(--gm-ease), border-color 160ms var(--gm-ease);
}

.gm .gm-area-card:hover {
    border-color: #D1D5DB;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.gm .gm-area-card__icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: block;
    color: #005397;
}

.gm .gm-area-card__title {
    font-size: 11px;
    font-weight: 600;
    color: #141818;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.gm .gm-items { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 36px; }
.gm .gm-items li { border-top: 1px solid var(--gm-line); padding-top: 20px; }
.gm .gm-items p { color: var(--gm-muted); margin-top: 12px; }
/* SECTION: Nuestras 4 unidades de servicio (Bloque 2, parte 2) */
.gm .gm-unit-summary {
    position: relative;
    background-color: #141818;
    background-image: var(--gm-units-bg, none);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-block: clamp(56px, 6.5vw, 84px);
    border-bottom: 1px solid var(--gm-line);
    isolation: isolate;
}

.gm .gm-unit-summary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 24, 24, 0.70) 0%, rgba(16, 20, 20, 0.82) 100%);
    z-index: -1;
    pointer-events: none;
}

.gm .gm-units__header {
    margin-bottom: clamp(28px, 3.5vw, 40px);
}

.gm .gm-units__title {
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 700;
    color: #FFFFFF !important;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 8px;
    max-width: none;
}

.gm .gm-units__desc {
    font-size: clamp(14px, 1.25vw, 15px);
    color: #E2E8F0;
    line-height: 1.5;
    max-width: 70ch;
}

.gm .gm-units-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.gm .gm-unit-card {
    background: #141818;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: transform 200ms var(--gm-ease), border-color 200ms var(--gm-ease), box-shadow 200ms var(--gm-ease);
}

.gm .gm-unit-card:hover {
    transform: translateY(-2px);
    border-color: rgba(91, 183, 240, 0.55);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.gm .gm-unit-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    width: 100%;
    background: #0f1313;
}

.gm .gm-unit-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms var(--gm-ease);
}

.gm .gm-unit-card:hover .gm-unit-card__img {
    transform: scale(1.02);
}

.gm .gm-unit-card__body {
    padding: 20px 18px 22px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gm .gm-unit-card__title {
    font-size: 19px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.gm .gm-unit-card__desc {
    font-size: 13px;
    line-height: 1.45;
    color: #E2E8F0;
    margin-bottom: 18px;
    flex-grow: 1;
    min-height: 38px;
}

.gm .gm-unit-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: #F1F5F9 !important;
    text-decoration: none;
    margin-top: auto;
    transition: color 160ms var(--gm-ease);
}

.gm .gm-unit-card__link .gm-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    transition: transform 160ms var(--gm-ease);
}

.gm .gm-unit-card__link:hover {
    color: #FFFFFF !important;
}

.gm .gm-unit-card__link:hover .gm-icon {
    transform: translateX(4px);
}

.gm .gm-unit-card__link--static {
    cursor: default;
    opacity: 0.85;
}
.gm .gm-unit { border-bottom: 1px solid var(--gm-line); }
.gm .gm-unit__layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.gm .gm-unit--hvac .gm-copy { order: 2; }
.gm .gm-unit--digital { background: var(--gm-panel); }
.gm .gm-unit--digital .gm-unit__layout { grid-template-columns: 1fr; }
.gm .gm-unit--digital .gm-media { aspect-ratio: 3 / 1; }
.gm .gm-unit--reliability .gm-unit__layout { grid-template-columns: .85fr 1.15fr; }
.gm .gm-unit .gm-items { grid-template-columns: 1fr; gap: 20px; }
/* SECTION: Servicios técnicos complementarios */
.gm .gm-services-summary {
    background: #F9FAF8 !important;
    padding-block: clamp(32px, 3.5vw, 44px) 0 !important;
}

.gm .gm-services-summary__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6B7280;
    margin-bottom: 12px;
    line-height: 1.2;
    max-width: none;
}

.gm .gm-service-index {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    width: 100%;
}

.gm .gm-service-index__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-right: 1px solid #E5E7EB;
    min-height: 58px;
    box-sizing: border-box;
}

.gm .gm-service-index__item:last-child {
    border-right: none;
}

.gm .gm-service-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    color: #005397;
    display: block;
}

.gm .gm-service-index__label {
    font-size: 11.5px;
    font-weight: 600;
    color: #141818;
    line-height: 1.28;
    letter-spacing: -0.01em;
}

/* SECTION: Electrical Room Reliability */
.gm .gm-electrical {
    background: #F9FAF8 !important;
    border-bottom: 1px solid #E5E7EB !important;
    padding-block: clamp(32px, 3.5vw, 44px) clamp(48px, 5vw, 64px) !important;
}

.gm .gm-electrical__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1.4fr) minmax(0, 0.78fr);
    gap: clamp(20px, 2.2vw, 32px);
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.gm .gm-electrical__media {
    aspect-ratio: 4 / 3;
    max-height: 380px;
    border-radius: 6px;
    overflow: hidden;
    background: #E5E7EB;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.gm .gm-electrical__copy {
    display: flex;
    flex-direction: column;
}

.gm .gm-electrical__copy h2 {
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 700;
    color: #141818 !important;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 8px;
    max-width: none;
}

.gm .gm-electrical__subtitle {
    font-size: 13.5px;
    font-weight: 600;
    color: #4B5563;
    line-height: 1.4;
    margin-bottom: 12px;
}

.gm .gm-electrical__desc {
    font-size: 13px;
    color: #4B5563;
    line-height: 1.55;
    margin-bottom: 16px;
}

.gm .gm-electrical__desc p {
    margin: 0;
    color: #4B5563;
}

.gm .gm-electrical__benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gm .gm-electrical__benefits li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    font-weight: 550;
    color: #141818;
    line-height: 1.3;
}

.gm .gm-check-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    color: #005397;
    display: block;
}

.gm .gm-electrical__monitor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 250px;
    margin-inline: auto;
}

.gm .gm-electrical__monitor-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    overflow: hidden;
    background: #E5E7EB;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.gm .gm-electrical__monitor-caption {
    font-size: 11px;
    font-weight: 500;
    color: #6B7280;
    text-align: center;
    margin: 0;
    line-height: 1.35;
}

.gm .gm-other-services { background: var(--gm-panel); }
.gm .gm-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 36px; margin-top: 40px; }
.gm .gm-service-grid .gm-media { aspect-ratio: 16 / 10; margin-bottom: 24px; }
/* SECTION: A quién nos dirigimos */
.gm .gm-section--publico {
    background: #F9FAF8 !important;
    border-bottom: 1px solid #E5E7EB !important;
    padding-block: clamp(48px, 5vw, 68px) !important;
}

.gm .gm-publico__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.95fr) minmax(0, 1.02fr) minmax(0, 0.85fr);
    gap: clamp(16px, 1.8vw, 24px);
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
}

.gm .gm-publico__col--copy {
    display: flex;
    flex-direction: column;
}

.gm .gm-publico__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6B7280;
    margin-bottom: 10px;
    line-height: 1.2;
}

.gm .gm-publico__title {
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 700;
    color: #141818 !important;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    max-width: none;
}

.gm .gm-publico__desc {
    font-size: 13px;
    color: #4B5563;
    line-height: 1.5;
    margin-bottom: 20px;
}

.gm .gm-publico__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gm .gm-publico__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #141818;
    line-height: 1.3;
}

.gm .gm-publico__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #005397;
}

.gm .gm-publico__icon-wrap svg {
    width: 100%;
    height: 100%;
    display: block;
}

.gm .gm-publico__icon-wrap i {
    font-size: 14px;
    color: currentColor;
    line-height: 1;
}

.gm .gm-publico__cta-wrap {
    margin-top: clamp(20px, 2.2vw, 26px);
}

.gm .gm-publico__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #005397;
    color: #FFFFFF !important;
    font-size: 12px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
    width: fit-content;
}

.gm .gm-publico__cta:hover {
    background: #003F73;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

.gm .gm-publico__cta .gm-icon {
    width: 15px;
    height: 15px;
    stroke-width: 2.2;
}

.gm .gm-publico__col--photo-1,
.gm .gm-publico__col--photo-2 {
    display: flex;
    flex-direction: column;
}

.gm .gm-publico__frame {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 240px;
    border-radius: 8px;
    overflow: hidden;
    background: #E5E7EB;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.gm .gm-publico__frame .gm-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gm .gm-publico__photo-caption {
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    padding: 28px 12px 12px;
    background: linear-gradient(180deg, transparent 0%, rgba(16, 20, 20, 0.78) 100%);
    color: #FFFFFF;
    font-size: 11.5px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    margin: 0;
}

.gm .gm-publico__peru-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 18px 18px 14px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
}

.gm .gm-publico__peru-title {
    font-size: 17px;
    font-weight: 700;
    color: #141818 !important;
    margin-bottom: 4px;
    line-height: 1.2;
}

.gm .gm-publico__peru-desc {
    font-size: 11px;
    color: #6B7280;
    line-height: 1.35;
    margin-bottom: 12px;
}

.gm .gm-publico__map-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    max-height: 190px;
    margin-bottom: 10px;
}

.gm .gm-publico__map-svg {
    width: auto;
    height: 100%;
    max-height: 170px;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.gm .gm-publico__legend {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 10px;
    border-top: 1px solid #F3F4F6;
}

.gm .gm-publico__legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10.5px;
    font-weight: 500;
    color: #4B5563;
    line-height: 1.25;
}

.gm .gm-publico__legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 8px;
}

.gm .gm-publico__legend-dot--dark {
    background: #003F73;
}

.gm .gm-publico__legend-dot--ring {
    background: #005397;
    border: 1.5px solid #003F73;
    box-sizing: border-box;
}

.gm .gm-publico__legend-dot--olive {
    background: #005397;
}

.gm .gm-section--cobertura { background: var(--gm-panel); }
.gm address { font-style: normal; color: var(--gm-muted); max-width: 45ch; margin-top: 24px; }

/* SECTION: Casos de Éxito */
.gm .gm-section--casos {
    background: #F9FAF8 !important;
    border-bottom: 1px solid #E5E7EB !important;
    padding-block: clamp(52px, 5.5vw, 80px) !important;
}

.gm .gm-cases__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: clamp(32px, 3.5vw, 42px);
}

.gm .gm-cases__header-copy {
    flex: 1;
    max-width: 820px;
}

.gm .gm-cases__eyebrow-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.gm .gm-cases__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6B7280;
    line-height: 1.2;
}

.gm .gm-cases__eyebrow-line {
    width: 42px;
    height: 1.5px;
    background: #005397;
    display: inline-block;
    border-radius: 1px;
}

.gm .gm-cases__title {
    font-size: clamp(26px, 2.5vw, 34px);
    font-weight: 700;
    color: #141818 !important;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 8px;
    max-width: none;
}

.gm .gm-cases__subtitle {
    font-size: 13.5px;
    color: #4B5563;
    line-height: 1.45;
    margin: 0;
}

.gm .gm-cases__header-note {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex: 0 0 auto;
    max-width: 290px;
}

.gm .gm-cases__note-line {
    width: 2px;
    background: #005397;
    flex: 0 0 2px;
    border-radius: 1px;
}

.gm .gm-cases__note-text {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4B5563;
    line-height: 1.35;
    margin: 0;
}

.gm .gm-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 24px);
    align-items: stretch;
}

.gm .gm-cases-grid--single {
    grid-template-columns: minmax(0, 390px);
    justify-content: start;
}

.gm .gm-case-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: transform 160ms var(--gm-ease), box-shadow 160ms var(--gm-ease), border-color 160ms var(--gm-ease);
}

.gm .gm-case-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border-color: #D1D5DB;
}

.gm .gm-case-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #101414;
    overflow: hidden;
}

.gm .gm-case-card__media .gm-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gm .gm-case-card__media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9CA3AF;
    background: #F3F4F6;
}

.gm .gm-case-card__media-placeholder .gm-icon {
    width: 36px;
    height: 36px;
}

.gm .gm-case-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: #005397;
    color: #FFFFFF;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4.5px 8px;
    border-radius: 4px;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gm .gm-case-card__body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gm .gm-case-card__title {
    font-size: 15.5px;
    font-weight: 700;
    color: #141818 !important;
    line-height: 1.25;
    margin-bottom: 8px;
    min-height: 38px;
}

.gm .gm-case-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    color: #6B7280;
    margin-bottom: 16px;
    line-height: 1.3;
}

.gm .gm-case-card__meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.gm .gm-case-card__meta-icon {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    color: #6B7280;
}

.gm .gm-case-card__meta-sep {
    color: #D1D5DB;
    font-weight: 300;
}

.gm .gm-case-card__details {
    display: grid;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #E5E7EB;
    margin-bottom: 16px;
}

.gm .gm-case-card__details--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gm .gm-case-card__details--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gm .gm-case-card__details--cols-1 {
    grid-template-columns: 1fr;
}

.gm .gm-case-card__detail-col {
    padding-inline: 10px;
    border-right: 1px solid #E5E7EB;
    box-sizing: border-box;
}

.gm .gm-case-card__detail-col:first-child {
    padding-left: 0;
}

.gm .gm-case-card__detail-col:last-child {
    border-right: none;
    padding-right: 0;
}

.gm .gm-case-card__detail-label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    color: #141818;
    margin-bottom: 3px;
    line-height: 1.2;
}

.gm .gm-case-card__detail-text {
    font-size: 10px;
    color: #4B5563;
    line-height: 1.32;
    margin: 0;
}

.gm .gm-case-card__cta-wrap {
    margin-top: 4px;
    display: flex;
    align-items: center;
}

.gm .gm-case-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 700;
    color: #005397;
    text-decoration: none;
    transition: color 150ms var(--gm-ease), transform 150ms var(--gm-ease);
}

.gm .gm-case-card__cta .gm-icon {
    width: 14px;
    height: 14px;
    transition: transform 150ms var(--gm-ease);
}

.gm .gm-case-card__cta:hover {
    color: #003F73;
}

.gm .gm-case-card__cta:hover .gm-icon {
    transform: translateX(4px);
}

.gm .gm-cases__footer {
    margin-top: clamp(36px, 4vw, 44px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.gm .gm-cases__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #005397;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 9999px;
    text-decoration: none;
    transition: background-color 160ms var(--gm-ease), transform 160ms var(--gm-ease), box-shadow 160ms var(--gm-ease);
    box-shadow: 0 2px 6px rgba(20, 73, 85, 0.18);
}

.gm .gm-cases__btn .gm-icon {
    width: 14px;
    height: 14px;
    transition: transform 150ms var(--gm-ease);
}

.gm .gm-cases__btn:hover {
    background: #003F73;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20, 73, 85, 0.28);
}

.gm .gm-cases__btn:hover .gm-icon {
    transform: translateX(3px);
}

.gm .gm-cases__btn:active {
    transform: translateY(0);
}

.gm .gm-cases__caption {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6B7280;
    margin: 0;
    text-align: center;
    line-height: 1.3;
}
.gm .gm-faq {
    background: #FFFFFF;
    padding-block: clamp(48px, 6vw, 76px);
    border-top: 1px solid #E5E7EB;
}
.gm .gm-faq__layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}
.gm .gm-faq__col--header {
    position: sticky;
    top: 90px;
}
.gm .gm-faq__title {
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 12px 0;
}
.gm .gm-faq__desc {
    font-size: 15px;
    color: #4B5563;
    line-height: 1.5;
    margin: 0;
}
.gm .gm-faq__col--list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.gm .gm-faq__item {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 160ms var(--gm-ease), box-shadow 160ms var(--gm-ease);
}
.gm .gm-faq__item:hover {
    border-color: #D1D5DB;
}
.gm .gm-faq__item[open] {
    border-color: #CBD5E1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
.gm .gm-faq__summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    transition: background-color 140ms var(--gm-ease);
}
.gm .gm-faq__summary::-webkit-details-marker {
    display: none;
}
.gm .gm-faq__question {
    font-size: 15.5px;
    font-weight: 600;
    color: #1F2937;
    line-height: 1.4;
}
.gm .gm-faq__indicator {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: #4B5563;
    line-height: 1;
    transition: color 160ms var(--gm-ease);
}
.gm .gm-faq__item[open] .gm-faq__indicator {
    font-size: 0;
}
.gm .gm-faq__item[open] .gm-faq__indicator::after {
    content: "−";
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}
.gm .gm-faq__content {
    padding: 0 20px 20px 20px;
    color: #4B5563;
    font-size: 14.5px;
    line-height: 1.65;
    border-top: 1px solid #F3F4F6;
    padding-top: 16px;
}
.gm .gm-faq__content > *:first-child {
    margin-top: 0 !important;
}
.gm .gm-faq__content > *:last-child {
    margin-bottom: 0 !important;
}
.gm .gm-faq__content p {
    margin: 0 0 12px 0;
    line-height: 1.65;
}
.gm .gm-faq__content ul,
.gm .gm-faq__content ol {
    margin: 10px 0 14px 0;
    padding-left: 22px;
}
.gm .gm-faq__content ul {
    list-style-type: disc;
}
.gm .gm-faq__content ol {
    list-style-type: decimal;
}
.gm .gm-faq__content li {
    margin-bottom: 6px;
    line-height: 1.55;
}
.gm .gm-faq__content li:last-child {
    margin-bottom: 0;
}
.gm .gm-faq__content strong,
.gm .gm-faq__content b {
    color: #111827;
    font-weight: 650;
}
.gm .gm-faq__content em,
.gm .gm-faq__content i {
    font-style: italic;
}
.gm .gm-faq__content a {
    color: #005397;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 150ms var(--gm-ease);
}
.gm .gm-faq__content a:hover {
    color: #003F73;
}
.gm .gm-faq__content h3,
.gm .gm-faq__content h4,
.gm .gm-faq__content h5 {
    color: #1F2937;
    font-size: 15px;
    font-weight: 700;
    margin: 14px 0 8px 0;
}

/* Contacto: 3 Zones with photo background and dark navy overlay */
.gm .gm-contact {
    position: relative;
    background-image: var(--gm-contact-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-block: clamp(56px, 7vw, 84px);
    overflow: hidden;
}
.gm .gm-contact__backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(5, 24, 40, 0.94) 0%, rgba(7, 35, 58, 0.91) 50%, rgba(4, 20, 34, 0.95) 100%);
    pointer-events: none;
    z-index: 1;
}
.gm .gm-contact__layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 320px 1fr 280px;
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
}
.gm .gm-contact__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #F1F5F9;
    margin: 0 0 12px 0;
}
.gm .gm-contact__title {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    line-height: 1.18;
    margin: 0 0 14px 0;
}
.gm .gm-contact__desc {
    font-size: 14.5px;
    color: #E2E8F0;
    line-height: 1.5;
    margin: 0;
}
.gm .gm-contact-form {
    display: flex;
    flex-direction: column;
}
.gm .gm-contact-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.gm .gm-form-group--full {
    grid-column: 1 / -1;
}
.gm .gm-form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}
.gm .gm-form-input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    padding: 12px 14px;
    color: #FFFFFF;
    font-size: 13.5px;
    font-family: inherit;
    outline: none;
    transition: background-color 150ms var(--gm-ease), border-color 150ms var(--gm-ease), box-shadow 150ms var(--gm-ease);
}
.gm .gm-form-input::placeholder {
    color: #DCE6EF;
}
.gm .gm-form-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #5BB7F0;
    box-shadow: 0 0 0 2px rgba(91, 183, 240, 0.28);
}
.gm .gm-form-input--textarea {
    resize: vertical;
    min-height: 80px;
}
.gm .gm-form-error {
    font-size: 11.5px;
    color: #FCA5A5;
    margin-top: 4px;
}
.gm .gm-form-error:empty {
    display: none;
}
.gm .gm-contact-form__submit {
    width: 100%;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #005397;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 160ms var(--gm-ease), transform 160ms var(--gm-ease), box-shadow 160ms var(--gm-ease);
    box-shadow: 0 4px 14px rgba(0, 83, 151, 0.32);
}
.gm .gm-contact-form__submit:hover {
    background: #003F73;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 83, 151, 0.4);
}
.gm .gm-contact-form__submit:active {
    transform: translateY(0);
}
.gm .gm-contact-form__submit .gm-icon {
    width: 15px;
    height: 15px;
    transition: transform 150ms var(--gm-ease);
}
.gm .gm-contact-form__submit:hover .gm-icon {
    transform: translateX(3px);
}
.gm .gm-form__status {
    margin-top: 14px;
    font-size: 13.5px;
    color: #EAF6FF;
}
.gm .gm-form__status:empty {
    display: none;
}
.gm .gm-form__status[data-error="true"] {
    color: #FCA5A5;
}

/* Zone 3: Direct contact badges */
.gm .gm-contact__col--info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.gm .gm-contact-direct-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    transition: background-color 160ms var(--gm-ease), border-color 160ms var(--gm-ease), transform 160ms var(--gm-ease);
}
.gm .gm-contact-direct-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}
.gm .gm-contact-direct-card__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    text-decoration: none;
    color: #FFFFFF;
}
.gm .gm-contact-direct-card__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gm .gm-contact-direct-card__icon svg {
    width: 20px;
    height: 20px;
}
.gm .gm-contact-direct-card__icon--wa {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.25);
}
.gm .gm-contact-direct-card__icon--mail {
    background: rgba(91, 183, 240, 0.16);
    color: #8FD0F7;
    border: 1px solid rgba(91, 183, 240, 0.3);
}
.gm .gm-contact-direct-card__content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.gm .gm-contact-direct-card__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #DCE6EF;
    font-weight: 500;
}
.gm .gm-contact-direct-card__val {
    font-size: 13.5px;
    font-weight: 600;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer: Minimalist Swiss Dark */
.gm .gm-footer {
    background: #0E1212;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-block: 36px 32px;
    color: #DCE6EF;
    font-size: 13px;
}
.gm .gm-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.gm .gm-footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.gm .gm-footer__brand-col {
    display: flex;
    align-items: center;
}
.gm .gm-footer__brand {
    text-decoration: none;
    display: inline-block;
}
.gm .gm-footer__logo-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.gm .gm-footer__logo {
    height: 24px;
    width: auto;
    max-width: 166px;
    object-fit: contain;
    display: block;
}
.gm .gm-footer__subtitle {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #C7D1DC;
    font-weight: 600;
}
.gm .gm-footer__nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.5vw, 28px);
    flex-wrap: wrap;
}
.gm .gm-footer__nav-link {
    color: #DCE6EF;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: color 150ms var(--gm-ease);
}
.gm .gm-footer__nav-link:hover {
    color: #FFFFFF;
}
.gm .gm-footer__claims-book {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    max-width: 170px;
    color: #DCE6EF;
    text-decoration: none;
    transition: opacity 150ms var(--gm-ease), transform 150ms var(--gm-ease);
}
.gm .gm-footer__claims-book:hover {
    opacity: .9;
    transform: translateY(-1px);
}
.gm .gm-footer__claims-book:focus-visible {
    outline: 2px solid var(--gm-accent);
    outline-offset: 4px;
}
.gm .gm-footer__claims-book-image {
    display: block;
    width: auto;
    max-width: 170px;
    max-height: 48px;
    object-fit: contain;
}
.gm .gm-footer__claims-book--empty {
    max-width: 190px;
    padding: 8px 10px;
    border: 1px dashed rgba(255, 255, 255, 0.24);
    font-size: 11px;
    line-height: 1.35;
}
.gm .gm-footer__social {
    display: flex;
    align-items: center;
    gap: 10px;
}
.gm .gm-footer__social-btn {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #DCE6EF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 150ms var(--gm-ease), color 150ms var(--gm-ease), border-color 150ms var(--gm-ease), transform 150ms var(--gm-ease);
}
.gm .gm-footer__social-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.24);
    transform: translateY(-1px);
}
.gm .gm-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: #C7D1DC;
    flex-wrap: wrap;
}
.gm .gm-footer__copy {
    color: #C7D1DC;
}
.gm .gm-footer__slogan {
    color: #DCE6EF;
    font-weight: 500;
}
.gm .gm-footer__slogan--link {
    text-decoration: none;
    transition: color 150ms var(--gm-ease);
}
.gm .gm-footer__slogan--link:hover {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.gm .gm-whatsapp { position: fixed; z-index: 50; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 18px; color: #0B2A16; background: #25D366; border: 1px solid #178A43; border-radius: 8px; font-size: 14px; font-weight: 650; text-decoration: none; transition: transform 160ms var(--gm-ease), background-color 160ms var(--gm-ease), box-shadow 160ms var(--gm-ease); }
.gm .gm-whatsapp:active { transform: scale(0.96); }
.gm .gm-skip { position: absolute; top: 8px; left: 16px; transform: translateY(-200%); z-index: 60; background: var(--gm-accent); color: #FFFFFF; padding: 12px 20px; }
.gm .gm-header :focus-visible,
.gm .gm-unit-summary :focus-visible,
.gm .gm-contact :focus-visible,
.gm .gm-footer :focus-visible { outline-color: #8FD0F7; }
.gm .gm-skip:focus { transform: none; }
.gm .gm-editor-note { padding: 16px 24px; background: #25343b; color: var(--gm-text); border-bottom: 1px solid var(--gm-line); font-size: 14px; }

/* Interactive Hover States */
@media (hover: hover) and (pointer: fine) {
    .gm .gm-button:hover:not(:disabled) { background: var(--gm-accent-hover) !important; color: #FFFFFF !important; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0, 83, 151, 0.32); }
    .gm .gm-button--line:hover { background: var(--gm-panel-alt) !important; color: var(--gm-text) !important; box-shadow: none; }
    .gm .gm-nav > a:not(.gm-button):hover, .gm .gm-nav__link:hover, .gm .gm-link:hover, .gm .gm-footer a:hover { color: #FFFFFF; }
    .gm .gm-service-index a:hover, .gm .gm-unit-grid a:hover { background: var(--gm-panel-alt); }
    .gm .gm-whatsapp:hover { background: #20BD59; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
    .gm .gm-menu-toggle:hover { background: rgba(255, 255, 255, 0.08); }
}

/* RESPONSIVE: Tablet & Mobile (<= 1080px) */
@media (max-width: 1080px) {
    .gm .gm-logo { width: 170px; max-width: 170px; }
    .gm .gm-header__inner { position: relative; }
    .gm .gm-header__cta { display: none !important; }
    .gm .gm-nav { display: none; }
    .gm.gm-enhanced .gm-header[data-open="true"] .gm-nav,
    .gm .gm-header[data-open="true"] .gm-nav {
        display: flex;
    }
    .gm .gm-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        padding: 0;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 6px;
        color: #FFFFFF;
        cursor: pointer;
        transition: transform 140ms var(--gm-ease), background-color 140ms var(--gm-ease);
    }
    .gm .gm-menu-toggle:active { transform: scale(0.94); }
    .gm .gm-menu-toggle__box {
        width: 18px;
        height: 12px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .gm .gm-menu-toggle__line {
        display: block;
        width: 100%;
        height: 2px;
        background: #FFFFFF;
        border-radius: 1px;
        transition: transform 180ms var(--gm-ease), opacity 150ms var(--gm-ease);
    }
    .gm.gm-enhanced .gm-header[data-open="true"] .gm-menu-toggle__line:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }
    .gm.gm-enhanced .gm-header[data-open="true"] .gm-menu-toggle__line:nth-child(2) {
        opacity: 0;
    }
    .gm.gm-enhanced .gm-header[data-open="true"] .gm-menu-toggle__line:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }
    .gm.gm-enhanced .gm-nav {
        display: none;
    }
    .gm.gm-enhanced .gm-header[data-open="true"] .gm-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #005397;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding: 18px var(--gm-gutter) 24px;
        gap: 6px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.65);
        z-index: 100;
    }
    .gm .gm-nav__link, .gm .gm-nav > a:not(.gm-button) {
        font-size: 15px;
        padding: 10px 14px;
        border-radius: 6px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    .gm .gm-nav__link:active, .gm .gm-nav > a:not(.gm-button):active {
        background: rgba(255, 255, 255, 0.06);
    }
    .gm .gm-nav__mobile-cta {
        display: block !important;
        margin-top: 10px;
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    .gm .gm-nav__mobile-cta .gm-button {
        width: 100%;
        min-height: 44px;
        height: 44px;
        justify-content: center;
    }
    .gm .gm-hero {
        height: auto;
        min-height: 500px;
    }
    .gm .gm-hero__inner {
        padding-block: 44px;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
    }
    .gm .gm-hero__overlay {
        background: linear-gradient(180deg, rgba(16, 20, 20, 0.88) 0%, rgba(16, 20, 20, 0.75) 60%, rgba(16, 20, 20, 0.5) 100%), linear-gradient(90deg, rgba(16, 20, 20, 0.8) 0%, rgba(16, 20, 20, 0.4) 100%);
    }
    .gm .gm-hero__sello {
        position: static !important;
        right: auto !important;
        bottom: auto !important;
        margin-top: 20px !important;
        align-self: flex-start !important;
        text-align: left !important;
        align-items: flex-start !important;
        white-space: normal !important;
    }
    .gm .gm-areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gm .gm-units-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .gm .gm-electrical__layout { grid-template-columns: 1fr 1fr; gap: 24px; }
    .gm .gm-electrical__monitor { grid-column: 1 / -1; max-width: 260px; margin-inline: auto; }
    .gm .gm-publico__layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .gm .gm-cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .gm .gm-cases__header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .gm .gm-cases__header-note { max-width: 100%; }
    .gm .gm-faq__layout { grid-template-columns: 280px 1fr; gap: 32px; }
    .gm .gm-contact__layout { grid-template-columns: 260px 1fr 240px; gap: 24px; }
}

/* RESPONSIVE: Tablet Vertical & Mobile (<= 768px) */
@media (max-width: 768px) {
    .gm { --gm-header: 60px; }
    .gm .gm-hero { min-height: 480px; }
    .gm .gm-hero__img { object-position: 68% center; }
    .gm .gm-hero__content { max-width: 100%; }
    .gm .gm-hero__title { font-size: clamp(28px, 6.2vw, 38px); line-height: 1.1; }
    .gm .gm-hero__subtitle { font-size: 16px; }
    .gm .gm-hero__desc { font-size: 13.5px; margin-bottom: 20px; }
    .gm .gm-hero__actions { width: 100%; }
    .gm .gm-hero__actions .gm-button {
        width: 100%;
        min-height: 44px;
        height: auto;
        padding: 10px 16px;
        justify-content: center;
        white-space: normal !important;
        line-height: 1.3;
        text-align: center;
    }
    .gm .gm-diagnostico__layout { grid-template-columns: 1fr; gap: 32px; }
    .gm .gm-diagnostico__title { font-size: clamp(24px, 5.5vw, 30px); max-width: 100%; }
    .gm .gm-diagnostico__desc { max-width: 100%; font-size: 14px; }
    .gm .gm-areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .gm .gm-units-grid { grid-template-columns: 1fr; gap: 16px; }
    .gm .gm-service-index { grid-template-columns: 1fr; }
    .gm .gm-service-index__item { border-right: none; border-bottom: 1px solid #E5E7EB; padding: 12px 14px; }
    .gm .gm-service-index__item:last-child { border-bottom: none; }
    .gm .gm-electrical__layout { grid-template-columns: 1fr; gap: 24px; }
    .gm .gm-electrical__monitor { grid-column: auto; max-width: 240px; }
    .gm .gm-publico__layout { grid-template-columns: 1fr; gap: 24px; }
    .gm .gm-publico__frame { min-height: 220px; max-height: 280px; }
    .gm .gm-cases-grid { grid-template-columns: 1fr; gap: 20px; }
    .gm .gm-case-card__details--cols-3,
    .gm .gm-case-card__details--cols-2 { grid-template-columns: 1fr; gap: 8px; }
    .gm .gm-case-card__detail-col { border-right: none; padding-inline: 0; border-bottom: 1px solid #F3F4F6; padding-bottom: 6px; }
    .gm .gm-case-card__detail-col:last-child { border-bottom: none; padding-bottom: 0; }
    .gm .gm-split, .gm .gm-unit__layout, .gm .gm-unit--reliability .gm-unit__layout, .gm .gm-case__layout { grid-template-columns: 1fr; gap: 32px; }
    .gm .gm-faq__layout { grid-template-columns: 1fr; gap: 24px; }
    .gm .gm-faq__col--header { position: static; }
    .gm .gm-contact__layout { grid-template-columns: 1fr; gap: 32px; }
    .gm .gm-contact-form__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .gm .gm-contact__col--info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .gm .gm-unit--hvac .gm-copy { order: 0; }
    .gm .gm-unit--digital .gm-media, .gm .gm-electrical .gm-media { aspect-ratio: 4 / 3; }
    .gm .gm-case__layout .gm-media { order: 2; }
    .gm .gm-service-grid { grid-template-columns: 1fr; gap: 40px; }
    .gm .gm-items { grid-template-columns: 1fr; }
    .gm .gm-footer__top { flex-direction: column; align-items: flex-start; gap: 24px; }
    .gm .gm-footer__nav { gap: 16px; }
    .gm .gm-footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
    .gm .gm-brand { font-size: 14px; max-width: 190px; }
    .gm .gm-logo { width: 170px; max-width: 170px; height: auto; }
}

/* RESPONSIVE: Mobile Compact (<= 420px) */
@media (max-width: 420px) {
    .gm { --gm-header: 58px; }
    .gm .gm-logo { width: 150px; max-width: 150px; height: auto; }
    .gm .gm-hero { min-height: 460px; }
    .gm .gm-hero__title { font-size: clamp(24px, 7.2vw, 30px); }
    .gm .gm-hero__eyebrow { font-size: 9.5px; letter-spacing: 0.1em; }
    .gm .gm-hero__subtitle { font-size: 14.5px; }
    .gm .gm-hero__desc { font-size: 13px; }
    .gm .gm-areas-grid { grid-template-columns: 1fr; gap: 8px; }
    .gm .gm-area-card { min-height: 48px; padding: 9px 12px; }
    .gm .gm-units-grid { grid-template-columns: 1fr; gap: 14px; }
    .gm .gm-service-index__item { padding: 10px 12px; min-height: 52px; }
    .gm .gm-electrical { padding-block: 28px 48px !important; }
    .gm .gm-electrical__monitor { max-width: 220px; }
    .gm .gm-publico__title { font-size: clamp(20px, 6.2vw, 24px); }
    .gm .gm-cases__title { font-size: clamp(22px, 6.5vw, 26px); }
    .gm .gm-cases__btn { width: 100%; box-sizing: border-box; }
    .gm .gm-contact-form__grid { grid-template-columns: 1fr; gap: 10px; }
    .gm .gm-contact__col--info { grid-template-columns: 1fr; }
    .gm .gm-footer__nav { flex-direction: column; align-items: flex-start; gap: 12px; }
    .gm .gm-form__grid { grid-template-columns: 1fr; gap: 0; }
    .gm .gm-actions { gap: 14px; }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .gm, .gm *, .gm *::before, .gm *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .gm .gm-button:active, .gm .gm-whatsapp:active, .gm .gm-link:active, .gm.gm-enhanced .gm-menu-toggle:active {
        transform: none !important;
    }
}
