/* Base Configuration */
:root {
    --bg-dark: #070A11;
    --bg-card: rgba(22, 28, 45, 0.6);
    --primary: #38bdf8;
    --primary-glow: rgba(56, 189, 248, 0.4);
    --secondary: #818cf8;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

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

.text-center { text-align: center; }
.relative { position: relative; }

/* Gradients and Text */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 strong, h2 strong {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

/* Navbar */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 48px;
    background: rgba(7, 10, 17, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

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

/* Buttons */
.btn-sm, .btn-primary, .whatsapp-huge {
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-sm {
    padding: 10px 24px;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #25D366, #1da851);
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

/* Hero Section */
.hero {
    min-height: 85vh; /* Less height so they see the reviews quickly */
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    z-index: 10;
}

/* Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.5;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-glow);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: rgba(129, 140, 248, 0.2);
    bottom: -200px;
    right: -100px;
}

/* Badge Review */
.badge-review {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--primary);
    padding: 10px 24px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

.badge-review span {
    color: white;
    margin-left: 8px;
    font-weight: 700;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
}

/* Common Section */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
}
.minor-title {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s ease;
}

.glass-panel:hover {
    background: rgba(22, 28, 45, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
}

/* Stats Counter */
.stats-section {
    padding: 60px 24px;
    background: rgba(0,0,0,0.2);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

/* FAQ */
.faq-section {
    padding: 80px 24px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
    border-color: rgba(56, 189, 248, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    transition: color 0.2s;
}

.faq-question:hover { color: var(--primary); }

.faq-question i {
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
}

.faq-answer.open {
    max-height: 200px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Badge review clickeable */
.badge-review {
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.badge-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.35);
}

/* Pulse animation en WhatsApp */
.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: rgba(37, 211, 102, 0.4);
    animation: pulse-wave 2s ease-out infinite;
    z-index: 1;
}

.delay-pulse {
    animation-delay: 0.8s;
}

@keyframes pulse-wave {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

/* Reviews Grid */
.reviews { padding: 80px 24px 40px; }
.grid-reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.review-card {
    padding: 30px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    position: relative;
}

.google-icon {
    position: absolute;
    right: 0;
    top: 5px;
    color: #4285F4;
    font-size: 1.5rem;
}

.avatar {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: #000;
}

.reviewer-info h4 { margin: 0; font-size: 1.1rem; }
.reviewer-info .stars { color: #fbbf24; font-size: 1rem; letter-spacing: 2px;}

.review-card p {
    font-size: 1rem;
    font-style: italic;
    color: #cbd5e1;
}

/* Services */
.services { padding: 60px 24px; }
.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(129, 140, 248, 0.2));
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

/* Marcas y Garantia */
.marcas-garantia {
    padding: 60px 24px;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

/* Gallery / Local Físico */
.gallery {
    padding: 80px 24px;
}

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

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(7, 10, 17, 0.9), transparent);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-end;
    transition: bottom 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

.marcas-list {
    font-size: 1.5rem;
    font-weight: 300;
    color: #cbd5e1;
    margin-bottom: 40px;
    word-break: keep-all;
    line-height: 2;
}

.marcas-list span { font-weight: 600; color: white; padding: 0 10px;}

.pagos-garantia {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.badge-trust {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

/* Location & Horarios */
.location-section {
    padding: 80px 24px;
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    margin-bottom: 30px;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.location-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.location-detail i {
    font-size: 1.4rem;
    color: var(--primary);
    margin-top: 4px;
    flex-shrink: 0;
}

.location-detail strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.location-detail p {
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.5;
}

.tel-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.tel-link:hover { opacity: 0.8; }

.btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.3);
}

.btn-maps:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.45);
}

.horarios-card {
    padding: 36px;
}

.horario-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.95rem;
}

.horario-row:last-child { border-bottom: none; }

.horario-row .dia {
    font-weight: 600;
    color: var(--text-main);
}

.horario-row .hora {
    color: #34d399;
    font-weight: 500;
}

.horario-row.cerrado .hora {
    color: var(--text-muted);
}

/* Footer & CTA */
.contact-section {
    padding: 100px 24px;
    background: radial-gradient(circle at center, #0b1c15, var(--bg-dark));
}

.cta-pulse-wrapper {
    position: relative;
    display: inline-block;
    margin: 40px 0;
}

.whatsapp-huge {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 50px;
    background: #25D366;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.3);
    position: relative;
    z-index: 2;
}

.whatsapp-huge:hover {
    transform: scale(1.05);
    background: #1faf54;
}

.footer-note {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .glass-nav { padding: 16px 20px; }
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.1rem; }
    .whatsapp-huge { font-size: 1.2rem; padding: 15px 30px; }
    .marcas-list { font-size: 1.2rem; }
    .badge-trust { width: 100%; justify-content: center; }
    .location-grid { grid-template-columns: 1fr; }
    .stat-number { font-size: 2.8rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
