/* =====================================================
   Coronados - Classic Luxury Landing Page Styles
   Color: Champagne #CBA96E | Sector: Barbería Premium
   ===================================================== */

/* -------- GOOGLE FONTS -------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Manrope:wght@300;400;500;600&display=swap');

/* -------- CSS VARIABLES -------- */
:root {
    /* Escala Tonal Monocromática / Classic Luxury */
    --primary-50: #FCFAF6;
    --primary-100: #F6F0E4;
    --primary-200: #EADCBF;
    --primary-300: #DECAF0;
    --primary-400: #D2B79A;
    --primary-500: #CBA96E;
    /* Champagne - Color Principal */
    --primary-600: #8C8173;
    /* Taupe - Color Secundario/Hover */
    --primary-700: #6B6154;
    --primary-800: #4B4339;
    --primary-900: #2B251E;
    --primary-rgb: 203, 169, 110;

    /* Backgrounds (Dark Premium) */
    --bg-primary: #0B0B0B;
    /* Negro - Fondo Principal */
    --bg-secondary: #171717;
    /* Carbón Profundo - Fondo Alterno */
    --bg-tertiary: #1A1A1A;
    --bg-card: #1E1E1E;
    --bg-glass: rgba(203, 169, 110, 0.06);

    /* Text */
    --text-primary: #F2EBDD;
    /* Marfil Cálido - Textos Principales */
    --text-secondary: #D4CDBC;
    --text-tertiary: #A6A092;
    --text-quaternary: #787369;

    /* Accents (Se mantienen por compatibilidad, aunque se usen menos en la Landing) */
    --success: #22C55E;
    --info: #3B82F6;
    --warning: #F59E0B;

    /* Borders */
    --border-subtle: rgba(203, 169, 110, 0.15);
    /* Bordes sutiles color champagne */
    --border-light: rgba(242, 235, 221, 0.1);

    /* Spacing, Radius, Shadows, Transitions */
    --section-padding: 120px 0;
    --container-max: 1280px;
    --container-pad: 0 24px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    --shadow-glow: 0 0 40px rgba(203, 169, 110, 0.3), 0 0 80px rgba(203, 169, 110, 0.2);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Typography */
    --font-display: 'Cormorant Garamond', serif;
    /* Títulos Serif elegantes */
    --font-body: 'Manrope', sans-serif;
    /* Cuerpos Sans-serif limpios */
}

/* Variables para .friendly-modal (Rebranding Classic Luxury) */
.friendly-modal {
    --navy-blue: var(--primary-900);
    /* Usar el tono más oscuro de la paleta para los títulos fuertes */
    --coral: var(--primary-500);
    /* Usar el Champagne como color de acento principal */
    --coral-dark: var(--primary-600);
    /* Usar el Taupe para bordes y hovers */
    --bg-white: var(--primary-50);
    /* Usar el blanco crudo/marfil como fondo */

    /* Resto de los estilos de .friendly-modal se mantienen igual */
    background-color: var(--bg-white);
    border-radius: 40px;
    padding: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

/* -------- RESET & BASE -------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    background: none;
}

/* -------- UTILITY CLASSES -------- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-pad);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 50%, var(--primary-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: linear-gradient(135deg,
            rgba(var(--primary-rgb), 0.08) 0%,
            rgba(var(--primary-rgb), 0.04) 50%,
            rgba(var(--primary-rgb), 0.08) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    transition: var(--transition-base);
}

.glass-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 25px 50px -12px rgba(var(--primary-rgb), 0.25),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

/* -------- BUTTONS -------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg,
            var(--primary-600) 0%,
            var(--primary-500) 30%,
            var(--primary-400) 60%,
            var(--primary-500) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    color: #ffffff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    box-shadow:
        0 0 0 1px rgba(var(--primary-rgb), 0.4),
        0 4px 24px rgba(var(--primary-rgb), 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: var(--transition-base);
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.1);
    box-shadow:
        0 0 0 2px rgba(var(--primary-rgb), 0.7),
        0 8px 40px rgba(var(--primary-rgb), 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-primary.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: var(--transition-base);
    white-space: nowrap;
    text-decoration: none;
}

.btn-outline:hover {
    border-color: rgba(var(--primary-rgb), 0.5);
    color: var(--primary-400);
    background: rgba(var(--primary-rgb), 0.06);
    transform: translateY(-2px);
}

.btn-outline.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

/* -------- SECTION COMMONS -------- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-400);
    background: rgba(var(--primary-rgb), 0.1);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-tertiary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* -------- PARTICLES -------- */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, var(--primary-400), transparent);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 20s infinite ease-in-out;
    will-change: transform, opacity;
}

/* -------- NAVBAR -------- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    /* z-index: 1000; */
    padding: 20px 0;
    transition: var(--transition-base);
    background-color: var(--bg-primary);
    /* NEW */
    display: flex;
    align-items: center;
    z-index: 10000;
    /* Un valor muy alto para ganar a las partículas */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(13, 13, 15, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
    padding: 14px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 44px;
    width: 44px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.4));
}

.logo-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-tertiary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--primary-500);
    border-radius: 2px;
    width: 0;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: calc(100% - 28px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Espacio entre el botón y el menú hamburguesa */
}

/* --- Ajustes específicos para teléfonos móviles --- */
@media (max-width: 768px) {

    .modal-overlay {
        align-items: flex-start;
        padding: 20px 0;
        overflow-y: auto;
    }

    .modal-content {
        width: 95%;
        margin: auto;
        padding: 15px;
        max-height: none;
        overflow-y: visible;
    }

    /* Reducimos un poco el botón para que encaje bien en pantallas pequeñas */
    .nav-btn-reserva {
        padding: 8px 16px;
        font-size: 14px;
        white-space: nowrap;
        /* Evita que el texto se rompa en dos líneas */
    }
}

/* Hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: var(--transition-base);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    /* display: none;
    background: rgba(13, 13, 15, 0.98);
    backdrop-filter: blur(24px);
    border-top: 1px solid var(--border-subtle);
    padding: 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease; */

    /* NEW */
    position: fixed;
    top: 70px;
    /* Empieza justo donde termina la navbar */
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #0b0b0b;
    display: flex;
    flex-direction: column;
    padding: 2rem;

    /* Estado invisible */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
}

/* NEW */
/* --- Menú Móvil (Abierto) --- */
.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-menu.open {
    max-height: 400px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    text-decoration: none;
}

.mobile-nav-link:hover {
    color: var(--primary-400);
    background: rgba(var(--primary-rgb), 0.08);
}

.mobile-cta {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

/* =====================================================
   MODAL CALENDARIO (Solución al bloqueo)
   ===================================================== */

/* Contenedor oscuro de fondo */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: none;
    /* Inicialmente oculto, el JS lo cambia a flex */
    justify-content: center;
    align-items: center;
    z-index: 100000;
    /* Asegura que flote por encima del navbar */
}

/* Tarjeta principal del modal */
.modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    padding: 24px;
    box-shadow: var(--shadow-glow);
    position: relative;
    transform: translateY(0);
    animation: scale-in 0.3s ease-out forwards;
}

/* Cabecera del modal (Título y botón cerrar) */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 16px;
}

.modal-header h3 {
    font-family: var(--font-display);
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 700;
}

/* Botón de cerrar (la tachita) */
.close-btn {
    font-size: 28px;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-btn:hover {
    color: var(--primary-500);
}

/* Contenedor del interior */
#calendar-placeholder {
    text-align: center;
    color: var(--text-secondary);
    padding: 20px 0;
}

#btn-open-calendar {
    cursor: pointer;
    touch-action: manipulation;
    /* Optimiza el clic en móviles */
    position: relative;
    z-index: 10;
}

/* Círculo animado de carga (Loader) */
.loader {
    border: 4px solid var(--border-subtle);
    border-top: 4px solid var(--primary-500);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin-slow 1s linear infinite;
    margin: 20px auto 0;
}

/* -------- HERO -------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    z-index: 1;
    /* NUEVO FONDO */
    background-image: linear-gradient(rgba(11, 11, 11, 0.85), rgba(11, 11, 11, 0.95)), url('images/hero_bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* Hero Content */
.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    Letter-spacing: 0.05em;
    color: var(--primary-400);
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-500);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(44px, 5vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: clamp(16px, 1.5vw, 20px);
    color: var(--text-tertiary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-subtitle strong {
    color: var(--primary-400);
    font-weight: 600;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding: 20px 24px;
    background: rgba(var(--primary-rgb), 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    width: fit-content;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-400);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-500);
    margin-left: 2px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-quaternary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-subtle);
}

/* Hero CTAs */
.hero-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-glow);
    position: relative;
    z-index: 2;
    object-fit: cover;
    aspect-ratio: 1;
}

.hero-visual-glow {
    position: absolute;
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.4) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.hero-visual-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    pointer-events: none;
    z-index: 1;
}

.hero-visual-ring--1 {
    width: 520px;
    height: 520px;
    animation: spin-slow 20s linear infinite;
}

.hero-visual-ring--2 {
    width: 620px;
    height: 620px;
    border-style: dashed;
    animation: spin-slow 30s linear infinite reverse;
}

/* Floating tags */
.floating-tag {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(13, 13, 15, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: var(--radius-full);
    padding: 8px 14px;
    white-space: nowrap;
    z-index: 3;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.floating-tag--1 {
    top: 5%;
    right: -5%;
    animation: float-tag 4s ease-in-out infinite;
}

.floating-tag--2 {
    bottom: 25%;
    left: -8%;
    animation: float-tag 4s ease-in-out infinite 1.5s;
}

.floating-tag--3 {
    bottom: 5%;
    right: 0%;
    animation: float-tag 4s ease-in-out infinite 0.8s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 46px;
    border: 2px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 5px;
    height: 5px;
    background: var(--primary-500);
    border-radius: 50%;
    animation: scroll-bounce 2s ease-in-out infinite;
}

/* -------- SOCIAL PROOF -------- */
.social-proof {
    padding: 40px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    z-index: 1;
}

.social-proof-label {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-quaternary);
    margin-bottom: 20px;
}

.proof-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.proof-badge {
    padding: 10px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-tertiary);
    transition: var(--transition-base);
    cursor: default;
}

.proof-badge:hover {
    border-color: rgba(var(--primary-rgb), 0.4);
    color: var(--primary-400);
    background: rgba(var(--primary-rgb), 0.06);
    transform: translateY(-2px);
}

/* -------- SERVICES -------- */
.services {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
    /* NUEVO FONDO (Usando bg-secondary) */
    background-image: linear-gradient(rgba(23, 23, 23, 0.90), rgba(23, 23, 23, 0.98)), url('images/services_bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Flip Card */
.service-card-flip {
    perspective: 1200px;
    height: 380px;
    cursor: pointer;
}

.service-card-flip:focus-visible {
    outline: 2px solid var(--primary-500);
    outline-offset: 4px;
    border-radius: var(--radius-lg);
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-lg);
}

/* Esto permite que funcione con el mouse Y con el toque en móvil */
/* .service-card-flip:hover .service-card-inner,
.service-card-flip.is-flipped .service-card-inner {
    transform: rotateY(180deg);
} */

.service-card-front,
.service-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Front */
.service-card-front {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* .service-card-flip:hover .service-image {
    transform: scale(1.06);
} */

/* Estado inicial: Sin rotación */
.service-card-inner {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

/* LA ÚNICA REGLA QUE VOLTEA LA TARJETA */
.service-card-flip.is-flipped .service-card-inner {
    transform: rotateY(180deg);
}

/* Evitamos que el hover en móviles ensucie el efecto */
@media (hover: hover) {
    .service-card-flip:hover .service-card-inner {
        transform: rotateY(180deg);
    }
}

/* CSS Placeholders for missing service images */
.service-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: unset;
    position: relative;
}

.service-img-placeholder--food {
    background: linear-gradient(135deg, #1A1008 0%, #2A1C0E 50%, #3A2510 100%);
}

.service-img-placeholder--acc {
    background: linear-gradient(135deg, #0D0D1A 0%, #1A0D20 50%, #220D2A 100%);
}

.placeholder-icon {
    font-size: 80px;
    opacity: 0.4;
    filter: drop-shadow(0 0 20px rgba(var(--primary-rgb), 0.5));
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.service-icon-front {
    font-size: 28px;
    line-height: 1;
}

.service-title-front {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
}

/* Back */
.service-card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
    gap: 0;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
}

.service-back-icon {
    font-size: 36px;
    margin-bottom: 14px;
}

.service-title-back {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-description {
    font-size: 15px;
    color: var(--text-tertiary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(var(--primary-rgb), 0.12);
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    color: var(--primary-400);
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
    text-align: center;
}

/* -------- ABOUT -------- */
.about {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    /* Fallback */
    position: relative;
    z-index: 1;
    /* NUEVO FONDO (Igual que services o puedes usar otra imagen) */
    background-image: linear-gradient(rgba(23, 23, 23, 0.85), rgba(23, 23, 23, 0.95)), url('images/about_bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.4), transparent);
}

.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb), 0.4), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.about-img-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
}

.about-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.35) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
}

.about-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    border: 3px solid rgba(var(--primary-rgb), 0.4);
    box-shadow: var(--shadow-glow);
    padding: 20px;
    background: var(--bg-card);
    position: relative;
    z-index: 1;
}

.about-stats-card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 20px;
}

.about-mini-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mini-stat-number {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-400);
    line-height: 1.2;
}

.mini-stat-label {
    font-size: 12px;
    color: var(--text-quaternary);
    text-align: center;
    margin-top: 4px;
}

.about-mini-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
    flex-shrink: 0;
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-label {
    display: block;
    text-align: left;
}

.about-text {
    font-size: 16px;
    color: var(--text-tertiary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-text strong {
    color: var(--primary-400);
    font-weight: 600;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 28px 0 32px;
}

.about-value {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.value-icon {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.value-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.value-text {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* -------- TESTIMONIALS -------- */
.testimonials {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px;
}

.testimonial-stars {
    font-size: 16px;
    letter-spacing: 2px;
}

.testimonial-quote {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
    flex-grow: 1;
    quotes: "\201C" "\201D";
    position: relative;
    padding-left: 20px;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -8px;
    font-size: 48px;
    color: var(--primary-500);
    line-height: 1;
    font-style: normal;
    font-weight: 900;
    opacity: 0.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.author-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    font-size: 13px;
    color: var(--text-quaternary);
}

/* -------- CTA FINAL -------- */
.cta-section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
    text-align: center;
    background: var(--bg-secondary);
    /* Fallback */
    overflow: hidden;
    /* NUEVO FONDO */
    background-image: linear-gradient(rgba(11, 11, 11, 0.85), rgba(11, 11, 11, 0.92)), url('images/cta_bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-paw {
    font-size: 52px;
    display: block;
    margin-bottom: 20px;
    animation: float-paw 3s ease-in-out infinite;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.cta-subtitle {
    font-size: 18px;
    color: var(--text-tertiary);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-subtitle strong {
    color: var(--primary-400);
    font-weight: 600;
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.pulse-glow {
    animation: gradient-shift 4s ease infinite, pulse-glow 3s ease-in-out infinite !important;
}

/* Contact Cards */
.contact-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    text-align: left;
    border-radius: var(--radius-md);
    min-width: 200px;
}

.contact-card:hover {
    transform: translateY(-4px);
}

.contact-card-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.contact-card-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.contact-card-text {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* -------- FOOTER -------- */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    padding: 80px 0 32px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand {}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.footer-logo-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
}

.footer-tagline {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-500);
    margin-bottom: 14px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-quaternary);
    line-height: 1.8;
    max-width: 280px;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-quaternary);
    transition: var(--transition-base);
}

.social-link:hover {
    border-color: rgba(var(--primary-rgb), 0.5);
    color: var(--primary-400);
    background: rgba(var(--primary-rgb), 0.08);
    transform: translateY(-2px);
}

.footer-col-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    font-size: 14px;
    color: var(--text-quaternary);
    transition: var(--transition-fast);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--primary-400);
    padding-left: 4px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-quaternary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-quaternary);
}

.footer-badge {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-500);
    background: rgba(var(--primary-rgb), 0.08);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    padding: 6px 14px;
    border-radius: var(--radius-full);
}

/* -------- REVEAL ANIMATIONS -------- */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* -------- KEYFRAME ANIMATIONS -------- */

/* Entry animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}

.animate-scale-in {
    opacity: 0;
    transform: scale(0.9);
    animation: scale-in 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    will-change: transform, opacity;
}

.animate-fade-rotate {
    opacity: 0;
    transform: translateY(20px) rotate(-3deg);
    animation: fade-in-rotate 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fade-in-rotate {
    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

/* Loop animations */
.float-anim {
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-16px) rotate(1.5deg);
    }

    50% {
        transform: translateY(-8px) rotate(-1.5deg);
    }

    75% {
        transform: translateY(-24px) rotate(1deg);
    }
}

@keyframes float-tag {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes float-paw {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }

    25% {
        transform: translate(80px, -80px);
        opacity: 0.7;
    }

    50% {
        transform: translate(-40px, -160px);
        opacity: 0.5;
    }

    75% {
        transform: translate(-80px, -80px);
        opacity: 0.7;
    }
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(var(--primary-rgb), 0.5),
            0 4px 24px rgba(var(--primary-rgb), 0.4),
            0 0 60px rgba(var(--primary-rgb), 0.3);
    }

    50% {
        box-shadow:
            0 0 0 2px rgba(var(--primary-rgb), 0.8),
            0 8px 40px rgba(var(--primary-rgb), 0.6),
            0 0 80px rgba(var(--primary-rgb), 0.5);
    }
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

@keyframes scroll-bounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(12px);
        opacity: 0.3;
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* -------- RESPONSIVE -------- */

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    :root {
        --section-padding: 80px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-stats {
        margin: 0 auto 40px;
    }

    .hero-visual-ring--1 {
        width: 360px;
        height: 360px;
    }

    .hero-visual-ring--2 {
        width: 440px;
        height: 440px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-content .section-title,
    .about-content .section-label {
        text-align: center;
    }

    .about-visual {
        width: 100%;
        align-items: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile */
@media (max-width: 767px) {
    :root {
        --section-padding: 72px 0;
        --container-pad: 0 16px;
    }

    /* Navbar */
    .nav-links {
        display: none;
    }

    .nav-actions .btn-primary.btn-sm {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    /* Hero */
    .hero {
        padding: 100px 0 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
    }

    .hero-title {
        font-size: clamp(36px, 8vw, 48px);
    }

    .hero-subtitle {
        max-width: 100%;
        font-size: 16px;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
        margin: 0 auto 32px;
    }

    .stat-divider {
        width: 60%;
        height: 1px;
    }

    .hero-img {
        max-width: 280px;
    }

    .hero-visual-ring--1 {
        width: 300px;
        height: 300px;
    }

    .hero-visual-ring--2 {
        width: 360px;
        height: 360px;
    }

    .floating-tag {
        display: none;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card-flip {
        height: 340px;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content .section-title,
    .about-content .section-label {
        text-align: center;
    }

    .about-visual {
        align-items: center;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-actions .btn-primary,
    .cta-actions .btn-outline {
        justify-content: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Particles reduce on mobile */
    .particle:nth-child(n+20) {
        display: none;
    }
}

/* Desktop XL */
@media (min-width: 1440px) {
    :root {
        --container-max: 1360px;
    }

    .hero-title {
        font-size: 80px;
    }
}

.friendly-header {
    text-align: center;
    padding: 30px 20px 10px;
    position: relative;
}

.friendly-header h3 {
    color: var(--navy-blue);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.friendly-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: var(--navy-blue);
}

.friendly-body {
    padding: 20px 30px;
    flex-grow: 1;
}

/* --- Carrusel de Fechas --- */
.date-carousel-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.carousel-arrow {
    background: transparent;
    color: var(--navy-blue);
    font-size: 24px;
    font-weight: bold;
    padding: 5px 10px;
    transition: transform 0.2s;
}

.carousel-arrow:active {
    transform: scale(0.9);
}

.date-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 5px 0;
    scrollbar-width: none;
    /* Oculta scrollbar Firefox */
}

.date-carousel::-webkit-scrollbar {
    display: none;
}

/* Oculta scrollbar Chrome */

.date-card {
    min-width: 70px;
    padding: 10px;
    border-radius: 20px;
    border: 2px solid #E2E8F0;
    background: #F8FAFC;
    color: var(--navy-blue);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.date-card.selected {
    background: var(--navy-blue);
    color: white;
    border-color: var(--navy-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(29, 78, 137, 0.3);
}

.date-day {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.date-num {
    font-size: 22px;
    font-weight: 800;
}

/* --- Contenedor de Horarios --- */
#time-slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
}

.friendly-message {
    text-align: center;
    color: var(--navy-blue);
    opacity: 0.7;
    margin-top: 30px;
    font-weight: 500;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.time-slot-btn {
    /* Gradiente Champagne en vez de Naranja */
    background: linear-gradient(135deg, var(--primary-500), var(--primary-400));
    border: none;
    padding: 12px 0;
    border-radius: 14px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(203, 169, 110, 0.3);
}

/* Hover */
.time-slot-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(203, 169, 110, 0.5);
}

/* Activo */
.time-slot-btn.active {
    background: var(--primary-600);
    /* Color Taupe para la hora seleccionada */
    transform: scale(0.97);
}

/* --- Decoración Inferior --- */
.friendly-footer-decoration {
    position: relative;
    margin-top: 20px;
    height: 120px;
}

.decoration-arch {
    position: absolute;
    bottom: -50px;
    left: -10%;
    width: 120%;
    height: 150px;
    background-color: var(--coral);
    border-radius: 50% 50% 0 0;
    display: flex;
    justify-content: center;
    padding-top: 20px;
}

.decoration-arch span {
    color: white;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 2px;
}

.decoration-img-wrapper {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    border: 4px solid var(--coral);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    font-size: 40px;
    /* Para el emoji placeholder */
}

.friendly-header h3 {
    color: var(--navy);
    font-weight: 800;
    text-align: center;
    margin-top: 20px;
}

/* --- Formulario --- */
.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px 0;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14px;
}

.pet-options,
.options-grid {
    display: flex;
    gap: 10px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

.option-btn {
    background: #f0f4f8;
    border: 2px solid transparent;
    padding: 10px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    color: var(--navy);
}

.option-btn:hover {
    background: #e2e8f0;
}

.option-btn.active {
    background: var(--coral);
    color: white;
    border-color: var(--coral-dark);
}

.highlight-btn {
    background: var(--coral);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(203, 169, 110, 0.3);
}

/* --- Calendario y Horarios --- */
.date-card {
    min-width: 65px;
    padding: 10px;
    border-radius: 18px;
    border: 2px solid #edf2f7;
    text-align: center;
    cursor: pointer;
}

.date-card.selected {
    background: var(--navy-blue);
    color: white;
    border-color: var(--navy-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    /* Sombra genérica oscura, ya no azul */
}

.back-link {
    background: none;
    border: none;
    color: var(--navy);
    text-decoration: underline;
    margin-top: 15px;
    cursor: pointer;
    font-weight: 600;
}

/* Footer Decoration */
.friendly-footer-decoration {
    position: relative;
    height: 100px;
    margin-top: 20px;
}

.decoration-arch {
    position: absolute;
    bottom: -50px;
    left: -10%;
    width: 120%;
    height: 120px;
    background: var(--coral);
    border-radius: 50% 50% 0 0;
    display: flex;
    justify-content: center;
    padding-top: 15px;
    color: white;
    font-weight: 800;
}

.decoration-img-wrapper {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    border: 4px solid var(--coral);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.service-btn {
    transition: all 0.25s ease;
}

.contact-card-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
}

.contact-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 145, 77, 0.25);
}

.payment-title {

    text-align: center;
    color: #1E4E8C;
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.payment-options {

    display: flex;
    flex-direction: column;
    gap: 1rem;

    margin-bottom: 2rem;
}

.payment-option {
    background: #F4F7FB;
    border-radius: 16px;
    /* FIX: Reducción ligera de padding y box-sizing */
    padding: 1rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: 0.2s ease;
    width: 100%;
    /* Asegura que no se pase del contenedor padre */
}

.payment-option:hover {

    background: #E9F0FA;
}

.payment-option input {

    transform: scale(1.2);
}

.payment-option span {

    font-weight: 600;
    color: #1E4E8C;
}

.payment-actions {

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;

    margin-top: 2.5rem;
}

.payment-actions button {

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.08);
}

.payment-actions button:hover {

    transform: translateY(-2px);
}

.btn-back-payment {

    height: 58px;
    min-width: 140px;

    border-radius: 18px;

    border: 2px solid #D8E0EC;

    background: #FFFFFF;

    color: #1E4E8C;

    font-size: 1rem;
    font-weight: 700;

    cursor: pointer;

    transition: all 0.25s ease;
}

.btn-back-payment:hover {

    background: #F4F7FB;

    transform: translateY(-2px);
}

.payment-continue-btn {

    height: 58px;

    min-width: 180px;

    border-radius: 18px;

    font-size: 1.05rem;
    font-weight: 700;
}

.payment-label {

    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.payment-icon {

    width: 56px;
    height: auto;

    object-fit: contain;
}

.payment-option:has(input:checked) {
    border: 2px solid var(--primary-500);
    /* Borde Champagne */
    background: var(--primary-100);
    /* Fondo Marfil Claro */
}

/* =====================================================
   APPOINTMENT FORM (Datos de la Cita) - LIGHT THEME
   ===================================================== */

.appt-field:last-child {
    margin-bottom: 0;
}

/* Etiquetas de los inputs */
.appt-field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-800);
    margin-left: 4px;
}

/* Asterisco de campo obligatorio */
.appt-required {
    color: #E63946;
    /* Rojo suave para indicar que es obligatorio */
    font-weight: bold;
}

/* INPUTS: La corrección principal */
.appt-input {
    width: 100%;
    /* FIX: box-sizing */
    box-sizing: border-box;
    padding: 14px 16px;
    background-color: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    border-radius: 12px;
    color: #1E293B;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font-body, sans-serif);
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    /* Sombra muy sutil para dar volumen */
}

/* Texto de ejemplo (placeholder) */
.appt-input::placeholder {
    color: #94A3B8;
    font-weight: 400;
}

/* Estado Activo/Escribiendo (Focus) */
.appt-input:focus {
    border-color: var(--primary-500);
    /* Champagne */
    box-shadow: 0 0 0 4px rgba(203, 169, 110, 0.15);
    /* Resplandor Champagne */
    background-color: #FFFFFF;
}

/* Quitar flechas a inputs numéricos */
.appt-input[type="number"]::-webkit-outer-spin-button,
.appt-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.appt-input[type="number"] {
    -moz-appearance: textfield;
}

/* Resumen del Servicio Seleccionado */
.appt-service-display {
    font-size: 15px;
    color: #475569;
    padding: 12px 16px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #FFE4D6;
    display: inline-block;
}

.appt-service-display strong {
    color: #1D4E89;
    /* Resalta en azul marino */
    font-weight: 800;
    font-size: 16px;
    margin-left: 4px;
}

/* Responsivo para celulares muy pequeños */
@media (max-width: 480px) {
    .appt-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* =====================================================
   PÁGINA DE ESTADO DE PAGO (MERCADOPAGO)
   ===================================================== */
.status-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--bg-primary);
}

.status-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.status-card {
    text-align: center;
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: all 0.5s ease;
}

.status-icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-light);
    margin-bottom: 10px;
}

.status-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 5px;
}

.status-message {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.status-details {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 15px;
    width: 100%;
    font-size: 14px;
    color: var(--text-tertiary);
    border: 1px dashed var(--border-light);
}

.status-actions {
    margin-top: 15px;
    width: 100%;
}

.status-actions .btn-primary {
    width: 100%;
    justify-content: center;
}

/* --- Estados Dinámicos (Inyectados por JS) --- */

/* ÉXITO */
.status-success {
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.status-success .status-icon-wrapper {
    border-color: #22C55E;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.text-success {
    color: #22C55E;
}

/* RECHAZADO */
.status-failure {
    border-color: rgba(230, 57, 70, 0.4);
    box-shadow: 0 0 40px rgba(230, 57, 70, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.status-failure .status-icon-wrapper {
    border-color: #E63946;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.3);
}

.text-failure {
    color: #E63946;
}

/* PENDIENTE */
.status-pending {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.status-pending .status-icon-wrapper {
    border-color: #F59E0B;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.text-pending {
    color: #F59E0B;
}

.payment-option.is-disabled {
    opacity: 0.5;
    /* Lo hace ver "apagado" */
    /*[cite: 16]*/
    cursor: not-allowed;
    /* Cambia el cursor a prohibido */
    /*[cite: 16]*/
}

.payment-option.is-disabled * {
    pointer-events: none;
    /* Bloquea cualquier clic interno (sobre la imagen o el texto) */
    /*[cite: 16]*/
}

.checkbox-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    padding: 12px 15px;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.checkbox-item:has(input:checked) {
    border-color: var(--primary-500);
    background: #f0f9ff;
}

.checkbox-item input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-500);
}

.checkbox-info {
    display: flex;
    flex-direction: column;
}

.checkbox-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--navy);
}

.checkbox-price {
    font-size: 12px;
    color: #64748b;
}

.appt-mini-summary {
    background: #f1f5f9;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
}

/* Checkboxes de Servicios */
.checkbox-wrapper {
    margin-bottom: 8px;
}

.checkbox-label {
    width: 100%;
    text-align: left;
    padding: 12px 15px;
}

.checkbox-label input[type="checkbox"] {
    transform: scale(1.3);
    accent-color: var(--primary-500);
}

.checkbox-label small {
    font-weight: 400;
    opacity: 0.8;
}

/* =====================================================
   SELECCIÓN DE BARBEROS (Miniaturas)
   ===================================================== */
.barber-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.barber-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    padding: 12px 10px;
}

.barber-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    background-color: #FFFFFF;
    border: 2px solid #E2E8F0;
    transition: all 0.3s ease;
}

.barber-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    transition: color 0.3s ease;
}

/* Estado Activo */
.barber-btn.active .barber-img {
    border-color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
}

.barber-btn.active .barber-name {
    color: #FFFFFF;
}

/* =====================================================
   OVERRIDE: MODAL RESERVAS (DARK MODE CLASSIC LUXURY)
   ===================================================== */
/* Quitar borde fantasma/recuadro claro que envuelve el modal y el body interno */
.modal-content.friendly-modal {
    border: none !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8) !important;
    outline: none !important;
    /* Para forzar que el fondo no se despinte si hace rebote (bounce) en iOS */
    background-color: var(--bg-secondary) !important;
}

/* Remover posibles fondos blancos heredados al body interno del scroll */
.friendly-body {
    background-color: transparent !important;
    border: none !important;
}

/* ---------------------------------------------------
   SCROLLBAR INVISIBLE / PREMIUM
--------------------------------------------------- */
.friendly-modal::-webkit-scrollbar {
    width: 4px !important;
    /* Más delgado para que no parezca un borde */
    background-color: transparent !important;
}

.friendly-modal::-webkit-scrollbar-track {
    background: transparent !important;
    border-radius: 0px !important;
    box-shadow: none !important;
}

.friendly-modal::-webkit-scrollbar-thumb {
    /* Champagne semi-transparente para que no sea un bloque sólido */
    background-color: rgba(203, 169, 110, 0.25) !important;
    border-radius: 10px !important;
}

.friendly-modal::-webkit-scrollbar-thumb:hover {
    background-color: rgba(203, 169, 110, 0.5) !important;
}

/* 1. Fondo del Modal y Textos Base */
.friendly-modal {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-subtle) !important;
}

.friendly-header h3,
.payment-title,
.appt-form-section-title {
    color: var(--primary-500) !important;
}

.friendly-close {
    color: var(--text-muted) !important;
}

/* 2. Botones de Selección (Barberos y Servicios) */
.option-btn {
    background-color: var(--bg-tertiary) !important;
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-primary) !important;
}

.option-btn .barber-name {
    color: var(--text-primary) !important;
}

.option-btn .checkbox-label small {
    color: var(--text-muted) !important;
}

/* Estado .active para los botones de selección */
.option-btn.active {
    background-color: var(--primary-500) !important;
    border-color: var(--primary-500) !important;
    color: #000000 !important;
}

.option-btn.active .barber-name,
.option-btn.active .checkbox-label small {
    color: #000000 !important;
}

/* 3. Sección de Formulario (.appt-form-section) */
.appt-form-section {
    background-color: transparent !important;
    border: 1px solid var(--border-subtle) !important;
    /* FIX: Restauramos la estructura separada y bordes redondeados */
    padding: 20px !important;
    margin-bottom: 20px !important;
    border-radius: 16px !important;
}

.appt-field label {
    color: var(--text-secondary) !important;
}

/* 4. Inputs del Formulario (.appt-input) */
.appt-input {
    background-color: var(--bg-tertiary) !important;
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-primary) !important;
}

.appt-input:focus {
    background-color: var(--bg-tertiary) !important;
    border-color: var(--primary-500) !important;
    box-shadow: 0 0 0 4px rgba(203, 169, 110, 0.15) !important;
}

/* 5. Pantalla de Pago */
.payment-option {
    background-color: var(--bg-tertiary) !important;
    border: 1px solid var(--border-subtle) !important;
}

.payment-option span {
    color: var(--text-primary) !important;
}

.payment-option:has(input:checked) {
    background-color: rgba(203, 169, 110, 0.1) !important;
    border: 1px solid var(--primary-500) !important;
}

.appt-service-display {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-subtle) !important;
}

.appt-service-display strong {
    color: var(--primary-500) !important;
}

.btn-back-payment {
    background-color: transparent !important;
    color: var(--primary-500) !important;
    border: 1px solid var(--primary-500) !important;
}

.btn-back-payment:hover {
    background-color: rgba(203, 169, 110, 0.1) !important;
}

/* 6. Calendario (Carrusel y Slots) */
.date-card {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-subtle) !important;
}

.date-card.selected {
    background-color: var(--primary-500) !important;
    color: #000000 !important;
}

.carousel-arrow {
    color: var(--primary-500) !important;
}

.time-slot-btn.active {
    color: #000000 !important;
}

/* =====================================================
   TOP ANNOUNCEMENT BAR (CLASSIC LUXURY)
   ===================================================== */
.top-announcement {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-400) 100%);
    color: #000000;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.top-announcement-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.top-announcement-text {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.top-announcement-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.top-social-link {
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    opacity: 0.8;
}

.top-social-link:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* --- OVERRIDES CRÍTICOS PARA LA NAVBAR ORIGINAL --- */
.navbar {
    display: block !important;
    /* Destruye el flex horizontal global */
    padding: 0 !important;
    /* Quita el padding global para no afectar la barra top */
}

.nav-main-container {
    padding-top: 20px;
    padding-bottom: 20px;
    transition: var(--transition-base);
}

.navbar.scrolled .nav-main-container {
    padding-top: 12px;
    padding-bottom: 12px;
}

/* Ajuste de altura del Hero para que la nueva barra no lo tape */
.hero {
    padding-top: 160px !important;
}

/* Responsivo y Ajuste de Menú Móvil */
@media (max-width: 768px) {
    .top-announcement-inner {
        flex-direction: column;
        gap: 6px;
        padding: 4px 0;
    }

    .top-announcement-text {
        font-size: 11px;
        line-height: 1.3;
        letter-spacing: 0.01em;
    }

    .hero {
        padding-top: 150px !important;
    }

    /* Recalcular la caída del menú negro lateral para compensar el nuevo alto */
    .mobile-menu {
        top: 115px !important;
        height: calc(100vh - 115px) !important;
    }

    .navbar.scrolled .mobile-menu {
        top: 98px !important;
        height: calc(100vh - 98px) !important;
    }
}
/* =====================================================
   FIX: AJUSTE DE HEADER MÓVIL PARA TEXTO LARGO
   ===================================================== */
@media (max-width: 768px) {
    /* 1. Reducir el espacio global entre el logo y los botones */
    .nav-inner {
        gap: 8px !important;
    }

    /* 2. Achicar ligeramente el ícono del logo */
    .logo-img {
        width: 32px !important;
        height: 32px !important;
    }

    /* 3. Ajustar el texto "Coronado's Barbershop" para que quepa en una línea */
    .logo-text {
        font-size: 14px !important;
        letter-spacing: -0.03em !important;
        white-space: nowrap !important;
    }

    /* 4. Acercar el botón de reserva al menú de hamburguesa */
    .nav-actions {
        gap: 8px !important;
    }

    /* 5. Compactar el botón "Reservar Cita" apuntando a la clase correcta */
    .nav-actions .btn-primary {
        padding: 8px 12px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }
}