/* =========================================
   1. VARIABLES ORIGINALES (RESPETADAS)
   ========================================= */
   :root {
    --dark-blue: #0a2540;
    --teal: #4db6ac;
    --orange-gradient: linear-gradient(90deg, #f9a825 0%, #ff8f00 100%);
    --light-bg: #fdfdfd;
    --blue-bg: #0b3a6f;
    --text-custom-dark: #08305c;
    --white: #ffffff;
    --radius: 22px;
    --card-radius: 24px;
    --bg-blue: #0b3a6f;
    --text-dark: #0b3a6f;
    --green: #1ea38c;
    --blue-border: #6e87b8;
    --green-dark: #1fa28b;
    --text-gray: #6b7c8f;
    --check: #ff7a00;
}

/* =========================================
   2. ESTILOS BASE & BOOTSTRAP OVERRIDES
   ========================================= */
* { box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { color: #0c2d48; background-color: var(--light-bg); }

html {
  /* Altura de tu header + un poco de espacio extra */
  scroll-padding-top: 66px; 
}
/* Texto con colores originales */
.text-dark-blue { color: var(--text-dark) !important; }
.text-dark-custom { color: var(--text-custom-dark) !important; }
a { text-decoration: none; }

/* HEADER */
.header { background: #0c2d48; z-index: 1000; }
.btn-demo {
    background: #ffc107; color: #000;
    padding: 8px 14px; border-radius: 4px; font-weight: bold;
    border: none;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(90deg, #fff 60%, #e3f2fd);
    padding: 60px 0;
}
/* Formulario Hero personalizado para que no parezca 100% Bootstrap */
.lead-form input {
    border: 1px solid #e0e0e0;
}
.contenedor-verde {
    background-color: #38c192;
    border-radius: 50px;
    padding: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.texto-izquierda { color: white; font-weight: bold; margin-left: 20px; }
.boton-enviar {
    background: linear-gradient(to right, #fba43a, #ff7730);
    color: white; font-weight: bold; padding: 10px 35px;
    border-radius: 50px; border: none; cursor: pointer;
}

/* SOFTWARE SECTION */
.software { padding: 70px 0; }
.hero-title { font-size: 40px; font-weight: 900; line-height: 1.1; margin-bottom: 25px; }
.intro-text { font-size: 18px; line-height: 1.5; margin-bottom: 20px; }
.checklist { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.checklist li { font-weight: 800; display: flex; align-items: center; }
.checklist li::before { content: '✔'; color: #8cc63f; margin-right: 10px; font-size: 20px; }

/* FEATURES SECTION (AZUL) */
/* Corrección de la Sección Features */
.features-section {
    background-color: var(--bg-blue);
    padding: 80px 0;
    /* Opción A: Borde superior recto y borde inferior con inclinación leve (Estilo moderno) */
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    
    /* Opción B: Si prefieres que sea totalmente rectangular (como la vista previa exacta), usa esta línea en su lugar: */
    /* clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); */
    
    margin-bottom: 50px;
}

/* Aseguramos que el título tenga espacio y sea legible */
.features-section h1 {
    color: var(--white);
    margin-bottom: 50px;
    position: relative;
    z-index: 2; /* Asegura que el texto esté por encima */
}

/* CARDS ESPECÍFICAS DEL USUARIO */
.card-bg {
    border-radius: var(--card-radius);
    background-size: cover; background-position: center;
    padding: 28px; min-height: 280px; max-height: 340px; display: flex; flex-direction: column; justify-content: flex-end;
    color: white; border: none;
}
.card-top {
    border-radius: var(--card-radius);
    background-color: white; overflow: hidden; border: none;
    min-height: 280px; display: flex; flex-direction: column;
}
.card-top img { width: 100%; }
.card-content { padding: 20px; color: var(--text-dark); }
.card-content h3 { font-size: 1.2rem; font-weight: bold; margin-bottom: 10px; }

/* BENEFITS SECTION */
.benefits h2 { font-weight: 700; font-size: 2.5rem; }
.benefit-card {
    background-color: #ffffff;
    border-radius: var(--radius);
    padding: 28px 32px;
    display: flex; align-items: center; gap: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}
.icon-wrapper {
    width: 64px; height: 64px; border-radius: 50%;
    background-color: var(--blue-dark);
    display: flex; align-items: center; justify-content: center;
}
.icon-wrapper img { width: 35px; height: 35px; object-fit: contain; }
.benefit-text h3 { font-size: 1.25rem; font-weight: 700; color: var(--text-dark); margin-bottom: 5px; }
.benefit-text p { font-size: 0.95rem; color: var(--text-gray); margin: 0; }

/* COMO FUNCIONA */
.seccion-como-funciona {
    background-image: url('../img/Asset 7702.png');
    background-size: cover; background-color: #e8eae9;
    padding: 80px 0;
}
.pill-titulo {
    display: inline-block; background-color: #38c192; color: white;
    font-size: 28px; font-weight: 800; padding: 10px 40px; border-radius: 50px;
}
.subtitulo-azul { color: var(--dark-blue); font-weight: 700; margin-bottom: 50px; }
.card-how {
    border-radius: 20px; height: 400px;
    background-size: cover; background-position: center;
    display: flex; align-items: flex-end; overflow: hidden;
}
.card-content-how {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    width: 100%; padding: 30px 20px; text-align: center; color: white;
}
.card-title { font-weight: 800; font-size: 1.4rem; margin-bottom: 10px; }

/* PAQUETES & PRICING */
.plan {
    border: 2px solid var(--blue-border);
    border-radius: var(--radius);
    padding: 30px; display: flex; flex-direction: column;
}
.plan .btn { background-color: var(--green-dark); color: white; }
.price { font-size: 2.3rem; font-weight: 800; margin: 20px 0; }
.features-pack { list-style: none; padding: 0; margin-top: 20px; text-align: left; }
.features-pack li { margin-bottom: 10px; display: flex; gap: 10px; color: var(--text-gray); }
.features-pack li::before { content: "✔"; color: var(--check); font-weight: 900; }
.compare { margin-top: auto; color: var(--green-dark); font-weight: bold; cursor: pointer; text-align: center; display: block; padding-top: 15px;}

/* TABLA PRECIOS (Estilos específicos para mantener diseño original) */
.pricing-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.pricing-table th, .pricing-table td { padding: 12px; border-bottom: 1px solid #d0d7df; vertical-align: middle; text-align: center;}
.pricing-table th { color: #1f3c88; }
.col-feature { text-align: left !important; }
.check { color: #f47b20; font-weight: bold; font-size: 18px; }
.dash { color: #7f8c8d; }
.section td { background: #e6f2fb; font-weight: 700; color: #4a4a4a; text-align: left; padding-left: 20px;}

/* FOOTER BANNER & PROMO */
.footer-banner {
    background: url('../img/Asset 7502.png') no-repeat center center;
    background-size: cover; color: white;
}
.banner-azul {
    background-color: #002b5c; border-radius: 12px; padding: 30px;
    color: white; box-shadow: 0 5px 15px rgba(0, 43, 92, 0.3);
}
/* Fondo azul oscuro del contenedor */
.banner-cta {
    background-color: #002b55; /* Ajusta este hex al azul exacto de tu marca */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Estilo del botón naranja "Empezar" */
.btn-cta {
    display: inline-block;
    background-color: #ff7f11; /* Color naranja */
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 30px;
    border-radius: 50px; /* Bordes completamente redondos */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta:hover {
    background-color: #e56b00; /* Naranja un poco más oscuro al pasar el mouse */
    color: white;
    transform: scale(1.05); /* Efecto sutil de crecimiento */
}

/* Ajuste opcional para la tipografía */
.lh-sm {
    line-height: 1.2; /* Reduce la separación entre las líneas de texto */
}
.boton-empezar {
    background: linear-gradient(to right, #ff8c00, #ff7730);
    color: white; font-weight: bold; padding: 12px 40px;
    border-radius: 30px; white-space: nowrap;
}
.resaltado { color: #00a884; font-weight: 600; }
.marco-imagen {
    background: linear-gradient(135deg, #4fd6b8, #00a884);
    padding: 6px; border-radius: 30px 30px 60px 30px;
}
.marco-imagen img { border-radius: 24px 24px 54px 24px;}

/* SITE FOOTER */
.site-footer {
    background-image: url('../img/Asset 7602.png');
    background-size: cover; color: white; padding: 70px 0 20px;
    margin-top: 40px;
}
.footer-nav { list-style: none; padding: 0; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: white; opacity: 0.8; transition: opacity 0.3s; }
.footer-nav a:hover { opacity: 1; }
.social-icons { display: flex; gap: 15px; margin-bottom: 20px; justify-content: center; }
.icon-placeholder {
    width: 45px; height: 45px; background: #002b5c; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.icon-placeholder img { width: 40px; height: 40px; object-fit: contain; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 14px; text-align: center; opacity: 0.8;}
.footer-bottom a { color: white; text-decoration: underline; }
.footer-logo {
    height: 75px;
}

.captcha-placeholder {
    border: 1px solid #d3d3d3;
    padding: 8px 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    background: #f9f9f9;
    border-radius: 4px;
    color: #555;
    width: fit-content;
    min-width: 250px;
    /*margin-left: auto;
    margin-right: auto;*/
}
/* =========================================
   3. ANIMACIONES (AÑADIDAS PARA DAR VIDA)
   ========================================= */

/* Efecto Lift (Elevación) para Cards */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s;
}
.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important;
}

/* Efecto Zoom Suave para Imágenes */
.hover-scale {
    transition: transform 0.4s ease;
}
.hover-scale:hover {
    transform: scale(1.02);
}

/* Animación Flotante (Para imagen Hero y Promo) */
.animate-float {
    animation: floating 3s ease-in-out infinite;
}
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Efecto Botones */
.btn-animated {
    transition: all 0.2s ease;
}
.btn-animated:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* --- Elementos Decorativos --- */
.blob-bg {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background-color: #e6f0ff; /* Azul muy pálido */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 0;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    50% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}


/* Define la altura y el comportamiento de la tarjeta */
.card-how {
    position: relative;
    height: 450px; /* Ajusta esto según la altura deseada de tus tarjetas */
    background-size: cover;
    background-position: center top;
    border-radius: 15px;
    overflow: hidden;
    /* Flexbox para alinear el contenido al fondo */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    transition: transform 0.3s ease;
}

/* El contenedor del texto (fondo azul) */
.card-content-how {
    width: 100%;
    /* Degradado sutil para replicar el estilo original (verde a azul oscuro) */
    /* Si prefieres solo azul plano, usa: background-color: #0d1b2a; */
    background: linear-gradient(to bottom, rgba(13, 27, 42, 0.95), #0d1b2a); 
    color: white;
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1); /* Detalle sutil en el borde superior */
    min-height: 140px;
}

.card-title {
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card-description {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0;
}