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

:root{
    --bg: #5b16f0;            /* violeta principal (ajustable) */
    --heading-font: 'Anton', 'Oswald', sans-serif;
    --body-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
    --accent: #ffd400;        /* amarillo botón */
    --accent-hover: #ffc107;  /* amarillo hover */
    --accent-text-hover: #4a0ea3; /* color del texto del botón en hover (contraste sobre amarillo) */
    --white: #ffffff;
    --container-padding: 60px;
    --max-width: 1200px;
    --pill-radius: 48px;
}

html {
    scroll-behavior: smooth;
}

/* Loader de página completa */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 32, 71, 0.95); /* Fondo oscuro azul marino */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.loader {
    width: fit-content;
    font-weight: bold;
    font-family: monospace;
    font-size: 30px;
    color: #0000;
    background: linear-gradient(90deg, #FFB800 calc(50% + 0.5ch), #fff 0) right/calc(200% + 1ch) 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: l7 2s infinite steps(11);
}

.loader:before {
    content: "Cargando..."
}

@keyframes l7 {
    to {
        background-position: left
    }
}

body {
    font-family: 'Inter', sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

/* Top bar */
.top-bar {
    background-color: #002855;
    padding: 12px 60px;
    display: flex;
    align-items: center;
}

.dropdown-btn {
    color: white;
    font-size: 18px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-btn::after {
    content: '▼';
    font-size: 12px;
}

/* Header/Navigation */
header {
    background-color: white;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;  /* Evita que el logo se comprima */
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-circle {
    width: 50px;
    height: 50px;
    border: 3px solid #FFB800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: #FFB800;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text span:first-child {
    font-size: 11px;
    color: #666;
    letter-spacing: 1px;
}

.logo-text span:last-child {
    font-size: 24px;
    font-weight: bold;
    color: #002855;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #002855;
    font-size: 25px;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}

/* Subrayado animado */
nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #FFB800;
    transition: width 0.3s ease;
}

nav a:hover {
    color: #FFB800;
}

nav a:hover::after {
    width: 100%;
}

.search-btn {
    background: none;
    border: none;
    color: #002855;
    font-size: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
    padding: 0;
    font-family: inherit;
}

.search-btn::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #FFB800;
    transition: width 0.3s ease;
}

.search-btn:hover {
    color: #FFB800;
}

.search-btn:hover::after {
    width: 100%;
}

/* Overlay oscuro */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 40, 85, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Contenedor del buscador */
.search-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2001; 
}

.search-overlay.active .search-container {
    transform: scale(1);
}

/* Input de búsqueda */
.search-input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 18px 50px 18px 20px;
    font-size: 18px;
    border: 3px solid #002855;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
}

.search-input:focus {
    border-color: #FFB800;
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #002855;
}

/* Botón cerrar */
.close-search {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: #002855;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.close-search:hover {
    background: rgba(0, 40, 85, 0.1);
}

/* Sugerencias o resultados */
.search-suggestions {
    margin-top: 20px;
}

.search-suggestions h3 {
    color: #002855;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.suggestion-item {
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
    color: #002855;
}

.suggestion-item:hover {
    background: rgba(255, 184, 0, 0.1);
}

/* Botón hamburguesa */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 35px;
    height: 35px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-btn span {
    width: 100%;
    height: 4px;
    background-color: #002855;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
    background-color: #FFB800;
}

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

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
    background-color: #FFB800;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 1140px) {
    header {
        position: relative;
    }

    .hamburger-btn {
        display: flex;
        z-index: 1001;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        flex-shrink: 0;
        width: 35px;
        height: 35px;
    }

    nav {
        display: none;
    }
    
    .logo img {
        height: 80px;
        width: auto;
        object-fit: contain;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 400px;
        height: 100vh;
        background: linear-gradient(135deg, #002855 0%, #003d7a 100%);
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 80px 40px 30px;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a,
    .nav-links .search-btn {
        color: #fff;
        font-size: 20px;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a::after,
    .nav-links .search-btn::after {
        display: none;
    }

    .nav-links a:hover,
    .nav-links .search-btn:hover {
        transform: translateX(10px);
    }
}
/* Hero Section */
.hero {
    background: linear-gradient(135deg, #002855 0%, #003d7a 100%);
    padding: 80px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    min-height: 500px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.hero-content h1 {
    color: white;
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.title-wrapper {
    position: relative;
    display: inline-block;
}

/* Nube animada alrededor del texto */
.cloud-underline {
    position: absolute;
    left: -50px;
    right: -50px;
    top: -60px;
    bottom: -60px;
    pointer-events: none;
}

.cloud-underline svg {
    width: 100%;
    height: 100%;
}

.cloud-path {
    fill: none;
    stroke: #FFD700;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawCloud 2.5s ease-out forwards;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

@keyframes drawCloud {
    to {
        stroke-dashoffset: 0;
    }
}

/* Palabras con estilos diferentes */
.word-tu {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease-out;
}

.word-futuro {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    position: relative;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.word-futuro::after {
    content: '✨';
    position: absolute;
    right: -40px;
    top: -10px;
    font-size: 1.5rem;
    animation: sparkle 2s ease-in-out infinite;
}

.word-empieza {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.word-aqui {
    color: #FFD700;
    font-weight: bold;
    text-shadow: 
        2px 2px 0px rgba(255, 107, 107, 0.8),
        4px 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease-out 0.6s backwards, pulse 2s ease-in-out 2s infinite;
    position: relative;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2) rotate(180deg);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(10px);
    }
}

.hero-content p {
    color: white;
    font-size: 20px;
    line-height: 1.6;
    margin-top: 40px;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cta-button {
    background-color: #FFB800;
    color: #002855;
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.4);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-container {
    position: relative;
    width: 500px;
    height: 500px;
}

.circle-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid rgba(255, 255, 255, 0.1);
}

.heart-icon {
    position: absolute;
    top: 50px;
    left: 25px;
    width: 70px;
    height: 70px;
    background-color: #FF6B00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
    animation: fadeIn 1s ease-out 1s backwards, heartbeat 7s ease-in-out infinite;
    z-index: 10;
}

.heart-icon::before {
    content: '❤';
    color: #002855;
    font-size: 35px;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    10% {
        transform: scale(1.15);
    }
    20% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.15);
    }
    40% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    60% {
        transform: scale(1);
    }
    70% {
        transform: scale(1.15);
    }
    71.4%, 100% {
        transform: scale(1);
    }
}

/* Plans Section */
.plans-section {
    background: linear-gradient(135deg, #4A90E2 0%, #5BA3F5 100%);
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}

.plans-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
    pointer-events: none;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}


/* Choices Section (pills with icons) */
.choices-section {
    padding: 80px 60px;
    background-color: #ffffff;
}

.choices-header h2 {
    color: #0c3554; /* deep blue similar to logo */
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.choices-subtitle {
    color: #123e5a;
    font-size: 20px;
    font-weight: 500;
    margin: 30px 0 40px 0;
}

.choices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 60px;
}

.choice-pill {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    border: 8px solid rgba(74,144,226,0.15); /* soft blue ring */
    border-radius: 60px;
    padding: 2px 30px;
    min-height: 84px;
    box-shadow: 0 6px 18px rgba(74,144,226,0.06);
}

.choice-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 0%;
    background: transparent;
}

.choice-text {
    color: #0c3554;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 1024px) {
    .choices-section {
        padding: 60px 40px;
    }

    .choices-header h2 {
        font-size: 36px;
    }

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

    .choice-icon {
        width: 56px;
        height: 56px;
    }

    .choice-text {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .choices-section {
        padding: 40px 24px;
    }

    .choices-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .choice-icon {
        width: 48px;
        height: 48px;
    }

    .choice-text {
        font-size: 16px;
    }
}

.plans-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.plans-title {
    color: white;
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    position: relative;
}

.plans-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10px;
    right: 10px;              /* hace que el ancho sea (ancho del contenedor - 20px) */
    height: 4px;
    background: linear-gradient(90deg, #FFB800, #FF8C00);
    transform-origin: left center;
    transform: scaleX(0);     /* estado inicial para animar */
    animation: expandLine 1s ease-out 0.5s forwards;
}

@keyframes expandLine {
    to {
        width: 100%;
    }
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.plan-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 3px solid #FFB800;
    border-radius: 30px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 184, 0, 0.3);
}

.plan-card h3 {
    color: white;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
}

.plan-card p {
    color: white;
    font-size: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.plan-discover {
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 20px;
}

.plan-card .cta-button {
    width: fit-content;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    nav {
        gap: 20px;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plans-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .plans-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .image-container {
        width: 350px;
        height: 350px;
    }

    .heart-icon {
        width: 50px;
        height: 50px;
        left: 25px;
        top: 40px;
    }

    .heart-icon::before {
        font-size: 25px;
    }

    .plans-section {
        padding: 60px 30px;
    }

    .plans-title {
        font-size: 36px;
    }

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

    .plan-card h3 {
        font-size: 24px;
    }
}

/* --- Estilo de la Sección Principal --- */
.goals-section {
  background-color: #0f1c3b; /* Azul oscuro del fondo */
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  padding: 80px 60px;
  text-align: left;
}

.goals-section .container {
  margin: 0 auto;
}

/* --- Título --- */
.goals-section h2 {
    color: white;
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
    
}

/* --- Contenedor flexible para alinear botones e imagen --- */
.content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap; /* Permite que los elementos se reorganicen en pantallas pequeñas */
}

/* --- Malla para los botones --- */
.buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  flex: 1; /* Permite que la malla ocupe el espacio disponible */
  max-width: 850px;
}

/* --- Estilo común de los botones (sin cambios) --- */
.goal-button {
  display: block;
  padding: 20px 25px;
  text-align: center;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.goal-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* --- Gradientes específicos para cada botón (CORREGIDOS) --- */
.btn-color-1 { /* Seguro de vida y ahorro */
  background: linear-gradient(to right, #f85732, #f89b29);
  color: #ffffff;
}
.btn-color-2 { /* Seguro de gastos médicos */
  background: linear-gradient(to right, #84d45a, #b0e56f);
  color: #ffffff;
}
.btn-color-3 { /* Plan de Retiro */
    background: linear-gradient(90deg, #e6fffb 0%, #c9f7ff 45%, #b7e0ff 100%);
    color: #053047; /* texto más oscuro para contraste */
}
.btn-color-4 { /* Seguro de auto */
  background: linear-gradient(to right, #3a9cff, #2979ff);
  color: #ffffff;
}
.btn-color-5 { /* Seguro educativo */
  background: linear-gradient(to right, #6cd8c5, #f5e376);
  color: #2c3e50;
}
.btn-color-6 { /* Seguro hogar y mascotas */
    background: linear-gradient(90deg, #ff8acb 0%, #ff73b3 45%, #b57bff 100%);
    color: #081023;
}

:root{
  --pill-border-color: rgba(155, 231, 255, 1); /* celeste */
  --pill-border-width: 4px; /* 1 — 2px */
}

/* Aplica el mismo borde a todas las variantes btn-color */
.btn-color-1,
.btn-color-2,
.btn-color-3,
.btn-color-4,
.btn-color-5,
.btn-color-6 {
  border: var(--pill-border-width) solid var(--pill-border-color);
  /* Evita que el gradiente se dibuje bajo el borde */
  background-clip: padding-box;
}


/* --- Espacio circular para la imagen --- */
.image-placeholder {
  /* ancho flexible que escala con el viewport, con mínimo y máximo */
  width: clamp(220px, 32vw, 350px);
  /* fuerza proporción 1:1 -> siempre cuadrado (luego border-radius lo hace círculo) */
  aspect-ratio: 1 / 1;

  border-radius: 50%; /* círculo perfecto */
  background-color: #2a3b60; /* color mientras no hay imagen */
  overflow: hidden; /* recorta la imagen en círculo */
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* llena el círculo sin deformar */
  display: block;
}


/* --- Media Queries para Responsividad --- */
@media (max-width: 992px) {
  .content-wrapper {
    flex-direction: column-reverse; /* Pone la imagen arriba en tabletas y móviles */
  }
  .image-placeholder {
    width: clamp(200px, 36vw, 300px);
    /* no se necesita height: seguirá 1:1 por aspect-ratio */

  }
}

@media (max-width: 576px) {
  .goals-section h2 {
    font-size: 36px;
  }
  .buttons-grid {
    grid-template-columns: 1fr; /* Una sola columna para los botones en móviles */
    width: 100%;
    max-width: 350px;
  }
  .image-placeholder {
    width: clamp(160px, 46vw, 250px);
  }
}

  /* sección */
  .cta-section{
    padding: 56px var(--container-padding);
    background: var(--bg);
  }

  .cta-container{
    max-width:var(--max-width);
    margin:0 auto;
  }

  /* layout */
  .cta-row{
    display:flex;
    align-items:center;
    gap:48px;
    justify-content:flex-start;
  }

  /* circulo imagen: mantiene 1:1 siempre, escala con ancho de pantalla */
  .image-circle{
    width: clamp(220px, 20vw, 300px);
    aspect-ratio: 1/1;           /* fuerza cuadrado -> con border-radius 50% es círculo perfecto */
    border-radius:50%;
    background-color:#4b2ec0;    /* color de fondo mientras no pones la imagen */
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    overflow:hidden;
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    border: 10px solid rgba(0,0,0,0.06);
  }

  /* contenido textual */
  .cta-content{
    flex:1 1 auto;
    min-width: 0; /* para evitar overflow con textos largos */
  }

  .cta-title{
    font-family:"Inter", sans-serif;
    font-weight:800;
    font-size: 48px;
    line-height: 0.95;
    color:var(--white);
    text-transform:uppercase;
    letter-spacing:1px;
    margin-bottom:18px;
  }

  .cta-desc{
    font-size: clamp(16px, 1.6vw, 20px);
    color: rgba(255,255,255,0.95);
    max-width: 820px;
    margin-bottom:28px;
    line-height:1.5;
    font-weight:500;
  }

  /* boton estilo cápsula */
  .cta-btn{
    --pad-y: 16px;
    --pad-x: 44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding: var(--pad-y) var(--pad-x);
    background: var(--accent);
    color: black;
    font-weight:700;
    border-radius: var(--pill-radius);
    text-decoration:none;
    border: none;
    cursor:pointer;
    font-size: clamp(16px, 1.6vw, 18px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    transition: background .18s ease, color .18s ease, transform .12s ease, box-shadow .12s ease;
  }

  /* estado hover/focus: cambia fondo y color del texto */
  .cta-btn:hover,
  .cta-btn:focus{
    background: var(--accent-hover);
    color: var(--accent-text-hover);
    transform: translateY(-3px);
    box-shadow: 0 16px 44px rgba(0,0,0,0.24);
    outline: 3px solid rgba(255,255,255,0.06);
    outline-offset: 3px;
  }

  /* foco accesible con teclado */
  .cta-btn:focus{
    outline: 3px solid rgba(255,255,255,0.12);
    outline-offset: 4px;
  }

  /* Alineamiento del título para que conserve margen izquierdo visual respecto al padding global */
  .left-aligned-wrapper{
    padding-left: 0; /* el padding ya lo controla la sección global */
  }

  /* responsive */
  @media (max-width: 980px){
    .cta-row{
      gap:28px;
    }
    .cta-title{
      font-size: clamp(28px, 8.4vw, 48px);
    }
    .image-circle{
      width: clamp(190px, 24vw, 260px);
    }
  }

  @media (max-width: 720px){
    .cta-row{
      flex-direction:column;
      align-items:center;
      text-align:center;
    }
    .cta-content{ width:100% }
    .cta-title{ text-align:center }
    .cta-desc{ margin-left: 0; margin-right:0; }
  }

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

:root{
    --bg: #5b16f0;            /* violeta principal (ajustable) */
    --heading-font: 'Anton', 'Oswald', sans-serif;
    --body-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
    --accent: #ffd400;        /* amarillo botón */
    --accent-hover: #ffc107;  /* amarillo hover */
    --accent-text-hover: #4a0ea3; /* color del texto del botón en hover (contraste sobre amarillo) */
    --white: #ffffff;
    --container-padding: 60px;
    --max-width: 1200px;
    --pill-radius: 48px;
}

body {
    font-family: 'Inter', sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
}

/* Top bar */
.top-bar {
    background-color: #002855;
    padding: 12px 60px;
    display: flex;
    align-items: center;
}

.dropdown-btn {
    color: white;
    font-size: 18px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-btn::after {
    content: '▼';
    font-size: 12px;
}

/* Header/Navigation */
header {
    background-color: white;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-circle {
    width: 50px;
    height: 50px;
    border: 3px solid #FFB800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: #FFB800;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text span:first-child {
    font-size: 11px;
    color: #666;
    letter-spacing: 1px;
}

.logo-text span:last-child {
    font-size: 24px;
    font-weight: bold;
    color: #002855;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #002855;
    font-size: 25px;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: #FFB800;
}

.search-btn {
    background: none;
    border: none;
    color: #002855;
    font-size: 25px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #002855 0%, #003d7a 100%);
    padding: 80px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    min-height: 500px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    color: white;
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero-content p {
    color: white;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.cta-button {
    background-color: #FFB800;
    color: #002855;
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 184, 0, 0.4);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-container {
    position: relative;
    width: 500px;
    height: 500px;
}

.circle-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid rgba(255, 255, 255, 0.1);
}

.heart-icon {
    position: absolute;
    top: 50px;
    left: 25px;
    width: 70px;
    height: 70px;
    background-color: #FF6B00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
    z-index: 10;
}

.heart-icon::before {
    content: '❤';
    color: #002855;
    font-size: 35px;
}

/* Plans Section */
.plans-section {
    background: linear-gradient(135deg, #4A90E2 0%, #5BA3F5 100%);
    padding: 80px 60px;
    position: relative;
}

/* Choices Section (pills with icons) */
.choices-section {
    padding: 80px 60px;
    background-color: #ffffff;
}

.choices-header h2 {
    color: #0c3554; /* deep blue similar to logo */
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.choices-subtitle {
    color: #123e5a;
    font-size: 20px;
    font-weight: 500;
    margin: 30px 0 40px 0;
}

.choices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 60px;
}

.choice-pill {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    border: 8px solid rgba(74,144,226,0.15); /* soft blue ring */
    border-radius: 60px;
    padding: 2px 30px;
    min-height: 84px;
    box-shadow: 0 6px 18px rgba(74,144,226,0.06);
}

.choice-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 0%;
    background: transparent;
}

.choice-text {
    color: #0c3554;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 1024px) {
    .choices-section {
        padding: 60px 40px;
    }

    .choices-header h2 {
        font-size: 36px;
    }

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

    .choice-icon {
        width: 56px;
        height: 56px;
    }

    .choice-text {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .choices-section {
        padding: 40px 24px;
    }

    .choices-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .choice-icon {
        width: 48px;
        height: 48px;
    }

    .choice-text {
        font-size: 16px;
    }
}

.plans-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.plans-title {
    color: white;
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.advisor-btn {
    background: linear-gradient(135deg, #6B4FE8 0%, #8B5FFF 100%);
    color: white;
    padding: 16px 35px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(107, 79, 232, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advisor-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.advisor-btn i {
    font-size: 26px;
    position: relative;
    z-index: 1;
  }

.advisor-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 184, 0, 0.6);
}

.advisor-btn:hover::before {
    width: 300px;
    height: 300px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.plan-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 3px solid #FFB800;
    border-radius: 30px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
}

.plan-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.5s;
}

.plan-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 40px rgba(255, 184, 0, 0.4);
    border-color: #FF8C00;
}

.plan-card:hover::before {
    left: 100%;
}

.plan-card.visible {
    animation: cardAppear 0.6s ease-out forwards;
}

.plan-card:nth-child(1).visible {
    animation-delay: 0.1s;
}

.plan-card:nth-child(2).visible {
    animation-delay: 0.3s;
}

.plan-card:nth-child(3).visible {
    animation-delay: 0.5s;
}

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

.plan-card h3 {
    color: white;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.plan-card p {
    color: white;
    font-size: 16px;
    line-height: 1.6;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.plan-discover {
    color: white;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 20px;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
}

.plan-card .cta-button {
    width: fit-content;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #FFB800 0%, #FF8C00 100%);
    color: #002855;
    transition: all 0.3s ease;
}

.plan-card .cta-button:hover {
    background: linear-gradient(135deg, #FF8C00 0%, #FFB800 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 184, 0, 0.6);
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    nav {
        gap: 20px;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plans-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .plans-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .image-container {
        width: 350px;
        height: 350px;
    }

    .heart-icon {
        width: 50px;
        height: 50px;
        left: 25px;
        top: 40px;
    }

    .heart-icon::before {
        font-size: 25px;
    }

    .plans-section {
        padding: 60px 30px;
    }

    .plans-title {
        font-size: 36px;
    }

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

    .plan-card h3 {
        font-size: 24px;
    }
    .advisor-btn {
      padding: 12px 25px;
      font-size: 16px;
    }
}

/* Goals Section */
.goals-section {
    background-color: #0f1c3b;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    padding: 80px 60px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.goals-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(91, 163, 245, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.goals-section .container {
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.goals-section h2 {
    color: white;
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.goals-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #f85732, #f89b29);
    animation: expandLine 1s ease-out 0.5s forwards;
}

@keyframes expandLine {
    to {
        width: 200px;
    }
}

.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
}

.buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    flex: 1;
    max-width: 850px;
}

:root {
    --pill-border-color: rgba(155, 231, 255, 1);
    --pill-border-width: 4px;
}

.goal-button {
    display: block;
    padding: 20px 25px;
    text-align: center;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: var(--pill-border-width) solid var(--pill-border-color);
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
}

.goal-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.goal-button:hover::before {
    width: 400px;
    height: 400px;
}

.goal-button::after {
    content: '→';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.goal-button:hover::after {
    right: 20px;
    opacity: 1;
}

.goal-button:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.9);
}

.goal-button:active {
    transform: translateY(-4px) scale(1.02);
}

/* Gradientes específicos */
.btn-color-1 {
    background: linear-gradient(135deg, #f85732 0%, #f89b29 100%);
    color: #ffffff;
}

.btn-color-2 {
    background: linear-gradient(135deg, #84d45a 0%, #b0e56f 100%);
    color: #ffffff;
}

.btn-color-3 {
    background: linear-gradient(135deg, #e6fffb 0%, #c9f7ff 45%, #b7e0ff 100%);
    color: #053047;
}

.btn-color-4 {
    background: linear-gradient(135deg, #3a9cff 0%, #2979ff 100%);
    color: #ffffff;
}

.btn-color-5 {
    background: linear-gradient(135deg, #6cd8c5 0%, #f5e376 100%);
    color: #2c3e50;
}

.btn-color-6 {
    background: linear-gradient(135deg, #ff8acb 0%, #ff73b3 45%, #b57bff 100%);
    color: #081023;
}

.image-placeholder {
    width: clamp(220px, 32vw, 350px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-color: #2a3b60;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(74, 144, 226, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    border: 5px solid rgba(155, 231, 255, 0.5);
    transition: all 0.4s ease;
}

.image-placeholder:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 0 60px rgba(74, 144, 226, 0.6);
    border-color: rgba(155, 231, 255, 0.8);
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.image-placeholder:hover img {
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column-reverse;
    }
    .image-placeholder {
        width: clamp(200px, 36vw, 300px);
    }
}

@media (max-width: 576px) {
    .goals-section {
        padding: 60px 30px;
    }
    
    .goals-section h2 {
        font-size: 36px;
    }
    
    .buttons-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 350px;
    }
    
    .image-placeholder {
        width: clamp(160px, 46vw, 250px);
    }
    
    .goal-button {
        font-size: 1rem;
        padding: 18px 20px;
    }
}

  /* sección */
  .cta-section{
    padding: 56px var(--container-padding);
    background: var(--bg);
  }

  .cta-container{
    max-width:var(--max-width);
    margin:0 auto;
  }

  /* layout */
  .cta-row{
    display:flex;
    align-items:center;
    gap:48px;
    justify-content:flex-start;
  }

  /* circulo imagen: mantiene 1:1 siempre, escala con ancho de pantalla */
  .image-circle{
    width: clamp(220px, 20vw, 300px);
    aspect-ratio: 1/1;           /* fuerza cuadrado -> con border-radius 50% es círculo perfecto */
    border-radius:50%;
    background-color:#4b2ec0;    /* color de fondo mientras no pones la imagen */
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    overflow:hidden;
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    border: 10px solid rgba(0,0,0,0.06);
  }

  /* contenido textual */
  .cta-content{
    flex:1 1 auto;
    min-width: 0; /* para evitar overflow con textos largos */
  }

  .cta-title{
    font-family:"Inter", sans-serif;
    font-weight:800;
    font-size: 48px;
    line-height: 0.95;
    color:var(--white);
    text-transform:uppercase;
    letter-spacing:1px;
    margin-bottom:18px;
  }

  .cta-desc{
    font-size: clamp(16px, 1.6vw, 20px);
    color: rgba(255,255,255,0.95);
    max-width: 820px;
    margin-bottom:28px;
    line-height:1.5;
    font-weight:500;
  }

  /* boton estilo cápsula */
  .cta-btn{
    --pad-y: 16px;
    --pad-x: 44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding: var(--pad-y) var(--pad-x);
    background: var(--accent);
    color: black;
    font-weight:700;
    border-radius: var(--pill-radius);
    text-decoration:none;
    border: none;
    cursor:pointer;
    font-size: clamp(16px, 1.6vw, 18px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    transition: background .18s ease, color .18s ease, transform .12s ease, box-shadow .12s ease;
  }

  /* estado hover/focus: cambia fondo y color del texto */
  .cta-btn:hover,
  .cta-btn:focus{
    background: var(--accent-hover);
    color: var(--accent-text-hover);
    transform: translateY(-3px);
    box-shadow: 0 16px 44px rgba(0,0,0,0.24);
    outline: 3px solid rgba(255,255,255,0.06);
    outline-offset: 3px;
  }

  /* foco accesible con teclado */
  .cta-btn:focus{
    outline: 3px solid rgba(255,255,255,0.12);
    outline-offset: 4px;
  }

  /* Alineamiento del título para que conserve margen izquierdo visual respecto al padding global */
  .left-aligned-wrapper{
    padding-left: 0; /* el padding ya lo controla la sección global */
  }

  /* responsive */
  @media (max-width: 980px){
    .cta-row{
      gap:28px;
    }
    .cta-title{
      font-size: clamp(28px, 8.4vw, 48px);
    }
    .image-circle{
      width: clamp(190px, 24vw, 260px);
    }
  }

  @media (max-width: 720px){
    .cta-row{
      flex-direction:column;
      align-items:center;
      text-align:center;
    }
    .cta-content{ width:100% }
    .cta-title{ text-align:center }
    .cta-desc{ margin-left: 0; margin-right:0; }
  }

/* Colores y espaciamientos fijos */
/* Colores y espaciamientos fijos */
.neuron-section{
    background: #002047;
    color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    padding: 80px 48px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.neuron-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(43, 209, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(246, 180, 90, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.neuron-wrapper{
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.neuron-hero{
    text-align: center;
    margin-bottom: 60px;
}

.neuron-hero h2{
    font-size: 48px;
    margin: 40px 0;
    font-weight: 700;
    line-height: 1.05;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.neuron-hero h2 span{ 
    font-weight: 900;
    background: linear-gradient(135deg, #2bd1ff, #f6b45a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Layout de testimonios */
.neuron-test-row{
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 98px;
    align-items: start;
    margin-bottom: 48px;
}

.neuron-test-left{
    display: flex;
    flex-direction: column;
    gap: 78px;
}

.neuron-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    flex-wrap: wrap;
}

.neuron-left-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
    flex: 1;
    min-width: 300px;
}

.neuron-left-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.neuron-photo-box {
    max-width: 450px;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 24px;
    border: 4px solid rgba(43, 209, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.neuron-photo-box:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(43, 209, 255, 0.6);
    box-shadow: 0 12px 36px rgba(43, 209, 255, 0.3);
}

.neuron-photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.neuron-photo-box:hover img {
    transform: scale(1.1);
}

.neuron-address {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    color: #cbd5df;
    width: 100%;
}

.neuron-address strong {
    color: #ffffff;
    display: block;
    margin-bottom: 1px;
}

.neuron-logo-box {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease 0.2s;
}

.neuron-logo-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.neuron-logo-box img {
    width: 250%;
    max-width: 500px;
    height: auto;
    transition: transform 0.4s ease;
    margin-top: 200px;

}

.neuron-logo-box:hover img {
    transform: scale(1.05);
}

.neuron-map-container {
    width: 100%;
    max-width: 800px;
    margin: 3rem auto 0;
    border-radius: 24px;
    overflow: hidden;
    border: 4px solid rgba(246, 180, 90, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
}

.neuron-map-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.neuron-map-container:hover {
    transform: translateY(-5px);
    border-color: rgba(246, 180, 90, 0.6);
    box-shadow: 0 12px 36px rgba(246, 180, 90, 0.3);
}

.neuron-map-container iframe {
    display: block;
    width: 100%;
    height: 350px;
    border: 0;
}

.neuron-testimonial{
    border-radius: 48px;
    padding: 22px 28px;
    position: relative;
    background: rgba(255,255,255,0.02);
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 12px;
    align-items: start;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.neuron-testimonial.visible {
    opacity: 1;
    transform: translateX(0);
}

.neuron-testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 48px;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.neuron-testimonial:hover::before {
    opacity: 1;
}

.neuron-testimonial:hover {
    transform: translateX(10px) scale(1.02);
}

.neuron-testimonial.neon-orange {
    border: 4px solid rgba(246,180,90,0.9);
    box-shadow: 0 6px 18px rgba(246,180,90,0.12), 0 0 18px rgba(246,180,90,0.18);
}

.neuron-testimonial.neon-orange:hover {
    box-shadow: 0 12px 32px rgba(246,180,90,0.25), 0 0 32px rgba(246,180,90,0.35);
}

.neuron-testimonial.neon-cyan {
    border: 4px solid rgba(43,209,255,0.9);
    box-shadow: 0 6px 18px rgba(43,209,255,0.08), 0 0 18px rgba(43,209,255,0.16);
}

.neuron-testimonial.neon-cyan:hover {
    box-shadow: 0 12px 32px rgba(43,209,255,0.2), 0 0 32px rgba(43,209,255,0.3);
}

.neuron-testimonial.neon-green {
    border: 4px solid rgba(191,247,122,0.9);
    box-shadow: 0 6px 18px rgba(191,247,122,0.08), 0 0 18px rgba(191,247,122,0.14);
}

.neuron-testimonial.neon-green:hover {
    box-shadow: 0 12px 32px rgba(191,247,122,0.2), 0 0 32px rgba(191,247,122,0.3);
}

.neuron-testimonial .meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.neuron-testimonial .meta strong {
    font-size: 25px;
    line-height: 1.1;
    display: block;
    transition: color 0.3s ease;
}

.neuron-testimonial:hover .meta strong {
    color: #2bd1ff;
}

.neuron-testimonial .meta small {
    font-size: 14px;
    color: #cbd5df;
    font-weight: 600;
}

.neuron-testimonial p {
    margin: 0;
    font-size: 22px;
    line-height: 1.45;
    color: #e7f0f7;
    min-width: 0;
    transition: color 0.3s ease;
}

.neuron-testimonial:hover p {
    color: #ffffff;
}

.neuron-test-small {
    display: grid;
    gap: 10px;
    align-items: start;
    padding: 18px 20px;
    border-radius: 48px;
    background: rgba(255,255,255,0.02);
    box-sizing: border-box;
}

.neuron-test-right .neuron-testimonial,
.neuron-test-right .neuron-test-small {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s;
}

.neuron-test-right .neuron-testimonial.visible,
.neuron-test-right .neuron-test-small.visible {
    opacity: 1;
    transform: translateX(0);
}

.neuron-test-right .neuron-testimonial:hover {
    transform: translateY(-10px) scale(1.03);
}

.neuron-test-right .neuron-testimonial .meta {
    margin-bottom: 6px;
}

/* Responsive */
@media (max-width: 1205px) {
    .neuron-bottom {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    
    .neuron-left-section,
    .neuron-logo-box {
        width: 100%;
        max-width: 800px;
    }

    .neuron-logo-box img {
        margin-top: 30px;
    }
}

@media (max-width: 880px) {
    .neuron-test-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 28px;
    }

    .neuron-test-right {
        justify-content: flex-start;
        border-radius: 48px;
    }

    .neuron-test-right .neuron-testimonial,
    .neuron-test-right .neuron-test-small {
        width: 100%;
    }

    .neuron-test-left .neuron-testimonial {
        width: 100%;
    }

    .neuron-logo-box img {
        margin-top: 30px;
        width: 95%;
    }
}

@media (max-width: 768px) {
    .neuron-section {
        padding: 60px 24px;
    }

    .neuron-map-container iframe {
        height: 300px;
    }

    .neuron-photo-box {
        height: 400px;
    }

    .neuron-logo-box img {
      margin-top: 30px;
      width: 95%;
    }
}

@media (max-width: 600px) {
    .neuron-testimonial,
    .neuron-test-small {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .neuron-hero h2 { 
        font-size: 28px; 
    }

    .neuron-testimonial .meta strong { 
        font-size: 18px; 
    }

    .neuron-testimonial p { 
        font-size: 16px; 
        line-height: 1.4; 
    }

    .neuron-test-left { 
        gap: 20px; 
    }

    .neuron-test-row { 
        gap: 16px; 
    }

    .neuron-test-right .neuron-testimonial,
    .neuron-test-right .neuron-test-small {
        padding: 14px 16px;
        border-radius: 48px;
    }

    .neuron-address {
        font-size: 16px;
    }

    .neuron-map-container iframe {
        height: 250px;
    }

    .neuron-photo-box {
        height: 300px;
    }

    .neuron-logo-box img {
        width: 95%;
    }
}

/* Sección de Redes Sociales */
.redes-sociales {
  background: #ffffff;
  padding: 80px 48px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  position: relative;
  overflow: hidden;
}

/* Efecto sutil de fondo */
.redes-sociales::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 32, 71, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 32, 71, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.redes-wrapper {
  max-width: 1200px;
  margin: 80px auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.redes-wrapper h2 {
  color: #002047;
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 60px 0;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

/* Contenedor de iconos */
.redes-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.redes-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 32, 71, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Efecto hover con color de fondo específico */
.redes-icons a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.redes-icons a:nth-child(1)::before {
  background: linear-gradient(135deg, #1877f2 0%, #0c63d4 100%); /* Facebook */
}

.redes-icons a:nth-child(2)::before {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); /* Instagram */
}

.redes-icons a:nth-child(3)::before {
  background: linear-gradient(135deg, #0077b5 0%, #005582 100%); /* LinkedIn */
}

.redes-icons a:nth-child(4)::before {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%); /* YouTube */
}

.redes-icons a:hover::before {
  opacity: 1;
}

.redes-icons a:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 32, 71, 0.15);
}

/* Iconos */
.redes-icons a img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  filter: grayscale(0.3);
}

.redes-icons a:hover img {
  filter: brightness(0) invert(1) grayscale(0);
  transform: scale(1.1);
}

/* Animación de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.redes-wrapper h2 {
  animation: fadeInUp 0.6s ease-out;
}

.redes-icons a {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.redes-icons a:nth-child(1) { animation-delay: 0.1s; }
.redes-icons a:nth-child(2) { animation-delay: 0.2s; }
.redes-icons a:nth-child(3) { animation-delay: 0.3s; }
.redes-icons a:nth-child(4) { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 768px) {
  .redes-sociales {
    padding: 60px 24px;
  }

  .redes-wrapper h2 {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .redes-icons {
    gap: 30px;
  }

  .redes-icons a {
    width: 70px;
    height: 70px;
  }

  .redes-icons a img {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 480px) {
  .redes-wrapper h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .redes-icons {
    gap: 20px;
  }

  .redes-icons a {
    width: 60px;
    height: 60px;
  }

  .redes-icons a img {
    width: 30px;
    height: 30px;
  }
}

/* Footer */
.footer_index {
    background: linear-gradient(135deg, #001a3d 0%, #002859 100%);
    color: #ffffff;
    padding: 60px 48px 40px;
    border-radius: 60px 60px 0 0;
}

.footer_index-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer_index-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 50px;
}

.footer_index-column h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.footer_index-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer_index-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    width: fit-content;
}

.footer_index-links a:hover {
    color: #8B5FFF;
    transform: translateX(5px);
}

.footer_index-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8B5FFF;
    transition: width 0.3s ease;
}

.footer_index-links a:hover::after {
    width: 100%;
}

/* Alineación a la derecha para la columna derecha */
.footer_index-column.right {
    text-align: right;
}

.footer_index-column.right .footer_index-links {
    align-items: flex-end;
}

/* Responsive */
@media (max-width: 992px) {
    .footer_index-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer_index-column.right {
        text-align: left;
    }

    .footer_index-column.right .footer_index-links {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .footer_index {
        padding: 40px 24px 30px;
        border-radius: 40px 40px 0 0;
    }

    .footer_index-column h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .footer_index-links a {
        font-size: 16px;
    }
}

/* Botón Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFB800 0%, #FF8C00 100%);
    color: #002855;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.6);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }
}

.search-input-wrapper { position: relative; }

/* la lista de sugerencias tipo dropdown */
.autocomplete-list {
  position: absolute;
  top: 100%;                /* justo debajo del input */
  left: 0;
  right: 0;
  margin-top: 8px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border-radius: 8px;
  z-index: 50;
  max-height: 240px;
  overflow-y: auto;
  display: none; /* se muestra dinámicamente */
  padding: 6px;
}

/* cada item (bloque) */
.autocomplete-item {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* hover / active */
.autocomplete-item:hover,
.autocomplete-item.active {
  background: #ffefd8; /* sutil */
}

/* resaltar la parte que coincide */
.autocomplete-item .match { font-weight: 700; }

/* cuando la lista no tiene resultados */
.autocomplete-empty {
  padding: 10px 12px;
  color: #666;
  font-size: 0.95rem;
}

/* Ajustes responsive: que no salga fuera en pantallas pequeñas */
@media (max-width: 480px) {
  .autocomplete-list { left: -6px; right: -6px; border-radius: 6px; }
}



/*          Estilos seguro de vida         */   
/* Sección del título */
.title-section {
    background: linear-gradient(135deg, #ff4d4d 0%, #ff8c42 50%, #ffa366 100%);
    padding: 10px 60px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.title-section .icon-container {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
}

.title-section .icon-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.title-section h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* Sección Hero */
.hero_life {
    background: white;
    padding: 80px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero_life-content {
    flex: 1;
    max-width: 700px;
}

.hero_life-content p {
    color: #002047;
    font-size: 1.75rem;
    line-height: 1.6;
    font-weight: 500;
    text-align: justify;
}

.hero_life-image {
    flex-shrink: 0;
    position: relative;
}

.hero_life-image .image-circle-life {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.hero_life-image .image-circle-life img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero_life-image .checkmark {
    position: absolute;
    bottom: -10px;
    right: -20px;
    width: 150px;
    height: 120px;
}

.hero_life-image .checkmark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0, 206, 209, 0.4));
}

/* Línea de degradado */
.gradient-line {
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, #00a86b 0%, #00CED1 100%);
}

/* Sección de ventajas */
.ventajas, .cubre {
    background: linear-gradient(135deg, #002855 0%, #003d7a 100%);
    padding: 60px 80px;
    position: relative;
}
/* Ventajas as animated cards grid (same behavior as cubre) */
.ventajas-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(12px, 2vw, 20px);
}
@media (max-width: 1024px) { .ventajas-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) { .ventajas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ventajas-grid { grid-template-columns: 1fr; } }
.ventaja-card {
  grid-column: span 3;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.65));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 18px 18px 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 14px;
  align-items: start;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
@media (max-width: 1024px) { .ventaja-card { grid-column: span 4; } }
@media (max-width: 720px) { .ventaja-card { grid-column: span 2; } }
.ventaja-card::before{
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background:
    conic-gradient(from var(--_angle,0deg),
      rgba(0,206,209,0) 0 10%,
      rgba(0,206,209,.95) 10% 20%,
      rgba(0,206,209,0) 20% 100%) border-box;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  filter: drop-shadow(0 0 10px rgba(0,206,209,.35));
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
}
.ventaja-card:hover::before{ opacity:1; animation: borderRunner 2.2s linear infinite; }
.ventaja-card::after{ will-change: transform, opacity; }
.ventaja-card.is-visible { transform: translateY(0) scale(1); opacity: 1; }
.ventaja-card:hover { 
  box-shadow: 0 16px 44px rgba(0,0,0,0.22), 0 0 0 2px rgba(0,206,209,0.22) inset; 
}
.ventaja-card:hover::after{ 
    opacity:1; 
    transform: translate(-50%,-50%) scale(1); 
}
.ventaja-card::after{
  content:''; 
  position:absolute; 
  left:50%; 
  top:50%; 
  width:140%; 
  height:140%;
  transform: translate(-50%,-50%) scale(0.96); 
  pointer-events:none;
  background: radial-gradient(circle at center, rgba(0,206,209,0.14), rgba(0,206,209,0) 60%);
  opacity:0; transition: opacity .35s ease, transform .35s ease;
}
.ventaja-icon {
  width: 48px; 
  height: 48px; 
  border-radius: 12px; 
  display: grid; 
  place-items: center;
  color: #059669; 
  background: radial-gradient(120% 120% at 10% 10%, rgba(5, 150, 105, 0.22), rgba(5, 150, 105, 0.08));
}
.ventaja-icon i { font-size: 20px; }
.ventaja-content h3 { font-size: clamp(1rem,.9rem + .5vw,1.15rem); margin: 2px 0 6px; color:#05233d; }
.ventaja-content p { font-size: clamp(.92rem,.86rem + .2vw,1rem); line-height:1.55; color:#203543; margin:0; }

/* Hover accent for both cards */
.cubre-card:hover .cubre-icon { transform: translateY(-2px); }
.ventaja-card:hover .ventaja-icon { transform: translateY(-2px); }
.cubre-icon, .ventaja-icon { transition: transform .25s ease; }

.ventajas-header, .cubre-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.ventajas h2, .cubre h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ventajas-list, .cubre-list {
    list-style: none;
    display: grid;
    gap: 20px;
}

.ventajas-list li, .cubre-list li {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.6;
    padding-left: 30px;
    position: relative;
    text-align: justify;
}

.ventajas-list li::before, .cubre-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00CED1;
    font-size: 1.8rem;
    line-height: 1.3;
}

.ventajas-list li, .cubre-list li {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.6;
    padding-left: 30px;
    position: relative;
    text-align: justify;
    transition: all 0.3s ease;
    padding: 12px 20px 12px 30px;
    border-radius: 8px;
    cursor: pointer;
}

.ventajas-list li::before, .cubre-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00CED1;
    font-size: 1.8rem;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.ventajas-list li:hover, .cubre-list li:hover {
    padding-left: 40px;
    background: rgba(0, 206, 209, 0.15);
    border-left: 3px solid #00CED1;
    box-shadow: inset 0 0 15px rgba(0, 206, 209, 0.1);
}

.ventajas-list li:hover::before, .cubre-list li:hover::before {
    color: #FFD700;
    font-size: 2rem;
}

.cotizacion-btn {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #002855;
    padding: 20px 0;
    border-radius: 50px;
    border: none;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    width: 100%;
    max-width: 600px;
    display: block;
    margin: 70px auto;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.cotizacion-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.5s ease;
}

.cotizacion-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
}

.cotizacion-btn:hover::before {
    left: 100%;
}

.cotizacion-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .title-section, .title-section-retiro {
        padding: 30px 40px;
    }

    .title-section h1, .title-section-retiro h1 {
        font-size: 2.5rem;
    }

    .hero_life {
        padding: 60px 40px;
        flex-direction: column;
        text-align: center;
    }

    .hero_life-content p {
        font-size: 1.5rem;
    }

    .hero_life-image .image-circle {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .title-section {
        padding: 25px 30px;
        flex-direction: column;
        text-align: center;
    }

    .title-section .icon-container {
        width: 140px;
        height: 110px;
    }

    .title-section h1 {
        font-size: 2rem;
    }

    .hero_life {
        padding: 40px 30px;
    }

    .hero_life-content p {
        font-size: 1.25rem;
    }

    .hero_life-image .image-circle {
        width: 300px;
        height: 300px;
    }

    .hero_life-image .checkmark {
        width: 120px;
        height: 100px;
        bottom: 2px;
        right: -12px;
    }

    .ventajas, .cubre {
        padding: 40px 30px;
    }

    .ventajas h2, .cubre h2 {
        font-size: 1.75rem;
    }

    .ventajas-list li, .cubre-list li {
        font-size: 1.2rem;
    }

    .cotizacion-btn {
        font-size: 1.1rem;
        padding: 16px 0;
        max-width: 100%;
    }
}

/*          Estilos plan de retiro         */   
/* Sección del título */
.title-section-retiro {
    background: linear-gradient(to right, #c8f5d8 0%, #a8d5f5 50%, #8fb8e8 100%);
    padding: 10px 60px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.title-section-retiro .icon-container {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
}

.title-section-retiro .icon-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.title-section-retiro h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.video-section {
    width: 100%;
    padding: 0;
    background: #000;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Aspecto 16:9 */
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}

.play-button:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.video-message {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    padding: 0 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .play-button svg {
        width: 60px;
        height: 60px;
    }
    
    .video-message {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .play-button svg {
        width: 50px;
        height: 50px;
    }
    
    .video-message {
        font-size: 1rem;
        padding: 0 15px;
    }
}

/* Sección Hero Retiro */
.hero_retiro {
    background: linear-gradient(135deg, #002855 0%, #003d7a 100%);
    padding: 0 0 60px 0;
    position: relative;
}

.hero_retiro .cotizacion-btn {
    margin: 50px auto 0 auto;
    display: block;
}

.hero_retiro-content {
    padding: 60px 80px;
}

.hero_retiro-content h1 {
    color: white;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero_retiro-content p {
    color: white;
    font-size: 1.5rem;
    line-height: 1.7;
    text-align: justify;
    font-weight: 600;
}

.hero_retiro-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.hero_retiro-image .image-retiro {
    width: 100%;
    height: 100%;
}

.hero_retiro-image .image-retiro img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero_retiro .cotizacion-btn {
    margin: 50px auto;
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero_retiro-content {
        padding: 50px 40px;
    }

    .hero_retiro-content h1 {
        font-size: 2.3rem;
    }

    .hero_retiro-content p {
        font-size: 1.1rem;
    }

    .hero_retiro-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hero_retiro-content {
        padding: 40px 30px;
    }

    .hero_retiro-content h1 {
        font-size: 1.9rem;
    }

    .hero_retiro-content p {
        font-size: 1rem;
    }

    .hero_retiro-image {
        height: 300px;
    }

    .hero_retiro .cotizacion-btn {
        margin: 40px auto;
    }

    .title-section-retiro {
        padding: 25px 30px;
        flex-direction: column;
        text-align: center;
    }

    .title-section-retiro .icon-container {
        width: 140px;
        height: 110px;
    }

    .title-section-retiro h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero_retiro-content {
        padding: 30px 20px;
    }

    .hero_retiro-content h1 {
        font-size: 1.6rem;
    }

    .hero_retiro-content p {
        font-size: 0.95rem;
    }

    .hero_retiro-image {
        height: 250px;
    }

    .hero_retiro .cotizacion-btn {
        margin: 30px auto;
    }
}


/*         Estilos plan educativo        */
/* Sección del título */
.title-section-educacion {
    background: linear-gradient(to right, #00CED1 0%, #7FD8BE 33%, #B8E986 66%, #F0E68C 100%);
    padding: 10px 60px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.title-section-educacion .icon-container {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
}

.title-section-educacion .icon-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.title-section-educacion h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .title-section-educacion {
        padding: 25px 30px;
        flex-direction: column;
        text-align: center;
    }

    .title-section-educacion .icon-container {
        width: 140px;
        height: 110px;
    }

    .title-section-educacion h1 {
        font-size: 2rem;
    }
}

/* Tarjetas educativas (entre imagen y botón) */
.educ-cards{padding:30px 80px;background:linear-gradient(135deg,#002855 0%,#003d7a 100%)}

/* Sección de Personalización Educativa */
.educ-customize-section{display:none}
.educ-cards-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:clamp(12px,2vw,20px)}
/* Arrow-styled cards */
.educ-card{grid-column:span 6;background:linear-gradient(180deg,rgba(255,248,240,.95),rgba(255,248,240,.8));border:1px solid rgba(255,140,0,.20);border-radius:16px;padding:20px 26px;display:grid;grid-template-columns:auto 1fr;gap:14px 16px;align-items:start;box-shadow:0 8px 26px rgba(255,140,0,.08);position:relative;overflow:hidden;transform:translateY(16px) scale(.98);opacity:0;transition:transform .6s cubic-bezier(.2,.7,.2,1),opacity .6s ease,box-shadow .3s ease;clip-path:polygon(0 0,calc(100% - 40px) 0,100% 50%,calc(100% - 40px) 100%,0 100%,0 0)}
/* left accent bar */
.educ-card::marker{content:none}
.educ-card::before{content:'';position:absolute;inset:0;border-radius:16px;padding:1px;background:conic-gradient(from var(--_angle,0deg),rgba(0,206,209,0) 0 10%,rgba(0,206,209,.95) 10% 20%,rgba(0,206,209,0) 20% 100%) border-box;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;filter:drop-shadow(0 0 10px rgba(0,206,209,.35));pointer-events:none;opacity:0;transition:opacity .35s ease}
/* left colored band */
.educ-card::after{content:'';position:absolute;left:0;top:0;height:100%;width:10px;background:linear-gradient(180deg,#ff8c00,#f6e7d8);opacity:.95}
.educ-card.is-visible{transform:translateY(0) scale(1);opacity:1}
.educ-card:hover{box-shadow:0 16px 44px rgba(0,0,0,.22),0 0 0 2px rgba(0,206,209,.22) inset}
.educ-card:hover::before{opacity:1;animation:borderRunner 2.2s linear infinite}
/* radial halo preserved (no internal chevron now) */
.educ-icon{width:54px;height:54px;border-radius:12px;display:grid;place-items:center;color:#c2410c;background:radial-gradient(120% 120% at 10% 10%,rgba(255,140,0,.22),rgba(255,140,0,.08));transition:transform .25s ease}
.educ-icon i{font-size:22px}
.educ-card:hover .educ-icon{transform:translateY(-2px)}
.educ-content h3{font-size:clamp(1.05rem,.95rem + .6vw,1.25rem);margin:2px 0 6px;color:#5b3312}
.educ-content ul{margin:0;padding-left:18px;display:grid;gap:6px}
.educ-content li{font-size:clamp(.92rem,.86rem + .2vw,1rem);line-height:1.55;color:#3a2a1a}

/* Orange/Beige variants */
.educ-card--beige{background:linear-gradient(180deg,rgba(252,244,231,.96),rgba(252,244,231,.82));border-color:rgba(217,119,6,.22);box-shadow:0 8px 26px rgba(217,119,6,.08)}
.educ-card--beige .educ-icon{color:#b45309;background:radial-gradient(120% 120% at 10% 10%,rgba(217,119,6,.22),rgba(217,119,6,.08))}
.educ-card--beige::after{background:linear-gradient(180deg,#ffa94d,#fdeacd)}
.educ-card--light{background:linear-gradient(180deg,rgba(255,253,245,.96),rgba(255,253,245,.85));border-color:rgba(245,158,11,.18)}
.educ-card--light .educ-icon{color:#a16207;background:radial-gradient(120% 120% at 10% 10%,rgba(245,158,11,.22),rgba(245,158,11,.08))}
.educ-card--light::after{background:linear-gradient(180deg,#ffb86b,#fff2da)}

@media (max-width: 1024px){.educ-card{grid-column:span 6}}
@media (max-width: 720px){.educ-cards{padding:24px 30px}.educ-cards-grid{grid-template-columns:repeat(2,1fr)}.educ-card{grid-column:span 2;clip-path:none;border-radius:16px}}
@media (max-width: 480px){.educ-cards-grid{grid-template-columns:1fr}.educ-card{grid-template-columns:1fr}}

/*
/* Ventajas compact cards next to image */
.ventajas-med-grid{display:grid;grid-template-columns:1fr;gap:14px;margin:0 0 10px 0}
.ventaja-med-card{display:grid;grid-template-columns:auto 1fr;gap:10px 12px;align-items:start;background:linear-gradient(180deg,rgba(255,255,255,.85),rgba(255,255,255,.65));border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:14px 14px 12px;box-shadow:0 6px 24px rgba(0,0,0,.08);transform:translateY(14px) scale(.98);opacity:0;transition:transform .6s cubic-bezier(.2,.7,.2,1),opacity .6s ease,box-shadow .3s ease;position:relative;overflow:hidden}
.ventaja-med-card.is-visible{transform:translateY(0) scale(1);opacity:1}
.ventaja-med-card:hover{box-shadow:0 16px 44px rgba(0,0,0,.22),0 0 0 2px rgba(0,206,209,.22) inset}
.ventaja-med-card::before{content:'';position:absolute;inset:0;border-radius:14px;padding:1px;background:conic-gradient(from var(--_angle,0deg),rgba(0,206,209,0) 0 10%,rgba(0,206,209,.95) 10% 20%,rgba(0,206,209,0) 20% 100%) border-box;-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;filter:drop-shadow(0 0 8px rgba(0,206,209,.32));opacity:0;transition:opacity .35s ease}
.ventaja-med-card:hover::before{opacity:1;animation:borderRunner 2.2s linear infinite}
.ventaja-med-card::after{content:'';position:absolute;left:50%;top:50%;width:135%;height:135%;transform:translate(-50%,-50%) scale(.96);pointer-events:none;background:radial-gradient(circle at center,rgba(0,206,209,.12),rgba(0,206,209,0) 60%);opacity:0;transition:opacity .35s ease,transform .35s ease}
.ventaja-med-card:hover::after{opacity:1;transform:translate(-50%,-50%) scale(1)}
.ventaja-med-icon{
    width:42px;
    height:42px;
    border-radius:10px;
    display:grid;
    place-items:center;
    color:#0f5fff;
    background: radial-gradient(120% 120% at 10% 10%, rgba(15,95,255,0.18), rgba(15,95,255,0.06));
    transition:transform .25s ease
}
.ventaja-med-card:hover .ventaja-med-icon{transform:translateY(-2px)}
.ventaja-med-icon i{font-size:18px}
.ventaja-med-content h3{font-size:clamp(.98rem,.9rem + .4vw,1.1rem);margin:2px 0 4px;color:#05233d}
.hero_medical .ventaja-med-content p{
    font-size:clamp(.9rem,.86rem + .2vw,.98rem);
    line-height:1.5;
    color:#203543;
    margin:0}
@media (max-width: 768px){.ventajas-med-grid{gap:12px}}

/* Sección del título */
.title-section-medical {
    background: linear-gradient(to right, #7ED957 0%, #B8E968 50%, #E8F48C 100%);
    padding: 10px 60px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.title-section-medical .icon-container {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
}

.title-section-medical .icon-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.title-section-medical h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .title-section-medical {
        padding: 25px 30px;
        flex-direction: column;
        text-align: center;
    }

    .title-section-medical .icon-container {
        width: 140px;
        height: 110px;
    }

    .title-section-medical h1 {
        font-size: 2rem;
    }
}

/* Sección Hero Médicos */
.hero_medical {
    background: linear-gradient(135deg, #002855 0%, #003d7a 100%);
    padding: 60px 80px;
    position: relative;
}

.hero_medical-intro {
    margin-bottom: 60px;
}

.hero_medical-intro p,
.hero_medical-content p {
    color: white;
    font-size: 1.5rem;
    line-height: 1.7;
    text-align: justify;
    font-weight: 600;
    margin: 0;
}

.hero_medical-bottom {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.hero_medical-content {
    flex: 1;
}

.hero_medical-content h1 {
    color: white;
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    line-height: 1.2;
}

.ventajas-list {
    color: white;
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 500;
    list-style: none;
    margin: 0 0 40px 0;
    padding: 0;
}

.ventajas-list li {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.ventajas-list li:before {
    content: "•";
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.hero_medical-image {
    flex-shrink: 0;
    position: relative;
    width: 350px;
    height: 350px;
}

.hero_medical-image .image-medical {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 80px;
}

.hero_medical-image .image-medical img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 80px;
}

.hero_medical-image .heart-icon-medical {
    position: absolute;
    top: 20px;
    right: 290px;
    width: 80px;
    height: 80px;
    z-index: 10;
}

.hero_medical-image .heart-icon-medical img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(255, 0, 0, 0.4));
}

.cotizacion-btn {
    margin: 60px auto 0 auto;
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero_medical {
        padding: 50px 40px;
    }

    .hero_medical-intro p {
        font-size: 1.2rem;
    }

    .hero_medical-bottom {
        gap: 40px;
    }

    .hero_medical-content h1 {
        font-size: 2.3rem;
    }

    .ventajas-list {
        font-size: 1rem;
    }

    .hero_medical-content p {
        font-size: 1.2rem;
    }

    .hero_medical-image {
        width: 300px;
        height: 300px;
    }

    .hero_medical-image .heart-icon-medical {
        width: 70px;
        height: 70px;
        top: 15px;
        right: 250px;
    }
}

@media (max-width: 768px) {
    .hero_medical {
        padding: 40px 30px;
    }

    .hero_medical-intro p, .hero_medical-content p {
        font-size: 1.2rem;
    }

    .hero_medical-bottom {
        flex-direction: column;
        gap: 30px;
    }

    .hero_medical-content h1 {
        font-size: 1.9rem;
    }

    .ventajas-list {
        font-size: 0.95rem;
    }


    .hero_medical-image {
        width: 280px;
        height: 280px;
        margin: 0 auto;
        margin-bottom: 50px;
    }

    .hero_medical-image .heart-icon-medical {
        width: 60px;
        height: 60px;
        top: 10px;
        right: 220px;
    }

    .cotizacion-btn {
        margin: 40px auto 0 auto;
    }
}

@media (max-width: 480px) {
    .hero_medical {
        padding: 30px 20px;
    }

    .hero_medical-intro p {
        font-size: 0.95rem;
    }

    .hero_medical-bottom {
        gap: 20px;
    }

    .hero_medical-content h1 {
        font-size: 1.6rem;
    }

    .ventajas-list {
        font-size: 0.9rem;
    }

    .hero_medical-content p {
        font-size: 0.9rem;
    }

    .hero_medical-image {
        width: 250px;
        height: 250px;
    }

    .hero_medical-image .heart-icon-medical {
        width: 50px;
        height: 50px;
    }

    .cotizacion-btn {
        margin: 30px auto 0 auto;
    }
}


/* Seguro de Vida - Cubres responsive animated cards */
.cubre {
  padding: min(8vw, 64px) 5vw;
}
.cubre-header h2 {
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}
.cubre-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(12px, 2vw, 20px);
}
@media (max-width: 1024px) {
  .cubre-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 720px) {
  .cubre-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cubre-grid { grid-template-columns: 1fr; }
}
.cubre-card {
  grid-column: span 3;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0.6));
  backdrop-filter: saturate(120%) blur(6px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px 14px;
  transform: translateY(16px) scale(0.98);
  opacity: 0;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .cubre-card { grid-column: span 4; }
}
@media (max-width: 720px) {
  .cubre-card { grid-column: span 2; }
}
@media (max-width: 480px) {
  .cubre-card { grid-template-columns: 1fr; }
}
.cubre-card.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.cubre-card:hover {
  box-shadow: 0 14px 40px rgba(0,0,0,0.18), 0 0 0 2px rgba(15,95,255,0.18) inset;
}
.cubre-card:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
@keyframes borderRunner {
  to { --_angle: 360deg; }
}
.cubre-card::after{
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 140%;
  height: 140%;
  transform: translate(-50%, -50%) scale(0.96);
  pointer-events: none;
  background: radial-gradient( circle at center, rgba(15,95,255,0.12), rgba(15,95,255,0) 60% );
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
}
/* runner border for cubre */
.cubre-card::before{
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px; /* creates the border gap */
  background: conic-gradient(from var(--_angle,0deg),
    rgba(15,95,255,.0) 0 10%,
    rgba(15,95,255,.9) 10% 20%,
    rgba(15,95,255,.0) 20% 100%) border-box;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  filter: drop-shadow(0 0 10px rgba(15,95,255,.35));
  pointer-events: none;
  opacity: 0; /* visible on hover */
  transition: opacity .35s ease;
}
.cubre-card:hover::before{ opacity: 1; animation: borderRunner 2.2s linear infinite; }
.cubre-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #0f5fff;
  background: radial-gradient(120% 120% at 10% 10%, rgba(15,95,255,0.18), rgba(15,95,255,0.06));
}
.cubre-icon i { font-size: 22px; }
.cubre-content h3 {
  font-size: clamp(1rem, .9rem + .5vw, 1.15rem);
  margin: 2px 0 6px;
}
.cubre-content p {
  font-size: clamp(.92rem, .86rem + .2vw, 1rem);
  line-height: 1.55;
  color: #28323b;
  margin: 0;
}
.cubre-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(15,95,255,.22), rgba(15,95,255,0) 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.cubre-card::after{ will-change: transform, opacity; }
.cubre-card { position: relative; overflow: hidden; }
.cubre-card[data-idx] { transition-delay: calc(var(--d, 0) * 60ms); }

/* Estilos seguro de auto */
/* Sección del título */
.title-section-auto {
    background: linear-gradient(to right, #00BCD4 0%, #0099CC 50%, #0052A3 100%);
    padding: 10px 60px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.title-section-auto .icon-container {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
}

.title-section-auto .icon-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.title-section-auto h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .title-section-auto {
        padding: 25px 30px;
        flex-direction: column;
        text-align: center;
    }

    .title-section-auto .icon-container {
        width: 140px;
        height: 110px;
    }

    .title-section-auto h1 {
        font-size: 2rem;
    }
}

/* Sección Hero Auto */
.hero_auto, .cotizacion-section {
    background: linear-gradient(135deg, #002855 0%, #003d7a 100%);
    padding: 0 0 60px 0;
    position: relative;
}

.hero_auto .cotizacion-btn {
    margin: 50px auto 0 auto;
    display: block;
}

.hero_auto-content {
    padding: 60px 80px;
}

.hero_auto-content h1 {
    color: white;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero_auto-content p {
    color: white;
    font-size: 1.5rem;
    line-height: 1.7;
    text-align: justify;
    font-weight: 600;
    /* Estilos más llamativos */
    padding: 20px 25px;
    border-left: 6px solid #00CED1;
    background: linear-gradient(135deg, rgba(0, 206, 209, 0.25) 0%, rgba(0, 100, 150, 0.15) 100%);
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 206, 209, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero_auto-content p:hover {
    background: linear-gradient(135deg, rgba(0, 206, 209, 0.4) 0%, rgba(0, 150, 200, 0.25) 100%);
    border-left-color: #FFD700;
    box-shadow: 0 8px 25px rgba(0, 206, 209, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    padding-left: 30px;
}

.hero_auto-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.hero_auto-image .image-auto {
    width: 100%;
    height: 100%;
}

.hero_auto-image .image-auto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero_auto .cotizacion-btn {
    margin: 50px auto;
    display: block;
}

/* Sección Cotización */
.cotizacion-section {
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.cotizacion-section p {
    color: #FFFFFF;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 3px;
    padding: 35px 50px;
    background: linear-gradient(135deg, #FF6B00 0%, #FFD700 50%, #FF6B00 100%);
    border: 3px solid #FFD700;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.8),
                0 0 80px rgba(255, 107, 0, 0.6),
                0 15px 40px rgba(0, 0, 0, 0.4),
                inset 0 2px 0 rgba(255, 255, 255, 0.5);
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.5),
                 0 0 20px rgba(255, 215, 0, 0.8);
    margin: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    display: block;
    text-align: center;
    width: fit-content;
}

.cotizacion-section p::before {
    content: "⚡";
    margin-right: 12px;
    font-size: 1.5rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.cotizacion-section p::after {
    content: "⚡";
    margin-left: 12px;
    font-size: 1.5rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.cotizacion-section p:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 0 60px rgba(255, 215, 0, 1),
                0 0 100px rgba(255, 107, 0, 0.8),
                0 20px 50px rgba(0, 0, 0, 0.5),
                inset 0 2px 0 rgba(255, 255, 255, 0.6);
    letter-spacing: 5px;
}

.cotizacion-section .cotizacion-btn {
    margin: 0 auto;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero_auto-content {
        padding: 50px 40px;
    }

    .hero_auto-content h1 {
        font-size: 2.3rem;
    }

    .hero_auto-content p {
        font-size: 1.1rem;
    }

    .hero_auto-image {
        height: 350px;
    }

    .cotizacion-section {
        padding: 50px 40px;
    }

    .cotizacion-section p {
        font-size: 2rem;
        padding: 30px 40px;
    }
}

@media (max-width: 768px) {
    .hero_auto-content {
        padding: 40px 30px;
    }

    .hero_auto-content h1 {
        font-size: 1.9rem;
    }

    .hero_auto-content p {
        font-size: 1rem;
    }

    .hero_auto-image {
        height: 300px;
    }

    .hero_auto .cotizacion-btn {
        margin: 40px auto;
    }

    .cotizacion-section {
        padding: 40px 30px;
    }

    .cotizacion-section p {
        font-size: 1.5rem;
        padding: 25px 35px;
    }

    .cotizacion-section p::before,
    .cotizacion-section p::after {
        font-size: 1.2rem;
        margin-right: 8px;
        margin-left: 8px;
    }
}

@media (max-width: 480px) {
    .hero_auto-content {
        padding: 30px 20px;
    }

    .hero_auto-content h1 {
        font-size: 1.6rem;
    }

    .hero_auto-content p {
        font-size: 0.95rem;
    }

    .hero_auto-image {
        height: 250px;
    }

    .hero_auto .cotizacion-btn {
        margin: 30px auto;
    }

    .cotizacion-section {
        padding: 30px 20px;
    }

    .cotizacion-section p {
        font-size: 1.3rem;
        padding: 20px 25px;
    }

    .cotizacion-section p::before,
    .cotizacion-section p::after {
        font-size: 1rem;
        margin-right: 6px;
        margin-left: 6px;
    }
}

/* Sección cobertura de seguro de auto */
.coberturas-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    padding: 60px 80px;
    font-family: 'Inter', sans-serif;
}

.coberturas-section h2 {
    color: #FF6B35;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: left;
    letter-spacing: 1px;
}

.table-container {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.coberturas-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.coberturas-table thead {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
}

.coberturas-table th {
    color: white;
    padding: 18px 20px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.coberturas-table td {
    padding: 18px 20px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.coberturas-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 140, 66, 0.08) 100%);
}

.coberturas-table tbody tr:hover td {
    color: #FF6B35;
    font-weight: 600;
}

.coberturas-table tbody tr:first-child td {
    color: #333;
    font-weight: 600;
}

.coberturas-table tbody tr td:first-child {
    text-align: left;
    font-weight: 600;
    color: #333;
}

.coberturas-table tbody tr:hover td:first-child {
    color: #FF6B35;
}

/* Responsive */
@media (max-width: 1024px) {
    .coberturas-section {
        padding: 50px 40px;
    }

    .coberturas-section h2 {
        font-size: 2rem;
    }

    .coberturas-table th,
    .coberturas-table td {
        padding: 14px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .coberturas-section {
        padding: 40px 20px;
    }

    .coberturas-section h2 {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .coberturas-table th,
    .coberturas-table td {
        padding: 12px 8px;
        font-size: 0.8rem;
    }

    .coberturas-table th {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .coberturas-section {
        padding: 30px 15px;
    }

    .coberturas-section h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .coberturas-table th,
    .coberturas-table td {
        padding: 10px 6px;
        font-size: 0.75rem;
    }

    .coberturas-table th {
        font-size: 0.8rem;
    }
}


/*         Estilos seguro de hogar y mascotas         */
/* Sección del título */
.title-section-hogar {
    background: linear-gradient(to right, #7B3FF2 0%, #9D5FFF 25%, #FF1493 75%, #FF69B4 100%);
    padding: 10px 60px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.title-section-hogar .icon-container {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
}

.title-section-hogar .icon-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.title-section-hogar h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .title-section-hogar {
        padding: 25px 30px;
        flex-direction: column;
        text-align: center;
    }

    .title-section-hogar .icon-container {
        width: 140px;
        height: 110px;
    }

    .title-section-hogar h1 {
        font-size: 2rem;
    }
}

/* Sección Hero Hogar */
.hero_hogar {
    background: linear-gradient(135deg, #002855 0%, #003d7a 100%);
    padding: 0 0 60px 0;
    position: relative;
}

.hero_hogar-images {
    display: flex;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.hero_hogar-image {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.hero_hogar-image-1 {
    border-right: 3px solid rgba(255, 255, 255, 0.1);
}

.hero_hogar-image:hover {
    flex: 1.2;
}

.hero_hogar-image .image-hogar {
    width: 100%;
    height: 100%;
}

.hero_hogar-image .image-hogar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.hero_hogar-image:hover .image-hogar img {
    transform: scale(1.05);
}

.hero_hogar-content {
    padding: 60px 80px;
}

.hero_hogar-content h1 {
    color: white;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero_hogar-content p {
    color: white;
    font-size: 1.5rem;
    line-height: 1.7;
    text-align: justify;
    font-weight: 600;
}

.cubre-header p { 
    font-weight: 700;
    text-align: center; 
    margin: 0 auto 18px auto; 
    max-width: 900px; 
    font-size: clamp(1rem, 0.95rem + 0.6vw, 1.25rem); 
    line-height: 1.6; color: rgba(255,255,255,0.95); 
    background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.06)); 
    padding: 14px 18px; 
    border-radius: 12px; 
    border: 1px solid rgba(255,255,255,0.15); 
    box-shadow: 0 8px 24px rgba(0,0,0,0.18); 
    position: relative; 
    overflow: hidden; 
    transform: translateY(10px); 
    opacity: 0; 
    animation: cubreHeaderFadeIn 600ms ease-out forwards; 
} 

.cubre-header p::after { 
    content: ''; 
    position: absolute; 
    left: 50%; 
    bottom: -1px; 
    transform: translateX(-50%); 
    width: 62%; 
    height: 3px; 
    border-radius: 2px; 
    background: linear-gradient(90deg, #00CED1, #7FD8BE); 
    opacity: 0.85; 
    filter: drop-shadow(0 0 6px rgba(0,206,209,0.4)); 
} 

.cubre .cubre-header p:hover { 
    box-shadow: 0 12px 32px rgba(0,0,0,0.26); 
    transform: translateY(0); 
} 

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

.hero_hogar .cotizacion-btn {
    margin: 50px auto 0 auto;
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero_hogar-images {
        height: 350px;
    }

    .hero_hogar-content {
        padding: 50px 40px;
    }

    .hero_hogar-content h1 {
        font-size: 2.3rem;
    }

    .hero_hogar-content p, .cubre-header p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero_hogar-images {
        flex-wrap: wrap;
        height: auto;
        max-height: 600px;
    }

    .hero_hogar-image {
        flex: 1;
        min-width: 50%;
        height: 280px;
        position: relative;
    }

    .hero_hogar-image-1 {
        border-right: none;
        z-index: 2;
        transform: translateY(-20px);
        border-radius: 0 0 20px 0;
        box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.3);
    }

    .hero_hogar-image-2 {
        z-index: 1;
        transform: translateY(20px);
        border-radius: 20px 0 0 0;
        box-shadow: 10px -10px 30px rgba(0, 0, 0, 0.3);
    }

    .hero_hogar-image:hover {
        flex: 1;
        transform: none;
    }

    .hero_hogar-content {
        padding: 40px 30px;
        width: 100%;
    }

    .hero_hogar-content h1 {
        font-size: 1.9rem;
    }

    .hero_hogar-content p, .cubre-header p {
        font-size: 1rem;
    }

    .hero_hogar .cotizacion-btn {
        margin: 40px auto;
    }
}

@media (max-width: 480px) {
    .hero_hogar-images {
        flex-direction: column;
        max-height: none;
        height: auto;
    }

    .hero_hogar-image {
        min-width: 100%;
        height: 200px;
    }

    .hero_hogar-image-1 {
        transform: translateX(-10px);
        border-radius: 0 20px 0 0;
    }

    .hero_hogar-image-2 {
        transform: translateX(10px);
        border-radius: 0 0 0 20px;
    }

    .hero_hogar-content {
        padding: 30px 20px;
    }

    .hero_hogar-content h1 {
        font-size: 1.6rem;
    }

    .hero_hogar-content p, .cubre-header p {
        font-size: 0.95rem;
    }

    .hero_hogar .cotizacion-btn {
        margin: 30px auto;
    }
}

/* Sección de afectaciones */
.afectaciones {
    background: white;
    padding: 60px 80px;
    position: relative;
}

.afectaciones-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.afectaciones h2 {
    color: #002855;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.afectaciones-list {
    list-style: none;
    display: grid;
    gap: 20px;
}

.afectaciones-list li {
    color: #003d7a;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.6;
    padding-left: 30px;
    position: relative;
    text-align: justify;
    transition: all 0.3s ease;
    padding: 12px 20px 12px 30px;
    border-radius: 8px;
    cursor: pointer;
}

.afectaciones-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00CED1;
    font-size: 1.8rem;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.afectaciones-list li:hover {
    padding-left: 40px;
    color: #002855;
    background: rgba(0, 206, 209, 0.1);
    border-left: 3px solid #00CED1;
    box-shadow: inset 0 0 15px rgba(0, 206, 209, 0.08);
}

.afectaciones-list li:hover::before {
    color: #FF6B35;
    font-size: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .afectaciones {
        padding: 50px 40px;
    }

    .afectaciones h2 {
        font-size: 2rem;
    }

    .afectaciones-list li {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .afectaciones {
        padding: 40px 30px;
    }

    .afectaciones h2 {
        font-size: 1.75rem;
    }

    .afectaciones-list li {
        font-size: 1.1rem;
    }

    .afectaciones-list li:hover {
        padding-left: 35px;
    }
}

@media (max-width: 480px) {
    .afectaciones {
        padding: 30px 20px;
    }

    .afectaciones h2 {
        font-size: 1.4rem;
    }

    .afectaciones-list li {
        font-size: 0.95rem;
    }

    .afectaciones-list li:hover {
        padding-left: 35px;
    }
}

/* Seguro educativo – Personaliza tu plan (debajo de tarjetas educativas) */ 
.educ-customize-section { 
    background-color: #002D5E; 
    padding: 64px 80px; 
    position: relative; 
    overflow: hidden; 
} 
.educ-customize-section::before { 
    content:''; 
    position:absolute; 
    inset:0; 
    background: radial-gradient(80% 60% at 10% 20%, rgba(0,206,209,.07), transparent 60%), radial-gradient(70% 50% at 90% 80%, rgba(255, 215, 0, .06), transparent 60%); 
    pointer-events:none; 
} 
.educ-customize-wrapper{ 
    max-width: 1200px; 
    margin: 0 auto; 
}

.educ-customize-header{ 
    text-align:center; 
    margin-bottom: 28px; 
} 
.educ-customize-title{ 
    color:#fff; 
    font-weight: 900; 
    letter-spacing:.8px; 
    text-transform: uppercase; 
    font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); 
    line-height:1.15; 
    margin:0 0 10px 0; 
    position:relative; 
    display:inline-block; 
} 
.educ-customize-title::after{ 
    content:''; 
    display:block; height:4px; width:0; margin:10px auto 0 auto; border-radius:3px; background: linear-gradient(90deg, #00CED1, #7FD8BE); animation: educCustomizeLine 900ms ease-out forwards; } @keyframes educCustomizeLine { to { width: 72%; } }

.educ-customize-subtitle{ 
    color: rgba(255,255,255,.92); 
    font-weight:600; 
    line-height:1.6; 
    max-width: 880px; 
    margin: 0 auto 8px auto; 
    font-size: clamp(.98rem, .9rem + .35vw,1.05rem); 
    text-wrap: balance; 
    text-shadow: 0 1px 0 rgba(0,0,0,.15); 
}

/* Grid responsive auto-fit */ 
.educ-customize-grid{ 
    display:grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: clamp(14px, 2vw, 22px); 
    margin-top: 22px; 
} 
@media (max-width: 1024px){ 
    .educ-customize-grid{ 
        grid-template-columns: repeat(2, 1fr); 
    } 
} 
@media (max-width: 640px){ 
    .educ-customize-grid{ 
        grid-template-columns: 1fr; 
    } 
}

/* Item card */ 
.educ-customize-item{ 
    background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.65)); 
    border: 1px solid rgba(255,255,255,0.12); 
    border-radius: 16px; 
    padding: 16px 16px 14px; 
    display:grid; 
    grid-template-columns:auto 1fr; 
    align-items:start; 
    gap: 12px 14px; 
    position: relative; 
    overflow:hidden; 
    box-shadow: 0 6px 22px rgba(0,0,0,0.08); 
    transform: translateY(14px) scale(.985); 
    opacity: 0; 
    transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s ease, box-shadow .3s ease, border-color .3s ease; 
} 
.educ-customize-item.is-visible{ 
    transform: translateY(0) scale(1); opacity: 1; 
}

.educ-customize-item::before{ 
    content:''; 
    position:absolute; 
    inset:0; 
    border-radius:16px; 
    padding:1px; 
    background: conic-gradient(from var(--_angle,0deg), rgba(0,206,209,0) 0 10%, rgba(0,206,209,.95) 10% 20%, rgba(0,206,209,0) 20% 100%) border-box; 
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); 
    -webkit-mask-composite: xor; 
    mask-composite: exclude; 
    filter: drop-shadow(0 0 10px rgba(0,206,209,.35)); 
    pointer-events:none; 
    opacity:0; 
    transition: opacity .35s ease; 
} 
.educ-customize-item::after{ 
    content:''; 
    position:absolute; 
    left:50%; 
    top:50%; 
    width:135%; 
    height:135%; 
    transform: translate(-50%,-50%) scale(.96); 
    pointer-events:none; 
    background: radial-gradient(circle at center, rgba(0,206,209,.12), rgba(0,206,209,0) 60%); 
    opacity:0; 
    transition: opacity .35s ease, transform .35s ease; 
} 
.educ-customize-item:hover{ box-shadow: 0 16px 44px rgba(0,0,0,0.22), 0 0 0 2px rgba(0,206,209,0.18) inset; border-color: rgba(0,206,209,0.28); transform: translateY(-6px) scale(1.02); } .educ-customize-item:hover::before{ opacity:1; animation: borderRunner 2.2s linear infinite; } .educ-customize-item:hover::after{ opacity:1; transform: translate(-50%,-50%) scale(1); }

/* Icon badge */ 
.educ-customize-icon{ 
    width: 50px; 
    height: 50px; 
    border-radius: 12px; 
    display:grid; 
    place-items:center; 
    color:#ff6b35; 
    background: radial-gradient(120% 120% at 10% 10%, rgba(255,107,53,.20), rgba(255,107,53,.06)); 
    transition: transform .25s ease;
} 
.educ-customize-icon i{ 
    font-size: 20px; 
} .educ-customize-item:hover .educ-customize-icon{ transform: translateY(-2px) rotate(4deg) scale(1.05); }

/* Text */ .educ-customize-content h3{ margin: 2px 0 4px; color:#05233d; font-size: clamp(1rem,.92rem + .45vw,1.1rem); font-weight:800; letter-spacing:.2px; } .educ-customize-content p{ margin:0; color:#203543; font-size: clamp(.92rem,.86rem + .2vw,.99rem); line-height:1.55; } 
.educ-customize-highlight{ 
    color:#0047AB; 
    font-weight:800; 
    background: linear-gradient(180deg, rgba(0,71,171,.18), rgba(0,71,171,0)); 
    padding: 0 .2em; 
    border-radius: 4px; 
}

/* Subtle stagger helper if you want to add via JS: style="--d: index" */ .educ-customize-item{ transition-delay: calc(var(--d, 0) * 60ms); }

/* Spacing tweaks on small screens */ @media (max-width: 768px){ .educ-customize-section{ padding: 40px 30px; } } @media (max-width: 480px){ .educ-customize-section{ padding: 30px 20px; } }

/* ====================================
   MODAL DE PREGUNTAS FRECUENTES (FAQ)
   ==================================== */

/* Overlay oscuro para FAQ */
.faq-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 40, 85, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(5px);
    overflow-y: auto;
    padding: 20px 0;
}

.faq-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Contenedor del FAQ */
.faq-container {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
}

.faq-overlay.active .faq-container {
    transform: scale(1);
}

/* Botón cerrar FAQ */
.close-faq {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: #002855;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s, transform 0.2s;
    z-index: 10;
}

.close-faq:hover {
    background: rgba(0, 40, 85, 0.1);
    transform: rotate(90deg);
}

/* Título y subtítulo */
.faq-title {
    color: #002855;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.faq-subtitle {
    color: #666;
    font-size: 16px;
    text-align: center;
    margin-bottom: 30px;
}

/* Contenedor del accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Item individual del FAQ */
.faq-item {
    border: 2px solid #E5E5E5;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: #FFB800;
}

.faq-item.active {
    border-color: #002855;
}

/* Botón de pregunta */
.faq-question {
    width: 100%;
    background: white;
    border: none;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #002855;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(255, 184, 0, 0.05);
}

.faq-question span {
    flex: 1;
    padding-right: 15px;
}

.faq-question i {
    font-size: 16px;
    color: #FFB800;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Respuesta */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(0, 40, 85, 0.02);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
}

.faq-answer p {
    margin: 0;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

/* Scrollbar personalizada para el contenedor FAQ */
.faq-container::-webkit-scrollbar {
    width: 8px;
}

.faq-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.faq-container::-webkit-scrollbar-thumb {
    background: #FFB800;
    border-radius: 10px;
}

.faq-container::-webkit-scrollbar-thumb:hover {
    background: #002855;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-container {
        padding: 40px 20px;
        max-height: 85vh;
    }

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

    .faq-subtitle {
        font-size: 14px;
    }

    .faq-question {
        font-size: 16px;
        padding: 15px;
    }

    .faq-answer p {
        font-size: 14px;
    }

    .close-faq {
        top: 15px;
        right: 15px;
        font-size: 26px;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .faq-overlay {
        padding: 10px 0;
    }

    .faq-container {
        padding: 30px 15px;
        border-radius: 15px;
        width: 95%;
    }

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

    .faq-question {
        font-size: 15px;
        padding: 12px;
    }

    .faq-accordion {
        gap: 10px;
    }
}



/* Estilos de Unete */
        /* Hero Section */
        .hero_unete {
            background: linear-gradient(135deg, #2E8CE5 0%, #5BC4BF 100%);
            padding: 80px 20px;
            position: relative;
            overflow: hidden;
        }

        .hero_unete-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .hero_text h1 {
            color: white;
            font-size: 2.5rem;
            margin-bottom: 10px;
            line-height: 1.2;
        }

        .hero_text h1 .destaca {
            color: #FFD700;
            font-size: 7rem;
            display: block;
            font-weight: bold;
        }

        .hero_text h1 .subtitulo {
            color: #116045;
            font-size: 4.5rem;
            display: block;
        }

        .btn-unirme {
            background: #5BC4BF;
            color: white;
            padding: 15px 50px;
            border: none;
            border-radius: 50px;
            font-size: 1.2rem;
            font-weight: bold;
            cursor: pointer;
            margin-top: 30px;
            transition: all 0.3s;
            text-transform: uppercase;
        }

        .btn-unirme:hover {
            background: #4AB3AE;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .hero_unete_image {
            position: relative;
            transform: translateX(50px);
        }

        .hero_unete_image img {
            width: 70%;
            height: auto;
            filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
        }

        /* Carrera Section */
        .carrera-section {
            background: white;
            padding: 80px 20px;
        }

        .carrera-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.5fr 1fr;
            gap: 60px;
        }

        .carrera-text h2 {
            color: #2E3A8A;
            font-size: 2.5rem;
            margin-bottom: 30px;
        }

        .carrera-text h2 .line1 {
            display: block;
        }

        .beneficios-lista {
            list-style: none;
        }

        .beneficio-item {
            margin-bottom: 30px;
        }

        .beneficio-item h3 {
            color: #2E3A8A;
            font-size: 1.3rem;
            margin-bottom: 10px;
        }

        .beneficio-item p {
            color: #555;
            font-size: 1rem;
            line-height: 1.6;
        }

        .salario-box {
            background: linear-gradient(135deg, #7ED321 0%, #6BC41E 100%);
            border-radius: 50%;
            width: 350px;
            height: 350px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            box-shadow: 0 15px 40px rgba(126, 211, 33, 0.4);
            position: relative;
        }

        .salario-box h3 {
            font-size: 1.2rem;
            margin-bottom: 25px;
            text-align: center;
            color: #2E3A8A;
            font-weight: bold;
            line-height: 1.3;
        }

        .salario-box .cantidad {
            font-size: 7rem;
            font-weight: 900;
            line-height: 0.9;
            color: white;
            text-shadow: 3px 3px 6px rgba(0,0,0,0.2);
            letter-spacing: -5px;
        }

        .salario-box .mensual {
            font-size: 3rem;
            font-weight: 900;
            color: #2E3A8A;
            letter-spacing: 3px;
            position: relative;
            text-shadow: 
                2px 2px 0px white,
                3px 3px 0px white,
                4px 4px 0px white,
                5px 5px 0px rgba(255,255,255,0.8),
                6px 6px 0px rgba(255,255,255,0.6);
        }

        .salario-box .nota {
            font-size: 0.75rem;
            margin-top: 30px;
            text-align: center;
            padding: 0 60px;
            color: white;
            line-height: 1.4;
            max-width: 280px;
        }

        /* Metodología Section */
        .metodologia-section {
            background: #f5f5f5;
            padding: 80px 20px;
        }

        .metodologia-content {
            max-width: 1200px;
            margin: 0 auto;
        }

        .metodologia-content h2 {
            color: #116045;
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 50px;
        }

        .pasos-container {
            display: flex;
            justify-content: space-between;
            gap: 20px;
            flex-wrap: wrap;
        }

        .paso {
            background: white;
            border-radius: 30px;
            padding: 40px 30px;
            text-align: center;
            flex: 1;
            min-width: 220px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }

        .paso:hover {
            transform: translateY(-10px);
        }

        .paso-icono-necesidades img {
            width: 140px;
            height: 140px;
            object-fit: contain;
            border-radius: 50%; /* Círculo perfecto */
        }
        .paso-icono img {
            width: 140px;
            height: 140px;
            object-fit: contain;
        }


        .paso.amarillo { background: #FFD700; }
        .paso.azul { background: #2E8CE5; color: white; }
        .paso.verde { background: #05DF72; color: white; }
        .paso.naranja { background: #FFA500; color: white; }
        .paso.rojo { background: #FF6B6B; color: white; }

        .paso-numero {
            font-size: 1rem;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .paso-titulo {
            font-size: 1.1rem;
            font-weight: bold;
            margin-bottom: 15px;
            text-transform: uppercase;
        }

        .paso-icono {
            font-size: 3rem;
            margin: 10px 0;
        }

        /* Contacto Section */
        .contacto-section {
            background: linear-gradient(135deg, #2E8CE5 0%, #2E3A8A 100%);
            padding: 80px 20px;
        }

        .contacto-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: 60px;
            align-items: center;
        }

        .contacto-texto h2 {
            color: white;
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 40px;
            padding: 20px;
            background: rgba(0,0,0,0.2);
            border-radius: 20px;
        }

        .contacto-texto h3 {
            color: white;
            font-size: 1.8rem;
            margin-bottom: 20px;
        }

        .contacto-texto p {
            color: white;
            font-size: 1.2rem;
            margin-bottom: 20px;
        }

        .contacto-texto .destacado {
            color: #FFD700;
            font-size: 1.5rem;
            font-weight: bold;
        }

        .formulario-box {
            background: white;
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.3);
        }

        .formulario-box h3 {
            color: #2E3A8A;
            font-size: 1.5rem;
            margin-bottom: 20px;
        }

        .form-group-cupon {
            margin-bottom: 20px;
        }

        .form-group-cupon label {
            display: block;
            color: white;
            margin-bottom: 8px;
            font-weight: bold;
        }

        .form-group-cupon input,
        .form-group-cupon textarea {
            width: 100%;
            padding: 12px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
            transition: border 0.3s;
        }

        .form-group-cupon input:focus,
        .form-group-cupon textarea:focus {
            outline: none;
            border-color: #5BC4BF;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            color: #555;
            margin-bottom: 8px;
            font-weight: bold;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
            transition: border 0.3s;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #5BC4BF;
        }

        .btn-enviar {
            background: #FFD700;
            color: #2E3A8A;
            padding: 15px;
            border: none;
            border-radius: 8px;
            font-size: 1.2rem;
            font-weight: bold;
            cursor: pointer;
            width: 100%;
            transition: all 0.3s;
        }

        .btn-enviar:hover {
            background: #FFC700;
            transform: translateY(-2px);
        }

        .form-nota {
            font-size: 0.8rem;
            color: #2E8CE5;
            text-align: center;
            margin-top: 10px;
        }

        .mensaje {
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            text-align: center;
        }

        .mensaje.exito {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .mensaje.error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        /* Responsive */
        @media (max-width: 968px) {
            .hero_unete-content,
            .carrera-content,
            .contacto-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .salario-box {
                margin: 0 auto;
            }

            .pasos-container {
                flex-direction: column;
            }

            .hero_text h1 {
                font-size: 2rem;
            }

            .hero_text h1 .destaca {
                font-size: 3rem;
            }
        }

        /* Estilos para el loader del botón */
.btn-enviar {
    position: relative;
    transition: all 0.3s ease;
}

.btn-enviar.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-loader {
    display: none !important;
}

.btn-enviar.loading .btn-text {
    display: none;
}

.btn-enviar.loading .btn-loader {
    display: inline-block !important;
}

/* Overlay de mensajes */
.message-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.message-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.message-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.message-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.message-box.success .message-icon {
    background: linear-gradient(135deg, #5BC4BF, #4AB3AE);
    color: white;
}

.message-box.success .message-icon::before {
    content: "✓";
}

.message-box.error .message-icon {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
}

.message-box.error .message-icon::before {
    content: "✕";
}

.message-title {
    color: #2E3A8A;
    font-size: 28px;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.message-text {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Animación de cierre */
.message-overlay.closing {
    animation: fadeOut 0.3s ease forwards;
}

.message-overlay.closing .message-box {
    animation: slideDown 0.3s ease forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(50px);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .message-box {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .message-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .message-title {
        font-size: 22px;
    }
    
    .message-text {
        font-size: 14px;
    }
}



/* Sección Cupón */
.cupon-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #FFF9C4 0%, #B3E5FC 100%);
}

.cupon-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cupon-left {
    text-align: center;
}

.cupon-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.cupon-text {
    font-size: 2rem;
    font-weight: 700;
    color: #0066CC;
}

.cupon-gratis {
    background: linear-gradient(135deg, #FF6B6B, #FF5252);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.2rem;
}

.cupon-title {
    font-size: 4rem;
    font-weight: 900;
    color: #0066CC;
    margin: 10px 0;
}

.cupon-description {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    margin: 20px 0;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.cupon-image-wrapper {
    margin-top: 30px;
}

.cupon-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
}

/* Formulario */
.cupon-form-card {
    background: #003D82;
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.form-title {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #555;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input:focus {
    outline: none;
    border-color: #4CAF50;
    background: rgba(255,255,255,0.15);
}

.btn-descargar {
    width: 100%;
    padding: 15px;
    background: white;
    color: #003D82;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-descargar:not(:disabled):hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76,175,80,0.4);
}

.btn-descargar:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.form-disclaimer {
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin-top: 15px;
}

.cupon-benefits {
    margin-top: 30px;
}

.benefit-text {
    color: #333;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 15px 0;
}

/* Botón Redimir */
.redimir-container {
    text-align: center;
    margin-top: 50px;
}

.btn-redimir {
    background: linear-gradient(135deg, #FF6B6B, #FF5252);
    color: white;
    border: none;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255,82,82,0.4);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-redimir:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,82,82,0.5);
}

/* Modal Redimir */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-redimir {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #FF5252;
}

.modal-redimir h3 {
    color: #003D82;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.modal-redimir p {
    color: #666;
    margin-bottom: 25px;
}

.file-label {
    display: block;
    padding: 15px;
    background: #E3F2FD;
    border: 2px dashed #0051a5;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #000 !important; /* Texto en negro */
}

.file-label:hover {
    border-color: #ff6b1a;
    background: #fff8f0;
    color: #000;/* Mantener negro en hover también */
}

.file-label input[type="file"] {
    display: none;
}

.file-name {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

.btn-submit-redimir {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #4CAF50, #45A049);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit-redimir:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76,175,80,0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .cupon-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cupon-title {
        font-size: 3rem;
    }
    
    .cupon-form-card {
        padding: 30px 25px;
    }
}

/* Mensaje de éxito */
.success-message {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    animation: slideIn 0.3s ease;
}

.success-message i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.success-message p {
    margin: 10px 0;
}

.codigo-cupon {
    font-weight: bold;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    letter-spacing: 2px;
}

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

.separator {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.separator::before,
.separator::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #e0e0e0;
}

.separator::before {
    left: 0;
}

.separator::after {
    right: 0;
}

.separator span {
    background: white;
    padding: 0 15px;
    color: #999;
    font-weight: 500;
}


/* ============================
   MODAL DE MENSAJES
   ============================ */
.message-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.message-modal.active {
    display: flex;
}

.message-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

.message-content.success {
    border-top: 5px solid #4CAF50;
}

.message-content.error {
    border-top: 5px solid #ff5252;
}

.message-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.message-close:hover {
    background: #f0f0f0;
    color: #333;
    transform: rotate(90deg);
}

.message-icon {
    text-align: center;
    margin-bottom: 20px;
}

.message-icon i {
    font-size: 64px;
}

.message-content.success .message-icon i {
    color: #4CAF50;
}

.message-content.error .message-icon i {
    color: #ff5252;
}

.message-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.message-body {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.message-details {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.message-details h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.detail-item {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px;
}

.detail-label {
    font-weight: 600;
    color: #555;
    min-width: 120px;
}

.detail-value {
    color: #777;
    word-break: break-word;
}

.message-note {
    text-align: center;
    font-style: italic;
    color: #888;
    font-size: 14px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .message-content {
        padding: 25px 20px;
        max-width: 95%;
    }
    
    .message-icon i {
        font-size: 48px;
    }
    
    .message-title {
        font-size: 20px;
    }
    
    .detail-item {
        flex-direction: column;
    }
    
    .detail-label {
        min-width: auto;
        margin-bottom: 3px;
    }
}


/* Estilos de footer repetitivo */
/* ============================
   FOOTER
   ============================ */
.main-footer {
    background: linear-gradient(90deg, #003d82 0%, #0066cc 100%);
    padding: 40px 20px;
    margin-top: 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
}

.footer-logo {
    display: flex;
    justify-content: flex-start;
}

.footer-logo img {
    max-width: 280px;
    height: auto;
}

.footer-social {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.footer-social a {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

.footer-social img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-gnp {
    display: flex;
    justify-content: flex-end;
}

.footer-gnp img {
    max-width: 250px;
    height: auto;
}

/* Responsive */
@media (max-width: 968px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-logo,
    .footer-gnp {
        justify-content: center;
    }
    
    .footer-logo img,
    .footer-gnp img {
        max-width: 200px;
    }
    
    .footer-social img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding: 30px 15px;
    }
    
    .footer-social {
        gap: 20px;
    }
    
    .footer-social img {
        width: 45px;
        height: 45px;
    }
    
    .footer-logo img,
    .footer-gnp img {
        max-width: 180px;
    }
}

/* En tu archivo CSS, reemplaza el estilo del input manual por este: */

.form-group input[type="text"]#codigoManual {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #333; /* Color del texto visible */
}

.form-group input[type="text"]#codigoManual:focus {
    outline: none;
    border-color: #0051a5;
}

.form-group input[type="text"]#codigoManual::placeholder {
    color: #999; /* Color del placeholder */
}

.form-group input[type="text"]#codigoManual:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}