/* style.css - Premium Glassmorphism Design */
:root {
    /* Color Palette - Deep Corporate Blues & Bright Accents */
    --color-bg: #040914; /* Extremely dark blue */
    --color-surface: rgba(15, 23, 42, 0.6);
    --color-primary: #3b82f6; /* Bright blue */
    --color-primary-dark: #1d4ed8;
    --color-primary-glow: rgba(59, 130, 246, 0.5);
    
    --color-accent: #06b6d4; /* Cyan */
    --color-accent-glow: rgba(6, 182, 212, 0.5);
    
    --color-text: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-border: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects */
    --radius-md: 12px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --container-width: 1280px;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    background-color: var(--color-bg);
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* Ambient Background Orbs */
.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}
.orb-1 {
    width: 600px; height: 600px;
    background: var(--color-primary-dark);
    top: -200px; left: -200px;
}
.orb-2 {
    width: 500px; height: 500px;
    background: #0c4a6e; /* Deep ocean blue */
    bottom: -100px; right: -100px;
    animation-delay: -5s;
}
.orb-3 {
    width: 400px; height: 400px;
    background: rgba(6, 182, 212, 0.2); /* Cyan hint */
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

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

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}
.section-padding { padding: 8rem 0; }
.relative { position: relative; }

/* Glassmorphism Classes */
.glass-panel, .glass-card, .glass-pill {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Typography */
h1, h2, h3, h4, .logo-text { font-family: var(--font-heading); line-height: 1.1; }

.text-gradient {
    background: linear-gradient(135deg, #60a5fa, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-lg { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; margin-bottom: 1rem; }
.title-md { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; margin-bottom: 1rem; text-align: center; }
.subtitle { font-size: 1.25rem; color: var(--color-text-muted); max-width: 600px; }

.section-header { margin-bottom: 4rem; text-align: center; display: flex; flex-direction: column; align-items: center; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 1rem 2rem; border-radius: 50px;
    font-weight: 600; font-family: var(--font-heading);
    cursor: pointer; border: none; transition: var(--transition);
    position: relative; overflow: hidden;
}

.btn-glow {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    box-shadow: 0 0 20px var(--color-primary-glow);
}
.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--color-primary-glow), 0 10px 20px rgba(0,0,0,0.3);
}

.btn-outline {
    background: transparent; color: white;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-3px);
}

.btn-small { padding: 0.6rem 1.5rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000; padding: 1rem 0;
    transition: var(--transition);
}
.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(4, 9, 20, 0.8);
    border-bottom: 1px solid var(--color-border);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }

.logo { 
    font-size: 1.4rem; 
    font-weight: 900; 
    display: flex; 
    flex-direction: column; 
    line-height: 0.85;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}
.logo-text { color: #ffffff; }
.logo-accent { color: var(--color-accent); font-size: 1.35rem; }

.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-link { font-size: 0.95rem; font-weight: 500; color: var(--color-text-muted); position: relative; }
.nav-link:hover { color: white; }
.nav-link::after {
    content: ''; position: absolute; bottom: -5px; left: 0;
    width: 0; height: 2px; background: var(--color-accent);
    transition: var(--transition);
}
.nav-link:hover::after { width: 100%; }

.mobile-menu-btn {
    display: none; background: none; border: none;
    width: 30px; height: 20px; position: relative; cursor: pointer; z-index: 1001;
}
.mobile-menu-btn span {
    position: absolute; width: 100%; height: 2px;
    background: white; left: 0; transition: var(--transition);
}
.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-menu-btn span:nth-child(3) { bottom: 0; }
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Hero Section */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    padding-top: 80px; overflow: hidden;
}
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-gradient-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, #040914 10%, rgba(4,9,20,0.6) 60%, rgba(4,9,20,0.1) 100%);
}
.hero-content { max-width: 800px; }
.hero-badge {
    display: inline-block; padding: 0.5rem 1rem;
    border-radius: 50px; background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--color-primary); font-weight: 600; font-size: 0.85rem;
    margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px;
}
.hero-title { margin-bottom: 1.5rem; }
.hero-subtitle { font-size: 1.25rem; color: var(--color-text-muted); margin-bottom: 2.5rem; max-width: 600px; }
.hero-actions { display: flex; gap: 1rem; }

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.service-card {
    padding: 2.5rem; border-radius: var(--radius-lg);
    position: relative; overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s;
    display: flex; flex-direction: column; gap: 1rem;
}
.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.2);
}
.card-glow {
    position: absolute; top: 0; right: 0;
    width: 150px; height: 150px;
    background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
    opacity: 0; transition: opacity 0.5s; pointer-events: none;
}
.service-card:hover .card-glow { opacity: 1; }
.service-icon {
    width: 60px; height: 60px; border-radius: 16px;
    background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(6,182,212,0.1));
    display: flex; align-items: center; justify-content: center;
    color: var(--color-accent); border: 1px solid rgba(255,255,255,0.05);
}
.service-card h3 { font-size: 1.4rem; color: white; }
.service-card p { color: var(--color-text-muted); font-size: 0.95rem; }

/* Image Masonry / About */
.image-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.img-box {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
}
.img-box::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}
.img-box img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s;
}
.img-box:hover img { transform: scale(1.1); }
/* Make first image span 2 rows/cols on large screens if possible, basic grid for now */

/* Clients */
/* Clients Slider */
/* Clients Slider */
.client-slider-container {
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.client-slides {
    display: grid;
    position: relative;
    min-height: 420px; /* Evita saltos de altura en móviles */
}

.client-card {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.8rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1;
}

.client-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    z-index: 2;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-dot.active {
    background: var(--color-accent);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: var(--color-accent);
    color: #000;
    border-color: var(--color-accent);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow { left: -60px; }
.next-arrow { right: -60px; }

@media (max-width: 768px) {
    .prev-arrow { left: -15px; }
    .next-arrow { right: -15px; }
}

.client-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.client-category {
    font-size: 0.85rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.client-name {
    font-size: 1.4rem;
    color: white;
}

.client-service {
    margin-bottom: auto;
}

.client-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 500;
}

.client-stats {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.stat-main {
    text-align: center;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.stat-main .stat-value {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    display: block;
    margin-bottom: 0.3rem;
}

.stat-main .stat-label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

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

.stat-box {
    background: rgba(255,255,255,0.02);
    padding: 1rem 0.5rem;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    border: 1px solid rgba(255,255,255,0.02);
}

.stat-box .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.stat-box .stat-text {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.2;
}

/* Contact */
.contact-wrapper {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
    padding: 4rem; border-radius: var(--radius-lg);
}
.contact-grid { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; color: var(--color-text-muted); }
.icon-box {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center;
    color: var(--color-primary);
}

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.input-group { position: relative; }
.input-group input, .input-group textarea {
    width: 100%; padding: 1.2rem 1rem 0.8rem;
    background: rgba(255,255,255,0.03); border: 1px solid var(--color-border);
    border-radius: var(--radius-md); color: white;
    font-family: inherit; font-size: 1rem; outline: none;
    transition: var(--transition);
}
.input-group textarea { resize: vertical; min-height: 120px; }
.input-group input:focus, .input-group textarea:focus {
    border-color: var(--color-primary); background: rgba(255,255,255,0.06);
}
.input-group label {
    position: absolute; left: 1rem; top: 1rem;
    color: var(--color-text-muted); pointer-events: none;
    transition: var(--transition);
}
/* Float label effect */
.input-group input:focus ~ label, .input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label, .input-group textarea:not(:placeholder-shown) ~ label {
    top: 0.3rem; font-size: 0.75rem; color: var(--color-primary);
}

/* Footer */
.glass-footer {
    padding: 3rem 0; margin-top: 4rem;
    border-top: 1px solid var(--color-border);
    background: rgba(4, 9, 20, 0.8); backdrop-filter: blur(20px);
}
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 1rem; }

/* Language Switcher */
.lang-switcher { position: fixed; bottom: 2rem; right: 2rem; z-index: 1000; }
.lang-btn {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--color-surface); backdrop-filter: blur(10px);
    border: 1px solid var(--color-border); color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.lang-btn:hover { background: rgba(255,255,255,0.1); transform: scale(1.1); }
.lang-menu {
    position: absolute; bottom: 70px; right: 0;
    display: flex; flex-direction: column; padding: 0.5rem;
    border-radius: var(--radius-md); min-width: 140px;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: var(--transition);
}
.lang-menu.active { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
    background: transparent; border: none; color: var(--color-text-muted);
    padding: 0.75rem 1rem; text-align: left; font-weight: 500; font-family: var(--font-body);
    border-radius: 8px; cursor: pointer; transition: var(--transition);
}
.lang-menu button:hover { background: rgba(255,255,255,0.1); color: white; }
.lang-menu button.active-lang { color: var(--color-accent); background: rgba(6, 182, 212, 0.1); }

/* Animations */
.fade-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper { grid-template-columns: 1fr; padding: 2rem; }
    .hero-title { font-size: 3rem; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 80%; height: 100vh;
        background: rgba(4, 9, 20, 0.95); backdrop-filter: blur(20px);
        flex-direction: column; justify-content: center; gap: 2rem;
        transition: var(--transition); border-left: 1px solid var(--color-border);
    }
    .nav-links.active { right: 0; }
    .mobile-menu-btn { display: block; }
    .hero-actions { flex-direction: column; }
    .hero-title { font-size: 2.5rem; }
}

/* Custom Cursor & Glow Effects */
@media (hover: hover) and (pointer: fine) {
    /* Flecha azul personalizada */
    body, a, button, .lang-btn, .slider-arrow, .slider-dot, .service-card, .client-card {
        cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24"><path fill="%2306b6d4" stroke="%23ffffff" stroke-width="1.5" d="M4 2l16 10-7 2 3 7-3 1-3-7-6 4z"/></svg>') 4 2, auto !important;
    }
    
    /* Resplandor tipo agua en el fondo */
    .mouse-glow {
        position: fixed;
        top: 0;
        left: 0;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 60%);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: -1;
        transition: width 0.4s ease-out, height 0.4s ease-out, background 0.4s ease-out;
    }
}

/* --- Training Section --- */
.training-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.feature-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.course-box {
    padding: 3rem;
}

.course-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.course-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.5;
}

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

@media (max-width: 992px) {
    .training-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* --- Carnet Banner --- */
.carnet-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 24px;
}

.carnet-content {
    flex: 1;
    max-width: 600px;
}

.carnet-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.carnet-card {
    width: 340px;
    height: 214px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.carnet-wrapper:hover .carnet-card {
    transform: rotateY(0deg) rotateX(0deg);
}

.carnet-header {
    background: #009ce3;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    color: white;
}

.carnet-logo {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    position: relative;
}

.carnet-logo::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 14px; height: 14px;
    border: 2px solid #009ce3;
    border-radius: 50%;
}

.carnet-title-small {
    font-size: 0.65rem;
    font-weight: 800;
    text-align: right;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.carnet-body {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.carnet-photo {
    width: 70px;
    height: 90px;
    border: 2px solid #009ce3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    background: #f9f9f9;
}

.carnet-photo svg {
    width: 40px;
    height: 40px;
}

.carnet-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.carnet-lines .line {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    width: 100%;
}

@media (max-width: 992px) {
    .carnet-wrapper {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }
    .carnet-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* --- Service Detail Page (servicio.html) --- */
.service-hero {
    position: relative;
    padding: 180px 0 100px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.service-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.15) 0%, var(--bg-color) 70%);
    z-index: -2;
}

.service-hero-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(var(--color-border) 1px, transparent 1px),
        radial-gradient(var(--color-border) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.3;
    z-index: -1;
}

.service-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 3rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
}

.back-link:hover {
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-5px);
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
    transform: rotate(-5deg);
    transition: transform 0.5s ease;
}

.service-icon-large:hover {
    transform: rotate(0deg) scale(1.05);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.desc-card {
    padding: 3rem;
    border-radius: 24px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    align-items: flex-start;
    border-radius: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
    border-color: rgba(6, 182, 212, 0.5);
}

.benefit-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: transparent;
    -webkit-text-stroke: 1px rgba(6, 182, 212, 0.5);
    line-height: 1;
}

@media (max-width: 992px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #29e671 0%, #16a392 100%);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.whatsapp-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4b2b;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-color);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 75, 43, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 75, 43, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 75, 43, 0); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* --- Management Section --- */
.management-card {
    padding: 3rem;
    border-radius: 32px;
}

.management-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.manager-image {
    position: relative;
}

.manager-image img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.management-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--color-accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.manager-name {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.manager-role {
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 2rem;
    font-weight: 500;
}

.manager-bio {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.manager-credentials {
    display: flex;
    gap: 2rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-text);
    font-weight: 600;
}

@media (max-width: 992px) {
    .management-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .manager-image {
        max-width: 400px;
        margin: 0 auto;
    }
    .manager-credentials {
        justify-content: center;
    }
}

/* --- Language Switcher Floating --- */
.lang-switcher {
    position: fixed;
    bottom: 110px; /* Offset to be above WhatsApp */
    right: 30px;
    z-index: 10000;
}

.lang-btn {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(30deg);
}

.lang-menu {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 140px;
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    border-radius: 16px;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.lang-menu.active {
    display: flex;
}

.lang-menu button {
    background: transparent;
    border: none;
    color: white;
    padding: 0.8rem 1rem;
    text-align: left;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.lang-menu button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-menu button.active-lang {
    color: var(--color-accent);
    font-weight: bold;
    background: rgba(6, 182, 212, 0.1);
}

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

/* Custom style for Client Area link to make it stand out */
.nav-link.client-area-link {
    font-weight: 600;
    color: var(--color-accent) !important;
}


/* --- Client Area Button Differentiation --- */
.client-area-btn {
    border: 1px solid var(--color-accent);
    padding: 0.5rem 1rem !important;
    border-radius: 50px;
    background: rgba(6, 182, 212, 0.05);
    color: var(--color-accent) !important;
    transition: all 0.3s ease;
}

.client-area-btn:hover {
    background: var(--color-accent);
    color: white !important;
    box-shadow: 0 0 15px var(--color-accent-glow);
}


/* --- Join Team Section --- */
.join-wrapper {
    padding: 4rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 40px;
}

.join-desc {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

.profiles-title {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-bottom: 2rem;
    color: var(--color-text);
}

.profiles-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.profile-tag {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.profile-tag:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--color-accent);
    transform: translateY(-5px);
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .join-wrapper {
        padding: 2.5rem 1.5rem;
    }
}


/* --- INOCUA AI Assistant --- */
.inocua-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.inocua-float:hover {
    transform: scale(1.1) rotate(-5deg);
}

.inocua-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #22d3ee;
    color: #083344;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.inocua-chat {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 380px;
    height: 500px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    z-index: 10000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    animation: slideInLeft 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.inocua-chat.active {
    display: flex;
}

.chat-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-header .bot-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: white;
}

.chat-header .bot-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--color-accent);
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 85%;
    padding: 0.8rem 1.2rem;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.message.bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-bottom-left-radius: 4px;
}

.message.user {
    align-self: flex-end;
    background: var(--color-accent);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-input-area {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 0.5rem;
}

.chat-input-area input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    color: white;
    outline: none;
}

.chat-send-btn {
    background: var(--color-accent);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 480px) {
    .inocua-chat {
        width: calc(100vw - 40px);
        left: 20px;
        right: 20px;
        bottom: 90px;
    }
}

