/* ==========================================================================
   GLOBAL.CSS - CORE DESIGN SYSTEM & UTILITIES (SEO & WPO OPTIMIZED)
   ========================================================================== */

/* =========================================
   1. VARIABLES & DESIGN SYSTEM
   ========================================= */
:root {
    --bg-60: #F5F7FA;          
    --white: #FFFFFF;
    --brand-30-main: #2247ff;  
    --brand-30-navy: #071D49;  
    --text-dark: #333333;      
    --text-light: #5E6C81;
    --action-10: #6D28D9;      
    --action-hover: #8B5CF6; 

    --bg-canvas: var(--bg-60);
    --surface-white: var(--white);
    --brand-blue: var(--brand-30-main);
    --brand-navy: var(--brand-30-navy);
    --brand-purple: var(--action-10);
    --brand-purple-hover: var(--action-hover);
    --text-main: var(--text-dark);

    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Work Sans', sans-serif;

    --gradient-tech: linear-gradient(135deg, var(--brand-blue), var(--brand-purple));
    --bg-pattern: radial-gradient(rgba(0, 87, 184, 0.1) 1px, transparent 1px);
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.4);
    --blur: blur(12px);

    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-soft: 0 10px 40px -10px rgba(0,87,184,0.1);
    --shadow-float: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 40px rgba(7, 29, 73, 0.12);
    --shadow-glow: 0 0 25px rgba(109, 40, 217, 0.4);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);

    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-pill: 100px;
    --border-radius-btn: var(--radius-pill);
}

/* =========================================
   2. TYPOGRAPHY & ANIMATIONS
   ========================================= */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2') format('woff2');
}

@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-15px); } }
@keyframes pulseGlow { 0% { opacity: 0.6; } 100% { opacity: 1; } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* =========================================
   3. RESET, BASE & UTILITIES
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body); color: var(--text-main);
    background-color: var(--bg-canvas); background-image: var(--bg-pattern);
    background-size: 40px 40px; background-attachment: fixed;
    line-height: 1.6; overflow-x: hidden; /*opacity: 0;*/ transition: opacity 0.3s;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--brand-navy); line-height: 1.2; font-weight: 800; letter-spacing: -0.5px; }
p { margin-bottom: 1.5rem; color: var(--text-main); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; height: auto; }

/* Mejora de Best Practices y Performance */
h1, h2, h3, h4, p, span, a, button { font-display: swap; }

.container { width: 90%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 6rem 0; }
.border-y { border-top: 1px solid rgba(0,0,0,0.05); border-bottom: 1px solid rgba(0,0,0,0.05); }
.border-t { border-top: 1px solid rgba(0,0,0,0.05); }
.content-visibility-auto { content-visibility: auto; contain-intrinsic-size: 1px 1000px; }

.bg-canvas { background-color: var(--bg-canvas); }
.bg-60 { background-color: var(--bg-60); }
.bg-white { background-color: var(--white); }
.color-purple { color: var(--brand-purple); }
.color-navy { color: var(--brand-navy); }
.color-light { color: var(--text-light); }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-gradient { background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%); -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; display: inline-block !important; }
.text-lead { font-size: 1.25rem; color: var(--text-light); }
.text-lead-sm { font-size: 1.1rem; color: var(--text-main); }
.text-md { font-size: 0.95rem; }
.text-sm { font-size: 0.85rem; }
.fw-700 { font-weight: 700; }

.max-w-md { max-width: 600px; margin-inline: auto; }
.max-w-lg { max-width: 700px; margin-inline: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-1-5rem { margin-bottom: 1.5rem; }
.mb-2rem { margin-bottom: 2rem; }
.mb-3rem { margin-bottom: 3rem; }
.mb-4rem { margin-bottom: 4rem; }
.mt-1rem { margin-top: 1rem; }
.mt-1-5rem { margin-top: 1.5rem; }
.mt-2rem { margin-top: 2rem; }
.mt-2-5rem { margin-top: 2.5rem; }
.mr-1rem { margin-right: 1rem; }
.pt-2rem { padding-top: 2rem; }
.mt-auto { margin-top: auto; }
.gap-10 { gap: 10px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.w-100 { width: 100%; }
.min-h-screen { min-height: 100vh; }
.position-relative { position: relative; }
.z-1 { z-index: 1; }

.d-none { display: none !important; }
.d-block { display: block !important; }

.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* =========================================
   4. UI COMPONENTS (Buttons & Badges)
   ========================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 14px 28px; border-radius: var(--radius-pill); font-weight: 600; font-size: 1rem; cursor: pointer; transition: var(--transition-smooth); position: relative; overflow: hidden; z-index: 1; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-primary { background-color: var(--brand-purple); color: var(--white); box-shadow: 0 4px 14px 0 rgba(109, 40, 217, 0.39); border: 1px solid transparent; }
.btn-primary:hover { background-color: var(--brand-purple-hover); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-secondary { background: transparent; color: var(--brand-blue); border: 2px solid var(--brand-blue); }
.btn-secondary:hover { background: rgba(0,87,184,0.05); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-white-cta { background: var(--white); color: var(--brand-purple); font-size: 1.1rem; padding: 16px 32px; font-weight: 700; }
.btn-white-cta:hover { background: var(--bg-60); transform: translateY(-2px); box-shadow: var(--shadow-float); }

.chip, .badge { display: inline-block; padding: 0.5rem 1rem; background: rgba(0, 87, 184, 0.1); color: var(--brand-blue); border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 700; margin-bottom: 1rem; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; }
.badge-blue { background: rgba(0, 87, 184, 0.1); color: var(--brand-blue); border: 1px solid transparent; }
.badge-navy { background: var(--brand-navy); color: var(--white); border: 1px solid transparent; }
.chip-purple { background: rgba(109, 40, 217, 0.1); color: var(--brand-purple); }

.link-text { color: var(--brand-purple); font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; }
.link-text:hover { color: var(--brand-purple-hover); transform: translateX(5px); }
.icon-box { width: 50px; height: 50px; border-radius: 12px; background: rgba(109, 40, 217, 0.1); color: var(--brand-blue); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.icon-box-purple { background: rgba(109, 40, 217, 0.1); color: var(--brand-purple); }
.icon-box-transparent { background: rgba(109, 40, 217, 0.1); } 

/* =========================================
   5. HEADER & NAVIGATION
   ========================================= */
header { position: fixed; top: 0; width: 100%; z-index: 1000; background: var(--glass-bg); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border-bottom: var(--glass-border); transition: var(--transition-smooth); }
header.scrolled { box-shadow: 0 5px 20px rgba(0,0,0,0.05); padding: 0.2rem 0; background: rgba(255, 255, 255, 0.95); }
.nav-wrap { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; color: var(--brand-navy); letter-spacing: -1px; }
.logo span { color: var(--brand-purple); }
.logo img { max-width: 150px; transition: var(--transition); }
.nav-menu { display: flex; gap: 2.5rem; align-items: center; }
.nav-link { color: var(--brand-navy); font-weight: 500; font-size: 0.95rem; position: relative; }
.nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0; background: var(--brand-purple); transition: width 0.3s ease; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--brand-navy); transition: var(--transition); }
.page-header-spacer { padding-top: 80px; padding-bottom: 40px; text-align: center; }
.page-header-spacer h1 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1rem; }

/* =========================================
   6. GLOBAL HERO & COMMON LAYOUTS
   ========================================= */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 80px; overflow: hidden; }
.hero-internal { min-height: 85vh; padding-top: 100px; } 
.hero-bg {
    position: absolute; top: 0; right: 0; width: 55%; height: 100vh; z-index: -1;
    background: radial-gradient(circle at center, rgba(109,40,217,0.08), transparent 70%);
    background-image: url('../img/home_hero.webp?auto=format&fit=crop&w=1600&q=80');
    content-visibility: visible;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 50%);
    mask-image: linear-gradient(to right, transparent 0%, black 50%);
}
.bg-metodologia-hero { background-image: url('../img/metodologia_hero.webp?auto=format&fit=crop&w=1600&q=80'); content-visibility: visible; }
.bg-soluciones-hero { background-image: url('../img/solucion_hero.webp?auto=format&fit=crop&w=1600&q=80'); content-visibility: visible; }
.bg-casos-hero { background-image: url('../img/casos_hero.webp?auto=format&fit=crop&w=1600&q=80'); content-visibility: visible; }
.bg-recursos-hero { background-image: url('../img/recursos_hero.webp?auto=format&fit=crop&w=1600&q=80'); content-visibility: visible; }

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-content h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.5rem; letter-spacing: -1.5px; }
.hero-title-lg { font-size: clamp(2.5rem, 4vw, 3.8rem) !important; line-height: 1.1 !important; }
.hero-visual { position: relative; }
.hero-visual-center { min-height: 450px; display: flex; align-items: center; justify-content: center; }
.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.glass-decor-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 300px; height: 300px; background: rgba(255,255,255,0.03); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; z-index: 1; animation: float 7s ease-in-out infinite; }
.hero-float-card {
    background: var(--glass-bg); backdrop-filter: var(--blur); border: var(--glass-border); padding: 1.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-float);
    z-index: 2; display: flex; align-items: center; gap: 1rem; position: absolute; bottom: -30px; left: -30px; max-width: 250px; animation: float 5s ease-in-out infinite;
}
.float-card-bottom-left { bottom: -2%; left: 0; z-index: 3; animation: float 6s ease-in-out infinite; }
.float-card-top-right { top: 85%; right: 0; bottom: auto; left: auto; padding: 1rem; z-index: 3; animation: float 5s ease-in-out infinite reverse; }
.float-card-title { display: block; font-weight: 800; color: var(--brand-navy); font-size: 1.1rem; }
.float-card-subtitle { font-size: 0.8rem; color: var(--text-light); font-weight: 500; }

/* Global Split Section */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 4rem;}
.method-list { list-style: none; counter-reset: my-counter; }
.method-item { position: relative; padding-left: 4.5rem; margin-bottom: 2.5rem; }
.method-item-lg { position: relative; padding-left: 3.5rem; margin-bottom: 2.5rem; }
.method-item::before, .method-item-lg::before { content: "0" counter(my-counter); counter-increment: my-counter; position: absolute; left: 0; top: -5px; font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1px rgba(0,87,184,0.3); transition: var(--transition); }
.method-item:hover::before, .method-item-lg:hover::before { color: rgba(109,40,217,0.1); -webkit-text-stroke: 1px var(--brand-purple); transform: scale(1.1); }
.method-title { font-size: 1.4rem; margin-bottom: 0.5rem; }
.method-desc { font-size: 1rem; color: var(--text-light); }
.method-img { border-radius: var(--radius-xl); box-shadow: var(--shadow-hover); position: relative; z-index: 2; width: 100%; aspect-ratio: 4/3; }

/* Global CTA Box */
.cta-box { background: var(--gradient-tech); border-radius: var(--radius-xl); padding: 5rem 2rem; text-align: center; color: var(--white); position: relative; overflow: hidden; box-shadow: var(--shadow-glow); }
.cta-box h2 { color: var(--white); margin-bottom: 1.5rem; font-size: clamp(2rem, 4vw, 3rem);}
.cta-box-subtitle { margin: 0 auto 2rem; color: rgba(255,255,255,0.9); font-size: 1.15rem; }
.cta-circle { position: absolute; background: rgba(255,255,255,0.1); border-radius: 50%; filter: blur(10px); }
.cta-circle-1 { width: 300px; height: 300px; top: -100px; left: -100px; }
.cta-circle-2 { width: 250px; height: 250px; bottom: -80px; right: -50px; background: rgba(0,87,184,0.3); }

/* =========================================
   7. FOOTER & FLOATING ACTIONS
   ========================================= */
footer { background: var(--white); padding: 4rem 0 2rem; border-top: 1px solid rgba(0,0,0,0.05); font-size: 0.95rem; color: var(--text-light); }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3rem; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; align-items: center;}
.footer-links a:hover { color: var(--brand-purple); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(0,0,0,0.05); text-align: center; font-size: 0.85rem; }

.floating-cta-container { position: fixed; bottom: 30px; right: 30px; z-index: 100; transform: translateY(100px) scale(0.9); opacity: 0; visibility: hidden; transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.floating-cta-container.visible { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }
.page-agenda .floating-cta-container { display: none !important; }

button.floating-btn, .floating-btn { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.9); backdrop-filter: var(--blur); border: 1px solid rgba(109, 40, 217, 0.2); padding: 8px 24px 8px 8px; border-radius: 50px; color: var(--brand-navy); box-shadow: var(--shadow-hover); cursor: pointer; font-family: inherit; }
.avatar-sm { position: relative; width: 45px; height: 45px; }
.avatar-sm img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--white); }
.status-dot { position: absolute; bottom: 2px; right: 2px; width: 12px; height: 12px; background: #10B981; border-radius: 50%; border: 2px solid var(--white); animation: pulseGlow 2s infinite; }
.avatar-mi { position: relative; width: 100%; height: 80%; }
.avatar-mi img { width: 100%; height: 100%; border-radius: 10%; object-fit: cover; border: 2px solid var(--white); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-success { background: #10B981; }
.pulse-animation { animation: pulseGlow 2s infinite; }

/* Chat IA Widget */
.chat-widget-wrapper { position: fixed; bottom: 100px; right: 30px; width: 360px; height: 550px; max-height: calc(100vh - 120px); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-hover); border: 1px solid rgba(0,0,0,0.05); display: flex; flex-direction: column; z-index: 1000; overflow: hidden; transform: translateY(20px) scale(0.95); opacity: 0; visibility: hidden; transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); transform-origin: bottom right; }
.chat-widget-wrapper.active { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }
.page-agenda .chat-widget-wrapper { display: none !important; }
.chat-header { background: var(--brand-navy); padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.1); }
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-title-group h4 { color: var(--white); margin: 0; font-size: 1.05rem; }
.chat-title-group span { color: #10B981; font-size: 0.75rem; font-weight: 600; display: block; }
.btn-close-chat { background: transparent; border: none; color: rgba(255,255,255,0.6); font-size: 1.2rem; cursor: pointer; transition: var(--transition); }
.btn-close-chat:hover { color: var(--white); transform: scale(1.1); }
.chat-messages-area { flex: 1; padding: 1.5rem; overflow-y: auto; background: var(--bg-60); display: flex; flex-direction: column; gap: 1rem; scrollbar-width: thin; }
.chat-messages-area::-webkit-scrollbar { width: 6px; }
.chat-messages-area::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 10px; }
.chat-msg { display: flex; flex-direction: column; max-width: 85%; animation: fadeInRight 0.3s ease; }
.msg-bubble { padding: 0.85rem 1.2rem; font-size: 0.9rem; line-height: 1.5; box-shadow: var(--shadow-sm); }
.msg-time { font-size: 0.7rem; color: var(--text-light); margin-top: 5px; }
.bot-msg { align-self: flex-start; }
.bot-msg .msg-bubble { background: var(--white); color: var(--text-dark); border-radius: 16px 16px 16px 4px; border: 1px solid rgba(0,0,0,0.03); }
.user-msg { align-self: flex-end; align-items: flex-end; }
.user-msg .msg-bubble { background: var(--brand-purple); color: var(--white); border-radius: 16px 16px 4px 16px; }
.chat-input-form { padding: 1rem; background: var(--white); border-top: 1px solid rgba(0,0,0,0.05); display: flex; align-items: center; gap: 10px; }
.chat-input { flex: 1; border: 1px solid rgba(0,0,0,0.1); background: var(--bg-60); padding: 12px 15px; border-radius: 100px; font-family: var(--font-body); font-size: 0.9rem; outline: none; transition: var(--transition); }
.chat-input:focus { border-color: var(--brand-purple); background: var(--white); }
.chat-input:disabled { background-color: var(--bg-canvas); opacity: 0.7; cursor: not-allowed; }
.chat-send-btn { width: 42px; height: 42px; border-radius: 50%; background: var(--brand-blue); color: var(--white); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); flex-shrink: 0; }
.chat-send-btn:hover { background: var(--brand-purple); transform: scale(1.05); box-shadow: var(--shadow-glow); }
.chat-send-btn:disabled { background-color: var(--text-light); opacity: 0.6; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.chat-typing-container { padding: 0.8rem 1.2rem; background: var(--bg-60); border-radius: 12px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 8px; align-self: flex-start; max-width: 85%; border: 1px solid rgba(0,0,0,0.03); box-shadow: var(--shadow-sm); animation: fadeInRight 0.3s ease; }
.typing-dots { display: flex; gap: 4px; align-items: center; }
.dot-typing { width: 6px; height: 6px; background: var(--brand-purple); border-radius: 50%; animation: typing 1.4s infinite ease-in-out both; }
.dot-typing:nth-child(1) { animation-delay: -0.32s; }
.dot-typing:nth-child(2) { animation-delay: -0.16s; }
.chat-dynamic-tip { font-size: 0.8rem; color: var(--text-main); font-style: italic; line-height: 1.4; transition: opacity 0.3s ease; }
.chat-dynamic-tip a { color: var(--brand-purple); font-weight: 700; text-decoration: underline; pointer-events: all; }
.chat-dynamic-tip a:hover { color: var(--brand-navy); }

/* =========================================
   8. GLOBAL RESPONSIVE (CORE)
   ========================================= */
@media (min-width: 969px) {
    .d-lg-none { display: none !important; }
    .d-lg-block { display: block !important; }
}

@media (max-width: 968px) {
    .section-padding { padding: 4rem 0; }
    .split-section { grid-template-columns: 1fr; gap: 3rem; }
    .nav-menu { position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background: var(--white); flex-direction: column; justify-content: center; box-shadow: -10px 0 30px rgba(0,0,0,0.1); transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
    .nav-menu.active { right: 0; }
    .mobile-toggle { display: block; z-index: 1001; }
    
    .hero { min-height: 100svh !important; padding-top: 100px !important; display: flex; flex-direction: column; background-color: var(--white); }
    .hero-grid { grid-template-columns: 1fr; height: 100%; flex: 1; display: flex; flex-direction: column; padding-bottom: 0; gap: 0; }
    .hero-visual { display: none !important; }
    .hero-content { display: flex; flex-direction: column; flex: 1; z-index: 2; text-align: center; align-items: center; }
    .hero-content h1 { font-size: 2.2rem !important; margin-bottom: 1rem !important; }
    .hero-content p.text-lead { font-size: 1rem !important; margin-bottom: 1.5rem !important; color: var(--brand-navy) !important; }
    .hero-subtitle { display: none !important; }
    .hero-bg { top: auto !important; bottom: 0 !important; right: 0; width: 100% !important; height: 50vh !important; opacity: 1 !important; background-color: transparent !important; z-index: 0 !important; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 35%) !important; mask-image: linear-gradient(to bottom, transparent 0%, black 35%) !important; }
    .hero-cta-group { margin-top: auto !important; padding-bottom: 2.5rem; flex-direction: column; gap: 0.8rem; width: 100%; align-items: center; z-index: 10; }
    .hero-cta-group .btn { width: 100%; max-width: 350px; }
    .hero-cta-group .btn-secondary { background-color: rgba(255, 255, 255, 0.95) !important; backdrop-filter: blur(8px); border-color: transparent !important; box-shadow: var(--shadow-sm); }
    
    .footer-links { flex-direction: column; }
}

@media (max-width: 480px) {
    .section-padding { padding: 3rem 0; }
    .hero-float-card { display: none; }
    .chat-widget-wrapper { bottom: 0; right: 0; width: 100%; height: 100%; max-height: 100vh; border-radius: 0; transform: translateY(100%); }
    .chat-header { border-radius: 0; padding: 1.2rem 1.5rem; }
    .chat-widget-wrapper.active ~ .floating-cta-container { visibility: hidden !important; opacity: 0 !important; }
}