/* ===== Design System: Vicbas Dark Premium ===== */
/* Paleta: Negro Ópalo / Morado Eléctrico / Plata Mercurio */
/* Efecto: Glow Accent + Silver Texture */

 :root {
    /* --- Core Palette (Dark Mode - Default) --- */
    --black: #0B0B0B;
    --black-light: #111111;
    --black-card: #141414;
    --black-alt: #0F0F0F;
    --purple: #7B2CBF;
    --purple-dark: #3C096C;
    --purple-light: #9D4EDD;
    --purple-glow: rgba(123, 44, 191, 0.4);
    --purple-glow-subtle: rgba(123, 44, 191, 0.15);
    --silver: #E0E0E0;
    --silver-muted: #A0A0A0;
    --silver-dim: #666666;
    --silver-dark: #2A2A2A;
    --white: #FFFFFF;
    --border-color: rgba(224, 224, 224, 0.12);
    --border-hover: rgba(224, 224, 224, 0.25);

    /* --- Gradients --- */
    --gradient-purple: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 100%);
    --gradient-purple-radial: radial-gradient(circle, var(--purple-glow-subtle) 0%, transparent 70%);
    --gradient-hero: linear-gradient(180deg, var(--black) 0%, var(--black-light) 100%);
    --gradient-section-alt: linear-gradient(180deg, var(--black-light) 0%, var(--black) 100%);
    --gradient-cta: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 50%, var(--purple-dark) 100%);

    /* --- Shadows --- */
    --shadow-glow: 0 0 20px var(--purple-glow);
    --shadow-glow-sm: 0 0 10px var(--purple-glow);
    --shadow-glow-lg: 0 0 40px var(--purple-glow), 0 0 80px rgba(123, 44, 191, 0.15);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);

    /* --- Transitions --- */
    --transition: all 0.3s ease;
    --transition-glow: box-shadow 0.3s ease, transform 0.3s ease;
    --transition-color: color 0.25s ease, background 0.25s ease;

    /* --- Border Radius --- */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;
 }
 
/* ===== LIGHT MODE (Colors Inverted) ===== */
body.light-mode {
    --black: #F5F5F5;
    --black-light: #E8E8E8;
    --black-card: #FFFFFF;
    --black-alt: #F0F0F0;
    --purple: #5B1E9F;
    --purple-dark: #2B0855;
    --purple-light: #8B3DCD;
    --purple-glow: rgba(91, 30, 159, 0.3);
    --purple-glow-subtle: rgba(91, 30, 159, 0.1);
    --silver: #1A1A1A;
    --silver-muted: #4A4A4A;
    --silver-dim: #2A2A2A;
    --silver-dark: #333333;
    --white: #111111;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);
}

body.light-mode::before {
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 80px,
        rgba(0, 0, 0, 0.02) 80px,
        rgba(0, 0, 0, 0.02) 81px
    );
}

/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--silver);
    line-height: 1.6;
    background-color: var(--black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Silver Texture Overlay (diagonal lines) --- */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 80px,
        rgba(224, 224, 224, 0.012) 80px,
        rgba(224, 224, 224, 0.012) 81px
    );
    pointer-events: none;
    z-index: 0;
}

/* ===== Utility: Highlight Keywords ===== */
.highlight { color: var(--purple); font-weight: 600; }
.text-silver { color: var(--silver); }
.text-muted { color: var(--silver-muted); }

/* ===== Dividers ===== */
.divider {
    width: 100%;
    height: 1px;
    background: var(--silver);
    opacity: 0.12;
    border: none;
    margin: 0;
}

/* ===== Header ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(11, 11, 11, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}
.header.scrolled {
    background: rgba(11, 11, 11, 0.97);
    border-bottom-color: var(--border-hover);
}

.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 40px; max-width: 1400px; margin: 0 auto;
}
.logo-text {
    font-size: 1.6rem; font-weight: 700; letter-spacing: -0.5px;
    color: var(--purple);
    text-shadow: 0 0 20px var(--purple-glow-subtle);
    transition: var(--transition);
}
.logo-text:hover {
    text-shadow: var(--shadow-glow-sm);
}
.nav-links { display: flex; gap: 35px; }
.nav-links a {
    font-weight: 500; font-size: 0.92rem; color: var(--silver-muted);
    position: relative; transition: var(--transition-color);
    letter-spacing: 0.3px;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -6px; left: 0;
    width: 0; height: 2px;
    background: var(--gradient-purple);
    transition: width 0.3s ease;
    border-radius: 1px;
}
.nav-links a:hover { color: var(--purple); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--purple); }
.nav-links a.active::after { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span {
    width: 24px; height: 2px; background: var(--silver-muted);
    transition: var(--transition); border-radius: 2px;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding: 120px 40px 80px;
    background: var(--gradient-hero);
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute;
    top: -30%; right: -10%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(123, 44, 191, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}
.hero::after {
    content: ''; position: absolute;
    bottom: -20%; left: -5%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(123, 44, 191, 0.05) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-content { flex: 1; max-width: 620px; z-index: 1; }
.hero h1 {
    font-size: 3.4rem; font-weight: 700; line-height: 1.15;
    margin-bottom: 20px; color: var(--white);
    letter-spacing: -1px;
}
.hero .highlight {
    background: var(--gradient-purple);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.15rem; color: var(--silver-muted);
    margin-bottom: 36px; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { flex: 1; position: relative; min-height: 400px; }
.floating-card {
    position: absolute;
    background: var(--black-card);
    padding: 20px 24px; border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    display: flex; align-items: center; gap: 12px;
    animation: float 3s ease-in-out infinite;
    transition: var(--transition-glow);
    backdrop-filter: blur(8px);
}
.floating-card:hover {
    border-color: var(--purple);
    box-shadow: var(--shadow-glow);
}
.floating-card i { font-size: 1.4rem; color: var(--purple); }
.floating-card span { font-weight: 500; color: var(--silver); font-size: 0.95rem; }
.card-1 { top: 20%; right: 10%; animation-delay: 0s; }
.card-2 { top: 50%; right: 30%; animation-delay: 0.5s; }
.card-3 { top: 75%; right: 15%; animation-delay: 1s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-md); font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition); cursor: pointer; border: none;
    font-family: inherit; letter-spacing: 0.2px;
}
.btn-primary {
    background: var(--gradient-purple); color: var(--white);
    box-shadow: 0 4px 16px var(--purple-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-lg);
}
.btn-secondary {
    background: transparent; color: var(--silver);
    border: 1px solid var(--border-hover);
}
.btn-secondary:hover {
    border-color: var(--purple);
    color: var(--purple);
    box-shadow: var(--shadow-glow-sm);
}
.btn-light {
    background: transparent; color: var(--silver);
    border: 1px solid var(--border-hover);
}
.btn-light:hover {
    border-color: var(--purple);
    color: var(--white);
    box-shadow: var(--shadow-glow-sm);
    transform: translateY(-2px);
}

/* ===== Section Styles ===== */
.section-title {
    font-size: 2.4rem; text-align: center; margin-bottom: 16px;
    color: var(--white); font-weight: 700;
    letter-spacing: -0.5px;
}
.section-subtitle {
    text-align: center; color: var(--silver-muted);
    margin-bottom: 50px; font-size: 1.05rem;
}

/* ===== Services Preview ===== */
.services-preview {
    padding: 100px 40px; text-align: center;
    background: var(--black);
    position: relative;
}
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-bottom: 48px; }
.service-card {
    background: var(--black-card); padding: 40px 28px;
    border-radius: var(--radius-lg); transition: var(--transition-glow);
    border: 1px solid var(--border-color);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--gradient-purple);
    opacity: 0; transition: opacity 0.3s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--purple);
    box-shadow: var(--shadow-glow);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
    width: 72px; height: 72px; margin: 0 auto 24px;
    background: var(--gradient-purple); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px var(--purple-glow);
}
.service-icon i { font-size: 1.6rem; color: var(--white); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--white); font-weight: 600; }
.service-card p { color: var(--silver-muted); font-size: 0.92rem; line-height: 1.6; }

/* ===== Why Us Section ===== */
.why-us {
    padding: 100px 40px;
    background: var(--gradient-cta);
    color: var(--white);
    position: relative; overflow: hidden;
}
.why-us::before {
    content: ''; position: absolute; top: -50%; left: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    border-radius: 50%; pointer-events: none;
}
.why-us .container { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; position: relative; z-index: 1; }
.why-us-content { flex: 1; min-width: 300px; }
.why-us h2 { font-size: 2.4rem; margin-bottom: 30px; font-weight: 700; }
.benefits-list { display: flex; flex-direction: column; gap: 16px; }
.benefits-list li {
    display: flex; align-items: center; gap: 12px;
    font-size: 1.05rem; color: rgba(255,255,255,0.9);
}
.benefits-list i { color: var(--purple-light); font-size: 1.1rem; }
.stats-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; min-width: 300px; }
.stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 30px 20px; border-radius: var(--radius-lg); text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-glow);
}
.stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}
.stat-number { display: block; font-size: 2.4rem; font-weight: 700; margin-bottom: 6px; color: var(--white); }
.stat-label { font-size: 0.85rem; opacity: 0.8; color: rgba(255,255,255,0.7); }

/* ===== CTA Section ===== */
.cta {
    padding: 80px 40px; text-align: center;
    background: var(--black-light);
    position: relative;
}
.cta::before {
    content: ''; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--purple-glow-subtle) 0%, transparent 60%);
    border-radius: 50%; pointer-events: none;
}
.cta h2 { font-size: 2.2rem; margin-bottom: 16px; color: var(--white); font-weight: 700; position: relative; }
.cta p { color: var(--silver-muted); margin-bottom: 32px; font-size: 1.05rem; position: relative; }
.cta .btn { position: relative; }

/* ===== Footer ===== */
.footer {
    background: var(--black); color: var(--silver);
    padding: 60px 40px 20px;
    border-top: 1px solid var(--border-color);
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 {
    font-size: 1.4rem; margin-bottom: 16px;
    color: var(--purple); font-weight: 700;
}
.footer-col h4 { font-size: 1rem; margin-bottom: 16px; color: var(--white); font-weight: 600; }
.footer-col p { color: var(--silver-muted); line-height: 1.7; font-size: 0.92rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
    color: var(--silver-muted); transition: var(--transition-color);
    font-size: 0.92rem;
}
.footer-col ul li a:hover { color: var(--purple); padding-left: 5px; }
.contact-info li { display: flex; align-items: center; gap: 10px; color: var(--silver-muted); font-size: 0.92rem; }
.contact-info i { color: var(--purple); }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
    width: 40px; height: 40px; border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition-glow); color: var(--silver-muted);
}
.social-links a:hover {
    border-color: var(--purple); color: var(--purple);
    box-shadow: var(--shadow-glow-sm);
}
.social-links i { font-size: 1rem; }
.footer-bottom {
    text-align: center; padding-top: 24px;
    border-top: 1px solid var(--border-color);
}
.footer-bottom p { color: var(--silver-dim); font-size: 0.85rem; }
.footer-bottom a { color: var(--silver-dim); transition: var(--transition-color); }
.footer-bottom a:hover { color: var(--purple-light); }

/* ===== Page Hero ===== */
.page-hero {
    padding: 150px 40px 80px; text-align: center;
    background: var(--gradient-hero);
    position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 800px; height: 400px;
    background: radial-gradient(ellipse, rgba(123, 44, 191, 0.06) 0%, transparent 60%);
    pointer-events: none;
}
.page-hero h1 { font-size: 3rem; color: var(--white); margin-bottom: 12px; font-weight: 700; letter-spacing: -0.5px; }
.page-hero p { font-size: 1.1rem; color: var(--silver-muted); }

/* ===== About Section ===== */
.about-section { padding: 100px 40px; background: var(--black); }
.about-content { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.about-text { flex: 1; min-width: 300px; }
.about-text h2 { font-size: 2.2rem; margin-bottom: 20px; color: var(--white); font-weight: 700; }
.about-text h2 .highlight { color: var(--purple); }
.about-text p { color: var(--silver-muted); margin-bottom: 15px; line-height: 1.8; font-size: 0.95rem; }
.about-image { flex: 1; min-width: 300px; }
.image-placeholder {
    background: var(--gradient-purple); border-radius: var(--radius-xl);
    height: 350px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; color: var(--white);
    border: 1px solid rgba(123, 44, 191, 0.3);
    box-shadow: var(--shadow-glow);
}
.image-placeholder i { font-size: 3.5rem; margin-bottom: 15px; opacity: 0.8; }
.image-placeholder span { font-size: 1.1rem; opacity: 0.9; }

/* ===== Mission & Vision ===== */
.mission-vision { padding: 80px 40px; background: var(--black-light); }
.mv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; }
.mv-card {
    background: var(--black-card); padding: 50px 40px; border-radius: var(--radius-xl);
    border: 1px solid var(--border-color); position: relative; overflow: hidden;
    transition: var(--transition-glow);
}
.mv-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 3px; background: var(--gradient-purple);
}
.mv-card:hover {
    border-color: var(--purple);
    box-shadow: var(--shadow-glow);
}
.mv-icon {
    width: 64px; height: 64px; background: var(--gradient-purple);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; margin-bottom: 24px;
    box-shadow: 0 4px 12px var(--purple-glow);
}
.mv-icon i { font-size: 1.5rem; color: var(--white); }
.mv-card h3 { font-size: 1.5rem; margin-bottom: 14px; color: var(--white); font-weight: 600; }
.mv-card p { color: var(--silver-muted); line-height: 1.8; font-size: 0.95rem; }

/* ===== Values Section ===== */
.values-section { padding: 100px 40px; background: var(--black); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.value-card {
    text-align: center; padding: 40px 28px;
    border: 1px solid transparent; border-radius: var(--radius-lg);
    transition: var(--transition-glow);
}
.value-card:hover {
    border-color: var(--border-hover);
    background: var(--black-card);
}
.value-icon {
    width: 72px; height: 72px; margin: 0 auto 20px;
    background: var(--black-card); border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition-glow);
}
.value-card:hover .value-icon {
    border-color: var(--purple);
    box-shadow: var(--shadow-glow-sm);
}
.value-icon i { font-size: 1.6rem; color: var(--silver-muted); transition: var(--transition-color); }
.value-card:hover .value-icon i { color: var(--purple); }
.value-card h4 { font-size: 1.1rem; margin-bottom: 10px; color: var(--white); font-weight: 600; }
.value-card p { color: var(--silver-muted); font-size: 0.92rem; line-height: 1.6; }

/* ===== Timeline ===== */
.timeline-section { padding: 100px 40px; background: var(--black-light); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
    content: ''; position: absolute; left: 50%; top: 0;
    width: 2px; height: 100%;
    background: var(--border-hover);
    transform: translateX(-50%);
}
.timeline-item { position: relative; margin-bottom: 50px; display: flex; }
.timeline-item:nth-child(odd) { justify-content: flex-start; padding-right: 50%; }
.timeline-item:nth-child(even) { justify-content: flex-end; padding-left: 50%; }
.timeline-dot {
    position: absolute; left: 50%; top: 20px;
    width: 16px; height: 16px; background: var(--purple);
    border-radius: 50%; transform: translateX(-50%);
    border: 3px solid var(--black-light); z-index: 1;
    box-shadow: var(--shadow-glow-sm);
}
.timeline-content {
    background: var(--black-card); padding: 24px 28px;
    border-radius: var(--radius-lg); border: 1px solid var(--border-color);
    max-width: 350px; transition: var(--transition-glow);
}
.timeline-content:hover {
    border-color: var(--purple);
    box-shadow: var(--shadow-glow-sm);
}
.timeline-year {
    display: inline-block; background: var(--gradient-purple);
    color: var(--white); padding: 4px 14px; border-radius: var(--radius-full);
    font-size: 0.82rem; font-weight: 600; margin-bottom: 10px;
}
.timeline-content h4 { font-size: 1.1rem; margin-bottom: 8px; color: var(--white); font-weight: 600; }
.timeline-content p { color: var(--silver-muted); font-size: 0.92rem; line-height: 1.6; }

/* ===== Services Full Page ===== */
.services-full { padding: 80px 40px; background: var(--black); }
.service-detail {
    display: flex; align-items: center; gap: 60px;
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { flex-direction: row-reverse; }
.service-detail-icon {
    width: 140px; height: 140px; min-width: 140px;
    background: var(--gradient-purple); border-radius: var(--radius-xl);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px var(--purple-glow);
}
.service-detail-icon i { font-size: 3.2rem; color: var(--white); }
.service-detail-content { flex: 1; }
.service-detail-content h2 { font-size: 1.8rem; margin-bottom: 14px; color: var(--white); font-weight: 700; }
.service-detail-content > p { color: var(--silver-muted); margin-bottom: 24px; line-height: 1.8; font-size: 0.95rem; }
.service-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.service-features li { display: flex; align-items: center; gap: 10px; color: var(--silver); font-size: 0.92rem; }
.service-features i { color: var(--purple); font-size: 0.85rem; }

/* ===== Process Section ===== */
.process-section { padding: 100px 40px; background: var(--black-light); }
.process-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.process-step { text-align: center; flex: 1; min-width: 200px; max-width: 250px; }
.process-number {
    width: 56px; height: 56px; margin: 0 auto 20px;
    background: var(--gradient-purple); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; font-weight: 700; color: var(--white);
    box-shadow: 0 4px 12px var(--purple-glow);
}
.process-step h4 { font-size: 1.1rem; margin-bottom: 10px; color: var(--white); font-weight: 600; }
.process-step p { color: var(--silver-muted); font-size: 0.92rem; }

/* ===== Contact Section ===== */
.contact-section { padding: 80px 40px; background: var(--black); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; }
.contact-form-wrapper h2, .contact-info-wrapper h2 {
    font-size: 1.6rem; margin-bottom: 30px; color: var(--white); font-weight: 700;
}
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { grid-column: span 2; }
.form-group label {
    font-weight: 500; margin-bottom: 8px;
    color: var(--silver); font-size: 0.9rem;
}
.form-group input, .form-group select, .form-group textarea {
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit; font-size: 0.92rem;
    background: var(--black-card);
    color: var(--silver);
    transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: var(--shadow-glow-sm);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--silver-dim);
}
.contact-form .btn { grid-column: span 2; justify-self: start; }

.contact-info-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
    display: flex; align-items: flex-start; gap: 18px;
    padding: 20px;
    background: var(--black-card); border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-glow);
}
.contact-info-card:hover {
    border-color: var(--purple);
    box-shadow: var(--shadow-glow-sm);
}
.contact-info-icon {
    width: 48px; height: 48px; min-width: 48px;
    background: var(--gradient-purple); border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
}
.contact-info-icon i { color: var(--white); font-size: 1.1rem; }
.contact-info-text h4 { font-size: 0.95rem; margin-bottom: 4px; color: var(--white); font-weight: 600; }
.contact-info-text p { color: var(--silver-muted); font-size: 0.88rem; margin: 2px 0; }
.social-contact { margin-top: 30px; }
.social-contact h4 { font-size: 0.95rem; margin-bottom: 14px; color: var(--white); font-weight: 600; }
.social-contact .social-links a { border-color: var(--purple); color: var(--purple); }
.social-contact .social-links a:hover { background: var(--purple); color: var(--white); }

/* ===== Map Section ===== */
.map-section { padding: 60px 40px; background: var(--black-light); }
.map-placeholder {
    background: var(--black-card); border-radius: var(--radius-xl);
    height: 350px; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    border: 1px dashed var(--border-hover);
}
.map-placeholder i { font-size: 3.5rem; color: var(--purple); margin-bottom: 15px; }
.map-placeholder p { font-size: 1.1rem; color: var(--white); margin-bottom: 6px; }
.map-placeholder span { color: var(--silver-muted); font-size: 0.88rem; }

/* ===== FAQ Section ===== */
.faq-section { padding: 80px 40px; background: var(--black); }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); gap: 20px; }
.faq-item {
    background: var(--black-card); padding: 24px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition-glow);
}
.faq-item:hover {
    border-color: var(--border-hover);
}
.faq-item h4 {
    display: flex; align-items: center; gap: 12px;
    font-size: 1rem; margin-bottom: 12px; color: var(--white); font-weight: 600;
}
.faq-item h4 i { color: var(--purple); font-size: 0.9rem; }
.faq-item p { color: var(--silver-muted); line-height: 1.7; font-size: 0.92rem; }

/* ===== Blog Section ===== */
.blog-section { padding: 80px 40px; background: var(--black); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.blog-card {
    background: var(--black-card); border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    overflow: hidden; transition: var(--transition-glow);
    display: flex; flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--purple);
    box-shadow: var(--shadow-glow);
}
.blog-card-icon {
    background: var(--gradient-purple); padding: 36px;
    display: flex; align-items: center; justify-content: center;
}
.blog-card-icon i { font-size: 2.5rem; color: var(--white); }
.blog-card-content { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-category {
    display: inline-block;
    background: rgba(123, 44, 191, 0.15);
    color: var(--purple-light); padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem; font-weight: 600;
    margin-bottom: 14px; width: fit-content;
    letter-spacing: 0.5px;
}
.blog-card h2 { font-size: 1.2rem; margin-bottom: 12px; color: var(--white); line-height: 1.4; font-weight: 600; }
.blog-excerpt { color: var(--silver-muted); font-size: 0.92rem; margin-bottom: 14px; flex: 1; line-height: 1.6; }
.blog-meta { display: flex; gap: 18px; margin-bottom: 18px; font-size: 0.82rem; color: var(--silver-dim); }
.blog-meta i { color: var(--purple); margin-right: 5px; }
.btn-read-more {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--purple-light); font-weight: 600;
    font-size: 0.9rem; transition: var(--transition);
}
.btn-read-more:hover { gap: 12px; color: var(--purple); }

/* ===== Blog Article ===== */
.blog-article { padding: 120px 40px 80px; background: var(--black); }
.article-header { max-width: 800px; margin: 0 auto 40px; }
.back-link {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--purple-light); font-weight: 500; margin-bottom: 20px;
    transition: var(--transition); font-size: 0.92rem;
}
.back-link:hover { gap: 12px; color: var(--purple); }
.article-header h1 {
    font-size: 2.4rem; line-height: 1.3; margin: 15px 0 20px;
    color: var(--white); font-weight: 700;
}
.article-meta { display: flex; gap: 25px; flex-wrap: wrap; color: var(--silver-muted); font-size: 0.88rem; }
.article-meta i { color: var(--purple); margin-right: 8px; }
.article-content { max-width: 800px; margin: 0 auto; }
.article-content .intro {
    font-size: 1.1rem; line-height: 1.8; color: var(--silver);
    margin-bottom: 30px;
}
.article-content h2 { font-size: 1.5rem; margin: 40px 0 18px; color: var(--white); font-weight: 700; }
.article-content p { color: var(--silver-muted); line-height: 1.8; margin-bottom: 18px; font-size: 0.95rem; }
.article-content ul { margin: 18px 0; padding-left: 24px; }
.article-content ul li { color: var(--silver-muted); line-height: 1.8; margin-bottom: 10px; font-size: 0.95rem; }
.benefits-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 30px 0; }
.benefit-item {
    background: var(--black-card); padding: 24px; border-radius: var(--radius-lg);
    text-align: center; border: 1px solid var(--border-color);
    transition: var(--transition-glow);
}
.benefit-item:hover {
    border-color: var(--purple);
    box-shadow: var(--shadow-glow-sm);
}
.benefit-item i { font-size: 1.8rem; color: var(--purple); margin-bottom: 14px; }
.benefit-item h4 { font-size: 1rem; margin-bottom: 8px; color: var(--white); font-weight: 600; }
.benefit-item p { font-size: 0.88rem; color: var(--silver-muted); margin: 0; }
.cta-box {
    background: var(--gradient-cta); padding: 40px; border-radius: var(--radius-xl);
    text-align: center; margin-top: 50px;
    border: 1px solid rgba(123, 44, 191, 0.3);
    box-shadow: var(--shadow-glow);
}
.cta-box h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 14px; font-weight: 700; }
.cta-box p { color: rgba(255,255,255,0.85); margin-bottom: 24px; }

/* ===== Legal Section ===== */
.legal-section { padding: 60px 40px 100px; background: var(--black); }
.legal-nav {
    display: flex; gap: 16px; justify-content: center;
    margin-bottom: 50px; flex-wrap: wrap;
}
.legal-nav-link {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px;
    background: var(--black-card);
    border-radius: var(--radius-md); font-weight: 500;
    color: var(--silver-muted); font-size: 0.92rem;
    border: 1px solid var(--border-color);
    transition: var(--transition-glow);
}
.legal-nav-link:hover, .legal-nav-link.active {
    background: var(--gradient-purple); color: var(--white);
    border-color: var(--purple);
    box-shadow: var(--shadow-glow-sm);
}
.legal-content {
    max-width: 900px; margin: 0 auto 60px;
    padding: 44px;
    background: var(--black-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
}
.legal-content h2 {
    font-size: 1.8rem; margin-bottom: 24px; color: var(--white);
    display: flex; align-items: center; gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
}
.legal-content h2 i { font-size: 1.3rem; color: var(--purple); }
.legal-content .intro {
    font-size: 1rem; line-height: 1.8; color: var(--silver);
    margin-bottom: 28px; padding: 20px;
    background: var(--black-light); border-radius: var(--radius-md);
    border-left: 3px solid var(--purple);
}
.legal-content h3 { font-size: 1.2rem; margin: 28px 0 14px; color: var(--white); font-weight: 600; }
.legal-content p { color: var(--silver-muted); line-height: 1.8; margin-bottom: 14px; font-size: 0.95rem; }
.legal-content ul { margin: 14px 0; padding-left: 24px; }
.legal-content ul li { color: var(--silver-muted); line-height: 1.8; margin-bottom: 8px; font-size: 0.95rem; }
.legal-content a { color: var(--purple-light); font-weight: 500; transition: var(--transition-color); }
.legal-content a:hover { color: var(--purple); text-decoration: underline; }
.legal-contact {
    text-align: center; max-width: 900px; margin: 0 auto;
    padding: 36px; background: var(--black-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
}
.legal-contact p { margin-bottom: 20px; color: var(--silver); }
.legal-contact .btn i { margin-right: 8px; }

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .hero { flex-direction: column; text-align: center; padding: 120px 20px 60px; }
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { justify-content: center; }
    .hero-image { display: none; }
    .why-us .container { flex-direction: column; text-align: center; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .mv-grid { grid-template-columns: 1fr; }
    .timeline::before { left: 20px; }
    .timeline-item { padding-left: 60px !important; padding-right: 0 !important; justify-content: flex-start !important; }
    .timeline-dot { left: 20px !important; }
    .service-detail, .service-detail.reverse { flex-direction: column; text-align: center; }
    .service-features { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form .btn { grid-column: span 2; justify-self: center; }
    .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .navbar { padding: 14px 20px; }
    .nav-links {
        position: fixed; top: 64px; left: 0; right: 0;
        background: rgba(11, 11, 11, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column; align-items: center;
        padding: 30px 0; border-bottom: 1px solid var(--border-color);
        transform: translateY(-150%); transition: var(--transition);
    }
    .nav-links.active { transform: translateY(0); }
    .hamburger { display: flex; }
    .hero h1 { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    .page-hero h1 { font-size: 2.2rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { padding: 20px; }
    .stat-number { font-size: 2rem; }
    .about-content { flex-direction: column; }
    .contact-form { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    .contact-form .btn { grid-column: span 1; width: 100%; }
}

@media (max-width: 480px) {
    .hero { padding: 100px 15px 40px; }
    .hero h1 { font-size: 1.7rem; }
    .hero p { font-size: 0.95rem; }
    .btn { padding: 12px 24px; font-size: 0.9rem; }
    .service-detail-icon { width: 100px; height: 100px; min-width: 100px; border-radius: var(--radius-lg); }
    .service-detail-icon i { font-size: 2.5rem; }
    .process-grid { flex-direction: column; align-items: center; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
}

@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
    .article-header h1 { font-size: 1.8rem; }
    .benefits-box { grid-template-columns: 1fr; }
    .legal-content { padding: 24px 18px; }
    .legal-content h2 { font-size: 1.4rem; }
    .legal-nav-link { padding: 10px 18px; font-size: 0.85rem; }
}

/* ===== Glow Micro-interaction Utility ===== */
.glow-hover {
    transition: var(--transition-glow);
}
.glow-hover:hover {
    box-shadow: var(--shadow-glow);
    border-color: var(--purple) !important;
}

/* ===== Contact Links ===== */
.contact-info li a, .contact-info-text a {
    color: inherit; transition: var(--transition-color);
}
.contact-info li a:hover, .contact-info-text a:hover {
    color: var(--purple-light);
}
.contact-info-text a {
    color: var(--silver-muted);
}
.contact-info-text a:hover {
    color: var(--purple);
}

/* ===== Selection ===== */
::selection {
    background: rgba(123, 44, 191, 0.3);
    color: var(--white);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb {
    background: var(--silver-dark); border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

/* ===== Hero 3D Canvas ===== */
.hero {
    position: relative;
    overflow: hidden;
}
#hero-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 0;
    pointer-events: auto;
}
.hero-vignette {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, transparent 30%, rgba(11, 11, 11, 0.75) 100%);
    pointer-events: none;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
@media (max-width: 768px) {
    #hero-canvas {
        pointer-events: none;
        opacity: 0.6;
    }
}

/* ===== Page Hero 3D Canvas (inner pages) ===== */
.page-hero,
.odoo-hero {
    position: relative;
    overflow: hidden;
}
.page-hero .container,
.odoo-hero .container {
    position: relative;
    z-index: 2;
}
.page-hero #hero-canvas,
.odoo-hero #hero-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 0;
    pointer-events: none;
}
.page-hero .hero-vignette {
    background: radial-gradient(ellipse at 50% 45%, transparent 30%, rgba(11, 11, 11, 0.72) 100%);
}
.odoo-hero .hero-vignette {
    background: radial-gradient(ellipse at 50% 40%, transparent 35%, rgba(11, 11, 11, 0.68) 100%);
}
@media (max-width: 768px) {
    .page-hero #hero-canvas,
    .odoo-hero #hero-canvas {
        opacity: 0.5;
    }
}

/* ===== Odoo Addons Page ===== */
.odoo-hero {
    padding: 150px 40px 80px; text-align: center;
    background: var(--gradient-hero);
    position: relative; overflow: hidden;
}
.odoo-hero::before {
    content: ''; position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 900px; height: 500px;
    background: radial-gradient(ellipse, rgba(123, 44, 191, 0.07) 0%, transparent 55%);
    pointer-events: none;
}
.odoo-hero .odoo-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(123, 44, 191, 0.12);
    border: 1px solid rgba(123, 44, 191, 0.25);
    color: var(--purple-light);
    padding: 8px 20px; border-radius: var(--radius-full);
    font-size: 0.85rem; font-weight: 600;
    margin-bottom: 20px; letter-spacing: 0.5px;
}
.odoo-hero .odoo-badge i { font-size: 0.95rem; }
.odoo-hero h1 {
    font-size: 3rem; color: var(--white);
    margin-bottom: 14px; font-weight: 700; letter-spacing: -0.5px;
}
.odoo-hero p {
    font-size: 1.1rem; color: var(--silver-muted);
    max-width: 650px; margin: 0 auto; line-height: 1.7;
}

/* Certifications */
.cert-section {
    padding: 100px 40px;
    background: var(--black);
}
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.cert-card {
    background: var(--black-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition-glow);
    position: relative;
    overflow: hidden;
}
.cert-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--gradient-purple);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.cert-card:hover {
    border-color: var(--purple);
    box-shadow: var(--shadow-glow);
}
.cert-card:hover::before { opacity: 1; }
.cert-card .cert-version {
    font-size: 2.4rem; font-weight: 800;
    background: var(--gradient-purple);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}
.cert-card h3 {
    font-size: 1rem; color: var(--white);
    margin-bottom: 8px; font-weight: 600;
}
.cert-card p {
    font-size: 0.85rem; color: var(--silver-muted); line-height: 1.6;
}
.cert-card .cert-icon {
    width: 56px; height: 56px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
    box-shadow: 0 4px 12px var(--purple-glow);
}
.cert-card .cert-icon i { font-size: 1.3rem; color: var(--white); }

/* Dev Certification Badge */
.cert-badge-section {
    padding: 80px 40px;
    background: var(--black-light);
}
.cert-badge-card {
    max-width: 800px; margin: 0 auto;
    background: var(--black-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    display: flex; align-items: center; gap: 40px;
    transition: var(--transition-glow);
    position: relative; overflow: hidden;
}
.cert-badge-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--gradient-purple);
}
.cert-badge-card:hover {
    border-color: var(--purple);
    box-shadow: var(--shadow-glow);
}
.cert-badge-icon {
    width: 90px; height: 90px; min-width: 90px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 24px var(--purple-glow);
}
.cert-badge-icon i { font-size: 2.2rem; color: var(--white); }
.cert-badge-content h2 {
    font-size: 1.6rem; color: var(--white); margin-bottom: 12px; font-weight: 700;
}
.cert-badge-content p {
    color: var(--silver-muted); line-height: 1.7; font-size: 0.95rem; margin-bottom: 16px;
}
.cert-badge-content .badge-tags {
    display: flex; gap: 10px; flex-wrap: wrap;
}
.badge-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(123, 44, 191, 0.12);
    border: 1px solid rgba(123, 44, 191, 0.2);
    color: var(--purple-light);
    padding: 6px 14px; border-radius: var(--radius-full);
    font-size: 0.8rem; font-weight: 600;
}

/* Modules Grid */
.modules-section {
    padding: 100px 40px;
    background: var(--black);
}
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.module-card {
    background: var(--black-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    transition: var(--transition-glow);
    position: relative; overflow: hidden;
}
.module-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--gradient-purple);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.module-card:hover {
    border-color: var(--purple);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}
.module-card:hover::before { opacity: 1; }
.module-card .module-icon {
    width: 52px; height: 52px;
    background: var(--black-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    transition: var(--transition-glow);
}
.module-card:hover .module-icon {
    border-color: var(--purple);
    box-shadow: var(--shadow-glow-sm);
}
.module-card .module-icon i { font-size: 1.3rem; color: var(--purple); }
.module-card h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 8px; font-weight: 600; }
.module-card p { font-size: 0.88rem; color: var(--silver-muted); line-height: 1.6; }
.module-card .module-tag {
    display: inline-block;
    background: rgba(123, 44, 191, 0.1);
    color: var(--purple-light);
    padding: 3px 10px; border-radius: var(--radius-full);
    font-size: 0.72rem; font-weight: 600;
    margin-top: 14px;
    letter-spacing: 0.3px;
}

/* Expertise */
.expertise-section {
    padding: 80px 40px;
    background: var(--black-light);
}
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.expertise-card {
    background: var(--black-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition-glow);
}
.expertise-card:hover {
    border-color: var(--border-hover);
}
.expertise-card i { font-size: 1.4rem; color: var(--purple); margin-bottom: 16px; }
.expertise-card h3 { font-size: 1.15rem; color: var(--white); margin-bottom: 10px; font-weight: 600; }
.expertise-card p { font-size: 0.9rem; color: var(--silver-muted); line-height: 1.7; }

/* Odoo CTA */
.odoo-cta {
    padding: 80px 40px; text-align: center;
    background: var(--black);
    position: relative;
}
.odoo-cta::before {
    content: ''; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 500px; height: 400px;
    background: radial-gradient(circle, var(--purple-glow-subtle) 0%, transparent 55%);
    border-radius: 50%; pointer-events: none;
}
.odoo-cta h2 { font-size: 2.2rem; margin-bottom: 16px; color: var(--white); font-weight: 700; position: relative; }
.odoo-cta p { color: var(--silver-muted); margin-bottom: 32px; font-size: 1.05rem; position: relative; max-width: 600px; margin-left: auto; margin-right: auto; }
.odoo-cta .btn { position: relative; }

@media (max-width: 768px) {
    .cert-badge-card { flex-direction: column; text-align: center; padding: 36px 24px; }
    .cert-badge-card::before { width: 100%; height: 4px; }
    .odoo-hero h1 { font-size: 2.2rem; }
    .modules-grid { grid-template-columns: 1fr; }
    .expertise-grid { grid-template-columns: 1fr; }
    .badge-tags { justify-content: center; }
}

/* ===== Theme Toggle ===== */
.theme-toggle {
    background: var(--black-card);
    border: 1px solid var(--border-color);
    color: var(--silver);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-glow);
    outline: none;
}

.theme-toggle:hover {
    border-color: var(--purple);
    box-shadow: var(--shadow-glow-sm);
    transform: translateY(-2px) rotate(180deg);
}

.theme-toggle i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

/* ===== Light Mode ===== */
body.light-mode {
    --black: #f8f9fa;
    --black-light: #ffffff;
    --black-card: #ffffff;
    --black-alt: #f0f2f5;
    --purple: #7B2CBF;
    --purple-dark: #3C096C;
    --purple-light: #9D4EDD;
    --purple-glow: rgba(123, 44, 191, 0.4);
    --purple-glow-subtle: rgba(123, 44, 191, 0.15);
    --silver: #2d3436;
    --silver-muted: #64748b;
    --silver-dim: #94a3b8;
    --silver-dark: #e2e8f0;
    --white: #0f172a;
    --border-color: rgba(45, 55, 72, 0.12);
    --border-hover: rgba(123, 44, 191, 0.25);
    --gradient-hero: linear-gradient(180deg, #ffffff 0%, #f0f2f5 100%);
    --gradient-section-alt: linear-gradient(180deg, #f0f2f5 0%, #ffffff 100%);
}

body.light-mode .header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(45, 55, 72, 0.08);
    backdrop-filter: blur(16px);
}

body.light-mode .logo-text {
    color: var(--black);
}

body.light-mode .nav-links a {
    color: var(--silver);
}

body.light-mode .nav-links a.active {
    color: var(--purple);
}

body.light-mode .hero {
    background: linear-gradient(180deg, #e8f5fd 0%, #ffffff 100%);
}

body.light-mode .hero h1 {
    color: var(--black);
}

body.light-mode .hero p {
    color: var(--silver-muted);
}

body.light-mode .service-card {
    background: var(--black-card);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

body.light-mode .service-card:hover {
    border-color: var(--purple);
    box-shadow: 0 8px 32px var(--purple-glow);
}

body.light-mode .service-icon {
    background: linear-gradient(135deg, #f3e8ff 0%, #e0e7ff 100%);
}

body.light-mode .service-icon i {
    color: var(--purple);
}

body.light-mode .section-title {
    color: var(--black);
}

body.light-mode .section-subtitle {
    color: var(--silver-muted);
}

body.light-mode .footer {
    background: var(--black-light);
    border-top: 1px solid var(--border-color);
}

body.light-mode .footer h4 {
    color: var(--black);
}

body.light-mode .footer a,
body.light-mode .footer p {
    color: var(--silver-muted);
}

body.light-mode .footer ul li a {
    color: var(--silver);
}

body.light-mode .footer ul li a:hover {
    color: var(--purple);
}

/* Theme transition */
body {
    transition: background-color 0.4s ease, color 0.4s ease;
}

body.light-mode * {
    transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}



/* ===== Chat Widget Flotante ===== */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Botón Toggle */
.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-purple);
    border: 2px solid rgba(123, 44, 191, 0.3);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--purple-glow);
    transition: var(--transition-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.chat-toggle-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px var(--purple-glow);
}

.chat-toggle-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.chat-toggle-btn .fa-comments {
    transition: transform 0.3s ease;
}

.chat-toggle-btn:hover .fa-comments {
    transform: scale(1.1);
}

/* Ventana de Chat */
.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 520px;
    max-height: calc(100vh - 120px);
    background: var(--black-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 60px var(--purple-glow-subtle);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header del Chat */
.chat-header {
    background: var(--gradient-purple);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

.chat-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}

.chat-status.online {
    color: #4ADE80;
}

.chat-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chat-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Messages Container */
.chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: var(--black);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: var(--black-alt);
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--silver-dark);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: var(--purple);
}

/* Mensajes */
.chat-message {
    display: flex;
    gap: 10px;
    max-width: 85%;
    animation: messageSlide 0.3s ease;
}

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

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

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.user-message .message-avatar {
    background: var(--silver-dark);
}

.message-content {
    background: var(--black-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 14px;
}

.user-message .message-content {
    background: var(--purple-glow-subtle);
    border-color: var(--purple);
}

.message-content p {
    margin: 0;
    color: var(--silver);
    font-size: 0.92rem;
    line-height: 1.5;
}

.user-message .message-content p {
    color: var(--white);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 8px 12px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--silver-muted);
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-8px);
    }
}

/* Input Area */
.chat-input-area {
    padding: 16px;
    background: var(--black-card);
    border-top: 1px solid var(--border-color);
}

.chat-form {
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    background: var(--black);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--silver);
    font-size: 0.92rem;
    outline: none;
    transition: var(--transition-color);
}

.chat-input::placeholder {
    color: var(--silver-dim);
}

.chat-input:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 2px var(--purple-glow-subtle);
}

.chat-send-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--gradient-purple);
    border: none;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-glow);
    box-shadow: 0 2px 8px var(--purple-glow-subtle);
}

.chat-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--purple-glow);
}

.chat-send-btn:active {
    transform: translateY(0);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .chat-widget {
        bottom: 16px;
        right: 16px;
    }
    
    .chat-toggle-btn {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }
    
    .chat-window {
        width: calc(100vw - 32px);
        height: 60vh;
        bottom: 72px;
        right: 0;
        max-height: calc(100vh - 100px);
    }
    
    .chat-header {
        padding: 16px;
    }
    
    .chat-messages {
        padding: 12px;
    }
    
    .chat-input-area {
        padding: 12px;
    }
}

/* Animation para notificación de nuevo mensaje */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px var(--purple-glow);
    }
    50% {
        box-shadow: 0 4px 20px var(--purple-glow), 0 0 0 8px var(--purple-glow-subtle);
    }
}

.chat-toggle-btn.has-notification {
    animation: pulse 2s ease-in-out infinite;
}

/* ===== Language Selector ===== */
.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--black-card);
    color: var(--silver);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-glow);
    font-size: 1.1rem;
    font-family: inherit;
    padding: 0;
    outline: none;
}

.language-btn:hover {
    border-color: var(--purple);
    box-shadow: var(--shadow-glow-sm);
    transform: translateY(-2px);
}

.language-btn.active {
    background: var(--gradient-purple);
    border-color: var(--purple);
    color: var(--white);
    box-shadow: var(--shadow-glow-sm);
}

/* ===== Navbar con Iconos ===== */
.nav-link-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-link-icon i {
    font-size: 1.1rem;
}

/* ===== Nuevo Navbar Layout ===== */
.navbar .nav-links {
    gap: 12px;
    align-items: center;
}

.navbar .nav-links li {
    display: flex;
    align-items: center;
}

.navbar .nav-links a.nav-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    color: var(--silver-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-glow);
    font-size: 1.2rem;
    padding: 0;
    text-decoration: none;
}

/* Ocultar cualquier texto dentro de los botones de iconos del navbar */
.navbar .nav-links a.nav-icon-btn span,
.navbar .nav-links a.nav-icon-btn i + span,
.navbar .nav-links a.nav-icon-btn::before,
.navbar .nav-links a.nav-icon-btn::after {
    display: none !important;
}

/* Solo mostrar el icono */
.navbar .nav-links a.nav-icon-btn i {
    font-size: 1.2rem;
    display: flex !important;
}

.navbar .nav-links a.nav-icon-btn:hover {
    color: var(--purple);
    background: var(--black-card);
    border-color: var(--border-color);
    box-shadow: var(--shadow-glow-sm);
    transform: translateY(-2px);
}

.navbar .nav-links a.nav-icon-btn.active {
    color: var(--purple);
    background: rgba(123, 44, 191, 0.1);
    border-color: var(--purple);
}

/* ===== Navbar Tooltip ===== */
.nav-icon-btn {
    position: relative;
}

.nav-icon-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--purple-dark);
    color: var(--white);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 1001;
}

.nav-icon-btn:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -36px;
}

/* ===== Control de Botones (Theme Toggle + Languages) ===== */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-controls .theme-toggle,
.nav-controls .language-btn {
    width: 44px;
    height: 44px;
}

/* ===== Responsive para Navbar con Iconos ===== */
@media (max-width: 768px) {
    .navbar .nav-links {
        gap: 12px;
    }

    .nav-icon-btn::after {
        display: none;
    }

    .language-selector {
        gap: 6px;
    }

    .language-btn,
    .nav-icon-btn {
        width: 40px;
        height: 40px;
    }
}

