/**
 * SynckShop - Home Solutions CSS v3.0
 * Diseño B2B Enterprise - Ultra Refinado
 * 
 * @version 5.0.0
 * 
 * Sistema de diseño:
 * - Tipografía con jerarquía clara
 * - Color primario reservado para CTAs
 * - Sombras sutiles y consistentes
 * - Bordes redondeados uniformes
 * - Microinteracciones elegantes
 * - Espaciado premium
 */

/* ============================================
   PREVENT HORIZONTAL OVERFLOW
   ============================================ */
body {
    overflow-x: hidden;
}

/* ============================================
   SISTEMA DE DISEÑO - VARIABLES
   ============================================ */
:root {
    /* Espaciado vertical de secciones */
    --section-py: 5.5rem;
    --section-py-lg: 7rem;
    --section-py-sm: 4rem;
    
    /* Sistema de tarjetas */
    --card-radius: 1rem;
    --card-radius-lg: 1.25rem;
    --card-radius-sm: 0.75rem;
    --card-bg: white;
    --card-border: 1px solid var(--color-gray-100);
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 16px rgba(0, 0, 0, 0.04);
    --card-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.06), 0 20px 48px rgba(0, 0, 0, 0.1);
    
    /* Sistema de transiciones */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 150ms;
    --duration-base: 250ms;
    --duration-slow: 400ms;
    
    /* Sistema de botones */
    --btn-radius: 0.625rem;
    --btn-height: 48px;
    --btn-height-sm: 40px;
    --btn-height-lg: 54px;
    
    /* Sombra para elementos flotantes */
    --shadow-elevated: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ============================================
   TIPOGRAFÍA - JERARQUÍA CLARA
   ============================================ */


/* H2 - Títulos de sección, semi-bold */
.section-header h2,
.section-header-center h2,
.pain-points-header h2,
.services-content h2,
.project-form-header h2,
.final-cta-wrapper h2 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-gray-900);
}

/* H3 - Títulos de cards, medium */
.pain-point-card h3,
.process-step h3,
.solution-card h3,
.service-item strong {
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--color-gray-900);
}


.section-header-center p,
.pain-point-card p,
.process-step p,
.solution-card p,
.services-content > p {
    font-weight: 400;
    color: var(--color-gray-500);
    line-height: 1.7;
}

/* ============================================
   LABELS Y BADGES
   ============================================ */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    background: #eff6ff;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1rem;
}

.section-label--light {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* ============================================
   HEADERS DE SECCIÓN
   ============================================ */
.section-header-center {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 3.5rem;
}

.section-header-center h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-header-center p {
    font-size: 1.0625rem;
    max-width: 34rem;
    margin: 0 auto;
}

/* ============================================
   SISTEMA DE BOTONES - JERARQUÍA CLARA
   ============================================ */

/* Botón Primario - ÚNICO color fuerte */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    min-height: var(--btn-height);
    padding: 0 1.75rem;
    background: var(--color-primary);
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--btn-radius);
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: 
        background var(--duration-base) var(--ease-out),
        transform var(--duration-base) var(--ease-out),
        box-shadow var(--duration-base) var(--ease-out);
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 87, 254, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-primary i {
    font-size: 0.8125rem;
    transition: transform var(--duration-fast) var(--ease-out);
}

.btn-primary:hover i {
    transform: translateX(3px);
}

/* Botón Secundario - Outline sutil */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    min-height: var(--btn-height);
    padding: 0 1.75rem;
    background: transparent;
    color: var(--color-gray-700);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--btn-radius);
    border: 1.5px solid var(--color-gray-300);
    cursor: pointer;
    text-decoration: none;
    transition: 
        background var(--duration-base) var(--ease-out),
        border-color var(--duration-base) var(--ease-out),
        color var(--duration-base) var(--ease-out);
}

.btn-outline:hover {
    background: var(--color-gray-50);
    border-color: var(--color-gray-400);
    color: var(--color-gray-900);
}

/* Botón Link */
.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color var(--duration-base) var(--ease-out);
}

.btn-text i {
    font-size: 0.75rem;
    transition: transform var(--duration-fast) var(--ease-out);
}

.btn-text:hover {
    color: #1d4ed8;
}

.btn-text:hover i {
    transform: translateX(4px);
}

/* Tamaños */
.btn-lg {
    min-height: var(--btn-height-lg);
    padding: 0 2.25rem;
    font-size: 1rem;
}

.btn-sm {
    min-height: var(--btn-height-sm);
    padding: 0 1.25rem;
    font-size: 0.8125rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   1. HERO PRINCIPAL - SLIDER B2B
   ============================================ */
.hero-main {
    position: relative;
    overflow: hidden;
    background: #e9efff;
}

.hero-slide {
    position: relative;
    padding: 7rem 1.5rem 10rem;
    background:
        /* Degradado para fusionar imagen */
        linear-gradient(
            90deg,
            #f5f8ff 0%,
            #f5f8ff 42%,
            rgba(245, 248, 255, 0.92) 55%,
            rgba(245, 248, 255, 0.65) 65%,
            rgba(245, 248, 255, 0.25) 72%,
            rgba(245, 248, 255, 0) 78%
        ),
        /* Imagen del slide */
        var(--hero-image) right center / contain no-repeat;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at right center,
        rgba(15, 23, 42, 0.12),
        transparent 65%
    );
    pointer-events: none;
}

.hero-container {
    max-width: 75rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 36rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    background: white;
    color: var(--color-gray-900);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.125rem;
    box-shadow: 0 4px 12px rgba(10, 102, 255, 0.08);
}

.hero-badge i {
    color: var(--color-primary);
    font-size: 1.125rem;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    line-height: 1.15;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 1.125rem;
    letter-spacing: -0.02em;
}

.hero-content h1 span {
    color: var(--color-primary);
}

.hero-content > p {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--color-gray-500);
    max-width: 30rem;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}

/* Ajustes especificos para botones del Hero */
.hero-actions .btn {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
}

.hero-actions .btn-primary {
    box-shadow: 0 8px 24px rgba(10, 102, 255, 0.3);
}

.hero-actions .btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(10, 102, 255, 0.4);
}

.hero-actions .btn-white {
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-actions .btn-white:hover {
    background-color: var(--color-gray-100);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Barra de features flotante */
.hero-features-bar {
    position: relative;
    z-index: 10;
    margin-top: -3rem;
    margin-bottom: -2rem;
    padding: 0 1.5rem;
    background: transparent;
}

.hero-features-container {
    max-width: 52rem;
    margin: 0 auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.25rem 2rem;
    background: white;
    border-radius: 5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    list-style: none;
    margin: 0;
    flex-wrap: wrap;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-gray-700);
    white-space: nowrap;
}

.hero-features li i {
    color: var(--color-primary);
    font-size: 1.125rem;
}

/* ============================================
   2. PAIN POINTS - CARDS ESCANEABLES
   ============================================ */
.pain-points-section {
    padding: calc(var(--section-py) + 2rem) 0 var(--section-py);
    background: #ffffff;
    overflow: visible;
}

.pain-points-section .container {
    overflow: visible;
}

.pain-points-wrapper {
    margin: 0 auto;
    overflow: visible;
}

.pain-points-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pain-points-header h2 {
    font-size: clamp(1.375rem, 3.5vw, 1.75rem);
    max-width: 26rem;
    margin: 0 auto;
    line-height: 1.35;
    color: #111827;
}

/* Pain Points Swiper */
.pain-points-swiper {
    overflow: hidden;
    padding: 1rem 0;
}

.pain-points-swiper .swiper-slide {
    height: auto;
}

.pain-point-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    background: #f9fafb;
    border-radius: var(--card-radius);
    text-align: center;
    border: 1px solid transparent;
    height: 100%;
    min-height: 210px;
    transition: all 0.3s ease;
}

.pain-point-card:hover {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}

/* Iconos destacados */
.pain-point-icon {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pain-point-card:hover .pain-point-icon {
    transform: scale(1.08);
    background: linear-gradient(135deg, #bfdbfe 0%, #dbeafe 100%);
}

.pain-point-icon i {
    font-size: 1.75rem;
    color: var(--color-primary);
}

.pain-point-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.35;
    color: #111827;
}

.pain-point-card p {
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.6;
    color: #6b7280;
}

.pain-points-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid #e5e7eb;
}

.pain-points-cta p {
    font-size: 1.0625rem;
    color: #4b5563;
}

.pain-points-cta strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* ============================================
   3. HOW IT WORKS - EJE CENTRAL VISUAL
   ============================================ */
.how-it-works-section {
    padding: var(--section-py-lg) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 66rem;
    margin: 0 auto;
    position: relative;
}

@media (min-width: 992px) {
    .process-steps {
        flex-direction: row;
        align-items: stretch;
        gap: 2rem;
    }
    
    /* Línea conectora */
    .process-steps::before {
        content: '';
        position: absolute;
        top: 5rem;
        left: calc(16.66% + 2rem);
        right: calc(16.66% + 2rem);
        height: 2px;
        background: linear-gradient(90deg, 
            var(--color-primary) 0%, 
            #93c5fd 50%, 
            #e2e8f0 100%
        );
        z-index: 0;
    }
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 2.5rem 1.5rem 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 8px 24px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.process-step:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
}

/* Número del paso */
.process-step-number {
    position: absolute;
    top: -0.875rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1.75rem;
    height: 1.75rem;
    background: var(--color-primary);
    color: white;
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(10, 102, 255, 0.35);
}

/* Iconos grandes con gradiente */
.process-step-icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0.5rem auto 1.25rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #2563eb 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(10, 102, 255, 0.25);
    transition: transform 0.3s ease;
}

.process-step:hover .process-step-icon {
    transform: scale(1.05);
}

.process-step-icon i {
    font-size: 1.5rem;
    color: white;
}

.process-step h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 0.625rem;
}

.process-step p {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    line-height: 1.6;
    max-width: 240px;
    margin: 0 auto;
}

/* Conector entre pasos */
.process-connector {
    display: none;
}

@media (min-width: 992px) {
    .process-connector {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-gray-300);
        font-size: 1.25rem;
        flex-shrink: 0;
    }
}

/* ============================================
   4. SOLUTIONS - MODULAR Y EQUILIBRADO
   ============================================ */
.solutions-section {
    padding: var(--section-py) 0;
    background: #ffffff;
    overflow: visible;
}

.solutions-section .container {
    overflow: visible;
}

/* Solutions Swiper */
.solutions-swiper {
    overflow: hidden;
    padding: 1rem 0;
}

.solutions-swiper .swiper-slide {
    height: auto;
}

.solution-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    background: #f9fafb;
    border-radius: var(--card-radius);
    text-decoration: none;
    border: 2px solid transparent;
    height: 100%;
    min-height: 300px;
    transition: all 0.3s ease;
}

.solution-card:hover {
    background: #ffffff;
    border-color: #bfdbfe;
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-6px);
}

/* Iconos consistentes */
.solution-card-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.solution-card:hover .solution-card-icon {
    transform: scale(1.08);
}

.solution-card-icon i {
    font-size: 1.375rem;
    color: #ffffff;
}

.solution-card--office .solution-card-icon { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.solution-card--retail .solution-card-icon { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.solution-card--upgrade .solution-card-icon { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }

.solution-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.solution-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #111827;
}

/* Micro-subtítulo */
.solution-card-subtitle {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.solution-card p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.solution-card-includes {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    flex: 1;
}

.solution-card-includes li {
    font-size: 0.8125rem;
    color: #4b5563;
    padding: 0.375rem 0;
    padding-left: 1.375rem;
    position: relative;
}

.solution-card-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 0.75rem;
}

.solution-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: auto;
    transition: all 0.3s ease;
}

.solution-card-link i {
    font-size: 0.6875rem;
    transition: transform 0.2s ease;
}

.solution-card:hover .solution-card-link {
    color: #1d4ed8;
}

.solution-card:hover .solution-card-link i {
    transform: translateX(4px);
}

.solutions-cta {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.solutions-cta p {
    font-size: 0.9375rem;
    color: #6b7280;
}

/* ============================================
   5. PRODUCTS - EMPRESARIAL Y CURADO
   ============================================ */
/* ============================================
   5. SECTORS - MASONRY GRID CON INFO INTEGRADA
   ============================================ */
.sectors-section {
    padding: var(--section-py-lg) 0;
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
    position: relative;
}

.sectors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-gray-200) 50%, transparent 100%);
}

.sectors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 576px) {
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 992px) {
    .sectors-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 200px;
        gap: 1.5rem;
    }
}

.sector-card {
    position: relative;
    display: block;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: 
        box-shadow var(--duration-base) var(--ease-out),
        transform var(--duration-base) var(--ease-out);
    text-decoration: none;
    color: inherit;
}

/* Masonry: algunas tarjetas ocupan 2 filas */
@media (min-width: 992px) {
    .sector-card--tall {
        grid-row: span 2;
    }
}

.sector-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

.sector-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.sector-card:hover img {
    transform: scale(1.05);
}

/* Información sobre la imagen con gradiente */
.sector-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
    color: white;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.sector-card-icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.625rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.375rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sector-card-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sector-card-text h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.sector-card-text p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.4;
}

/* ============================================
   6. SERVICES - RESPALDO Y CONTINUIDAD
   ============================================ */
.services-section {
    padding: var(--section-py) 0;
    background: #ffffff;
}

.services-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .services-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.services-content h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #111827;
}

.services-content > p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #6b7280;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.25rem 0;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateX(4px);
}

.service-item i {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.service-item:hover i {
    background: var(--color-primary);
    color: #ffffff;
}

.service-item div {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.service-item strong {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
}

.service-item span {
    font-size: 0.8125rem;
    color: #6b7280;
}

.services-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.services-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.services-link:hover {
    color: #1d4ed8;
}

.services-link:hover i {
    transform: translateX(4px);
}

.services-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ============================================
   7. PROJECT FORM - PUNTO CLAVE
   ============================================ */
.project-form-section {
    padding: var(--section-py-lg) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1d4ed8 100%);
    position: relative;
    overflow: hidden;
}

/* Decoración */
.project-form-section::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -25%;
    width: 70%;
    height: 220%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.project-form-wrapper {
    max-width: 40rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.project-form-header {
    text-align: center;
    margin-bottom: 2.5rem;
    color: white;
}

.project-form-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 1rem;
    line-height: 1.2;
    color: unset;
}

.project-form-header p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.65;
    max-width: 440px;
    margin: 0 auto;
}

/* Form destacado */
.project-form {
    background: white;
    border-radius: var(--card-radius-lg);
    padding: 2rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .project-form {
        padding: 2.5rem;
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 0;
}

@media (min-width: 576px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: 0.5rem;
}

/* Inputs altos y limpios */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 50px;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    border: 1.5px solid var(--color-gray-200);
    border-radius: var(--card-radius-sm);
    background: white;
    color: var(--color-gray-900);
    transition: 
        border-color var(--duration-base) var(--ease-out),
        box-shadow var(--duration-base) var(--ease-out);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(1, 87, 254, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-gray-400);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.75rem;
    cursor: pointer;
}

.form-actions {
    margin-top: 1.5rem;
}

/* Botón full width */
.form-actions .btn-primary {
    width: 100%;
    min-height: var(--btn-height-lg);
}

.form-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--color-gray-500);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-note i {
    color: var(--color-primary);
    font-size: 0.875rem;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.form-success i {
    font-size: 3.5rem;
    color: #10b981;
    margin-bottom: 1.25rem;
}

.form-success h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--color-gray-500);
    font-size: 0.9375rem;
}

/* ============================================
   9. FINAL CTA
   ============================================ */
.final-cta-section {
    padding: var(--section-py-lg) 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Pattern sutil */
.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}

.final-cta-wrapper {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.final-cta-wrapper h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 1rem;
    line-height: 1.25;
    color: unset;
}

.final-cta-wrapper > p {
    font-size: 1rem;
    opacity: 0.7;
    margin-bottom: 2.25rem;
    line-height: 1.7;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .hero-slide {
        background:
            linear-gradient(
                180deg,
                #f5f8ff 0%,
                rgba(245, 248, 255, 0.95) 60%,
                rgba(245, 248, 255, 0.8) 100%
            ),
            var(--hero-image) center bottom / 80% auto no-repeat;
        padding-bottom: 18rem;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-content > p {
        max-width: 100%;
    }
    
    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-features-bar {
        margin-top: -1.5rem;
    }
    
    .hero-features {
        gap: 1.5rem;
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 767px) {
    :root {
        --section-py: 4rem;
        --section-py-lg: 5rem;
    }
    
    .hero-slide {
        padding: 3rem 1rem 12rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-features-bar {
        margin-top: -1rem;
        padding: 0 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        padding: 1.25rem 1.5rem;
    }
    
    .hero-features li {
        font-size: 0.875rem;
    }
    
    .process-steps {
        gap: 1.25rem;
    }

    .final-cta-actions {
        flex-direction: column;
    }
    
    .final-cta-actions .btn-lg {
        width: 100%;
    }
    
    /* Pain Points Swiper - Mobile Optimizations */
    .pain-points-swiper {
        padding: 0.5rem 0;
    }
    
    .pain-point-card {
        padding: 1.25rem 1rem;
        min-height: 180px;
    }
    
    .pain-point-icon {
        width: 3rem;
        height: 3rem;
        margin-bottom: 0.75rem;
    }
    
    .pain-point-icon i {
        font-size: 1.35rem;
    }
    
    .pain-point-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.375rem;
    }
    
    .pain-point-card p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    /* Solutions Swiper - Mobile Optimizations */
    .solutions-swiper {
        padding: 0.5rem 0;
    }
    
    .solution-card {
        padding: 1.25rem;
        min-height: 260px;
    }
    
    .solution-card-icon {
        width: 2.75rem;
        height: 2.75rem;
        margin-bottom: 1rem;
    }
    
    .solution-card-icon i {
        font-size: 1.35rem;
    }
    
    .solution-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .solution-card p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    /* Sección headers en móvil */
    .pain-points-header h2 {
        font-size: 1.375rem;
        line-height: 1.3;
    }
}

/* ============================================
   EXTRA SMALL DEVICES (< 375px)
   ============================================ */
@media (max-width: 374px) {
    .pain-point-card,
    .solution-card {
        padding: 1rem 0.875rem;
    }
    
    .pain-point-card h3,
    .solution-card h3 {
        font-size: 0.875rem;
    }
    
    .pain-point-card p,
    .solution-card p {
        font-size: 0.75rem;
    }
}
