/* ========================================
   ESTILO 3: PROFESIONAL ELEGANTE
   Layout diferente pero bien diseñado
======================================== */

/* Variables */
body.theme-glass {
    --primary-gradient: linear-gradient(135deg, #1E3A5F 0%, #2C5282 100%);
    --accent-gradient: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    --gold-gradient: linear-gradient(135deg, #C9A227 0%, #E6BE3A 100%);
    --success-gradient: linear-gradient(135deg, #2F855A 0%, #38A169 100%);
    
    --primary-color: #2C5282;
    --primary-light: #4A7AB8;
    --primary-dark: #1E3A5F;
    --accent-color: #DAA520;
    --gold-color: #C9A227;
    --success-color: #38A169;
    
    --bg-dark: #0F1419;
    --bg-darker: #080B0E;
    --bg-card: rgba(30, 58, 95, 0.1);
    --bg-card-hover: rgba(30, 58, 95, 0.2);
    
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    --border-color: rgba(44, 82, 130, 0.3);
    --border-light: rgba(44, 82, 130, 0.15);
    
    --shadow-glow: 0 10px 40px rgba(30, 58, 95, 0.4);
}

body.theme-glass {
    background: linear-gradient(180deg, #0F1419 0%, #1A2633 100%);
}

body.theme-glass .bg-animation {
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(44, 82, 130, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(201, 162, 39, 0.08) 0%, transparent 50%);
}

body.theme-glass .gradient-sphere {
    display: none;
}

/* ========================================
   NAVBAR
======================================== */
body.theme-glass .navbar {
    background: rgba(15, 20, 25, 0.95);
    border-bottom: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

body.theme-glass .navbar.scrolled {
    background: rgba(15, 20, 25, 0.98);
    border-bottom-color: var(--border-color);
}

body.theme-glass .logo-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.theme-glass .nav-links a {
    color: var(--text-secondary);
}

body.theme-glass .nav-links a:hover {
    color: var(--gold-color);
}

body.theme-glass .nav-links a:not(.btn-nav)::after {
    background: var(--gold-gradient);
}

body.theme-glass .btn-nav {
    background: var(--accent-gradient);
    border: none;
    color: #0F1419;
}

body.theme-glass .btn-nav:hover {
    box-shadow: 0 4px 20px rgba(218, 165, 32, 0.4);
}

/* ========================================
   HERO - Centrado con stats integrados
======================================== */
body.theme-glass .hero {
    text-align: center;
    padding-top: 8rem;
}

body.theme-glass .hero-content {
    text-align: center;
}

body.theme-glass .urgency-badge {
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.4);
    color: var(--gold-color);
}

body.theme-glass .pulse-dot {
    background: var(--gold-color);
}

body.theme-glass .hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.15;
}

body.theme-glass .title-line {
    display: block;
}

body.theme-glass .gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.theme-glass .hero-subtitle {
    font-size: 1.2rem;
}

body.theme-glass .hero-subtitle em {
    color: var(--gold-color);
}

/* Stats - Inline con divisores */
body.theme-glass .stat-number,
body.theme-glass .stat-suffix {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.theme-glass .stat-divider {
    background: var(--border-color);
}

/* Buttons */
body.theme-glass .btn-primary {
    background: var(--accent-gradient);
    color: #0F1419;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(218, 165, 32, 0.3);
}

body.theme-glass .btn-primary:hover {
    box-shadow: 0 8px 30px rgba(218, 165, 32, 0.5);
    transform: translateY(-3px);
}

body.theme-glass .btn-secondary {
    background: transparent;
    border: 2px solid var(--border-color);
}

body.theme-glass .btn-secondary:hover {
    border-color: var(--gold-color);
    background: rgba(201, 162, 39, 0.1);
}

/* ========================================
   ALERT BANNER
======================================== */
body.theme-glass .alert-banner {
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.12) 0%, rgba(201, 162, 39, 0.06) 100%);
    border-top: 1px solid rgba(201, 162, 39, 0.25);
    border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

body.theme-glass .alert-content strong {
    color: var(--gold-color);
}

/* ========================================
   SERVICES - Grid 2x2 con featured destacado
======================================== */
body.theme-glass .services {
    background: rgba(15, 20, 25, 0.5);
}

body.theme-glass .services::before {
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

body.theme-glass .section-tag {
    background: rgba(44, 82, 130, 0.2);
    border: 1px solid var(--border-color);
    color: var(--primary-light);
}

body.theme-glass .section-title {
    color: var(--text-primary);
}

/* Grid 2x2 */
body.theme-glass .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

body.theme-glass .service-card {
    background: rgba(30, 58, 95, 0.15);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

/* Featured ocupa 2 columnas */
body.theme-glass .service-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(44, 82, 130, 0.25) 0%, rgba(201, 162, 39, 0.1) 100%);
    border-color: rgba(201, 162, 39, 0.3);
    border-width: 2px;
}

body.theme-glass .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.theme-glass .service-card.featured::before {
    opacity: 1;
}

body.theme-glass .service-card:hover {
    background: rgba(30, 58, 95, 0.25);
    border-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

body.theme-glass .service-card:hover::before {
    opacity: 1;
}

body.theme-glass .service-badge {
    background: var(--accent-gradient);
    color: #0F1419;
}

body.theme-glass .service-icon {
    background: var(--primary-gradient);
}

body.theme-glass .service-icon svg {
    stroke: white;
}

body.theme-glass .service-features li::before {
    color: var(--success-color);
}

body.theme-glass .service-link {
    color: var(--gold-color);
}

body.theme-glass .service-link:hover {
    color: #E6BE3A;
}

/* ========================================
   PROCESS - Cards con números grandes
======================================== */
body.theme-glass .process {
    background: transparent;
}

body.theme-glass .process-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

body.theme-glass .process-timeline::before {
    display: none;
}

body.theme-glass .process-step {
    position: relative;
}

body.theme-glass .step-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: auto;
    height: auto;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(201, 162, 39, 0.25);
    line-height: 1;
    z-index: 0;
    border: none;
    background: transparent;
    margin: 0;
}

body.theme-glass .step-content {
    background: rgba(30, 58, 95, 0.15);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    z-index: 1;
    height: auto;
    min-height: 240px;
}

body.theme-glass .step-content:hover {
    background: rgba(30, 58, 95, 0.25);
    border-color: var(--gold-color);
    transform: translateY(-5px);
}

body.theme-glass .step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

body.theme-glass .step-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

body.theme-glass .step-content p {
    color: var(--text-secondary);
}

/* ========================================
   WHY US
======================================== */
body.theme-glass .why-us {
    background: rgba(15, 20, 25, 0.5);
}

body.theme-glass .why-us-grid {
    gap: 4rem;
}

body.theme-glass .feature-check {
    background: var(--success-gradient);
}

body.theme-glass .feature-item {
    border-color: var(--border-light);
}

body.theme-glass .feature-text h4 {
    color: var(--text-primary);
}

body.theme-glass .testimonial-card {
    background: rgba(30, 58, 95, 0.15);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

body.theme-glass .testimonial-card:hover {
    background: rgba(30, 58, 95, 0.25);
    border-color: var(--gold-color);
    transform: translateY(-5px);
}

body.theme-glass .testimonial-stars {
    color: var(--gold-color);
}

body.theme-glass .author-avatar {
    background: var(--primary-gradient);
}

body.theme-glass .author-name {
    color: var(--text-primary);
}

/* ========================================
   CONTACT - Layout normal
======================================== */
body.theme-glass .contact::before {
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

body.theme-glass .contact-method {
    background: rgba(30, 58, 95, 0.15);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

body.theme-glass .contact-method:hover {
    background: rgba(30, 58, 95, 0.25);
    border-color: var(--gold-color);
}

body.theme-glass .method-icon {
    background: var(--primary-gradient);
}

body.theme-glass .method-icon svg {
    stroke: white;
}

body.theme-glass .method-value {
    color: var(--text-primary);
}

body.theme-glass .btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

body.theme-glass .btn-whatsapp:hover {
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* Contact Form */
body.theme-glass .contact-form-wrapper {
    background: rgba(30, 58, 95, 0.15);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

body.theme-glass .contact-form h3 {
    color: var(--text-primary);
}

body.theme-glass .form-group input,
body.theme-glass .form-group select,
body.theme-glass .form-group textarea {
    background: rgba(15, 20, 25, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

body.theme-glass .form-group input:focus,
body.theme-glass .form-group select:focus,
body.theme-glass .form-group textarea:focus {
    border-color: var(--gold-color);
    background: rgba(15, 20, 25, 0.7);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

body.theme-glass .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px 20px;
}

body.theme-glass .btn-submit {
    background: var(--accent-gradient);
    color: #0F1419;
    font-weight: 700;
}

body.theme-glass .btn-submit:hover {
    box-shadow: 0 8px 30px rgba(218, 165, 32, 0.4);
}

/* ========================================
   FOOTER
======================================== */
body.theme-glass .footer {
    background: #080B0E;
    border-top: 1px solid var(--border-light);
}

body.theme-glass .footer .logo-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.theme-glass .footer-column a:hover {
    color: var(--gold-color);
}

body.theme-glass .footer-brand p {
    color: var(--text-secondary);
}

body.theme-glass .footer-column h4 {
    color: var(--text-primary);
}

body.theme-glass .footer-column a {
    color: var(--text-secondary);
}

body.theme-glass .footer-bottom p {
    color: var(--text-muted);
}

/* WhatsApp Float */
body.theme-glass .whatsapp-float {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

body.theme-glass .whatsapp-tooltip {
    background: rgba(15, 20, 25, 0.95);
    border: 1px solid var(--border-color);
}

/* Mobile Menu */
body.theme-glass .mobile-menu {
    background: rgba(15, 20, 25, 0.98);
}

body.theme-glass .mobile-menu a {
    color: var(--text-primary);
}

body.theme-glass .mobile-menu a:hover {
    color: var(--gold-color);
}

body.theme-glass .mobile-menu-btn span {
    background: var(--text-primary);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
    body.theme-glass .services-grid {
        grid-template-columns: 1fr;
    }
    
    body.theme-glass .service-card.featured {
        grid-column: 1;
    }
    
    body.theme-glass .process-timeline {
        grid-template-columns: 1fr;
    }
    
    body.theme-glass .step-content {
        min-height: auto;
    }
}

/* ========================================
   THEME BUTTON
======================================== */
.theme-btn[data-theme="glass"] {
    background: linear-gradient(135deg, #1E3A5F, #C9A227);
    border-color: #C9A227;
}
