/* ========================================
   AGUILAR ELECTRIC - ESTILOS PRINCIPALES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: var(--primary-color, #1a4d8f);
    --primary-dark: color-mix(in srgb, var(--primary-color, #1a4d8f) 80%, black);
    --secondary: var(--secondary-color, #d97e3a);
    --accent: var(--accent-color, #d4a946);
    --success: #10b981;
    --dark: #1a1a1a;
    --light: #f8fafc;
    --text: #000000;
    --gray: #333333;
    --bg-light: #f0f4f8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: var(--bg-color, #ffffff);
    overflow-x: hidden;
}

/* Asegurar que todos los textos en fondos claros sean negros */
.section, .service-card, .testimonial-card, .feature-item, .stat-item, .faq-item, .contact-form, .about-text, .slider-info {
    color: #000000 !important;
}

/* BOTÓN WHATSAPP FLOTANTE */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 999;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    transition: all 0.3s;
    text-decoration: none;
    color: white;
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

/* NAVBAR */
nav {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-color, rgba(0,0,0,0.2)) 0 2px 15px;
    color: var(--text-color, #ffffff);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1002;
}

.logo-img {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    border: 2px solid rgba(255,255,255,0.2);
    overflow: hidden;
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.logo-placeholder {
    font-size: 1.8rem;
    color: white;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
    position: relative;
    flex-direction: column;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    margin: 6px 0;
    transition: all 0.3s;
    border-radius: 2px;
}

/* HERO SLIDER PRINCIPAL */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    margin-top: 70px;
}

.hero-slider {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15rem;
    color: rgba(255,255,255,0.15);
    position: relative;
}

.hero-slide-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 50px,
        rgba(255,255,255,0.03) 50px,
        rgba(255,255,255,0.03) 100px
    );
}

.hero-content-section {
    background: white;
    padding: 4rem 2rem;
}

.hero-content-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-content-container h1 {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 900;
    line-height: 1.2;
}

.hero-content-container p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta-btn {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}

.hero-cta-primary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 5px 20px rgba(217, 126, 58, 0.4);
}

.hero-cta-primary:hover {
    background: #c46a2a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(217, 126, 58, 0.5);
}

.hero-cta-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.hero-cta-secondary:hover {
    background: var(--primary);
    color: white;
}

.hero-slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.hero-slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.hero-slider-dot.active {
    background: var(--secondary);
    width: 40px;
    border-radius: 7px;
    border-color: white;
}

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
}

.hero-slider-btn:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-50%) scale(1.1);
}

.hero-slider-btn.prev {
    left: 30px;
}

.hero-slider-btn.next {
    right: 30px;
}

.hero-slide-counter {
    position: absolute;
    top: 100px;
    right: 30px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 10;
    border: 2px solid rgba(255,255,255,0.2);
}

/* Contenido del Hero Slide */
.hero-slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-slide-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-slide-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-slide-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-slide-actions {
    margin-top: 2rem;
}

.hero-slide-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(217, 126, 58, 0.4);
    border: 2px solid transparent;
}

.hero-slide-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(217, 126, 58, 0.6);
    border-color: rgba(255,255,255,0.3);
}

/* STATS */
.stats {
    background: var(--bg-light);
    padding: 3rem 2rem;
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid var(--secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stat-item .stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.stat-item .stat-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.stat-item p {
    color: var(--gray);
    font-size: 1rem;
}

/* SECCIONES */
.section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
    background-color: var(--card-bg, #ffffff);
    color: #000000;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 900;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 3.5rem;
}

/* SERVICIOS */
.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--card-bg, white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-color, rgba(0,0,0,0.08)) 0 5px 20px;
    transition: all 0.4s;
    border-top: 4px solid var(--secondary);
    color: #000000;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #e8eef5 0%, #d4dfe8 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-icon {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.service-badge {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.service-content p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

/* SLIDER DE PROYECTOS */
.slider-section {
    background: var(--bg-light);
}

.slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 60px;
}

.slider-container {
    overflow: hidden;
    border-radius: 15px;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-item {
    min-width: 100%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.slider-image {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #e8eef5 0%, #d4dfe8 100%);
    border-bottom: 4px solid var(--secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(0,0,0,0.15);
    overflow: hidden;
}

.slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.slider-item:hover .slider-image img {
    transform: scale(1.05);
}

.slider-info {
    padding: 2.5rem;
    text-align: center;
}

.slider-info h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 800;
}

.slider-info p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.slider-details {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.slider-details ul {
    list-style: none;
    text-align: left;
}

.slider-details li {
    color: var(--text);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.slider-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.slider-badge {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider-btn:hover {
    background: var(--secondary);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--secondary);
    width: 30px;
    border-radius: 6px;
}

.slider-counter {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--gray);
    font-weight: 600;
    font-size: 1rem;
}

/* ABOUT SECTION */
.about {
    background: white;
    padding: 4rem 2rem;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text-section {
    text-align: left;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    margin: 2rem 0 0;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary);
}

.about-image-section {
    text-align: center;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: translateY(-5px);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* Responsive para About */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text-section {
        text-align: center;
    }
    
    .about-text {
        text-align: left;
    }
}

/* CARACTERÍSTICAS */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s;
    border-top: 4px solid var(--secondary);
}

.feature-item:hover {
    transform: translateY(-8px);
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.feature-icon img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon img {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.feature-item h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 800;
}

.feature-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* TESTIMONIOS */
.testimonials {
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stars {
    color: var(--secondary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.author-info h5 {
    color: var(--primary);
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.author-info p {
    color: var(--gray);
    font-size: 0.85rem;
}

/* FAQ */
.faq {
    background: var(--bg-light);
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 1.5rem;
    background: var(--primary);
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    font-weight: 700;
    border-radius: 10px;
}

.faq-question:hover {
    background: #0f3050;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.8;
}

/* CONTACTO */
.contact {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 50px,
        rgba(255,255,255,0.03) 50px,
        rgba(255,255,255,0.03) 100px
    );
    pointer-events: none;
}

.contact .section-title {
    color: white;
}

.contact .section-title::after {
    background: var(--secondary);
}

.contact .section-subtitle {
    color: rgba(255,255,255,0.9);
}

.contact-wrapper {
    position: relative;
    z-index: 1;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: rgba(255,255,255,0.1);
    padding: 1.8rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    color: white;
}

.contact-info-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(10px);
}

.contact-info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-card strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    color: white;
}

.contact-info-card p {
    font-size: 0.95rem;
    opacity: 0.95;
    line-height: 1.6;
    color: white;
}

.contact-info-card a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-info-card a:hover {
    color: var(--secondary);
}

.horario-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.horario-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    font-size: 0.9rem;
    color: white;
}

.horario-item strong {
    margin: 0;
    font-size: 0.9rem;
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.map-placeholder {
    width: 100%;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 2px dashed rgba(255,255,255,0.3);
    margin-top: 1.5rem;
    color: white;
}

.map-placeholder span {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.7;
    color: white;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.form-header p {
    color: var(--gray);
    font-size: 0.95rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

.form-group label .required {
    color: var(--secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(217, 126, 58, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: var(--secondary);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: all 0.3s;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: #c46a2a;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(217, 126, 58, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* Alertas del formulario */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

/* FOOTER */
footer {
    background: #000000;
    color: #ffffff;
    padding: 3rem 2rem 1rem;
}

/* Asegurar que todo el texto del footer sea blanco y visible */
footer, footer *, footer p, footer li, footer span, footer div {
    color: #ffffff !important;
}

/* Excepción para los títulos que deben ser naranjas */
footer h4 {
    color: var(--secondary) !important;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary);
    font-weight: 800;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section ul a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-social a {
    display: inline-block;
    margin-right: 10px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .hero-slider-wrapper {
        height: 60vh;
    }

    .hero-content-container h1 {
        font-size: 2.8rem;
    }

    .hero-content-container p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .hero-slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .hero-slider-btn.prev {
        left: 15px;
    }

    .hero-slider-btn.next {
        right: 15px;
    }

    .hero-slide-counter {
        top: 85px;
        right: 15px;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }

    .hero-slide-title {
        font-size: 2.8rem;
    }

    .hero-slide-subtitle {
        font-size: 1.5rem;
    }

    .hero-slide-description {
        font-size: 1.1rem;
    }

    .hero-slide-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 1001;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 80%;
        text-align: center;
        list-style: none;
    }

    .nav-links a {
        display: block;
        padding: 1.2rem 2rem;
        font-size: 1.3rem;
        background: rgba(255,255,255,0.1);
        border-radius: 12px;
        width: 100%;
        text-align: center;
        color: white;
        text-decoration: none;
    }

    .nav-links a:hover {
        background: rgba(255,255,255,0.2);
    }

    .nav-links a::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -6px);
    }

    .hero-slider-wrapper {
        height: 50vh;
        margin-top: 65px;
    }

    .hero-slide-title {
        font-size: 2.2rem;
    }

    .hero-slide-subtitle {
        font-size: 1.3rem;
    }

    .hero-slide-description {
        font-size: 1rem;
    }

    .hero-slide-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .hero-content-section {
        padding: 3rem 1.5rem;
    }

    .hero-content-container h1 {
        font-size: 2.2rem;
    }

    .hero-content-container p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .hero-cta-buttons {
        flex-direction: column;
    }

    .hero-cta-btn {
        width: 100%;
        text-align: center;
    }

    .hero-slider-nav {
        bottom: 20px;
    }

    .hero-slide-image {
        font-size: 8rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .slider-wrapper {
        padding: 0 50px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .slider-btn.prev {
        left: 5px;
    }

    .slider-btn.next {
        right: 5px;
    }

    .slider-image {
        height: 250px;
    }

    .slider-info {
        padding: 1.5rem;
    }

    .slider-info h4 {
        font-size: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .horario-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-btn {
        width: 65px;
        height: 65px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content-container h1 {
        font-size: 1.8rem;
    }

    .hero-content-container p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-slide-image {
        font-size: 6rem;
    }

    .hero-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .hero-slider-btn.prev {
        left: 10px;
    }

    .hero-slider-btn.next {
        right: 10px;
    }

    .slider-wrapper {
        padding: 0 40px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }

    .slider-image {
        height: 200px;
        font-size: 3.5rem;
    }

    .slider-info h4 {
        font-size: 1.3rem;
    }

    .slider-info p {
        font-size: 0.95rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-img {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1rem;
    }
}