/* ─── RESET & BASE ─────────────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --blue:      #1B4FCC;
      --blue-dark: #1240A8;
      --blue-light:#EEF3FF;
      --green:     #16A34A;
      --green-bg:  #F0FDF4;
      --red:       #DC2626;
      --red-bg:    #FEF2F2;
      --gold:      #D97706;
      --text:      #111827;
      --muted:     #6B7280;
      --border:    #E5E7EB;
      --bg:        #F9FAFB;
      --white:     #FFFFFF;
      --radius:    12px;
      --shadow:    0 4px 24px rgba(0,0,0,.08);
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      line-height: 1.6;
    }

    /* ─── LAYOUT ───────────────────────────────────────────────────────── */
    .funnel-wrapper {
      max-width: 680px;
      margin: 0 auto;
      padding: 24px 16px 60px;
    }

    /* ─── HEADER / LOGO BAR ────────────────────────────────────────────── */
    .brand-bar {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      margin-bottom: 32px;
    }
    .brand-bar .logo-icon {
      width: 40px; height: 40px;
      background: var(--blue);
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
    }
    .brand-bar .logo-icon svg { fill: #fff; width: 22px; height: 22px; }
    .brand-bar .brand-name {
      font-size: 18px; font-weight: 700;
      color: var(--blue);
      letter-spacing: -.3px;
    }

    /* ─── CARD ─────────────────────────────────────────────────────────── */
    .card {
      background: var(--white);
      border-radius: 20px;
      box-shadow: var(--shadow);
      padding: 40px 36px;
    }
    @media (max-width: 480px) { .card { padding: 28px 20px; } }

    /* ─── SCREENS (pages) ──────────────────────────────────────────────── */
    .screen { display: none; animation: fadeIn .35s ease; }
    .screen.active { display: block; }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

    /* ─── ENTRY PAGE ───────────────────────────────────────────────────── */
    .entry-badge {
      display: inline-block;
      background: var(--blue-light);
      color: var(--blue);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: .5px;
      text-transform: uppercase;
      padding: 5px 12px;
      border-radius: 20px;
      margin-bottom: 20px;
    }
    .entry-headline {
      font-size: 26px;
      font-weight: 800;
      line-height: 1.25;
      color: var(--text);
      margin-bottom: 14px;
    }
    @media (max-width: 480px) { .entry-headline { font-size: 21px; } }
    .entry-sub {
      font-size: 15px;
      color: var(--muted);
      margin-bottom: 28px;
    }
    .entry-bullets {
      list-style: none;
      margin-bottom: 32px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .entry-bullets li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 14px;
      color: #374151;
    }
    .bullet-check {
      width: 20px; height: 20px; min-width: 20px;
      background: var(--green);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin-top: 1px;
    }
    .bullet-check svg { fill: #fff; width: 11px; height: 11px; }

    .entry-meta {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
      margin-bottom: 32px;
    }
    .meta-chip {
      display: flex; align-items: center; gap: 6px;
      font-size: 13px; color: var(--muted);
    }
    .meta-chip svg { fill: var(--blue); width: 15px; height: 15px; }

    /* ─── BUTTONS ──────────────────────────────────────────────────────── */
    .btn-primary {
      display: block;
      width: 100%;
      background: var(--blue);
      color: #fff;
      font-size: 16px;
      font-weight: 700;
      text-align: center;
      padding: 16px 24px;
      border-radius: 12px;
      border: none;
      cursor: pointer;
      transition: background .2s, transform .15s, box-shadow .2s;
      box-shadow: 0 4px 16px rgba(27,79,204,.3);
      letter-spacing: .2px;
    }
    .btn-primary:hover {
      background: var(--blue-dark);
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(27,79,204,.4);
    }
    .btn-primary:active { transform: translateY(0); }

    .btn-secondary {
      display: inline-block;
      background: transparent;
      color: var(--blue);
      font-size: 14px;
      font-weight: 600;
      padding: 12px 24px;
      border-radius: 10px;
      border: 2px solid var(--blue);
      cursor: pointer;
      transition: all .2s;
      text-decoration: none;
      text-align: center;
    }
    .btn-secondary:hover { background: var(--blue-light); }

    .btn-green {
      display: block;
      width: 100%;
      background: var(--green);
      color: #fff;
      font-size: 16px;
      font-weight: 700;
      text-align: center;
      padding: 16px 24px;
      border-radius: 12px;
      border: none;
      cursor: pointer;
      transition: all .2s;
      box-shadow: 0 4px 16px rgba(22,163,74,.28);
      text-decoration: none;
      letter-spacing: .2px;
    }
    .btn-green:hover { background: #15803D; transform: translateY(-1px); }

    .btn-whatsapp {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: 100%;
      background: #25D366;
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      padding: 14px 24px;
      border-radius: 12px;
      border: none;
      cursor: pointer;
      transition: all .2s;
      text-decoration: none;
      box-shadow: 0 4px 16px rgba(37,211,102,.28);
    }
    .btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-1px); }

    .btn-instagram {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: 100%;
      background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      padding: 14px 24px;
      border-radius: 12px;
      border: none;
      cursor: pointer;
      transition: all .2s;
      text-decoration: none;
      box-shadow: 0 4px 16px rgba(131,58,180,.25);
    }
    .btn-instagram:hover { opacity: .92; transform: translateY(-1px); }

    /* ─── PROGRESS BAR ─────────────────────────────────────────────────── */
    .progress-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 8px;
    }
    .progress-label { font-size: 12px; color: var(--muted); font-weight: 500; }
    .progress-step  { font-size: 12px; color: var(--blue); font-weight: 700; }
    .progress-bar {
      height: 6px;
      background: var(--border);
      border-radius: 99px;
      margin-bottom: 28px;
      overflow: hidden;
    }
    .progress-fill {
      height: 100%;
      background: linear-gradient(90deg, var(--blue), #4F8EF7);
      border-radius: 99px;
      transition: width .5s cubic-bezier(.4,0,.2,1);
    }

    /* ─── QUIZ QUESTION ────────────────────────────────────────────────── */
    .question-number {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: var(--blue);
      margin-bottom: 8px;
    }
    .question-text {
      font-size: 19px;
      font-weight: 700;
      line-height: 1.35;
      margin-bottom: 22px;
      color: var(--text);
    }
    @media (max-width: 480px) { .question-text { font-size: 17px; } }

    /* ─── OPTION CARDS ─────────────────────────────────────────────────── */
    .options {
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 24px;
    }
    .option {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 14px 16px;
      border: 2px solid var(--border);
      border-radius: 12px;
      cursor: pointer;
      transition: all .2s;
      font-size: 14px;
      font-weight: 500;
      color: #374151;
      background: var(--white);
      user-select: none;
    }
    .option:hover {
      border-color: var(--blue);
      background: var(--blue-light);
      color: var(--blue);
    }
    .option.selected {
      border-color: var(--blue);
      background: var(--blue-light);
      color: var(--blue);
      font-weight: 600;
    }
    .option-radio {
      width: 20px; height: 20px; min-width: 20px;
      border-radius: 50%;
      border: 2px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      transition: all .2s;
    }
    .option.selected .option-radio {
      border-color: var(--blue);
      background: var(--blue);
    }
    .option.selected .option-radio::after {
      content: '';
      width: 8px; height: 8px;
      background: #fff;
      border-radius: 50%;
    }
    .option-icon { font-size: 18px; }

    /* ─── NAV ──────────────────────────────────────────────────────────── */
    .quiz-nav {
      display: flex;
      gap: 12px;
      align-items: center;
    }
    .btn-back {
      background: none;
      border: 2px solid var(--border);
      color: var(--muted);
      font-size: 14px;
      font-weight: 600;
      padding: 12px 20px;
      border-radius: 10px;
      cursor: pointer;
      transition: all .2s;
    }
    .btn-back:hover { border-color: var(--blue); color: var(--blue); }
    .btn-next {
      flex: 1;
      background: var(--blue);
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      padding: 14px 24px;
      border-radius: 10px;
      border: none;
      cursor: pointer;
      transition: all .2s;
      opacity: .5;
      pointer-events: none;
    }
    .btn-next.ready {
      opacity: 1;
      pointer-events: auto;
    }
    .btn-next.ready:hover { background: var(--blue-dark); }

    /* ─── LOADING ──────────────────────────────────────────────────────── */
    .loading-screen {
      text-align: center;
      padding: 20px 0;
    }
    .loader {
      width: 52px; height: 52px;
      border: 4px solid var(--border);
      border-top-color: var(--blue);
      border-radius: 50%;
      animation: spin 1s linear infinite;
      margin: 0 auto 20px;
    }
    @keyframes spin { to { transform: rotate(360deg); } }
    .loading-text {
      font-size: 16px;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 8px;
    }
    .loading-sub { font-size: 13px; color: var(--muted); }
    .loading-steps {
      margin-top: 24px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      text-align: left;
    }
    .loading-step {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      color: var(--muted);
      padding: 10px 14px;
      background: var(--bg);
      border-radius: 8px;
      opacity: 0;
      animation: fadeIn .4s ease forwards;
    }
    .loading-step:nth-child(1) { animation-delay: .2s; }
    .loading-step:nth-child(2) { animation-delay: .8s; }
    .loading-step:nth-child(3) { animation-delay: 1.4s; }
    .loading-step:nth-child(4) { animation-delay: 2s; }

    /* ─── RESULT PAGE – QUALIFIÉ ───────────────────────────────────────── */
    .result-badge-green {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: var(--green-bg);
      color: var(--green);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .5px;
      text-transform: uppercase;
      padding: 6px 14px;
      border-radius: 20px;
      margin-bottom: 18px;
    }
    .result-badge-red {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: var(--red-bg);
      color: var(--red);
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .5px;
      text-transform: uppercase;
      padding: 6px 14px;
      border-radius: 20px;
      margin-bottom: 18px;
    }
    .result-headline {
      font-size: 22px;
      font-weight: 800;
      line-height: 1.3;
      margin-bottom: 14px;
    }
    .result-body {
      font-size: 14px;
      color: #374151;
      margin-bottom: 20px;
      line-height: 1.7;
    }

    .score-display {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      margin: 20px 0 24px;
    }
    .score-circle {
      width: 80px; height: 80px;
      border-radius: 50%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      line-height: 1;
    }
    .score-circle.high {
      background: var(--green-bg);
      border: 3px solid var(--green);
      color: var(--green);
    }
    .score-circle.low {
      background: var(--red-bg);
      border: 3px solid var(--red);
      color: var(--red);
    }
    .score-circle .score-number { font-size: 28px; }
    .score-circle .score-label  { font-size: 10px; font-weight: 500; }
    .score-desc {
      flex: 1;
      font-size: 14px;
      color: var(--muted);
    }

    .offer-list {
      list-style: none;
      margin: 20px 0 28px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .offer-list li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 14px;
      color: #374151;
      padding: 12px 14px;
      background: var(--bg);
      border-radius: 10px;
    }
    .offer-icon {
      font-size: 17px;
      margin-top: 1px;
    }
    .offer-list li strong { color: var(--text); }

    .divider {
      border: none;
      border-top: 1px solid var(--border);
      margin: 24px 0;
    }

    .cta-label {
      font-size: 13px;
      font-weight: 600;
      color: var(--muted);
      text-align: center;
      margin-bottom: 12px;
      text-transform: uppercase;
      letter-spacing: .5px;
    }

    .social-ctas {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    /* ─── URGENCY BANNER ───────────────────────────────────────────────── */
    .urgency-banner {
      display: flex;
      align-items: center;
      gap: 10px;
      background: #FEF9C3;
      border: 1px solid #FDE68A;
      border-radius: 10px;
      padding: 12px 14px;
      font-size: 13px;
      color: #92400E;
      margin-bottom: 20px;
    }
    .urgency-banner svg { fill: #D97706; width: 18px; height: 18px; min-width: 18px; }

    /* ─── TRUST ROW ────────────────────────────────────────────────────── */
    .trust-row {
      display: flex;
      justify-content: center;
      gap: 24px;
      flex-wrap: wrap;
      margin-top: 24px;
      padding-top: 20px;
      border-top: 1px solid var(--border);
    }
    .trust-item {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 12px;
      color: var(--muted);
    }
    .trust-item svg { fill: var(--green); width: 14px; height: 14px; }

    /* ─── FOOTER ───────────────────────────────────────────────────────── */
    .footer {
      text-align: center;
      margin-top: 24px;
      font-size: 12px;
      color: #9CA3AF;
    }

    /* ─── BOOKING FORM ─────────────────────────────────────────────────── */
    .booking-header {
      margin-bottom: 24px;
    }
    .booking-title {
      font-size: 21px;
      font-weight: 800;
      line-height: 1.3;
      margin-bottom: 8px;
    }
    .booking-sub {
      font-size: 13px;
      color: var(--muted);
    }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      margin-bottom: 14px;
    }
    @media (max-width: 480px) { .form-grid { grid-template-columns: 1fr; } }
    .form-group {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }
    .form-group.full { grid-column: 1 / -1; }

    label {
      font-size: 12px;
      font-weight: 600;
      color: #374151;
      letter-spacing: .2px;
    }
    label .req { color: var(--red); margin-left: 2px; }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    input[type="time"],
    select,
    textarea {
      width: 100%;
      padding: 11px 13px;
      border: 2px solid var(--border);
      border-radius: 10px;
      font-family: 'Inter', sans-serif;
      font-size: 14px;
      color: var(--text);
      background: var(--white);
      transition: border-color .2s, box-shadow .2s;
      outline: none;
      -webkit-appearance: none;
    }
    input:focus, select:focus, textarea:focus {
      border-color: var(--blue);
      box-shadow: 0 0 0 3px rgba(27,79,204,.1);
    }
    input.error, select.error, textarea.error {
      border-color: var(--red);
      box-shadow: 0 0 0 3px rgba(220,38,38,.08);
    }
    .field-error {
      font-size: 11px;
      color: var(--red);
      font-weight: 500;
      display: none;
    }
    .field-error.show { display: block; }

    textarea { resize: vertical; min-height: 88px; line-height: 1.5; }

    /* meeting type radio cards */
    .meeting-options {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .meeting-option {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 14px;
      border: 2px solid var(--border);
      border-radius: 10px;
      cursor: pointer;
      transition: all .2s;
      font-size: 14px;
      font-weight: 500;
      color: #374151;
    }
    .meeting-option:hover { border-color: var(--blue); background: var(--blue-light); color: var(--blue); }
    .meeting-option input[type="radio"] { display: none; }
    .meeting-option.selected { border-color: var(--blue); background: var(--blue-light); color: var(--blue); font-weight: 600; }
    .meeting-dot {
      width: 18px; height: 18px; min-width: 18px;
      border-radius: 50%;
      border: 2px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      transition: all .2s;
    }
    .meeting-option.selected .meeting-dot {
      border-color: var(--blue);
      background: var(--blue);
    }
    .meeting-option.selected .meeting-dot::after {
      content: '';
      width: 7px; height: 7px;
      background: #fff;
      border-radius: 50%;
    }
    .meeting-icon { font-size: 17px; }

    /* checkbox confirm */
    .checkbox-group {
      display: flex;
      align-items: flex-start;
      gap: 11px;
      padding: 14px;
      background: var(--blue-light);
      border: 2px solid transparent;
      border-radius: 10px;
      cursor: pointer;
      transition: border-color .2s;
      margin-top: 4px;
    }
    .checkbox-group:has(input:checked) { border-color: var(--blue); }
    .checkbox-group input[type="checkbox"] {
      width: 18px; height: 18px; min-width: 18px;
      accent-color: var(--blue);
      margin-top: 1px;
      cursor: pointer;
    }
    .checkbox-label {
      font-size: 13px;
      color: #374151;
      line-height: 1.5;
    }
    .checkbox-label strong { color: var(--blue); }

    /* submit area */
    .form-submit-area { margin-top: 22px; }
    .form-note {
      text-align: center;
      font-size: 12px;
      color: var(--muted);
      margin-top: 10px;
    }

    /* ─── THANK-YOU PAGE ───────────────────────────────────────────────── */
    .thankyou-center { text-align: center; padding: 8px 0; }
    .thankyou-icon {
      width: 72px; height: 72px;
      background: var(--green-bg);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 20px;
    }
    .thankyou-icon svg { fill: var(--green); width: 36px; height: 36px; }
    .thankyou-title {
      font-size: 22px;
      font-weight: 800;
      margin-bottom: 12px;
      line-height: 1.3;
    }
    .thankyou-body {
      font-size: 14px;
      color: #374151;
      margin-bottom: 6px;
      line-height: 1.7;
    }
    .summary-box {
      background: var(--bg);
      border-radius: 12px;
      padding: 16px 18px;
      margin: 20px 0;
      text-align: left;
    }
    .summary-box .summary-title {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .8px;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 10px;
    }
    .summary-row {
      display: flex;
      gap: 8px;
      font-size: 13px;
      margin-bottom: 6px;
      align-items: baseline;
    }
    .summary-row .sl { font-weight: 600; color: var(--text); min-width: 90px; }
    .summary-row .sv { color: var(--muted); }