/* Cuba Health Assist — Specialist Review & Coordination Areas v2.1
   Homepage Design System v2.0 alignment. */
:root{
  --cha-treatment-teal:#0E7C7B;
  --cha-treatment-teal-dark:#0B6463;
  --cha-treatment-ink:#1E293B;
  --cha-treatment-muted:#64748B;
  --cha-treatment-border:#E2E8F0;
  --cha-treatment-soft:#E8F4F4;
  --cha-treatment-ease:cubic-bezier(.16,1,.3,1);
}
.cha-treatment-v21{
  position:relative;
  overflow:hidden;
  padding-block:96px;
  background:
    radial-gradient(circle at 8% 18%,rgba(42,168,166,.10),transparent 27%),
    radial-gradient(circle at 92% 22%,rgba(14,124,123,.065),transparent 30%),
    linear-gradient(180deg,#fff 0%,#f8fbfb 52%,#fff 100%);
}
.cha-treatment-v21::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,transparent 0%,rgba(14,124,123,.035) 50%,transparent 100%);
}
.cha-treatment-v21__container{position:relative;z-index:1;max-width:1280px;}
.cha-treatment-v21__actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:28px;}
.cha-treatment-v21__btn{
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 22px;
  border:1px solid transparent;
  border-radius:999px;
  font-size:14px;
  line-height:20px;
  font-weight:600;
  text-decoration:none;
  transition:transform .25s var(--cha-treatment-ease),box-shadow .25s var(--cha-treatment-ease),border-color .25s var(--cha-treatment-ease),background .25s var(--cha-treatment-ease);
}
.cha-treatment-v21__btn:hover{transform:translateY(-2px);}
.cha-treatment-v21__btn:focus-visible{outline:2px solid var(--cha-treatment-teal);outline-offset:3px;}
.cha-treatment-v21__btn--primary{background:var(--cha-treatment-teal);color:#fff;box-shadow:0 14px 30px -14px rgba(14,124,123,.65);}
.cha-treatment-v21__btn--primary:hover{background:var(--cha-treatment-teal-dark);box-shadow:0 20px 38px -16px rgba(14,124,123,.62);}
.cha-treatment-v21__btn--secondary{border-color:rgba(14,124,123,.20);background:rgba(255,255,255,.88);color:var(--cha-treatment-teal);box-shadow:0 1px 2px rgba(15,23,42,.03);}
.cha-treatment-v21__btn--secondary:hover{border-color:rgba(14,124,123,.38);background:#fff;}
.cha-treatment-v21__feature,
.cha-treatment-v21__card{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(226,232,240,.92);
  background:rgba(255,255,255,.94);
  box-shadow:0 1px 2px rgba(14,124,123,.04),0 18px 52px rgba(15,23,42,.045);
  isolation:isolate;
  transition:transform .35s var(--cha-treatment-ease),border-color .35s var(--cha-treatment-ease),box-shadow .35s var(--cha-treatment-ease);
}
.cha-treatment-v21__feature{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);min-height:430px;border-radius:30px;}
.cha-treatment-v21__feature::after,
.cha-treatment-v21__card::after{
  content:"";
  position:absolute;
  inset:auto 24px 0;
  height:3px;
  border-radius:999px 999px 0 0;
  background:linear-gradient(90deg,transparent,rgba(14,124,123,.56),transparent);
  opacity:0;
  transform:scaleX(.72);
  transition:opacity .35s var(--cha-treatment-ease),transform .35s var(--cha-treatment-ease);
  z-index:2;
  pointer-events:none;
}
.cha-treatment-v21__feature:hover,
.cha-treatment-v21__card:hover{transform:translateY(-5px);border-color:rgba(14,124,123,.32);box-shadow:0 28px 70px rgba(15,23,42,.10),0 20px 46px rgba(14,124,123,.09);}
.cha-treatment-v21__feature:hover::after,
.cha-treatment-v21__card:hover::after{opacity:1;transform:scaleX(1);}
.cha-treatment-v21__hit{position:absolute;inset:0;z-index:4;border-radius:inherit;}
.cha-treatment-v21__hit:focus-visible{outline:3px solid rgba(14,124,123,.52);outline-offset:-7px;}
.cha-treatment-v21__feature-media{position:relative;min-height:430px;overflow:hidden;background:#eef6f6;}
.cha-treatment-v21__feature-media::after,
.cha-treatment-v21__card-media::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,transparent 45%,rgba(8,62,65,.26) 100%),linear-gradient(90deg,rgba(14,124,123,.11),transparent 44%);
}
.cha-treatment-v21__feature-media img,
.cha-treatment-v21__card-media img{width:100%;height:100%;display:block;object-fit:cover;transform:scale(1.01);transition:transform .6s var(--cha-treatment-ease),filter .6s var(--cha-treatment-ease);}
.cha-treatment-v21__feature:hover img,
.cha-treatment-v21__card:hover img{transform:scale(1.045);filter:saturate(1.02);}
.cha-treatment-v21__media-label,
.cha-treatment-v21__card-media>span{
  position:absolute;
  left:18px;
  bottom:18px;
  z-index:2;
  min-height:30px;
  display:inline-flex;
  align-items:center;
  padding:0 11px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:999px;
  background:rgba(255,255,255,.90);
  color:var(--cha-treatment-teal);
  font-size:10.5px;
  line-height:1;
  font-weight:700;
  letter-spacing:.055em;
  text-transform:uppercase;
  box-shadow:0 10px 26px rgba(15,23,42,.11);
  backdrop-filter:blur(10px);
}
.cha-treatment-v21__feature-body{display:flex;flex-direction:column;justify-content:center;padding:48px clamp(36px,4vw,64px);}
.cha-treatment-v21__kicker{width:max-content;max-width:100%;display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:var(--cha-treatment-soft);color:var(--cha-treatment-teal);font-size:10.5px;line-height:1;font-weight:700;letter-spacing:.055em;text-transform:uppercase;}
.cha-treatment-v21__feature h3{margin:18px 0 14px;color:var(--cha-treatment-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:clamp(30px,3.2vw,44px);line-height:1.08;font-weight:650;letter-spacing:-.04em;text-wrap:balance;}
.cha-treatment-v21__feature-body>p{margin:0;color:var(--cha-treatment-muted);font-size:15.5px;line-height:1.75;}
.cha-treatment-v21__chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px;}
.cha-treatment-v21__chips span{min-height:30px;display:inline-flex;align-items:center;padding:0 11px;border:1px solid rgba(14,124,123,.15);border-radius:999px;background:#fff;color:#475569;font-size:11.5px;line-height:1;font-weight:500;}
.cha-treatment-v21__feature-link,
.cha-treatment-v21__card-link{display:inline-flex;align-items:center;gap:7px;width:max-content;max-width:100%;color:var(--cha-treatment-teal);font-size:13.5px;line-height:1.45;font-weight:650;}
.cha-treatment-v21__feature-link{margin-top:28px;}
.cha-treatment-v21__feature-link svg,
.cha-treatment-v21__card-link svg{flex:0 0 auto;transition:transform .25s var(--cha-treatment-ease);}
.cha-treatment-v21__feature:hover .cha-treatment-v21__feature-link svg,
.cha-treatment-v21__card:hover .cha-treatment-v21__card-link svg{transform:translate(2px,-2px);}
.cha-treatment-v21__grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:22px;margin-top:22px;}
.cha-treatment-v21__card{display:flex;flex-direction:column;min-width:0;min-height:394px;border-radius:28px;grid-column:span 2;}
.cha-treatment-v21__card:nth-child(4),
.cha-treatment-v21__card:nth-child(5){grid-column:span 3;}
.cha-treatment-v21__card-media{position:relative;height:184px;overflow:hidden;background:#eef6f6;}
.cha-treatment-v21__card-body{display:flex;flex:1;flex-direction:column;padding:24px;}
.cha-treatment-v21__card h3{margin:0 0 10px;color:var(--cha-treatment-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:19px;line-height:1.28;font-weight:650;letter-spacing:-.022em;}
.cha-treatment-v21__card p{margin:0;color:var(--cha-treatment-muted);font-size:13.5px;line-height:1.68;}
.cha-treatment-v21__card-link{margin-top:auto;padding-top:20px;}
.cha-treatment-v21__note{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;margin-top:24px;padding:18px 20px;border:1px solid rgba(14,124,123,.18);border-radius:22px;background:rgba(232,244,244,.72);box-shadow:0 12px 34px rgba(14,124,123,.045);}
.cha-treatment-v21__note-icon{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:14px;background:#fff;color:var(--cha-treatment-teal);box-shadow:inset 0 0 0 1px rgba(14,124,123,.14),0 6px 16px rgba(14,124,123,.06);}
.cha-treatment-v21__note strong{display:block;color:var(--cha-treatment-ink);font-size:13.5px;line-height:1.4;font-weight:650;}
.cha-treatment-v21__note p{margin:3px 0 0;color:var(--cha-treatment-muted);font-size:13px;line-height:1.6;}
.cha-treatment-v21__note a{display:inline-flex;align-items:center;gap:7px;color:var(--cha-treatment-teal);font-size:13px;line-height:1.4;font-weight:650;text-decoration:none;white-space:nowrap;}
.cha-treatment-v21__note a svg{transition:transform .25s var(--cha-treatment-ease);}
.cha-treatment-v21__note a:hover svg{transform:translate(2px,-2px);}
@media (max-width:1080px){
  .cha-treatment-v21__feature{grid-template-columns:1fr 1fr;min-height:400px;}
  .cha-treatment-v21__feature-media{min-height:400px;}
  .cha-treatment-v21__feature-body{padding:38px 34px;}
  .cha-treatment-v21__grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .cha-treatment-v21__card,.cha-treatment-v21__card:nth-child(4),.cha-treatment-v21__card:nth-child(5){grid-column:auto;}
  .cha-treatment-v21__card:nth-child(5){grid-column:1/-1;min-height:360px;}
  .cha-treatment-v21__card:nth-child(5) .cha-treatment-v21__card-media{height:190px;}
}
@media (max-width:760px){
  .cha-treatment-v21{padding-block:76px 72px;}
  .cha-treatment-v21__feature{grid-template-columns:1fr;min-height:auto;border-radius:26px;}
  .cha-treatment-v21__feature-media{min-height:0;height:260px;}
  .cha-treatment-v21__feature-body{padding:30px 26px 32px;}
  .cha-treatment-v21__feature h3{font-size:30px;}
  .cha-treatment-v21__grid{grid-template-columns:1fr;gap:16px;margin-top:16px;}
  .cha-treatment-v21__card,.cha-treatment-v21__card:nth-child(5){min-height:0;grid-column:auto;border-radius:24px;}
  .cha-treatment-v21__card-media,.cha-treatment-v21__card:nth-child(5) .cha-treatment-v21__card-media{height:220px;}
  .cha-treatment-v21__card-body{padding:22px;}
  .cha-treatment-v21__note{grid-template-columns:auto minmax(0,1fr);align-items:start;border-radius:20px;}
  .cha-treatment-v21__note a{grid-column:2;white-space:normal;}
}
@media (max-width:520px){
  .cha-treatment-v21{padding-block:64px 60px;}
  .cha-treatment-v21__actions{display:grid;grid-template-columns:1fr;width:100%;margin-top:24px;}
  .cha-treatment-v21__btn{width:100%;}
  .cha-treatment-v21__feature-media{height:218px;}
  .cha-treatment-v21__feature-body{padding:24px 20px 26px;}
  .cha-treatment-v21__feature h3{margin-top:15px;font-size:27px;line-height:1.12;}
  .cha-treatment-v21__feature-body>p{font-size:14px;line-height:1.7;}
  .cha-treatment-v21__chips{margin-top:18px;gap:7px;}
  .cha-treatment-v21__card-media,.cha-treatment-v21__card:nth-child(5) .cha-treatment-v21__card-media{height:188px;}
  .cha-treatment-v21__card-body{padding:20px;}
  .cha-treatment-v21__card h3{font-size:18px;}
  .cha-treatment-v21__card p{font-size:13.25px;}
  .cha-treatment-v21__media-label,.cha-treatment-v21__card-media>span{left:14px;bottom:14px;min-height:28px;font-size:10px;}
  .cha-treatment-v21__note{grid-template-columns:1fr;padding:17px;gap:12px;}
  .cha-treatment-v21__note a{grid-column:1;}
}
@media (prefers-reduced-motion:reduce){
  .cha-treatment-v21__feature,.cha-treatment-v21__card,.cha-treatment-v21__btn,.cha-treatment-v21__feature-media img,.cha-treatment-v21__card-media img,.cha-treatment-v21__feature-link svg,.cha-treatment-v21__card-link svg{transition:none!important;}
  .cha-treatment-v21__feature:hover,.cha-treatment-v21__card:hover,.cha-treatment-v21__btn:hover{transform:none!important;}
}
