/*PALETA DE COLORES PRINCIPAL: 
- Fondo oscuro: #0F172A (Slate 900) - Base de toda la presentaciÃ³n
- Acento cyan: #22D3EE - Color principal para destacar elementos clave
- Acento verde: #10B981 - Color secundario para variedad visual
- Texto claro: #F8FAFC (Slate 50) - Texto principal sobre fondo oscuro
- Texto secundario: #CBD5E1, #94A3B8 - JerarquÃ­a de texto

FILOSOFÃA DE DISEÃ‘O:
- Alto contraste para legibilidad en presentaciones
- Minimalismo con elementos visuales impactantes
- Consistencia en toda la presentaciÃ³n
- Responsive design para mÃºltiples dispositivos
===============================================================================
*/

/* ============================================================================
   1. IMPORTS Y FUENTES
   ============================================================================ */

/* ImportaciÃ³n de fuentes de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&family=Open+Sans:ital,wght@0,300;0,400;0,600;1,400&display=swap');

/*
MONTSERRAT: Fuente principal para tÃ­tulos y headings
OPEN SANS: Fuente para texto de cuerpo
*/


/* ============================================================================
   2. VARIABLES CSS - SISTEMA DE DESIGN TOKENS
   ============================================================================ */

:root {
    /* PALETA DE COLORES - Backgrounds (Fondos) */
    --color-bg-primary: #0F172A;      /* Fondo principal - Slate 900 - Usado en body */
    --color-bg-secondary: #1E293B;    /* Fondo secundario - Slate 800 - Usado en tarjetas */
    --color-bg-tertiary: #334155;     /* Fondo terciario - Slate 700 - Usado en bordes */

    /* PALETA DE COLORES - Textos */
    --color-text-primary: #F8FAFC;    /* Texto principal - Slate 50 - TÃ­tulos importantes */
    --color-text-secondary: #CBD5E1;  /* Texto secundario - Slate 300 - Contenido general */
    --color-text-tertiary: #94A3B8;   /* Texto terciario - Slate 400 - Texto de apoyo */
    --color-text-muted: #64748B;      /* Texto atenuado - Slate 500 - Metadatos, timestamps */

    /* PALETA DE COLORES - Acentos */
    --color-accent-cyan: #22D3EE;     /* Cyan 400 - Color principal de marca Ticspoint */
    --color-accent-cyan-dark: #06B6D4; /* Cyan 600 - VersiÃ³n mÃ¡s oscura para hover states */
    --color-accent-green: #10B981;    /* Green 500 - Color secundario para variedad */
    --color-accent-blue: #3B82F6;     /* Blue 500 - Color alternativo ocasional */

    /* (Opcional) Violeta secundario para piezas puntuales / logo en fondos claros */
    --color-accent-violet: #6c5ce7;

    /* SISTEMA DE BORDES */
    --color-border: rgba(148, 163, 184, 0.1);    /* Borde sutil - 10% opacity */
    --color-border-hover: rgba(34, 211, 238, 0.3); /* Borde hover - 30% cyan opacity */
    --color-border-focus: rgba(34, 211, 238, 0.5); /* Borde focus - 50% cyan opacity */

    /* SISTEMA DE ESPACIADO - Escala modular basada en 8px */
    --spacing-xs: 0.5rem;   /* 8px */
    --spacing-sm: 1rem;     /* 16px */
    --spacing-md: 1.5rem;   /* 24px */
    --spacing-lg: 2rem;     /* 32px */
    --spacing-xl: 3rem;     /* 48px */
    --spacing-2xl: 4rem;    /* 64px */

    /* SISTEMA TIPOGRÃFICO */
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */

    /* SISTEMA DE SOMBRAS */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(34, 211, 238, 0.4);

    /* SISTEMA DE BORDER-RADIUS */
    --radius-sm: 0.375rem;   /* 6px */
    --radius-md: 0.5rem;     /* 8px */
    --radius-lg: 0.75rem;    /* 12px */
    --radius-xl: 1rem;       /* 16px */
    --radius-full: 50%;

    /* SISTEMA DE TRANSICIONES */
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;

    /* Layout web */
    --web-max-width: 1100px;
    --web-header-height: 72px;

    /* =========================================================================
       PATCH: Theme tokens (NO rompe nada existente)
       - Default: Dark (usando los tokens actuales)
       - Light: Override via html[data-theme="light"]
       - Buttons in light -> morado (como tu ejemplo)
       ========================================================================= */

    /* Gradiente para botones primarios (por defecto: cyan->green) */
    --tp-btn-gradient: linear-gradient(135deg, var(--color-accent-cyan), var(--color-accent-green));
    --tp-btn-text: #071018;

    /* Fondos web (para poder cambiar sutilmente en light sin reescribir reglas) */
    --tp-web-bg-1: radial-gradient(900px 480px at 85% -10%, rgba(34, 211, 238, 0.10), transparent 60%);
    --tp-web-bg-2: radial-gradient(700px 420px at 10% -10%, rgba(16, 185, 129, 0.08), transparent 60%);
    --tp-web-bg-base: var(--color-bg-primary);
}

/* Default scheme */
html { color-scheme: dark; }

/* Light theme overrides (cuando el JS setea data-theme="light") */
html[data-theme="light"]{
    color-scheme: light;

    /* Reusamos los mismos colores “de marca”, pero invertimos fondos/textos */
    --color-bg-primary: #F8FAFC;     /* Usamos tu texto claro como fondo claro */
    --color-bg-secondary: #F1F5F9;   /* Slate 100-ish */
    --color-bg-tertiary: #E2E8F0;    /* Slate 200-ish */

    --color-text-primary: #0F172A;   /* Tu fondo oscuro como texto principal */
    --color-text-secondary: #334155; /* Slate 700 */
    --color-text-tertiary: #475569;  /* Slate 600 */
    --color-text-muted: #64748B;     /* se mantiene */

    /* Bordes más “dark” en light */
    --color-border: rgba(15, 23, 42, 0.12);
    --color-border-hover: rgba(108, 92, 231, 0.35);
    --color-border-focus: rgba(108, 92, 231, 0.55);

    /* Botones (light): default cyan (#23D0EB) + texto oscuro.
       (El hover a violeta se define en site.css para no afectar otros contextos.) */
    --tp-btn-gradient: linear-gradient(135deg, #23D0EB, #23D0EB);
    --tp-btn-text: rgba(15, 23, 42, 0.92);

    /* Fondos web (light): sutiles y limpios */
    --tp-web-bg-1: radial-gradient(900px 480px at 85% -10%, rgba(108, 92, 231, 0.10), transparent 60%);
    --tp-web-bg-2: radial-gradient(700px 420px at 10% -10%, rgba(34, 211, 238, 0.08), transparent 60%);
    --tp-web-bg-base: var(--color-bg-primary);
}

/* light: secondary button border */
[data-theme="light"] .tp-btn.secondary,
[data-theme="light"] .btn-ghost{
  border: 1px solid #23D0EB;
}


/* Si NO hay elección del usuario (sin data-theme), respetamos el sistema */
@media (prefers-color-scheme: light) {
    html:not([data-theme]){
        color-scheme: light;

        --color-bg-primary: #F8FAFC;
        --color-bg-secondary: #F1F5F9;
        --color-bg-tertiary: #E2E8F0;

        --color-text-primary: #0F172A;
        --color-text-secondary: #334155;
        --color-text-tertiary: #475569;
        --color-text-muted: #64748B;

        --color-border: rgba(15, 23, 42, 0.12);
        --color-border-hover: rgba(108, 92, 231, 0.35);
        --color-border-focus: rgba(108, 92, 231, 0.55);

        --tp-btn-gradient: linear-gradient(135deg, var(--color-accent-violet), var(--color-accent-violet));
        --tp-btn-text: #ffffff;

        --tp-web-bg-1: radial-gradient(900px 480px at 85% -10%, rgba(108, 92, 231, 0.10), transparent 60%);
        --tp-web-bg-2: radial-gradient(700px 420px at 10% -10%, rgba(34, 211, 238, 0.08), transparent 60%);
        --tp-web-bg-base: var(--color-bg-primary);
    }
}


/* ============================================================================
   3. RESET Y BASE
   ============================================================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }


/* ============================================================================
   4. CONTENEDORES PRINCIPALES - Layout base de las diapositivas (SE MANTIENE)
   ============================================================================ */

.slide-container {
    width: 1280px;
    height: 720px;
    position: relative;
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Open Sans', sans-serif;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) var(--spacing-2xl);
    position: relative;
    z-index: 10;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    width: 100%;
    max-width: 1000px;
    position: relative;
}


/* ============================================================================
   5. HEADER - Diapositivas (SE MANTIENE)
   ============================================================================ */

.slide-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: var(--spacing-xl) var(--spacing-2xl) var(--spacing-md);
    border-bottom: 1px solid var(--color-bg-secondary);
    position: relative;
    z-index: 10;
}

.header-left { display: flex; flex-direction: column; gap: var(--spacing-xs); }

.header-badge { display: flex; align-items: center; gap: var(--spacing-xs); margin-bottom: var(--spacing-xs); }
.badge-dot { width: 0.5rem; height: 0.5rem; background-color: var(--color-accent-cyan); border-radius: var(--radius-full); }
.badge-text { color: var(--color-text-tertiary); font-family: 'Montserrat', sans-serif; font-weight: 700; letter-spacing: 0.2em; font-size: var(--font-size-xs); text-transform: uppercase; }

.slide-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: var(--font-size-3xl); color: var(--color-text-primary); margin: 0; line-height: 1.2; }

.slide-number { color: var(--color-bg-tertiary); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: var(--font-size-5xl); opacity: 0.4; line-height: 1; }

.logo-container { height: 2.5rem; opacity: 0.9; }
.logo { height: 100%; width: auto; object-fit: contain; }


/* ============================================================================
   6. TARJETAS Y CONTENEDORES
   ============================================================================ */

.feature-col, .feature-column {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.feature-col:hover, .feature-column:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: var(--color-border-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

.feature-column::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-green));
}

.card-glass {
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(15px);
}


/* ============================================================================
   7. ICONOS
   ============================================================================ */

.icon-circle {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: var(--font-size-lg);
}

.tech-icon {
    background-color: rgba(51, 65, 85, 0.5);
    color: var(--color-accent-cyan);
    border: 2px solid rgba(34, 211, 238, 0.2);
}

.biz-icon, .business-icon {
    background-color: rgba(34, 211, 238, 0.1);
    color: var(--color-text-primary);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.icon-xl { width: 4rem; height: 4rem; font-size: var(--font-size-2xl); }
.icon-2xl { width: 5rem; height: 5rem; font-size: var(--font-size-3xl); }

.column-header { display: flex; align-items: center; gap: var(--spacing-md); margin-bottom: var(--spacing-xl); }
.column-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: var(--font-size-2xl); color: var(--color-text-primary); margin: 0; }


/* ============================================================================
   8. LISTAS
   ============================================================================ */

.feature-list { list-style: none; margin: 0; padding: 0; }

.feature-item, .list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
    transition: opacity var(--transition-fast);
}

.feature-item:hover, .list-item:hover { opacity: 1; }
.feature-item:last-child { margin-bottom: 0; }

.item-icon {
    color: var(--color-accent-cyan);
    margin-right: var(--spacing-sm);
    margin-top: 0.2rem;
    flex-shrink: 0;
    font-size: var(--font-size-sm);
}

.item-text {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: 1.6;
}


/* ============================================================================
   9. ELEMENTOS ESPECIALES
   ============================================================================ */

.connector {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 4rem; height: 4rem;
    background: var(--color-bg-primary);
    border: 3px solid var(--color-accent-cyan);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-cyan);
    font-size: var(--font-size-xl);
    box-shadow: var(--shadow-glow);
}

.implicit-message {
    background: rgba(30, 41, 59, 0.8);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-bg-tertiary);
    position: relative;
    overflow: hidden;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.implicit-message::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--color-accent-cyan);
}

.message-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: var(--font-size-xl);
    color: var(--color-text-secondary);
    font-style: italic;
    margin: 0;
}

.progress-bar { height: 0.25rem; width: 100%; background-color: var(--color-bg-secondary); border-radius: var(--radius-sm); }
.progress-fill { height: 100%; background-color: var(--color-accent-cyan); transition: width var(--transition-normal); border-radius: var(--radius-sm); }


/* ============================================================================
   10. EFECTOS VISUALES Y BACKGROUNDS
   ============================================================================ */

.bg-effects {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.bg-grid {
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.1;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}

.blur-glow, .blur-glow-cyan {
    position: absolute;
    background: var(--color-accent-cyan);
    opacity: 0.2;
    border-radius: var(--radius-full);
    filter: blur(100px);
    pointer-events: none;
}

.blur-glow-blue {
    background: #1E3A8A;
    opacity: 0.1;
    border-radius: var(--radius-full);
    filter: blur(100px);
}

.glow-1 { top: 10%; left: 10%; width: 300px; height: 300px; }
.glow-2 { bottom: 10%; right: 10%; width: 400px; height: 400px; }


/* ============================================================================
   11. UTILIDADES
   ============================================================================ */

.font-montserrat { font-family: 'Montserrat', sans-serif; }
.text-accent { color: var(--color-accent-cyan); }
.bg-accent { background-color: var(--color-accent-cyan); }
.border-accent { border-color: var(--color-accent-cyan); }
.text-green-accent { color: var(--color-accent-green); }

.text-gradient-cyan {
    background: linear-gradient(135deg, var(--color-accent-cyan) 0%, var(--color-accent-cyan-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-shadow-glow { text-shadow: 0 0 20px rgba(34, 211, 238, 0.5); }


/* ============================================================================
   12. ANIMACIONES
   ============================================================================ */

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

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

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }

.content-grid .feature-column:nth-child(1) { animation: slideInLeft 0.8s ease-out forwards; }
.content-grid .feature-column:nth-child(2) { animation: slideInRight 0.8s ease-out forwards; }

.implicit-message { animation: fadeInUp 1s ease-out 0.4s forwards; opacity: 0; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.animate-spin { animation: spin 1s linear infinite; }

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }


/* ============================================================================
   13. RESPONSIVE - (SE MANTIENE)
   ============================================================================ */

@media (max-width: 1024px) {
    :root {
        --spacing-xs: 0.375rem;
        --spacing-sm: 0.75rem;
        --spacing-md: 1.125rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2.25rem;
        --spacing-2xl: 3rem;

        --font-size-3xl: 1.625rem;
        --font-size-2xl: 1.375rem;
        --font-size-xl: 1.125rem;
        --font-size-lg: 1rem;
        --font-size-5xl: 2.5rem;
    }
    .content-grid { gap: var(--spacing-xl); }
    .icon-xl { width: 3.5rem; height: 3.5rem; font-size: var(--font-size-xl); }
    .connector { width: 3.5rem; height: 3.5rem; font-size: var(--font-size-lg); }
}

@media (max-width: 768px) {
    :root {
        --spacing-xs: 0.25rem;
        --spacing-sm: 0.5rem;
        --spacing-md: 0.75rem;
        --spacing-lg: 1rem;
        --spacing-xl: 1.5rem;
        --spacing-2xl: 2rem;

        --font-size-3xl: 1.375rem;
        --font-size-2xl: 1.25rem;
        --font-size-xl: 1rem;
        --font-size-lg: 0.875rem;
        --font-size-5xl: 2rem;
    }

    .slide-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
        padding: var(--spacing-lg);
    }
    .header-left { width: 100%; }
    .logo-container { height: 2rem; align-self: flex-end; }
    .slide-number { align-self: flex-end; font-size: var(--font-size-4xl); }
    .main-content { padding: var(--spacing-xl) var(--spacing-lg); }
    .content-grid { grid-template-columns: 1fr; gap: var(--spacing-xl); position: relative; }
    .connector { display: none; }
    .column-header { flex-direction: column; text-align: center; gap: var(--spacing-sm); }
    .icon-circle, .column-icon { width: 3rem; height: 3rem; font-size: var(--font-size-lg); }
    .feature-column { padding: var(--spacing-lg); }
    .message-text { font-size: var(--font-size-lg); }
}

@media (max-width: 480px) {
    :root {
        --font-size-3xl: 1.25rem;
        --font-size-2xl: 1.125rem;
        --font-size-xl: 0.875rem;
        --font-size-lg: 0.8125rem;
    }
    .slide-header { padding: var(--spacing-md); }
    .main-content { padding: var(--spacing-lg) var(--spacing-md); }
    .item-text { font-size: var(--font-size-base); }
}


/* ============================================================================
   14. ACCESIBILIDAD
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
    .feature-column, .implicit-message { animation: none; opacity: 1; }
    .feature-column:hover { transform: none; }
    * { transition-duration: 0.01ms !important; }
}

@media (prefers-color-scheme: light) {
    body { background-color: var(--color-bg-primary); color: var(--color-text-primary); }
}

@media print {
    body { background-color: white; color: black; }
    .bg-effects, .blur-glow, .blur-glow-cyan, .blur-glow-blue { display: none; }
}


/* ============================================================================
   15. FOCUS STATES
   ============================================================================ */

button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--color-accent-cyan);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.feature-column:focus-within {
    border-color: var(--color-border-focus);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}


/* =============================================================================
   16. WEB ADAPTER — ADAPTACIÓN A LA ARQUITECTURA DEL SITIO (NUEVO)
   -----------------------------------------------------------------------------
   Objetivo: que TODO el sistema visual se aplique a una web real:
   - header/footer separados
   - secciones, hero, grids, cards, CTAs
   - sin depender de .slide-container
   ============================================================================= */

/* Base “web”: fondos, gradientes sutiles y legibilidad */
body {
    background:
      var(--tp-web-bg-1),
      var(--tp-web-bg-2),
      var(--tp-web-bg-base);
}

/* Contenedor general */
.tp-wrap {
    max-width: var(--web-max-width);
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-sm);
}

/* Header web */
.tp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.70);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.tp-nav {
    max-width: var(--web-max-width);
    margin: 0 auto;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.tp-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tp-brand img {
    height: 30px;
    width: auto;
}

.tp-tagline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.03em;
    font-size: 12px;
    color: var(--color-text-secondary);
    opacity: .95;
}

/* Menú */
.tp-menu {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.tp-menu a {
    font-size: 14px;
    color: var(--color-text-secondary);
    padding: 8px 10px;
    border-radius: 10px;
    transition: all var(--transition-fast);
}

.tp-menu a:hover {
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

/* Switch idioma (botón simple) */
.tp-lang {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(30, 41, 59, 0.30);
    color: var(--color-text-secondary);
    font-size: 12px;
}

.tp-lang button {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    padding: 2px 6px;
    border-radius: 999px;
}

.tp-lang button.is-active {
    background: var(--tp-btn-gradient);
    color: var(--tp-btn-text);
}

/* Hero */
.tp-hero {
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.tp-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

@media (min-width: 980px) {
    .tp-hero-grid {
        grid-template-columns: 1.2fr .8fr;
    }
}

.tp-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(32px, 4.4vw, 54px);
    line-height: 1.06;
    margin-bottom: 10px;
}

.tp-lead {
    color: var(--color-text-secondary);
    font-size: clamp(16px, 2vw, 18px);
    margin-bottom: var(--spacing-md);
}

.tp-cta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

/* Botones web (reusa el sistema visual) */
.tp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 12px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    border: 1px solid rgba(255,255,255,.10);
    background: var(--tp-btn-gradient);
    color: var(--tp-btn-text);
    transition: transform var(--transition-fast), filter var(--transition-fast);
}

.tp-btn:hover { transform: translateY(-1px); filter: brightness(1.02); }

.tp-btn.secondary {
    background: rgba(255,255,255,.03);
    color: var(--color-text-primary);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

/* Secciones */
.tp-section {
    padding: var(--spacing-xl) 0;
}

.tp-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.tp-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 0.18em;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
}

.tp-section-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--color-accent-cyan);
    border-radius: 999px;
    box-shadow: var(--shadow-glow);
}

.tp-section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(20px, 3vw, 30px);
    line-height: 1.2;
    margin-top: 8px;
}

.tp-section-subtitle {
    color: var(--color-text-secondary);
    max-width: 62ch;
}

/* Grid web que usa tus tarjetas ya existentes */
.tp-grid {
    display: grid;
    gap: var(--spacing-md);
    grid-template-columns: 1fr;
}

@media (min-width: 760px) {
    .tp-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
    .tp-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* Alias: si tus cards en HTML usan tp-card, les aplicamos el look de feature-column */
.tp-card { /* alias directo */
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}
.tp-card:hover {
    background: rgba(30, 41, 59, 0.6);
    border-color: var(--color-border-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}
.tp-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-cyan), var(--color-accent-green));
}

.tp-card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 18px;
    margin: 4px 0 6px;
}

.tp-card-text { color: var(--color-text-secondary); }

/* Footer web */
.tp-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    padding: 18px 16px;
    text-align: center;
    color: rgba(203, 213, 225, 0.7);
    font-size: 12px;
}

/* Recursos gráficos (líneas/containers minimalistas como en tu PPT) */
.tp-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg,
      rgba(34, 211, 238, 0.0),
      rgba(34, 211, 238, 0.35),
      rgba(16, 185, 129, 0.25),
      rgba(16, 185, 129, 0.0)
    );
    margin: var(--spacing-lg) 0;
    opacity: .9;
}

.tp-outline {
    border: 1px dashed rgba(34, 211, 238, 0.35);
    border-radius: var(--radius-xl);
    padding: var(--spacing-md);
    background: rgba(30, 41, 59, 0.20);
}

/* Aseguramos que textos generales se vean “Ticspoint” aunque el HTML sea semántico */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}
p, li, small {
    color: var(--color-text-secondary);
}

/* Si existiera un contenedor blanco en HTML, esto lo neutraliza */
main, .tp-main, .tp-page {
    background: transparent;
}

