:root{--ink:#102a35;--muted:#71848a;--bg:#f7faf8;--surface:#fff;--line:#e0e9e7;--teal:#07898b;--cyan:#b7eee8;--blue:#173f8c;--rose:#e77792;--lav:#d8c7ff;--radius:22px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 'DM Sans',sans-serif}body[data-theme=dark]{--ink:#edf8f5;--muted:#9ab1b0;--bg:#08191f;--surface:#102b34;--line:#24444b;--teal:#3be4d5;--cyan:#173f49}body[data-theme=rose]{--teal:#c7557a;--cyan:#f5d9e7;--blue:#7758ca}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,5vw,76px);border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--bg) 90%,transparent);position:sticky;top:0;z-index:10;backdrop-filter:blur(14px)}.brand{display:flex;align-items:center;gap:9px;font:800 22px Manrope}.brand b{color:var(--teal)}.brand-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:var(--teal);color:white;font-size:16px}.desktop-nav{display:flex;gap:32px;color:var(--muted);font-weight:600}.desktop-nav a:hover,.section-head a:hover{color:var(--teal)}.top-actions{display:flex;gap:12px;align-items:center}.icon-btn{font-size:20px}.avatar{background:var(--cyan);color:var(--teal);font-weight:700;border-radius:50%;width:36px;height:36px}.hero{min-height:580px;max-width:1440px;margin:auto;padding:72px 8%;display:flex;align-items:center;position:relative;overflow:hidden}.hero-copy{max-width:650px;z-index:1}.pill{display:inline-block;background:var(--cyan);color:var(--teal);border-radius:99px;padding:7px 13px;font-size:12px;font-weight:700;letter-spacing:.04em}.hero h1{font:800 clamp(42px,5.5vw,78px)/1.04 Manrope;margin:22px 0}.hero h1 em{color:var(--teal);font-style:normal}.hero p{color:var(--muted);font-size:18px;max-width:530px}.search-box{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--line);box-shadow:0 14px 34px #0d575b12;padding:8px 8px 8px 18px;border-radius:17px;margin-top:30px;max-width:630px}.search-box>span{font-size:24px;color:var(--teal)}.search-box input{border:0;outline:0;background:none;min-width:0;flex:1;color:var(--ink)}.search-location{font-size:12px;color:var(--muted);white-space:nowrap}.primary-btn{background:var(--teal);color:#fff;border-radius:12px;padding:12px 18px;font-weight:700}.primary-btn:hover{filter:brightness(.92)}.quick-filters{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.quick-filters button,.outline-btn{border:1px solid var(--line);padding:8px 13px;border-radius:99px;color:var(--muted);background:var(--surface)}.outline-btn{font-weight:700;color:var(--ink)}.hero-art{position:absolute;right:5%;width:43%;height:100%;top:0}.hero-portrait{position:absolute;right:12%;bottom:0;width:min(340px,70%);height:78%;border-radius:50% 50% 12px 12px;overflow:hidden;background:var(--cyan);box-shadow:20px 30px 60px #11626622}.hero-portrait img{width:100%;height:100%;object-fit:cover;object-position:top}.orb{position:absolute;border-radius:50%;filter:blur(1px)}.orb-a{width:390px;height:390px;right:0;top:80px;background:linear-gradient(135deg,var(--cyan),transparent)}.orb-b{width:120px;height:120px;left:10%;bottom:120px;background:var(--lav)}.hero-note{position:absolute;z-index:2;background:var(--surface);border:1px solid var(--line);box-shadow:0 12px 30px #073c4220;border-radius:15px;padding:12px 15px;display:grid;gap:1px}.hero-note small{color:var(--muted);font-size:11px}.note-one{right:0;top:25%;color:var(--teal)}.note-two{left:0;bottom:20%;}.pulse{display:inline-block;width:8px;height:8px;border-radius:50%;background:#42d39c;margin-right:6px}.trust-strip{border-block:1px solid var(--line);padding:18px 8%;display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:13px}.trust-strip b{color:var(--ink)}.rail-section,.specialties{max-width:1440px;margin:auto;padding:55px 5% 0}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.section-kicker{font-size:11px;letter-spacing:.14em;color:var(--teal);font-weight:800}.section-head h2,.profile-section h2{margin:5px 0 0;font:800 25px Manrope}.section-head>a{color:var(--teal);font-weight:700;font-size:13px}.rail{display:flex;gap:16px;overflow-x:auto;padding-bottom:14px;scroll-snap-type:x mandatory}.rail::-webkit-scrollbar{height:5px}.rail::-webkit-scrollbar-thumb{background:var(--line);border-radius:5px}.doctor-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;min-width:265px;width:265px;scroll-snap-align:start;transition:.2s}.doctor-card:hover{transform:translateY(-4px);box-shadow:0 15px 35px #0b4e5020}.card-photo{height:220px;background:var(--cyan);position:relative}.card-photo img{width:100%;height:100%;object-fit:cover}.photo-tag{position:absolute;left:12px;top:12px;background:#ffffffdd;color:var(--teal);border-radius:99px;padding:6px 9px;font-size:11px;font-weight:700}.save-btn{position:absolute;right:12px;top:12px;background:#ffffffdd;border-radius:50%;width:32px;height:32px;font-size:21px;color:var(--teal)}.save-btn.saved{background:var(--teal);color:white}.card-body{padding:16px}.eyebrow{color:var(--muted);font-size:12px}.verified{color:var(--teal);font-size:11px}.card-body h3{font:700 18px Manrope;margin:4px 0}.rating{display:flex;gap:5px;align-items:center;font-size:12px}.rating b{color:#e7a72e}.rating span{color:var(--muted)}.card-meta{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:14px;padding-top:12px;font-size:12px}.card-meta small{color:var(--muted)}.next-slot{display:flex;align-items:center;gap:4px;background:var(--bg);border-radius:9px;padding:8px;margin-top:12px;font-size:12px}.text-link{color:var(--teal);font-weight:700;margin-left:auto}.specialty-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:12px}.specialty-tile{border-radius:18px;padding:18px 14px;min-height:130px;display:flex;flex-direction:column;justify-content:space-between;border:1px solid transparent}.specialty-tile span{font-size:25px}.specialty-tile small{color:var(--muted);font-size:11px}.tone-0{background:#dff5ef}.tone-1{background:#e9e2ff}.tone-2{background:#ffedcf}.tone-3{background:#f9dce6}.specialty-tile:hover{border-color:var(--teal)}footer{margin-top:80px;padding:30px 6%;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}footer>div:last-child{display:flex;gap:20px;color:var(--ink)}


/* DALIA-007 · Royal Aqua discovery system */
:root{--ink:#10204a;--muted:#657394;--bg:#f5f8ff;--surface:#fff;--line:#dbe4f3;--teal:#13b8b0;--cyan:#d7fbf5;--blue:#2b43bb;--royal:#2b43bb;--aqua:#13c7bd;--lav:#d9d8ff;--radius:24px}
body{background:radial-gradient(circle at 85% 0%,#e3fdf8 0,transparent 25%),var(--bg)}
.brand b,.section-kicker,.section-head>a,.text-link,.verified,.next-slot .pulse{color:var(--royal)}
.brand-mark,.primary-btn{background:linear-gradient(135deg,var(--royal),var(--aqua));box-shadow:0 8px 18px #2b43bb2e}
.topbar{border-bottom-color:#d8e3f4;background:#f8fbffff}.hero.royal-hero{max-width:none;padding-inline:clamp(24px,8vw,140px);background:linear-gradient(120deg,#eef4ff 0%,#f5fffc 58%,#d8fbf5 100%);border-bottom:1px solid var(--line)}
.hero h1 em{background:linear-gradient(90deg,var(--royal),var(--aqua));-webkit-background-clip:text;background-clip:text;color:transparent}.hero p{color:#5b6d91}.search-box{border:2px solid #d2e0f5;box-shadow:0 16px 40px #2b43bb16}.search-box>span{color:var(--royal)}
.quick-filters button:hover,.quick-filters button:focus-visible,.outline-btn:hover{border-color:var(--royal);color:var(--royal)}.advanced-link{display:inline-block;margin-top:14px;color:var(--royal);font-weight:800;font-size:13px}.trust-strip{background:#fff;border-color:var(--line)}
.discovery-intro{max-width:1440px;margin:58px auto 0;padding:0 5%}.discovery-intro h2{font:800 clamp(25px,3vw,38px) Manrope;margin:7px 0}.discovery-intro p{color:var(--muted);margin:0}.rail-section{padding-top:30px}.rail-section:first-of-type{padding-top:26px}.doctor-card{border-color:#d9e4f4;box-shadow:0 12px 30px #2b43bb0d}.doctor-card:hover{border-color:#92e7df;box-shadow:0 18px 40px #2b43bb1f}.card-photo{background:linear-gradient(135deg,#d7fbf5,#dce4ff)}.photo-tag{color:var(--royal)}.save-btn{color:var(--royal)}.save-btn.saved{background:var(--royal)}.next-slot{background:#f0f7ff}.card-actions{display:flex;gap:8px;margin-top:12px}.card-action{flex:1;text-align:center;padding:9px 8px;font-size:12px}.card-actions .primary-btn{box-shadow:none}.specialty-tile{box-shadow:0 8px 20px #2b43bb0a}.specialty-tile:hover{border-color:var(--aqua);transform:translateY(-3px)}
.profile-cover .cover-gradient{background:linear-gradient(115deg,#19246d,var(--royal) 52%,var(--aqua))}.profile-section h2,.section-head h2{color:var(--ink)}.publication{box-shadow:0 8px 20px #2b43bb0d}.booking-card{border-color:#cfe0f2;box-shadow:0 16px 35px #2b43bb16}.filters{box-shadow:0 10px 24px #2b43bb0a}.filters.open{border-color:#91e7df}
.doctor-main{background:linear-gradient(135deg,#f4f7ff,#effdfa)}.kpi-card,.panel{border-color:#d8e3f4;box-shadow:0 8px 24px #2b43bb0b}.chart-values span{background:linear-gradient(var(--royal),var(--aqua))}.funnel-row>div{background:linear-gradient(90deg,#d7fbf5 var(--w),transparent var(--w))}

/* DALIA-008 · exploración cromática */
body[data-theme=royal],body[data-theme=blue]{--ink:#10204a;--muted:#657394;--bg:#f5f8ff;--surface:#fff;--line:#dbe4f3;--teal:#13b8b0;--cyan:#d7fbf5;--blue:#2b43bb;--royal:#2b43bb;--aqua:#13c7bd;--lav:#d9d8ff}
body[data-theme=purple]{--ink:#271b45;--muted:#746b8c;--bg:#faf8ff;--surface:#fff;--line:#e6ddf3;--teal:#7345b5;--cyan:#e6dcff;--blue:#6037a1;--royal:#6037a1;--aqua:#75d9d2;--lav:#d8c6ff}
body[data-theme=navy]{--ink:#18283c;--muted:#6d7884;--bg:#f9f7f0;--surface:#fffdf8;--line:#e7dfcf;--teal:#0c6070;--cyan:#d9edf0;--blue:#132d52;--royal:#132d52;--aqua:#55aeb4;--lav:#eadcc4}
body[data-theme=purple]{background:radial-gradient(circle at 85% 0%,#eee5ff 0,transparent 27%),var(--bg)}body[data-theme=navy]{background:radial-gradient(circle at 85% 0%,#f6e8c7 0,transparent 25%),var(--bg)}
body[data-theme=purple] .hero.royal-hero{background:linear-gradient(120deg,#f0eaff,#fbf9ff 58%,#e3d9ff)}body[data-theme=navy] .hero.royal-hero{background:linear-gradient(120deg,#edf3f6,#fffdf7 58%,#f7ebd0)}
body[data-theme=purple] .hero h1 em{background:linear-gradient(90deg,#6037a1,#13a9a5);-webkit-background-clip:text;background-clip:text}body[data-theme=navy] .hero h1 em{background:linear-gradient(90deg,#132d52,#b48728);-webkit-background-clip:text;background-clip:text}
body[data-theme=purple] .brand-mark,body[data-theme=purple] .primary-btn{background:linear-gradient(135deg,#6037a1,#13aaa4)}body[data-theme=navy] .brand-mark,body[data-theme=navy] .primary-btn{background:linear-gradient(135deg,#132d52,#b48728)}
body[data-theme=purple] .profile-cover .cover-gradient{background:linear-gradient(115deg,#321867,#6037a1 55%,#79d5ce)}body[data-theme=navy] .profile-cover .cover-gradient{background:linear-gradient(115deg,#10233f,#132d52 55%,#b48728)}
body[data-theme=purple] .color-switcher [data-color=purple],body[data-theme=navy] .color-switcher [data-color=navy],body[data-theme=royal] .color-switcher [data-color=royal]{box-shadow:0 0 0 2px var(--teal);transform:scale(1.08)}
.color-switcher{display:flex;gap:4px;align-items:center}.color-switcher button{width:22px;height:22px;border-radius:50%;padding:0;font-size:10px;font-weight:800;color:#fff;border:2px solid var(--surface);box-shadow:0 2px 5px #172b4a22}.color-switcher [data-color=royal]{background:#2b43bb}.color-switcher [data-color=purple]{background:#7345b5}.color-switcher [data-color=navy]{background:#132d52}.color-switcher button:hover{transform:scale(1.08)}
/* DALIA-009 · impacto de descubrimiento en tarjetas y carruseles */
.rail-section{position:relative}
.rail{gap:20px;padding:4px 2px 18px;scroll-padding-inline:2px;touch-action:pan-x;overscroll-behavior-x:contain;cursor:grab}
.rail:active{cursor:grabbing}
.rail::-webkit-scrollbar{height:7px}
.rail::-webkit-scrollbar-thumb{background:linear-gradient(90deg,var(--aqua),var(--royal));border-radius:99px}
.doctor-card{min-width:304px;width:304px;border-radius:16px;border-color:#cddff0;box-shadow:0 16px 34px #10204a12}
.doctor-card:hover{transform:translateY(-6px);box-shadow:0 22px 44px #10204a22}
.card-photo{height:268px}
.card-body{padding:18px}
.card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:22px}
.card-heading .verified{white-space:nowrap}
.card-body h3{font-size:20px;letter-spacing:-.02em;margin:7px 0 6px}
.card-meta strong{font-size:15px;color:var(--ink)}
.next-slot{gap:9px;padding:10px 11px;border:1px solid #cfe9e7;background:#effcf9}
.next-slot>span:last-child{display:grid;gap:2px}
.next-slot small{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.card-actions{gap:9px;margin-top:14px}
.card-action{min-height:38px;display:inline-flex;align-items:center;justify-content:center}
