/* ===========================
   SECCIÓN COBERTURA NACIONAL - VERSIÓN MEJORADA
   =========================== */

#cobertura {
    background: linear-gradient(180deg, var(--blanco) 0%, #FBFCFE 100%);
    padding: 120px 24px 128px;
    position: relative;
    isolation: isolate;
}

/* Patrón de fondo más elaborado */
#cobertura::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 151, 196, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(242, 99, 34, 0.015) 0%, transparent 50%),
        repeating-linear-gradient(45deg, rgba(0, 151, 196, 0.01) 0px, rgba(0, 151, 196, 0.01) 1px, transparent 1px, transparent 20px);
    pointer-events: none;
    z-index: 0;
}

/* ---- Layout principal con más espacio ---- */

.cobertura-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 80px;
    position: relative;
    z-index: 1;
}

/* ---- Lado del mapa - versión premium ---- */

.mapa-uy {
    flex: 1.1;
    background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFE 100%);
    border-radius: 48px;
    padding: 52px 36px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 151, 196, 0.12);
    overflow: hidden;
}

/* Decoración de esquinas */
.mapa-uy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 0% 0%, rgba(0, 151, 196, 0.08) 0%, transparent 70%);
    border-radius: 48px 0 0 0;
    pointer-events: none;
}

.mapa-uy::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 100% 100%, rgba(242, 99, 34, 0.08) 0%, transparent 70%);
    border-radius: 0 0 48px 0;
    pointer-events: none;
}

.mapa-uy:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 48px -18px rgba(0, 151, 196, 0.2);
    border-color: rgba(0, 151, 196, 0.25);
}

/* Icono Uruguay con anillo decorativo */
.mapa-uy-big {
    font-size: 96px;
    margin-bottom: 24px;
    display: inline-block;
    position: relative;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
    animation: float-uy 4s ease-in-out infinite;
}

.mapa-uy-big::after {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 151, 196, 0.2) 0%, transparent 70%);
    z-index: -1;
    animation: pulse-ring-soft 2.5s ease-out infinite;
}

@keyframes pulse-ring-soft {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes float-uy {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.mapa-uy h3 {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--negro) 0%, #1A2A3A 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin: 0 0 12px;
    letter-spacing: -0.8px;
}

.mapa-uy > p {
    font-size: 15px;
    color: #5A7A96;
    margin: 0 0 32px;
    font-weight: 500;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.mapa-uy > p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--celeste), var(--naranja));
    border-radius: 2px;
}

/* Grid de departamentos - estilo más premium */
.departamentos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.dept {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 151, 196, 0.08) 0%, rgba(0, 151, 196, 0.03) 100%);
    color: var(--celeste-dark);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 40px;
    transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: default;
    border: 1px solid rgba(0, 151, 196, 0.15);
    letter-spacing: 0.3px;
}

.dept:hover {
    background: linear-gradient(135deg, var(--celeste) 0%, #0084B0 100%);
    color: var(--blanco);
    transform: translateY(-3px) scale(1.02);
    border-color: transparent;
    box-shadow: 0 6px 14px rgba(0, 151, 196, 0.25);
}

/* ---- Lado del contenido - refinado ---- */

.cobertura-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Header con más estilo */
.cobertura-content .section-header {
    text-align: left;
    margin-bottom: 40px;
}

.cobertura-content .section-tag {
    background: linear-gradient(135deg, rgba(242, 99, 34, 0.12) 0%, rgba(242, 99, 34, 0.05) 100%);
    border: 1px solid rgba(242, 99, 34, 0.2);
    color: var(--naranja);
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    backdrop-filter: blur(4px);
}

.cobertura-content .section-title {
    font-size: clamp(32px, 4vw, 44px);
    margin: 0 0 16px;
    letter-spacing: -1.2px;
}

.cobertura-content .section-title span {
    background: linear-gradient(135deg, var(--celeste) 0%, #0096C4 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.cobertura-content .section-title span::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(0, 151, 196, 0.2);
    border-radius: 4px;
    z-index: -1;
}

.cobertura-content .section-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--naranja), var(--celeste));
    border-radius: 4px;
    margin: 0;
}

/* ---- Puntos de cobertura - más elegantes ---- */

.cobertura-points {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cob-point {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 12px 0;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.cob-point:last-child {
    border-bottom: none;
}

.cob-point:hover {
    transform: translateX(12px);
}

.cob-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE8E0 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 4px 12px rgba(242, 99, 34, 0.1);
    border: 1px solid rgba(242, 99, 34, 0.15);
}

.cob-point:hover .cob-icon {
    background: linear-gradient(135deg, var(--naranja) 0%, #D64A1A 100%);
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 8px 20px rgba(242, 99, 34, 0.25);
    border-color: transparent;
}

.cob-point:hover .cob-icon span,
.cob-point:hover .cob-icon {
    color: white;
}

.cob-point div {
    flex: 1;
}

.cob-point strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--negro);
    margin-bottom: 8px;
    transition: all 0.25s ease;
    letter-spacing: -0.3px;
}

.cob-point:hover strong {
    color: var(--naranja);
    transform: translateX(2px);
}

.cob-point span {
    font-size: 14px;
    color: #6A7C8F;
    line-height: 1.55;
    display: block;
}

/* Badge decorativo para cada punto */
.cob-point::before {
    content: '';
    position: absolute;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--celeste), var(--naranja));
    border-radius: 3px;
    transition: height 0.35s ease;
    opacity: 0;
}

.cob-point:hover::before {
    height: 100%;
    opacity: 1;
}

.cob-point {
    position: relative;
    padding-left: 12px;
}

/* ---- Animaciones reveal mejoradas ---- */

#cobertura .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

#cobertura .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.mapa-uy.reveal {
    transition-delay: 0.1s;
}

.cobertura-content.reveal {
    transition-delay: 0.2s;
}

/* Efecto de aparición escalonada para los puntos */
.cob-point.reveal {
    transition-delay: calc(0.05s * var(--index, 1));
}

/* ---- Responsive mejorado ---- */

@media (max-width: 1100px) {
    .cobertura-inner {
        gap: 60px;
    }
    
    .mapa-uy {
        padding: 40px 28px;
    }
    
    .mapa-uy-big {
        font-size: 80px;
    }
    
    .mapa-uy h3 {
        font-size: 28px;
    }
}

@media (max-width: 1024px) {
    .cobertura-inner {
        gap: 48px;
    }
    
    .mapa-uy {
        flex: 1;
        padding: 36px 24px;
    }
    
    .mapa-uy-big {
        font-size: 70px;
    }
    
    .mapa-uy h3 {
        font-size: 26px;
    }
    
    .cob-point strong {
        font-size: 17px;
    }
    
    .cob-icon {
        width: 52px;
        height: 52px;
        font-size: 24px;
    }
}

@media (max-width: 900px) {
    #cobertura {
        padding: 80px 24px 88px;
    }
    
    .cobertura-inner {
        flex-direction: column;
        gap: 56px;
    }
    
    .mapa-uy {
        max-width: 560px;
        width: 100%;
        margin: 0 auto;
    }
    
    .cobertura-content {
        max-width: 650px;
        width: 100%;
        margin: 0 auto;
    }
    
    .cobertura-content .section-header {
        text-align: center;
    }
    
    .cobertura-content .section-line {
        margin: 0 auto;
    }
    
    .cobertura-points {
        max-width: 550px;
        margin: 0 auto;
    }
    
    .cob-point {
        padding: 8px 0 8px 12px;
    }
}

@media (max-width: 768px) {
    #cobertura {
        padding: 64px 20px 72px;
    }
    
    .cobertura-inner {
        gap: 48px;
    }
    
    .mapa-uy {
        padding: 36px 24px;
        border-radius: 40px;
    }
    
    .mapa-uy::before,
    .mapa-uy::after {
        width: 80px;
        height: 80px;
    }
    
    .mapa-uy-big {
        font-size: 64px;
        margin-bottom: 20px;
    }
    
    .mapa-uy h3 {
        font-size: 24px;
    }
    
    .mapa-uy > p {
        font-size: 13px;
        margin-bottom: 28px;
    }
    
    .departamentos {
        gap: 10px;
    }
    
    .dept {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .cobertura-points {
        gap: 28px;
    }
    
    .cob-point {
        gap: 16px;
        padding: 6px 0 6px 12px;
    }
    
    .cob-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
        border-radius: 18px;
    }
    
    .cob-point strong {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .cob-point span {
        font-size: 13px;
    }
    
    .cob-point:hover {
        transform: translateX(8px);
    }
}

@media (max-width: 480px) {
    #cobertura {
        padding: 56px 16px 64px;
    }
    
    .cobertura-inner {
        gap: 40px;
    }
    
    .mapa-uy {
        padding: 28px 20px;
        border-radius: 32px;
    }
    
    .mapa-uy::before,
    .mapa-uy::after {
        width: 60px;
        height: 60px;
    }
    
    .mapa-uy-big {
        font-size: 56px;
        margin-bottom: 16px;
    }
    
    .mapa-uy h3 {
        font-size: 22px;
    }
    
    .mapa-uy > p {
        font-size: 12px;
        margin-bottom: 24px;
    }
    
    .departamentos {
        gap: 8px;
    }
    
    .dept {
        font-size: 10px;
        padding: 4px 10px;
    }
    
    .cobertura-content .section-header {
        margin-bottom: 32px;
    }
    
    .cobertura-points {
        gap: 24px;
    }
    
    .cob-point {
        gap: 14px;
        padding: 4px 0 4px 10px;
    }
    
    .cob-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
        border-radius: 16px;
    }
    
    .cob-point strong {
        font-size: 15px;
    }
    
    .cob-point span {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .cob-point:hover {
        transform: translateX(6px);
    }
}

@media (max-width: 380px) {
    .mapa-uy {
        padding: 24px 16px;
    }
    
    .mapa-uy-big {
        font-size: 48px;
    }
    
    .mapa-uy h3 {
        font-size: 20px;
    }
    
    .dept {
        font-size: 9px;
        padding: 3px 8px;
    }
    
    .cob-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        border-radius: 14px;
    }
    
    .cob-point strong {
        font-size: 14px;
    }
    
    .cob-point span {
        font-size: 11px;
    }
}