/**
 * ============================================================
 * Seguimiento Empresarial Fijo - PointSeller
 * Estilos dedicados de la landing de consultoría empresarial.
 * Reutiliza las variables de css/modern-theme.css (:root).
 * Todas las clases usan el prefijo .se- para evitar conflictos.
 * ============================================================
 */

/* ============================================================
   1. BASE / UTILIDADES DE SECCIÓN
   ============================================================ */
.se-section {
    padding: 6rem 0;
    position: relative;
}
.se-section--light { background: var(--gray-50); }
.se-section--tight { padding: 4.5rem 0; }

.se-head {
    max-width: 760px;
    margin: 0 auto 3.5rem;
    text-align: center;
}
.se-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-50);
    padding: 0.4rem 1rem;
    border-radius: var(--rounded-full);
    margin-bottom: 1rem;
}
.se-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--gray-900);
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}
.se-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   2. HERO
   ============================================================ */
.se-hero {
    position: relative;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(124, 58, 237, 0.35), transparent 60%),
        radial-gradient(900px 500px at 0% 110%, rgba(37, 99, 235, 0.30), transparent 55%),
        var(--gradient-hero);
    color: var(--white);
    padding: 9rem 0 6rem;
    overflow: hidden;
}
.se-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 75%);
    pointer-events: none;
}
.se-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}
.se-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: var(--rounded-full);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(6px);
}
.se-hero__badge i { color: #4ade80; }
.se-hero__title {
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 1.25rem;
    color: var(--white);
}
.se-hero__title span {
    background: linear-gradient(120deg, #60a5fa, #c4b5fd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.se-hero__subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 0 2rem;
}
.se-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.se-hero__trust {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.se-hero__trust-item { display: flex; flex-direction: column; }
.se-hero__trust-num { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.se-hero__trust-label { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); margin-top: 0.35rem; }

/* Visual lateral del hero */
.se-hero__visual { position: relative; }
.se-hero__card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--rounded-2xl);
    box-shadow: var(--shadow-2xl);
    padding: 1.5rem;
    color: var(--gray-800);
}
.se-hero__card img { border-radius: var(--rounded-lg); }
.se-hero__float {
    position: absolute;
    background: var(--white);
    color: var(--gray-800);
    border-radius: var(--rounded-xl);
    box-shadow: var(--shadow-xl);
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 600;
    font-size: 0.9rem;
}
.se-hero__float i {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--rounded-md);
    background: var(--primary-50);
    color: var(--primary);
}
.se-hero__float--tl { top: -18px; left: -18px; animation: seFloat 4s ease-in-out infinite; }
.se-hero__float--br { bottom: -18px; right: -18px; animation: seFloat 4s ease-in-out infinite 1.5s; }
.se-hero__float--br i { background: #dcfce7; color: #16a34a; }

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

/* ============================================================
   3. PROBLEMAS QUE RESOLVEMOS
   ============================================================ */
.se-problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}
.se-problem {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--rounded-xl);
    padding: 1.75rem;
    transition: var(--transition);
}
.se-problem:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.se-problem__icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--rounded-lg);
    background: #fef2f2;
    color: var(--danger);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.se-problem h4 { font-size: 1.05rem; font-weight: 700; color: var(--gray-800); margin: 0; }

/* ============================================================
   4. ¿QUÉ INCLUYE?
   ============================================================ */
.se-includes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem 2rem;
}
.se-include {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--rounded-lg);
    padding: 1rem 1.25rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}
.se-include:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.se-include i {
    color: var(--success);
    background: #dcfce7;
    width: 28px; height: 28px; min-width: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--rounded-full);
    font-size: 0.8rem;
}

/* ============================================================
   5. PRECIOS
   ============================================================ */
.se-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}
.se-plan {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--rounded-2xl);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.se-plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.se-plan--featured {
    background: var(--gradient-dark);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-2xl);
    transform: scale(1.04);
}
.se-plan--featured:hover { transform: scale(1.04) translateY(-8px); }
.se-plan__badge {
    position: absolute;
    top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    padding: 0.4rem 1.1rem;
    border-radius: var(--rounded-full);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
}
.se-plan__name {
    font-size: 0.95rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--primary);
    margin: 0 0 1rem;
}
.se-plan--featured .se-plan__name { color: #93c5fd; }
.se-plan__price { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.se-plan__price small { font-size: 1rem; font-weight: 500; color: var(--gray-400); }
.se-plan--featured .se-plan__price small { color: rgba(255,255,255,0.7); }
.se-plan__price .se-plan__from { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-400); margin-bottom: 0.25rem; }
.se-plan__features {
    margin: 1.75rem 0;
    display: flex; flex-direction: column; gap: 0.85rem;
    flex: 1;
}
.se-plan__features li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--gray-600); }
.se-plan--featured .se-plan__features li { color: rgba(255,255,255,0.9); }
.se-plan__features li i { color: var(--success); margin-top: 0.25rem; }
.se-plan .btn { width: 100%; justify-content: center; }
.se-plan--featured .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.5); }
.se-plan--featured .btn-outline:hover { background: var(--white); color: var(--gray-900); }

/* ============================================================
   6. CÓMO FUNCIONA (pasos / timeline)
   ============================================================ */
.se-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}
.se-steps::before {
    content: "";
    position: absolute;
    top: 36px; left: 12%; right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.3;
    z-index: 0;
}
.se-step { position: relative; text-align: center; z-index: 1; }
.se-step__num {
    width: 72px; height: 72px;
    margin: 0 auto 1.25rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--rounded-full);
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.6rem; font-weight: 800;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}
.se-step h4 { font-size: 1.1rem; font-weight: 700; color: var(--gray-800); margin: 0 0 0.5rem; }
.se-step p { color: var(--gray-500); font-size: 0.95rem; margin: 0; }

/* ============================================================
   7. BENEFICIOS
   ============================================================ */
.se-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.se-benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    border-radius: var(--rounded-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.se-benefit:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.se-benefit__icon {
    width: 56px; height: 56px; min-width: 56px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--rounded-lg);
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.4rem;
}
.se-benefit h4 { font-size: 1.05rem; font-weight: 700; color: var(--gray-800); margin: 0 0 0.2rem; }
.se-benefit p { font-size: 0.9rem; color: var(--gray-500); margin: 0; }

/* ============================================================
   8. FAQ (acordeón)
   ============================================================ */
.se-faq { max-width: 820px; margin: 0 auto; }
.se-faq__item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--rounded-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}
.se-faq__item.active { border-color: var(--primary-light); box-shadow: var(--shadow-md); }
.se-faq__q {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background: none;
    padding: 1.35rem 1.5rem;
    font-size: 1.05rem; font-weight: 600; color: var(--gray-800);
    text-align: left;
    cursor: pointer;
}
.se-faq__q i { color: var(--primary); transition: transform 0.3s ease; flex-shrink: 0; }
.se-faq__item.active .se-faq__q i { transform: rotate(180deg); }
.se-faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
    color: var(--gray-600);
    line-height: 1.7;
}
.se-faq__item.active .se-faq__a { max-height: 320px; padding: 0 1.5rem 1.5rem; }

/* ============================================================
   9. CTA FINAL
   ============================================================ */
.se-cta {
    position: relative;
    background:
        radial-gradient(800px 400px at 10% 0%, rgba(124,58,237,0.4), transparent 60%),
        var(--gradient-hero);
    color: var(--white);
    text-align: center;
    padding: 5.5rem 0;
    overflow: hidden;
}
.se-cta__title {
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    font-weight: 800;
    max-width: 820px;
    margin: 0 auto 2rem;
    line-height: 1.25;
    color: var(--white);
}
.se-cta__title span { color: #60a5fa; }

/* ============================================================
   10. FORMULARIO
   ============================================================ */
.se-form-wrap {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
    background: var(--white);
    border-radius: var(--rounded-2xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}
.se-form-aside {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 3rem;
    height: 100%;
}
.se-form-aside h3 { font-size: 1.6rem; font-weight: 800; margin: 0 0 1rem; color: var(--white); }
.se-form-aside p { color: rgba(255,255,255,0.8); line-height: 1.7; }
.se-form-aside ul { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.85rem; }
.se-form-aside li { display: flex; align-items: center; gap: 0.65rem; color: rgba(255,255,255,0.9); }
.se-form-aside li i { color: #4ade80; }
.se-form { padding: 3rem 3rem 3rem 0; }
.se-form .se-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.se-form__group { margin-bottom: 1rem; }
.se-form label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 0.4rem; }
.se-form input,
.se-form select,
.se-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--rounded-md);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--gray-50);
    transition: var(--transition-fast);
}
.se-form input:focus,
.se-form select:focus,
.se-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--primary-100);
}
.se-form textarea { resize: vertical; min-height: 90px; }
.se-form .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }
.se-form__success {
    display: none;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
    border-radius: var(--rounded-md);
    padding: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}
.se-form__success.show { display: block; }
.se-form__note { font-size: 0.8rem; color: var(--gray-400); text-align: center; margin-top: 0.75rem; }

/* ============================================================
   11. PROMO (bloque usado en index.php)
   ============================================================ */
.se-promo {
    position: relative;
    background:
        radial-gradient(700px 350px at 90% 0%, rgba(124,58,237,0.35), transparent 60%),
        var(--gradient-hero);
    color: var(--white);
    border-radius: var(--rounded-2xl);
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    align-items: center;
    overflow: hidden;
}
.se-promo__badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.4rem 1rem; border-radius: var(--rounded-full);
    margin-bottom: 1rem;
}
.se-promo h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.2; margin: 0 0 1rem; color: var(--white); }
.se-promo p { color: rgba(255,255,255,0.85); line-height: 1.7; margin: 0 0 1.75rem; max-width: 560px; }
.se-promo__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.se-promo__list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; }
.se-promo__list i { color: #4ade80; }
.se-promo__cta { text-align: center; }
.se-promo__price { font-size: 0.95rem; color: rgba(255,255,255,0.8); margin-bottom: 1rem; }
.se-promo__price strong { font-size: 2rem; color: var(--white); display: block; }

/* ============================================================
   13. SERVICIOS DE CONSULTORÍA (tarjetas con imagen, estilo corporativo)
   ============================================================ */
.se-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
}
.se-service {
    background: var(--white);
    border-radius: var(--rounded-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.se-service:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.se-service__media { position: relative; overflow: hidden; height: 200px; }
.se-service__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.se-service:hover .se-service__media img { transform: scale(1.06); }
.se-service__tag {
    position: absolute;
    top: 1rem; left: 1rem;
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: rgba(15, 23, 42, 0.75);
    color: var(--white);
    font-size: 0.75rem; font-weight: 600;
    padding: 0.35rem 0.8rem;
    border-radius: var(--rounded-full);
    backdrop-filter: blur(4px);
}
.se-service__tag i { color: #60a5fa; }
.se-service__body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.se-service__body h3 { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin: 0 0 0.65rem; }
.se-service__body p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.65; margin: 0 0 1.25rem; flex: 1; }
.se-service__link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-weight: 600; color: var(--primary);
    font-size: 0.95rem;
}
.se-service__link i { transition: transform 0.25s ease; }
.se-service:hover .se-service__link i { transform: translateX(4px); }

/* ============================================================
   14. RESULTADOS / MÉTRICAS (casos de éxito)
   ============================================================ */
.se-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.se-metric { text-align: center; padding: 1rem; }
.se-metric__num {
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(120deg, #60a5fa, #c4b5fd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.se-metric__label { color: rgba(255,255,255,0.85); margin-top: 0.6rem; font-weight: 500; }
.se-metrics--dark { /* contenedor con fondo oscuro (se aplica a la sección) */ }
.se-section--dark {
    background: var(--gradient-hero);
    color: var(--white);
}
.se-section--dark .se-title { color: var(--white); }
.se-section--dark .se-subtitle { color: rgba(255,255,255,0.8); }
.se-section--dark .se-eyebrow { background: rgba(255,255,255,0.12); color: #93c5fd; }

/* ============================================================
   15. TESTIMONIOS
   ============================================================ */
.se-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.se-testimonial {
    background: var(--white);
    border-radius: var(--rounded-xl);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    display: flex; flex-direction: column;
    transition: var(--transition);
}
.se-testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.se-testimonial__stars { color: #f59e0b; margin-bottom: 1rem; letter-spacing: 2px; }
.se-testimonial__text { color: var(--gray-700); font-style: italic; line-height: 1.7; flex: 1; margin: 0 0 1.5rem; }
.se-testimonial__person { display: flex; align-items: center; gap: 0.85rem; }
.se-testimonial__person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.se-testimonial__name { font-weight: 700; color: var(--gray-900); font-size: 0.95rem; }
.se-testimonial__role { font-size: 0.85rem; color: var(--gray-500); }

/* ============================================================
   12. RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    .se-hero__grid { grid-template-columns: 1fr; gap: 4rem; }
    .se-hero__visual { max-width: 420px; margin: 0 auto; }
    .se-steps { grid-template-columns: repeat(2, 1fr); }
    .se-steps::before { display: none; }
    .se-form-wrap { grid-template-columns: 1fr; }
    .se-form { padding: 2rem; }
    .se-form-aside { padding: 2.5rem 2rem; }
    .se-promo { grid-template-columns: 1fr; padding: 2.5rem; text-align: center; }
    .se-promo p { margin-left: auto; margin-right: auto; }
    .se-promo__list { max-width: 460px; margin: 0 auto; text-align: left; }
}
@media (max-width: 640px) {
    .se-section { padding: 4rem 0; }
    .se-hero { padding: 7rem 0 4rem; }
    .se-steps { grid-template-columns: 1fr; }
    .se-form .se-form__row { grid-template-columns: 1fr; }
    .se-promo__list { grid-template-columns: 1fr; }
    .se-hero__float { display: none; }
    .se-plan--featured, .se-plan--featured:hover { transform: none; }
}
