/* ===========================================================
   Thani — Home rediseñado
   Paleta oficial (sin colores adicionales):
   teal #009AA7 · lima #B9DB01 · carbón #454142 · negro · blanco
   =========================================================== */

:root {
  --teal: #009AA7;
  --teal-700: #00808b;          /* hover teal (derivado, mismo hue) */
  --teal-tint: #f0f8f9;         /* fondo derivado del teal, baja opacidad */
  --teal-tint-2: #e3f1f2;
  --lime: #B9DB01;
  --ink: #454142;
  --ink-70: rgba(69, 65, 66, 0.70);
  --ink-55: rgba(69, 65, 66, 0.55);
  --ink-06: rgba(69, 65, 66, 0.06);
  --line: rgba(69, 65, 66, 0.13);   /* separadores ~15% */
  --line-soft: rgba(69, 65, 66, 0.08);
  --white: #ffffff;
  --black: #000000;

  --shadow-sm: 0 1px 2px rgba(69,65,66,0.06), 0 1px 1px rgba(69,65,66,0.04);
  --shadow-md: 0 6px 24px rgba(69,65,66,0.08), 0 2px 6px rgba(69,65,66,0.05);
  --shadow-lg: 0 24px 60px rgba(0,154,167,0.16), 0 8px 24px rgba(69,65,66,0.10);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --maxw: 1180px;
  --gutter: 32px;

  --font: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Nunito", "Nunito Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 92px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.1px;
  border-radius: var(--radius-pill);
  padding: 13px 24px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0,154,167,0.28);
}
.btn--primary:hover { background: var(--teal-700); box-shadow: 0 10px 26px rgba(0,154,167,0.34); transform: translateY(-1px); }

.btn--outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn--outline:hover { background: var(--teal-tint); }

.btn--white {
  background: var(--white);
  color: var(--teal);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.btn--white:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,0,0,0.18); }

.btn--ghost-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn--ghost-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn--lg { padding: 16px 30px; font-size: 16px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
  font-weight: 800;
  font-size: 15px;
}
.link-arrow svg { transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ===========================================================
   NAVBAR
   =========================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Logo wordmark */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -0.5px;
  color: var(--ink);
}
.logo__mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--teal);
  display: grid; place-items: center;
  color: #fff;
  position: relative;
  flex: none;
}
.logo__mark::before {
  content: "";
  position: absolute;
  width: 15px; height: 15px;
  border: 3px solid #fff;
  border-radius: 50%;
  border-right-color: transparent;
  transform: rotate(-45deg);
}
.logo b { color: var(--teal); font-weight: 800; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.nav__link {
  position: relative;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  white-space: nowrap;
}
.nav__link:hover { color: var(--teal); background: var(--teal-tint); }
.nav__link .chev { transition: transform .2s ease; }
.nav__link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav__link[aria-expanded="true"] { color: var(--teal); background: var(--teal-tint); }

.nav__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav__signin {
  font-weight: 700;
  font-size: 15px;
  padding: 8px 6px;
}
.nav__signin:hover { color: var(--teal); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 270px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown__item {
  display: flex;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 11px;
  align-items: flex-start;
}
.dropdown__item:hover { background: var(--teal-tint); }
.dropdown__ic {
  width: 34px; height: 34px; flex: none;
  border-radius: 9px;
  background: var(--teal-tint-2);
  color: var(--teal);
  display: grid; place-items: center;
}
.dropdown__t { font-weight: 800; font-size: 14.5px; color: var(--ink); }
.dropdown__d { font-size: 13px; color: var(--ink-55); line-height: 1.4; }

/* hamburger */
.nav__burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav__burger span {
  width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* mobile drawer */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  background: #fff;
  z-index: 55;
  padding: 24px var(--gutter) 40px;
  overflow-y: auto;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a, .mobile-menu .m-group > div {
  padding: 14px 4px;
  font-weight: 700;
  font-size: 17px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
}
.mobile-menu .m-sub { padding-left: 18px; font-weight: 600; font-size: 15px; color: var(--ink-70); }
.mobile-menu .m-cta { margin-top: 22px; display: grid; gap: 12px; }
.mobile-menu .m-cta .btn { width: 100%; }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  padding: 72px 0 84px;
  background:
    radial-gradient(1100px 500px at 88% -8%, var(--teal-tint) 0%, rgba(240,248,249,0) 60%),
    #fff;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--teal);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.2px;
  background: var(--teal-tint);
  border: 1px solid rgba(0,154,167,0.18);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(185,219,1,0.25); }

.hero h1 {
  font-family: var(--font-head);
  color: var(--black);
  font-weight: 800;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -1.5px;
  margin: 22px 0 0;
  max-width: 14ch;
}
.hero h1 .mark {
  position: relative;
  white-space: nowrap;
}
.hero h1 .mark::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 4px;
  height: 14px;
  background: var(--lime);
  z-index: -1;
  border-radius: 3px;
}
.hero__sub {
  font-size: 18px;
  color: var(--ink);
  margin: 24px 0 0;
  max-width: 46ch;
  line-height: 1.6;
}
.hero__cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero__micro {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-55);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hero__micro .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-55); }
.hero__micro svg { color: var(--teal); }

/* ---- product mockup (laptop / agenda) ---- */
.mockup { position: relative; }
.mockup__win {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mockup__bar {
  height: 42px;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
}
.mockup__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.mockup__bar .url {
  margin-left: 12px;
  height: 22px;
  flex: 1;
  background: var(--ink-06);
  border-radius: 7px;
  display: flex; align-items: center;
  padding: 0 12px;
  font-size: 11.5px; color: var(--ink-55); font-weight: 700;
}
.mockup__app { display: grid; grid-template-columns: 64px 1fr; min-height: 360px; }
.app__rail {
  background: var(--teal);
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.app__rail .r-logo { width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,0.18); display:grid; place-items:center; }
.app__rail .r-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: rgba(255,255,255,0.7); }
.app__rail .r-ic.active { background: rgba(255,255,255,0.18); color: #fff; }
.app__body { padding: 20px 22px; }
.app__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.app__head .t { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: var(--ink); white-space: nowrap; }
.app__head > div { min-width: 0; }
.app__head .d { font-size: 12px; color: var(--ink-55); }
.app__pill { font-size: 11px; font-weight: 800; color: var(--teal); background: var(--teal-tint); padding: 5px 11px; border-radius: 999px; white-space: nowrap; flex: none; }

.agenda { display: grid; gap: 9px; }
.appt {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: #fff;
  position: relative;
}
.appt::before { content:""; position:absolute; left:0; top:10px; bottom:10px; width:3px; border-radius:3px; background: var(--teal); }
.appt.lime::before { background: var(--lime); }
.appt .time { font-weight: 800; font-size: 12.5px; color: var(--ink); }
.appt .who { font-weight: 800; font-size: 13px; color: var(--ink); }
.appt .spec { font-size: 11.5px; color: var(--ink-55); }
.appt .av { width: 30px; height: 30px; border-radius: 50%; background: var(--teal-tint-2); display:grid; place-items:center; color: var(--teal); font-weight: 800; font-size: 12px; }

/* floating chips on mockup */
.float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  border-radius: 14px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 13px;
  color: var(--ink);
}
.float .ic { width: 34px; height: 34px; border-radius: 10px; display:grid; place-items:center; flex:none; }
.float--top { top: -22px; right: -18px; }
.float--bottom { bottom: -24px; left: -26px; }
.float small { display:block; font-weight: 700; font-size: 11.5px; color: var(--ink-55); margin-top: 1px; }
.float .ic.teal { background: var(--teal-tint-2); color: var(--teal); }
.float .ic.lime { background: rgba(185,219,1,0.18); color: #6f8400; }

/* ===========================================================
   TRUST BAR
   =========================================================== */
.trust {
  background: var(--teal);
  color: #fff;
}
.trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px 0;
}
.metric { text-align: center; position: relative; }
.metric + .metric::before {
  content: "";
  position: absolute;
  left: -12px; top: 12%; bottom: 12%;
  width: 1px;
  background: rgba(255,255,255,0.22);
}
.metric .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -1px;
}
.metric .lab { font-size: 14px; color: rgba(255,255,255,0.82); margin-top: 8px; font-weight: 600; }

/* ===========================================================
   SECTION HEADERS (shared)
   =========================================================== */
.shead { text-align: center; max-width: 660px; margin: 0 auto 52px; }
.shead .kick {
  color: var(--teal); font-weight: 800; font-size: 14px; letter-spacing: 1.2px;
  text-transform: uppercase;
}
.shead h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -1px;
  color: var(--ink);
  margin: 12px 0 0;
  line-height: 1.1;
}
.shead p { font-size: 17px; color: var(--ink-70); margin: 14px 0 0; }

/* ===========================================================
   BENEFICIOS
   =========================================================== */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.bcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.bcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(0,154,167,0.3); }
.bcard__ic {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--teal-tint-2);
  color: var(--teal);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.bcard h3 { font-family: var(--font-head); font-weight: 800; font-size: 18.5px; color: var(--ink); margin: 0 0 8px; letter-spacing: -0.3px; }
.bcard p { font-size: 14.5px; color: var(--ink-70); margin: 0; line-height: 1.55; }
.benefit-foot { text-align: center; margin-top: 40px; }

/* ===========================================================
   BUSCADOR
   =========================================================== */
.finder { background: var(--teal-tint); }
.finder__box {
  max-width: 880px;
  margin: 0 auto;
}
.searchbar {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 8px 8px 8px 8px;
  box-shadow: var(--shadow-md);
  margin-top: 34px;
  align-items: center;
}
.searchbar .field { display: flex; align-items: center; gap: 11px; padding: 6px 18px; position: relative; }
.searchbar .field + .field::before {
  content:""; position:absolute; left:0; top:18%; bottom:18%; width:1px; background: var(--line);
}
.searchbar .field svg { color: var(--teal); flex: none; }
.searchbar input {
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  width: 100%;
  background: transparent;
}
.searchbar input::placeholder { color: var(--ink-55); font-weight: 600; }
.searchbar .btn { padding: 14px 30px; }

.quick { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.quick a {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  background: #fff;
  border: 1px solid rgba(0,154,167,0.25);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: background .15s ease, transform .15s ease;
}
.quick a:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.quick a.all { background: transparent; border: none; text-decoration: none; }
.quick a.all:hover { box-shadow: none; }

/* ===========================================================
   TESTIMONIOS
   =========================================================== */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--lime);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.tcard .quote-mark {
  font-family: Georgia, serif;
  font-size: 56px;
  line-height: 0.6;
  color: var(--lime);
  height: 30px;
  font-weight: 700;
}
.tcard p { font-size: 15.5px; color: var(--ink); line-height: 1.62; margin: 6px 0 24px; flex: 1; }
.tcard__who { display: flex; align-items: center; gap: 13px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.tcard__av {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 16px; font-family: var(--font-head);
  flex: none;
}
.tcard__n { font-weight: 800; font-size: 15px; color: var(--ink); }
.tcard__m { font-size: 13px; color: var(--ink-55); }

/* ===========================================================
   CTA CIERRE
   =========================================================== */
.closing { background: var(--teal); color: #fff; text-align: center; position: relative; overflow: hidden; }
.closing::before, .closing::after {
  content:""; position:absolute; border-radius:50%; border: 1.5px solid rgba(255,255,255,0.12);
}
.closing::before { width: 420px; height: 420px; top: -180px; left: -120px; }
.closing::after { width: 520px; height: 520px; bottom: -260px; right: -120px; }
.closing__in { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.closing h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -1px;
  margin: 0;
  line-height: 1.08;
}
.closing p { font-size: 18px; color: rgba(255,255,255,0.9); margin: 18px auto 0; max-width: 52ch; }
.closing__cta { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

/* ===========================================================
   FOOTER
   =========================================================== */
.footer { background: var(--ink); color: #fff; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .logo { color: #fff; }
.footer .logo b { color: #fff; }
.footer__about { color: rgba(255,255,255,0.6); font-size: 14.5px; margin: 18px 0 0; max-width: 30ch; line-height: 1.6; }
.footer__geo { display: flex; gap: 8px; margin-top: 16px; font-weight: 800; font-size: 13px; color: rgba(255,255,255,0.85); }
.footer__geo span { background: rgba(255,255,255,0.1); padding: 5px 11px; border-radius: 7px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.85);
  transition: background .15s ease;
}
.footer__social a:hover { background: var(--teal); color: #fff; }
.footer h4 { font-family: var(--font-head); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.55); margin: 6px 0 18px; font-weight: 800; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer ul a { color: rgba(255,255,255,0.8); font-size: 14.5px; font-weight: 600; }
.footer ul a:hover { color: var(--lime); }
.footer__bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13.5px; color: rgba(255,255,255,0.6);
  flex-wrap: wrap; gap: 12px;
}
.footer__bottom a { color: rgba(255,255,255,0.6); font-weight: 600; }
.footer__bottom a:hover { color: #fff; }
.footer__bottom .links { display: flex; gap: 22px; }

/* ===========================================================
   COUNTRY SELECTOR + FLAGS
   =========================================================== */
.flag {
  width: 22px; height: 15px;
  border-radius: 2.5px;
  display: inline-block;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.10);
  background-size: cover;
  vertical-align: middle;
}
.flag--ec { background: linear-gradient(#FFDD00 0 50%, #0E4C92 50% 75%, #D52B1E 75% 100%); }
.flag--ve { background: linear-gradient(#FFCC00 0 33.33%, #00247D 33.33% 66.66%, #CF142B 66.66% 100%); }
.flag--do {
  background:
    linear-gradient(#fff,#fff) center / 100% 3px no-repeat,
    linear-gradient(#fff,#fff) center / 3px 100% no-repeat,
    conic-gradient(#CE1126 0 90deg, #002D62 90deg 180deg, #CE1126 180deg 270deg, #002D62 270deg 360deg);
}

/* Country popover (Buscar médico / Iniciar sesión) */
.nav-cta { position: relative; display: inline-flex; }
.country-pop {
  min-width: 220px;
  left: auto;
  right: 0;
  border: 1px solid var(--teal);
  padding: 7px;
}
.country-pop__opt {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink);
  text-align: left;
}
.country-pop__opt:hover { background: var(--teal-tint); color: var(--teal); }
.country-pop__opt .flag { box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); }

/* country options inside mobile drawer */
.mobile-menu .m-sub .flag { margin-right: 6px; }

/* divider inside Para médicos dropdown */
.dropdown__divider {
  height: 1px;
  background: var(--line);
  margin: 7px 10px;
}

/* ===========================================================
   LOGO IMAGE (real Thani mark)
   =========================================================== */
.logo__img { height: 32px; width: auto; display: block; }
.footer .logo__img { height: 34px; filter: brightness(0) invert(1); opacity: 0.95; }

/* ===========================================================
   AWS micro-band (below trust bar)
   =========================================================== */
.aws {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}
.aws__in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px 0;
  flex-wrap: wrap;
}
.aws__logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-right: 18px;
  border-right: 1px solid var(--line);
}
/* Lightweight text treatment — swap for the official "Powered by AWS" asset if desired */
.aws__logo .cloud { color: #232F3E; }
.aws__logo .word { font-family: var(--font-head); font-weight: 800; font-size: 16px; color: #232F3E; letter-spacing: 0.5px; position: relative; }
.aws__logo .word::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2.5px;
  background: #FF9900; border-radius: 2px;
}
.aws__txt { font-size: 14px; color: var(--ink-70); font-weight: 600; }

/* ===========================================================
   ALIADOS / red de salud digital
   =========================================================== */
.allies { background: var(--ink-06); }
.allies__title {
  text-align: center;
  color: var(--ink-70);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2px;
  margin: 0 0 36px;
}
.allies__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 56px;
  max-width: 920px;
  margin: 0 auto;
}
/* Text wordmark placeholders — drop in the real ally SVGs when available */
.ally {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.3px;
  color: var(--ink);
  opacity: 0.45;
  filter: grayscale(1);
  transition: opacity .18s ease, color .18s ease, transform .18s ease, filter .18s ease;
  white-space: nowrap;
}
.ally img { height: 38px; width: auto; display: block; }
.ally.has-logo { font-size: 0; }
.ally:hover { opacity: 1; filter: none; color: var(--teal); transform: translateY(-1px); }

/* ===========================================================
   TESTIMONIAL AVATAR PHOTOS
   =========================================================== */
.tcard__av { position: relative; overflow: hidden; }
.tcard__av img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.tcard__av.has-img { color: transparent; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__signin, .nav__right .btn--outline { display: none; }
  .nav__burger { display: flex; }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero h1 { max-width: 18ch; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  :root { --gutter: 20px; }
  .trust__inner { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; padding: 40px 0; }
  .metric:nth-child(odd)::before { display: none; }
  .metric:nth-child(2)::before, .metric:nth-child(4)::before { left: -8px; }
  .tcards { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr; gap: 14px; }
  .searchbar { grid-template-columns: 1fr; border-radius: var(--radius); padding: 8px; gap: 4px; }
  .searchbar .field { padding: 12px 16px; }
  .searchbar .field + .field::before { display: none; }
  .searchbar .field { border-bottom: 1px solid var(--line-soft); }
  .searchbar .btn { width: 100%; margin-top: 4px; }
  .float--top { top: -16px; right: 4px; transform: scale(0.9); }
  .float--bottom { bottom: -18px; left: 0; transform: scale(0.9); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 48px 0 64px; }
  .closing__cta { flex-direction: column; }
  .closing__cta .btn { width: 100%; }
  .allies__row { gap: 22px 36px; }
  .ally { font-size: 17px; }
  .aws__in { flex-direction: column; gap: 10px; text-align: center; }
  .aws__logo { border-right: none; padding-right: 0; }
  .aws__txt { font-size: 13px; padding: 0 8px; }
}

@media (max-width: 420px) {
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
}
