
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
}

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

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo i {
    font-size: 1.8rem;
    color: #d4af37;
}

.logo-text {
    background: linear-gradient(135deg, #fff, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #d4af37;
}

.btn-nav {
    background: linear-gradient(135deg, #d4af37, #b8941e);
    color: #000;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn-nav:hover {
    transform: scale(1.05);
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.hero-badge i {
    font-size: 0.9rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #d4af37, #ffd966);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37, #b8941e);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #d4af37;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #d4af37;
}

.stat-label {
    font-size: 0.9rem;
    color: #aaa;
}

.stat-label i {
    color: #ffc107;
    font-size: 0.8rem;
}

.hero-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-card p {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.card-preview {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.preview-bar {
    height: 20px;
    background: #d4af37;
    border-radius: 10px;
    width: 80%;
    margin-bottom: 1rem;
}

.preview-content {
    display: flex;
    gap: 10px;
    align-items: center;
}

.preview-line {
    height: 40px;
    background: #333;
    border-radius: 5px;
    flex: 1;
}

.preview-line.short {
    flex: 0.5;
}

.preview-circle {
    width: 40px;
    height: 40px;
    background: #d4af37;
    border-radius: 50%;
}

/* ========== SERVICES ========== */
.services {
    padding: 80px 0;
    background: #0f0f0f;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card.featured {
    border: 1px solid #d4af37;
    transform: scale(1.05);
}

.service-card.featured:hover {
    transform: scale(1.07);
}

.service-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #d4af37;
    color: #000;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #d4af37;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #aaa;
    margin-bottom: 1.5rem;
}

.service-price {
    color: #d4af37;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.service-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link:hover {
    color: #ffd966;
}

/* ========== TEAM (BARBEROS) ========== */
.team {
    padding: 80px 0;
    background: #0a0a0a;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.team-card {
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(212, 175, 55, 0.1);
    width: 100%;
    max-width: 300px;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

/* Imagen */
.team-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

/* Nombre */
.team-card h3 {
    margin-top: 1rem;
    font-size: 1.3rem;
}

/* Descripción */
.team-card p {
    color: #aaa;
    font-size: 0.95rem;
    padding: 0 1rem;
    margin-bottom: 1.5rem;
}

/* Botón */
.team-card .btn-primary-wa {
    margin-bottom: 1.5rem;
}
.team-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none; /* ← agrega esto */
}

.team-card:hover::after {
    opacity: 1;
}
.team-card img {
    width: 80%;
    height: 200px;
    object-fit: cover;
}

/* ========== GALLERY ========== */
.gallery-section {
    padding: 80px 0;
    background: #0a0a0a;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-placeholder {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    transition: transform 0.3s;
    color: #d4af37;
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.05);
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 1rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay p {
    color: #fff;
    font-weight: 600;
}

/* Contenedor principal */
.location-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* cards a la izquierda, mapa más ancho a la derecha */
    gap: 2rem;
    align-items: start;
}

/* Contenedor de las cards */
.location-info {
    display: grid;
    gap: 1.5rem;
}

/* Cards más compactas */
.info-card {
    background: #1a1a1a;
    padding: 1rem;
    border-radius: 15px;
    transition: transform 0.3s;
}

.info-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #aaa;
    font-size: 0.9rem;
}

.info-card:hover {
    transform: translateX(5px);
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #d4af37;
}

/* Mapa ocupa la altura total de las 3 cards */
.location-map {
    border-radius: 15px;
    overflow: hidden;
    min-height: 0; /* dejamos que se adapte al grid */
    height: 100%; /* ocupa toda la altura disponible */
}

/* Ajuste del iframe para llenar el contenedor */
.location-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ========== CONTACT ========== */
.contact {

    background: #0a0a0a;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-content h2 {
    font-size: 2.5rem;
    margin: 1rem 0;
}

.contact-content p {
    color: #aaa;
    margin-bottom: 2rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-primary-wa {
    background: #25D366;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-wa:hover {
    transform: translateY(-2px);
}

.btn-secondary-call {
    background: transparent;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #25D366;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary-call:hover {
    background: rgba(37, 211, 102, 0.1);
}

.contact-note p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d4af37;
    font-size: 0.9rem;
}

.demo-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 20px;
}

.demo-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-card p {
    color: #aaa;
    margin-bottom: 1.5rem;
}

.demo-card form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group {
    position: relative;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #d4af37;
    font-size: 1rem;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 0.8rem 0.8rem 0.8rem 2.5rem;
    border-radius: 10px;
    border: 1px solid #333;
    background: #0a0a0a;
    color: #fff;
    font-family: inherit;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #d4af37;
}

.btn-form {
    background: #d4af37;
    color: #000;
    padding: 0.8rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-form:hover {
    background: #ffd966;
}

/* ========== FOOTER ========== */
.footer {
    background: #050505;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand h3 i {
    color: #d4af37;
}

.footer-brand p {
    color: #aaa;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-social a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover,
.footer-social a:hover {
    color: #d4af37;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #666;
}

.footer-bottom i {
    margin-right: 4px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-container,
    .location-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card.featured {
        transform: scale(1);
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
}
/* arreglo del boton de agendar en la card de servicios */


.btn-secondary-call {
    cursor: pointer;
}
.hero-content {
    position: relative;
    z-index: 2;
}
