/* HERO BANNER INTERNO */
.hero-interno {
    position: relative;
    background: linear-gradient(135deg, #1a4d7a 0%, #2e6fa3 40%, #1a4d7a 100%);
    padding: 80px 20px 60px;
    text-align: center;
    overflow: hidden;
}

.hero-interno::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(107, 168, 50, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 80%, rgba(46, 111, 163, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-interno::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #6ba832, #2e6fa3, #6ba832);
    background-size: 200% 100%;
    animation: gradiente-linea 4s ease infinite;
}

/* Partículas decorativas */
.hero-particula {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    animation: flotar-hero 20s ease-in-out infinite;
}

.hero-particula:nth-child(1) {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -30px;
    animation-delay: 0s;
}

.hero-particula:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 5%;
    animation-delay: 4s;
}

.hero-particula:nth-child(3) {
    width: 80px;
    height: 80px;
    bottom: 10%;
    left: 15%;
    animation-delay: 8s;
}

.hero-particula:nth-child(4) {
    width: 150px;
    height: 150px;
    top: 10%;
    right: 20%;
    animation-delay: 2s;
}

@keyframes flotar-hero {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }

    25% {
        transform: translate(20px, -30px) scale(1.1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-15px, -50px) scale(0.95);
        opacity: 0.5;
    }

    75% {
        transform: translate(10px, -20px) scale(1.05);
        opacity: 0.7;
    }
}

.hero-interno-contenido {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-icono-shield {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: pulso-shield 3s ease-in-out infinite;
}

@keyframes pulso-shield {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(107, 168, 50, 0.3), 0 8px 30px rgba(0, 0, 0, 0.2);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(107, 168, 50, 0), 0 12px 40px rgba(0, 0, 0, 0.25);
        transform: scale(1.05);
    }
}

.hero-icono-shield svg {
    width: 40px;
    height: 40px;
    color: #6ba832;
    filter: drop-shadow(0 2px 8px rgba(107, 168, 50, 0.4));
}

.hero-interno-titulo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-interno-titulo span {
    display: block;
    background: linear-gradient(135deg, #ffffff, #e8f4f8, #6ba832);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradiente-texto 4s ease infinite;
}

.hero-interno-subtitulo {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #6ba832;
}

.breadcrumb .separador-bc {
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb .actual {
    color: #6ba832;
    font-weight: 600;
}

/* ========================================
           CONTENIDO PRINCIPAL - POLÍTICAS
           ======================================== */
.politicas-contenedor {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px 100px;
    position: relative;
}

/* Línea lateral decorativa */
.politicas-contenedor::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 0;
    width: 4px;
    height: calc(100% - 160px);
    background: linear-gradient(180deg, #2e6fa3, #6ba832, #2e6fa3, transparent);
    border-radius: 4px;
    opacity: 0.2;
}

@media (max-width: 767px) {
    .politicas-contenedor::before {
        display: none;
    }
}

/* Fecha de actualización */
.fecha-actualizacion {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #5a6c7d;
    background: linear-gradient(135deg, #f0f7ff, #f5fff0);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(46, 111, 163, 0.12);
    margin-bottom: 50px;
}

.fecha-actualizacion svg {
    width: 16px;
    height: 16px;
    color: #2e6fa3;
}

/* ========================================
           SECCIONES DE POLÍTICA
           ======================================== */
.politica-seccion {
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(40px);
    animation: seccion-aparece 0.8s ease forwards;
    position: relative;
}

.politica-seccion:nth-child(2) {
    animation-delay: 0.1s;
}

.politica-seccion:nth-child(3) {
    animation-delay: 0.15s;
}

.politica-seccion:nth-child(4) {
    animation-delay: 0.2s;
}

.politica-seccion:nth-child(5) {
    animation-delay: 0.25s;
}

.politica-seccion:nth-child(6) {
    animation-delay: 0.3s;
}

.politica-seccion:nth-child(7) {
    animation-delay: 0.35s;
}

@keyframes seccion-aparece {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tarjeta de sección */
.politica-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 45px 40px;
    box-shadow:
        0 4px 25px rgba(46, 111, 163, 0.06),
        0 1px 5px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(46, 111, 163, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.politica-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #2e6fa3, #6ba832);
    border-radius: 20px 0 0 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.politica-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 15px 50px rgba(46, 111, 163, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: rgba(46, 111, 163, 0.12);
}

.politica-card:hover::before {
    opacity: 1;
}

/* Header de sección */
.seccion-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.seccion-numero {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #2e6fa3, #4a8bc2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(46, 111, 163, 0.25);
    transition: all 0.4s ease;
}

.politica-card:hover .seccion-numero {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 8px 25px rgba(46, 111, 163, 0.35);
}

.seccion-numero.verde {
    background: linear-gradient(135deg, #6ba832, #8bc653);
    box-shadow: 0 6px 20px rgba(107, 168, 50, 0.25);
}

.seccion-numero.naranja {
    background: linear-gradient(135deg, #f57c00, #ff9800);
    box-shadow: 0 6px 20px rgba(245, 124, 0, 0.25);
}

.seccion-numero.morado {
    background: linear-gradient(135deg, #7b1fa2, #9c27b0);
    box-shadow: 0 6px 20px rgba(123, 31, 162, 0.25);
}

.seccion-titulo-grupo {
    flex: 1;
}

.seccion-etiqueta {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #2e6fa3;
    background: linear-gradient(135deg, rgba(46, 111, 163, 0.08), rgba(107, 168, 50, 0.08));
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.seccion-titulo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: #1a4d7a;
    line-height: 1.3;
    margin: 0;
}

/* Contenido de texto */
.politica-texto {
    font-family: 'Montserrat', sans-serif;
    font-size: 15.5px;
    color: #4a5568;
    line-height: 1.85;
    margin-bottom: 0;
}

.politica-texto+.politica-texto {
    margin-top: 18px;
}

.politica-texto strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Lista de datos */
.datos-lista {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.datos-lista li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #f8fbfd, #f5fff0);
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14.5px;
    color: #3a4f63;
    font-weight: 500;
    border: 1px solid rgba(46, 111, 163, 0.06);
    transition: all 0.3s ease;
}

.datos-lista li:hover {
    background: linear-gradient(135deg, #e8f4fd, #edfae0);
    border-color: rgba(46, 111, 163, 0.15);
    transform: translateX(5px);
}

.datos-lista li svg {
    width: 20px;
    height: 20px;
    color: #6ba832;
    flex-shrink: 0;
}

/* Información de contacto */
.contacto-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.contacto-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #2e6fa3, #4a8bc2);
    color: #ffffff;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(46, 111, 163, 0.25);
}

.contacto-chip:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(46, 111, 163, 0.35);
}

.contacto-chip.verde {
    background: linear-gradient(135deg, #6ba832, #8bc653);
    box-shadow: 0 4px 15px rgba(107, 168, 50, 0.25);
}

.contacto-chip.verde:hover {
    box-shadow: 0 8px 25px rgba(107, 168, 50, 0.35);
}

.contacto-chip svg {
    width: 18px;
    height: 18px;
}

/* Nota final */
.nota-legal {
    background: linear-gradient(135deg, #fffbeb, #fff8e1);
    border-left: 4px solid #f59e0b;
    border-radius: 0 16px 16px 0;
    padding: 25px 30px;
    margin-top: 25px;
}

.nota-legal p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #92400e;
    line-height: 1.7;
    margin: 0;
}

.nota-legal strong {
    color: #78350f;
}

/* ========================================
           CTA INFERIOR
           ======================================== */
.cta-privacidad {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, #f0f7ff 0%, #f5fff0 50%, #f0f7ff 100%);
    border-radius: 24px;
    margin-top: 30px;
    border: 1px solid rgba(46, 111, 163, 0.08);
    position: relative;
    overflow: hidden;
}

.cta-privacidad::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2e6fa3, #6ba832, #2e6fa3);
    background-size: 200% 100%;
    animation: gradiente-linea 4s ease infinite;
}

.cta-privacidad h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 3vw, 30px);
    color: #1a4d7a;
    margin-bottom: 12px;
}

.cta-privacidad p {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #5a6c7d;
    max-width: 550px;
    margin: 0 auto 25px;
    line-height: 1.7;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: linear-gradient(135deg, #2e6fa3, #4a8bc2);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(46, 111, 163, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 35px rgba(46, 111, 163, 0.4);
}

.cta-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.cta-btn:hover svg {
    transform: translateX(4px);
}

/* ========================================
           RESPONSIVE
           ======================================== */
@media (max-width: 1024px) {
    .hero-interno {
        padding: 60px 20px 50px;
    }

    .politicas-contenedor {
        padding: 60px 20px 80px;
    }

    .politica-card {
        padding: 35px 28px;
    }
}

@media (max-width: 767px) {
    .hero-interno {
        padding: 50px 15px 40px;
    }

    .hero-icono-shield {
        width: 65px;
        height: 65px;
        margin-bottom: 20px;
    }

    .hero-icono-shield svg {
        width: 32px;
        height: 32px;
    }

    .politicas-contenedor {
        padding: 45px 15px 60px;
    }

    .politica-card {
        padding: 28px 22px;
        border-radius: 16px;
    }

    .seccion-header {
        flex-direction: column;
        gap: 15px;
    }

    .seccion-numero {
        width: 46px;
        height: 46px;
        font-size: 20px;
        border-radius: 14px;
    }

    .datos-lista {
        grid-template-columns: 1fr;
    }

    .contacto-info {
        flex-direction: column;
    }

    .contacto-chip {
        justify-content: center;
    }

    .politica-seccion {
        margin-bottom: 35px;
    }
}

@media (max-width: 480px) {
    .hero-interno {
        padding: 40px 12px 35px;
    }

    .politicas-contenedor {
        padding: 35px 12px 50px;
    }

    .politica-card {
        padding: 24px 18px;
    }

    .nota-legal {
        padding: 20px 18px;
    }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {

    .politica-seccion,
    .hero-particula,
    .hero-icono-shield {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}