/*
 * ============================================
 * ESTILOS PRINCIPALES DE LIMURSA
 * ============================================
 * Archivo: styles.css
 * Descripción: Estilos principales del sitio web de Limursa
 * Incluye: layout, tipografía, colores, componentes y responsive design
 * Autor: Alfonso Esteban Garcia
 * Versión: 2.0
 * Última actualización: 2025
 * ============================================
 */

/* ============================================
   VARIABLES CSS GLOBALES - SISTEMA DE DISEÑO
   ============================================ */
:root {
    /* Paleta de colores profesional */
    --primary-color: #0056b3;
    --secondary-color: #003366;
    --accent-color: #00a8e8;
    --gradient-1: linear-gradient(135deg, #0056b3, #00a8e8);
    --gradient-2: linear-gradient(135deg, #003366, #0056b3);
    
    /* Colores de texto y fondos */
    --text-color: #1a1a1a;
    --text-light: #ffffff;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    
    /* Dimensiones y espaciado */
    --max-width: 1400px;
    --section-padding: 6rem 2rem;
    --container-padding: 0 2rem;
    
    /* Efectos y decoraciones */
    --shadow-1: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-2: 0 15px 40px rgba(0,0,0,0.12);
    --shadow-subtle: 0 5px 15px rgba(0,0,0,0.05);
    --border-radius: 12px;
    --border-radius-sm: 6px;
    
    /* Tipografía */
    --font-primary: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-secondary: 'Arial', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
}

/* ============================================
   ESTILOS GENERALES Y RESET CSS
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-primary);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TIPOGRAFÍA Y JERARQUÍA DE TEXTOS
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* ============================================
   CONTENEDORES Y ESTRUCTURA DE SECCIONES
   ============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

/* ============================================
   HEADER Y NAVEGACIÓN
   ============================================ */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-subtle);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 86, 179, 0.08);
    cursor: pointer;
    gap: 5px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.menu-btn:hover {
    background: rgba(0, 86, 179, 0.15);
    transform: translateY(-1px);
}

.menu-line {
    width: 22px;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-btn.active .menu-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-btn.active .menu-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* ============================================
   SECCIÓN HERO - PÁGINA PRINCIPAL SÚPER LLAMATIVA
   ============================================ */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    padding: 100px 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(0, 168, 232, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 86, 179, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: particles 20s ease-in-out infinite;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(0, 168, 232, 0.1), rgba(0, 86, 179, 0.1));
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.hero-content {
    max-width: 600px;
    padding: 2rem;
    z-index: 3;
    position: relative;
    animation: slideInLeft 1s ease-out;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.2), rgba(0, 86, 179, 0.2));
    border: 1px solid rgba(0, 168, 232, 0.3);
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: pulse 2s ease-in-out infinite;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    animation: titleReveal 1.2s ease-out 0.3s both;
}

.title-line {
    display: block;
    animation: slideInUp 0.8s ease-out;
}

.title-line.highlight {
    background: linear-gradient(135deg, var(--accent-color), #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: highlightGlow 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.subtitle-highlight {
    color: var(--accent-color);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 168, 232, 0.5);
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    animation: slideInUp 0.8s ease-out 0.9s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    background: rgba(0, 168, 232, 0.2);
    border-color: var(--accent-color);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: slideInUp 0.8s ease-out 1.2s both;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    animation: slideInUp 0.8s ease-out 1.5s both;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 120px;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(0, 168, 232, 0.2);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 500;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
    z-index: 3;
    animation: slideInRight 1s ease-out 0.5s both;
}

.image-container {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    transform: perspective(1000px) rotateY(-8deg) rotateX(5deg);
    transition: all 0.5s ease;
}

.image-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.1), rgba(0, 86, 179, 0.1));
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1.5rem;
}

.overlay-badge {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(0, 168, 232, 0.3);
    animation: badgeFloat 3s ease-in-out infinite;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-element {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 10px 25px rgba(0, 168, 232, 0.3);
    animation: floatElement 4s ease-in-out infinite;
}

.element-1 {
    top: 20%;
    right: -10%;
    animation-delay: 0s;
}

.element-2 {
    bottom: 30%;
    left: -15%;
    animation-delay: 1.5s;
}

.element-3 {
    top: 60%;
    right: -5%;
    animation-delay: 3s;
}

/* Animaciones */
@keyframes particles {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes slideInLeft {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes titleReveal {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes highlightGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(0, 168, 232, 0.5); }
    50% { text-shadow: 0 0 30px rgba(0, 168, 232, 0.8); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

@keyframes floatElement {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ============================================
   BOTONES CTA - SÚPER LLAMATIVOS
   ============================================ */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.4rem 2.8rem;
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-align: center;
    min-width: 220px;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 50%, #00d4ff 100%);
    box-shadow: 0 10px 30px rgba(0, 168, 232, 0.4), 
                0 0 0 0 rgba(0, 168, 232, 0.7);
    animation: buttonGlow 2s ease-in-out infinite;
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    color: var(--white);
}

.cta-button.primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 168, 232, 0.6),
                0 0 0 10px rgba(0, 168, 232, 0.1);
    animation: none;
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 168, 232, 0.3);
}

.button-text {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.button-icon {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.cta-button:hover .button-icon {
    transform: translateX(5px);
}

.cta-button.primary:hover .button-icon {
    transform: translateX(8px) scale(1.1);
}

@keyframes buttonGlow {
    0%, 100% { 
        box-shadow: 0 10px 30px rgba(0, 168, 232, 0.4), 
                    0 0 0 0 rgba(0, 168, 232, 0.7);
    }
    50% { 
        box-shadow: 0 10px 30px rgba(0, 168, 232, 0.6), 
                    0 0 0 5px rgba(0, 168, 232, 0.1);
    }
}

/* Sección Sobre Nosotros */
.about {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.about-text .lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.02);
}

/* Sección Servicios */
.services {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
}

.services-intro {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-intro-img {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.services-intro-img:hover {
    transform: scale(1.02);
}

.services-intro-text {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.6;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 168, 232, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.service-card i {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
    color: var(--primary-color);
}

.service-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.service-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-top: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-color);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Sección Contacto */
.contact {
    padding: 5rem 2rem;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea {
    padding: 1rem;
    border: 1px solid #ddd;
}

/* Estilos mejorados para las tarjetas de ventajas */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 3rem 2.5rem;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid rgb(255, 255, 255);
    box-shadow: var(--shadow-2);
}

.advantage-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.98);
    border-color: var(--accent-color);
}

.advantage-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.advantage-card:hover i {
    transform: scale(1.1);
}

.advantage-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.advantage-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-top: 1rem;
    opacity: 0.9;
    border-radius: 5px;
}

input, textarea {
    font-size: 1rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--gray);
    background: var(--white);
    transition: all 0.3s ease;
}

textarea {
    height: 150px;
    resize: vertical;
}

.contact {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.8rem;
    color: var(--secondary-color);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 168, 232, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.contact-card:hover i {
    transform: scale(1.1);
    color: var(--primary-color);
}

.contact-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.contact-card p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--accent-color);
}

/* Espacio en blanco para servicios */
.blank-card {
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.05), rgba(0, 86, 179, 0.05));
    border: 2px dashed rgba(0, 168, 232, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    transition: all 0.3s ease;
}

.blank-card:hover {
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.1), rgba(0, 86, 179, 0.1));
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.blank-content {
    text-align: center;
    color: var(--accent-color);
}

.blank-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.blank-content h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.blank-content p {
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Sección Redes Sociales */
.social-media {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.social-container {
    max-width: 800px;
    margin: 0 auto;
}

.social-media h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.social-media p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    opacity: 0.8;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem 1rem;
    background: var(--white);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(0, 168, 232, 0.1);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.social-link i {
    font-size: 2rem;
    transition: all 0.3s ease;
}

.social-link span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Colores específicos para cada red social */
.social-link.facebook:hover {
    background: #1877f2;
    color: white;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.social-link.linkedin:hover {
    background: #0077b5;
    color: white;
}

.social-link.whatsapp:hover {
    background: #25d366;
    color: white;
}

.social-link.youtube:hover {
    background: #ff0000;
    color: white;
}

.social-link.twitter:hover {
    background: #1da1f2;
    color: white;
}

/* Footer mejorado */
footer {
    background: linear-gradient(135deg, var(--text-color) 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: var(--accent-color);
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Sección Ventajas */
.advantages {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.advantages h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.8rem;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.advantages-grid {
    position: relative;
    z-index: 2;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
}

.advantage-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.advantage-card:hover i {
    transform: scale(1.1);
    color: var(--white);
}

.advantage-card h4 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 600;
}

.advantage-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        right: 1rem;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow-2);
        border-radius: 16px;
        padding: 1rem 1.5rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        min-width: 200px;
        transform: translateX(120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 1rem 2rem;
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-image {
        max-width: 100%;
        margin-top: 2rem;
    }
    
    .image-container {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    }
    
    .floating-elements {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .services-intro-img {
        height: 250px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .advantage-card {
        padding: 2rem 1.5rem;
    }
    
    .social-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0.5rem 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        gap: 0.8rem;
    }
    
    .feature-item {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-width: 180px;
    }
    
    .hero-buttons {
        gap: 0.8rem;
    }
    
    .hero-stats {
        gap: 0.8rem;
    }
    
    .stat-item {
        padding: 1rem 0.8rem;
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .hero-badge {
        padding: 0.6rem 1.2rem;
    }
    
    .badge-text {
        font-size: 0.8rem;
    }
    
    .social-links {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .social-link {
        padding: 1rem;
    }
    
    .social-link i {
        font-size: 1.5rem;
    }
    
    .social-link span {
        font-size: 0.8rem;
    }
}