    /* =====================================================
   LEMONLABS - STYLE 2 (CONNECTLABS) - VERSIÓN FINAL CORREGIDA
   ===================================================== */


/* =====================================================
   SECCIÓN 1: VARIABLES & RESETEO
   ===================================================== */

:root {
    /* Verde Lima Original */
    --color-acento: #95C11F;
    --color-acento-hover: #7A9A18;
    /* Paleta Neutra Premium */
    --color-fondo: #FFFFFF;
    --color-fondo-secundario: #F7F9FC;
    --color-borde: #E2E6EA;
    --color-texto-principal: #0B0F19;
    --color-texto-secundario: #58627A;
    --color-blanco: #FFFFFF;
    /* Sombras & Efectos */
    --sombra-card: 0 4px 12px rgba(0, 0, 0, 0.03);
    --sombra-card-hover: 0 12px 30px -5px rgba(0, 0, 0, 0.08);
    --gradient-angle: 0deg;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-fondo);
    color: var(--color-texto-principal);
    overflow-x: hidden;
    line-height: 1.6;
}


/* =====================================================
   SECCIÓN 2: BOTONES
   ===================================================== */

.btn-acento {
    background: var(--color-acento);
    color: var(--color-texto-blanco);
    padding: 0 2rem;
    height: 54px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-acento);
    cursor: pointer;
    font-size: 1rem;
    white-space: nowrap;
}

.btn-acento:hover {
    background: var(--color-acento-hover);
    border-color: var(--color-acento-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(149, 193, 31, 0.25);
}

.btn-secundario {
    background-color: transparent;
    color: var(--color-texto-principal);
    padding: 0 2rem;
    height: 54px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-borde);
}

.btn-secundario:hover {
    background-color: var(--color-fondo-secundario);
    border-color: var(--color-texto-principal);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    padding: 0 2rem;
    height: 54px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid #25D366;
    cursor: pointer;
    font-size: 1rem;
}

.btn-whatsapp:hover {
    background-color: #1DA851;
    border-color: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}


/* =====================================================
   SECCIÓN 3: HEADER
   ===================================================== */

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-texto-principal);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 24px;
    width: auto;
}

.logo span {
    color: var(--color-acento);
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--color-texto-secundario);
    font-weight: 500;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--color-texto-principal);
}

main {
    padding-top: 100px;
    background-color: var(--color-fondo);
    position: relative;
    z-index: 1;
}


/* =====================================================
   SECCIÓN 4: MENÚ MÓVIL
   ===================================================== */

.mobile-menu-button {
    display: none;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-texto-principal);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--color-borde);
    flex-direction: column;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu ul {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    padding: 0;
}

.mobile-menu li {
    list-style: none;
    width: 100%;
}

.mobile-menu a {
    display: block;
    font-size: 1.1rem;
}


/* =====================================================
   SECCIÓN 5: ANIMACIONES, FONDOS Y LAYOUT
   ===================================================== */

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

section {
    padding: 6rem 2rem;
    max-width: 1240px;
    margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-texto-principal);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

section h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

section>p {
    max-width: 700px;
    margin: 0 auto 4rem auto;
    text-align: center;
    color: var(--color-texto-secundario);
    font-size: 1.15rem;
}


/* HERO ESTÁTICO (LIMPIO) */

.hero {
    min-height: calc(90vh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, #ffffff 0%, #f8fdf5 100%);
}

.hero-inner {
    max-width: 900px;
    z-index: 1;
    width: 100%;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-texto-secundario);
    margin-bottom: 3rem;
}


/* OTRAS SECCIONES ANIMADAS */

.solucion,
.precios,
.cta-final {
    position: relative;
    overflow: hidden;
}

.solucion::before,
.precios::before,
.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, #ffffff, #f4fde9, #ffffff);
    background-size: 200% 200%;
    animation: gradientAnimation 10s ease infinite;
    z-index: -1;
}


/* =====================================================
   SECCIÓN 6: FORMULARIO DE LEADS
   ===================================================== */

.lead-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    max-width: 550px;
    margin: 0 auto 1.5rem auto;
    position: relative;
}

.lead-form input[type="email"] {
    flex: 1;
    height: 54px;
    padding: 0 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--color-borde);
    font-size: 1rem;
    min-width: 0;
    background: #fff;
    transition: all 0.3s ease;
}

.lead-form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-acento);
    box-shadow: 0 0 0 4px rgba(149, 193, 31, 0.15);
}

.lead-form .btn-acento {
    margin: 0;
    flex-shrink: 0;
}

.form-message {
    position: absolute;
    bottom: -30px;
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    display: none;
}

.form-message.success {
    color: var(--color-acento-hover);
}

.form-message.error {
    color: #DC2626;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

.hero-cta .btn-whatsapp {
    width: 100%;
    margin-top: 0.5rem;
}


/* =====================================================
   SECCIÓN 7: TARJETAS DE PROBLEMAS (GRID FALTANTE CORREGIDO)
   ===================================================== */

.principios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.p-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: var(--sombra-card);
    border: 1px solid var(--color-borde);
    /* El borde superior de color viene del HTML inline */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.p-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-card-hover);
}

.p-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--color-texto-principal);
}

.p-card p {
    font-size: 1rem;
    color: var(--color-texto-secundario);
    margin: 0;
    line-height: 1.6;
}


/* =====================================================
   SECCIÓN 8: FEATURES (ZIG ZAG) Y PRECIOS
   ===================================================== */

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 6rem;
}

.feature-item:nth-child(even)>div:first-child {
    order: 2;
}

.feature-item:nth-child(even)>div:last-child {
    order: 1;
}

.feature-item img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--sombra-card-hover);
    border: 1px solid var(--color-borde);
}

.feature-item h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-item p {
    text-align: left;
    margin: 0;
    font-size: 1.1rem;
}


/* Tarjeta Precio */

.precio-unico-card {
    background: #fff;
    border: 1px solid var(--color-borde);
    border-radius: 24px;
    padding: 4rem;
    max-width: 900px;
    margin: 4rem auto 0 auto;
    box-shadow: 0 20px 40px -10px rgba(149, 193, 31, 0.15);
    text-align: left;
}

.precio-unico-card h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.precio-unico-card ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin-bottom: 3rem;
}

.precio-unico-card li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.05rem;
}

.precio-unico-card li span {
    color: var(--color-acento);
    font-weight: bold;
    font-size: 1.2rem;
}

.precio-unico-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;