/* ==========================================================================
   INTERIOR — header de sección, bloques con parallax, diferenciadores
   ========================================================================== */
/* =========================================================
   GBM SEGURIDAD PRIVADA â€” Cobertura Nacional
   Paleta base tomada de la imagen de referencia:
   navy profundo + rejilla tÃ©cnica + rojo alarma + naranja radar
   ========================================================= */

.foto_uno {
    position: relative;
    float: left;
    width: 100%;
    min-height: 560px;
    height: auto;
    background: url(../images/f_uno.webp) center top;
    /* background-color: #1b449c; */
    background-size: cover;
    background-repeat: no-repeat !important;
    overflow: hidden;
    margin-top: 30px;
    border-radius: 10px;
}

.medal2{
    /*position: relative;
    float: left;*/
    width: 100%;
    height: 60px;
    background: url(../images/medal.svg) center center;
    /* background-color: #1b449c; */
    background-size: cover;
    background-repeat: no-repeat !important;
    overflow: hidden;

}


.medal{
    width: 100%;
    min-height: 50px;
    margin-bottom: 15px;
    height: auto;
    background: url(../images/medal.svg) center left;
    /* background-color: #1b449c; */
    /* background-size: cover; */
    background-repeat: no-repeat !important;
    overflow: hidden;

}

.contenedorgbm
{
    width: 100%;
    height: auto;
    min-height: 200px;
    overflow: hidden;
    position: relative;
    float: left;
}
.foto_dos {
    position: relative;
    float: left;
    width: 100%;
    min-height: 560px;
    height: auto;
    background: url(../images/f_dos.webp) center top;
    /* background-color: #1b449c; */
    background-size: cover;
    background-repeat: no-repeat !important;
    overflow: hidden;
    margin-top: 30px;
    border-radius: 10px;
}


:root{
    --bg-0:#050a14;
    --bg-1:#08101f;
    --bg-2:#0c1b30;
    --map-fill:#132a45;
    --map-fill-hl:#173a5c;
    --map-stroke:#2b4d70;
    --map-stroke-hl:#ff7a1a;
    --red:#e2231a;
    --red-soft:rgba(226,35,26,.55);
    --orange:#ff7a1a;
    --orange-soft:rgba(255,122,26,.45);
    --white:#ffffff;
    --gray-100:#e7e9ee;
    --gray-300:#c7cddb;
    --gray-500:#8792a6;
    --font-display:'Oswald', 'Arial Narrow', sans-serif;
    --font-body:'Inter', system-ui, sans-serif;
}



/* ---------- Utilities ---------- */
.text-orange{ color:var(--orange); }
.text-red{ color:var(--red); }
.eyebrow{
    /* font-family: var(--font-display); */
    letter-spacing: .35em;
    font-size: .72rem;
    color: var(--orange);
    text-transform: uppercase;
    text-align: center;
}

/* ---------- Hero / Grid background ---------- */
.fondo_cobertura{
    position:relative;
    padding-top:6.5rem;
    padding-bottom:3rem;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(23,58,92,.55) 0%, rgba(5,10,20,0) 55%),
        linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 65%, var(--bg-0) 100%);
    overflow:hidden;
}

.grid-overlay{
    position:absolute;
    inset:0;
    background-image:
        linear-gradient(rgba(120,150,190,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120,150,190,.08) 1px, transparent 1px);
    background-size:42px 42px;
    mask-image:radial-gradient(ellipse at 50% 30%, #000 0%, transparent 78%);
    pointer-events:none;
}

.hero-lines{
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:.55;
}

.hero-arrow{
    position:absolute;
    top:6.8rem;
    right:6%;
    width:44px;
    height:44px;
    color:var(--gray-300);
    opacity:.55;
    transform:rotate(0deg);
}

.hero-head{
    position:relative;
    z-index:2;
    text-align:center;
    margin-bottom:1.2rem;
}

.hero-title{
    /* font-family:var(--font-display);*/
    font-weight:700;
    /* text-transform:uppercase;*/
    letter-spacing:.04em;
    font-size:clamp(2.4rem, 6vw, 4.6rem);
    line-height:1.02;
    color:var(--white);
    margin:0;
    text-shadow:0 0 40px rgba(255,122,26,.25);
}
.hero-title .accent{ color:var(--orange); }

.hero-rule{
    width:86px;
    height:3px;
    background:var(--orange);
    margin:1.1rem auto 1.3rem;
    box-shadow:0 0 14px var(--red-soft);
}

.hero-sub{
    max-width:640px;
    margin:0 auto;
    color:var(--gray-300);
    font-size:1rem;
    line-height:1.6;
}

.hero-stats{
    position:relative;
    z-index:2;
    display:flex;
    justify-content:center;
    gap:clamp(1.4rem, 4vw, 3.2rem);
    margin-top:1.8rem;
    flex-wrap:wrap;
}
.hero-stat{ text-align:center; }
.hero-stat .num{
    /*font-family:var(--font-display);*/
    font-size:2rem;
    color:var(--white);
    font-weight:600;
}
.hero-stat .num sup{ color:var(--orange); font-size:1.1rem; }
.hero-stat .lbl{
    font-size:.68rem;
    letter-spacing:.18em;
    text-transform:uppercase;
    color:var(--gray-500);
}

/* ---------- Map section ---------- */
.map-section{
    position:relative;
    /* background:var(--bg-0);*/
    padding:4rem;
}

.map-wrap{
    position:relative;
    width:100%;
    max-width:980px;
    margin:0 auto;
    aspect-ratio:1000 / 650;
}

.map-svg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    display:block;
    /* filter:drop-shadow(0 25px 60px rgba(0,0,0,.55));*/
}

.map-svg .state{
    fill:var(--map-fill);
    stroke:var(--map-stroke);
    stroke-width:.9;
    transition:fill .25s ease;
}
.map-svg .state-hl{
    fill:var(--map-fill-hl);
    stroke:var(--map-stroke-hl);
    stroke-width:1.3;
    stroke-opacity:.85;
    transition:fill .25s ease;
}

/* ---------- Markers ---------- */
.state-marker{
    position:absolute;
    width:14px;
    height:14px;
    transform:translate(-50%,-50%);
    background:transparent;
    border:0;
    padding:0;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
}
.state-marker:focus{ outline:none; }
.state-marker:focus-visible .dot{
    box-shadow:0 0 0 3px rgba(255,255,255,.55);
}

.state-marker .ping{
    position:absolute;
    inset:0;
    border-radius:50%;
    background:var(--orange);
    opacity:.65;
    animation:radarPing 2.6s cubic-bezier(.2,.7,.3,1) infinite;
}
.state-marker .ping.delay{ animation-delay:1.3s; }

.state-marker .dot{
    position:absolute;
    inset:0;
    margin:auto;
    width:9px;
    height:9px;
    border-radius:50%;
    background:var(--orange);
    box-shadow:0 0 10px 2px var(--orange-soft), 0 0 0 2px rgba(5,10,20,.9);
    transition:transform .2s ease, background .2s ease;
}

.state-marker:hover .dot,
.state-marker.is-active .dot{
    background:var(--white);
    transform:scale(1.25);
}

@keyframes radarPing{
    0%{ transform:scale(.35); opacity:.75; }
    70%{ opacity:.12; }
    100%{ transform:scale(3.4); opacity:0; }
}

@media (prefers-reduced-motion: reduce){
    .state-marker .ping{ animation:none; opacity:.35; }
}

/* ---------- Tooltip ("modal" flotante) ---------- */
.state-tooltip{
    position:fixed;
    z-index:1000;
    min-width:220px;
    max-width:260px;
    padding:18px;
    background:rgba(6,10,18,.72);
    border:2px solid var(--orange);
    border-radius:6px;
    backdrop-filter:blur(9px);
    -webkit-backdrop-filter:blur(9px);
    box-shadow:0 0 24px var(--red-soft), 0 12px 30px rgba(0,0,0,.5);
    opacity:0;
    transform:translateY(6px);
    pointer-events:none;
    transition:opacity .16s ease, transform .16s ease;
}
.state-tooltip.visible{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
}
.state-tooltip .tt-name{
    font-family:var(--font-display);
    text-transform:uppercase;
    color:var(--white);
    font-size:1rem;
    letter-spacing:.05em;
    margin-bottom:6px;
}
.state-tooltip .tt-row{
    display:flex;
    align-items:center;
    gap:8px;
}
.state-tooltip .tt-row svg{ flex:0 0 auto; color:var(--orange); }
.state-tooltip .tt-email{
    font-size:.78rem;
    color:var(--gray-300);
    word-break:break-all;
    line-height:1.4;
}

/* ---------- Legend chips ---------- */
.legend-section{
    background:linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
    padding:3rem 0 4.5rem;
    border-top:1px solid rgba(255,122,26,.12);
}
.legend-title{
    font-family:var(--font-display);
    text-transform:uppercase;
    letter-spacing:.06em;
    color:var(--white);
    font-size:1.3rem;
    margin-bottom:.35rem;
}
.legend-hint{
    color:var(--gray-500);
    font-size:1rem;
    margin-bottom:1.6rem;
}
.chip{
    display:inline-flex;
    align-items:center;
    gap:.5rem;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,122,26,.35);
    color:var(--gray-500);
    border-radius:999px;
    padding:.5rem 1rem;
    font-size:.82rem;
    letter-spacing:.03em;
    text-transform:uppercase;
    font-family:var(--font-display);
    font-weight:500;
    cursor:pointer;
    transition:.2s ease;
}
.chip:hover, .chip.is-active{
    background:rgba(226,35,26,.12);
    border-color:var(--orange);
    color:var(--orange);
    box-shadow:0 0 14px rgba(226,35,26,.25);
}
.chip .chip-dot{
    width:8px;height:8px;border-radius:50%;
    background:var(--orange);
    box-shadow:0 0 6px 1px var(--orange-soft);
}

/* ---------- Footer ---------- */
.footer-gbm{
    background:var(--bg-1);
    border-top:1px solid rgba(255,122,26,.15);
    padding:2.2rem 0;
    color:var(--gray-500);
    font-size:.85rem;
}
.footer-gbm strong{ color:var(--gray-100); }
.footer-gbm a{ color:var(--gray-300); text-decoration:none; }
.footer-gbm a:hover{ color:var(--orange); }

/* ---------- Responsive ---------- */
@media (max-width:767.98px){
    .hero{ padding-top:5.5rem; }
    .hero-arrow{ display:none; }
    .state-marker{ width:18px; height:18px; }
    .state-marker .dot{ width:11px; height:11px; }
}






ol li {
    list-style-type: none;
}


/* ---------- Hero interior ---------- */
.page-hero {
    position: relative; overflow: hidden; background: var(--gbm-navy-900);
    /*border-bottom-left-radius: clamp(24px, 3vw, 52px);
    border-bottom-right-radius: clamp(24px, 3vw, 52px);*/
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0;  }
.page-hero__inner {
    position: relative; z-index: 2;
    min-height: clamp(300px, 32vw, 440px);
    display: flex; align-items: center;
    padding-top: calc(var(--header-h) + clamp(.75rem, .4rem + 1.2vw, 2rem));
    padding-bottom: clamp(1.5rem, 1rem + 2vw, 3.25rem);
}
.page-hero__card {
    background: rgba(6, 6, 8, .93);
    border: 1px solid #3f7286;
    border-radius: 16px;
    padding: clamp(1.1rem, .8rem + 1.2vw, 1.75rem) clamp(1.4rem, 1rem + 1.6vw, 2.5rem);
    max-width: 580px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, .45);
}
.page-hero__badge { margin: 0 0 1.1rem; }
.page-hero__badge img { width: clamp(175px, 21vw, 245px); height: auto; display: block; }
.page-hero__title { color: #fff; font-size: clamp(1.35rem, .9rem + 1.6vw, 2.1rem); margin: 0; line-height: 1.2; font-weight: 800; }
.page-hero__title small { display: block; font-size: .58em; font-weight: 400; color: #fff; letter-spacing: .01em; margin-bottom: .1rem; }

/* ---------- Sección de servicios interiores ---------- */
.inner-services {
    position: relative;
    background: var(--gbm-surface-2) url("../images/services/servicios-fondo.webp") center / cover no-repeat;
    overflow: hidden;
}
.inner-services .gbm-container { position: relative; z-index: 1; }
.inner-services__heading { position: relative; text-align: center; margin-bottom: clamp(1rem, .5rem + 1.4vw, 1.75rem); }
.inner-services__chip {
    position: absolute; left: 50%; transform: translateX(-50%);
    bottom: calc(-1 * clamp(2.4rem, 1.2rem + 3.2vw, 4rem));
    width: clamp(120px, 13vw, 168px); height: clamp(52px, 5.4vw, 72px);
    border-radius: clamp(12px, 1.4vw, 20px);
    background: linear-gradient(155deg, #ff6a34, #f2401b);
    display: grid; align-items: start; justify-content: center; gap: 6px; grid-auto-flow: column;
    padding-top: clamp(9px, 1vw, 14px);
    box-shadow: 0 16px 34px rgba(249, 82, 40, .34);
    z-index: 0;
}
.inner-services__chip i { width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: .9; }

.inner-panel {
    position: relative; z-index: 1;
    background: #fff; border: 1px solid rgba(249, 82, 40, .55);
    border-radius: var(--radius-lg); padding: clamp(1rem, .5rem + 1.5vw, 2rem);
    display: grid; gap: clamp(1rem, .5rem + 1.6vw, 2rem);
    box-shadow: 0 20px 50px rgba(16, 28, 44, .07);
}
.inner-block {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.1rem, .6rem + 1.6vw, 2.5rem); align-items: center;
    padding: clamp(1rem, .5rem + 1.2vw, 1.75rem);
    border-radius: var(--radius-md);
}
.inner-block--tinted { background: var(--gbm-surface-2); }
.inner-block--flip .inner-block__media { order: -1; }
.inner-block__media { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; }
.inner-block__media img { width: 100%; height: 100%; object-fit: cover; }
.inner-block__icon { width: 46px; height: 46px; margin-bottom: 1.1rem; }
.inner-block__icon img { width: 100%; height: 100%; }
.inner-block h2, .inner-block h3 { margin-bottom: .9rem; font-size: clamp(1.05rem, .9rem + .55vw, 1.4rem); }
.inner-block h2 .inner-block__sub, .inner-block h3 .inner-block__sub { display: block; font-weight: 400; font-size: .72em; color: var(--gbm-body); text-transform: none; letter-spacing: 0; }
.inner-block p { font-size: .95rem; line-height: 1.7; color: var(--gbm-muted); }
.inner-block p strong { color: var(--gbm-body); }
.inner-block--ventajas h2, .inner-block--ventajas h3 { font-size: clamp(1.35rem, 1rem + 1vw, 1.95rem); text-transform: uppercase; letter-spacing: -.01em; }
.inner-block__arrow { display: inline-block; color: var(--gbm-orange); font-size: .7em; line-height: 1; vertical-align: super; }
.inner-panel__foot { display: flex; justify-content: flex-end; }

/* ---------- Diferenciadores ---------- */
.diff__arrow { display: block; text-align: center; color: var(--gbm-muted); margin-bottom: .5rem; }
.diff__arrow svg { margin-inline: auto; }
.diff__grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(.6rem, .3rem + .9vw, 1.1rem);
    background: #f1f2f4; border-radius: var(--radius-md);
    padding: clamp(.6rem, .35rem + .7vw, 1rem);
}
.diff-card {
    background: #fff; border: 2px solid transparent; border-radius: var(--radius-sm);
    padding: clamp(1.3rem, .8rem + 1.4vw, 2.1rem) clamp(.9rem, .6rem + 1vw, 1.4rem) clamp(1.6rem, 1rem + 1.6vw, 2.4rem);
    text-align: center; position: relative; overflow: hidden;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.diff-card__icon { width: 58px; height: 58px; margin: 0 auto 1.2rem; color: var(--gbm-ink); transition: color var(--dur) var(--ease); }
.diff-card p { font-size: 1rem;
               margin: 0;
               line-height: 1.3; color: var(--gbm-muted); }
.diff-card::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
    background: var(--gbm-orange); transform: scaleY(0); transform-origin: bottom;
    transition: transform var(--dur) var(--ease);
}
.diff-card:hover, .diff-card:focus-within, .diff-card.is-lit {
    border-color: var(--gbm-orange); box-shadow: 0 16px 36px rgba(249, 82, 40, .16); transform: translateY(-3px);
}
.diff-card:hover::after, .diff-card:focus-within::after, .diff-card.is-lit::after { transform: scaleY(1); }
.diff-card:hover .diff-card__icon, .diff-card.is-lit .diff-card__icon { color: var(--gbm-orange); }

@media (max-width: 991.98px) {
    .diff__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .inner-block { grid-template-columns: minmax(0, 1fr); }
    .inner-block--flip .inner-block__media { order: 0; }
}
@media (max-width: 575.98px) {
    .diff__grid { grid-template-columns: minmax(0, 1fr); }
}


@media (max-width: 768px) {
    .foto_uno {
        min-height: 300px;
    }

    .foto_dos {
        min-height: 300px;
    }
}