/* ====================================================
    ESTILOS GENERALES Y VARIABLES GLOBALES
   ==================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0A0A0A;
    --surface: #141414;
    --surface-light: #1F1F1F;
    --gold: #0567AA;
    --dark-gold: #ffff;
    --text-primary: #ee2245;
    --text-secondary: #E3E3E3;
    --border: #2A2A2A;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-display: 'Bebas Neue', cursive;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ====================================================
    COMPONENTES REUTILIZABLES
   ==================================================== */
.glass {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(200, 155, 60, 0.1);
}

.btn {
    display: inline-block;
    background: var(--gold);
    color: var(--bg-primary);
    padding: 1rem 3rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    margin-top: 1rem;
}

.btn:hover {
    background: var(--dark-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(200, 155, 60, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--bg-primary);
}

.section-title {
    font-family: var(--font-display);
    font-size: 4rem;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title span {
    color: var(--gold);
}

/* ====================================================
    HEADER Y NAVEGACIÓN
   ==================================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;                /* Un poco más de separación entre imagen y texto */
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 2px;
    cursor: pointer;
}

.logo img {
    height: 50px;              /* Altura fija para mantener proporción */
    width: auto;               /* Ancho automático para no deformar */
    object-fit: contain;       /* Asegura que la imagen no se recorte */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); /* Sombra suave para darle profundidad */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);    /* Pequeño efecto al pasar el mouse */
    filter: drop-shadow(0 4px 8px rgba(200, 155, 60, 0.4)); /* Sombra dorada en hover */
}

.logo span {
    font-size: 1.8rem;         /* Ligeramente más pequeño que el título */
    font-weight: 600;
    background: linear-gradient(135deg,#ee2245,#0567AA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--gold);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
}

nav a:hover {
    color: var(--gold);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: -20px;
    background: var(--surface-light);
    min-width: 300px;
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 1rem;
    display: none;
    flex-direction: column;
    gap: 0.8rem;
    box-shadow: var(--shadow);
    z-index: 100;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

.barber-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
}

.barber-card:hover {
    background: var(--surface);
    transform: translateX(5px);
}

.barber-card img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.barber-card h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.barber-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.btn-reserve {
    background: var(--gold);
    color: var(--bg-primary) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
}

.btn-reserve:hover {
    background: var(--dark-gold);
}

/* ====================================================
    SECCIÓN HERO
   ==================================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

#particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    z-index: 5;
    position: relative;
    text-align: center;
    padding: 80px 2rem 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
    color: var(--text-primary);
    white-space: nowrap;
    margin-bottom: 2rem;
}

.hero-title span {
    color: var(--gold);
    font-size: inherit;
    display: inline;
}

.hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.hero-text-left,
.hero-text-right {
    flex: 1;
    text-align: left;
}

.hero-text-right {
    text-align: right;
}

.hero-slogan {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.hero-stat {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--gold);
    font-weight: 500;
}

.simulated-3d {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.simulated-3d img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(200, 155, 60, 0.3));
    transition: transform 0.2s ease;
}

/* ====================================================
    TARJETAS DE INFORMACIÓN (VALORES, SERVICIOS, ETC)
   ==================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--surface);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(200, 155, 60, 0.1);
}

.info-card i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.price {
    font-size: 1.5rem;
    color: var(--gold);
    margin-top: 1rem;
    font-weight: 600;
}

/* ====================================================
    GALERÍA (CARRUSELES)
   ==================================================== */
.gallery-carousels {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow: hidden;
    width: 100%;
}

.carousel-row {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll-left 40s linear infinite;
    padding: 2rem 0;
    /* Espacio para que no se corten las sombras/rotaciones */
    align-items: center;
    /* Centrar verticalmente */
}

.carousel-row.right .carousel-track {
    animation: scroll-right 40s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.carousel-track.paused {
    animation-play-state: paused;
}

/* ====================================================
    ESTILO POLAROID / VINTAGE
   ==================================================== */
.vintage-photo {
    flex: 0 0 auto;
    width: 250px;
    height: 300px;
    background: #fdfdfd;
    padding: 12px 12px 45px 12px;
    /* Efecto Polaroid: borde inferior más grueso */
    border-radius: 4px;
    /* Bordes ligeramente redondeados */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4),
        inset 0 0 10px rgba(0, 0, 0, 0.05);
    /* Sombra externa e interna suave */
    position: relative;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.5s ease,
        z-index 0.5s ease,
        filter 0.5s ease;
    filter: sepia(30%) grayscale(20%) contrast(0.9) brightness(0.9);
}

/* Efecto de cinta adhesiva (masking tape) */
.vintage-photo::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    width: 80px;
    height: 25px;
    background: rgba(230, 225, 205, 0.85);
    /* Color cinta adhesiva */
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1), 0 2px 3px rgba(0, 0, 0, 0.1);
    border-radius: 2px 3px 1px 4px;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.vintage-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Recortar imagen para rellenar el marco */
    border-radius: 2px;
    filter: brightness(0.95);
    transition: filter 0.5s ease, transform 0.5s ease;
}

/* Efectos Hover Avanzados */
.vintage-photo:hover {
    transform: scale(1.15) rotate(0deg) !important;
    /* Endereza, aumenta e ignora la rotación inline */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7),
        inset 0 0 10px rgba(0, 0, 0, 0.02);
    /* Pop 3D agresivo */
    z-index: 50 !important;
    /* Trae al frente de todas las demás cartas */
    filter: sepia(0%) grayscale(0%) contrast(1.1) brightness(1.05);
    /* Revela color real */
}

.vintage-photo:hover::before {
    opacity: 0.5;
    /* Fade out sutil de la cinta */
}

.vintage-photo:hover img {
    filter: brightness(1);
    /* Original clear filter */
}

/* Adaptación a carrusel */
.carousel-item {
    margin: 10px;
    /* Margen para evitar clipping de la sombra */
}

/* ====================================================
    MODAL
   ==================================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--gold);
}

/* ====================================================
    SECCIÓN DE RESERVA (DOS PASOS)
   ==================================================== */
.reservation-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-light);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: var(--transition);
}

.step.active .step-number {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
}

.step-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.step.active .step-text {
    color: var(--gold);
}

.reservation-content {
    background: var(--surface);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border);
}

.reservation-step {
    display: none;
}

.reservation-step.active {
    display: block;
}

.barbers-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.barber-selection-card {
    background: var(--surface-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.barber-selection-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.barber-selection-card.selected {
    border-color: var(--gold);
    background: rgba(200, 155, 60, 0.1);
}

.barber-selection-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 2px solid var(--gold);
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.contact-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--surface-light);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-option:hover {
    border-color: var(--gold);
}

.contact-option-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-option-icon {
    width: 40px;
    height: 40px;
    background: rgba(200, 155, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.contact-action {
    background: var(--gold);
    color: var(--bg-primary);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.contact-action:hover {
    background: var(--dark-gold);
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

/* ====================================================
    SECCIÓN DE RESEÑAS
   ==================================================== */
.reviews-container {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.reviews-carousel {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.reviews-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.review-card {
    flex: 0 0 calc(33.333% - 1rem);
    margin-right: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    min-width: 0;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.review-header h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.review-metadata {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.review-rating {
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
}

.review-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.review-actions {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.review-actions span {
    cursor: pointer;
    transition: color 0.3s;
}

.review-actions span:hover {
    color: var(--gold);
}

.carousel-arrow {
    background: var(--surface-light);
    border: 1px solid var(--border);
    color: var(--gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    flex-shrink: 0;
}

.carousel-arrow:hover {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--gold);
    transform: scale(1.2);
}

/* ====================================================
    FOOTER
   ==================================================== */
footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hours-list {
    list-style: none;
    width: 100%;
    max-width: 250px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.hours-list li:last-child {
    border-bottom: none;
}

.business-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.business-info i {
    color: var(--gold);
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 0.5rem;
}

.social-links a {
    color: var(--text-primary);
    font-size: 1.8rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--surface-light);
    border: 1px solid var(--border);
}

.social-links a:hover {
    color: var(--gold);
    background: var(--surface);
    transform: translateY(-5px) scale(1.1);
    border-color: var(--gold);
    box-shadow: 0 5px 15px rgba(200, 155, 60, 0.3);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ====================================================
    ANIMACIONES AL HACER SCROLL
   ==================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.fab-reserve {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--gold);
    color: var(--bg-primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.fab-reserve:hover {
    transform: scale(1.1);
    background: var(--dark-gold);
}

/* ====================================================
    MEDIA QUERIES (RESPONSIVE)
   ==================================================== */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--surface);
        padding: 2rem;
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        background: var(--surface-light);
        margin-top: 0.5rem;
    }

    .dropdown.active .dropdown-content {
        display: flex;
    }

    .hero-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-text-left,
    .hero-text-right {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-text-right {
        text-align: center;
    }

    .simulated-3d {
        max-width: 300px;
    }

    .hero-title {
        font-size: 4rem;
        white-space: normal;
    }

    /* Carrusel de reseñas responsive */
    .review-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 70px 1rem 1rem;
    }

    .hero-title {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-slogan {
        font-size: 1.5rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-stat {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .simulated-3d {
        max-width: 250px;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-section {
        align-items: center;
    }

    .hours-list {
        max-width: 300px;
    }

    .fab-reserve {
        display: flex;
    }

    .carousel-item {
        width: 180px;
        height: 220px;
        padding: 8px 8px 35px 8px;
        /* Ajuste polaroid en móvil */
    }

    /* Carrusel de reseñas responsive */
    .review-card {
        flex: 0 0 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-slogan {
        font-size: 1.3rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .simulated-3d {
        max-width: 200px;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 40px;          /* Reduce la imagen en móviles */
    }
    .logo span {
        font-size: 1.5rem;     /* Reduce el texto */
    }
}

/* ====================================================
    SECCIONES PRINCIPALES CON PADDING SUPERIOR E INFERIOR (MODIFICADO)
   ==================================================== */
#services,
#gallery,
#contact,
#reservation,
#barber-profile {
    padding-top: 80px;
    padding-bottom: 80px; /* Añadido para separación profesional del footer */
}

footer,
.cards-grid {
    position: relative;
    z-index: 10;
}

/* Ocultar controles del carrusel de reseñas */
.reviews-carousel .carousel-arrow,
.reviews-carousel .carousel-dots {
    display: none;
}

/* Ajustar el contenedor para que las tarjetas queden centradas */
.reviews-carousel {
    justify-content: center; /* Asegura que el wrapper se centre si no hay flechas */
    padding: 0 1rem; /* Espacio lateral opcional para mejor apariencia */
}

.reviews-wrapper {
    width: 100%;
}

.dropdown-content {
    max-height: 400px;          /* Altura máxima antes de activar scroll */
    overflow-y: auto;            /* Scroll vertical cuando sea necesario */
    scrollbar-width: thin;       /* Personalización para Firefox */
    scrollbar-color: var(--gold) var(--surface); /* Firefox: pulgar dorado, track oscuro */
}

/* Personalización para navegadores WebKit (Chrome, Safari, Edge) */
.dropdown-content::-webkit-scrollbar {
    width: 6px;                  /* Ancho de la barra */
}

.dropdown-content::-webkit-scrollbar-track {
    background: var(--surface);  /* Fondo del track */
    border-radius: 10px;
}

.dropdown-content::-webkit-scrollbar-thumb {
    background: var(--gold);     /* Color del pulgar */
    border-radius: 10px;
}

.dropdown-content::-webkit-scrollbar-thumb:hover {
    background: var(--dark-gold); /* Efecto hover */
}