/* ==========================================
   UNIFIED STYLES - TECNOTACTIL
   Estilos unificados y consistentes para toda la plataforma
   ========================================== */

/* ========== VARIABLES GLOBALES ADICIONALES ========== */
:root {
    /* Tamaños de tarjetas y paneles consistentes */
    --card-border-radius: 16px;
    --card-padding: 2rem;
    --card-min-height: 130px;
    --card-shadow: 0 4px 6px -1px rgba(0, 86, 128, 0.1), 0 2px 4px -1px rgba(0, 86, 128, 0.06);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 86, 128, 0.15), 0 10px 10px -5px rgba(0, 86, 128, 0.08);

    /* Iconos con gradientes */
    --icon-gradient: linear-gradient(135deg, #57BFE3 0%, #005680 100%);
    --icon-size-sm: 60px;
    --icon-size-md: 80px;
    --icon-size-lg: 90px;

    /* Espaciado consistente */
    --section-padding: 4rem 0;
    --section-gap: 2rem;

    /* Transiciones */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== CONTENEDORES GLOBALES ========== */
/* Los contenedores heredan los estilos de main.css y style.css */

/* ========== GRID SYSTEM MEJORADO ========== */
.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--section-gap);
}

.grid-auto-fill {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--section-gap);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--section-gap);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--section-gap);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--section-gap);
}

/* ========== BOTONES CONSISTENTES ========== */
.btn,
.btn-primary,
.btn-secondary,
.btn-outline,
.service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
}

.btn-primary,
.service-btn {
    background: linear-gradient(135deg, #57BFE3 0%, #005680 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(87, 191, 227, 0.3);
}

.btn-primary:hover,
.service-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(87, 191, 227, 0.4);
    color: white;
}

.btn-secondary {
    background: white;
    color: #005680;
    border: 2px solid #57BFE3;
}

.btn-secondary:hover {
    background: #57BFE3;
    color: white;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: #57BFE3;
    border: 2px solid #57BFE3;
}

.btn-outline:hover {
    background: #57BFE3;
    color: white;
}

/* ========== HERO BUTTONS ========== */
.hero-buttons,
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-cta-primary {
    background: white;
    color: #005680;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.btn-hero-primary:hover,
.btn-cta-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    color: #005680;
}

.btn-hero-secondary,
.btn-cta-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 2px solid white;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
}

.btn-hero-secondary:hover,
.btn-cta-secondary:hover {
    background: white;
    color: #005680;
    transform: translateY(-5px);
}

/* ========== STATS & HERO STATS ========== */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.stat-item i {
    font-size: 2rem;
    color: #57BFE3;
    margin-bottom: 1rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #005680;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ========== HERO ILLUSTRATION ========== */
.hero-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15rem;
    color: rgba(87, 191, 227, 0.15);
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(-55%); }
}

/* ========== GRADIENT TEXT ========== */
.gradient-text {
    background: linear-gradient(135deg, #57BFE3 0%, #005680 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== TÍTULOS Y DESCRIPCIONES ========== */
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.hero-description {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 700px;
}

/* ========== SECCIONES ========== */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #005680;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #57BFE3, #005680);
    border-radius: 50px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    margin-top: 1.5rem;
    line-height: 1.6;
}

/* ========== PROCESS TIMELINE ========== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-step {
    position: relative;
    text-align: center;
}

.step-number {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #57BFE3, #005680);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 16px rgba(87, 191, 227, 0.3);
    transition: var(--transition-smooth);
}

.process-step:hover .step-number {
    transform: scale(1.15);
    box-shadow: 0 12px 24px rgba(87, 191, 227, 0.4);
}

.step-content {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.process-step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.step-content h4 {
    color: #005680;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #57BFE3 0%, #005680 100%);
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    :root {
        --card-padding: 1.75rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-illustration {
        font-size: 10rem;
    }
}

@media (max-width: 768px) {
    :root {
        --card-padding: 1.5rem;
        --section-padding: 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .grid-auto-fit,
    .grid-auto-fill,
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-illustration {
        display: none;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

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

/* ========== UTILIDADES ========== */
.text-center {
    text-align: center;
}

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

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: 0.5rem !important; }
.p-2 { padding: 1rem !important; }
.p-3 { padding: 1.5rem !important; }
.p-4 { padding: 2rem !important; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
