html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  overflow-x: hidden;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
header.is-scrolled { background: rgba(255,255,255,.94) !important; border-bottom: 1px solid oklch(.92 .01 250); box-shadow: 0 8px 30px rgba(11,31,58,.08); }

/* Contraste AA para textos de marca sobre fundos claros. */
.text-brand, main .text-coral, header .text-coral { color: #c72d2a !important; }
a.text-brand:hover, main a.text-coral:hover, header a.text-coral:hover { color: #9f211f !important; }
footer .text-coral { color: #ff8279 !important; }
:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid rgba(199,45,42,.35) !important;
  outline-offset: 3px !important;
}

.hero-telemedicine-image {
  object-position: 50% 50%;
  filter: saturate(.96) contrast(1.02);
}

.services-dropdown {
  position: absolute;
  top: calc(100% + .75rem);
  left: 50%;
  width: 21rem;
  transform: translateX(-50%);
  border: 1px solid oklch(.92 .01 250);
  border-radius: 1rem;
  background: #fff;
  padding: .55rem;
  box-shadow: 0 18px 50px rgba(11,31,58,.14);
  z-index: 80;
}
.services-dropdown a { display: block; border-radius: .75rem; padding: .7rem .85rem; color: oklch(.24 .06 260); }
.services-dropdown a:hover { background: oklch(.96 .04 27); color: oklch(.62 .22 27); }
.services-dropdown a:focus-visible { background: #fff1ef; color: #9f211f; }
.services-dropdown strong, .services-dropdown small { display: block; }
.services-dropdown small { margin-top: .1rem; color: oklch(.5 .02 260); }

.mobile-menu-backdrop {
  position: fixed; inset: 0; z-index: 90; background: rgba(11,31,58,.45); backdrop-filter: blur(3px);
}
.mobile-menu {
  position: fixed; z-index: 91; top: 0; right: 0; width: min(88vw, 25rem); height: 100dvh;
  overflow-y: auto; background: #fff; padding: 1.25rem; box-shadow: -18px 0 50px rgba(11,31,58,.18);
}
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu-head img { height: 4.5rem; width: auto; object-fit: contain; }
.mobile-menu-close { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid oklch(.92 .01 250); border-radius: 999px; background: #fff; font-size: 1.5rem; }
.mobile-menu nav { display: grid; gap: .25rem; margin-top: 1.25rem; }
.mobile-menu nav a { border-radius: .8rem; padding: .8rem .9rem; color: oklch(.24 .06 260); font-weight: 600; }
.mobile-menu nav a:hover { background: oklch(.96 .04 27); color: oklch(.62 .22 27); }
.mobile-menu .mobile-cta { display: flex; justify-content: center; margin-top: 1rem; border-radius: 999px; background: oklch(.66 .17 150); color: #fff; }

.blog-card-author {
  margin-top: .75rem;
  color: #4b5563;
  font-size: .75rem;
  font-weight: 600;
}

.retention-shipping-note {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #f8fafc;
  padding: 1rem 1.125rem;
  color: #526174;
  font-size: .8125rem;
  line-height: 1.65;
}
.retention-shipping-note p + p { margin-top: .35rem; }
.retention-shipping-note strong { color: #26364d; font-weight: 650; }

.medical-review-box {
  margin-top: 2.5rem;
  border: 1px solid rgba(199,45,42,.18);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(255,246,244,.92), rgba(255,255,255,.98));
  padding: 1.5rem;
  color: #26364d;
  box-shadow: 0 14px 38px rgba(11,31,58,.06);
}
.medical-review-box p { margin: .45rem 0; line-height: 1.7; }
.medical-review-box .medical-review-kicker {
  margin: 0 0 .75rem;
  color: #a12220;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.medical-review-box h2 {
  margin-top: 1.25rem;
  color: #0b1f3a;
  font-size: 1rem;
  font-weight: 800;
}
.medical-review-box ul { margin: .65rem 0 0; padding-left: 1.2rem; }
.medical-review-box li { margin-top: .4rem; }
.medical-review-box a { color: #a12220; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }

.faq-answer {
  margin: -.2rem 0 .75rem;
  border: 1px solid oklch(.92 .01 250);
  border-top: 0;
  border-radius: 0 0 1rem 1rem;
  background: #fff;
  padding: 0 1.25rem 1.1rem;
  color: oklch(.5 .02 260);
  line-height: 1.75;
}
main button[aria-expanded="true"] svg { transform: rotate(180deg); }
main button svg { transition: transform .2s ease; }

@media (max-width: 1023px) {
  header img[alt^="MEDi24h"] { height: 4.75rem !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
