/* mint affiliate pages in High performance: /afiliados/, /medicos/, /medicos/conoce/ and their panels
   (/afiliados/panel/, /medicos/invita/). Replaces Aire frío (aire.css, 2026-11-03). Loaded last, after mint.css,
   socios.css (the shared base, also used by the ops panels, so it stays as it is) and hp.css (tokens, type, actions).
   Rules start with `html body.hp` so they win over all three. On light the action is abeto with lima text; on dark
   it's lima with abeto text. Clorofila and cornflower are signals only, inside an abeto chip on light.
   No indigo, lila or coral. */

/* Header: logo and «Volver» on the left, the menu in a frosted pill, the main action on the right. */
html body.hp header.top.sticky{background:rgba(238,243,236,.78);border-bottom:1px solid rgba(15,42,46,.06);
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
html body.hp header.top:not(.sticky){background:transparent}
html body.hp img.logo{height:28px;width:auto}
html body.hp .tnav{gap:26px;padding:11px 24px;border-radius:999px;background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.75);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
html body.hp .tnav a{font-size:14px;font-weight:500;color:var(--abeto)}
html body.hp .tnav a:hover{text-decoration:underline}
html body.hp .back{background:var(--glass);border-color:var(--glass-line);color:var(--abeto);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
html body.hp .back:hover{background:#FFFFFF}

/* Type: titles in TT Turns (hp.css), small titles and everything read in Inter. */
html body.hp h1 em,html body.hp h2 em,html body.hp legend,html body.hp .big,html body.hp .calc-n,html body.hp .calc-total b{font-family:var(--display)}
html body.hp .big{font-weight:600;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
html body.hp h3{font-size:18px}
html body.hp .lead{color:var(--ink2)}
html body.hp details p{color:var(--ink2)}
html body.hp th{font-size:12px;letter-spacing:.08em;color:var(--muted)}
html body.hp .copy input{font-family:var(--text);background:var(--hueso)}

/* Cells: frosted white on the landing pages, solid white on the panels. */
html body.hp .card{background:var(--glass);border:1px solid var(--glass-line);border-radius:28px;box-shadow:none;
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
/* mint.css paints pages with #app (the portal) niebla; the panels keep the hueso ground. */
html body.hp:has(#app){background:var(--hueso)}
html body.hp.panel .card{background:#FFFFFF;border-color:var(--line);border-radius:24px;-webkit-backdrop-filter:none;backdrop-filter:none}
html body.hp .card .card{background:var(--hueso);border-color:var(--line)}
html body.hp input,html body.hp select,html body.hp textarea{border-color:rgba(15,42,46,.18);background:#FFFFFF;color:var(--abeto)}
html body.hp input:focus,html body.hp select:focus,html body.hp textarea:focus{border-color:var(--abeto);box-shadow:0 0 0 3px rgba(15,42,46,.14)}
html body.hp .check input,html body.hp .calc-row input[type=range]{accent-color:var(--abeto)}

/* A secondary button on a white card keeps a hairline so it still reads as a button. */
html body.hp .card .btn.sec{background:#FFFFFF;border-color:var(--line)}

/* Steps, checks and crosses: abeto marks on menta and niebla, never green or red. */
html body.hp .step>b{background:var(--abeto);color:var(--lima)}
html body.hp .next-steps li::before{background:var(--abeto);color:var(--lima)}
html body.hp .next-steps li,html body.hp .need li{color:var(--ink2)}
html body.hp ul.list li::before{background:var(--menta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2A2E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat}
html body.hp ul.list.no li::before{background:var(--niebla) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2A2E' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/11px no-repeat}

/* States: an abeto chip with the word; the signal color goes inside it. */
html body.hp .tag{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;background:var(--abeto);color:var(--hueso);font-size:12px;font-weight:600}
html body.hp .t-ok{background:var(--abeto);color:var(--clorofila)}
html body.hp .t-warn{background:var(--abeto);color:var(--lima)}
html body.hp .t-bad{background:var(--abeto);color:var(--hueso)}
html body.hp .t-mute{background:var(--menta);color:var(--abeto)}
html body.hp .msg{border-radius:16px}
html body.hp .m-ok{background:var(--menta);color:var(--abeto)}
html body.hp .m-warn{background:#FFFFFF;color:var(--abeto);border:1px solid var(--abeto)}
html body.hp .m-bad{background:var(--abeto);color:var(--hueso)}
html body.hp .m-bad a{color:var(--lima)}
html body.hp .err{color:var(--abeto);font-weight:600}
html body.hp .err:not(:empty)::before{content:"!";display:inline-grid;place-items:center;width:16px;height:16px;margin-right:6px;border-radius:50%;background:var(--abeto);color:var(--lima);font-size:11px;font-weight:700;vertical-align:1px}
html body.hp [aria-invalid="true"]{border-color:var(--abeto)!important;box-shadow:0 0 0 3px rgba(15,42,46,.18)}

/* Dark cards: abeto with the lima glow, lima figures. */
html body.hp .card.top-goal,html body.hp .card.codebox,html body.hp .card.mcard{background:var(--senal);border-color:var(--abeto);color:var(--hueso);-webkit-backdrop-filter:none;backdrop-filter:none}
html body.hp .top-goal .big,html body.hp .codebox .big,html body.hp .mcard .mbig{color:var(--lima)}
html body.hp .top-goal .small,html body.hp .codebox .small,html body.hp .mcard .small,html body.hp .mcard p{color:var(--on-dark2)}
html body.hp .top-goal b,html body.hp .mcard b{color:var(--hueso)}
html body.hp .mprog i{background:var(--lima)}
html body.hp .prog i{background:var(--abeto)}
html body.hp .codebox .copy input{background:rgba(238,243,236,.08);border-color:var(--line-dark);color:var(--hueso)}
html body.hp .codebox .btn{background:var(--lima);color:var(--abeto) !important}
html body.hp .codebox .btn.sec{background:transparent;color:var(--hueso) !important;border:1px solid rgba(238,243,236,.3);-webkit-backdrop-filter:none;backdrop-filter:none}
html body.hp .funnel>div,html body.hp .money>div{background:var(--hueso)}
html body.hp .example{background:var(--menta);border-color:var(--menta);color:var(--abeto)}

/* Footer: abeto (hp.css sets the colors). */
html body.hp footer.foot{border:0;padding:32px 0 44px}

/* ---------- Landing pages ---------- */
.hp .eyebrow{display:block;margin:0 0 14px}
html body.hp .chips{display:flex;gap:8px;flex-wrap:wrap}
html body.hp .chip{height:30px;padding:0 13px;font-size:13px}

/* Hero: a rounded panel on the wash (the canvas's landing), the photo with frosted cards floating on it. */
.hp .a-hero{padding:20px 0 28px}
html body.hp .aurora{position:relative;border-radius:28px;padding:clamp(28px,5vw,64px);display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(24px,4vw,56px);align-items:center;overflow:hidden;
  background:radial-gradient(ellipse 45% 55% at 92% 8%,rgba(205,235,107,.38) 0%,rgba(205,235,107,0) 70%),var(--wash);border:1px solid rgba(255,255,255,.7)}
.hp .aurora>*{position:relative;z-index:1;min-width:0}
html body.hp .a-copy h1{font-size:clamp(44px,5.6vw,76px);line-height:.95;letter-spacing:-.04em;margin:0 0 20px;overflow-wrap:break-word}
html body.hp .a-copy .lead{font-size:clamp(17px,1.4vw,18px);line-height:1.6;max-width:30em;margin:0 0 26px}
.hp .a-copy .s-acts{margin-bottom:22px}
.hp .a-photo{position:relative;margin:0}
.hp .a-photo>img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:50% 30%;border-radius:22px}
html body.hp .float{position:absolute;display:grid;gap:6px;padding:16px 18px;border-radius:20px;min-width:170px;background:var(--glass);border:1px solid var(--glass-line);
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 18px 40px rgba(15,42,46,.14)}
html body.hp .float .eyebrow{margin:0;font-size:11px}
html body.hp .float b{font-family:var(--display);font-weight:600;letter-spacing:-.04em;line-height:1}
html body.hp .float small{font-size:12.5px;color:var(--ink2)}
html body.hp .float.dark{background:var(--senal);border-color:var(--abeto)}
html body.hp .float.dark .eyebrow,html body.hp .float.dark small{color:var(--on-dark2)}
html body.hp .float.dark b{color:var(--lima)}
.hp .float.f1{left:-28px;bottom:28px}
.hp .float.f1 b{font-size:48px}
.hp .float.f2{right:-18px;top:28px}
.hp .float.f2 b{font-size:26px}

/* Numbers strip: frosted cells, big TT Turns figures; the first one on abeto with a lima figure. */
.hp .a-stats .w{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
html body.hp .a-stats .cell{border-radius:22px;padding:18px 20px;display:grid;gap:6px}
html body.hp .a-stats .cell b{font-family:var(--display);font-size:clamp(30px,3.6vw,44px);font-weight:600;letter-spacing:-.04em;line-height:1;font-variant-numeric:tabular-nums}
html body.hp .a-stats .cell b span{font:inherit;color:inherit}
html body.hp .a-stats .cell>span{font-size:14px;color:var(--muted)}
html body.hp .a-stats .cell.dark{border-color:var(--abeto)}
html body.hp .a-stats .cell.dark b{color:var(--lima)}
html body.hp .a-stats .cell.dark>span{color:var(--on-dark2)}

/* Requirements beside a photo: the list on a menta cell. */
html body.hp .s-need .s-need-txt{background:var(--menta);border-radius:28px;padding:clamp(22px,4vw,40px)}
html body.hp .s-need .need li::before{background-color:#FFFFFF}
html body.hp .s-need-ph img{border-radius:28px;object-position:50% 30%}

/* Videos band: abeto with the lima glow. */
html body.hp .s-reels{background:var(--senal);color:var(--hueso)}
html body.hp .s-reels::before{background:radial-gradient(40% 60% at 20% 50%,rgba(205,235,107,.14),transparent 70%)}
html body.hp .s-reels .eyebrow{color:var(--on-dark3)}
html body.hp .s-reels-h p{color:var(--on-dark2)}
html body.hp .s-reels .lima{color:var(--lima)}
html body.hp .r-tag{background:var(--lima);color:var(--abeto)}
html body.hp .r-foot small{color:var(--on-dark2)}
html body.hp .reel.join{background:var(--lima);color:var(--abeto)}
html body.hp .reel.join b{font-family:var(--display);letter-spacing:-.02em}
html body.hp .arrows button{border-color:var(--line-dark);color:var(--hueso)}

/* White bands of the old layout sit on the hueso ground now. */
html body.hp section[style*="background:#fff"],html body.hp .s-apply{background:transparent !important}

/* Closing call: the aurora, a brand moment. Abeto text and the abeto action read on every stop. */
html body.hp .s-cta{background:var(--aurora);border-radius:28px;margin:0 max(16px,calc((100% - 1040px) / 2)) 48px;padding:64px 24px;color:var(--abeto)}
html body.hp .s-cta h2{font-size:clamp(28px,3.6vw,44px);letter-spacing:-.02em}
html body.hp .s-cta .lead{color:var(--abeto)}

/* /medicos/: the mission band, «del resto nos ocupamos» and the referral terms. */
.hp .m-mision{padding:56px 0 24px}
html body.hp .m-statement{font-family:var(--display);font-weight:600;font-size:clamp(30px,4.2vw,52px);letter-spacing:-.03em;line-height:1.04;max-width:20em;margin:0 0 36px;color:var(--abeto)}
html body.hp .m-statement span{color:var(--ink2)}
.hp .m-whys .card{display:grid;gap:4px;align-content:start}
.hp .m-whys h3{margin:6px 0 4px}
html body.hp .m-n{font-family:var(--display);font-weight:600;font-size:14px;letter-spacing:.04em;color:var(--abeto)}
.hp .m-hace .grid2{gap:40px;align-items:start}
.hp .m-hace .need{margin-top:0}
.hp .m-terms{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:8px 0 36px}
html body.hp .m-terms .cell b{font-size:clamp(24px,2.6vw,32px)}
html body.hp .m-sub{font-size:20px;margin:0 0 16px}
.hp .m-center{justify-content:center}

@media (max-width:860px){
  html body.hp .tnav{display:none}
  html body.hp .aurora{grid-template-columns:1fr;border-radius:24px}
  .hp .float.f1{left:12px;bottom:12px}.hp .float.f1 b{font-size:38px}
  .hp .float.f2{right:12px;top:12px}
  .hp .a-stats .w,.hp .m-terms{grid-template-columns:1fr 1fr}
  .hp .m-hace .grid2{gap:12px}
  .hp .a-copy .s-acts .btn{flex:1 1 100%}
  html body.hp .s-cta{border-radius:24px;margin:0 16px 32px;padding:44px 20px}
}
@media (prefers-reduced-motion:reduce){.hp *{transition:none !important}}
