/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Prevenir overflow horizontal en toda la página */
html {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    /* iOS Safari specific fixes */
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    position: relative;
    /* iOS Safari specific fixes */
    -webkit-overflow-scrolling: touch;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Asegurar que todos los elementos respeten el ancho de la pantalla */
* {
    max-width: 100%;
    box-sizing: border-box;
}

/* Prevenir elementos que se salgan */
section, div, form, input, textarea, select {
    max-width: 100%;
    box-sizing: border-box;
}

/* Prevenir desbordamiento en móviles */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
    max-width: 100%;
}

:root {
    /* Colors */
    --primary-color: #8B5CF6;
    --primary-dark: #7C3AED;
    --primary-light: #A78BFA;
    --secondary-color: #F59E0B;
    --accent-color: #EF4444;
    --gold-color: #FCD34D;
    --dark-bg: #0F0F23;
    --dark-secondary: #1A1A2E;
    --dark-tertiary: #16213E;
    --text-primary: #FFFFFF;
    --text-secondary: #E5E7EB;
    --text-muted: #9CA3AF;
    --border-color: rgba(139, 92, 246, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 50%, #6366F1 100%);
    --gradient-secondary: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    --gradient-cosmic: linear-gradient(135deg, #0F0F23 0%, #1A1A2E 50%, #16213E 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.3);
    --shadow-glow-strong: 0 0 40px rgba(139, 92, 246, 0.5);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Cinzel', serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
}

body {
    font-family: var(--font-primary);
    background: var(--gradient-cosmic);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    height: auto;
    overflow-y: auto;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    height: auto;
    min-height: auto;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-cosmic);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
    /* iOS Safari specific fixes */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
    /* Ensure full coverage on iOS */
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

.loading-content {
    text-align: center;
    animation: pulse 2s infinite;
}

.mystical-symbol {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.loading-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-family: var(--font-display);
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(15, 15, 35, 0.95);
    box-shadow: var(--shadow-lg);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
}

.brand-icon {
    font-size: 2rem;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px var(--primary-color); }
    to { text-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--primary-color); }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: all var(--transition-normal);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== BANNER DE URGENCIA ===== */
.urgency-banner {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 50%, #B91C1C 100%);
    padding: 18px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
    animation: urgencyPulse 3s ease-in-out infinite;
    z-index: 1000;
    width: 100%;
    display: block;
}

.urgency-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: urgencyShine 4s ease-in-out infinite;
}

.urgency-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    min-height: 60px;
}

.urgency-icon {
    font-size: 2rem;
    animation: urgencyBounce 1.5s ease-in-out infinite;
}

.urgency-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 200px;
}

.urgency-main {
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.urgency-sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}

.urgency-timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.25);
    padding: 10px 18px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    white-space: nowrap;
    flex-shrink: 0;
}

.timer-text, .timer-label {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.timer-count {
    background: white;
    color: #EF4444;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 800;
    font-size: 1.1rem;
    min-width: 30px;
    text-align: center;
    animation: urgencyCountPulse 2s ease-in-out infinite;
}

.urgency-btn {
    background: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.urgency-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes urgencyPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(239, 68, 68, 0.5); }
}

@keyframes urgencyShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes urgencyBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes urgencyCountPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: auto;
    height: auto;
    position: relative;
    display: flex;
    align-items: center;
    overflow: visible;
    padding-top: 70px;
    padding-bottom: 4rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cosmic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(239, 68, 68, 0.2) 0%, transparent 50%);
    animation: cosmicShift 20s ease-in-out infinite;
}

@keyframes cosmicShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mystical-orb {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
    animation: float 6s ease-in-out infinite;
}

.orb-1 { top: 20%; left: 10%; animation-delay: 0s; }
.orb-2 { top: 60%; left: 80%; animation-delay: 1s; }
.orb-3 { top: 80%; left: 20%; animation-delay: 2s; }
.orb-4 { top: 30%; left: 70%; animation-delay: 3s; }
.orb-5 { top: 50%; left: 50%; animation-delay: 4s; }

.energy-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wave {
    position: absolute;
    border: 2px solid rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    animation: wave 4s ease-in-out infinite;
}

.wave-1 { width: 200px; height: 200px; animation-delay: 0s; }
.wave-2 { width: 400px; height: 400px; animation-delay: 1s; }
.wave-3 { width: 600px; height: 600px; animation-delay: 2s; }

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

.hero-content {
    width: 100%;
    z-index: 1;
}

.hero-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gold-color);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.feature i {
    color: var(--primary-color);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: white;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-strong);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text-primary);
    padding: 16px 32px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    animation: slideInRight 1s ease-out;
}

.mystical-circle {
    position: relative;
    width: 400px;
    height: 400px;
}

.circle-outer,
.circle-middle,
.circle-inner {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
}

.circle-outer {
    width: 100%;
    height: 100%;
    border-color: rgba(139, 92, 246, 0.3);
    animation: rotate 20s linear infinite;
}

.circle-middle {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-color: rgba(245, 158, 11, 0.4);
    animation: rotate 15s linear infinite reverse;
}

.circle-inner {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-color: rgba(239, 68, 68, 0.5);
    animation: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.master-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: var(--shadow-glow);
    overflow: hidden;
    animation: none !important;
    transform: none !important;
}

.master-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    animation: none !important;
    transform: none !important;
}

.avatar-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

.floating-symbols {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.symbol {
    position: absolute;
    font-size: 1.5rem;
    animation: float 4s ease-in-out infinite;
}

.symbol-1 { top: 10%; left: 20%; animation-delay: 0s; }
.symbol-2 { top: 20%; right: 10%; animation-delay: 0.5s; }
.symbol-3 { bottom: 20%; left: 10%; animation-delay: 1s; }
.symbol-4 { bottom: 10%; right: 20%; animation-delay: 1.5s; }
.symbol-5 { top: 50%; left: 5%; animation-delay: 2s; }
.symbol-6 { top: 50%; right: 5%; animation-delay: 2.5s; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    animation: slideInUp 1s ease-out 0.5s both;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-display);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ===== ANIMATIONS ===== */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

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

/* ===== SECTIONS ===== */
.services, .testimonials, .gallery, .contact {
    padding: 4rem 0;
    position: relative;
    min-height: auto;
    height: auto;
    overflow: visible;
    padding-bottom: 4rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    z-index: 1;
    transform: none !important;
}

/* Disable animations for contact section */
.contact,
.contact *,
.contact-card,
.contact-content,
.contact-methods,
.contact-form-container {
    animation: none !important;
    transform: none !important;
    transition: none !important;
    position: static !important;
    will-change: auto !important;
}

/* Ensure contact section stays in normal document flow */
.contact {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    padding: 4rem 0 !important;
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gold-color);
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

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

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.service-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.service-card.featured::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-content {
    margin-bottom: 2rem;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.service-features i {
    color: var(--primary-color);
    font-size: 0.8rem;
}



.service-cta {
    margin-top: auto;
}

.btn-service {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.btn-service:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: rgba(0, 0, 0, 0.2);
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.testimonial-card {
    display: none;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    backdrop-filter: blur(10px);
    text-align: center;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

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

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 1.5rem;
}

.testimonial-stars i {
    color: var(--gold-color);
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

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

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.testimonial-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.testimonial-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.testimonials-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.dot.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

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

.gallery-item {
    aspect-ratio: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

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

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.gallery-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
}

.gallery-placeholder span {
    font-weight: 600;
    text-align: center;
}

/* ===== CONTACT ===== */
.contact-background {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.95) 0%, rgba(26, 26, 46, 0.95) 100%);
    overflow: visible;
    min-height: auto;
    padding-bottom: 4rem;
    padding-top: 2rem;
    height: auto;
}

.contact-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238b5cf6' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
    min-height: auto;
    height: auto;
    overflow: visible;
}

.contact-methods {
    display: grid;
    gap: 2rem;
}

.contact-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(15, 15, 35, 0.8) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(15px);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
    transition: left 0.5s;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.6);
}

.contact-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.contact-details h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    font-weight: 700;
}

.contact-details p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 0.5rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--border-radius);
    flex: 1;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.contact-form-container {
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.9) 0%, rgba(26, 26, 46, 0.9) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: visible;
    min-height: auto;
    height: auto;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.form-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.form-header h3 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.form-subtitle {
    color: var(--text-primary);
    font-size: 1.1rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.form-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: rgba(139, 92, 246, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Form Instructions */
.form-instructions {
    margin: 2rem 0;
    position: relative;
    z-index: 2;
}

.instruction-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(15, 15, 35, 0.9) 100%);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.instruction-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.instruction-content h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.instruction-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.instruction-content li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 0;
    font-size: 0.95rem;
}

/* Form Sections */
.form-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: var(--border-radius-lg);
    position: relative;
}

.section-title {
        color: var(--text-primary);
        font-size: 1.2rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding-bottom: 0.8rem;
        border-bottom: 2px solid rgba(139, 92, 246, 0.2);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        flex-wrap: wrap;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.3;
    }

.section-title i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* Field Help */
.field-help {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
    font-style: italic;
    opacity: 0.8;
}

/* Textarea Container */
.textarea-container {
    position: relative;
}

.character-counter {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: rgba(15, 15, 35, 0.8);
    padding: 2px 6px;
    border-radius: 4px;
    pointer-events: none;
}

/* Form Confirmation */
.form-confirmation {
    margin-bottom: 2rem;
}

.confirmation-checklist {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 0.8rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all var(--transition-normal);
}

.checkbox-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

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

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.checkbox-text {
    flex: 1;
}

/* Submit Note */
.submit-note {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-note i {
    color: var(--primary-color);
}

.contact-form {
    display: grid;
    gap: 2rem;
    position: relative;
    z-index: 2;
    width: 100%;
    overflow: visible;
    min-height: auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    gap: 0.8rem;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.form-group label i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius);
    padding: 16px 20px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

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

/* Estilos específicos para el select con mejor compatibilidad */
.form-group select {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2), 0 0 20px rgba(139, 92, 246, 0.3);
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

/* Estilos específicos para las opciones del select con mejor compatibilidad */
.form-group select option {
    background-color: #1a1a2e !important;
    color: #ffffff !important;
    padding: 8px 12px;
    border: none;
}

.form-group select option:hover,
.form-group select option:focus {
    background-color: #8b5cf6 !important;
    color: #ffffff !important;
}

.form-group select option:checked,
.form-group select option:selected {
    background-color: #8b5cf6 !important;
    color: #ffffff !important;
}

/* Estilos específicos para WebKit (Chrome, Safari) */
.form-group select::-webkit-scrollbar {
    width: 8px;
}

.form-group select::-webkit-scrollbar-track {
    background: #1a1a2e;
}

.form-group select::-webkit-scrollbar-thumb {
    background: #8b5cf6;
    border-radius: 4px;
}

/* Estilos para Firefox */
@-moz-document url-prefix() {
    .form-group select {
        background-color: #1a1a2e !important;
        color: #ffffff !important;
    }
    
    .form-group select option {
        background-color: #1a1a2e !important;
        color: #ffffff !important;
    }
}

.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    position: relative;
    z-index: 2;
}

.privacy-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.privacy-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--gradient-primary);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit::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.5s;
}

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

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.5);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.trust-item {
    text-align: center;
    color: var(--text-secondary);
}

.trust-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.trust-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive Design para Contact */
@media (max-width: 768px) {
    /* Asegurar que no haya desbordamiento */
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 10px;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .contact {
        padding: 2rem 0.5rem;
        padding-bottom: 4rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        overflow-y: visible;
        box-sizing: border-box;
    }
    
    /* Asegurar que todos los elementos del header sean visibles */
    .section-header {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin-bottom: 2rem;
        box-sizing: border-box;
    }
    
    .section-title {
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .section-description {
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
        padding: 0 10px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        height: auto;
        min-height: auto;
        overflow-x: hidden;
        overflow-y: visible;
        padding-bottom: 2rem;
        margin: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-form-container {
        padding: 1.5rem;
        margin: 0 0 2rem 0;
        overflow-x: hidden;
        overflow-y: visible;
        height: auto;
        min-height: auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Métodos de contacto */
    .contact-methods {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0 0 2rem 0;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .contact-card {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
        margin: 0 0 1rem 0;
        box-sizing: border-box;
    }
    
    .form-header {
        margin-bottom: 2rem;
        padding: 0 0.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-header h3 {
        font-size: 1.6rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        width: 100%;
        max-width: 100%;
        padding: 0 0.25rem;
        box-sizing: border-box;
    }
    
    .form-benefits {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .contact-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .btn-submit {
        width: 100%;
        padding: 16px 32px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Asegurar que todos los elementos del formulario sean visibles */
    .form-section {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
        box-sizing: border-box;
    }
    
    .form-group {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .field-help {
        width: 100%;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        box-sizing: border-box;
    }

    .benefit-item {
        justify-content: center;
        width: 100%;
        max-width: 300px;
    }

    .instruction-card {
        flex-direction: column;
        text-align: center;
    }

    .form-section {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .checkbox-item {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .submit-note {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
        width: 100%;
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        width: 100%;
        box-sizing: border-box;
        padding: 12px 16px;
        font-size: 16px; /* Evita zoom en iOS */
    }
    
    .btn-submit {
        width: 100%;
        margin-top: 1rem;
        padding: 16px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    /* Asegurar que no haya desbordamiento en móviles pequeños */
    html, body {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 8px;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .contact {
        padding: 1.5rem 0.25rem;
        padding-bottom: 3rem;
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }
    
    .contact-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .contact-form-container {
        padding: 1rem;
        margin: 0 0 2rem 0;
        overflow: visible;
        height: auto;
        min-height: auto;
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-header {
        margin-bottom: 1.5rem;
        padding: 0 0.25rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-header h3 {
        font-size: 1.3rem;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        width: 100%;
        max-width: 100%;
        padding: 0;
        box-sizing: border-box;
        text-align: center;
    }
    
    .contact-icon {
        font-size: 2.5rem;
    }
    
    .form-header i {
        font-size: 2.5rem;
    }

    .form-section {
        padding: 1rem;
    }

    .section-title {
        font-size: 0.95rem;
        gap: 0.4rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        flex-wrap: wrap;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.2;
        padding: 0 0.25rem 0.8rem 0.25rem;
    }

    .instruction-card {
        padding: 1rem;
    }

    .checkbox-item {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        width: 100%;
        box-sizing: border-box;
        padding: 10px 14px;
        font-size: 16px; /* Evita zoom en iOS */
    }
    
    .btn-submit {
        width: 100%;
        margin-top: 1rem;
        padding: 14px;
        font-size: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Media query para pantallas muy pequeñas */
@media (max-width: 360px) {
    .container {
        padding: 0 5px;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .contact {
        padding: 1rem 0;
        padding-bottom: 2rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        overflow-y: visible;
    }
    
    .contact-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .contact-methods {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0 0 1rem 0;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .contact-card {
        width: 100%;
        max-width: 100%;
        padding: 0.75rem;
        margin: 0 0 0.75rem 0;
        box-sizing: border-box;
    }
    
    .contact-form-container {
        padding: 0.75rem;
        margin: 0;
        overflow: visible;
        height: auto;
        min-height: auto;
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-header {
        margin-bottom: 1rem;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-header h3 {
        font-size: 1.1rem;
        line-height: 1.1;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        width: 100%;
        max-width: 100%;
        padding: 0;
        box-sizing: border-box;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .form-subtitle {
        font-size: 0.9rem;
        line-height: 1.2;
        padding: 0 0.25rem;
    }
    
    .section-title {
        font-size: 0.85rem;
        gap: 0.3rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        flex-wrap: wrap;
        word-wrap: break-word;
        overflow-wrap: break-word;
        line-height: 1.1;
        padding: 0 0.1rem 0.6rem 0.1rem;
        margin-bottom: 1rem;
    }
    
    .section-title i {
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    .contact-form {
        width: 100%;
        max-width: 100%;
        overflow: visible;
        box-sizing: border-box;
        gap: 1.5rem;
    }
    
    .form-section {
        padding: 0.75rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .form-group {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .form-group label {
        font-size: 0.85rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 0.9rem;
    }
    
    .field-help {
        font-size: 0.75rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}

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

.footer-brand {
    display: grid;
    gap: 1rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.brand-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

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

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-column li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.footer-column i {
    color: var(--primary-color);
    width: 16px;
}

.footer-divider {
    height: 1px;
    background: var(--border-color);
    margin: 2rem 0;
}

.footer-bottom-content {
    text-align: center;
    color: var(--text-muted);
}

.footer-disclaimers {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    color: #ccc;
    text-align: center;
}

.footer-disclaimer strong {
    color: #FFD700;
    font-weight: 600;
}

.footer-disclaimer.terms-link {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-disclaimer.terms-link a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-disclaimer.terms-link a:hover {
    color: #ffed4e;
    text-decoration: underline;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: #25D366;
    color: white;
    padding: 18px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-normal);
    animation: bounce 2s infinite;
    position: relative;
    min-width: 140px;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
}

.whatsapp-text {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.whatsapp-subtext {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
    text-align: center;
}

.whatsapp-notification {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #EF4444;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: notificationPulse 2s ease-in-out infinite;
}

.notification-dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: dotBlink 1.5s ease-in-out infinite;
}

@keyframes notificationPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes dotBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a3a 50%, var(--bg-dark) 100%);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="star" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:%23FFD700;stop-opacity:0.1"/><stop offset="100%" style="stop-color:%23FFD700;stop-opacity:0"/></radialGradient></defs><circle cx="20" cy="20" r="1" fill="url(%23star)"/><circle cx="80" cy="30" r="1" fill="url(%23star)"/><circle cx="60" cy="70" r="1" fill="url(%23star)"/><circle cx="30" cy="80" r="1" fill="url(%23star)"/></svg>') repeat;
    opacity: 0.3;
    animation: twinkle 4s ease-in-out infinite;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold-color), var(--accent-color));
}

.testimonial-card.featured {
    transform: scale(1.05);
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gold-color);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.3);
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars i {
    color: var(--gold-color);
    font-size: 1.2rem;
    animation: starGlow 2s ease-in-out infinite;
}

.testimonial-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
}

.testimonial-card p::before {
    content: '"';
    font-size: 3rem;
    color: var(--gold-color);
    position: absolute;
    top: -10px;
    left: -15px;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.testimonial-date {
    color: var(--gold-color);
    font-size: 0.8rem;
    font-weight: 600;
}

.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
}

.testimonials-cta {
    text-align: center;
    margin-top: 3rem;
}

.testimonials-cta h3 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.testimonials-cta p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-testimonial {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-testimonial:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

@keyframes starGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
    50% { text-shadow: 0 0 15px rgba(255, 215, 0, 0.8); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero {
        min-height: auto;
        height: auto;
        padding-bottom: 3rem;
    }
    
    .hero-main {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 35, 0.95);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .btn-whatsapp span {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .mystical-circle {
        width: 300px;
        height: 300px;
    }
    
    /* Corregir timer de urgencia en móvil */
    .urgency-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0 15px;
    }
    
    .urgency-timer {
        order: 2;
        margin: 0 auto;
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .timer-text, .timer-label {
        font-size: 0.8rem;
    }
    
    .timer-count {
        font-size: 1rem;
        padding: 3px 10px;
    }
    
    .urgency-btn {
        order: 3;
        margin: 0 auto;
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .urgency-text {
        order: 1;
        text-align: center;
    }
    
    .urgency-icon {
        display: none;
    }
    
    /* Botón flotante de WhatsApp en móvil */
    .whatsapp-float {
        bottom: 20px;
        right: 15px;
        z-index: 9999;
    }
    
    .whatsapp-btn {
        width: 70px !important;
        height: 70px !important;
        border-radius: 50% !important;
        padding: 0 !important;
        justify-content: center !important;
        align-items: center !important;
        min-width: auto !important;
        flex-direction: row !important;
        gap: 0 !important;
        background: #25D366 !important;
        border: 3px solid rgba(255, 255, 255, 0.8) !important;
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7), 0 0 0 4px rgba(37, 211, 102, 0.2) !important;
        font-size: 2rem !important;
        animation: bounce 2s infinite !important;
    }
    
    .whatsapp-btn:hover {
        background: #128C7E !important;
        transform: scale(1.05) !important;
        box-shadow: 0 12px 30px rgba(37, 211, 102, 0.8), 0 0 0 6px rgba(37, 211, 102, 0.3) !important;
    }
    
    /* Detener rotación de círculos solo en móvil */
    .circle-outer,
    .circle-middle,
    .circle-inner {
        animation: none !important;
    }
    
    /* Mejorar claridad de la imagen del maestro en móvil */
    .master-avatar {
        width: 150px;
        height: 150px;
        border: 3px solid rgba(139, 92, 246, 0.6);
    }
    
    .master-photo {
        filter: brightness(1.1) contrast(1.1);
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-text,
    .whatsapp-subtext {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
        height: auto;
        min-height: auto;
    }
    
    .hero {
        min-height: auto;
        height: auto;
        padding-bottom: 2rem;
    }
    
    .services,
    .testimonials,
    .gallery,
    .contact {
        padding-bottom: 3rem;
        height: auto;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-controls {
        gap: 1rem;
    }
    
    .testimonial-btn {
        width: 40px;
        height: 40px;
    }
    
    /* Ajustes específicos para la sección de contacto */
    .contact {
        padding: 2rem 0;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .contact-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .contact-form-container {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
        margin: 0;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .contact-methods {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0 0 1rem 0;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .contact-card {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
        margin: 0 0 1rem 0;
        box-sizing: border-box;
    }
}

/* ===== UTILITY CLASSES ===== */
.animate {
    animation: slideInUp 0.6s ease-out;
}

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

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

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

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .whatsapp-float,
    .loading-screen {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero-background {
        display: none;
    }
}