/* ============================================
   FAROKEY WEBSITE STYLES V4.0 (HELIOS UI)
   Diseño: Premium B2B + Soft Shadows + UX Focus
   ============================================ */

/* === VARIABLES CSS === */
:root {
    /* Colores Brand */
    --color-primary: #00A3E0;
    --color-primary-dark: #0082B3;
    --color-primary-light: #33B5E8;
    --color-secondary: #FFD700;
    --color-accent: #FF6B00;
    
    /* Grises & Fondos */
    --color-dark: #1A1A1A;
    --color-gray-800: #2D2D2D;
    --color-gray-600: #555555; /* Ligeramente más oscuro para legibilidad */
    --color-gray-400: #999999;
    --color-gray-200: #E5E5E5;
    --color-gray-100: #F8F9FA; /* Gris más limpio */
    --color-white: #FFFFFF;
    
    /* Sistema de Sombras (Elevation) */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.02), 0 1px 2px rgba(0,0,0,0.03);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.02);
    --shadow-lg: 0 15px 35px rgba(0,0,0,0.08), 0 5px 15px rgba(0,0,0,0.04);
    --shadow-hover: 0 20px 40px rgba(0, 163, 224, 0.15), 0 10px 20px rgba(0,0,0,0.05);

    /* Tipografía Desktop */
    --font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --font-size-h1: 48px;
    --font-size-h2: 36px;
    --font-size-h3: 28px;
    --font-size-h4: 22px;
    
    /* Espaciado & Layout */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 64px;
    --spacing-xxl: 96px;
    --container-max-width: 1200px;
    --border-radius: 8px;
    --border-radius-large: 16px; /* Más suavidad */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Curva pro */
}

/* === RESET & BASE === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { 
    scroll-behavior: smooth; 
    font-size: var(--font-size-base); 
    scroll-padding-top: 80px; /* Fix para que el header no tape anclas */
}
body {
    font-family: var(--font-family);
    color: var(--color-dark);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased; /* Texto más nítido */
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* === TIPOGRAFÍA === */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin-bottom: var(--spacing-sm); letter-spacing: -0.02em; }
h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
p { margin-bottom: var(--spacing-sm); }
.highlight { color: var(--color-primary); }

/* === CONTAINER === */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* === SECTIONS === */
.section { padding: var(--spacing-xxl) 0; }
.section--gray { background-color: var(--color-gray-100); }
.section--highlight {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    color: var(--color-white);
}
.section__title { text-align: center; margin-bottom: var(--spacing-sm); color: var(--color-dark); }
.section--highlight .section__title { color: var(--color-white); }
.section__subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-gray-600);
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.section--highlight .section__subtitle { color: rgba(255, 255, 255, 0.95); }

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    letter-spacing: 0.5px;
}
.btn--primary { 
    background-color: var(--color-primary); 
    color: var(--color-white); 
    border-color: var(--color-primary);
    box-shadow: 0 4px 6px rgba(0, 163, 224, 0.2);
}
.btn--primary:hover { 
    background-color: var(--color-primary-dark); 
    transform: translateY(-2px); 
    box-shadow: 0 8px 15px rgba(0, 163, 224, 0.3); 
}
.btn--secondary { 
    background-color: var(--color-white); 
    color: var(--color-primary); 
    border-color: var(--color-white);
    box-shadow: var(--shadow-sm);
}
.btn--secondary:hover { 
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--color-primary-dark);
}
.btn--outline { background-color: transparent; color: var(--color-dark); border-color: var(--color-dark); }
.btn--outline:hover { background-color: var(--color-dark); color: var(--color-white); }
.btn--block { display: block; width: 100%; }
.btn--large { padding: 18px 48px; font-size: 1.125rem; }

/* === HEADER === */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; /* Header un poco más alto */
    padding: 0 var(--spacing-md);
}
.nav__logo-img { height: 44px; width: auto; }
.nav__menu { display: flex; gap: var(--spacing-md); align-items: center; }
.nav__link {
    font-weight: 500;
    color: var(--color-gray-800);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
}
.nav__link:hover { color: var(--color-primary); background-color: rgba(0, 163, 224, 0.08); }
.nav__link--cta { background-color: var(--color-primary); color: var(--color-white); box-shadow: 0 2px 5px rgba(0,163,224,0.2); }
.nav__link--cta:hover { background-color: var(--color-primary-dark); color: white; box-shadow: 0 4px 8px rgba(0,163,224,0.3); }
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.nav__toggle span {
    width: 25px; height: 3px; background-color: var(--color-dark); border-radius: 2px; transition: var(--transition);
}

/* === HERO === */
.hero {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
}
.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}
.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 10px;
    margin-bottom: 15px;
}
.badge--oceano { background: linear-gradient(135deg, #00A3E0 0%, #0082B3 100%); color: white; box-shadow: 0 4px 10px rgba(0,163,224,0.3); }
.badge--stat { background: white; color: var(--color-primary); border: 1px solid rgba(0,163,224,0.2); }

.hero__title-problema { display: block; font-size: 1.5rem; color: var(--color-gray-600); font-weight: 500; margin-bottom: 10px; }
.hero__title-solucion { display: block; font-size: 2.5rem; font-weight: 800; color: var(--color-dark); }
.highlight-alt { color: var(--color-primary); background: rgba(0, 163, 224, 0.1); padding: 0 5px; border-radius: 4px; }
.hero__subtitle { font-size: 1.125rem; color: var(--color-gray-600); margin-bottom: var(--spacing-lg); line-height: 1.8; }
.hero__diferenciacion {
    background: white; padding: var(--spacing-md); border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg); border-left: 5px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
}
.hero__diff-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.hero__ctas { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 25px; }
.hero__image img { 
    border-radius: var(--border-radius-large); 
    box-shadow: 0 15px 40px rgba(0, 163, 224, 0.15); 
    border: 4px solid white;
}

/* === TABLAS & CARDS COMPETENCIA === */
.comparativa-tabla { display: none; }
.comparativa-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-md); }
.comparativa__card { 
    background: white; 
    border-radius: var(--border-radius-large); 
    padding: var(--spacing-lg); 
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}
.comparativa__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.comparativa__card--farokey { border: 2px solid var(--color-primary); background: #F8FDFF; }

@media (min-width: 900px) {
    .comparativa-tabla { display: block; }
    .comparativa-cards { display: none; }
}

.tabla-competitiva {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-large);
    overflow: hidden;
}
.tabla-competitiva th, .tabla-competitiva td {
    padding: 20px;
    border-bottom: 1px solid var(--color-gray-200);
    text-align: center;
    vertical-align: middle;
}
.tabla-competitiva__header { background-color: var(--color-gray-100); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; color: var(--color-gray-600); }
.tabla-competitiva__header--farokey { background-color: rgba(0, 163, 224, 0.08); border-bottom: 3px solid var(--color-primary); color: var(--color-primary-dark); }
.tabla-competitiva__cell--highlight { background-color: rgba(0, 163, 224, 0.03); font-weight: 600; color: var(--color-primary-dark); }
.tabla-competitiva__cell--positive { color: #155724; background-color: #d4edda; font-weight: 500; border-radius: 4px; }
.tabla-competitiva__cell--negative { color: #721c24; background-color: #f8d7da; font-weight: 500; border-radius: 4px; }
.tabla-competitiva td:first-child { text-align: left; font-weight: 600; background-color: #fbfbfb; width: 20%; }

/* === OCEANO AZUL (REDESIGN) === */
.oceano-azul-redesign {
    margin-top: var(--spacing-xl);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    background: linear-gradient(135deg, #002A3D 0%, #004A70 100%);
    color: white;
    padding: var(--spacing-xl) 0;
    box-shadow: var(--shadow-lg);
    position: relative;
}
/* Ruido sutil para textura */
.oceano-azul-redesign::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.3; pointer-events: none;
}

.oa-container { max-width: var(--container-max-width); margin: 0 auto; padding: 0 var(--spacing-md); position: relative; z-index: 2; }
.oa-title { text-align: center; font-size: 2.5rem; margin-bottom: var(--spacing-xl); color: var(--color-white); text-shadow: 0 4px 8px rgba(0,0,0,0.3); }
.oa-content-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--spacing-xl); align-items: center; margin-bottom: var(--spacing-xl); }
.oa-matrix-box { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); padding: var(--spacing-lg); border-radius: var(--border-radius); backdrop-filter: blur(12px); }
.oa-subtitle { font-size: 1.15rem; margin-bottom: var(--spacing-md); color: rgba(255, 255, 255, 0.95); }
.oa-quadrant { 
    background: var(--color-primary); 
    color: white; padding: 30px; 
    border-radius: var(--border-radius); text-align: center; 
    border: 2px solid rgba(255, 255, 255, 0.3); 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); 
    transform: scale(1.05);
}
.oa-quadrant-icon { font-size: 2.5rem; display: block; margin-bottom: 15px; }
.oa-quadrant-text { font-size: 1.3rem; line-height: 1.4; font-weight: 500; }
.oa-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-md); }
.oa-stat { text-align: center; }
.oa-stat-number { display: block; font-size: 4rem; font-weight: 800; color: var(--color-secondary); line-height: 1; margin-bottom: 10px; text-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.oa-stat-label { font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.oa-footer { text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: var(--spacing-lg); }
.oa-main-tagline { font-size: 1.8rem; font-weight: 700; color: var(--color-white); margin-bottom: 8px; }
.oa-sub-tagline { font-size: 1.2rem; color: var(--color-primary-light); }

/* === CÓMO FUNCIONA (CARDS) === */
.como-funciona-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.cf-card {
    background: white;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}
.cf-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }

.cf-card__img-wrapper { height: 220px; overflow: hidden; background-color: #f4f4f4; position: relative; }
.cf-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.cf-card:hover .cf-card__img { transform: scale(1.08); }

.cf-card__content { padding: 30px; flex: 1; position: relative; }

.cf-card__number {
    position: absolute;
    top: -30px; right: 25px;
    background: var(--color-primary); color: white;
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; font-weight: 800;
    box-shadow: 0 6px 15px rgba(0, 163, 224, 0.4);
    border: 4px solid white;
}

.cf-card__title { margin-top: 15px; font-size: 1.4rem; color: var(--color-dark); margin-bottom: 20px; }
.cf-card__list { list-style: none; padding: 0; }
.cf-card__list li { font-size: 1rem; color: var(--color-gray-600); margin-bottom: 12px; padding-left: 0; display: flex; align-items: flex-start; }
.cf-card__list li::before { content: "•"; color: var(--color-primary); font-size: 1.5rem; line-height: 1rem; margin-right: 10px; }

.cf-nota-tecnica {
    background: #eef9fd;
    border-left: 5px solid var(--color-primary);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin-bottom: var(--spacing-xl);
    font-size: 1rem;
    color: var(--color-gray-800);
    box-shadow: var(--shadow-sm);
}

.cf-ventajas-box {
    background: white;
    border: 1px solid #eee;
    border-radius: var(--border-radius-large);
    padding: var(--spacing-lg);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.cf-ventajas-title { color: var(--color-primary-dark); margin-bottom: 25px; font-size: 1.5rem; }
.cf-ventajas-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    text-align: left;
}
.cf-ventajas-list li { position: relative; padding-left: 30px; color: var(--color-gray-600); font-weight: 500; }
.cf-ventajas-list li::before { content: "✓"; position: absolute; left: 0; color: var(--color-primary); font-weight: 800; }

/* === ROI & PRODUCTOS === */
.roi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-md); }
.roi-item { 
    background: white; padding: 30px; 
    border-radius: var(--border-radius); text-align: center; 
    box-shadow: var(--shadow-md); transition: var(--transition);
    border: 1px solid transparent;
}
.roi-item:hover { border-color: var(--color-primary-light); transform: translateY(-3px); }
.roi-item__valor { font-size: 2.2rem; font-weight: 800; color: var(--color-primary); margin: 10px 0; }
.roi-item__concepto { font-size: 1.1rem; margin-bottom: 5px; }

.roi-payback { text-align: center; margin: var(--spacing-xl) 0; background: #f9f9f9; padding: 40px; border-radius: var(--border-radius-large); }
.roi-chart { display: flex; flex-direction: column; gap: 12px; margin-top: 25px; max-width: 600px; margin-left: auto; margin-right: auto; }
.roi-chart__bar { 
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white; padding: 12px; border-radius: 6px; 
    text-align: right; font-weight: bold; transition: width 1.5s ease-out; 
    box-shadow: 0 4px 10px rgba(0,163,224,0.2);
}
.roi-cta { text-align: center; margin-top: 50px; }

/* === CORRECCIÓN LAYOUT PRODUCTOS (4 EN LÍNEA) === */

/* Para Sectores mantenemos el ajuste automático */
.sectores-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px; 
}

/* Para Productos forzamos 4 columnas estrictas en escritorio */
.productos-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); /* 4 columnas exactas */
    gap: 20px; /* Gap un poco más ajustado para que quepan bien */
}

/* Ajuste Responsive para Productos (Tablet y Móvil) */
@media (max-width: 1024px) {
    .productos-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets/laptops pequeños */
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .productos-grid {
        grid-template-columns: 1fr !important; /* 1 columna en móvil (forzado) */
    }
}.producto-card, .sector-card { 
    background: white; padding: 35px; 
    border-radius: var(--border-radius-large); 
    box-shadow: var(--shadow-md); 
    transition: var(--transition);
    display: flex; flex-direction: column;
}
.producto-card:hover, .sector-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.producto-card--destacado { border: 2px solid var(--color-primary); position: relative; background: #f4fbfe; }
.producto-card__badge { 
    position: absolute; top: -15px; right: 25px; 
    background: var(--color-accent); color: white; 
    padding: 6px 16px; border-radius: 20px; 
    font-size: 12px; font-weight: 700; 
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
}
.producto-card__nombre { font-size: 1.5rem; margin-bottom: 5px; }
.producto-card__precio { font-size: 28px; color: var(--color-dark); font-weight: 800; margin: 15px 0; }
.producto-card__precio-periodo { font-size: 14px; color: var(--color-gray-600); font-weight: normal; }
.producto-card__features { flex: 1; margin-bottom: 20px; }
.producto-card__features li { margin-bottom: 10px; font-size: 0.95rem; color: var(--color-gray-600); display: flex; gap: 8px; }
.producto-card__features li::before { content: "✓"; color: var(--color-primary); font-weight: bold; }
.producto-card a { margin-top: auto; }

/* Tabla Productos */
.tabla-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: var(--spacing-md); }
.tabla-productos { width: 100%; border-collapse: collapse; margin-top: var(--spacing-sm); background: white; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-md); }
.tabla-productos th, .tabla-productos td { padding: 15px 20px; text-align: center; border-bottom: 1px solid var(--color-gray-200); }
.tabla-productos th { background-color: var(--color-gray-100); font-weight: 700; color: var(--color-dark); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.5px; }
.tabla-productos tr:last-child td { border-bottom: none; }
.tabla-productos td:first-child { text-align: left; font-weight: 600; color: var(--color-gray-800); background-color: #fcfcfc; min-width: 150px; }

/* === FORMS (UX IMPROVED) === */
.form-group { margin-bottom: 25px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.95rem; color: var(--color-gray-800); }
.form-group input, .form-group select, .form-group textarea { 
    width: 100%; padding: 14px; 
    border: 1px solid #d1d1d1; 
    border-radius: var(--border-radius); 
    font-size: 1rem; font-family: inherit;
    transition: var(--transition);
    background-color: #fff;
}
/* UX: Focus Ring */
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 163, 224, 0.15);
}
.form-group--checkbox { display: flex; align-items: flex-start; gap: 12px; }
.form-group--checkbox input { width: 20px; height: 20px; margin-top: 3px; cursor: pointer; accent-color: var(--color-primary); }
.form-group--checkbox label { font-weight: 400; font-size: 0.9rem; cursor: pointer; }

.form-message { padding: 15px; border-radius: 6px; text-align: center; margin-top: 20px; display: none; font-weight: 500; }
.form-message.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-message.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

.early-adopter-content, .contacto-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.early-adopter-info h3, .contacto-info h3 { margin-bottom: 25px; color: var(--color-dark); }

/* Box Fix para Pioneros */
.fase-box { 
    background: white; 
    padding: 25px; 
    border-radius: 10px; 
    margin-bottom: 20px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
    color: var(--color-dark); 
    border-left: 4px solid var(--color-primary);
}
.fase-numero { color: var(--color-primary); font-weight: 800; display: block; font-size: 12px; text-transform: uppercase; margin-bottom: 8px; letter-spacing: 1px; }
.early-adopter-list { list-style: none; padding: 0; }
.early-adopter-list li { color: var(--color-gray-600); margin-bottom: 10px; font-size: 0.95rem; display: flex; gap: 8px; }

/* === FOOTER === */
.footer { background: #111; color: #ccc; padding: var(--spacing-xl) 0; font-size: 0.95rem; }
.footer__main { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 50px; margin-bottom: 30px; }
.footer__brand { max-width: 300px; }
.footer__logo { height: 45px; margin-bottom: 20px; } /* Fix Logo Original */
.footer__tagline { color: #888; margin-bottom: 20px; }
.footer__links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer__links h4 { color: white; margin-bottom: 20px; font-size: 1.1rem; }
.footer__links ul li { margin-bottom: 12px; }
.footer__links a { color: #aaa; }
.footer__links a:hover { color: var(--color-primary); padding-left: 5px; }
.footer__bottom { display: flex; justify-content: space-between; font-size: 13px; color: #666; }

/* === COOKIES BANNER === */
.cookie-banner { 
    position: fixed; bottom: -100%; left: 0; width: 100%; 
    background-color: rgba(26, 26, 26, 0.95); backdrop-filter: blur(8px);
    color: var(--color-white); 
    padding: 20px; z-index: 9999; 
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2); 
    transition: bottom 0.5s cubic-bezier(0.19, 1, 0.22, 1); 
    display: flex; justify-content: center; 
}
.cookie-banner.show { bottom: 0; }
.cookie-banner__content { max-width: var(--container-max-width); display: flex; align-items: center; justify-content: space-between; gap: var(--spacing-lg); width: 100%; }
.cookie-banner__text a { color: var(--color-primary-light); text-decoration: underline; }
.btn--cookie { padding: 10px 25px; font-size: 0.9rem; background: var(--color-white); color: var(--color-dark); border: none; }
.btn--cookie:hover { background: var(--color-gray-200); }

/* === TEAM SECTION (EQUIPO) === */
.team-card-featured {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    background: white;
    border-radius: var(--border-radius-large);
    padding: 50px;
    box-shadow: var(--shadow-lg);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.04);
}
.team-card__photo {
    width: 260px; height: 260px;
    object-fit: cover; border-radius: 50%;
    box-shadow: 0 15px 30px rgba(0, 163, 224, 0.2);
    border: 5px solid white;
    background-color: #f9f9f9; margin: 0 auto;
}
.team-card__name { font-size: 2.5rem; margin-bottom: 8px; color: var(--color-dark); }
.team-card__position {
    font-size: 1.1rem; color: var(--color-primary);
    font-weight: 700; margin-bottom: 25px;
    text-transform: uppercase; letter-spacing: 1.5px;
}
.team-card__bio { margin-bottom: 35px; color: var(--color-gray-600); font-size: 1.05rem; line-height: 1.8; }
.team-card__actions { display: flex; gap: 15px; }
.btn--linkedin {
    background-color: #0077b5; color: white; border-color: #0077b5;
    display: inline-flex; align-items: center; justify-content: center;
}
.btn--linkedin:hover { background-color: #005582; box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3); transform: translateY(-2px); }
.nav__link--active { color: var(--color-primary) !important; font-weight: 700; }

/* === MOBILE OPTIMIZATION === */
@media (max-width: 768px) {
    :root {
        --font-size-h1: 34px;
        --font-size-h2: 28px;
        --font-size-h3: 24px;
        --spacing-lg: 30px;
        --spacing-xl: 50px;
    }
    .container { padding: 0 20px; }
    .header { padding: 0; }
    .nav { height: 70px; }
    
    /* Menú Móvil Fullscreen mejorado */
    .nav__menu { 
        position: fixed; top: 70px; left: -100%; 
        width: 100%; height: calc(100vh - 70px); 
        background: white; flex-direction: column; 
        align-items: center; justify-content: center;
        padding: 40px 20px; transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1); 
        box-shadow: none; z-index: 990;
    }
    .nav__menu.active { left: 0; }
    .nav__link { font-size: 1.2rem; padding: 15px 0; width: 100%; text-align: center; border-bottom: 1px solid #eee; }
    .nav__link--cta { margin-top: 20px; background: var(--color-primary); color: white; width: auto; padding: 15px 40px; }
    .nav__toggle { display: flex; }

    /* Hero Mobile */
    .hero { padding: 40px 0; text-align: left; }
    .hero__container { grid-template-columns: 1fr; gap: 40px; }
    .hero__title-problema { font-size: 1.1rem; }
    .hero__title-solucion { font-size: 2.2rem; line-height: 1.1; }
    .hero__ctas { flex-direction: column; width: 100%; }
    .hero__ctas .btn { width: 100%; }
    .hero__image { order: -1; margin-bottom: 10px; }

    /* Grids 1 Columna */
    .como-funciona-grid, .comparativa-cards, .roi-grid, 
    .productos-grid, .sectores-grid, .early-adopter-content, 
    .contacto-content, .footer__main, .footer__links, 
    .oa-stats-grid, .team-card-featured {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .team-card-featured { text-align: center; padding: 30px 20px; }
    .team-card__photo { width: 180px; height: 180px; }
    .team-card__actions { flex-direction: column; }
    
    .oceano-azul-redesign { padding: 40px 20px; }
    .oa-content-grid { grid-template-columns: 1fr; gap: 40px; }
    .oa-stat-number { font-size: 3.5rem; }
    
    .footer__bottom { flex-direction: column; gap: 15px; text-align: center; }
    .comparativa-tabla { display: none; }
    
    /* Ajuste de espacio para sticky bar móvil */
    .footer { padding-bottom: 100px; }
    /* === MOBILE STICKY CTA (ADD-ON) === */
.mobile-sticky-cta {
    position: fixed;
    bottom: -100px; /* Oculto por defecto */
    left: 0;
    width: 100%;
    background: white;
    padding: 12px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 1px solid #eee;
    display: none; /* Oculto en PC */
}

.mobile-sticky-cta.visible {
    bottom: 0;
}

.mobile-sticky-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.mobile-sticky-text {
    font-weight: 600;
    color: var(--color-dark);
    font-size: 0.9rem;
}

.btn--sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .mobile-sticky-cta { display: block; }
    /* Dar espacio al footer para que el sticky no tape el copyright */
    .footer { padding-bottom: 80px; }
}
