/* Neumopedia+ — Etapa 3: acabados premium y sección «Cómo trabajamos».
   Esta hoja se carga DESPUÉS de styles.css para que puedas experimentar
   sin modificar los estilos originales. */

:root {
  --premium-olive: #537c70;
  --premium-gold: #c3a37e;
  --premium-paper: #f6f7f2;
}

/* Refinamientos sutiles: el foco se mantiene en el contenido médico. */
::selection { background: #b8dfd0; color: #163b43; }
body { text-rendering: optimizeLegibility; }
.header { box-shadow: 0 5px 22px rgba(22, 64, 65, .035); }
.brand-name { letter-spacing: -1.55px; }
.hero { position: relative; }
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 480px; height: 480px; left: -320px; top: 70px;
  border-radius: 50%; background: radial-gradient(circle, #edf2e9 0%, transparent 72%);
  pointer-events: none;
}
.hero h1 { text-wrap: balance; }
.hero-lead { text-wrap: pretty; }
.service-card { border-color: #e2e9e0; }
.service-card:focus-within { outline: 2px solid #a6cbbc; outline-offset: 3px; }
.btn, .nav-cta { -webkit-font-smoothing: antialiased; }

/* Una sección editorial de 3 etapas, legible desde pantallas pequeñas. */
.care-path {
  padding: 107px 0 110px;
  background: linear-gradient(165deg, #f0f3eb 0%, #f8f7f1 70%, #f3f4ec 100%);
  border-block: 1px solid #e0e8df;
}
.care-path-head {
  display: grid; grid-template-columns: 1.25fr .75fr; align-items: end;
  gap: 62px; margin-bottom: 42px;
}
.care-path-head h2 {
  margin: 0; font: 400 clamp(41px, 4.3vw, 60px)/1.09 Georgia, 'Times New Roman', serif;
  letter-spacing: -2.6px; color: #193c42;
}
.care-path-head h2 em { color: #338c7c; font-weight: 400; }
.care-path-head > p {
  max-width: 390px; margin: 0 0 5px; color: #536d6a;
  font-size: 15px; line-height: 1.8;
}
.care-path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.care-step {
  background: #fff; border: 1px solid #e0e8e0; border-radius: 22px;
  min-height: 323px; padding: 28px 29px 35px;
  box-shadow: 0 12px 34px rgba(38, 74, 64, .035);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.care-step:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(38, 74, 64, .09); }
.care-step-n { font: 700 11px/1.5 'DM Sans',system-ui,sans-serif; color: #41796e; letter-spacing: .13em; }
.care-step-n span { font-weight: 400; color: #8c9d94; }
.care-step-icon {
  height: 68px; width: 68px; display: grid; place-items: center;
  border: 1px solid #d7e6dc; border-radius: 19px;
  background: #e8f2ec; color: #438274;
  font-family: Georgia,serif; font-size: 39px; margin: 28px 0 25px;
}
.care-step:nth-child(2) .care-step-icon { background: #f2e9dd; color: #a67e53; border-color: #eee0d0; }
.care-step:nth-child(3) .care-step-icon { background: #e4edf0; color: #477583; border-color: #d7e6e9; }
.care-step h3 { margin: 0 0 12px; font: 400 25px/1.2 Georgia,serif; letter-spacing: -.7px; color: #173a42; }
.care-step p { margin: 0; font-size: 13px; line-height: 1.78; color: #5e7773; }
.care-path-footer {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 15px; margin-top: 27px;
  padding: 19px 0 0; border-top: 1px solid #d5e2d7;
}
.care-path-footer > span { color: #648176; font-size: 10px; letter-spacing: .15em; font-weight: 800; }
.care-path-footer a { color: #21574c; font-size: 13px; font-weight: 800; }
.care-path-footer a:hover { color: #318e79; }
.care-path-footer a span { padding-left: 8px; }

@media (max-width: 800px) {
  .care-path { padding: 78px 0 85px; }
  .care-path-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; }
  .care-path-head h2 { font-size: clamp(39px, 7.7vw, 55px); }
  .care-path-head > p { max-width: 580px; }
  .care-path-grid { grid-template-columns: 1fr; gap: 13px; }
  .care-step { min-height: 0; padding: 24px; }
  .care-step-icon { margin: 18px 0 18px; height: 58px; width: 58px; font-size: 31px; }
  .care-step h3 { font-size: 25px; }
}
@media (max-width: 520px) {
  .care-path { padding: 64px 0 66px; }
  .care-path-head h2 { font-size: 40px; letter-spacing: -1.8px; }
  .care-path-head > p { font-size: 13px; line-height: 1.7; }
  .care-step h3 { font-size: 23px; }
  .care-path-footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .care-step { transition: none; }
  .care-step:hover { transform: none; }
}
