
html, body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

    :root {
      --primary: #0d6efd;
      --primary-light: #e8f1ff;
      --primary-glow: rgba(13,110,253,0.35);
      --green-wa: #25D366;
      --shadow-card: 0 8px 32px rgba(13,110,253,0.10);
      --radius: 14px;
    }

    body { background-color: #f8f9fa; }

    @keyframes fadeSlideDown{from{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}
    .topbar{animation:fadeSlideDown .6s ease;font-size:.9rem}
    .cta-location{display:inline-flex;align-items:center;gap:6px;background:#0d6efd;color:#fff!important;padding:6px 14px;border-radius:50px;font-size:.85rem;font-weight:500;text-decoration:none;transition:transform .25s ease,box-shadow .25s ease;animation:pulseBlue 3s infinite}
    .cta-location:hover{transform:scale(1.05);color:#fff!important;text-decoration:none}
    @keyframes pulseBlue{0%{box-shadow:0 0 0 0 rgba(13,110,253,.35)}70%{box-shadow:0 0 0 12px rgba(13,110,253,0)}100%{box-shadow:0 0 0 0 rgba(13,110,253,0)}}
    .nav-bar{background:rgba(255,255,255,.96);backdrop-filter:blur(8px);box-shadow:0 4px 18px rgba(0,0,0,.06);animation:fadeSlideDown .7s ease;transition:all .35s ease}
    .navbar-scrolled{box-shadow:0 6px 24px rgba(0,0,0,.1);padding-top:2px;padding-bottom:2px}
    .navbar-brand img{transition:transform .35s ease}
    .navbar-brand:hover img{transform:scale(1.06)}
    .navbar-nav .nav-link{font-weight:500;position:relative;padding:.6rem 1rem;transition:color .25s ease}
    .navbar-nav .nav-link::after{content:"";position:absolute;left:50%;bottom:0;width:0;height:2px;background:#0d6efd;transition:all .3s ease;transform:translateX(-50%)}
    .navbar-nav .nav-link:hover::after,.navbar-nav .nav-link.active::after{width:70%}
    .navbar-nav .nav-link:hover{color:#0d6efd}
    .btn-primary{position:relative;overflow:hidden;box-shadow:0 4px 15px rgba(13,110,253,0.3)}
    .btn-primary:active{transform:translateY(1px)}
    .tema-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
    .tema-card{--topic-color:#3b82f6;--topic-bg:rgba(59,130,246,.06);--topic-glow:rgba(59,130,246,.15);background-color:var(--topic-bg);border:2px solid transparent;border-radius:14px;padding:14px 8px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:all .25s cubic-bezier(.4,0,.2,1);text-align:center;user-select:none;position:relative;min-height:90px;animation:cardEntrance .5s ease both}
    .tema-card:nth-child(1){animation-delay:.05s}
    .tema-card:nth-child(2){animation-delay:.10s}
    .tema-card:nth-child(3){animation-delay:.15s}
    .tema-card:nth-child(4){animation-delay:.20s}
    .tema-card:nth-child(5){animation-delay:.25s}
    .tema-card:nth-child(6){animation-delay:.30s}
    .tema-card:nth-child(7){animation-delay:.35s}
    .tema-card:nth-child(8){animation-delay:.40s}
    .tema-card:nth-child(9){animation-delay:.45s}
    @keyframes cardEntrance{from{opacity:0;transform:translateY(16px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}
    .tema-card:hover{transform:translateY(-3px);border-color:var(--topic-color);box-shadow:0 6px 16px rgba(0,0,0,.06)}
    .tema-card.selected{border-color:var(--topic-color);background-color:#fff;box-shadow:0 0 0 4px var(--topic-glow),0 8px 20px rgba(0,0,0,.08)}
    .tema-card .icon-wrapper{width:38px;height:38px;border-radius:10px;background-color:rgba(255,255,255,.85);display:flex;align-items:center;justify-content:center;transition:transform .25s ease,background-color .25s ease}
    .tema-card.selected .icon-wrapper{transform:scale(1.1);background-color:var(--topic-color)}
    .tema-icon{width:20px;height:20px;fill:none;stroke:var(--topic-color);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:stroke .25s ease}
    .tema-card.selected .tema-icon{stroke:#fff}
    .tema-text{font-size:.72rem;line-height:1.3;color:#495057;font-weight:500;transition:color .25s ease}
    .tema-card.selected .tema-text{color:var(--topic-color);font-weight:700}
    .card-ansiedad{--topic-color:#d97706;--topic-bg:#fffbe8;--topic-glow:rgba(217,119,6,.15)}
    .card-depresion{--topic-color:#2563eb;--topic-bg:#eff6ff;--topic-glow:rgba(37,99,235,.15)}
    .card-adicciones{--topic-color:#7c3aed;--topic-bg:#f5f3ff;--topic-glow:rgba(124,58,237,.15)}
    .card-infancia{--topic-color:#f43f5e;--topic-bg:#fff1f2;--topic-glow:rgba(244,63,94,.15)}
    .card-traumas{--topic-color:#c026d3;--topic-bg:#fdf4ff;--topic-glow:rgba(192,38,211,.15)}
    .card-abuso{--topic-color:#0d9488;--topic-bg:#f0fdfa;--topic-glow:rgba(13,148,136,.15)}
    .card-violencia{--topic-color:#dc2626;--topic-bg:#fef2f2;--topic-glow:rgba(220,38,38,.15)}
    .card-parejas{--topic-color:#db2777;--topic-bg:#fdf2f8;--topic-glow:rgba(219,39,119,.15)}
    .card-codependencia{--topic-color:#0284c7;--topic-bg:#f0f9ff;--topic-glow:rgba(2,132,199,.15)}
    .intensidad-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:20px;display:flex;flex-direction:column;align-items:center;gap:16px}
    .intensidad-header{text-align:center}
    .intensidad-header p{font-size:.72rem;color:#64748b;margin-top:2px}
    .wheel-container{position:relative;width:180px;height:180px;display:flex;align-items:center;justify-content:center}
    .wheel-svg{transform:rotate(-90deg);width:100%;height:100%}
    .wheel-bg{fill:none;stroke:#e2e8f0;stroke-width:12}
    .wheel-progress{fill:none;stroke:#3b82f6;stroke-width:12;stroke-linecap:round;stroke-dasharray:565.48;stroke-dashoffset:282.74;transition:stroke-dashoffset .15s ease,stroke .3s ease}
    .wheel-center{position:absolute;width:120px;height:120px;border-radius:50%;background:#fff;box-shadow:inset 0 2px 6px rgba(0,0,0,.04),0 4px 16px rgba(0,0,0,.06);display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:2;overflow:hidden}
    .emotion-aura{position:absolute;width:75px;height:75px;border-radius:50%;background:radial-gradient(circle,rgba(59,130,246,.4) 0%,rgba(255,255,255,0) 75%);transition:all .3s ease;animation:pulse 2.5s infinite ease-in-out;z-index:1}
    @keyframes pulse{0%,100%{transform:scale(.9);opacity:.6}50%{transform:scale(1.25);opacity:.95}}
    .emotion-icon-center{z-index:2;width:30px;height:30px;transition:all .3s ease;margin-bottom:2px}
    .percentage-text{z-index:2;font-size:20px;font-weight:800;color:#0f172a;line-height:1}
    .level-label{z-index:2;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin-top:4px;padding:2px 8px;border-radius:12px;transition:all .3s ease}
    .controls-wrapper{width:100%;max-width:300px;display:flex;flex-direction:column;gap:8px}
    .range-slider{-webkit-appearance:none;appearance:none;width:100%;height:8px;border-radius:5px;background:#e2e8f0;outline:none;transition:background .3s ease}
    .range-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;background:#fff;border:3px solid #3b82f6;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.15);transition:transform .2s ease,border-color .3s ease}
    .range-slider::-webkit-slider-thumb:hover{transform:scale(1.15)}
    .ticks{display:flex;justify-content:space-between;font-size:10px;color:#64748b;font-weight:600;padding:0 4px}
    .contact-card{border:1px solid rgba(0,0,0,.04)}
    .info-card{transition:transform .2s,box-shadow .2s}
    .info-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(13,110,253,.1)}
    .form-range{height:5px;background:linear-gradient(90deg,#28a745,#ffc107,#dc3545);border-radius:3px}
    .form-range::-webkit-slider-thumb{width:18px;height:18px;border-radius:50%;background:#fff;border:2px solid #0d6efd;cursor:pointer}
    @keyframes slideIn{from{opacity:0;transform:translateX(20px)}to{opacity:1;transform:translateX(0)}}
    .col-lg-6{animation:slideIn .5s ease forwards}
    #cita_fecha_main:valid{border-color:#198754}
    #cita_hora_main:disabled{background-color:#f0f0f0;color:#aaa;cursor:not-allowed;opacity:.65}
    .horario-badge{display:inline-flex;align-items:center;gap:5px;background:#e8f5e9;border:1px solid #a5d6a7;color:#2e7d32;border-radius:8px;padding:4px 10px;font-size:.72rem;font-weight:600;margin-top:4px}
    .horario-badge.horario-closed{background:#fdecea;border-color:#ef9a9a;color:#c62828}
    