/* Asfink 2.0 - Estilos compartidos */

  :root {
    --navy-900: #0a1628;
    --navy-800: #102742;
    --navy-700: #1a3a5c;
    --navy-50:  #f4f7fb;
    --cyan:     #14b8c4;
    --cyan-dim: #0f8a93;
    --cyan-soft:#e0f7f9;
    --gold:     #d4a04a;
    --wzp:      #25d366;
    --wzp-dark: #128c7e;
    --ink:      #0a1628;
    --ink-60:   #5a6b7e;
    --ink-40:   #94a0ae;
    --line:     #e4e9f0;
    --bg:       #fafbfc;
    --white:    #ffffff;
    --success:  #2d9d6f;
    --warn:     #e08c3c;
    --danger:   #d04848;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  h1, h2, h3, h4 { font-family: 'Fraunces', serif; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
  .mono { font-family: 'JetBrains Mono', monospace; }

  /* --------- TOP NAV --------- */
  .topnav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250,251,252,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .topnav-inner {
    max-width: 1320px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 40px;
  }
  .logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Fraunces', serif; font-size: 22px; font-weight: 600;
    color: var(--navy-900); text-decoration: none; cursor: pointer;
  }
  .logo-mark {
    width: 38px; height: 38px;
    border-radius: 8px;
    object-fit: contain;
    background: white;
    display: block;
  }
  .logo span { color: var(--cyan-dim); font-weight: 400; }
  .nav-tabs { display: flex; gap: 4px; background: var(--white); padding: 4px; border-radius: 12px; border: 1px solid var(--line); }
  .nav-tab {
    border: none; background: transparent;
    padding: 8px 16px; font-size: 13px; font-weight: 500;
    color: var(--ink-60); cursor: pointer;
    border-radius: 8px;
    font-family: inherit;
    transition: all 0.2s;
  }
  .nav-tab:hover { color: var(--navy-900); }
  .nav-tab.active { background: var(--navy-900); color: white; }
  .nav-cta { display: flex; gap: 10px; align-items: center; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: 10px;
    font-family: inherit; font-size: 13px; font-weight: 500;
    border: none; cursor: pointer; text-decoration: none;
    transition: all 0.2s;
  }
  .btn-ghost { background: transparent; color: var(--navy-800); border: 1px solid var(--line); }
  .btn-ghost:hover { background: var(--white); border-color: var(--navy-800); }
  .btn-primary { background: var(--navy-900); color: white; }
  .btn-primary:hover { background: var(--navy-700); transform: translateY(-1px); }
  .btn-cyan { background: var(--cyan); color: var(--navy-900); font-weight: 600; }
  .btn-cyan:hover { background: var(--cyan-dim); color: white; transform: translateY(-1px); }
  .btn-wzp { background: var(--wzp); color: white; font-weight: 600; }
  .btn-wzp:hover { background: var(--wzp-dark); }
  .btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }

  /* --------- PAGES --------- */
  .page { display: none; animation: fadeIn 0.4s ease; }
  .page.active { display: block; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

  /* --------- LANDING --------- */
  .hero {
    position: relative;
    max-width: 1320px; margin: 0 auto;
    padding: 80px 40px 100px;
    overflow: hidden;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
  }
  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 14px;
    background: var(--cyan-soft);
    color: var(--cyan-dim);
    border-radius: 100px;
    font-size: 12px; font-weight: 500;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
  }
  .hero-eyebrow::before {
    content: ''; width: 6px; height: 6px;
    background: var(--cyan); border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(20, 184, 196, 0.2);
    animation: pulse 2s infinite;
  }
  @keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(20, 184, 196, 0); } }
  .hero h1 {
    font-size: clamp(46px, 5.5vw, 78px);
    color: var(--navy-900);
    margin-bottom: 24px;
  }
  .hero h1 em {
    font-style: italic; font-weight: 400;
    color: var(--cyan-dim);
    font-family: 'Fraunces', serif;
  }
  .hero-sub {
    font-size: 19px; color: var(--ink-60);
    max-width: 540px; margin-bottom: 36px;
    line-height: 1.5;
  }
  .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
  .hero-trust {
    margin-top: 48px; display: flex; gap: 32px;
    padding-top: 28px; border-top: 1px solid var(--line);
  }
  .trust-stat .num {
    font-family: 'Fraunces', serif;
    font-size: 32px; font-weight: 500;
    color: var(--navy-900); display: block;
  }
  .trust-stat .lbl {
    font-size: 12px; color: var(--ink-60);
    text-transform: uppercase; letter-spacing: 0.08em;
  }

  /* Hero visual: stacked cards mock */
  .hero-visual {
    position: relative; height: 540px;
  }
  .stack-card {
    position: absolute; background: white;
    border-radius: 18px; padding: 22px;
    box-shadow: 0 20px 60px -20px rgba(10, 22, 40, 0.18);
    border: 1px solid var(--line);
  }
  .stack-card-1 {
    top: 0; right: 0; width: 320px;
    transform: rotate(2deg);
    background: var(--navy-900); color: white;
    border-color: var(--navy-800);
  }
  .stack-card-2 {
    top: 140px; left: 0; width: 300px;
    transform: rotate(-3deg);
    z-index: 2;
  }
  .stack-card-3 {
    bottom: 0; right: 30px; width: 280px;
    transform: rotate(4deg);
  }
  .sc-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-40); margin-bottom: 8px; }
  .stack-card-1 .sc-label { color: rgba(255,255,255,0.5); }
  .sc-big { font-family: 'Fraunces', serif; font-size: 32px; font-weight: 500; margin-bottom: 4px; }
  .sc-mini { font-size: 13px; color: var(--ink-60); }
  .stack-card-1 .sc-mini { color: rgba(255,255,255,0.6); }

  .sparkline { display: flex; align-items: end; gap: 3px; height: 40px; margin-top: 12px; }
  .sparkline div {
    flex: 1; background: var(--cyan);
    border-radius: 2px;
    opacity: 0.8;
  }

  .ratio-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
  .ratio-row:last-child { border: none; }
  .ratio-row b { font-weight: 600; }
  .badge-ok { background: #e6f6ee; color: var(--success); padding: 2px 8px; border-radius: 100px; font-size: 11px; font-weight: 500; }

  /* sections */
  section { max-width: 1320px; margin: 0 auto; padding: 80px 40px; }
  .section-head { margin-bottom: 48px; max-width: 720px; }
  .section-kicker {
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--cyan-dim); font-weight: 600; margin-bottom: 16px;
  }
  .section-title { font-size: clamp(36px, 4vw, 52px); color: var(--navy-900); margin-bottom: 16px; }
  .section-title em { font-style: italic; font-weight: 400; color: var(--cyan-dim); }
  .section-sub { font-size: 17px; color: var(--ink-60); }

  /* steps */
  .steps {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
    margin-top: 32px;
  }
  .step-card {
    background: white; border: 1px solid var(--line);
    border-radius: 16px; padding: 24px;
    position: relative;
    transition: all 0.3s;
  }
  .step-card:hover { border-color: var(--cyan); transform: translateY(-4px); box-shadow: 0 12px 32px -16px rgba(20, 184, 196, 0.3); }
  .step-num {
    font-family: 'Fraunces', serif;
    font-size: 36px; font-weight: 500;
    color: var(--cyan); line-height: 1;
    margin-bottom: 16px;
    font-style: italic;
  }
  .step-title { font-family: 'IBM Plex Sans'; font-weight: 600; font-size: 15px; color: var(--navy-900); margin-bottom: 8px; }
  .step-desc { font-size: 13px; color: var(--ink-60); }

  /* products grid landing */
  .products-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 16px; margin-top: 32px;
  }
  .product-card {
    background: white; border: 1px solid var(--line);
    border-radius: 18px; padding: 28px;
    transition: all 0.3s; cursor: pointer;
    position: relative; overflow: hidden;
  }
  .product-card::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--cyan); transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s;
  }
  .product-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 20px 50px -20px rgba(10, 22, 40, 0.15); }
  .product-card:hover::after { transform: scaleX(1); }
  .product-icon {
    width: 48px; height: 48px;
    background: var(--cyan-soft); color: var(--cyan-dim);
    border-radius: 12px; display: grid; place-items: center;
    font-size: 22px; margin-bottom: 20px;
  }
  .product-card h3 { font-size: 22px; margin-bottom: 8px; color: var(--navy-900); }
  .product-card p { font-size: 14px; color: var(--ink-60); margin-bottom: 16px; }
  .product-tags { display: flex; gap: 6px; flex-wrap: wrap; }
  .tag { font-size: 11px; padding: 3px 8px; background: var(--navy-50); color: var(--navy-800); border-radius: 100px; font-weight: 500; }
  .tag-fee { background: var(--cyan-soft); color: var(--cyan-dim); }

  /* --------- ONBOARDING --------- */
  .onboard-wrap {
    max-width: 1100px; margin: 0 auto;
    padding: 40px 40px 80px;
  }
  .onboard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
  .onboard-back { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-60); text-decoration: none; font-size: 13px; cursor: pointer; }
  .onboard-back:hover { color: var(--navy-900); }
  .save-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; background: #e6f6ee; color: var(--success);
    border-radius: 100px; font-size: 12px; font-weight: 500;
  }
  .save-pill::before { content: ''; width: 6px; height: 6px; background: var(--success); border-radius: 50%; }

  .progress {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
    margin-bottom: 48px;
  }
  .progress-step {
    height: 4px; background: var(--line); border-radius: 100px;
    position: relative; cursor: pointer;
  }
  .progress-step.done { background: var(--cyan); }
  .progress-step.active { background: var(--navy-900); }
  .progress-step span {
    position: absolute; top: 14px; left: 0;
    font-size: 11px; color: var(--ink-40);
    font-weight: 500; letter-spacing: 0.04em;
  }
  .progress-step.active span, .progress-step.done span { color: var(--navy-900); }

  .onboard-card {
    background: white; border: 1px solid var(--line);
    border-radius: 24px; padding: 56px;
    box-shadow: 0 1px 3px rgba(10, 22, 40, 0.03);
  }
  .ob-step-num {
    font-family: 'JetBrains Mono';
    font-size: 12px; color: var(--cyan-dim); font-weight: 500;
    margin-bottom: 16px;
  }
  .ob-title { font-size: 36px; color: var(--navy-900); margin-bottom: 12px; }
  .ob-title em { font-style: italic; font-weight: 400; color: var(--cyan-dim); }
  .ob-desc { font-size: 16px; color: var(--ink-60); margin-bottom: 40px; max-width: 640px; }

  .upload-zone {
    display: block;
    border: 2px dashed var(--line);
    border-radius: 16px; padding: 48px;
    text-align: center; cursor: pointer;
    transition: all 0.3s; background: #fafbfc;
  }
  .upload-zone:hover { border-color: var(--cyan); background: var(--cyan-soft); }
  .upload-zone.uploaded { border-style: solid; border-color: var(--success); background: #f4faf6; }
  .upload-icon {
    width: 56px; height: 56px;
    background: var(--cyan-soft); color: var(--cyan-dim);
    border-radius: 14px; display: grid; place-items: center;
    margin: 0 auto 16px; font-size: 24px;
  }
  .upload-zone.uploaded .upload-icon { background: #e6f6ee; color: var(--success); }
  .upload-title { font-weight: 600; color: var(--navy-900); margin-bottom: 6px; font-size: 15px; }
  .upload-hint { font-size: 13px; color: var(--ink-60); }
  .upload-meta { margin-top: 16px; font-family: 'JetBrains Mono'; font-size: 11px; color: var(--ink-40); }

  .multi-upload { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

  .form-field { margin-bottom: 24px; }
  .form-field label {
    display: block; font-size: 13px; font-weight: 500;
    color: var(--navy-800); margin-bottom: 8px;
  }
  .form-field input, .form-field textarea, .form-field select {
    width: 100%; padding: 14px 18px;
    border: 1px solid var(--line); border-radius: 12px;
    font-family: inherit; font-size: 15px; color: var(--navy-900);
    background: white;
    transition: all 0.2s;
  }
  .form-field input:focus, .form-field textarea:focus, .form-field select:focus {
    outline: none; border-color: var(--cyan);
    box-shadow: 0 0 0 4px var(--cyan-soft);
  }
  .form-field textarea { min-height: 120px; resize: vertical; font-family: inherit; }
  .form-field-hint { font-size: 12px; color: var(--ink-40); margin-top: 6px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

  .choice-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  }
  .choice-card {
    border: 1px solid var(--line); border-radius: 14px;
    padding: 20px; cursor: pointer; transition: all 0.2s;
    background: white;
  }
  .choice-card:hover { border-color: var(--cyan); }
  .choice-card.selected { border-color: var(--navy-900); background: var(--navy-50); }
  .choice-card.selected::before {
    content: '✓'; float: right; width: 24px; height: 24px;
    background: var(--navy-900); color: white;
    border-radius: 50%; display: grid; place-items: center;
    font-size: 13px; font-weight: 700;
  }
  .choice-icon { font-size: 22px; margin-bottom: 12px; }
  .choice-title { font-weight: 600; color: var(--navy-900); margin-bottom: 4px; font-size: 14px; }
  .choice-desc { font-size: 12px; color: var(--ink-60); }

  .amount-input {
    display: flex; align-items: center;
    border: 1px solid var(--line); border-radius: 12px;
    padding: 0 18px; background: white;
  }
  .amount-input:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px var(--cyan-soft); }
  .amount-input .currency { font-family: 'JetBrains Mono'; color: var(--ink-40); font-size: 14px; }
  .amount-input input { border: none; padding: 14px 8px; font-size: 18px; font-weight: 500; flex: 1; font-family: 'Fraunces'; background: transparent; }
  .amount-input input:focus { outline: none; }

  .ob-foot {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line);
  }
  .ob-foot-info { font-size: 13px; color: var(--ink-60); }

  /* Lightweight account screen */
  .account-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    margin-bottom: 28px;
  }
  .auth-options {
    display: flex; flex-direction: column; gap: 10px;
  }
  .auth-btn {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; border: 1px solid var(--line);
    background: white; border-radius: 12px;
    cursor: pointer; transition: all 0.2s;
    font-family: inherit; font-size: 14px; color: var(--navy-900);
    text-align: left;
  }
  .auth-btn:hover { border-color: var(--navy-900); }
  .auth-btn .icon { width: 24px; height: 24px; display: grid; place-items: center; font-size: 18px; }
  .auth-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 20px 0; font-size: 12px; color: var(--ink-40);
  }
  .auth-divider::before, .auth-divider::after {
    content: ''; flex: 1; height: 1px; background: var(--line);
  }

  /* --------- DASHBOARD --------- */
  .dash-wrap {
    max-width: 1320px; margin: 0 auto;
    padding: 40px 40px 80px;
    display: grid; grid-template-columns: 240px 1fr; gap: 40px;
  }
  .dash-side {
    position: sticky; top: 100px; align-self: start;
  }
  .side-section { margin-bottom: 32px; }
  .side-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-40); font-weight: 600; margin-bottom: 12px; }
  .side-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 10px;
    color: var(--ink-60); cursor: pointer;
    font-size: 14px; transition: all 0.2s;
    text-decoration: none;
  }
  .side-item:hover { background: white; color: var(--navy-900); }
  .side-item.active { background: var(--navy-900); color: white; }
  .side-item .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.5; }

  .dash-main { min-width: 0; }
  .dash-hero {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    border-radius: 24px; padding: 40px; color: white;
    margin-bottom: 24px; position: relative; overflow: hidden;
  }
  .dash-hero::before {
    content: ''; position: absolute; top: -50%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(20, 184, 196, 0.25), transparent 70%);
    border-radius: 50%;
  }
  .dash-hero-content { position: relative; }
  .dh-row { display: flex; justify-content: space-between; align-items: start; margin-bottom: 32px; }
  .dh-company {
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5); margin-bottom: 8px;
  }
  .dh-name { font-family: 'Fraunces'; font-size: 32px; font-weight: 500; }
  .dh-rut { font-family: 'JetBrains Mono'; font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }
  .dh-score { text-align: right; }
  .score-circle {
    width: 80px; height: 80px;
    border-radius: 50%; background: rgba(20, 184, 196, 0.15);
    border: 3px solid var(--cyan);
    display: grid; place-items: center;
    font-family: 'Fraunces'; font-size: 28px; font-weight: 600;
    color: var(--cyan); margin-left: auto;
  }
  .dh-score-lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-top: 8px; }

  .dh-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
  .dh-stat .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
  .dh-stat .val { font-family: 'Fraunces'; font-size: 26px; font-weight: 500; }
  .dh-stat .delta { font-size: 12px; color: var(--cyan); margin-top: 4px; }

  .dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 16px; }
  .dash-card {
    background: white; border: 1px solid var(--line);
    border-radius: 18px; padding: 28px;
  }
  .dc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
  .dc-title { font-family: 'Fraunces'; font-size: 20px; font-weight: 500; color: var(--navy-900); }
  .dc-mini { font-size: 12px; color: var(--ink-60); }

  /* mini chart */
  .chart-wrap { height: 200px; position: relative; margin-top: 12px; }
  .chart-bars { display: flex; align-items: end; gap: 8px; height: 100%; padding: 0 4px; }
  .chart-bar {
    flex: 1; background: linear-gradient(to top, var(--navy-700), var(--cyan));
    border-radius: 6px 6px 0 0; min-height: 4px;
    position: relative;
    transition: all 0.3s;
  }
  .chart-bar:hover { opacity: 0.85; }
  .chart-bar .lbl { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-size: 10px; font-family: 'JetBrains Mono'; color: var(--ink-40); white-space: nowrap; }

  .ratios-list { display: flex; flex-direction: column; gap: 12px; }
  .ratio-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; border-bottom: 1px solid var(--line);
  }
  .ratio-item:last-child { border: none; padding-bottom: 0; }
  .ratio-name { font-size: 13px; color: var(--ink-60); }
  .ratio-val { display: flex; align-items: center; gap: 8px; }
  .ratio-num { font-family: 'Fraunces'; font-size: 18px; font-weight: 500; color: var(--navy-900); }
  .badge-warn { background: #fff5e6; color: var(--warn); padding: 2px 8px; border-radius: 100px; font-size: 10px; font-weight: 500; }
  .badge-danger { background: #fceaea; color: var(--danger); padding: 2px 8px; border-radius: 100px; font-size: 10px; font-weight: 500; }

  .strengths-card { background: linear-gradient(135deg, #f4faf6, white); border-color: #d4ead9; }
  .considerations-card { background: linear-gradient(135deg, #fef7ec, white); border-color: #f0dfb8; }
  .strengths-card .dc-title { color: var(--success); }
  .considerations-card .dc-title { color: var(--warn); }
  .insight-list { list-style: none; }
  .insight-list li {
    position: relative; padding: 10px 0 10px 24px;
    font-size: 13px; line-height: 1.6;
    border-bottom: 1px dashed rgba(0,0,0,0.05);
  }
  .insight-list li:last-child { border: none; }
  .insight-list li::before {
    content: '→'; position: absolute; left: 0; top: 10px;
    font-weight: 600; color: var(--cyan-dim);
  }
  .strengths-card .insight-list li::before { content: '✓'; color: var(--success); }
  .considerations-card .insight-list li::before { content: '!'; color: var(--warn); }

  /* recommendation banner */
  .recommend {
    background: var(--navy-900); border-radius: 24px;
    padding: 40px; color: white;
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px;
    align-items: center; margin-bottom: 24px;
    position: relative; overflow: hidden;
  }
  .recommend::before {
    content: 'APTA';
    position: absolute; right: -30px; top: -20px;
    font-family: 'Fraunces'; font-style: italic;
    font-size: 220px; font-weight: 600;
    color: rgba(20, 184, 196, 0.08);
    line-height: 1;
  }
  .rec-content { position: relative; }
  .rec-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--cyan); margin-bottom: 12px; font-weight: 600; }
  .rec-title { font-family: 'Fraunces'; font-size: 32px; font-weight: 500; margin-bottom: 12px; line-height: 1.2; }
  .rec-desc { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 24px; }
  .rec-conds { background: rgba(255,255,255,0.05); border-radius: 14px; padding: 20px; position: relative; }
  .rec-conds-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
  .rec-conds ol { padding-left: 18px; }
  .rec-conds li { font-size: 13px; color: rgba(255,255,255,0.85); margin-bottom: 6px; }

  /* CONTRACT — fee structure visual */
  .contract-panel {
    background: white; border-radius: 24px; border: 1px solid var(--line);
    padding: 40px; margin-bottom: 24px;
  }
  .cp-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 32px; gap: 20px; flex-wrap: wrap; }
  .cp-head h2 { font-size: 32px; color: var(--navy-900); margin-bottom: 8px; }
  .cp-head p { color: var(--ink-60); font-size: 15px; max-width: 480px; }
  .cp-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }

  .fee-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    background: var(--navy-50); border-radius: 16px; overflow: hidden;
  }
  .fee-table thead th {
    text-align: left; padding: 14px 18px;
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--ink-60); font-weight: 600;
    background: white; border-bottom: 1px solid var(--line);
  }
  .fee-table tbody td {
    padding: 14px 18px; font-size: 13px;
    color: var(--navy-900); border-bottom: 1px solid var(--line);
  }
  .fee-table tbody tr:last-child td { border-bottom: none; }
  .fee-table tbody td b { font-family: 'Fraunces'; font-weight: 500; font-size: 15px; color: var(--cyan-dim); }
  .fee-table .product-cell { display: flex; align-items: center; gap: 10px; }
  .fee-table .product-cell .ico { width: 28px; height: 28px; border-radius: 8px; background: var(--cyan-soft); display: grid; place-items: center; font-size: 14px; }

  .fee-summary {
    background: var(--navy-900); border-radius: 18px;
    padding: 28px; color: white;
    position: relative; overflow: hidden;
  }
  .fee-summary::before {
    content: ''; position: absolute; top: -40%; right: -20%;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(20,184,196,0.3), transparent 70%);
    border-radius: 50%;
  }
  .fee-summary-inner { position: relative; }
  .fee-summary .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
  .fee-summary .big { font-family: 'Fraunces'; font-size: 42px; font-weight: 500; line-height: 1; margin-bottom: 6px; }
  .fee-summary .mini { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 24px; }
  .fee-breakdown {
    padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);
    display: flex; flex-direction: column; gap: 10px;
  }
  .fee-row { display: flex; justify-content: space-between; font-size: 13px; }
  .fee-row span:first-child { color: rgba(255,255,255,0.6); }
  .fee-row span:last-child { font-family: 'JetBrains Mono'; color: white; }
  .fee-row.total { padding-top: 12px; border-top: 1px dashed rgba(255,255,255,0.15); font-weight: 600; }
  .fee-row.total span:last-child { color: var(--cyan); }

  .fee-note {
    background: var(--cyan-soft); border-left: 3px solid var(--cyan);
    padding: 14px 18px; border-radius: 10px;
    font-size: 13px; color: var(--navy-800);
    margin-top: 20px;
  }
  .fee-note b { color: var(--navy-900); }

  .sign-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

  /* --------- PRODUCTS PAGE --------- */
  .products-wrap { max-width: 1320px; margin: 0 auto; padding: 60px 40px 80px; }
  .products-hero {
    margin-bottom: 48px;
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: end;
  }
  .filters-bar {
    display: flex; gap: 8px; margin-bottom: 24px;
    padding: 16px 20px; background: white;
    border: 1px solid var(--line); border-radius: 14px;
    align-items: center; flex-wrap: wrap;
  }
  .filter-label { font-size: 12px; color: var(--ink-60); font-weight: 500; margin-right: 4px; }
  .filter-chip {
    padding: 6px 14px; border: 1px solid var(--line);
    border-radius: 100px; font-size: 13px;
    background: white; cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
  }
  .filter-chip:hover { border-color: var(--navy-900); }
  .filter-chip.active { background: var(--navy-900); color: white; border-color: var(--navy-900); }

  .products-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .prod-detail-card {
    background: white; border: 1px solid var(--line);
    border-radius: 20px; padding: 32px;
    transition: all 0.3s;
    position: relative;
  }
  .prod-detail-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(10, 22, 40, 0.15); }
  .prod-featured {
    border-color: var(--cyan); background: linear-gradient(135deg, var(--cyan-soft) 0%, white 30%);
  }
  .prod-featured::before {
    content: 'Recomendado para ti';
    position: absolute; top: -10px; left: 24px;
    background: var(--cyan); color: var(--navy-900);
    padding: 4px 12px; border-radius: 100px;
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.04em;
  }
  .pd-icon-row { display: flex; justify-content: space-between; align-items: start; margin-bottom: 16px; }
  .pd-icon {
    width: 52px; height: 52px;
    background: var(--navy-900); color: var(--cyan);
    border-radius: 14px; display: grid; place-items: center;
    font-size: 22px;
  }
  .pd-rate { font-family: 'Fraunces'; font-size: 14px; color: var(--ink-60); text-align: right; }
  .pd-rate b { display: block; font-size: 26px; color: var(--navy-900); font-weight: 500; }
  .pd-title { font-size: 22px; color: var(--navy-900); margin-bottom: 6px; }
  .pd-issuer { font-size: 13px; color: var(--ink-60); margin-bottom: 16px; }
  .pd-features { display: flex; flex-direction: column; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 16px; }
  .pd-feature { display: flex; justify-content: space-between; font-size: 13px; }
  .pd-feature span:first-child { color: var(--ink-60); }
  .pd-feature span:last-child { color: var(--navy-900); font-weight: 500; }
  .pd-fee-bar {
    background: var(--navy-50); border-radius: 10px;
    padding: 10px 14px; margin-bottom: 16px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12px;
  }
  .pd-fee-bar .fl { color: var(--ink-60); }
  .pd-fee-bar .fv { color: var(--navy-900); font-weight: 600; font-family: 'JetBrains Mono'; }
  .pd-actions { display: flex; gap: 8px; }
  .pd-actions .btn { flex: 1; justify-content: center; }

  /* --------- BLOG --------- */
  .blog-wrap { max-width: 1200px; margin: 0 auto; padding: 60px 40px 80px; }
  .blog-hero { text-align: center; margin-bottom: 60px; }
  .blog-hero h1 { font-size: clamp(48px, 6vw, 72px); color: var(--navy-900); margin-bottom: 16px; }
  .blog-hero h1 em { font-style: italic; color: var(--cyan-dim); font-weight: 400; }
  .blog-hero p { font-size: 18px; color: var(--ink-60); max-width: 560px; margin: 0 auto; }

  .blog-feat {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px;
    background: white; border: 1px solid var(--line);
    border-radius: 24px; padding: 48px;
    margin-bottom: 48px; align-items: center;
  }
  .blog-feat-img {
    aspect-ratio: 4/3; border-radius: 16px;
    background:
      radial-gradient(at 30% 40%, var(--cyan) 0%, transparent 50%),
      radial-gradient(at 70% 60%, var(--navy-700) 0%, transparent 60%),
      linear-gradient(135deg, var(--navy-900), var(--navy-800));
    position: relative; overflow: hidden;
  }
  .blog-feat-img::after {
    content: 'CP';
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Fraunces'; font-size: 96px; font-weight: 600;
    color: rgba(255,255,255,0.1); font-style: italic;
  }
  .blog-cat {
    display: inline-block; font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--cyan-dim); font-weight: 600;
    margin-bottom: 14px;
  }
  .blog-feat h2 { font-size: 36px; color: var(--navy-900); margin-bottom: 16px; line-height: 1.15; }
  .blog-feat p { font-size: 16px; color: var(--ink-60); margin-bottom: 24px; }
  .blog-meta { display: flex; gap: 16px; font-size: 13px; color: var(--ink-40); align-items: center; }
  .blog-meta span::after { content: '·'; margin-left: 16px; color: var(--ink-40); }
  .blog-meta span:last-child::after { display: none; }

  .blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
  .blog-card {
    background: white; border: 1px solid var(--line);
    border-radius: 18px; overflow: hidden;
    transition: all 0.3s; cursor: pointer;
  }
  .blog-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(10, 22, 40, 0.15); }
  .blog-thumb {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--navy-700), var(--cyan));
    position: relative; overflow: hidden;
  }
  .blog-thumb-2 { background: linear-gradient(135deg, #d4a04a, #e8c87a); }
  .blog-thumb-3 { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
  .blog-thumb-4 { background: linear-gradient(135deg, #2d9d6f, #84cdb2); }
  .blog-thumb-5 { background: linear-gradient(135deg, #d04848, #f08080); }
  .blog-thumb-6 { background: linear-gradient(135deg, var(--cyan-dim), var(--cyan)); }
  .blog-thumb::after {
    content: attr(data-letter);
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Fraunces'; font-style: italic; font-size: 72px;
    color: rgba(255,255,255,0.2); font-weight: 600;
  }
  .blog-body { padding: 24px; }
  .blog-body h3 { font-size: 20px; color: var(--navy-900); margin-bottom: 8px; line-height: 1.25; }
  .blog-body p { font-size: 14px; color: var(--ink-60); margin-bottom: 16px; }

  /* education academy */
  .academy {
    background: var(--navy-900); border-radius: 24px;
    padding: 56px; color: white; position: relative; overflow: hidden;
  }
  .academy::before {
    content: ''; position: absolute; bottom: -100px; left: -50px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(20, 184, 196, 0.2), transparent 70%);
    border-radius: 50%;
  }
  .academy-content { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
  .academy h2 { font-size: 42px; margin-bottom: 16px; }
  .academy h2 em { font-style: italic; color: var(--cyan); font-weight: 400; }
  .academy > .academy-content > div > p { font-size: 16px; color: rgba(255,255,255,0.7); margin-bottom: 32px; }
  .academy-modules { display: flex; flex-direction: column; gap: 12px; }
  .academy-mod {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 20px; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
    transition: all 0.2s; cursor: pointer;
  }
  .academy-mod:hover { background: rgba(20, 184, 196, 0.1); border-color: var(--cyan); }
  .academy-mod-num { font-family: 'Fraunces'; font-style: italic; font-size: 24px; color: var(--cyan); font-weight: 500; min-width: 30px; }
  .academy-mod-text { flex: 1; }
  .academy-mod-title { font-weight: 500; font-size: 14px; }
  .academy-mod-meta { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 2px; }
  .academy-mod-arrow { color: rgba(255,255,255,0.4); }

  /* --------- FOOTER --------- */
  footer {
    margin-top: 80px;
    background: var(--navy-900); color: rgba(255,255,255,0.7);
    padding: 60px 40px 30px;
  }
  .footer-inner {
    max-width: 1320px; margin: 0 auto;
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
    padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .footer-inner h4 { color: white; font-family: 'IBM Plex Sans'; font-weight: 600; font-size: 14px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.08em; }
  .footer-inner a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; display: block; padding: 4px 0; cursor: pointer; }
  .footer-inner a:hover { color: var(--cyan); }
  .footer-tag { font-family: 'Fraunces'; font-style: italic; font-size: 28px; color: white; font-weight: 400; margin-bottom: 16px; line-height: 1.3; }
  .footer-tag em { color: var(--cyan); }
  .footer-bottom {
    max-width: 1320px; margin: 30px auto 0;
    display: flex; justify-content: space-between;
    font-size: 12px; color: rgba(255,255,255,0.4);
  }

  /* ====== CHAT BOT + WHATSAPP FLOATING ====== */
  .float-stack {
    position: fixed; bottom: 24px; right: 24px;
    z-index: 200;
    display: flex; flex-direction: column; gap: 12px;
    align-items: flex-end;
  }
  .float-btn {
    border: none; cursor: pointer;
    padding: 14px 20px; border-radius: 100px;
    font-family: inherit; font-size: 14px; font-weight: 600;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
    transition: all 0.2s;
  }
  .float-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(0,0,0,0.4); }
  .float-bot {
    background: var(--navy-900); color: white;
  }
  .float-bot .ico {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--cyan); color: var(--navy-900);
    display: grid; place-items: center; font-size: 14px;
  }
  .float-wzp {
    background: var(--wzp); color: white;
  }
  .float-wzp .ico {
    width: 28px; height: 28px; border-radius: 50%;
    background: white; color: var(--wzp);
    display: grid; place-items: center; font-size: 14px; font-weight: 700;
  }
  .float-badge {
    position: absolute; top: -4px; right: -4px;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--danger); color: white;
    font-size: 10px; font-weight: 700;
    display: grid; place-items: center;
    border: 2px solid var(--bg);
  }

  /* Chat panel */
  .chat-panel {
    position: fixed; bottom: 24px; right: 24px;
    z-index: 201;
    width: 380px; max-height: 600px;
    background: white; border-radius: 24px;
    box-shadow: 0 25px 60px -15px rgba(0,0,0,0.35);
    display: none; flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
  }
  .chat-panel.open { display: flex; animation: slideUp 0.3s ease; }
  @keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
  .chat-head {
    background: var(--navy-900); color: white;
    padding: 20px 24px;
    display: flex; align-items: center; gap: 12px;
    position: relative;
  }
  .chat-head::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 0%, rgba(20,184,196,0.25), transparent 60%);
    pointer-events: none;
  }
  .chat-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
    display: grid; place-items: center;
    font-family: 'Fraunces'; font-style: italic; font-weight: 600; font-size: 20px;
    color: var(--navy-900);
    position: relative; z-index: 1;
  }
  .chat-avatar::after {
    content: ''; position: absolute; bottom: 0; right: 0;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--success); border: 2px solid var(--navy-900);
  }
  .chat-head-text { flex: 1; position: relative; z-index: 1; }
  .chat-head-text .name { font-weight: 600; font-size: 15px; }
  .chat-head-text .status { font-size: 11px; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 6px; }
  .chat-head-text .status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
  .chat-close {
    background: rgba(255,255,255,0.1); color: white;
    border: none; width: 32px; height: 32px; border-radius: 50%;
    cursor: pointer; font-size: 16px;
    position: relative; z-index: 1;
  }
  .chat-close:hover { background: rgba(255,255,255,0.2); }

  .chat-body {
    flex: 1; overflow-y: auto;
    padding: 20px; display: flex; flex-direction: column; gap: 12px;
    background: var(--bg);
  }
  .chat-msg {
    max-width: 80%; padding: 10px 14px;
    border-radius: 16px; font-size: 14px;
    line-height: 1.45;
  }
  .chat-msg.bot {
    background: white; color: var(--navy-900);
    border: 1px solid var(--line);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
  }
  .chat-msg.user {
    background: var(--navy-900); color: white;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
  }
  .chat-msg.bot .ts, .chat-msg.user .ts {
    display: block; font-size: 10px; color: var(--ink-40);
    margin-top: 4px; font-family: 'JetBrains Mono';
  }
  .chat-msg.user .ts { color: rgba(255,255,255,0.5); }

  .chat-quick {
    padding: 0 20px 12px;
    display: flex; flex-wrap: wrap; gap: 6px;
  }
  .quick-btn {
    background: white; border: 1px solid var(--line);
    padding: 8px 14px; border-radius: 100px;
    font-family: inherit; font-size: 12px; color: var(--navy-800);
    cursor: pointer; transition: all 0.2s;
  }
  .quick-btn:hover { background: var(--navy-900); color: white; border-color: var(--navy-900); }

  .chat-foot {
    padding: 16px 20px;
    border-top: 1px solid var(--line);
    background: white;
  }
  .chat-input-row {
    display: flex; gap: 8px; align-items: center;
    background: var(--bg); border-radius: 100px;
    padding: 6px 6px 6px 18px;
  }
  .chat-input-row input {
    flex: 1; border: none; background: transparent;
    font-family: inherit; font-size: 14px; color: var(--navy-900);
    padding: 8px 0;
  }
  .chat-input-row input:focus { outline: none; }
  .chat-send {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--cyan); color: var(--navy-900);
    border: none; cursor: pointer; font-weight: 700;
    display: grid; place-items: center;
    transition: all 0.2s;
  }
  .chat-send:hover { background: var(--cyan-dim); color: white; }
  .chat-handoff {
    margin-top: 12px; padding: 10px 14px;
    background: #f0fdf4; border: 1px solid #bbf7d0;
    border-radius: 12px;
    font-size: 12px; color: var(--wzp-dark);
    display: flex; align-items: center; gap: 10px;
  }
  .chat-handoff a { color: var(--wzp-dark); font-weight: 600; text-decoration: underline; cursor: pointer; }

  @media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { height: 400px; }
    .steps, .products-grid, .products-list, .blog-grid, .multi-upload { grid-template-columns: repeat(2, 1fr); }
    .dash-wrap { grid-template-columns: 1fr; }
    .dash-side { position: static; }
    .dh-stats { grid-template-columns: repeat(2, 1fr); }
    .dash-grid, .recommend, .cp-body, .blog-feat, .academy-content, .products-hero, .account-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .progress { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 640px) {
    .topnav-inner { padding: 12px 20px; }
    .nav-tabs { display: none; }
    section, .hero, .onboard-wrap, .dash-wrap, .products-wrap, .blog-wrap { padding-left: 20px; padding-right: 20px; }
    .steps, .products-grid, .products-list, .blog-grid, .multi-upload { grid-template-columns: 1fr; }
    .onboard-card { padding: 28px; }
    .form-row, .choice-grid { grid-template-columns: 1fr; }
    .chat-panel { width: calc(100vw - 24px); right: 12px; bottom: 12px; }
    .float-stack { bottom: 16px; right: 16px; }
  }

/* ============================================
   PRE-EVALUACIÓN (página preevaluacion.html)
   ============================================ */
.preeval-wrap { max-width: 1180px; margin: 0 auto; padding: 56px 40px 90px; }

/* Hero / propuesta de valor */
.preeval-hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center; margin-bottom: 64px;
}
.preeval-hero .pe-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; background: var(--cyan-soft); color: var(--cyan-dim);
  border-radius: 100px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.02em; margin-bottom: 24px;
}
.preeval-hero .pe-badge::before {
  content: ''; width: 7px; height: 7px; background: var(--cyan);
  border-radius: 50%; box-shadow: 0 0 0 4px rgba(20,184,196,0.2);
  animation: pulse 2s infinite;
}
.preeval-hero h1 {
  font-size: clamp(40px, 5vw, 64px); color: var(--navy-900);
  margin-bottom: 20px; line-height: 1.05;
}
.preeval-hero h1 em { font-style: italic; font-weight: 400; color: var(--cyan-dim); }
.preeval-hero .pe-sub {
  font-size: 18px; color: var(--ink-60); line-height: 1.55;
  margin-bottom: 28px; max-width: 520px;
}
.pe-benefits { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.pe-benefits li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15px; color: var(--navy-800);
}
.pe-benefits li .pe-check {
  width: 26px; height: 26px; flex-shrink: 0;
  background: #e6f6ee; color: var(--success);
  border-radius: 50%; display: grid; place-items: center;
  font-size: 14px; font-weight: 700;
}
.pe-benefits li b { font-weight: 600; color: var(--navy-900); }

/* Tarjeta visual de ejemplo de ficha (mock en hero) */
.pe-ficha-preview {
  background: white; border: 1px solid var(--line);
  border-radius: 24px; padding: 32px;
  box-shadow: 0 30px 70px -25px rgba(10,22,40,0.22);
  position: relative; overflow: hidden;
}
.pe-ficha-preview::before {
  content: 'GRATIS'; position: absolute; top: 22px; right: -34px;
  background: var(--cyan); color: var(--navy-900);
  font-family: 'IBM Plex Sans'; font-weight: 700; font-size: 12px;
  letter-spacing: 0.12em; padding: 6px 44px;
  transform: rotate(38deg);
}
.pe-fp-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.pe-fp-logo {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, var(--navy-800), var(--cyan));
  display: grid; place-items: center; color: white;
  font-weight: 700; font-size: 13px;
}
.pe-fp-head .pe-fp-t1 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-40); }
.pe-fp-head .pe-fp-t2 { font-family: 'Fraunces'; font-size: 18px; font-weight: 600; color: var(--navy-900); }

/* Stepper del formulario */
.pe-form-section { max-width: 760px; margin: 0 auto; }
.pe-steps-bar {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 40px; justify-content: center;
}
.pe-step-dot {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-40); font-weight: 500;
}
.pe-step-dot .n {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy-50); color: var(--ink-40);
  display: grid; place-items: center; font-size: 13px; font-weight: 600;
  border: 1px solid var(--line); transition: all .3s;
}
.pe-step-dot.active .n { background: var(--navy-900); color: white; border-color: var(--navy-900); }
.pe-step-dot.done .n { background: var(--cyan); color: var(--navy-900); border-color: var(--cyan); }
.pe-step-dot.active { color: var(--navy-900); }
.pe-step-line { width: 40px; height: 2px; background: var(--line); border-radius: 2px; }

.pe-card {
  background: white; border: 1px solid var(--line);
  border-radius: 24px; padding: 48px;
  box-shadow: 0 1px 3px rgba(10,22,40,0.03);
}
.pe-card h2 { font-size: 28px; color: var(--navy-900); margin-bottom: 8px; }
.pe-card h2 em { font-style: italic; font-weight: 400; color: var(--cyan-dim); }
.pe-card .pe-card-sub { font-size: 15px; color: var(--ink-60); margin-bottom: 32px; }
.pe-form-step { display: none; animation: fadeIn .4s ease; }
.pe-form-step.active { display: block; }
.pe-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line);
}
.pe-foot .pe-foot-note { font-size: 13px; color: var(--ink-60); }

/* Resultado: la ficha completa */
.pe-result { display: none; animation: fadeIn .5s ease; }
.pe-result.show { display: block; }
.pe-ficha {
  background: white; border: 1px solid var(--line);
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 20px 60px -25px rgba(10,22,40,0.18);
  margin-bottom: 28px;
}
.pe-ficha-top {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  padding: 40px 44px; color: white; position: relative; overflow: hidden;
}
.pe-ficha-top::before {
  content: ''; position: absolute; top: -50%; right: -8%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(20,184,196,0.25), transparent 70%);
  border-radius: 50%;
}
.pe-ficha-top-inner { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.pe-ficha-co { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.55); margin-bottom: 8px; }
.pe-ficha-name { font-family: 'Fraunces'; font-size: 30px; font-weight: 500; }
.pe-ficha-meta { font-family: 'JetBrains Mono'; font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 6px; }
.pe-ficha-scorebox { text-align: center; }
.pe-ficha-body { padding: 44px; }
.pe-sec-title {
  font-family: 'IBM Plex Sans'; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--cyan-dim);
  margin-bottom: 20px;
}
.pe-semaforo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 40px; }
.pe-sem-card {
  border: 1px solid var(--line); border-radius: 16px;
  padding: 22px; text-align: center;
}
.pe-sem-card .pe-sem-dot {
  width: 14px; height: 14px; border-radius: 50%; margin: 0 auto 12px;
}
.pe-sem-dot.ok { background: var(--success); box-shadow: 0 0 0 5px #e6f6ee; }
.pe-sem-dot.warn { background: var(--warn); box-shadow: 0 0 0 5px #fff5e6; }
.pe-sem-dot.danger { background: var(--danger); box-shadow: 0 0 0 5px #fceaea; }
.pe-sem-card .pe-sem-lbl { font-size: 12px; color: var(--ink-60); margin-bottom: 4px; }
.pe-sem-card .pe-sem-val { font-family: 'Fraunces'; font-size: 22px; font-weight: 600; color: var(--navy-900); }

.pe-ratios-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; margin-bottom: 40px; }
@media (max-width: 640px) { .pe-ratios-grid { grid-template-columns: 1fr; } }

.pe-insights { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 8px; }
@media (max-width: 760px) { .pe-insights { grid-template-columns: 1fr; } }
.pe-ins-card { border-radius: 18px; padding: 26px; border: 1px solid var(--line); }
.pe-ins-card.good { background: linear-gradient(135deg, #f4faf6, white); border-color: #d4ead9; }
.pe-ins-card.watch { background: linear-gradient(135deg, #fef7ec, white); border-color: #f0dfb8; }
.pe-ins-card h4 { font-family: 'Fraunces'; font-size: 18px; font-weight: 500; margin-bottom: 14px; }
.pe-ins-card.good h4 { color: var(--success); }
.pe-ins-card.watch h4 { color: var(--warn); }

/* CTA final dentro del resultado */
.pe-cta-final {
  background: var(--navy-900); border-radius: 24px;
  padding: 48px; color: white; text-align: center;
  position: relative; overflow: hidden;
}
.pe-cta-final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(20,184,196,0.22), transparent 60%);
}
.pe-cta-final-inner { position: relative; max-width: 560px; margin: 0 auto; }
.pe-cta-final h3 { font-family: 'Fraunces'; font-size: 32px; font-weight: 500; margin-bottom: 14px; }
.pe-cta-final h3 em { font-style: italic; color: var(--cyan); }
.pe-cta-final p { font-size: 16px; color: rgba(255,255,255,0.72); margin-bottom: 32px; }
.pe-cta-final .pe-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 960px) {
  .preeval-hero { grid-template-columns: 1fr; gap: 40px; }
  .pe-semaforo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .preeval-wrap { padding: 32px 20px 70px; }
  .pe-card { padding: 28px; }
  .pe-ficha-body { padding: 28px; }
  .pe-ficha-top { padding: 28px; }
}

/* ===== Pre-evaluación: veredicto + bloque ficha completa ===== */
.pe-verdict {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-50), white);
  border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 30px; margin-bottom: 36px;
}
@media (max-width: 700px) { .pe-verdict { grid-template-columns: 1fr; gap: 20px; } }
.pe-verdict-lbl {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-60); font-weight: 600; margin-bottom: 8px;
}
.pe-verdict-val {
  font-family: 'Fraunces'; font-size: 26px; font-weight: 600;
  color: var(--success); line-height: 1.15;
}
.pe-verdict-val span { color: var(--warn); font-style: italic; font-weight: 500; }
.pe-vm-track {
  height: 10px; background: var(--navy-50);
  border-radius: 100px; overflow: hidden; margin-bottom: 8px;
  border: 1px solid var(--line);
}
.pe-vm-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--warn), var(--cyan), var(--success));
  border-radius: 100px;
}
.pe-vm-scale {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--ink-40); margin-bottom: 10px;
}
.pe-vm-tag { font-size: 13px; color: var(--navy-800); }
.pe-vm-tag b { color: var(--cyan-dim); font-weight: 600; }

.pe-locked {
  margin-top: 36px; border: 1px dashed var(--line);
  border-radius: 18px; padding: 26px 30px; background: var(--bg);
}
.pe-locked-head {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Fraunces'; font-size: 17px; font-weight: 600;
  color: var(--navy-900); margin-bottom: 18px;
}
.pe-lock-ico { font-size: 16px; }
.pe-locked-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px;
}
@media (max-width: 700px) { .pe-locked-grid { grid-template-columns: 1fr; } }
.pe-locked-grid div {
  position: relative; padding-left: 24px;
  font-size: 14px; color: var(--ink-60); line-height: 1.5;
}
.pe-locked-grid div::before {
  content: '+'; position: absolute; left: 0; top: -1px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--cyan-soft); color: var(--cyan-dim);
  font-weight: 700; font-size: 11px;
  display: grid; place-items: center;
}

/* ===== PRODUCTOS v2: cuadros explicativos generales ===== */
.prods-intro { max-width: 760px; margin-bottom: 14px; }
.prods-anchor {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin: 28px 0 8px; padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.prods-anchor a {
  font-size: 13px; color: var(--ink-60);
  border: 1px solid var(--line); border-radius: 100px;
  padding: 8px 16px; transition: all .2s; text-decoration: none;
}
.prods-anchor a:hover { color: var(--navy-900); border-color: var(--cyan); background: var(--cyan-soft); }

.prod-block {
  background: white; border: 1px solid var(--line);
  border-radius: 22px; padding: 0; overflow: hidden;
  margin-top: 28px; scroll-margin-top: 90px;
  transition: box-shadow .3s;
}
.prod-block:hover { box-shadow: 0 20px 50px -28px rgba(10,22,40,0.2); }

.prod-block-top {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
}
@media (max-width: 880px) { .prod-block-top { grid-template-columns: 1fr; } }

.prod-block-main { padding: 38px 40px; }
.prod-block-side {
  padding: 38px 40px;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: white; display: flex; flex-direction: column;
}
.pb-num {
  font-family: 'JetBrains Mono'; font-size: 12px;
  color: var(--cyan-dim); letter-spacing: 0.08em; margin-bottom: 14px;
}
.prod-block-side .pb-num { color: var(--cyan); }
.pb-title {
  font-family: 'Fraunces'; font-size: 30px; font-weight: 600;
  color: var(--navy-900); line-height: 1.1; margin-bottom: 14px;
}
.pb-desc { font-size: 15px; color: var(--ink-60); line-height: 1.6; }

.pb-side-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55); margin-bottom: 12px; font-weight: 600;
}
.pb-side-text {
  font-size: 14.5px; color: rgba(255,255,255,0.85);
  line-height: 1.6; flex: 1;
}
.pb-side-cta { margin-top: 24px; }

.pb-features {
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
@media (max-width: 700px) { .pb-features { grid-template-columns: 1fr; } }
.pb-feat {
  padding: 26px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pb-feat:nth-child(2n) { border-right: none; }
.pb-feat:nth-last-child(-n+2) { border-bottom: none; }
@media (max-width: 700px) {
  .pb-feat { border-right: none; }
  .pb-feat:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}
.pb-feat h4 {
  font-family: 'Fraunces'; font-size: 17px; font-weight: 600;
  color: var(--navy-900); margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px;
}
.pb-feat h4::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); flex-shrink: 0;
}
.pb-feat p { font-size: 13.5px; color: var(--ink-60); line-height: 1.55; }

.prods-cta {
  margin-top: 48px; background: var(--navy-900);
  border-radius: 22px; padding: 56px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.prods-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(20,184,196,0.2), transparent 60%);
}
.prods-cta-in { position: relative; max-width: 580px; margin: 0 auto; }
.prods-cta h2 {
  font-family: 'Fraunces'; font-size: clamp(28px,3.5vw,42px);
  font-weight: 600; color: white; margin-bottom: 14px; line-height: 1.15;
}
.prods-cta h2 em { font-style: italic; color: var(--cyan); }
.prods-cta p { font-size: 16px; color: rgba(255,255,255,0.72); margin-bottom: 30px; }
.prods-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== BLOG v2: índice y artículo ===== */
.blog-intro { max-width: 720px; margin-bottom: 40px; }
.blog-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .blog-cards { grid-template-columns: 1fr; } }
.bc {
  background: white; border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; text-decoration: none;
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.bc:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -24px rgba(10,22,40,0.22); }
.bc-cover {
  height: 150px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  display: flex; align-items: flex-end; padding: 20px;
}
.bc-cover::after {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20,184,196,0.3), transparent 70%);
}
.bc-cat {
  position: relative; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--cyan); background: rgba(20,184,196,0.12);
  border: 1px solid rgba(20,184,196,0.3);
  padding: 5px 12px; border-radius: 100px;
}
.bc-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.bc-body h3 {
  font-family: 'Fraunces'; font-size: 21px; font-weight: 600;
  color: var(--navy-900); line-height: 1.25; margin-bottom: 10px;
}
.bc-body p { font-size: 14px; color: var(--ink-60); line-height: 1.55; flex: 1; }
.bc-meta {
  margin-top: 18px; font-size: 12.5px; color: var(--ink-40);
  display: flex; align-items: center; gap: 8px;
}
.bc-read { color: var(--cyan-dim); font-weight: 600; }

/* Artículo individual */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 56px 40px 90px; }
@media (max-width: 640px) { .article-wrap { padding: 32px 22px 70px; } }
.article-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--ink-60); margin-bottom: 32px;
  text-decoration: none; transition: gap .2s;
}
.article-back:hover { gap: 12px; color: var(--navy-900); }
.article-cat {
  display: inline-block; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--cyan-dim); background: var(--cyan-soft);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 20px;
}
.article-wrap h1 {
  font-family: 'Fraunces'; font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 600; color: var(--navy-900); line-height: 1.12;
  letter-spacing: -0.02em; margin-bottom: 18px;
}
.article-lead {
  font-size: 18px; color: var(--ink-60); line-height: 1.6;
  padding-bottom: 28px; margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.article-body p { font-size: 16px; color: var(--ink-80); line-height: 1.75; margin-bottom: 20px; }
.article-body h2 {
  font-family: 'Fraunces'; font-size: 26px; font-weight: 600;
  color: var(--navy-900); margin: 40px 0 14px; line-height: 1.2;
}
.article-body h3 {
  font-size: 19px; font-weight: 600; color: var(--navy-900);
  margin: 28px 0 10px;
}
.article-body ul { margin: 0 0 22px; padding-left: 0; list-style: none; }
.article-body li {
  position: relative; padding-left: 26px; margin-bottom: 12px;
  font-size: 16px; color: var(--ink-80); line-height: 1.7;
}
.article-body li::before {
  content: ''; position: absolute; left: 4px; top: 11px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
}
.article-body strong { color: var(--navy-900); font-weight: 600; }
.article-callout {
  background: var(--cyan-soft); border-left: 3px solid var(--cyan);
  border-radius: 10px; padding: 22px 26px; margin: 32px 0;
  font-size: 15.5px; color: var(--navy-800); line-height: 1.65;
}
.article-cta {
  margin-top: 48px; background: var(--navy-900);
  border-radius: 20px; padding: 44px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.article-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(20,184,196,0.2), transparent 60%);
}
.article-cta-in { position: relative; }
.article-cta h3 {
  font-family: 'Fraunces'; font-size: 26px; font-weight: 600;
  color: white; margin-bottom: 10px;
}
.article-cta p { color: rgba(255,255,255,0.72); font-size: 15px; margin-bottom: 26px; }
.article-disclaimer {
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-40); line-height: 1.6; font-style: italic;
}

/* ===== Consentimiento de privacidad (pre-evaluación) ===== */
.pe-consent {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 26px; padding: 18px 20px;
  background: var(--navy-50); border: 1px solid var(--line);
  border-radius: 12px; cursor: pointer;
  font-size: 13.5px; color: var(--ink-80); line-height: 1.55;
}
.pe-consent input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 1px;
  accent-color: var(--cyan-dim); flex-shrink: 0; cursor: pointer;
}
.pe-consent a { color: var(--cyan-dim); font-weight: 600; text-decoration: underline; }
.pe-consent-err {
  display: none; margin-top: 10px; font-size: 13px;
  color: var(--danger); font-weight: 500;
}

/* Página de privacidad */
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 56px 40px 90px; }
@media (max-width: 640px) { .legal-wrap { padding: 32px 22px 70px; } }
.legal-wrap h1 {
  font-family: 'Fraunces'; font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 600; color: var(--navy-900); margin-bottom: 12px;
}
.legal-updated { font-size: 13.5px; color: var(--ink-40); margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal-wrap h2 {
  font-family: 'Fraunces'; font-size: 23px; font-weight: 600;
  color: var(--navy-900); margin: 36px 0 12px;
}
.legal-wrap p { font-size: 15.5px; color: var(--ink-80); line-height: 1.75; margin-bottom: 16px; }
.legal-wrap ul { margin: 0 0 18px; padding-left: 0; list-style: none; }
.legal-wrap li {
  position: relative; padding-left: 24px; margin-bottom: 10px;
  font-size: 15.5px; color: var(--ink-80); line-height: 1.7;
}
.legal-wrap li::before {
  content: ''; position: absolute; left: 3px; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
}
.legal-wrap strong { color: var(--navy-900); font-weight: 600; }
.legal-box {
  background: var(--cyan-soft); border-left: 3px solid var(--cyan);
  border-radius: 10px; padding: 20px 24px; margin: 24px 0;
  font-size: 14.5px; color: var(--navy-800); line-height: 1.65;
}

/* ===== Nota de envío seguro (pre-evaluación opción A) ===== */
.pe-secure-note {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 24px; padding: 16px 20px;
  background: var(--cyan-soft); border: 1px solid rgba(20,184,196,0.3);
  border-radius: 12px;
  font-size: 13.5px; color: var(--navy-800); line-height: 1.55;
}
.pe-secure-ico { font-size: 16px; flex-shrink: 0; }
.pe-secure-note strong { color: var(--navy-900); font-weight: 600; }

/* ===== Enlace PDF ejemplo en hero pre-evaluación ===== */
.pe-ficha-pdf-link {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 22px; padding: 14px 18px;
  background: var(--navy-50); border: 1px solid var(--line);
  border-radius: 10px; text-decoration: none;
  color: var(--navy-900); font-size: 14px; font-weight: 500;
  transition: all .25s;
}
.pe-ficha-pdf-link:hover {
  background: var(--cyan-soft); border-color: var(--cyan);
  transform: translateX(3px);
}
.pe-ficha-pdf-link .pdf-arrow {
  color: var(--cyan-dim); font-weight: 600; transition: transform .2s;
}
.pe-ficha-pdf-link:hover .pdf-arrow { transform: translateX(4px); }

/* Divisor entre secciones del formulario unificado */
.pe-divider {
  height: 1px; background: var(--line);
  margin: 36px 0 24px;
  position: relative;
}
.pe-divider::after {
  content: ''; position: absolute;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 40px; height: 4px;
  background: var(--cyan); border-radius: 2px;
}

/* Validación visual del formulario */
.field-error {
  border-color: var(--danger) !important;
  background: #fef4f4 !important;
  box-shadow: 0 0 0 3px rgba(207, 71, 71, 0.12) !important;
}
.field-error:focus { box-shadow: 0 0 0 4px rgba(207, 71, 71, 0.22) !important; }

.pe-form-err {
  display: none;
  margin-top: 24px; padding: 20px 24px;
  background: linear-gradient(135deg, #fff4f4, #ffe9e9);
  border: 2px solid var(--danger);
  border-radius: 14px;
  font-size: 14.5px; color: #6b1818; line-height: 1.7;
  position: relative;
  box-shadow: 0 8px 24px -10px rgba(207, 71, 71, 0.35);
  animation: errShake 0.5s ease-out;
}
.pe-form-err::before {
  content: '⚠';
  position: absolute; left: 22px; top: 18px;
  width: 32px; height: 32px;
  background: var(--danger); color: white;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 18px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(207,71,71,0.4);
}
.pe-form-err-inner { padding-left: 48px; }
.pe-form-err b {
  color: var(--danger); font-size: 16px;
  display: block; margin-bottom: 8px; font-weight: 700;
}
.pe-form-err ul {
  list-style: none; padding: 0; margin: 0;
}
.pe-form-err li {
  padding: 4px 0 4px 18px;
  position: relative;
  color: #4a1010;
}
.pe-form-err li::before {
  content: '×';
  position: absolute; left: 0; top: 3px;
  color: var(--danger); font-weight: 700; font-size: 16px;
}
@keyframes errShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
