/* ==============================================================
 * landing.css — estilos de la landing pública de plataforma.ideasdevops.com
 * ==============================================================
 * Compartido por index.html (landing del producto) y
 * trabaja-con-nosotros.html (empleo + formulario de CV), y por sus
 * equivalentes en /en/. Estaba inline en dos bloques <style> dentro de
 * index.html; se extrajo al separar la página de empleo para no duplicar
 * ~700 líneas de CSS en cada página nueva.
 *
 * Incluye: override de tema blanco (:root), header, menú lateral,
 * secciones genéricas, grillas de tarjetas, pasos, FAQ, formulario de CV,
 * footer y responsive.
 * ============================================================== */

      /* ===== OVERRIDE: tema blanco para plataforma ===== */
      :root {
        /* Tema oscuro alineado con disruptia.app (navy + superficies
           translúcidas). Naranja IdeasDevOps = acción, marino claro =
           identidad, degradé marino → naranja = palabras destacadas. */
        --bg: #07111f;
        --bg-soft: #0b1728;
        --bg-section: #0b1728;
        --surface: rgba(255,255,255,0.045);
        --surface-strong: rgba(255,255,255,0.075);
        --line: rgba(255,255,255,0.11);
        --text: #f5f8fb;
        --text-soft: #c7d2dd;
        --muted: #9dafc2;
        --muted-light: #8093a8;
        --ink: #07111f;
        --accent: #ff6a00;
        --accent-hover: #ff7d24;
        --accent-light: rgba(255,106,0,0.14);
        --blue: #8aa4e6;
        --blue-deep: #1d3f8f;
        --blue-light: rgba(59,95,181,0.18);
        --brand-gradient: linear-gradient(90deg, #1d3f8f 0%, #ff6a00 100%);
        --text-gradient: linear-gradient(95deg, #5b7fd6 0%, #ff6a00 100%);
        --card: rgba(255,255,255,0.045);
        --border: rgba(255,255,255,0.11);
        --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
        --shadow-md: 0 12px 32px rgba(0,0,0,0.32);
        --shadow-lg: 0 24px 80px rgba(0,0,0,0.34);
      }
      html, body {
        background: var(--bg);
        color: var(--text);
      }
      body {
        background:
          radial-gradient(circle at 8% 0, rgba(59,95,181,0.16), transparent 28rem),
          radial-gradient(circle at 100% 28%, rgba(255,106,0,0.07), transparent 34rem),
          var(--bg) !important;
      }

      /* ---- Fondo cinematográfico: blobs con transición por sección ----
         --blob-color se anima vía GSAP (custom property), nunca el
         gradiente completo: un gradiente no se puede interpolar como
         string ni en CSS ni en GSAP, solo un color. Mismo patrón ya
         probado en producción en subscription-engine/frontend. Sin
         will-change fijo a propósito: transform/opacity nunca se animan
         acá y background no es compositable, así que el hint no ayuda y
         solo reserva una capa de compositor de más durante todo el scroll. */
      .decoration {
        position: fixed;
        pointer-events: none;
        z-index: 0;
      }
      .decoration-circle {
        --blob-color: var(--accent);
        width: 480px; height: 480px;
        border-radius: 50%;
        background: radial-gradient(circle, var(--blob-color) 0%, transparent 70%);
        opacity: 0.16;
        filter: blur(70px);
      }
      .decoration-1 { top: -100px; right: -100px; }
      .decoration-2 { bottom: -140px; left: -140px; }
      .decoration-3 { top: 48%; left: 50%; width: 420px; height: 420px; }

      /* Perspectiva para la entrada 3D de tarjetas al hacer scroll (ver
         landing-scroll-story.js). Sin will-change fijo: GSAP promueve el
         elemento a su propia capa solo mientras dura el tween de entrada. */
      .problem-grid, .audience-grid, .features-grid, .tools-grid {
        perspective: 1400px;
      }
      @media (prefers-reduced-motion: reduce) {
        .problem-card, .audience-card, .feature-card, .tool-card {
          opacity: 1 !important;
          transform: none !important;
        }
      }

      /* ---- Header ---- */
      .plataforma-header {
        position: sticky; top: 0; z-index: 50;
        background: rgba(7,17,31,0.82);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(255,255,255,0.08);
        box-shadow: 0 1px 12px rgba(0,0,0,0.25);
      }
      .plataforma-header .container {
        display: flex; align-items: center; justify-content: space-between;
        height: 72px; gap: 32px;
      }
      .plataforma-logo {
        font-weight: 800; font-size: 24px; letter-spacing: -0.3px;
        text-decoration: none; color: var(--text); white-space: nowrap;
      }
      .plataforma-logo { display: inline-flex; align-items: center; gap: 10px; }
      .brand-mark { width: 30px; height: 30px; flex-shrink: 0; }
      .brand-word { font-weight: inherit; }
      .plataforma-logo .brand-word,
      .plataforma-footer .footer-logo .brand-word { color: #fff; }
      .plataforma-logo span,
      .plataforma-footer .footer-logo span {
        /* Marino dominante y naranja solo al final. Arranca en un marino
           más claro que el del isotipo: a 18-24px sobre el header navy,
           #1d3f8f hacía desaparecer la "I". */
        background: linear-gradient(90deg, #3b5fb5 0%, #3b5fb5 45%, #ff6a00 100%);
        -webkit-background-clip: text; background-clip: text;
        -webkit-text-fill-color: transparent; color: var(--accent);
      }
      /* Botones secundarios sobre el header oscuro */
      .plataforma-header .btn-platform.outline {
        color: #fff; border-color: rgba(255,255,255,0.22);
      }
      .plataforma-header .btn-platform.outline:hover {
        color: #fff; border-color: var(--accent); background: rgba(255,106,0,0.12);
      }
      /* Palabra destacada del hero con el degradé de marca */
      .plataforma-hero h1 .accent-word {
        background: var(--text-gradient);
        -webkit-background-clip: text; background-clip: text;
        -webkit-text-fill-color: transparent;
      }
      .plataforma-nav {
        display: flex; gap: 32px; list-style: none; margin: 0; padding: 0;
      }
      .plataforma-nav a {
        color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500;
        transition: color 0.2s;
      }
      .plataforma-nav a:hover { color: var(--text); }
      .plataforma-nav-actions { display: flex; gap: 12px; align-items: center; }

      /* ---- Hero ---- */
      .plataforma-hero {
        background: transparent;
        padding: 100px 0 90px;
        position: relative; overflow: hidden;
      }
      .plataforma-hero::before {
        content: ''; position: absolute;
        top: -120px; right: -120px;
        width: 500px; height: 500px;
        background: radial-gradient(closest-side, rgba(255,106,0,0.10), transparent 70%);
        border-radius: 50%;
      }
      .hero-layout {
        display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
      }
      .hero-badge {
        display: inline-flex; align-items: center; gap: 8px;
        background: var(--blue-light); color: var(--blue);
        font-size: 13px; font-weight: 600; padding: 6px 14px;
        border-radius: 100px; margin-bottom: 24px;
        border: 1px solid rgba(29,63,143,0.2);
      }
      .hero-badge svg { width: 14px; height: 14px; }
      .plataforma-hero h1 {
        font-size: 48px; font-weight: 800; line-height: 1.15;
        letter-spacing: -1px; margin: 0 0 20px; color: var(--text);
      }
      .plataforma-hero .hero-sub {
        font-size: 17px; color: var(--muted); line-height: 1.7;
        margin: 0 0 36px; max-width: 520px;
      }
      .hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
      .btn-platform {
        display: inline-flex; align-items: center; gap: 8px;
        background: var(--accent); color: #fff; font-weight: 700;
        padding: 14px 28px; border-radius: 12px; text-decoration: none;
        font-size: 15px; transition: all 0.2s; border: none; cursor: pointer;
      }
      .btn-platform:hover {
        background: var(--accent-hover); transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(255,106,0,0.35);
      }
      .btn-platform.outline {
        background: transparent; color: var(--text);
        border: 2px solid var(--border);
      }
      .btn-platform.outline:hover {
        background: transparent;
        border-color: var(--accent); color: var(--accent);
        box-shadow: 0 4px 12px rgba(255,106,0,0.1);
      }
      .hero-visual-card {
        background: var(--surface); border: 1px solid var(--border);
        border-radius: 20px; padding: 28px;
        box-shadow: var(--shadow-lg); position: relative;
      }
      .hero-visual-card .hvc-header {
        display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
      }
      .hvc-dot { width: 10px; height: 10px; border-radius: 50%; }
      .hvc-title { font-weight: 700; font-size: 14px; color: var(--text); }
      .hvc-row {
        display: flex; align-items: center; gap: 12px;
        padding: 10px 14px; border-radius: 10px;
        background: rgba(255,255,255,0.04); margin-bottom: 8px;
      }
      .hvc-row:last-child { margin-bottom: 0; }
      .hvc-icon {
        width: 32px; height: 32px; border-radius: 8px;
        display: flex; align-items: center; justify-content: center;
        flex-shrink: 0;
      }
      .hvc-icon svg { width: 17px; height: 17px; }
      .hvc-label { font-size: 13px; font-weight: 500; color: var(--text-soft); flex: 1; }
      .hvc-status {
        font-size: 11px; font-weight: 600; padding: 3px 8px;
        border-radius: 100px; background: rgba(34,197,94,0.15); color: #4ade80;
      }
      .hvc-status.warn { background: rgba(245,158,11,0.15); color: #fbbf24; }
      .hvc-status.info { background: rgba(59,95,181,0.22); color: #a9bdf0; }

      /* ---- Scroll reveal ---- */
      .reveal {
        opacity: 0; transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
      }
      .reveal.visible { opacity: 1; transform: translateY(0); }

      /* ---- Problema (desparramado) ---- */
      .problem-grid {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 48px;
      }
      .problem-card {
        background: var(--surface); border: 1px solid var(--border); border-left: 3px solid #ef4444;
        border-radius: 16px; padding: 28px;
        box-shadow: var(--shadow-sm);
        transition: box-shadow 0.2s, transform 0.2s;
      }
      .problem-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
      .problem-card .feature-icon { background: rgba(239,68,68,0.15); color: #f87171; }
      .problem-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--text); }
      .problem-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
      .problem-arrow {
        text-align: center; font-size: 15px; font-weight: 700; color: var(--accent);
        margin: 0 0 56px; display: flex; align-items: center; justify-content: center; gap: 10px;
      }
      .problem-arrow svg { width: 20px; height: 20px; animation: bounce-down 1.6s ease-in-out infinite; }
      @keyframes bounce-down {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(5px); }
      }

      /* ---- Para quién es ---- */
      .audience-grid {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
      }
      .audience-card {
        background: linear-gradient(150deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
        border: 1px solid rgba(29,63,143,0.16);
        border-radius: 16px; padding: 32px 28px; text-align: center;
        transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
      }
      .audience-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--accent); }
      .audience-card .audience-icon { margin-bottom: 14px; color: var(--blue); }
      .audience-card .audience-icon svg { width: 32px; height: 32px; }
      .audience-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--text); }
      .audience-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

      /* ---- Valores (chips de confianza) ---- */
      .trust-strip {
        display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px;
      }
      .trust-chip {
        display: inline-flex; align-items: center; gap: 8px;
        background: var(--surface); border: 1px solid var(--border);
        padding: 8px 16px; border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--text-soft);
      }
      .trust-chip svg { width: 15px; height: 15px; color: var(--blue); flex-shrink: 0; }

      @media (max-width: 900px) {
        .problem-grid, .audience-grid { grid-template-columns: 1fr; }
      }

      /* ---- Sections genéricas ---- */
      .plataforma-section {
        padding: 96px 0;
      }
      .plataforma-section.bg-alt {
        background: var(--bg-section);
      }
      .section-label {
        font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
        color: var(--blue); text-transform: uppercase; margin-bottom: 12px;
      }
      .plataforma-section h2 {
        font-size: 36px; font-weight: 800; line-height: 1.2;
        letter-spacing: -0.5px; margin: 0 0 16px; color: var(--text);
      }
      .section-intro {
        font-size: 17px; color: var(--muted); line-height: 1.7;
        max-width: 640px; margin: 0 0 56px;
      }

      /* ---- Lista de resultados ("lo que dejás de hacer") ----
         Reemplaza a las 3 tarjetas de "El problema" + 3 de "¿Para quién es?":
         el mismo contenido en 3 líneas se lee de un saque, las 6 tarjetas
         obligaban a leer 6 párrafos para entender una sola idea. */
      .outcome-list {
        display: grid; gap: 18px; margin: 0 0 32px; padding: 0; list-style: none;
        max-width: 780px;
      }
      .outcome-item {
        display: flex; gap: 14px; align-items: flex-start;
      }
      .outcome-cross {
        flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px;
        background: rgba(239,68,68,0.15); color: #f87171;
        display: flex; align-items: center; justify-content: center;
        margin-top: 2px;
      }
      .outcome-cross svg { width: 14px; height: 14px; }
      .outcome-item strong {
        display: block; font-size: 17px; font-weight: 700;
        color: var(--text); margin-bottom: 3px;
      }
      .outcome-item span.outcome-text {
        display: block; font-size: 15px; color: var(--muted); line-height: 1.65;
      }
      .audience-note {
        font-size: 15px; color: var(--text-soft); line-height: 1.7;
        background: var(--surface); border: 1px solid var(--border);
        border-left: 3px solid var(--blue);
        border-radius: 10px; padding: 16px 18px; max-width: 780px; margin: 0;
      }

      /* ---- Grupos dentro de "Qué incluye" ----
         Separar explícitamente lo gratuito de lo que se activa al contratar:
         antes la landing prometía las herramientas "desde el primer día" y
         quien se registraba encontraba "Mis Herramientas" vacío. */
      .include-group-head {
        display: flex; align-items: baseline; gap: 12px;
        margin: 0 0 20px; flex-wrap: wrap;
      }
      .include-group-head:not(:first-of-type) { margin-top: 52px; }
      .include-group-head h3 {
        font-size: 19px; font-weight: 800; color: var(--text); margin: 0;
      }
      .include-tag {
        font-size: 12px; font-weight: 700; letter-spacing: 0.4px;
        text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
      }
      .include-tag.free { background: rgba(34,197,94,0.15); color: #4ade80; }
      .include-tag.paid { background: var(--accent-light); color: #ff9a52; }

      /* ---- FAQ ---- */
      .faq-list { display: grid; gap: 12px; max-width: 780px; }
      .faq-item {
        background: var(--surface); border: 1px solid var(--border);
        border-radius: 12px; padding: 0; overflow: hidden;
      }
      .faq-item summary {
        cursor: pointer; list-style: none; padding: 18px 20px;
        font-size: 16px; font-weight: 700; color: var(--text);
        display: flex; align-items: center; justify-content: space-between; gap: 14px;
      }
      .faq-item summary::-webkit-details-marker { display: none; }
      .faq-item summary::after {
        content: '+'; font-size: 22px; font-weight: 400;
        color: var(--accent); line-height: 1; flex-shrink: 0;
      }
      .faq-item[open] summary::after { content: '\2212'; }
      .faq-item summary:hover { color: var(--accent); }
      .faq-answer {
        padding: 0 20px 18px; font-size: 15px;
        color: var(--muted); line-height: 1.7; margin: 0;
      }
      .faq-answer a { color: var(--accent); }

      /* ---- CTA final ---- */
      .final-cta {
        background:
          radial-gradient(circle at 0 0, rgba(59,95,181,0.22), transparent 60%),
          radial-gradient(circle at 100% 100%, rgba(255,106,0,0.14), transparent 60%),
          var(--bg-soft);
        border: 1px solid var(--border);
        border-radius: 28px; padding: 48px 40px; text-align: center;
        box-shadow: var(--shadow-md);
      }
      .final-cta h2 { margin-bottom: 12px; }
      .final-cta p {
        font-size: 17px; color: var(--muted); line-height: 1.7;
        max-width: 520px; margin: 0 auto 28px;
      }
      .final-cta-row {
        display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
      }

      /* ---- Features Grid (CRM) ---- */
      .features-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
      }
      .feature-card {
        background: var(--surface); border: 1px solid var(--border);
        border-radius: 16px; padding: 28px;
        box-shadow: var(--shadow-sm);
        transition: box-shadow 0.2s, transform 0.2s;
      }
      .feature-card:hover {
        box-shadow: var(--shadow-md); transform: translateY(-2px);
      }
      .feature-icon {
        width: 48px; height: 48px; border-radius: 12px;
        display: flex; align-items: center; justify-content: center;
        margin-bottom: 16px;
      }
      .feature-icon svg { width: 22px; height: 22px; }
      .feature-card h3 {
        font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--text);
      }
      .feature-card p {
        font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0;
      }

      /* ---- How it works ---- */
      .steps-flow {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
        position: relative;
      }
      .steps-flow::before {
        content: ''; position: absolute;
        top: 28px; left: 56px; right: 56px; height: 2px;
        background: var(--brand-gradient);
        z-index: 0;
      }
      .step-item {
        text-align: center; position: relative; z-index: 1;
      }
      .step-num {
        width: 56px; height: 56px; border-radius: 50%;
        background: var(--accent); color: #fff;
        font-weight: 800; font-size: 20px;
        display: flex; align-items: center; justify-content: center;
        margin: 0 auto 16px; box-shadow: 0 4px 12px rgba(255,106,0,0.35);
      }
      .step-item h4 { font-size: 15px; font-weight: 700; margin: 0 0 6px; color: var(--text); }
      .step-item p { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; }

      /* ---- Tools Grid ---- */
      .tools-grid {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
      }
      .tool-card {
        background: var(--surface); border: 1px solid var(--border);
        border-radius: 14px; padding: 24px 20px; text-align: center;
        box-shadow: var(--shadow-sm);
        transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
      }
      .tool-card:hover {
        box-shadow: var(--shadow-md); transform: translateY(-2px);
        border-color: rgba(255,106,0,0.3);
      }
      .tool-icon {
        width: 52px; height: 52px; border-radius: 14px;
        display: flex; align-items: center; justify-content: center;
        margin: 0 auto 14px;
      }
      .tool-icon svg { width: 24px; height: 24px; }
      .tool-card h4 { font-size: 14px; font-weight: 700; margin: 0 0 6px; color: var(--text); }
      .tool-card p { font-size: 13px; color: var(--muted-light); line-height: 1.5; margin: 0; }

      /* ---- Trabajar con nosotros ---- */
      .trabajar-layout {
        display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start;
      }
      .trabajar-info h2 { font-size: 36px; font-weight: 800; margin: 0 0 16px; color: var(--text); }
      .trabajar-info p { font-size: 16px; color: var(--muted); line-height: 1.7; margin: 0 0 28px; }
      .trabajar-perks { list-style: none; padding: 0; margin: 0 0 36px; }
      .trabajar-perks li {
        display: flex; align-items: flex-start; gap: 10px;
        font-size: 15px; color: var(--text-soft); margin-bottom: 12px;
        line-height: 1.5;
      }
      .perk-check {
        width: 20px; height: 20px; border-radius: 50%;
        background: var(--blue-light); color: var(--blue);
        display: flex; align-items: center; justify-content: center;
        flex-shrink: 0; margin-top: 2px;
      }
      .perk-check svg { width: 11px; height: 11px; }

      /* ---- CV Form ---- */
      .cv-form-wrap {
        background: var(--surface); border: 1px solid var(--border);
        border-radius: 20px; padding: 40px;
        box-shadow: var(--shadow-md);
      }
      .cv-form-wrap h3 {
        font-size: 22px; font-weight: 800; margin: 0 0 6px; color: var(--text);
      }
      .cv-form-wrap .form-subtitle {
        font-size: 14px; color: var(--muted); margin: 0 0 28px;
      }
      .cv-form .form-row {
        display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px;
      }
      .cv-form .form-row.full { grid-template-columns: 1fr; }
      .cv-form .form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
      .cv-form label {
        font-size: 13px; font-weight: 600; color: var(--text-soft);
      }
      .cv-form input,
      .cv-form select,
      .cv-form textarea {
        padding: 11px 14px; border: 1.5px solid var(--border);
        border-radius: 10px; font-size: 14px; color: var(--text);
        background: #fff; transition: border-color 0.2s, box-shadow 0.2s;
        font-family: inherit; outline: none;
      }
      .cv-form input:focus,
      .cv-form select:focus,
      .cv-form textarea:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px rgba(255,106,0,0.1);
      }
      .cv-form textarea { resize: vertical; min-height: 100px; }
      .cv-form .file-upload-area {
        border: 2px dashed var(--border); border-radius: 12px;
        padding: 28px; text-align: center; cursor: pointer;
        transition: border-color 0.2s, background 0.2s;
        position: relative;
      }
      .cv-form .file-upload-area:hover,
      .cv-form .file-upload-area.drag-over {
        border-color: var(--accent); background: var(--accent-light);
      }
      .cv-form .file-upload-area input[type="file"] {
        position: absolute; inset: 0; opacity: 0; cursor: pointer;
        width: 100%; height: 100%; border: none; padding: 0;
      }
      .cv-form .file-upload-icon { font-size: 28px; margin-bottom: 8px; }
      .cv-form .file-upload-text { font-size: 14px; color: var(--muted); }
      .cv-form .file-upload-text strong { color: var(--accent); }
      .cv-form #cv-file-name {
        font-size: 13px; color: #4ade80; font-weight: 600;
        margin-top: 8px; display: none;
      }
      .cv-form .submit-btn {
        width: 100%; padding: 14px; border-radius: 12px;
        background: var(--accent); color: #fff; font-weight: 700;
        font-size: 16px; border: none; cursor: pointer;
        transition: all 0.2s; margin-top: 8px;
      }
      .cv-form .submit-btn:hover {
        background: var(--accent-hover); box-shadow: 0 6px 20px rgba(255,106,0,0.35);
      }
      .cv-form .submit-btn:disabled {
        background: #334155; cursor: not-allowed; box-shadow: none;
      }
      #cv-form-status {
        margin-top: 12px; padding: 12px 16px; border-radius: 10px;
        font-size: 14px; font-weight: 500; display: none;
      }
      #cv-form-status.success { background: rgba(34,197,94,0.15); color: #4ade80; }
      #cv-form-status.error { background: rgba(239,68,68,0.15); color: #f87171; }

      /* ---- Footer ---- */
      .plataforma-footer {
        background: #050c17; color: var(--text-soft);
        padding: 48px 0 32px;
      }
      .plataforma-footer .footer-grid {
        display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
        margin-bottom: 40px;
      }
      .footer-newsletter { margin: 16px 0; }
      .footer-newsletter h4 { font-size: 14px; color: #fff; margin-bottom: 6px; }
      .footer-newsletter p { font-size: 13px; color: var(--muted-light); margin-bottom: 10px; }
      .newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
      .newsletter-form input[type="email"] {
        flex: 1; min-width: 160px; padding: 10px 12px; border-radius: 8px;
        border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06);
        color: #fff; font-size: 13px; font-family: inherit;
      }
      .newsletter-form input[type="email"]::placeholder { color: var(--muted-light); }
      .newsletter-form .hp-field { position: absolute; left: -9999px; }
      .newsletter-form button {
        padding: 10px 18px; border-radius: 8px; border: none; cursor: pointer;
        background: var(--accent); color: #fff; font-weight: 700; font-size: 13px; white-space: nowrap;
      }
      .newsletter-form button:disabled { opacity: .6; cursor: not-allowed; }
      .newsletter-status { margin-top: 8px; font-size: 12px; }
      .newsletter-status.success { color: #4ade80; }
      .newsletter-status.error { color: #f87171; }
      .plataforma-footer .footer-logo {
        font-weight: 800; font-size: 18px; color: #fff; margin-bottom: 12px;
        display: flex; align-items: center; gap: 10px;
      }
      .plataforma-footer .footer-logo .brand-mark { width: 26px; height: 26px; }
      .plataforma-footer .footer-desc { font-size: 14px; color: var(--muted-light); line-height: 1.6; }
      .footer-social { display: flex; gap: 10px; margin-top: 16px; }
      .footer-social a {
        display: inline-flex; align-items: center; justify-content: center;
        width: 34px; height: 34px; border-radius: 50%;
        background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
        color: var(--muted-light); transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
      }
      .footer-social a:hover { color: var(--accent); border-color: var(--accent); background: rgba(255,255,255,0.1); }
      .plataforma-footer h4 { font-size: 14px; font-weight: 700; color: #fff; margin: 0 0 14px; }
      .plataforma-footer ul { list-style: none; padding: 0; margin: 0; }
      .plataforma-footer ul li { margin-bottom: 8px; }
      .plataforma-footer ul a {
        color: var(--muted-light); text-decoration: none; font-size: 14px;
        transition: color 0.2s;
      }
      .plataforma-footer ul a:hover { color: #fff; }
      .plataforma-footer .footer-bottom {
        border-top: 1px solid var(--line); padding-top: 24px;
        display: flex; align-items: center; justify-content: space-between;
        font-size: 13px; color: var(--muted);
      }

      /* ---- Responsive ---- */
      @media (max-width: 1024px) {
        .features-grid { grid-template-columns: repeat(2, 1fr); }
        .tools-grid { grid-template-columns: repeat(2, 1fr); }
        .steps-flow { grid-template-columns: 1fr; }
        .steps-flow::before { display: none; }
        .trabajar-layout { grid-template-columns: 1fr; gap: 48px; }
        .plataforma-footer .footer-grid { grid-template-columns: 1fr 1fr; }
      }
      @media (max-width: 768px) {
        .hero-layout { grid-template-columns: 1fr; }
        .hero-visual-card { display: none; }
        .plataforma-hero h1 { font-size: 34px; }
        .plataforma-section h2 { font-size: 28px; }
        .features-grid { grid-template-columns: 1fr; }
        .tools-grid { grid-template-columns: repeat(2, 1fr); }
        .steps-flow { grid-template-columns: 1fr; }
        .cv-form .form-row { grid-template-columns: 1fr; }
        .plataforma-footer .footer-grid { grid-template-columns: 1fr; gap: 28px; }
        .plataforma-footer .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
        .plataforma-nav { display: none; }
        .final-cta { padding: 34px 22px; }
        .outcome-item strong { font-size: 16px; }
      }

      /* ===== OVERRIDE: inputs y modales de styles.css en tema oscuro =====
         styles.css trae modal/tabs/inputs con fondo blanco fijo; con los
         textos en claro de este :root quedarían ilegibles. */
      .form-group input,
      .form-group input[type],
      .input,
      .cv-form input,
      .cv-form select,
      .cv-form textarea {
        background: rgba(255,255,255,0.05) !important;
        color: var(--text) !important;
        border-color: rgba(255,255,255,0.14) !important;
      }
      .cv-form select option { background: var(--bg-soft); color: var(--text); }
      .form-group input:focus,
      .input:focus {
        background: rgba(255,255,255,0.08) !important;
        border-color: var(--accent) !important;
        box-shadow: 0 0 0 3px rgba(255,106,0,0.18) !important;
      }
      .form-group input::placeholder,
      .input::placeholder,
      .cv-form input::placeholder,
      .cv-form textarea::placeholder {
        color: var(--muted-light) !important;
      }
      /* Evitar que el autofill del navegador ponga fondo claro */
      input:-webkit-autofill,
      input:-webkit-autofill:hover,
      input:-webkit-autofill:focus {
        -webkit-text-fill-color: var(--text) !important;
        -webkit-box-shadow: 0 0 0px 1000px #111d30 inset !important;
        transition: background-color 5000s ease-in-out 0s;
      }
      .modal-card {
        background: var(--bg-soft) !important;
        border-color: var(--line) !important;
        color: var(--text);
        box-shadow: var(--shadow-lg);
      }
      .modal-card h2, .modal-card h3, .modal-card label { color: var(--text); }
      .tab { background: var(--surface) !important; border-color: var(--line) !important; color: var(--muted) !important; }
      .tab:hover { background: var(--surface-strong) !important; color: var(--text) !important; }
      .tab.active { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; }

      /* Menu lateral por hamburguesa (mobile-first y usable en desktop) */
      .nav-mobile-toggle {
        display: flex; flex-direction: column; gap: 5px;
        background: transparent; border: none; cursor: pointer; padding: 6px;
        border-radius: 8px;
      }
      .nav-mobile-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; display: block; transition: all 0.3s; }

      .plataforma-nav { display: none !important; }

      .side-menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(7, 17, 31, 0.55);
        backdrop-filter: blur(2px);
        z-index: 120;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
      }

      .side-menu-overlay.open {
        opacity: 1;
        pointer-events: auto;
      }

      .side-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: min(88vw, 360px);
        height: 100vh;
        background: var(--bg-soft);
        border-right: 1px solid var(--border);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
        z-index: 130;
        transform: translateX(-102%);
        transition: transform 0.28s ease;
        display: flex;
        flex-direction: column;
      }

      .side-menu.open {
        transform: translateX(0);
      }

      .side-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 18px 16px;
        border-bottom: 1px solid var(--border);
      }

      .side-menu-title {
        font-size: 15px;
        font-weight: 700;
        color: var(--text);
      }

      .side-menu-close {
        background: transparent;
        border: none;
        color: var(--text-soft);
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
        border-radius: 8px;
        padding: 2px 8px;
      }

      .side-menu-content {
        overflow-y: auto;
        padding: 10px 12px 24px;
      }

      .side-menu-link,
      .side-menu-trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 12px 12px;
        text-decoration: none;
        color: var(--text);
        font-size: 15px;
        font-weight: 600;
        border-radius: 10px;
        border: none;
        background: transparent;
        cursor: pointer;
      }

      .side-menu-link:hover,
      .side-menu-trigger:hover {
        background: var(--accent-light);
        color: var(--accent);
      }

      .side-submenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
        margin-left: 8px;
        border-left: 2px solid var(--line);
      }

      .side-submenu.open {
        max-height: 220px;
      }

      .side-submenu a {
        display: block;
        text-decoration: none;
        color: var(--text-soft);
        font-size: 14px;
        padding: 10px 12px;
        border-radius: 8px;
        margin: 4px 0 4px 8px;
      }

      .side-submenu a:hover {
        color: var(--accent);
        background: var(--accent-light);
      }

      .menu-caret {
        font-size: 12px;
        color: var(--muted-light);
        transition: transform 0.2s ease;
      }

      .side-menu-trigger[aria-expanded="true"] .menu-caret {
        transform: rotate(180deg);
      }

      @media (max-width: 600px) {
        .plataforma-nav-actions .btn-wa-header { display: none; }
      }
    
