/* ========================================
   ESTILO RÁPIDO & PRÁCTICO
   Sistema Galia Digital
   ======================================== */

/* ========================================
   CSS TOKENS (SISTEMA VISUAL)
   ======================================== */

:root {
    /* Fondos */
    --bg-main: #ffffff;
    --bg-soft: #f6f7f9;
    
    /* Textos */
    --text-main: #111827;
    --text-muted: #6b7280;
    
    /* Accent (azul funcional) */
    --accent: #2563eb;
    --accent-hover: #1f55c9;
    
    /* Rosa suave de apoyo */
    --accent-soft: #F3D7E1;
    
    /* Bordes y separadores */
    --border: #e5e7eb;
    
    /* Compatibilidad (aliases) */
    --bg: var(--bg-main);
    --surface: var(--bg-soft);
    --text: var(--text-main);
    --accent-light: #dbeafe;
    
    /* Colores funcionales */
    --success: #2563eb;
    --error: #dc2626;
    --warning: #f59e0b;
    
    /* Espaciado */
    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    
    /* Sombras */
    --shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    
    /* Transiciones */
    --transition: all 0.2s ease;
}

/* ========================================
   RESET & BASE
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   TIPOGRAFÍA
   ======================================== */

h1 {
    font-size: clamp(28px, 4.2vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: clamp(16px, 3.5vw, 40px);
}

.container-header {
    max-width: 1400px;
    margin: 0 auto;
    padding-inline: clamp(16px, 3.5vw, 40px);
}

section {
    padding-block: clamp(48px, 6vw, 100px);
    position: relative;
}

/* Separadores visuales sutiles entre secciones */
section:not(.hero):not(:last-of-type)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        var(--accent-soft) 20%,
        var(--accent-soft) 80%,
        transparent
    );
}

/* ========================================
   HEADER STICKY
   ======================================== */

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 14px;
    gap: 1rem;
}

.header-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    display: inline-block;
    transition: var(--transition);
}

.header-logo:hover {
    color: var(--accent);
}

.header-logo strong {
    color: var(--accent);
    font-weight: 800;
    margin: 0 4px;
}

/* Mobile: Logo más pequeño */
@media (max-width: 768px) {
    .header-logo {
        font-size: 18px;
    }
}

.header-ctas {
    display: flex;
    gap: 10px;
}

.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-whatsapp {
    background-color: var(--accent);
    color: white;
}

.btn-whatsapp:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

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

.btn-call:hover {
    background-color: var(--surface);
    border-color: var(--accent);
}

/* Header Navigation */
.header-nav {
    display: none;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .header-nav {
        display: flex;
    }
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent);
}

/* Mobile: solo iconos */
@media (max-width: 480px) {
    .btn-header span {
        display: none;
    }
    
    .btn-header {
        padding: 10px 12px;
    }
}

/* ========================================
   HERO FUNCIONAL
   ======================================== */

.hero {
    background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-main) 100%);
    padding-top: clamp(40px, 6vw, 80px);
    padding-bottom: clamp(40px, 6vw, 80px);
}

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

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.hero-price {
    color: var(--accent);
    font-weight: 800;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background-color: var(--accent-soft);
    color: #c7396b;
    font-size: 14px;
    font-weight: 500;
    border-radius: 100px;
}

.badge svg {
    flex-shrink: 0;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 600px) {
    .hero-ctas {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.hero-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ========================================
   BOTONES
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    white-space: nowrap;
}

.btn-large {
    padding: 16px 32px;
    font-size: 17px;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    background-color: var(--surface);
    border-color: var(--accent);
}

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

.btn-outline:hover {
    background-color: var(--accent);
    color: white;
}

/* ========================================
   SERVICIOS + PRECIOS (SECCIÓN PRINCIPAL)
   ======================================== */

.services-pricing {
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(32px, 5vw, 60px);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

.service-category {
    background-color: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
}

.service-category:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--surface);
}

.category-title svg {
    flex-shrink: 0;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--surface);
}

.service-item:last-child {
    border-bottom: none;
}

.service-item.featured {
    background-color: var(--accent-soft);
    padding: 16px;
    border-radius: var(--radius-sm);
    border-bottom: none;
    margin-bottom: 0.5rem;
    border: 2px solid #EBC2D0;
}

.service-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
}

.service-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}

.badge-popular {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    background-color: white;
    padding: 4px 10px;
    border-radius: 100px;
}

.services-cta {
    text-align: center;
    padding: 2rem;
    background-color: var(--surface);
    border-radius: var(--radius);
}

.services-cta-text {
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 1rem;
}

/* ========================================
   HORARIOS
   ======================================== */

.hours {
    background-color: var(--surface);
}

.hours-card {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--surface);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item.highlight {
    background-color: var(--accent-light);
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border-bottom: none;
}

.hours-item.closed {
    opacity: 0.5;
}

.day {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.time {
    font-size: 16px;
    font-weight: 500;
    color: var(--accent);
}

.hours-note {
    display: flex;
    gap: 12px;
    padding: 1.5rem;
    background-color: var(--accent-light);
    border-radius: var(--radius-sm);
}

.hours-note svg {
    flex-shrink: 0;
    color: var(--accent);
}

.hours-note p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
}

/* ========================================
   UBICACIÓN
   ======================================== */

.location {
    background-color: white;
}

.location-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--surface);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
}

.location-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 600px) {
    .location-info {
        flex-direction: row;
        text-align: left;
    }
}

.location-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
}

.location-text h3 {
    font-size: 24px;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.address {
    font-size: 18px;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.zone {
    font-size: 16px;
    color: var(--text-muted);
}

/* ========================================
   MINI GALERÍA
   ======================================== */

.gallery {
    background-color: var(--surface);
}

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

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 450px;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.gallery-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ========================================
   CTA DIRECTO
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    padding-block: clamp(60px, 8vw, 100px);
}

.cta-card {
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 600px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.cta-buttons .btn-primary {
    background-color: white;
    color: var(--accent);
}

.cta-buttons .btn-primary:hover {
    background-color: var(--surface);
}

.cta-buttons .btn-outline {
    border-color: white;
    color: white;
}

.cta-buttons .btn-outline:hover {
    background-color: white;
    color: var(--accent);
}

/* ========================================
   CONTACTO INMEDIATO
   ======================================== */

.contact {
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 600px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--surface);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
}

.contact-text h3 {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.contact-link {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
    display: inline-block;
    margin-top: 0.5rem;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-address,
.contact-hours {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: var(--text);
    color: white;
    padding-block: 4rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 600px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.7;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-list a:hover {
    color: var(--accent-light);
}

.footer-list span {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 0.5rem;
}

.footer-powered {
    margin-top: 0.5rem;
}

.footer-powered strong {
    color: var(--accent-light);
}

/* ========================================
   BANNER COOKIES
   ======================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    z-index: 9999;
    border-top: 2px solid var(--accent);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-content a {
    color: var(--accent-light);
    text-decoration: underline;
}

.cookie-content a:hover {
    color: white;
}

.cookie-accept {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.cookie-accept:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* ========================================
   ACCESIBILIDAD
   ======================================== */

*:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   UTILIDADES
   ======================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
