:root {
    --azul-safeway: #0F3B63;
    --azul-dark: #0B1E33;
    --turquesa-safeway: #0F6E70;
    --turquesa-profundo: #0B555B;
    --turquesa-light: #14A3A6;
    --carbon-safeway: #1E293B;
    --gris-claro: #F1F5F9;
    --blanco: #FFFFFF;
    --accent-red: #EF4444;
    --accent-yellow: #F59E0B;
    --accent-green: #10B981;

    --fuente-titulos: 'Montserrat', sans-serif;
    --fuente-cuerpo: 'Inter', sans-serif;

    --shadow: 0 10px 40px rgba(15, 59, 99, 0.12);
    --shadow-heavy: 0 20px 60px rgba(15, 59, 99, 0.2);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fuente-cuerpo);
    font-size: 17px;
    color: var(--carbon-safeway);
    line-height: 1.75;
    background: var(--blanco);
    overflow-x: hidden;
}

p {
    font-size: 1rem;
}

li {
    font-size: 1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background: var(--gris-claro);
}

.bg-dark {
    background: var(--azul-dark);
    color: var(--blanco);
}

.bg-dark-alt {
    background: #06111C;
    color: var(--blanco);
}

.text-turquesa {
    color: var(--turquesa-safeway);
}

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--azul-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.loader-logo {
    height: 60px;
    background: var(--blanco);
    border-radius: 8px;
    padding: 8px 16px;
    animation: logoPulse 1.5s ease-in-out infinite;
}

@keyframes logoPulse {

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

    50% {
        opacity: 0.7;
        transform: scale(0.97);
    }
}

.loader-bar {
    width: 220px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background: var(--turquesa-safeway);
    border-radius: 2px;
    animation: loadProgress 1.4s ease-out forwards;
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(15, 110, 112, 0.12);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo-box {
    background: transparent;
    border-radius: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
    box-shadow: none;
    border: none;
}

.logo-box:hover {
    transform: translateY(-2px) scale(1.04);
}

.footer-logo-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 8px 16px;
    display: inline-block;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.footer-logo-box:hover {
    transform: translateY(-2px) scale(1.04);
    background: var(--blanco);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.brand-logo,
.logo-box img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.footer-logo-box img {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--carbon-safeway);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--turquesa-safeway);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--azul-safeway);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu .btn-cta {
    background: linear-gradient(135deg, var(--turquesa-safeway), var(--turquesa-profundo));
    color: var(--blanco) !important;
    padding: 10px 22px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(15, 110, 112, 0.4);
}

.nav-menu .btn-cta::after {
    display: none;
}

.nav-menu .btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 110, 112, 0.6);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--carbon-safeway);
    border-radius: 2px;
    transition: var(--transition);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-bottom: 40px;
}

#three-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(6, 17, 28, 0.95) 40%, rgba(6, 17, 28, 0.5) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding-top: clamp(100px, 14vh, 140px);
}

.hero-content {
    max-width: 780px;
    color: var(--blanco);
}

.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 110, 112, 0.25);
    border: 1px solid rgba(15, 110, 112, 0.6);
    color: var(--turquesa-light);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: clamp(11px, 1vw, 12px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: clamp(14px, 2.5vh, 28px);
    animation: fadeInDown 0.7s ease-out;
}

.hero-content h1 {
    font-family: var(--fuente-titulos);
    font-size: clamp(28px, 4.2vw, 52px);
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: clamp(14px, 2.2vh, 22px);
    letter-spacing: -0.5px;
    animation: fadeInUp 0.7s ease-out 0.1s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--turquesa-light), #4DD0E1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .subtitle {
    font-size: clamp(14px, 1.35vw, 17px);
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: clamp(20px, 3.5vh, 36px);
    font-weight: 400;
    max-width: 640px;
    line-height: 1.65;
    animation: fadeInUp 0.7s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeInUp 0.7s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.5vw, 25px);
    margin-top: clamp(25px, 4.5vh, 45px);
    padding-top: clamp(15px, 2.5vh, 25px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    animation: fadeInUp 0.7s ease-out 0.4s both;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--fuente-titulos);
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    color: var(--blanco);
    line-height: 1;
}

.stat-label {
    font-size: clamp(10px, 0.9vw, 12px);
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 3px;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.scroll-hint span {
    display: block;
    width: 6px;
    height: 6px;
    background: var(--turquesa-safeway);
    border-radius: 50%;
    animation: scrollBounce 1.5s infinite;
}

.scroll-hint span:nth-child(2) {
    animation-delay: 0.25s;
}

@keyframes scrollBounce {

    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(8px);
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    font-family: var(--fuente-cuerpo);
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--turquesa-safeway);
    color: var(--blanco);
    border-color: var(--turquesa-safeway);
    box-shadow: 0 4px 20px rgba(15, 110, 112, 0.35);
}

.btn-primary:hover {
    background: var(--turquesa-profundo);
    border-color: var(--turquesa-profundo);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(15, 110, 112, 0.5);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    transition: 0.6s;
    opacity: 0;
}

.btn-glow:hover::before {
    top: -50%;
    left: -50%;
    opacity: 1;
}

.btn-outline {
    background: transparent;
    color: var(--blanco);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--blanco);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 12px;
    color: var(--turquesa-safeway);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--fuente-titulos);
    font-size: 44px;
    font-weight: 800;
    color: var(--azul-safeway);
    line-height: 1.2;
}

.section-desc {
    font-size: 17px;
    color: #64748B;
    max-width: 640px;
    margin: 14px auto 0;
    line-height: 1.8;
}

.divider {
    width: 55px;
    height: 4px;
    background: linear-gradient(to right, var(--turquesa-safeway), var(--turquesa-light));
    margin: 20px auto 0;
    border-radius: 2px;
}

.services-swiper {
    padding-bottom: 50px !important;
}

.service-slide {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    height: 420px;
    cursor: pointer;
}

.service-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-slide:hover img {
    transform: scale(1.08);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(6, 17, 28, 0.97) 0%, rgba(6, 17, 28, 0.6) 60%, transparent 100%);
    padding: 30px 25px 25px;
    color: var(--blanco);
    transform: translateY(30px);
    transition: var(--transition);
}

.service-slide:hover .slide-overlay {
    transform: translateY(0);
}

.slide-icon {
    font-size: 28px;
    color: var(--turquesa-light);
    margin-bottom: 10px;
}

.slide-overlay h3 {
    font-family: var(--fuente-titulos);
    font-size: 18px;
    margin-bottom: 8px;
}

.slide-overlay p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    line-height: 1.5;
}

.btn-slide-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--turquesa-light);
    text-decoration: none;
    transition: var(--transition);
}

.btn-slide-link:hover {
    gap: 10px;
}

.swiper-button-prev,
.swiper-button-next {
    background: rgba(15, 110, 112, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(20, 163, 166, 0.3) !important;
    border-radius: 50% !important;
    width: 46px !important;
    height: 46px !important;
    color: var(--blanco) !important;
    transition: var(--transition) !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--turquesa-safeway) !important;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(15, 110, 112, 0.5) !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 16px !important;
    font-weight: 800 !important;
}

.swiper-pagination-bullet {
    background: var(--azul-safeway) !important;
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    background: var(--turquesa-safeway) !important;
    opacity: 1;
    width: 20px !important;
    border-radius: 3px !important;
    transition: all 0.3s ease !important;
}

.simulador-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.glass-panel-dark {
    background: rgba(15, 30, 55, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 110, 112, 0.2);
    border-radius: var(--radius);
    padding: 35px;
}

.sortable-wrapper h3 {
    font-family: var(--fuente-titulos);
    font-size: 18px;
    color: var(--blanco);
    margin-bottom: 5px;
}

.sort-hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 25px;
}

.sortable-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sortable-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: grab;
    transition: var(--transition);
    color: var(--blanco);
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.sortable-item:active {
    cursor: grabbing;
}

.sortable-item.dragging {
    opacity: 0.45;
    border-style: dashed;
    border-color: var(--turquesa-safeway);
    cursor: grabbing;
}

.drag-handle {
    color: rgba(255, 255, 255, 0.3);
    font-size: 16px;
}

.item-rank {
    width: 28px;
    height: 28px;
    background: var(--turquesa-profundo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.item-info {
    flex-grow: 1;
    min-width: 0;
}

.item-move {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-shrink: 0;
}

.move-btn {
    width: 28px;
    height: 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    cursor: pointer;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.move-btn:hover {
    background: var(--turquesa-safeway);
    border-color: var(--turquesa-safeway);
    color: var(--blanco);
}

.move-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.item-info strong {
    font-size: 14px;
    display: block;
    color: var(--blanco);
}

.item-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.simulador-resultado-card {
    text-align: center;
}

.simulador-resultado-card h3 {
    font-family: var(--fuente-titulos);
    font-size: 17px;
    color: var(--blanco);
    margin-bottom: 25px;
}

.risk-gauge svg {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    display: block;
}

.risk-verdict {
    font-family: var(--fuente-titulos);
    font-size: 18px;
    font-weight: 700;
    margin: 15px 0 10px;
    color: var(--blanco);
}

.risk-verdict.bajo {
    color: var(--accent-green);
}

.risk-verdict.medio {
    color: var(--accent-yellow);
}

.risk-verdict.alto {
    color: var(--accent-red);
}

.risk-tip {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.sectors-swiper {
    padding-bottom: 50px !important;
}

.sector-slide {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    height: 280px;
}

.sector-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: var(--transition);
}

.sector-slide:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.sector-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(6, 17, 28, 0.9) 0%, transparent 100%);
    padding: 20px 18px 14px;
    color: var(--blanco);
    font-family: var(--fuente-titulos);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sector-label i {
    color: var(--turquesa-light);
}

.map-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 30px;
    align-items: stretch;
    min-height: 480px;
}

.map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    border: 2px solid rgba(15, 110, 112, 0.2);
    height: 100%;
    min-height: 480px;
    display: flex;
    flex-direction: column;
}

.map-frame iframe {
    display: block;
    flex: 1;
    width: 100%;
    height: 100% !important;
    min-height: 480px;
    border: 0;
}

#leaflet-map,
#leaflet-map-cobertura {
    width: 100%;
    height: 100%;
    min-height: 480px;
    border-radius: var(--radius);
}

.glass-panel {
    background: var(--blanco);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
}

.map-legend-card h3 {
    font-family: var(--fuente-titulos);
    font-size: 18px;
    color: var(--azul-safeway);
    margin-bottom: 10px;
}

.map-legend-card p {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 25px;
    line-height: 1.6;
}

.base-legend-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.base-legend-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 15px;
    border-radius: 8px;
    background: var(--gris-claro);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.base-legend-item:hover {
    border-color: var(--turquesa-safeway);
    transform: translateX(4px);
    background: var(--blanco);
}

.base-legend-item.active-base {
    border-color: var(--turquesa-safeway);
    background: var(--blanco);
    box-shadow: 0 4px 12px rgba(15, 110, 112, 0.15);
}

.base-legend-item i {
    font-size: 18px;
    margin-top: 3px;
}

.base-legend-item div strong {
    display: block;
    font-size: 14px;
    color: var(--azul-safeway);
}

.base-legend-item div span {
    font-size: 12px;
    color: #64748B;
}

.presence-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 44px;
}

.presence-kpi {
    background: linear-gradient(145deg, var(--azul-safeway), var(--azul-dark));
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    color: var(--blanco);
    box-shadow: var(--shadow);
    border: 1px solid rgba(20, 163, 166, 0.25);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.presence-kpi::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 163, 166, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.presence-kpi:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--turquesa-light);
}

.kpi-icon {
    font-size: 26px;
    color: var(--turquesa-light);
    display: block;
    margin-bottom: 14px;
}

.kpi-value {
    display: block;
    font-family: var(--fuente-titulos);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 8px;
}

.kpi-value .suffix {
    color: var(--turquesa-light);
    font-size: 26px;
}

.kpi-value .prefix {
    font-size: 24px;
    color: var(--turquesa-light);
    margin-right: 2px;
}

.kpi-num {
    display: inline-block;
    min-width: 1ch;
}

.kpi-label {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.alliance-spotlight {
    margin-bottom: 40px;
}

.spotlight-card {
    display: flex;
    align-items: center;
    gap: 22px;
    background: linear-gradient(135deg, rgba(15, 59, 99, 0.05), rgba(15, 110, 112, 0.12));
    border: 1px solid rgba(15, 110, 112, 0.3);
    border-radius: 16px;
    padding: 26px 30px;
    box-shadow: var(--shadow);
}

.spotlight-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--turquesa-safeway), var(--turquesa-profundo));
    color: var(--blanco);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 20px rgba(15, 110, 112, 0.35);
}

.spotlight-text strong {
    display: block;
    font-family: var(--fuente-titulos);
    font-size: 18px;
    color: var(--azul-dark);
    margin-bottom: 6px;
}

.spotlight-text p {
    margin: 0;
    font-size: 14.5px;
    color: #475569;
    line-height: 1.6;
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.pilar-card {
    background: var(--blanco);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
    padding: 40px 35px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: none;
}

.pilar-card.visible {
    animation: slideInUp 0.6s ease-out var(--delay, 0s) forwards;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pilar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.pilar-card:hover .pilar-icon {
    color: var(--turquesa-safeway);
}

.pilar-number {
    font-family: var(--fuente-titulos);
    font-size: 56px;
    font-weight: 900;
    color: rgba(15, 110, 112, 0.08);
    position: absolute;
    top: 20px;
    right: 20px;
    line-height: 1;
}

.pilar-icon {
    font-size: 30px;
    color: var(--azul-safeway);
    margin-bottom: 20px;
    transition: var(--transition);
}

.pilar-card h3 {
    font-family: var(--fuente-titulos);
    font-size: 19px;
    margin-bottom: 14px;
}

.pilar-card p {
    font-size: 14px;
    color: #64748B;
}

.gallery-swiper {
    padding-bottom: 50px !important;
}

.gallery-slide {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    height: 360px;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-slide:hover img {
    transform: scale(1.06);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(6, 17, 28, 0.9) 0%, transparent 100%);
    padding: 20px 20px 16px;
    color: var(--blanco);
    font-weight: 600;
    font-size: 15px;
}

.associations-section {
    padding: 40px 0;
    overflow: hidden;
    background: var(--azul-dark);
}

.assoc-label {
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94A3B8;
    margin-bottom: 20px;
}

.assoc-ticker {
    overflow: hidden;
}

.ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: max-content;
    animation: ticker 26s linear infinite;
}

.ticker-track img,
.ticker-track span {
    margin-right: 60px;
    flex-shrink: 0;
}

.ticker-track span {
    font-family: var(--fuente-titulos);
    font-size: 18px;
    font-weight: 700;
    color: #B0BEC5;
    letter-spacing: 2px;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.site-footer {
    padding: 80px 0 30px;
    background: #FFFFFF !important;
    border-top: 1px solid #E2E8F0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand p {
    color: #475569 !important;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background: #F1F5F9 !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569 !important;
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--turquesa-safeway) !important;
    border-color: var(--turquesa-safeway) !important;
    color: #FFFFFF !important;
}

.footer-grid h4 {
    font-family: var(--fuente-titulos);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--azul-safeway) !important;
    margin-bottom: 22px;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-legal a {
    color: #475569 !important;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--turquesa-safeway) !important;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid #E2E8F0 !important;
    padding-top: 28px;
    text-align: center;
    color: #64748B !important;
    font-size: 13px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(6, 17, 28, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(15, 110, 112, 0.3);
    z-index: 2000;
    padding: 18px 0;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    flex: 1;
    min-width: 250px;
}

.cookie-content a {
    color: var(--turquesa-light);
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-actions .btn-outline {
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

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

#scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--turquesa-safeway), var(--turquesa-light), #4DD0E1);
    z-index: 9998;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(20, 163, 166, 0.6);
}

#back-to-top {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: var(--azul-safeway);
    color: var(--blanco);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(15, 59, 99, 0.35);
    z-index: 900;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
    pointer-events: none;
}

#back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

#back-to-top:hover {
    background: var(--turquesa-safeway);
    box-shadow: 0 6px 25px rgba(15, 110, 112, 0.5);
    transform: translateY(-3px);
}

#fab-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: var(--blanco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
    z-index: 901;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

#fab-whatsapp:hover {
    background: #128C7E;
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
}

#fab-whatsapp .fab-tooltip {
    position: absolute;
    right: 68px;
    background: var(--carbon-safeway);
    color: var(--blanco);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 6px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#fab-whatsapp .fab-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--carbon-safeway);
    border-right: 0;
}

#fab-whatsapp:hover .fab-tooltip {
    opacity: 1;
    transform: translateX(0);
}

#fab-whatsapp::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(37, 211, 102, 0.4);
    border-radius: 50%;
    animation: fabPulse 2.5s ease-out infinite;
}

@keyframes fabPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

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

.breadcrumb-nav {
    padding: 12px 0;
    margin-bottom: 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.breadcrumb li a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb li a:hover {
    color: var(--turquesa-light);
}

.breadcrumb li.active {
    color: var(--turquesa-light);
    font-weight: 600;
}

.breadcrumb li::after {
    content: '/';
    color: rgba(255, 255, 255, 0.25);
    margin-left: 0;
}

.breadcrumb li:last-child::after {
    display: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--turquesa-light);
    outline-offset: 3px;
    border-radius: 4px;
}

@media (max-width: 1200px) {
    .container {
        width: 92%;
    }

    .nav-menu ul {
        gap: 18px;
    }

    .nav-menu a {
        font-size: 13px;
    }

    .nav-menu .btn-cta {
        padding: 8px 16px;
        font-size: 13px;
    }

    .experience-layout {
        gap: 40px;
    }

    .simulador-container {
        gap: 25px;
    }
}

@media (max-width: 1080px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
        z-index: 999;
        position: relative;
    }

    .header-container {
        padding: 8px 0;
    }
}

@media (max-width: 1024px) {
    .section-padding {
        padding: 70px 0;
    }

    .map-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .map-frame {
        height: auto;
        min-height: 380px;
    }

    .map-frame iframe {
        min-height: 380px;
    }

    #leaflet-map,
    #leaflet-map-cobertura {
        min-height: 380px;
    }

    .simulador-container {
        grid-template-columns: 1fr;
    }

    .experience-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

.nav-menu.mobile-open {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(6, 17, 28, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 998;
}

.nav-menu.mobile-open ul {
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.nav-menu.mobile-open a {
    font-size: 20px !important;
    font-weight: 700;
    color: var(--blanco) !important;
}

.nav-menu.mobile-open a:hover,
.nav-menu.mobile-open a.active {
    color: var(--turquesa-light) !important;
}

.nav-menu.mobile-open .btn-cta {
    font-size: 18px !important;
    padding: 14px 28px !important;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 11px;
    }

    .section-padding {
        padding: 55px 0;
    }

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

    .badge-premium {
        font-size: 11px;
    }

    .services-swiper,
    .gallery-swiper {
        padding-bottom: 40px !important;
    }

    .service-slide {
        height: 320px;
    }

    .gallery-slide {
        height: 260px;
    }

    .sortable-item {
        flex-wrap: wrap;
    }

    .item-info p {
        display: none;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .ticker-track span {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .section-title {
        font-size: 22px;
    }

    .hero-card {
        padding: 30px 20px;
    }

    .container {
        width: 94%;
    }

    .stat-divider {
        display: none;
    }

    #back-to-top {
        bottom: 90px;
        right: 18px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    #fab-whatsapp {
        bottom: 20px;
        right: 18px;
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
}

.testimonials-section {
    background: var(--carbon-safeway);
    color: var(--blanco);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(15, 110, 112, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.testimonials-section .section-title {
    color: var(--blanco) !important;
}

.testimonials-section .section-subtitle {
    color: var(--turquesa-light) !important;
}

.testimonials-swiper {
    padding: 20px 0 60px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--turquesa-safeway);
}

.testimonial-quote {
    font-size: 16px;
    line-height: 1.7;
    color: #E2E8F0;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-quote::before {
    content: '“';
    font-family: 'Montserrat', sans-serif;
    font-size: 80px;
    color: rgba(15, 110, 112, 0.2);
    position: absolute;
    top: -40px;
    left: -20px;
    line-height: 1;
}

.testimonial-client {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--azul-safeway);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--blanco) !important;
    border: 2px solid var(--turquesa-safeway);
    font-size: 18px;
    flex-shrink: 0;
}

.client-details h4 {
    font-family: var(--fuente-titulos);
    font-size: 16px;
    color: var(--blanco) !important;
    margin: 0 0 4px;
}

.client-details p {
    font-size: 13px;
    color: #94A3B8 !important;
    margin: 0;
}

/* ==========================================
   WHATSAPP CHAT POPUP
   ========================================== */
.whatsapp-chat-popup {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 320px;
    background: var(--blanco);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease;
}

.whatsapp-chat-popup.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.chat-header {
    background: #075E54;
    color: var(--blanco) !important;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.chat-avatar {
    position: relative;
    width: 40px;
    height: 40px;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #4CAF50;
    border-radius: 50%;
    border: 2px solid #075E54;
}

.chat-user-info h4 {
    font-family: var(--fuente-titulos);
    font-size: 14px;
    margin: 0 0 2px;
    color: var(--blanco) !important;
}

.chat-user-info p {
    font-size: 11px;
    color: #CFD8DC !important;
    margin: 0;
}

#close-chat-popup {
    background: none;
    border: none;
    color: var(--blanco) !important;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 12px;
    right: 15px;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

#close-chat-popup:hover {
    opacity: 1;
}

.chat-body {
    background: #ECE5DD;
    padding: 15px;
    min-height: 80px;
}

.chat-message {
    background: var(--blanco);
    padding: 10px 14px;
    border-radius: 0 10px 10px 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    position: relative;
}

.chat-message p {
    font-size: 13px;
    color: var(--carbon-safeway) !important;
    margin: 0 0 4px;
    line-height: 1.4;
}

.chat-time {
    font-size: 9px;
    color: #90A4AE;
    display: block;
    text-align: right;
}

.chat-footer {
    padding: 12px 15px;
    background: var(--blanco);
    display: flex;
    justify-content: center;
}

.chat-send-btn {
    background: #25D366;
    color: var(--blanco);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    transition: background 0.3s;
}

.chat-send-btn:hover {
    background: #128C7E;
}

@media (max-width: 480px) {
    .whatsapp-chat-popup {
        bottom: 80px;
        right: 15px;
        width: calc(100% - 30px);
    }
}

.ticker-track img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.6);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.ticker-track img:hover {
    filter: none opacity(1);
    transform: scale(1.05);
}

.assoc-ticker {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 10px 0;
}

.assoc-ticker::before,
.assoc-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.assoc-ticker::before {
    left: 0;
    background: linear-gradient(to right, var(--azul-dark) 0%, transparent 100%);
}

.assoc-ticker::after {
    right: 0;
    background: linear-gradient(to left, var(--azul-dark) 0%, transparent 100%);
}

.assoc-ticker:hover .ticker-track,
.assoc-ticker:active .ticker-track,
.assoc-ticker:focus-within .ticker-track {
    animation-play-state: paused;
}

/* ==========================================
   VIDEO SHOWCASE SECTION
   ========================================== */
.video-showcase-section {
    background: var(--gris-claro);
}

.video-player-container {
    max-width: 900px;
    margin: 40px auto 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    border: 4px solid var(--blanco);
    background: #000000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-player-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(15, 59, 99, 0.3);
}

.showcase-video {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   TOPBAR
   ========================================== */
.site-topbar {
    background: var(--azul-dark);
    color: #CBD5E1;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(20, 163, 166, 0.25);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
}

.topbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.2px;
}

.topbar-item i {
    color: var(--turquesa-light);
}

.topbar-right {
    margin-left: auto;
}

.site-header {
    top: 38px;
}

/* ==========================================
   EXPERIENCE SECTION (30+ años + stats)
   ========================================== */
.experience-section {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(135deg, var(--azul-safeway) 0%, var(--azul-dark) 100%);
    color: var(--blanco);
    overflow: hidden;
}

.experience-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 163, 166, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.experience-layout {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.experience-content .section-subtitle {
    color: var(--turquesa-light);
}

.experience-content .section-title {
    color: var(--blanco);
    margin-bottom: 18px;
}

.experience-content .section-desc {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 24px 18px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--turquesa-light);
    background: rgba(255, 255, 255, 0.1);
}

.stat-item .stat-value {
    display: block;
    font-family: var(--fuente-titulos);
    font-size: 40px;
    font-weight: 800;
    color: var(--blanco);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item .stat-suffix {
    color: var(--turquesa-light);
}

.stat-item .stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: block;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(20, 163, 166, 0.35);
    border-radius: 30px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blanco);
    backdrop-filter: blur(6px);
    transition: var(--transition);
}

.trust-badge i {
    color: var(--turquesa-light);
}

.trust-badge:hover {
    background: rgba(20, 163, 166, 0.18);
    border-color: var(--turquesa-light);
    transform: translateY(-2px);
}

/* ==========================================
   SERVICES GRID (tarjetas visuales premium)
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 28px;
    margin-top: 20px;
}

.service-card {
    background: var(--blanco);
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card:hover {
    box-shadow: var(--shadow-heavy);
    transform: translateY(-6px);
    border-color: var(--turquesa-safeway);
}

.service-card:focus-within {
    box-shadow: var(--shadow-heavy);
    border-color: var(--turquesa-safeway);
}

.service-media {
    position: relative;
    height: 190px;
    overflow: hidden;
}

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

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

.service-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(11, 30, 51, 0.15) 0%, rgba(11, 30, 51, 0.75) 100%);
}

.service-icon {
    position: absolute;
    left: 20px;
    top: calc(190px - 26px);
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--turquesa-safeway), var(--turquesa-profundo));
    color: var(--blanco);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 3;
    box-shadow: 0 8px 20px rgba(15, 110, 112, 0.4);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-4deg);
}

.service-number {
    position: absolute;
    top: 14px;
    right: 18px;
    font-family: var(--fuente-titulos);
    font-size: 42px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.service-body {
    display: flex;
    flex-direction: column;
    padding: 38px 24px 26px;
    flex-grow: 1;
}

.service-title {
    display: block;
    font-family: var(--fuente-titulos);
    font-size: 18px;
    font-weight: 700;
    color: var(--azul-dark);
    margin-bottom: 10px;
}

.service-short {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    flex-grow: 1;
}

.service-features li {
    position: relative;
    padding: 6px 0 6px 26px;
    font-size: 13.5px;
    color: var(--carbon-safeway);
}

.service-features li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--turquesa-safeway);
    position: absolute;
    left: 0;
    top: 6px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--turquesa-safeway);
    text-decoration: none;
    transition: color 0.3s ease, gap 0.3s ease;
    align-self: flex-start;
    padding-top: 14px;
    border-top: 1px solid #EEF2F7;
    width: 100%;
}

.service-link:hover {
    color: var(--turquesa-profundo);
    gap: 12px;
}

/* ==========================================
   STEPS (Así Funcionamos)
   ========================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.step-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 34px 26px;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: var(--turquesa-safeway);
    background: rgba(255, 255, 255, 0.07);
}

.step-number {
    font-family: var(--fuente-titulos);
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--turquesa-safeway);
    margin-bottom: 18px;
    display: block;
}

.step-card h3 {
    font-family: var(--fuente-titulos);
    font-size: 18px;
    color: var(--blanco);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.steps-progress {
    position: relative;
    max-width: 700px;
    margin: 44px auto 0;
    padding: 0 12px;
}

.steps-progress-track {
    position: relative;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    overflow: visible;
}

.steps-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--turquesa-safeway), var(--turquesa-light));
    animation: stepsFill 7s linear infinite;
}

.steps-progress-node {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--turquesa-safeway);
    background: var(--azul-dark);
    box-shadow: 0 0 0 4px rgba(15, 110, 112, 0.15);
    z-index: 1;
    animation: stepsNodeGlow 7s linear infinite;
}

.steps-progress-node:nth-of-type(2) { animation-delay: 1.75s; }
.steps-progress-node:nth-of-type(3) { animation-delay: 3.5s; }
.steps-progress-node:nth-of-type(4) { animation-delay: 5.25s; }

@keyframes stepsFill {
    0%, 22% { width: 0; }
    23%, 47% { width: 32%; }
    48%, 72% { width: 64%; }
    73%, 100% { width: 96%; }
}

@keyframes stepsNodeGlow {
    0%, 20% {
        background: var(--turquesa-light);
        box-shadow: 0 0 0 6px rgba(20, 163, 166, 0.35), 0 0 14px rgba(20, 163, 166, 0.7);
    }
    22%, 100% {
        background: var(--azul-dark);
        box-shadow: 0 0 0 4px rgba(15, 110, 112, 0.15);
    }
}

@media (max-width: 768px) {
    .steps-progress {
        max-width: 90%;
        margin-top: 34px;
    }
    .steps-progress-node {
        width: 14px;
        height: 14px;
    }
}

/* ==========================================
   CERTIFICATIONS
   ========================================== */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.cert-card {
    background: var(--blanco);
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 28px 26px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-4px);
    border-color: var(--turquesa-safeway);
    box-shadow: var(--shadow-heavy);
}

.cert-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(15, 110, 112, 0.12);
    color: var(--turquesa-safeway);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.cert-card h3 {
    font-family: var(--fuente-titulos);
    font-size: 16px;
    color: var(--azul-dark);
    margin-bottom: 8px;
    line-height: 1.35;
}

.cert-card p {
    font-size: 14px;
    color: #64748B;
    margin: 0;
}

/* ==========================================
   ALLIANCES
   ========================================== */
.alliances-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.alliance-card {
    background: var(--blanco);
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 26px 22px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.alliance-card:hover {
    transform: translateY(-5px);
    border-color: var(--turquesa-safeway);
    box-shadow: var(--shadow-heavy);
}

.alliance-logo-wrap {
    width: 90px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.alliance-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(32%) sepia(20%) saturate(700%) hue-rotate(160deg) brightness(90%);
    transition: filter 0.3s ease;
}

.alliance-card:hover .alliance-logo {
    filter: none;
}

.alliance-logo-fallback {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--azul-safeway), var(--turquesa-safeway));
    color: var(--blanco);
    font-family: var(--fuente-titulos);
    font-weight: 700;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alliance-name {
    font-family: var(--fuente-titulos);
    font-size: 15px;
    font-weight: 700;
    color: var(--azul-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.alliance-desc {
    font-size: 13px;
    color: #64748B;
    margin: 0 0 14px;
    line-height: 1.55;
}

.alliance-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--turquesa-safeway);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.alliance-link:hover {
    color: var(--turquesa-profundo);
}

.alliances-note {
    margin-top: 44px;
    background: linear-gradient(135deg, rgba(15, 59, 99, 0.06), rgba(15, 110, 112, 0.1));
    border: 1px solid rgba(15, 110, 112, 0.25);
    border-radius: 14px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.alliances-note i {
    font-size: 34px;
    color: var(--turquesa-safeway);
    flex-shrink: 0;
}

.alliances-note p {
    margin: 0;
    font-size: 15px;
    color: var(--azul-dark);
    font-weight: 500;
    line-height: 1.6;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    position: relative;
    padding: 90px 0;
    background: linear-gradient(120deg, var(--azul-dark) 0%, var(--azul-safeway) 55%, var(--turquesa-profundo) 100%);
    color: var(--blanco);
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(20, 163, 166, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 85% 20%, rgba(20, 163, 166, 0.2) 0%, transparent 45%);
    pointer-events: none;
}

.cta-container {
    position: relative;
}

.cta-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--fuente-titulos);
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 34px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: var(--blanco);
    padding: 14px 32px;
    border-radius: 10px;
    font-family: var(--fuente-titulos);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
}

.cta-trustline {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-trustline span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
}

.cta-trustline span i {
    color: var(--turquesa-light);
    font-size: 16px;
}

/* ==========================================
   RESPONSIVE NEW SECTIONS
   ========================================== */
@media (max-width: 992px) {
    .experience-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .presence-kpis {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .topbar-right {
        display: none;
    }

    .trust-badges {
        gap: 8px;
    }

    .trust-badge {
        padding: 7px 14px;
        font-size: 12px;
    }

    .presence-kpis {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .presence-kpi {
        padding: 20px 14px;
    }

    .kpi-value {
        font-size: 32px;
    }

    .spotlight-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .stat-item .stat-value {
        font-size: 32px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-trustline {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .alliances-note {
        flex-direction: column;
        text-align: center;
    }
}