/* =============================================================================
   PROVENZA - INNOVACIÓN EN SERVICIOS PROFESIONALES
   Archivo de estilos principal
   ============================================================================= */

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #5046e5;
    --primary-dark: #4338ca;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --gold: #FFD700; /* Tono dorado */
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    position: relative;
    overflow-x: hidden;
}

/* =============================================================================
   PRELOADER PROFESIONAL
   ============================================================================= */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to bottom, #F7D02C, rgba(247, 208, 44, 0) 2px), /* Brillo superior integrado */
        linear-gradient(to top, #F7D02C, rgba(247, 208, 44, 0) 2px),   /* Brillo inferior integrado */
        linear-gradient(135deg, #B8860B, #8B4513, #713E00); /* Degradado dorado oscuro principal */
    background-position: 
        top,
        bottom,
        center;
    background-size: 
        100% 2px,  /* Altura del brillo superior */
        100% 2px,  /* Altura del brillo inferior */
        auto;      /* El degradado principal ocupa todo el espacio */
    background-repeat: no-repeat; /* Evitar que los brillos se repitan */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    color: var(--white);
}

.preloader-logo {
    margin-bottom: 30px;
    animation: preloader-pulse 2s ease-in-out infinite;
}

.preloader-title {
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 800;
    color: var(--white);
    margin: 0;
    letter-spacing: -1px;
    text-align: center;
}

.preloader-spinner {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 30px;
}

.spinner-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 45px;
    height: 45px;
    top: 7.5px;
    left: 7.5px;
    animation-delay: -0.4s;
    border-top-color: rgba(255, 255, 255, 0.7);
}

.spinner-ring:nth-child(3) {
    width: 30px;
    height: 30px;
    top: 15px;
    left: 15px;
    animation-delay: -0.8s;
    border-top-color: rgba(255, 255, 255, 0.4);
}

.preloader-text p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
    animation: preloader-text-fade 2s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes preloader-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes preloader-text-fade {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.6; }
}

/* =============================================================================
   FORMAS DE FONDO ANIMADAS
   ============================================================================= */

.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.03;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50%;
    top: -300px;
    right: -200px;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: -200px;
    left: -100px;
    animation: float-reverse 25s ease-in-out infinite;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    top: 50%;
    right: 10%;
    animation: rotate-slow 30s linear infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-50px, 50px) scale(1.1); }
    66% { transform: translate(50px, -30px) scale(0.9); }
}

@keyframes float-reverse {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(100px, -100px) rotate(180deg); }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* =============================================================================
   BARRA SUPERIOR
   ============================================================================= */

.top-bar {
    background-color: var(--dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1001;
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--secondary);
}

/* =============================================================================
   NAVEGACIÓN PRINCIPAL
   ============================================================================= */

header {
    background-image: 
        linear-gradient(to bottom, #F7D02C, rgba(247, 208, 44, 0) 2px), /* Brillo superior integrado */
        linear-gradient(to top, #F7D02C, rgba(247, 208, 44, 0) 2px),   /* Brillo inferior integrado */
        linear-gradient(135deg, #B8860B, #8B4513, #713E00); /* Degradado dorado oscuro principal */
    background-position: 
        top,
        bottom,
        center;
    background-size: 
        100% 2px,  /* Altura del brillo superior */
        100% 2px,  /* Altura del brillo inferior */
        auto;      /* El degradado principal ocupa todo el espacio */
    background-repeat: no-repeat; /* Evitar que los brillos se repitan */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Sombra externa existente */
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: 800;
    color: var(--white); /* Texto del logo blanco para contraste */
    text-decoration: none;
    letter-spacing: -1px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white); /* Texto de enlaces blanco para contraste */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--white); /* Línea inferior blanca para contraste */
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white); /* Barras del menú blancas para contraste */
    margin: 3px 0;
    transition: 0.3s;
}

/* =============================================================================
   SECCIÓN HERO CON VIDEO - OVERLAY OSCURO
   ============================================================================= */

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Fondo de video */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay oscuro simple */
.video-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 600px;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* =============================================================================
   SECCIÓN NOSOTROS CON VIDEO
   ============================================================================= */

.about {
    padding: 100px 0;
    background-color: var(--light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-content p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.about-video {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.about-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =============================================================================
   SECCIÓN SERVICIOS - VIDEO PRIMERO, IMAGEN AL HOVER
   ============================================================================= */

.services {
    padding: 100px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.service-media {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.service-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover .service-image {
    opacity: 1;
}

.service-card:hover .service-video {
    opacity: 0;
}

.service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-content p {
    color: var(--gray);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 12px;
}

/* =============================================================================
   WHATSAPP FLOTANTE - DERECHA CON DISEÑO MEJORADO
   ============================================================================= */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: pulse-glow 2s infinite;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.3) 0%, transparent 70%);
    animation: neon-rotate 3s linear infinite;
    border-radius: 50%;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn i {
    font-size: 24px;
    z-index: 1;
    position: relative;
}

.whatsapp-text {
    z-index: 1;
    position: relative;
    font-size: 16px;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8);
    }
}

@keyframes neon-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =============================================================================
   FOOTER MEJORADO CON SHAPES Y MÁS DEGRADADO
   ============================================================================= */

footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #475569 75%, #64748b 100%);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

/* Footer Shapes */
.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.footer-shape {
    position: absolute;
    opacity: 0.1;
}

.footer-shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    border-radius: 50%;
    top: -200px;
    right: -100px;
    animation: float-slow 15s ease-in-out infinite;
}

.footer-shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: -150px;
    left: -50px;
    animation: float-reverse 20s ease-in-out infinite;
}

.footer-shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    top: 50%;
    left: 50%;
    animation: rotate-slow 25s linear infinite;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.footer-column ul li a:hover {
    color: var(--secondary);
    padding-left: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.4);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 8px 0;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--secondary);
}

.footer-cta {
    margin-top: 20px;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.footer-cta-btn:hover {
    background: #e97500;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

/* =============================================================================
   PÁGINA DE DETALLE DE SERVICIO - BREADCRUMB MEJORADO
   ============================================================================= */

.service-detail {
    padding: 40px 0 100px;
    background-color: var(--light);
    min-height: 100vh;
}

/* Breadcrumb mejorado */
.breadcrumb {
    margin: 30px 0 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 6px;
    font-weight: 500;
}

.breadcrumb a:hover {
    background-color: var(--light);
    color: var(--primary-dark);
}

.breadcrumb .separator {
    color: var(--gray);
    font-size: 12px;
    margin: 0 5px;
}

.breadcrumb .current {
    color: var(--dark);
    font-weight: 600;
    background-color: var(--light);
    padding: 5px 10px;
    border-radius: 6px;
}

/* Service Detail Header */
.service-detail-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 20px;
    color: var(--white);
    box-shadow: 0 10px 40px rgba(80, 70, 229, 0.3);
}

.service-icon {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    flex-shrink: 0;
}

.service-header-text h1 {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 10px;
    font-weight: 800;
}

.service-tagline {
    font-size: 18px;
    opacity: 0.9;
    margin: 0;
}

/* Service Detail Grid */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Video Section */
.service-video-section {
    background-color: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.service-video-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.service-video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.service-gallery h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 20px;
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

/* Info Section */
.service-info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-description {
    background-color: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.service-description h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 24px;
}

.service-description p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 16px;
}

.service-benefits h3,
.service-process h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 18px;
}

.service-benefits ul {
    list-style: none;
    padding: 0;
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--gray);
}

.service-benefits li i {
    color: var(--accent);
    font-size: 14px;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background-color: var(--light);
    border-radius: 15px;
    border-left: 4px solid var(--primary);
}

.step-number {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--dark);
    margin-bottom: 5px;
    font-size: 16px;
}

.step-content p {
    color: var(--gray);
    margin: 0;
    font-size: 14px;
}

/* Contact Card - Color mejorado */
.service-contact-card {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%);
    border-radius: 20px;
    padding: 30px;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
    position: sticky;
    top: 100px;
}

.contact-card-content h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 20px;
}

.contact-card-content p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.whatsapp-contact-btn,
.email-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    color: var(--white);
}

.whatsapp-contact-btn {
    background-color: #25D366;
    border: 2px solid #25D366;
}

.whatsapp-contact-btn:hover {
    background-color: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.email-contact-btn {
    background-color: transparent;
    border: 2px solid var(--white);
}

.email-contact-btn:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.contact-info {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 20px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    opacity: 0.9;
}

/* Related Services */
.related-services {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.related-services h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    margin-bottom: 40px;
    font-size: 28px;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-service-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.related-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.related-service-image {
    height: 200px;
    overflow: hidden;
}

.related-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-service-card:hover .related-service-image img {
    transform: scale(1.05);
}

.related-service-content {
    padding: 25px;
}

.related-service-content h4 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 18px;
}

.related-service-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.related-service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.related-service-link:hover {
    gap: 12px;
}

/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Hero responsive mejorado */
    .hero {
        min-height: 70vh;
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: clamp(32px, 8vw, 48px);
        text-align: center;
    }
    
    .hero p {
        font-size: 18px;
        text-align: center;
    }
    
    /* About section responsive */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-video {
        height: 200px;
    }
    
    /* Services responsive mejorado */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .service-media {
        height: 180px;
    }
    
    .service-video,
    .service-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    /* Footer responsive */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* WhatsApp button responsive */
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }
    
    /* Social links responsive */
    .social-links a span {
        display: none;
    }
    
    /* Service detail responsive */
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-contact-card {
        position: static;
    }
    
    .service-detail-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .breadcrumb {
        flex-direction: row !important;
        align-items: center !important;
        gap: 5px !important;
        padding: 10px 15px !important;
        margin: 20px 0 30px !important;
        font-size: 14px !important;
    }
    
    .breadcrumb a,
    .breadcrumb .current {
        font-size: 13px !important;
        padding: 4px 6px !important;
    }
    
    .breadcrumb .separator {
        font-size: 10px !important;
        margin: 0 2px !important;
    }
    
    /* Preloader responsive */
    .preloader-title {
        font-size: clamp(24px, 6vw, 32px);
    }
}

@media (max-width: 576px) {
    /* Preloader muy pequeño */
    .preloader-title {
        font-size: clamp(20px, 7vw, 28px);
        line-height: 1.2;
    }
    
    .preloader-spinner {
        width: 50px;
        height: 50px;
    }
    
    /* Hero muy pequeño */
    .hero {
        min-height: 60vh;
        padding: 30px 0;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    /* Servicios muy pequeños */
    .service-media {
        height: 160px;
    }
    
    .service-content {
        padding: 20px;
    }
    
    /* About video más pequeño */
    .about-video {
        height: 200px;
    }
    
    /* Service detail muy pequeño */
    .service-detail {
        padding: 20px 0 60px;
    }
    
    .service-video-section,
    .service-description,
    .service-contact-card {
        padding: 20px;
    }
    
    .service-detail-header {
        padding: 20px;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 30px;
    }
    
    .contact-buttons {
        gap: 10px;
    }
    
    .whatsapp-contact-btn,
    .email-contact-btn {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .related-services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Container general más pequeño */
    .container {
        padding: 0 15px;
    }
    
    /* Footer más compacto */
    .footer-column {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* =============================================================================
   PÁGINA NOSOTROS - ESTILOS ESPECÍFICOS
   ============================================================================= */

.nosotros-page {
    padding: 40px 0 100px;
    background-color: var(--light);
    min-height: 100vh;
}

.nosotros-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(80, 70, 229, 0.3);
}

.nosotros-hero h1 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 15px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin: 0;
}

.nosotros-content {
    margin: 60px 0;
}

.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.nosotros-text h2 {
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 32px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.nosotros-text p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 16px;
}

.nosotros-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--gray);
    font-weight: 500;
}

.nosotros-video {
    position: relative;
}

.nosotros-video .about-video {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.nosotros-video .about-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.valores-section {
    margin: 80px 0;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.valor-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.valor-card:hover {
    transform: translateY(-10px);
}

.valor-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 30px;
}

.valor-card h3 {
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 24px;
}

.valor-card p {
    color: var(--gray);
    line-height: 1.7;
}

.valor-card ul {
    list-style: none;
    padding: 0;
}

.valor-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
    margin-bottom: 10px;
}

.valor-card ul li i {
    color: var(--accent);
}

.equipo-section,
.certificaciones-section {
    margin: 80px 0;
}

.equipo-section h2,
.certificaciones-section h2 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 32px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: center;
    justify-content: center;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 50px;
    font-size: 18px;
}

.equipo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.equipo-feature {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.equipo-feature h4 {
    color: var(--dark);
    margin: 20px 0 15px;
    font-size: 18px;
}

.equipo-feature p {
    color: var(--gray);
    line-height: 1.6;
}

.certificaciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.cert-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.cert-item i {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.cert-item h4 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 18px;
}

.cert-item p {
    color: var(--gray);
    line-height: 1.6;
}

.nosotros-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 25px;
    padding: 60px 40px;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.nosotros-cta h2 {
    margin-bottom: 15px;
    font-size: 32px;
}

.nosotros-cta p {
    margin-bottom: 30px;
    opacity: 0.9;
    font-size: 18px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--white);
}

.cta-button.secondary:hover {
    background: var(--white);
    color: var(--primary);
}

/* =============================================================================
   PÁGINA CONTACTO - ESTILOS ESPECÍFICOS
   ============================================================================= */

.contacto-page {
    padding: 40px 0 100px;
    background-color: var(--light);
    min-height: 100vh;
}

.contacto-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(80, 70, 229, 0.3);
}

.contacto-hero h1 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 15px;
    font-weight: 800;
}

.contacto-content {
    margin: 60px 0;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contacto-info h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contacto-intro {
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.7;
    font-size: 16px;
}

.info-items {
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
}

.info-content h4 {
    color: var(--dark);
    margin-bottom: 5px;
    font-size: 18px;
}

.info-content p {
    color: var(--gray);
    margin-bottom: 10px;
}

.info-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.info-link:hover {
    gap: 8px;
}

.contacto-social {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contacto-social h3 {
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contacto-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.contacto-form h2 {
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    color: var(--gray);
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.form-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.submit-btn,
.whatsapp-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex: 1;
    justify-content: center;
    min-width: 200px;
}

.submit-btn {
    background: var(--primary);
    color: var(--white);
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.whatsapp-btn {
    background: #25D366;
    color: var(--white);
}

.whatsapp-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.faq-section {
    margin: 80px 0;
}

.faq-section h2 {
    color: var(--primary);
    margin-bottom: 40px;
    font-size: 32px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: center;
    justify-content: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.faq-item h4 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item p {
    color: var(--gray);
    line-height: 1.6;
}

.contacto-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 25px;
    padding: 60px 40px;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.contacto-cta h2 {
    margin-bottom: 15px;
    font-size: 32px;
}

.contacto-cta p {
    margin-bottom: 30px;
    opacity: 0.9;
    font-size: 18px;
}

/* =============================================================================
   RESPONSIVE PARA NUEVAS PÁGINAS
   ============================================================================= */

@media (max-width: 768px) {
    .nosotros-grid,
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nosotros-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .submit-btn,
    .whatsapp-btn {
        min-width: auto;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .equipo-grid,
    .certificaciones-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .nosotros-cta,
    .contacto-cta {
        padding: 40px 20px;
    }
    
    .contacto-form {
        padding: 30px 20px;
    }
}

/* About video más pequeño */
.about-video {
    height: 200px;
}

/* Video de nosotros responsive */
.nosotros-video .about-video {
    height: 180px;
}

/*=============================================*
|               CONTACTO PAGE                 |
*=============================================*/

/*-------------------*
|  ALERTS  
*-------------------*/
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 1rem;
    text-align: center;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-error {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}