/* iCIEN — Mapa interactivo de cobertura */
.cmap { --k: 1; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 0; border-radius: 22px; overflow: hidden; background: #0f2246; box-shadow: 0 30px 70px -30px rgba(15, 34, 70, .55), 0 0 0 1px rgba(255,255,255,.04) inset; font-family: var(--font-body, Inter, sans-serif); }
.cmap-stage { position: relative; min-height: 760px; overflow: hidden; }
.cmap-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: default; }
.cmap-grat { fill: none; stroke: rgba(255,255,255,.06); stroke-width: calc(var(--k) * .8); }
.cmap-land { stroke: rgba(15,34,70,.9); stroke-width: calc(var(--k) * .7); transition: fill .35s, opacity .35s, filter .35s; }
.cmap-other { fill: #2a4475; opacity: .55; }
.cmap-usa { fill: #2c5d8a; cursor: pointer; }
.cmap-latam { fill: #22675f; cursor: pointer; }
.cmap-mex { fill: #6a5426; }
.cmap-lines { fill: none; pointer-events: none; }
.cmap-uslines { stroke: rgba(255,255,255,.13); stroke-width: calc(var(--k) * .5); }
.cmap-mxstates { stroke: rgba(15,34,70,.45); stroke-width: calc(var(--k) * .45); }
.cmap-mxinner { stroke: #0f2246; stroke-width: calc(var(--k) * 1.3); }
.cmap-region { fill: #a8761a; cursor: pointer; transition: fill .3s, filter .3s; }
.cmap-r-noreste { fill: #c48a1c; } .cmap-r-frontera { fill: #a8761a; } .cmap-r-bajio { fill: #b98220; }
.cmap-r-centro { fill: #cf9628; } .cmap-r-puertos { fill: #9a6c18; } .cmap-r-sureste { fill: #b07c1d; }
.cmap .cmap-world { opacity: 0; transform: scale(1.04); transform-origin: 50% 40%; transition: opacity 1s ease, transform 1.4s cubic-bezier(.2,.7,.2,1); }
.cmap.cmap-play .cmap-world { opacity: 1; transform: none; }
.cmap .cmap-usa, .cmap .cmap-latam, .cmap .cmap-region { opacity: 0; }
.cmap.cmap-play .cmap-usa { animation: cmapFill .8s .5s forwards; }
.cmap.cmap-play .cmap-latam { animation: cmapFill .8s .75s forwards; }
.cmap.cmap-play .cmap-region { animation: cmapFill .7s forwards; animation-delay: calc(.25s + var(--i) * .09s); }
@keyframes cmapFill { to { opacity: 1; } }
.cmap-svg.has-hi .cmap-usa, .cmap-svg.has-hi .cmap-latam, .cmap-svg.has-hi .cmap-region { opacity: .45; }
.cmap-svg.has-hi .cmap-pin { opacity: .35; }
.cmap-svg .is-hi.cmap-usa { fill: #4fb3d9; opacity: 1; filter: url(#cmapGlow); }
.cmap-svg .is-hi.cmap-latam { fill: #39c29a; opacity: 1; filter: url(#cmapGlow); }
.cmap-svg .is-hi.cmap-region { fill: #f3c463; opacity: 1; filter: url(#cmapGlow); }
.cmap-svg .cmap-pin.is-hi { opacity: 1; }
.cmap-svg .cmap-pin.is-hi .cmap-pin-s { transform: scale(calc(var(--k) * 2.1)); }
.cmap-arc-base { fill: none; stroke: rgba(240,184,74,.10); stroke-width: calc(var(--k) * 1); pointer-events: none; }
.cmap-arc { fill: none; stroke: #f3c463; stroke-width: calc(var(--k) * 1.6); stroke-linecap: round; stroke-dasharray: 18 900; stroke-dashoffset: 18; opacity: 0; pointer-events: none; }
.cmap-arc-usa { stroke: #8fd6f0; } .cmap-arc-latam { stroke: #7fe3c3; }
.cmap.cmap-play .cmap-arc { animation: cmapTravel 4.8s linear infinite; }
@keyframes cmapTravel { 0% { stroke-dashoffset: 18; opacity: 0; } 8% { opacity: 1; } 70% { opacity: 1; } 100% { stroke-dashoffset: -880; opacity: 0; } }
.cmap[data-current="mex"] .cmap-arcs, .cmap-mini .cmap-arcs { opacity: .25; }
.cmap-pin { cursor: pointer; transition: opacity .3s; outline: none; }
.cmap-pin-s { transform: scale(calc(var(--k) * 1.25)); transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.cmap-pin:hover .cmap-pin-s, .cmap-pin:focus .cmap-pin-s { transform: scale(calc(var(--k) * 1.9)); }
.cmap[data-current="mex"]:not(.cmap-mini) .cmap-pin-s { transform: scale(calc(var(--k) * 1.05)); }
.cmap[data-current="mex"]:not(.cmap-mini) .cmap-pin:hover .cmap-pin-s, .cmap[data-current="mex"]:not(.cmap-mini) .cmap-pin.is-hi .cmap-pin-s { transform: scale(calc(var(--k) * 1.6)); }
.cmap-pin-body { stroke: rgba(255,255,255,.9); stroke-width: .9; }
.cmap-pin-mex .cmap-pin-body { fill: #e8a628; } .cmap-pin-usa .cmap-pin-body { fill: #3ea6d1; } .cmap-pin-latam .cmap-pin-body { fill: #24b48a; }
.cmap-pin-dot { fill: #fff; }
.cmap-pin-shadow { fill: rgba(0,0,0,.35); }
.cmap-pin-drop { opacity: 0; transform: translateY(-40px); }
.cmap.cmap-play .cmap-pin-drop { animation: cmapDrop .7s cubic-bezier(.3,1.5,.5,1) forwards; }
@keyframes cmapDrop { 0% { opacity: 0; transform: translateY(-40px); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.cmap-pulse { fill: none; stroke: #f3c463; stroke-width: 1.2; opacity: 0; transform-origin: 0 0; }
.cmap.cmap-play .cmap-pulse { animation: cmapPulse 2.6s ease-out 1.6s infinite; }
.cmap.cmap-play .cmap-pulse2 { animation-delay: 2.9s; }
@keyframes cmapPulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.cmap-rlabel { font-family: var(--font-display, Outfit, sans-serif); font-weight: 600; fill: #fff; text-anchor: middle; font-size: calc(var(--k) * 13px); paint-order: stroke; stroke: rgba(15,34,70,.75); stroke-width: calc(var(--k) * 3px); opacity: 0; transition: opacity .5s; pointer-events: none; letter-spacing: .02em; }
.cmap[data-current="mex"] .cmap-rlabel { opacity: .92; }
.cmap-rlabel.is-hi { fill: #ffe3a3; }
.cmap-tip { position: absolute; z-index: 3; pointer-events: none; transform: translate(-50%, calc(-100% - 16px)); background: rgba(255,255,255,.97); color: #0f2246; padding: 8px 12px; border-radius: 10px; font-size: 13px; line-height: 1.35; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); opacity: 0; transition: opacity .15s; white-space: nowrap; }
.cmap-tip.show { opacity: 1; }
.cmap-tip strong { display: block; font-family: var(--font-display, Outfit, sans-serif); font-size: 14px; }
.cmap-tip span { font-size: 12px; font-weight: 600; }
.cmap-c-mex { color: #b87814; } .cmap-c-usa { color: #1f7fa8; } .cmap-c-latam { color: #168a68; }
.cmap-panel { position: relative; z-index: 2; background: linear-gradient(180deg, #13295a 0%, #0f2246 100%); color: #e9eef8; padding: 26px 24px; display: flex; flex-direction: column; gap: 20px; border-left: 1px solid rgba(255,255,255,.07); }
.cmap-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cmap-tab { appearance: none; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #cfd9ee; font: 600 13px/1.2 var(--font-display, Outfit, sans-serif); padding: 10px 8px; border-radius: 10px; cursor: pointer; transition: all .2s; }
.cmap-tab:hover { background: rgba(255,255,255,.1); color: #fff; }
.cmap-tab.active { background: #d4961e; border-color: #d4961e; color: #0f2246; }
.cmap-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: 16px; padding: 20px; min-height: 210px; animation: cmapCard .35s ease; }
@keyframes cmapCard { from { opacity: .3; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.cmap-card-eyebrow { font: 600 11px/1.3 var(--font-display, Outfit, sans-serif); text-transform: uppercase; letter-spacing: .12em; color: #9fb0d0; }
.cmap-card .cmap-c-mex { color: #f0b84a; } .cmap-card .cmap-c-usa { color: #8fd6f0; } .cmap-card .cmap-c-latam { color: #7fe3c3; }
.cmap-card-title { font: 700 24px/1.2 var(--font-display, Outfit, sans-serif); color: #fff; margin: 6px 0 12px; }
.cmap-badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; margin: 0 6px 8px 0; }
.cmap-badge-mex { background: rgba(212,150,30,.18); color: #f3c463; } .cmap-badge-usa { background: rgba(79,179,217,.16); color: #8fd6f0; }
.cmap-badge-latam { background: rgba(57,194,154,.16); color: #7fe3c3; } .cmap-badge-base { background: rgba(255,255,255,.1); color: #fff; }
.cmap-list { font-size: 13px; line-height: 1.6; color: #c3cee5; margin: 8px 0 14px; }
.cmap-cta { display: inline-flex; align-items: center; gap: 8px; background: #d4961e; color: #0f2246; font: 700 14px/1 var(--font-display, Outfit, sans-serif); padding: 12px 16px; border-radius: 10px; text-decoration: none; transition: transform .2s, background .2s; }
.cmap-cta:hover { background: #f0b84a; transform: translateX(3px); }
.cmap-card-rows { display: flex; flex-direction: column; gap: 10px; }
.cmap-row { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.04); color: #fff; text-decoration: none; transition: background .2s, transform .2s; }
.cmap-row:hover { background: rgba(255,255,255,.1); transform: translateX(3px); }
.cmap-row strong { display: block; font-family: var(--font-display, Outfit, sans-serif); font-size: 15px; }
.cmap-row em { font-style: normal; font-size: 12px; color: #a9b8d6; }
.cmap-arrow { color: #f0b84a; font-weight: 700; }
.cmap-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; flex: none; box-shadow: 0 0 0 4px rgba(255,255,255,.06); }
.cmap-row-mex .cmap-dot, .cmap-leg-mex .cmap-dot { background: #e8a628; } .cmap-row-usa .cmap-dot, .cmap-leg-usa .cmap-dot { background: #3ea6d1; } .cmap-row-latam .cmap-dot, .cmap-leg-latam .cmap-dot { background: #24b48a; }
.cmap-legend { display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: #c3cee5; }
.cmap-legend-title { font: 600 11px/1 var(--font-display, Outfit, sans-serif); text-transform: uppercase; letter-spacing: .12em; color: #8293b6; margin-bottom: 2px; }
.cmap-leg { display: flex; gap: 10px; align-items: center; } .cmap-leg strong { color: #fff; }
.cmap-hint { font-size: 12px; color: #8293b6; margin: auto 0 0; line-height: 1.5; }
.cmap-leaving .cmap-svg { transition: opacity .25s; opacity: .6; }
.cmap-mini { grid-template-columns: 1fr; border-radius: 18px; }
.cmap-mini .cmap-stage { min-height: 0; aspect-ratio: 16 / 9; }
.cmap-mini .cmap-pin-s { transform: scale(calc(var(--k) * 1.35)); }
.cmap-mini .cmap-pin:hover .cmap-pin-s, .cmap-mini .cmap-pin.is-hi .cmap-pin-s { transform: scale(calc(var(--k) * 2)); }
@media (max-width: 900px) {
  .cmap { grid-template-columns: 1fr; }
  .cmap-stage { min-height: 0; aspect-ratio: 4 / 5; }
  .cmap-panel { border-left: 0; border-top: 1px solid rgba(255,255,255,.07); padding: 20px 16px; }
  .cmap-tabs { grid-template-columns: repeat(4, 1fr); }
  .cmap-tab { font-size: 12px; padding: 9px 4px; }
  .cmap-mini .cmap-stage { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .cmap * { animation: none !important; transition: none !important; }
  .cmap .cmap-world, .cmap .cmap-usa, .cmap .cmap-latam, .cmap .cmap-region, .cmap .cmap-pin-drop { opacity: 1; transform: none; }
}