/* Variables CSS para diseño optimizado en confianza y accesibilidad */
:root {
    /* Colores principales (confianza y seguridad) */
    --primary-color: #4A90E2;      /* Azul Sereno - confianza y calma */
    --primary-light: #7BB3F0;      /* Azul Sereno claro */
    --primary-dark: #2E5B9E;       /* Azul Sereno oscuro */
    --mint-green: #6ECBAA;         /* Verde Menta - bienestar y salud */
    --mint-light: #8ED7C0;         /* Verde Menta claro */
    --mint-dark: #4FA889;          /* Verde Menta oscuro */
    
    /* Colores secundarios (calidez y cercanía) */
    --yellow-soft: #FFD66B;        /* Amarillo Suave - optimismo y cuidado */
    --coral-warm: #FF8573;         /* Coral Cálido - cercanía y amabilidad */
    --coral-light: #FF9F94;        /* Coral más claro */
    
    /* Colores de apoyo (claridad y contraste) */
    --text-dark: #4B4B4B;          /* Gris Grafito - textos principales */
    --text-medium: #6B6B6B;        /* Gris medio para subtítulos */
    --text-light: #8B8B8B;         /* Gris claro para textos secundarios */
    --background-white: #FFFFFF;
    --background-light: #F5F5F5;   /* Gris Claro - fondos limpios */
    --background-medium: #EEEEEE;  /* Gris medio para secciones */
    --border-color: #DCDCDC;       /* Bordes suaves */
    
    /* Estados modernos con nueva paleta */
    --success-color: #6ECBAA;      /* Verde Menta - éxito y disponibilidad */
    --warning-color: #FFD66B;      /* Amarillo Suave - advertencias cálidas */
    --danger-color: #FF8573;       /* Coral Cálido - errores amigables */
    --info-color: #4A90E2;         /* Azul Sereno - información confiable */
    
    /* Gradientes cálidos y confiables */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--mint-green) 100%);
    --gradient-warm: linear-gradient(135deg, var(--yellow-soft) 0%, var(--coral-warm) 100%);
    --gradient-mint: linear-gradient(135deg, var(--mint-green) 0%, var(--mint-light) 100%);
    --gradient-serene: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    /* Tipografía elegante */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    
    /* Shadow system para profundidad y elegancia */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Espaciado consistente */
    --spacing-xs: 0.25rem;    /* 4px */
    --spacing-sm: 0.5rem;     /* 8px */
    --spacing-base: 1rem;     /* 16px */
    --spacing-lg: 1.5rem;     /* 24px */
    --spacing-xl: 2rem;       /* 32px */
    --spacing-2xl: 3rem;      /* 48px */
    --spacing-3xl: 4rem;      /* 64px */
    
    /* Border radius moderno */
    --radius-sm: 4px;
    --radius-base: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Transiciones suaves */
    --transition-fast: 0.15s ease-out;
    --transition-base: 0.25s ease-out;
    --transition-slow: 0.35s ease-out;
    
    /* Z-index system */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* Profile Setup Styles */
.profile-setup {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl) 0;
}

.setup-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.setup-header .page-title {
    color: var(--primary-color);
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-base);
}

.setup-subtitle {
    color: var(--text-medium);
    font-size: var(--font-size-lg);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.setup-progress {
    margin-bottom: var(--spacing-2xl);
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: var(--background-medium);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
}

.progress-steps {
    display: flex;
    justify-content: center;
    gap: var(--spacing-2xl);
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    opacity: 0.6;
    transition: all var(--transition-base);
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: var(--background-medium);
    color: var(--text-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: all var(--transition-base);
}

.step.active .step-number {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.step span {
    font-size: var(--font-size-sm);
    color: var(--text-medium);
    font-weight: 500;
    text-align: center;
}

.step.active span {
    color: var(--primary-color);
    font-weight: 600;
}

.setup-form {
    position: relative;
}

.form-step {
    display: none;
    animation: fadeInUp 0.4s ease-out;
}

.form-step.active {
    display: block;
}

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

.form-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
}

.card-header {
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-xl);
    text-align: center;
}

.card-header h3 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.card-header p {
    opacity: 0.9;
    font-size: var(--font-size-base);
    line-height: 1.5;
}

.form-section {
    padding: var(--spacing-xl);
}

.form-section h4 {
    color: var(--text-dark);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--background-medium);
}

.avatar-upload {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.avatar-preview {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 120px;
    border-radius: var(--radius-full);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 4px solid var(--background-medium);
}

.avatar-preview:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: var(--spacing-sm);
    font-size: var(--font-size-xs);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.avatar-preview:hover .avatar-overlay {
    transform: translateY(0);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--spacing-base);
    }
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    font-weight: 500;
    font-size: var(--font-size-sm);
}

.form-input {
    width: 100%;
    padding: var(--spacing-base);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-base);
    font-size: var(--font-size-base);
    color: var(--text-dark);
    background-color: white;
    transition: all var(--transition-base);
    font-family: var(--font-primary);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    transform: translateY(-1px);
}

.form-input::placeholder {
    color: var(--text-light);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.service-preferences {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-base);
    margin-bottom: var(--spacing-xl);
}

.preference-card {
    position: relative;
}

.preference-card input[type="checkbox"] {
    display: none;
}

.preference-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-base);
    padding: var(--spacing-lg);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    background: white;
}

.preference-label:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.preference-card input[type="checkbox"]:checked + .preference-label {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05) 0%, rgba(110, 203, 170, 0.05) 100%);
}

.preference-icon {
    font-size: var(--font-size-2xl);
    flex-shrink: 0;
}

.preference-info h5 {
    color: var(--text-dark);
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.preference-info p {
    color: var(--text-medium);
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

.time-preferences {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-base);
    margin-bottom: var(--spacing-xl);
}

.time-slot {
    display: flex;
    align-items: center;
    gap: var(--spacing-base);
}

.time-slot input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.time-slot label {
    color: var(--text-dark);
    font-size: var(--font-size-base);
    cursor: pointer;
}

.contact-section {
    background: var(--background-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
}

.contact-section h4 {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    border: none;
    padding: 0;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xl);
    background: var(--background-light);
    border-radius: var(--radius-lg);
    gap: var(--spacing-base);
}

@media (max-width: 768px) {
    .form-navigation {
        flex-direction: column;
        gap: var(--spacing-base);
    }
    
    .form-navigation button {
        width: 100%;
    }
}

.profile-view {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl) 0;
    
    /* Espaciado moderno */
    --spacing-xs: 0.25rem;       /* 4px */
    --spacing-sm: 0.5rem;        /* 8px */
    --spacing-md: 1rem;          /* 16px */
    --spacing-lg: 1.5rem;        /* 24px */
    --spacing-xl: 2rem;          /* 32px */
    --spacing-2xl: 3rem;         /* 48px */
    --spacing-3xl: 4rem;         /* 64px */
    --spacing-4xl: 5rem;         /* 80px */
    
    /* Bordes y sombras elegantes */
    --border-radius-sm: 0.5rem;     /* 8px */
    --border-radius-md: 0.75rem;    /* 12px */
    --border-radius-lg: 1rem;       /* 16px */
    --border-radius-xl: 1.25rem;    /* 20px */
    --border-radius-2xl: 1.5rem;    /* 24px */
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.37);
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease-out;
}

.modal-content {
    background-color: var(--background-white);
    border-radius: 20px;
    padding: 0;
    box-shadow: var(--shadow-2xl);
    width: 90%;
    max-width: 400px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
    padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-dark);
}

.close {
    color: var(--text-light);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    background: none;
    border: none;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--text-dark);
}

.modal-body {
    padding: var(--spacing-lg) var(--spacing-xl) var(--spacing-xl);
}

.form-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.form-actions button {
    flex: 1;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Contenedor principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Header moderno */
.header {
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-xl) 0;
    box-shadow: var(--shadow-glass);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.nav-brand {
    text-align: left;
}

.logo {
    font-family: 'Space Grotesk', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: var(--spacing-xs);
    letter-spacing: -2px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 40%, #E2E8F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    position: relative;
    display: inline-block;
    transform: perspective(500px) rotateX(15deg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.logo:hover {
    transform: perspective(500px) rotateX(0deg) scale(1.05);
}

.logo:hover::after {
    opacity: 1;
}

.tagline {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: var(--font-size-sm);
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-xl);
    font-size: var(--font-size-base);
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 48px;
    min-width: 110px;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    /* Efecto 3D suave para navegación */
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-btn::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    border-radius: var(--radius-lg);
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.12),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
}

.nav-btn.active {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(255, 255, 255, 0.3),
        0 4px 10px rgba(255, 255, 255, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.9),
        inset 0 -2px 0 rgba(74, 144, 226, 0.2);
}

/* Contenido principal */
.main-content {
    min-height: calc(100vh - 160px);
    padding: var(--spacing-4xl) 0;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.page-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-4xl);
    text-align: center;
    line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sección hero moderna */
.hero-section {
    margin-bottom: var(--spacing-4xl);
}

.hero-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-medium);
    text-align: center;
    margin-bottom: var(--spacing-4xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.7;
}

/* Servicios rápidos con glassmorphism */
.quick-services {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    padding: var(--spacing-4xl);
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-glass);
    margin-bottom: var(--spacing-4xl);
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    overflow: hidden;
}

.quick-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

.quick-services h3 {
    font-family: var(--font-primary);
    font-size: var(--font-size-3xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-2xl);
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
}

.service-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl);
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    position: relative;
    overflow: hidden;
    /* Efecto 3D elevado para tarjetas de servicio */
    box-shadow: 
        0 8px 16px rgba(255, 255, 255, 0.15),
        0 4px 8px rgba(255, 255, 255, 0.12),
        inset 0 2px 0 rgba(255, 255, 255, 0.7),
        inset 0 -2px 0 rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-warm);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    border-radius: var(--radius-xl);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 
        0 24px 48px rgba(255, 215, 107, 0.2),
        0 12px 24px rgba(255, 133, 115, 0.15),
        inset 0 3px 0 rgba(255, 255, 255, 0.8),
        inset 0 -3px 0 rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    filter: brightness(1.1) saturate(1.2);
}

.service-card:hover .service-icon,
.service-card:hover span {
    color: white;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-sm);
    transition: all 0.3s ease;
}

.service-icon.large {
    font-size: var(--font-size-5xl);
}

.service-card span {
    font-family: var(--font-primary);
    font-size: var(--font-size-lg);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Mapa con diseño moderno */
.map-section {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    padding: var(--spacing-4xl);
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-glass);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.map-section h3 {
    font-family: var(--font-primary);
    font-size: var(--font-size-3xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-2xl);
    text-align: center;
}

.map-container {
    height: 450px;
    border-radius: var(--border-radius-xl);
    margin-bottom: var(--spacing-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-controls {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* Botones modernos con efectos 3D y relieve alto */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: var(--spacing-lg) var(--spacing-2xl);
    border-radius: var(--radius-xl);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 52px;
    min-width: 160px;
    position: relative;
    overflow: hidden;
    /* Efecto 3D con relieve alto */
    box-shadow: 
        0 8px 16px rgba(74, 144, 226, 0.3),
        0 4px 8px rgba(74, 144, 226, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    background: linear-gradient(145deg, 
        var(--primary-color) 0%, 
        var(--primary-dark) 50%, 
        var(--primary-color) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    border-radius: var(--radius-lg);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 
        0 16px 32px rgba(74, 144, 226, 0.4),
        0 8px 16px rgba(74, 144, 226, 0.3),
        inset 0 3px 0 rgba(255, 255, 255, 0.4),
        inset 0 -3px 0 rgba(0, 0, 0, 0.15);
    filter: brightness(1.15) saturate(1.1);
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 
        0 4px 8px rgba(74, 144, 226, 0.3),
        0 2px 4px rgba(74, 144, 226, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    filter: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: var(--spacing-lg) var(--spacing-2xl);
    border-radius: var(--radius-xl);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 52px;
    min-width: 160px;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    /* Efecto 3D con relieve alto para botón secundario */
    box-shadow: 
        0 6px 12px rgba(74, 144, 226, 0.2),
        0 3px 6px rgba(74, 144, 226, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.8),
        inset 0 -2px 0 rgba(74, 144, 226, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    border-bottom: 2px solid var(--primary-color);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9), transparent);
    border-radius: var(--radius-lg);
}

.btn-secondary:hover::before {
    opacity: 1;
}

.btn-secondary:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-6px) scale(1.03);
    box-shadow: 
        0 14px 28px rgba(74, 144, 226, 0.3),
        0 7px 14px rgba(74, 144, 226, 0.25),
        inset 0 3px 0 rgba(255, 255, 255, 0.4),
        inset 0 -3px 0 rgba(0, 0, 0, 0.15);
    filter: brightness(1.1) saturate(1.05);
}

.btn-secondary span {
    position: relative;
    z-index: 1;
}

/* Servicios detallados con tarjetas premium */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-2xl);
}

.service-detail-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-2xl);
    padding: var(--spacing-4xl);
    box-shadow: var(--shadow-glass);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-warm);
}

.service-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(255, 255, 255, 0.4);
}

.service-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.service-header h3 {
    font-family: var(--font-primary);
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-top: var(--spacing-lg);
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-2xl);
    space-y: var(--spacing-sm);
}

.service-features li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-2xl);
    position: relative;
    color: var(--text-medium);
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.service-features li::before {
    content: '✨';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: var(--font-size-lg);
    font-weight: bold;
}

.service-price {
    font-family: var(--font-primary);
    font-size: var(--font-size-3xl);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

/* Filtros modernos */
.filter-section {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-glass);
    margin-bottom: var(--spacing-2xl);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.filter-controls {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.filter-select {
    padding: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-base);
    font-family: var(--font-primary);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    min-width: 200px;
    min-height: 52px;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* Tarjetas de acompañantes premium */
.companions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: var(--spacing-2xl);
}

.companion-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-2xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-glass);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.companion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-warm);
}

.companion-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(255, 255, 255, 0.4);
}

.companion-avatar {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.companion-avatar img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.companion-info h3 {
    font-family: var(--font-primary);
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.companion-rating {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.stars {
    font-size: var(--font-size-lg);
    margin-right: var(--spacing-sm);
}

.rating-text {
    color: var(--text-medium);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.companion-bio {
    color: var(--text-medium);
    margin-bottom: var(--spacing-lg);
    text-align: center;
    line-height: 1.6;
    font-size: var(--font-size-sm);
}

.companion-specialties {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.specialty-tag {
    background: rgba(74, 144, 226, 0.1);
    color: var(--primary-color);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-xs);
    font-weight: 600;
    border: 1px solid rgba(74, 144, 226, 0.2);
    backdrop-filter: blur(10px);
}

.companion-availability {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-md) 0;
}

.availability-status {
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.availability-status.available {
    background: rgba(110, 203, 170, 0.15);
    color: var(--success-color);
    border: 1px solid rgba(110, 203, 170, 0.3);
}

.availability-status.busy {
    background: rgba(255, 214, 107, 0.15);
    color: var(--warning-color);
    border: 1px solid rgba(255, 214, 107, 0.3);
}

.distance {
    color: var(--text-medium);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.companion-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

.companion-actions .btn-primary,
.companion-actions .btn-secondary {
    flex: 1;
    min-width: auto;
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-sm);
}

/* Sección de registro para acompañantes */
.register-companion-section {
    margin-top: var(--spacing-4xl);
    padding-top: var(--spacing-3xl);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.register-companion-card {
    background: var(--gradient-warm);
    color: white;
    padding: var(--spacing-3xl);
    border-radius: var(--border-radius-2xl);
    text-align: center;
    box-shadow: var(--shadow-glass);
    position: relative;
    overflow: hidden;
}

.register-companion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-size: 20px 20px;
    animation: shimmer 3s infinite linear;
    opacity: 0.3;
}

@keyframes shimmer {
    0% { transform: translateX(-20px) translateY(-20px); }
    100% { transform: translateX(20px) translateY(20px); }
}

.register-companion-card h3 {
    font-family: var(--font-primary);
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.register-companion-card p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2xl);
    opacity: 0.95;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.register-companion-card .btn-primary {
    background: white;
    color: var(--coral-warm);
    border: none;
    position: relative;
    z-index: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.register-companion-card .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px) scale(1.05);
}

/* Perfil con diseño elegante */
.profile-sections {
    max-width: 900px;
    margin: 0 auto;
}

.profile-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-2xl);
    padding: var(--spacing-3xl);
    box-shadow: var(--shadow-glass);
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-3xl);
}

.profile-avatar {
    margin-right: var(--spacing-xl);
}

.profile-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.profile-info h3 {
    font-family: var(--font-primary);
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.profile-info p {
    color: var(--text-medium);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-base);
}

.profile-section {
    margin-bottom: var(--spacing-3xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.profile-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.profile-section h4 {
    font-family: var(--font-primary);
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.info-item {
    margin-bottom: var(--spacing-md);
}

.info-item label {
    display: block;
    color: var(--text-medium);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-xs);
}

.info-item span {
    font-weight: 500;
    color: var(--text-dark);
}

.preferences {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.preference-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.preference-item input[type="checkbox"] {
    margin-right: var(--spacing-sm);
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.service-history {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.history-item {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease;
}

.history-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.history-info h5 {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.history-info p {
    color: var(--text-medium);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-xs);
}

.history-date {
    color: var(--text-light);
    font-size: var(--font-size-xs);
}

.profile-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-start;
    margin-top: var(--spacing-2xl);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    overflow-y: auto;
    padding: var(--spacing-md);
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-2xl);
    width: 100%;
    max-width: 650px;
    margin: var(--spacing-4xl) auto;
    position: relative;
    overflow: hidden;
    animation: modalFade 0.3s ease-out;
}

@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-xl) var(--spacing-2xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-family: var(--font-primary);
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: var(--spacing-2xl);
}

/* Form styles */
.form-group {
    margin-bottom: var(--spacing-xl);
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-size: var(--font-size-base);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

.form-input {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    font-family: var(--font-secondary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.textarea {
    min-height: 100px;
    resize: vertical;
}

.payment-options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
}

.payment-method {
    display: flex;
    align-items: center;
}

.payment-method input[type="radio"] {
    margin-right: var(--spacing-sm);
    accent-color: var(--primary-color);
}

.booking-summary {
    background: var(--background-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-xl);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: var(--text-dark);
    font-size: var(--font-size-lg);
}

.cost-amount {
    color: var(--primary-color);
}

.booking-actions {
    display: flex;
    gap: var(--spacing-md);
}

/* Chat modal styles */
.chat-content {
    max-width: 500px;
    height: 600px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: var(--gradient-primary);
    color: white;
    padding: var(--spacing-lg) var(--spacing-2xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
}

.chat-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: var(--spacing-md);
    border: 2px solid white;
}

.status-indicator {
    font-size: var(--font-size-xs);
    display: inline-flex;
    align-items: center;
}

.status-indicator.online::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    margin-right: var(--spacing-xs);
}

.chat-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: calc(100% - 90px);
}

.chat-messages {
    flex-grow: 1;
    padding: var(--spacing-md);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.message {
    max-width: 80%;
    display: flex;
}

.message-content {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    position: relative;
}

.message-content p {
    margin: 0;
    line-height: 1.5;
}

.message-time {
    font-size: var(--font-size-xs);
    opacity: 0.7;
    margin-top: var(--spacing-xs);
    display: block;
    text-align: right;
}

.message.sent {
    align-self: flex-end;
}

.message.sent .message-content {
    background: var(--gradient-primary);
    color: white;
    border-bottom-right-radius: 0;
}

.message.received {
    align-self: flex-start;
}

.message.received .message-content {
    background: var(--background-light);
    color: var(--text-dark);
    border-bottom-left-radius: 0;
}

.chat-input {
    display: flex;
    padding: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.chat-input input {
    flex-grow: 1;
    padding: var(--spacing-md) var(--spacing-lg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-base);
    margin-right: var(--spacing-sm);
}

.chat-input input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.chat-input button {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md) var(--spacing-xl);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-input button:hover {
    filter: brightness(1.1);
}

/* Loading overlay */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.loading-overlay.active {
    display: flex;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s infinite linear;
    margin-bottom: var(--spacing-lg);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay p {
    color: white;
    font-size: var(--font-size-lg);
    font-weight: 500;
}

/* Notifications */
.notifications-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    background: white;
    border-left: 5px solid;
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease-out;
    display: flex;
    align-items: center;
    max-width: 350px;
}

.notification.success {
    border-left-color: var(--success-color);
}

.notification.info {
    border-left-color: var(--info-color);
}

.notification.warning {
    border-left-color: var(--warning-color);
}

.notification.error {
    border-left-color: var(--danger-color);
}

.notification-message {
    margin-left: var(--spacing-md);
    flex-grow: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Estilo para la sección de registro */
.register-section {
    max-width: 900px;
    margin: 0 auto;
}

.register-intro {
    font-size: var(--font-size-lg);
    color: var(--text-medium);
    text-align: center;
    margin-bottom: var(--spacing-3xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.form-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-2xl);
    padding: var(--spacing-3xl);
    box-shadow: var(--shadow-glass);
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.form-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-3xl);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--spacing-3xl);
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-sm);
}

.checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.checkbox-item input[type="checkbox"] {
    margin-right: var(--spacing-sm);
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.form-actions {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-3xl);
    flex-wrap: wrap;
    justify-content: center;
}

/* Success modal */
.success-content {
    max-width: 550px;
}

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

.success-icon {
    font-size: 64px;
    margin: var(--spacing-xl) 0;
    color: var(--success-color);
}

.success-details {
    background: var(--background-light);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    text-align: left;
}

/* Responsive design */
@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2.25rem; /* 36px */
        --font-size-4xl: 2rem; /* 32px */
        --font-size-3xl: 1.5rem; /* 24px */
    }
    
    .header .container {
        flex-direction: column;
    }
    
    .nav-menu {
        width: 100%;
        overflow-x: auto;
        justify-content: space-between;
        padding-bottom: var(--spacing-sm);
    }
    
    .nav-btn {
        min-width: auto;
        font-size: var(--font-size-sm);
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-avatar {
        margin-right: 0;
        margin-bottom: var(--spacing-xl);
    }
    
    .companion-actions .btn-primary,
    .companion-actions .btn-secondary {
        min-width: 0;
    }
    
    .booking-actions {
        flex-direction: column;
    }
    
    .payment-options {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}/* Profile Customization Form Styles */
.profile-form-container {
    max-width: 800px;
    margin: 0 auto var(--spacing-3xl, 2rem);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.form-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

.profile-form {
    padding: 2rem;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: #34495e;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.preferences-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preference-group label {
    color: #34495e;
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: block;
}

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

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.checkbox-item:hover {
    background-color: rgba(102, 126, 234, 0.05);
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #667eea;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
    background-color: #667eea;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #f8f9fa;
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.btn-secondary:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.profile-summary {
    margin-top: 3rem;
}

.profile-summary h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .profile-form-container {
        margin: 0 1rem 2rem;
    }
}
