/**
 * AB'L Barbería - Estilos Definitivos (Cache-Breaker v1.2)
 * Restauración exacta del diseño local
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary: #ff6b35;
    --dark: #0f0f0f;
    --gray-light: #f1f1f1;
    --text: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: #fff;
    color: var(--text);
    line-height: 1.6;
}

/* ============================================
   HEADER & NAV
   ============================================ */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    padding: 15px 5%;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
}

.logo span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    color: white;
    cursor: pointer;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    height: 80vh;
    background: #000;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.btn-reservar-flotante {
    position: absolute;
    bottom: 40px;
    right: 5%;
    background: var(--primary);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

/* ============================================
   SERVICIOS GRID (RECONSTRUCCIÓN TOTAL)
   ============================================ */
.section-padding {
    padding: 80px 5%;
}

.servicios-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    /* 4 columnas fijas en escritorio */
    gap: 25px !important;
    max-width: 1300px;
    margin: 0 auto !important;
}

.servicio-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.servicio-icon-box {
    background: #f4f4f4;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.servicio-icon-box img {
    max-width: 110px;
    max-height: 110px;
    opacity: 0.7;
    object-fit: contain;
}

.servicio-desc {
    padding: 25px;
}

.servicio-desc h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #111;
}

.servicio-desc p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonios-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.testimonio-card {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
}

.stars {
    color: #ffc107;
    margin-bottom: 20px;
}

/* ============================================
   FOOTER (COPIA EXACTA DE LOCAL)
   ============================================ */
.footer {
    background: #111;
    color: #fff;
    padding: 80px 5% 40px;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    /* Proporción local */
    gap: 40px;
}

.footer-section h3 {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-section p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
    color: #eee;
    font-size: 0.95rem;
}

.footer-section i {
    color: var(--primary);
    margin-right: 10px;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    color: #fff;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: 0.3s;
}

.social-links a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #222;
    color: #444;
}

/* Responsividad básica */
@media (max-width: 1100px) {
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .servicios-grid,
    .testimonios-grid,
    .footer-content {
        grid-template-columns: 1fr !important;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
    }
}