/* Estilos de la web de Kudeapp (portada y paginas interiores) */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --navy: #FFFFFF;
    --navy-mid: #F5F5F5;
    --navy-light: #ECECEC;
    --accent: #E06D02;
    --accent-dim: #C45C00;
    --accent-glow: rgba(224,109,2,0.10);
    --text: #1A1510;
    --text-muted: #5A5450;
    --text-dim: #9A9490;
    --card-bg: #FFFFFF;
    --card-border: rgba(0,0,0,0.08);
    --card-hover: #FDF8F4;
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--navy);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* Grid background */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(rgba(224,109,2,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(224,109,2,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
  }

  /* NAV */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 5%;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  .logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    text-decoration: none;
  }

  .logo span { color: var(--accent); }
  .logo { display: flex; align-items: center; }
  .logo img { height: 34px; width: auto; display: block; }
  @media (max-width: 1320px) { nav .nav-links { gap: 1.4rem; } }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
  }

  .nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--text); }
  .nav-links a.active:not(.btn-nav) { color: var(--accent); font-weight: 600; }

  .btn-nav {
    background: var(--accent);
    color: var(--navy) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    transition: background 0.2s, transform 0.15s !important;
  }

  .btn-nav:hover { background: var(--accent-dim) !important; transform: translateY(-1px); }

  /* SECTIONS */
  section { position: relative; z-index: 1; }

  /* HERO */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7rem 5% 5rem;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-glow);
    border: 1px solid rgba(224,109,2,0.35);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    animation: fadeDown 0.8s ease both;
  }

  .hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }

  h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    max-width: 900px;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.9s ease 0.1s both;
  }

  h1 em {
    font-style: normal;
    color: var(--accent);
  }

  .hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 2.5rem;
    font-weight: 300;
    animation: fadeUp 0.9s ease 0.2s both;
  }

  .hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp 0.9s ease 0.3s both;
  }


  /* HERO compacto (texto + imagen) */
  .hero {
    min-height: auto; flex-direction: row; text-align: left; justify-content: space-between;
    gap: 3rem; max-width: 1280px; margin: 0 auto; padding: 8.5rem 5% 4.5rem;
  }
  .hero-text { flex: 1 1 46%; min-width: 0; }
  .hero h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin-bottom: 1.1rem; max-width: 600px; }
  .hero .hero-badge { margin-bottom: 1.4rem; }
  .hero .hero-sub { margin-bottom: 1.8rem; max-width: 500px; }
  .hero .hero-cta { justify-content: flex-start; }
  .hero-trust { margin-top: 1.6rem; font-size: 0.9rem; color: var(--text-muted); max-width: 480px; padding-left: 1.6rem; position: relative; animation: fadeUp 0.9s ease 0.4s both; }
  .hero-trust::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
  .hero-trust a { color: var(--accent); font-weight: 600; text-decoration: none; }
  .hero-visual { flex: 1 1 54%; position: relative; min-height: 380px; animation: fadeUp 1s ease 0.25s both; }
  .hero-visual::before { content: ''; position: absolute; inset: 8% -4% -6% 10%; background: radial-gradient(circle at 60% 40%, rgba(224,109,2,0.18), transparent 65%); z-index: 0; }
  .hero-shot { position: absolute; background: #fff; border: 1px solid var(--card-border); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px rgba(26,21,16,0.16); }
  .hero-shot img { display: block; width: 100%; height: auto; }
  .hero-shot-front { width: 88%; left: 0; top: 14%; z-index: 2; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
  .hero-shot-back { width: 62%; right: -2%; top: 0; z-index: 1; opacity: 0.9; transform: rotate(3deg); }
  .hero-shot-bar { display: flex; gap: 6px; padding: 9px 12px; background: #f3f1ee; border-bottom: 1px solid var(--card-border); }
  .hero-shot-bar span { width: 9px; height: 9px; border-radius: 50%; background: #d9d4cd; }
  .hero-shot-bar span:first-child { background: var(--accent); }
  .hero-chip { position: absolute; z-index: 3; background: #fff; border: 1px solid var(--card-border); border-radius: 999px; padding: 0.5rem 1rem; font-size: 0.9rem; font-weight: 600; box-shadow: 0 10px 28px rgba(26,21,16,0.12); white-space: nowrap; animation: knFloat 6s ease-in-out infinite; }
  .hero-chip-1 { left: -4%; top: 6%; }
  .hero-chip-2 { right: 2%; bottom: 4%; animation-delay: -2s; }
  .hero-chip-3 { left: 8%; bottom: -2%; animation-delay: -4s; }
  @keyframes knFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  @media (max-width: 900px) {
    .hero { flex-direction: column; text-align: center; padding: 7rem 5% 3rem; gap: 2.5rem; }
    .hero h1, .hero .hero-sub, .hero-trust { margin-left: auto; margin-right: auto; }
    .hero .hero-cta { justify-content: center; }
    .hero-trust { padding-left: 0; } .hero-trust::before { position: static; margin-right: 0.4rem; }
    .hero-visual { width: 100%; min-height: 0; aspect-ratio: 16 / 10; }
  }
  @media (max-width: 520px) { .hero-chip { font-size: 0.78rem; padding: 0.4rem 0.75rem; } .hero-shot-back { display: none; } .hero-shot-front { width: 100%; top: 6%; } }

  .btn-primary {
    background: var(--accent);
    color: #1A1510;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    display: inline-block;
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(224,109,2,0.35);
  }

  .btn-secondary {
    background: transparent;
    color: var(--text);
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid var(--card-border);
    transition: border-color 0.2s, background 0.2s;
    display: inline-block;
  }

  .btn-secondary:hover {
    border-color: rgba(255,255,255,0.25);
    background: var(--card-hover);
  }

  /* STATS */
  .stats-bar {
    padding: 3rem 5%;
    display: flex;
    justify-content: center;
    gap: 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    animation: fadeUp 1s ease 0.5s both;
  }

  .stat {
    flex: 1;
    max-width: 200px;
    text-align: center;
    padding: 0 2rem;
    border-right: 1px solid var(--card-border);
  }

  .stat:last-child { border-right: none; }

  .stat-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.04em;
    display: block;
  }

  .stat-num span { color: var(--accent); }

  .stat-label {
    font-size: 0.82rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.2rem;
    display: block;
  }

  /* FEATURES */
  .features {
    padding: 7rem 5%;
  }

  .section-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    text-align: center;
    margin-bottom: 1rem;
  }

  h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.15;
  }

  .section-sub {
    color: var(--text-muted);
    text-align: center;
    max-width: 520px;
    margin: 0 auto 4rem;
    font-size: 1.05rem;
    font-weight: 300;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  .feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
    cursor: default;
  }

  .feature-card:hover {
    border-color: rgba(224,109,2,0.3);
    background: var(--card-hover);
    transform: translateY(-4px);
  }

  .feature-icon {
    width: 48px; height: 48px;
    background: var(--accent-glow);
    border: 1px solid rgba(224,109,2,0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
  }

  .feature-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
  }

  .feature-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    font-weight: 300;
  }

  /* MODULES SECTION */
  .modules {
    padding: 7rem 5%;
    background: linear-gradient(180deg, transparent, rgba(224,109,2,0.05), transparent);
  }

  .modules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
  }

  .modules-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .module-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--card-border);
    border-radius: 10px;
    background: var(--card-bg);
    transition: border-color 0.2s, background 0.2s;
    cursor: default;
  }

  .module-item:hover {
    border-color: rgba(224,109,2,0.3);
    background: var(--card-hover);
  }

  .module-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
  }

  .module-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
  }

  .module-desc {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-left: auto;
  }

  /* Dashboard mockup */
  .dashboard-mock {
    background: #F0EDE8;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    font-size: 0.75rem;
  }

  .mock-header {
    background: #E8E3DC;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  .mock-dot { width: 10px; height: 10px; border-radius: 50%; }

  .mock-body { padding: 1rem; }

  .mock-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .mock-metric {
    background: #E8E3DC;
    border-radius: 8px;
    padding: 0.75rem;
  }

  .mock-metric-num {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
  }

  .mock-metric-label {
    color: var(--text-dim);
    font-size: 0.7rem;
    margin-top: 2px;
  }

  .mock-chart {
    background: #E8E3DC;
    border-radius: 8px;
    padding: 0.75rem;
    height: 80px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
  }

  .mock-bar {
    flex: 1;
    background: var(--card-border);
    border-radius: 3px 3px 0 0;
    transition: background 0.3s;
  }

  .mock-bar.active { background: var(--accent); }
  .mock-bar.mid { background: rgba(224,109,2,0.4); }

  /* SCREENSHOTS */
  .screenshots {
    padding: 7rem 5%;
  }

  .screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  .screenshot-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  }

  .screenshot-card:hover {
    transform: translateY(-4px);
    border-color: rgba(224,109,2,0.3);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  }

  .screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid var(--card-border);
    cursor: zoom-in;
  }

  .screenshot-caption {
    padding: 1rem 1.25rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
  }

  /* LIGHTBOX */
  .lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(26,21,16,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 5%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
  }

  .lightbox-overlay.open {
    opacity: 1;
    visibility: visible;
  }

  .lightbox-overlay img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    cursor: default;
  }

  .lightbox-caption {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255,255,255,0.85);
    font-family: var(--font-body);
    font-size: 0.9rem;
  }

  .lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
  }

  .lightbox-close:hover { background: rgba(255,255,255,0.2); }

  /* PRICING */
  /* MODULOS QUE SE CONTRATAN (en Precios) */
  .kn-pm-sec { padding: 6rem 5%; text-align: center; }
  .kn-pm-sec .kn-pm { text-align: left; }
  .kn-pm { max-width: 1100px; margin: 2.5rem auto 0; }
  .kn-pm-title { font-family: var(--font-display); font-size: 1.5rem; text-align: center; margin-bottom: 1.5rem; }
  .kn-pm-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 1.25rem; align-items: stretch; }
  .kn-pm-base { position: relative; background: rgba(224,109,2,0.05); border: 1px solid rgba(224,109,2,0.5); color: var(--text); border-radius: 22px; padding: 2.2rem 2rem 2rem; overflow: hidden; }
  .kn-pm-base h4 { font-family: var(--font-display); font-size: 1.6rem; margin: 0.4rem 0 1.2rem; color: var(--text); }
  .kn-pm-ico { font-size: 2.2rem; margin-top: 1rem; }
  .kn-pm-inc { display: flex; flex-wrap: wrap; gap: 0.45rem; position: relative; z-index: 1; }
  .kn-pm-inc span { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 999px; padding: 0.35rem 0.8rem; font-size: 0.86rem; color: var(--text-muted); }
  .kn-pm-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.25rem 0.65rem; border-radius: 999px; background: var(--accent-glow); color: var(--accent); white-space: nowrap; }
  .kn-pm-tag-base { background: var(--accent); color: #fff; }
  .kn-pm-opts { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 22px; padding: 1.4rem 1.6rem; display: flex; flex-direction: column; }
  .kn-pm-opts-head { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 0.4rem; }
  .kn-pm-opt { display: flex; align-items: center; gap: 1rem; padding: 0.9rem 0; border-top: 1px solid var(--card-border); }
  .kn-pm-opts-head + .kn-pm-opt { border-top: 0; }
  .kn-pm-opt-ico { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--card-hover); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
  .kn-pm-opt-txt { flex: 1; display: flex; flex-direction: column; gap: 0.15rem; }
  .kn-pm-opt-txt b { font-weight: 600; }
  .kn-pm-opt-txt span { font-size: 0.9rem; color: var(--text-muted); }
  .kn-pm-note { text-align: center; margin-top: 1.5rem; color: var(--text-muted); font-size: 0.95rem; }
  .kn-pm-note a { color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
  .kn-pm-note a:hover { text-decoration: underline; }
  @media (max-width: 860px) { .kn-pm-grid { grid-template-columns: 1fr; } .kn-pm-tag { display: none; } .kn-pm-tag-base { display: inline-block; } }

  .pricing {
    padding: 7rem 5%;
  }

  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    /*max-width: 950px;*/
    margin: 0 auto;
  }

  .pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
  }

  .pricing-card:hover { transform: translateY(-4px); }

  .pricing-card.featured {
    border-color: rgba(224,109,2,0.5);
    background: rgba(224,109,2,0.05);
  }

  .pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #1A1510;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    white-space: nowrap;
  }

  .pricing-plan {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 1rem;
  }

  .pricing-price {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.25rem;
  }

  .pricing-price sup {
    font-size: 1.2rem;
    vertical-align: top;
    margin-top: 0.5rem;
    font-weight: 500;
    color: var(--text-muted);
  }

  .pricing-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
  }

  .pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 2rem;
  }

  .pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
  }

  .pricing-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
  }

  .btn-plan {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    border: 1px solid var(--card-border);
    cursor: pointer;
  }

  .btn-plan-outline {
    color: var(--text);
    background: transparent;
  }

  .btn-plan-outline:hover {
    background: var(--card-hover);
    border-color: rgba(255,255,255,0.2);
  }

  .btn-plan-solid {
    background: var(--accent);
    color: #1A1510;
    border-color: var(--accent);
  }

  .btn-plan-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224,109,2,0.3);
  }

  /* TESTIMONIALS */
  .testimonials {
    padding: 7rem 5%;
    background: linear-gradient(180deg, transparent, rgba(224,109,2,0.05), transparent);
  }

  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  .testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    transition: border-color 0.3s;
  }

  .testimonial-card:hover { border-color: rgba(224,109,2,0.2); }

  .testimonial-stars {
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
  }

  .testimonial-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-weight: 300;
  }

  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .author-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #E8E3DC;
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
  }

  .author-name {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    line-height: 1.3;
  }

  .author-role {
    font-size: 0.8rem;
    color: var(--text-dim);
  }

  /* CTA SECTION */
  .cta-section {
    padding: 7rem 5%;
    text-align: center;
  }

  .cta-box {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(224,109,2,0.08), rgba(0,229,180,0.02));
    border: 1px solid rgba(224,109,2,0.25);
    border-radius: 24px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
  }

  .cta-box::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(224,109,2,0.10), transparent 70%);
    pointer-events: none;
  }

  .cta-box h2 {
    margin-bottom: 1rem;
  }

  .cta-box p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
  }

  /* FOOTER */
  footer {
    padding: 3rem 5%;
    border-top: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none;
    color: var(--text);
  }

  .footer-logo span { color: var(--accent); }

  .footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }

  .footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
  }

  .footer-links a:hover { color: var(--text-muted); }

  .footer-copy {
    color: var(--text-dim);
    font-size: 0.82rem;
  }

  /* ANIMATIONS */
  @keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
  }

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

  /* LANGUAGE SWITCHER */
  .lang-switch {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 1rem;
  }

  .lang-switch a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
  }

  .lang-switch a:hover { color: var(--text); background: var(--card-hover); }

  .lang-switch a.active {
    color: var(--accent);
    background: var(--accent-glow);
  }

  /* RESPONSIVE */
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .lang-switch { margin-left: auto; }
    .stats-bar { flex-wrap: wrap; }
    .stat { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.08); padding: 1rem; }
    .stat:last-child { border-bottom: none; }
    .modules-grid { grid-template-columns: 1fr; }
    .cta-box { padding: 2.5rem 1.5rem; }
    footer { flex-direction: column; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
  }

  /* ===== NUEVA WEB (index_nuevo.php) ===== */
  .kn-audience { padding: 6rem 5% 2rem; }
  .kn-aud-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem; max-width: 1000px; margin: 2.5rem auto 0;
  }
  .kn-aud-card {
    display: flex; flex-direction: column; gap: 0.6rem;
    background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px;
    padding: 2rem; text-decoration: none; color: var(--text);
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  }
  .kn-aud-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(224,109,2,0.10); }
  .kn-aud-icon {
    width: 44px; height: 44px; border-radius: 12px; background: var(--accent-glow); color: var(--accent);
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700;
  }
  .kn-aud-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
  .kn-aud-desc { color: var(--text-muted); font-size: 0.97rem; line-height: 1.6; }
  .kn-aud-link { color: var(--accent); font-weight: 600; font-size: 0.92rem; margin-top: auto; padding-top: 0.5rem; }

  .kn-shots { margin-top: 3.5rem; grid-template-columns: repeat(4, 1fr) !important; max-width: 1200px !important; }
  .hero-sub a { color: var(--accent); font-weight: 600; text-decoration: none; }
  .hero-sub a:hover { text-decoration: underline; }
  .kn-pricing-4 .pricing-price { font-size: 2.3rem; }
  .kn-vat { font-size: 0.95rem; font-weight: 600; letter-spacing: 0; color: var(--text-muted); }
  .kn-pricing-4 .pricing-features li { display: block; position: relative; padding-left: 1.2rem; }
  .kn-pricing-4 .pricing-features li::before { position: absolute; left: 0; top: 0.15rem; }

  .kn-mga { padding: 6rem 5%; background: var(--navy-mid); }
  .kn-mga-table {
    display: grid; grid-template-columns: 1fr 1.4fr; max-width: 900px; margin: 0 auto;
    border: 1px solid var(--card-border); border-radius: 16px; overflow: hidden; background: var(--card-bg);
  }
  .kn-mga-table > div { padding: 1.1rem 1.4rem; border-top: 1px solid var(--card-border); font-size: 0.97rem; }
  .kn-mga-head { background: var(--navy-mid); font-size: 0.78rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); border-top: none !important; }
  .kn-mga-need { font-weight: 600; }
  .kn-mga-have { color: var(--text-muted); border-left: 1px solid var(--card-border); }

  .kn-edu { padding: 4rem 5%; }
  .kn-edu-box {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center;
    max-width: 1100px; margin: 0 auto; padding: 3rem; border-radius: 20px;
    background: var(--accent-glow); border: 1px solid rgba(224,109,2,0.18);
  }
  .kn-edu-sub { color: var(--text); font-size: 1.05rem; margin: 0.5rem 0 1rem; }
  .kn-edu-note { color: var(--text-muted); font-size: 0.97rem; margin-bottom: 1.75rem; }
  .kn-edu-list { display: flex; flex-direction: column; gap: 0.75rem; }
  .kn-edu-list .module-item { background: var(--card-bg); }

  .kn-tag {
    display: inline-block; font-size: 0.75rem; font-weight: 600; color: var(--accent-dim);
    background: #fff; border: 1px solid rgba(224,109,2,0.25); border-radius: 999px;
    padding: 0.2rem 0.7rem; margin-bottom: 1rem;
  }

  .kn-pricing-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important; max-width: 1200px !important; }
  .kn-reco { font-size: 0.85rem; color: var(--accent-dim); font-weight: 600; margin: -0.25rem 0 0.75rem; }
  .kn-price-text { font-size: 2rem !important; }

  .kn-faq { padding: 6rem 5%; }
  .kn-faq-list { max-width: 760px; margin: 2.5rem auto 0; display: flex; flex-direction: column; gap: 0.75rem; }
  .kn-faq-list details {
    background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 1rem 1.25rem;
  }
  .kn-faq-list details[open] { border-color: rgba(224,109,2,0.35); }
  .kn-faq-list summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 2rem; }
  .kn-faq-list summary::-webkit-details-marker { display: none; }
  .kn-faq-list summary::after { content: '+'; position: absolute; right: 0; top: -0.1rem; color: var(--accent); font-size: 1.3rem; font-weight: 400; }
  .kn-faq-list details[open] summary::after { content: '−'; }
  .kn-faq-list details p { color: var(--text-muted); margin-top: 0.6rem; font-size: 0.97rem; }


  /* Modulos (slides) */
  .kn-mod { padding: 6rem 5%; background: var(--navy-mid); }
  .kn-mod-wrap { max-width: 1200px; margin: 2.5rem auto 0; }
  .kn-mod-more { text-align: center; margin-top: 2rem; color: var(--text-muted); }
  .kn-mod-more a { color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
  .kn-mod-more a:hover { text-decoration: underline; }
  .kn-mod-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45rem; margin-bottom: 1.75rem; }
  .kn-mod-group { display: none; }
  .kn-mod-tab {
    display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer; white-space: nowrap;
    background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 999px; padding: 0.45rem 0.95rem;
    font-family: var(--font-body); font-size: 0.9rem; color: var(--text-muted); transition: all 0.2s;
  }
  .kn-mod-tab:hover { color: var(--text); border-color: rgba(224,109,2,0.35); }
  .kn-mod-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; box-shadow: 0 6px 18px rgba(224,109,2,0.25); }
  .kn-mod-ico { font-size: 1rem; }
  .kn-mod-stage { position: relative; }
  .kn-mod-panel {
    display: none; grid-template-columns: 1.75fr 1fr; background: var(--card-bg);
    border: 1px solid var(--card-border); border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(26,21,16,0.08);
  }
  .kn-mod-panel.active { display: grid; animation: knModIn 0.45s ease; }
  @keyframes knModIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
  .kn-mod-img { position: relative; min-height: 420px; background: var(--navy-light); overflow: hidden; border-right: 1px solid var(--card-border); }
  .kn-mod-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transform-origin: top left; cursor: zoom-in; transition: transform 6s ease; }
  .kn-mod-panel.active .kn-mod-img img { transform: scale(1.04); }
  .kn-mod-ilus {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem;
    background: radial-gradient(circle at 30% 20%, rgba(224,109,2,0.22), transparent 55%), linear-gradient(135deg, #FDF8F4, #F1E8DF);
  }
  .kn-mod-ilus-ico { font-size: 5rem; line-height: 1; }
  .kn-mod-ilus-txt { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--accent-dim); letter-spacing: -0.02em; }
  .kn-mod-text { padding: 2.5rem 2.25rem; display: flex; flex-direction: column; justify-content: center; }
  .kn-mod-num { font-family: var(--font-display); font-size: 0.85rem; color: var(--text-dim); margin-bottom: 1rem; }
  .kn-mod-num b { color: var(--accent); font-size: 1.6rem; }
  .kn-mod-text h3 { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.15; letter-spacing: -0.03em; margin: 0.7rem 0 0.9rem; }
  .kn-mod-text p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }
  .kn-mod-tag { align-self: flex-start; font-size: 0.75rem; font-weight: 600; color: var(--accent-dim); background: var(--accent-glow); border-radius: 999px; padding: 0.25rem 0.75rem; }
  .kn-mod-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid var(--card-border); background: #fff; color: var(--text); font-size: 1.3rem; cursor: pointer;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10); transition: background 0.2s, color 0.2s;
  }
  .kn-mod-arrow:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
  .kn-mod-prev { left: -24px; } .kn-mod-next { right: -24px; }
  .kn-mod-dots { display: flex; justify-content: center; gap: 0.45rem; margin-top: 1.4rem; }
  .kn-mod-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(0,0,0,0.15); border: 0; padding: 0; cursor: pointer; transition: width 0.3s, background 0.3s; }
  .kn-mod-dot.active { width: 28px; background: var(--accent); }
  .kn-mod-note { margin-top: 1.25rem; text-align: center; color: var(--text-muted); font-size: 0.95rem; }
  .kn-mod-note a { color: var(--accent); font-weight: 600; text-decoration: none; }
  @media (max-width: 900px) {
    .kn-mod-nav { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 0.4rem; -webkit-overflow-scrolling: touch; }
    .kn-mod-panel.active { grid-template-columns: 1fr; }
    .kn-mod-img { min-height: 0; aspect-ratio: 16 / 10; border-right: 0; border-bottom: 1px solid var(--card-border); }
    .kn-mod-text { padding: 1.5rem 1.4rem 1.75rem; }
    .kn-mod-text h3 { font-size: 1.45rem; }
    .kn-mod-arrow { top: auto; bottom: -62px; transform: none; width: 40px; height: 40px; }
    .kn-mod-prev { left: 0; } .kn-mod-next { right: 0; }
    .kn-mod-dots { margin-top: 1.9rem; }
    .kn-mod-note { margin-top: 2.6rem; }
    .kn-mod-ilus-ico { font-size: 3.4rem; }
  }
  @media (max-width: 768px) {
    .kn-mga-table { grid-template-columns: 1fr; }
    .kn-mga-head:nth-child(2) { display: none; }
    .kn-mga-have { border-left: none; border-top: none !important; padding-top: 0 !important; }
    .kn-edu-box { grid-template-columns: 1fr; padding: 2rem 1.5rem; gap: 1.5rem; }
    .kn-shots { grid-template-columns: 1fr 1fr !important; }
  }

  /* POR QUE KUDEAPP */
  .kn-why { padding: 6rem 5%; background: var(--navy); }
  .kn-why-grid { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .kn-why-card { display: flex; gap: 16px; align-items: flex-start; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 1.2rem 1.4rem; transition: border-color .2s, background .2s; }
  .kn-why-card:hover { border-color: rgba(224,109,2,0.45); background: var(--card-hover); }
  .kn-why-wide { grid-column: 1 / -1; }
  .kn-why-ico { flex: 0 0 40px; height: 40px; border-radius: 10px; background: rgba(224,109,2,0.10); display: flex; align-items: center; justify-content: center; }
  .kn-why-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--accent-dim); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .kn-why-card h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; margin: 0 0 .25rem; letter-spacing: 0; }
  .kn-why-card p { margin: 0; color: var(--text-muted); font-size: .95rem; line-height: 1.5; }
  @media (max-width: 720px) { .kn-why-grid { grid-template-columns: 1fr; } .kn-why-card { padding: 1rem 1.1rem; } }

  /* MENU MOVIL (boton hamburguesa) */
  .nav-toggle { display: none; }
  @media (max-width: 1180px) {
    .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; margin-left: 0.5rem; padding: 0; background: transparent; border: 1px solid rgba(0,0,0,0.12); border-radius: 8px; cursor: pointer; }
    .nav-toggle span { display: block; width: 18px; height: 2px; margin: 0 auto; background: var(--text); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
    nav.kn-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    nav.kn-open .nav-toggle span:nth-child(2) { opacity: 0; }
    nav.kn-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .lang-switch { margin-left: auto; }
    nav .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 5% 1.25rem; background: #FFFFFF; border-bottom: 1px solid rgba(0,0,0,0.08); box-shadow: 0 12px 24px rgba(0,0,0,0.08); max-height: calc(100vh - 80px); overflow-y: auto; }
    nav.kn-open .nav-links { display: flex; }
    nav .nav-links li a { display: block; padding: 0.85rem 0; font-size: 1rem; border-bottom: 1px solid rgba(0,0,0,0.06); }
    nav .nav-links li a.btn-nav { margin-top: 0.9rem; text-align: center; border-bottom: none; padding: 0.8rem 1.25rem; }
  }
