/* ===== TELNETWORKS - NUEVA PALETA DE COLORES ===== */
/* PALETA DE COLORES CORPORATIVA TELNETWORKS */
:root {
    /* Rojos Pantone - Para acentos y acciones */
    --tel-red-185: #E63311;  /* Pantone 185C - CMYK: 0.90.100.0 */
    --tel-red-186: #CE0C2D;  /* Pantone 186C - CMYK: 10.100.100.10 */
    --tel-red-187: #AF1821;  /* Pantone 187C - CMYK: 20.100.90.15 */
    --tel-red-188: #75151C;  /* Pantone 188C - CMYK: 33.100.82.45 */
    --tel-dark-red: #56111A;  /* Pantone 7421C - CMYK: 44.0.75.60 */
    
    /* Grises Pantone - Para fondos y textos */
    --tel-gray-11: #575756;   /* Cool Gray 11C - CMYK: 0.0.0.80 */
    --tel-gray-8: #878787;    /* Cool Gray 8C - CMYK: 0.0.0.60 */
    --tel-gray-4: #B2B2B2;    /* Cool Gray 4C - CMYK: 0.0.0.40 */
    --tel-gray-1: #DADADA;    /* Cool Gray 1C - CMYK: 0.0.0.20 */
    --tel-light-gray: #F6F6F6; /* Cool Gray 1C 20% - CMYK: 0.0.0.5 */
    --tel-white: #FFFFFF;
    
    /* Variables funcionales */
    --tel-primary: var(--tel-red-185);      /* Para botones principales */
    --tel-primary-dark: var(--tel-red-186); /* Para hover */
    --tel-secondary: var(--tel-dark-red);   /* Para títulos y acentos fuertes */
    --tel-accent: var(--tel-red-187);       /* Para acentos secundarios */
    --tel-border: var(--tel-gray-1);        /* Para bordes */
    --tel-bg-light: var(--tel-light-gray);  /* Para fondos claros */
    --tel-bg-white: var(--tel-white);       /* Para fondos blancos */
    --tel-text-dark: var(--tel-gray-11);    /* Para texto oscuro */
    --tel-text-light: var(--tel-gray-8);    /* Para texto claro */
    
    /* Gradientes */
    --tel-gradient-primary: linear-gradient(135deg, var(--tel-red-185) 0%, var(--tel-red-186) 100%);
    --tel-gradient-dark: linear-gradient(135deg, var(--tel-dark-red) 0%, var(--tel-red-188) 100%);
}

/* ===== ESTILOS GENERALES ===== */
body {
    font-family: 'Handel Gothic', 'Segoe UI', Arial, sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: var(--tel-text-dark);
    background-color: var(--tel-bg-white);
    overflow-x: hidden;
}

/* Aplicar Handel Gothic a todos los textos */
h1, h2, h3, h4, h5, h6,
p, span, a, li, button, input, textarea,
.btn:not(i),
.hero-title, .hero-subtitle,
.section-title,
.footer-custom,
.footer-custom p,
.footer-custom a:not(i),
.footer-custom h1,
.footer-custom h2,
.footer-custom h3,
.footer-custom h4,
.footer-custom h5,
.footer-custom h6,
.footer-custom span,
.footer-custom small {
    font-family: 'Handel Gothic', 'Segoe UI', Arial, sans-serif;
}

/* NO APLICAR A ICONOS */
i,
.fas,
.fab,
.fa,
[class^="fa-"],
[class*=" fa-"] {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Brands' !important;
}

/* AJUSTES DE PESO PARA HANDEL GOTHIC */
h1, h2, h3, h4, h5, h6,
.btn, .section-title,
.footer-custom h1,
.footer-custom h2,
.footer-custom h3,
.footer-custom h4,
.footer-custom h5,
.footer-custom h6 {
    font-weight: bold;
}

body, p, .hero-subtitle, .lead, 
.footer-custom p, .text-muted {
    font-weight: 300;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background-color: var(--tel-bg-light);
    color: var(--tel-text-dark);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--tel-border);
    text-align: center;
}

.hero-section h1 {
    color: var(--tel-text-dark);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.hero-section .lead {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--tel-gray-8);
    line-height: 1.8;
    font-weight: 300;
}

/* ===== BOTONES ===== */
.btn-primary {
    background: var(--tel-gradient-primary);
    border: none;
    padding: 14px 32px;
    font-weight: bold;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: white;
    font-family: 'Handel Gothic', 'Segoe UI', Arial, sans-serif;
}

.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(135deg, var(--tel-red-186) 0%, var(--tel-red-187) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 51, 17, 0.15);
}

.btn-outline-primary {
    color: var(--tel-primary);
    border: 2px solid var(--tel-primary);
    background-color: transparent;
    padding: 12px 28px;
    font-weight: bold;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-family: 'Handel Gothic', 'Segoe UI', Arial, sans-serif;
}

.btn-outline-primary:hover {
    background-color: var(--tel-primary);
    color: var(--tel-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 51, 17, 0.1);
}

/* ===== SECCIONES GENERALES ===== */
section {
    padding: 100px 0;
}

.bg-section-light {
    background-color: var(--tel-bg-light);
}

.bg-section-white {
    background-color: var(--tel-bg-white);
}

/* Títulos de sección */
.section-title {
    color: var(--tel-text-dark);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: bold;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--tel-gradient-primary);
    border-radius: 3px;
}

.section-title.text-start {
    text-align: left;
}

.section-title.text-start::after {
    left: 0;
    transform: none;
}

/* ===== TARJETAS DE SERVICIOS ===== */
.service-card {
    background: var(--tel-bg-white);
    border-radius: 10px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--tel-border);
    box-shadow: 0 4px 12px rgba(87, 87, 86, 0.03);
    margin-bottom: 30px;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--tel-primary);
    box-shadow: 0 8px 25px rgba(206, 12, 45, 0.1);
}

.service-card .icon-container {
    width: 60px;
    height: 60px;
    background: rgba(230, 51, 17, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(230, 51, 17, 0.1);
}

.service-card .icon-container i {
    font-size: 1.5rem;
    color: var(--tel-primary);
    font-family: 'Font Awesome 6 Free' !important;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--tel-text-dark);
    font-weight: bold;
}

.service-card p {
    color: var(--tel-gray-8);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Tarjeta destacada */
.service-card.featured {
    position: relative;
}

.service-card.featured::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--tel-gradient-primary);
    border-radius: 10px 10px 0 0;
}

/* ===== FORMULARIO DE CONTACTO ===== */
.contact-form {
    background: var(--tel-bg-white);
    border-radius: 10px;
    padding: 2.5rem;
    border: 1px solid var(--tel-border);
    box-shadow: 0 5px 20px rgba(87, 87, 86, 0.05);
}

.contact-form h3 {
    color: var(--tel-text-dark);
    font-weight: bold;
}

.form-control, .form-select {
    border: 1px solid var(--tel-gray-1);
    padding: 12px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    background-color: var(--tel-bg-white);
    font-family: 'Handel Gothic', 'Segoe UI', Arial, sans-serif;
    font-weight: 300;
}

.form-control:focus, .form-select:focus {
    border-color: var(--tel-primary);
    box-shadow: 0 0 0 0.2rem rgba(230, 51, 17, 0.1);
}

.form-label {
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--tel-text-dark);
    font-size: 0.95rem;
}

/* ===== SECCIÓN DE TECNOLOGÍAS ===== */
.brand-logo {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--tel-gray-8);
    filter: grayscale(100%);
    transition: all 0.3s ease;
    cursor: default;
}

.brand-logo:hover {
    filter: grayscale(0%);
    color: var(--tel-primary);
    transform: scale(1.05);
}

.brand-logo-sm {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--tel-gray-4);
    filter: grayscale(100%);
}

.brand-logo.text-primary {
    color: var(--tel-primary) !important;
    filter: grayscale(0%);
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

/* ===== UTILIDADES ===== */
.mb-6 {
    margin-bottom: 4rem !important;
}

.text-muted {
    color: var(--tel-gray-8) !important;
    font-weight: 300;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-50 {
    opacity: 0.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 100px 0 80px;
    }
    
    section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .btn-primary, .btn-outline-primary {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .service-card {
        padding: 1.5rem;
    }
}

/* ===== UTILIDADES DE ESPACIADO ===== */
.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

/* ===== SCROLL SUAVE ===== */
html {
    scroll-behavior: smooth;
}