/* Reset y variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0a0a0a;
    --dark-gray: #141414;
    --medium-gray: #1f1f1f;
    --gray: #888888;
    --red: #e74c3c;
    --red-dark: #c0392b;
    --white: #ffffff;
    --white-soft: #f5f5f5;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--white-soft);
    background: var(--black);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== BOTONES MEJORADOS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-xlarge {
    padding: 20px 50px;
    font-size: 20px;
}

.btn-servicio {
    width: 100%;
    justify-content: center;
    margin-top: 20px;
    padding: 12px 20px;
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid var(--red);
    color: var(--red);
    font-weight: 600;
}

.btn-servicio:hover {
    background: var(--red);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========== HERO SECTION MEJORADO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    overflow: hidden;
}

/* Patrón de fondo sutil (reemplaza el SVG roto) */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(231, 76, 60, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 700px;
    z-index: 2;
    position: relative;
    padding: 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--red);
    background: none;
    -webkit-text-fill-color: var(--red);
    text-shadow: 0 0 20px rgba(231, 76, 60, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.3rem);
    margin-bottom: 40px;
    opacity: 0.85;
    font-weight: 400;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ========== VIDEO DE FONDO PARA HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    z-index: 0;
}

/* Optimización para móviles - reducir carga */
@media (max-width: 768px) {
    .hero-video {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Si el usuario prefiere movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
    
    .hero-video-fallback {
        display: block;
    }
}

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

.section-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

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

/* ========== SERVICIOS ========== */
.servicios {
    background: var(--dark-gray);
}

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

.servicio-card {
    background: var(--medium-gray);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.servicio-card:hover::before {
    transform: translateX(0);
}

.servicio-card:hover {
    transform: translateY(-8px);
    background: var(--dark-gray);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.servicio-card.featured {
    border: 1px solid var(--red);
    background: linear-gradient(135deg, var(--medium-gray), rgba(231, 76, 60, 0.05));
}

.servicio-card.featured .badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--red);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.servicio-icon {
    width: 80px;
    height: 80px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.2rem;
    color: var(--red);
    transition: var(--transition);
}

.servicio-card:hover .servicio-icon {
    transform: scale(1.05);
    background: rgba(231, 76, 60, 0.2);
}

.servicio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.precio {
    font-size: 2rem;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 16px;
}

.servicio-card p:not(.precio) {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ========== DESTACADO ========== */
.destacado {
    background: var(--black);
}

.destacado-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.destacado-text h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 16px;
    font-weight: 700;
}

.destacado-subtitle {
    font-size: 1.2rem;
    color: var(--red);
    margin-bottom: 24px;
    font-weight: 500;
}

.destacado-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.destacado-features span {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--white-soft);
}

.destacado-features i {
    color: var(--red);
    font-size: 1.1rem;
}

.destacado-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

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

/* ========== GALERÍA ========== */
.galeria {
    background: var(--dark-gray);
}

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

.galeria-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
    transition: var(--transition);
    cursor: pointer;
}

.galeria-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(231, 76, 60, 0.2);
}

/* ========== RESEÑAS ========== */
.reseñas {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
}

.reseñas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.reseña-card {
    background: var(--medium-gray);
    padding: 35px 30px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(231, 76, 60, 0.1);
}

.reseña-card:hover {
    transform: translateY(-5px);
    border-color: rgba(231, 76, 60, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.reseña-estrellas {
    color: #f1c40f;
    font-size: 1.3rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.reseña-card p {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--white-soft);
}

.reseña-autor {
    font-weight: 600;
    color: var(--red);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* ========== CTA FINAL ========== */
.cta-final {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-final h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 16px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.cta-final p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.cta-final .btn-primary {
    background: var(--white);
    color: var(--red);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.cta-final .btn-primary:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* ========== BOTÓN FLOTANTE WHATSAPP ========== */
.whatsapp-float {
    position: fixed;
    width: auto;
    min-width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    font-weight: 600;
}

.whatsapp-float i {
    font-size: 28px;
}

.whatsapp-float span {
    font-size: 14px;
    font-weight: 600;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

/* ========== SECCIÓN INFO LOCAL (NUEVA) ========== */
.info-local {
    background: var(--dark-gray);
    padding: 80px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.info-item {
    text-align: center;
    padding: 30px;
    background: var(--medium-gray);
    border-radius: 20px;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-5px);
    background: rgba(231, 76, 60, 0.05);
}

.info-item i {
    font-size: 2.5rem;
    color: var(--red);
    margin-bottom: 16px;
}

.info-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.info-item p {
    color: var(--gray);
    line-height: 1.5;
}

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

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

/* Delay utilities */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ========== RESPONSIVE MEJORADO ========== */
@media (max-width: 992px) {
    .destacado-content {
        gap: 40px;
    }
    
    .hero-content {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        justify-content: center;
    }
    
    .destacado-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .destacado-features {
        align-items: center;
    }
    
    .destacado h2 {
        font-size: 2rem;
    }
    
    .servicios-grid {
        gap: 20px;
    }
    
    .galeria-grid {
        gap: 15px;
    }
    
    .galeria-grid img {
        height: 240px;
    }
    
    .reseñas-grid {
        gap: 20px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 0 16px;
        min-width: 50px;
        height: 50px;
    }
    
    .whatsapp-float span {
        display: none;
    }
    
    .whatsapp-float i {
        font-size: 24px;
    }
    
    .info-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .servicio-card {
        padding: 30px 20px;
    }
    
    .servicio-icon {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
    }
    
    .precio {
        font-size: 1.8rem;
    }
    
    .cta-final {
        padding: 70px 0;
    }
    
    .galeria-grid img {
        height: 200px;
    }
}

/* ========== SCROLLBAR PERSONALIZADA ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red-dark);
}

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

.mt-2 { margin-top: 20px; }
.mb-2 { margin-bottom: 20px; }