:root {
  --blue-900: #0b3a66;
  --blue-700: #0c78cc;
  --blue-500: #2e91dd;
  --blue-300: #77bbf0;
  --blue-100: #eaf5fd;
  --purple: #6060eb;
  --purple-100: #ededfd;
  --yellow: #ffd34d;
  --yellow-700: #febf00;
  --orange: #feb34d;
  --orange-700: #ff9200;
  --ink: #122340;
  --slate: #5b6b85;
  --paper: #fff;
  --cloud: #f5f9fd;
  --line: #e1ebf5;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 20px 45px -22px rgba(11, 58, 102, 0.28);
  --shadow-card: 0 14px 30px -18px rgba(11, 58, 102, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .display { margin: 0; font-family: "Baloo 2", sans-serif; font-weight: 700; line-height: 1.08; }
p { margin: 0; color: var(--slate); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
button { border: 0; background: none; font-family: inherit; cursor: pointer; }
section { position: relative; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px;
  border-radius: 999px; color: var(--blue-700); background: var(--blue-100);
  font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow-700); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px; font-size: 15px; font-weight: 800;
  white-space: nowrap; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary { color: #fff; background: var(--blue-500); box-shadow: 0 14px 26px -12px rgba(46, 145, 221, .65); }
.btn-primary:hover { color: #fff; background: var(--blue-700); transform: translateY(-2px); }
.btn-ghost { color: var(--blue-700); border: 2px solid var(--blue-100); background: #fff; }
.btn-ghost:hover { color: var(--blue-700); border-color: var(--blue-300); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* Header */
.prototype-header { position: sticky; top: 0; z-index: 1060; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92); backdrop-filter: blur(10px); }
.nav { display: flex; align-items: center; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: contain; }
.brand span { color: var(--blue-900); font-family: "Baloo 2", sans-serif; font-size: 16.5px; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--ink); opacity: .72; font-size: 13px; font-weight: 600; letter-spacing: .01em; transition: opacity .15s, color .15s; }
.nav-links a:hover { color: var(--blue-700); opacity: 1; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-cta .btn { padding: 9px 18px; box-shadow: none; font-size: 12.5px; font-weight: 700; }
.nav-cta .btn-primary { box-shadow: 0 10px 18px -10px rgba(46,145,221,.55); }
.nav-cta .btn-ghost { border-width: 1.5px; }
.burger { display: none; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 11px; background: var(--blue-100); }
.burger span, .burger span::before, .burger span::after { content: ""; display: block; position: relative; width: 18px; height: 2.4px; border-radius: 2px; background: var(--blue-900); transition: transform .2s, top .2s; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
.burger.open span { background: transparent; }
.burger.open span::before { top: 0; transform: rotate(45deg); }
.burger.open span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero { overflow: hidden; padding: 64px 0 40px; background: linear-gradient(180deg, var(--blue-100) 0%, #fff 78%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.hero h1 { color: var(--blue-900); font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -.01em; }
.hero h1 em { color: var(--blue-500); font-style: normal; }
.hero p.lead { max-width: 480px; margin-top: 18px; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-art { position: relative; min-width: 0; }
.hero-blob { position: absolute; z-index: 0; inset: -14% -10% -8% -6%; background: radial-gradient(circle at 25% 20%, var(--yellow) 0, rgba(255,211,77,0) 45%), radial-gradient(circle at 80% 75%, var(--purple-100) 0, rgba(237,237,253,0) 55%); filter: blur(2px); }
.hero-card { position: relative; z-index: 1; overflow: hidden; padding: 20px; border-radius: 32px; background: var(--blue-500); box-shadow: var(--shadow-soft); }
.hero-slides { position: relative; overflow: hidden; aspect-ratio: 900 / 711; border-radius: 22px; background: #dcedfb; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 22px; object-fit: contain; opacity: 0; transform: scale(1.01); transition: opacity .5s ease, transform .7s ease; }
.hero-slides img.is-active { opacity: 1; transform: scale(1); }
.hero-arrow { position: absolute; z-index: 4; top: 50%; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--blue-900); background: rgba(255,255,255,.9); transform: translateY(-50%); }
.hero-arrow.prev { left: 30px; }
.hero-arrow.next { right: 30px; }
.hero-dots { position: absolute; z-index: 4; bottom: 28px; left: 50%; display: flex; gap: 6px; transform: translateX(-50%); }
.hero-dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; background: rgba(255,255,255,.55); }
.hero-dots button.active { width: 24px; background: #fff; }
.hero-badge { position: absolute; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-card); }
.hero-badge.b1 { top: -18px; left: -18px; }
.hero-badge.b2 { right: -14px; bottom: -18px; }
.hero-badge .ic { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 11px; font-size: 18px; }
.hero-badge b { display: block; color: var(--blue-900); font-family: "Baloo 2", sans-serif; font-size: 15px; }
.hero-badge span { color: var(--slate); font-size: 12px; font-weight: 600; }

/* Counters */
.trust-strip { padding: 30px 0; background: var(--blue-900); }
.counters-row { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.counter { display: flex; min-width: 120px; flex-direction: column; align-items: center; text-align: center; }
.counter b { color: #fff; font-family: "Baloo 2", sans-serif; font-size: 32px; font-weight: 700; line-height: 1; }
.counter span { margin-top: 6px; color: #9fbbd6; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.counter-sep { width: 1px; height: 34px; background: rgba(255,255,255,.14); }

/* Sections and about */
.sec { padding: 88px 0; }
.sec-alt { background: var(--cloud); }
.sec-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.sec-head h2 { margin-top: 14px; color: var(--blue-900); font-size: clamp(28px, 3.4vw, 40px); }
.sec-head p { margin-top: 14px; font-size: 16.5px; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.trinity-wrap { position: relative; width: 100%; max-width: 420px; margin: 0 auto; }
.about-copy h2 { margin-top: 16px; color: var(--blue-900); font-size: clamp(26px,3.2vw,36px); }
.about-copy > p { max-width: 520px; margin-top: 14px; font-size: 16px; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.about-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-card); }
.about-card .ic { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-bottom: 14px; border-radius: 12px; font-size: 20px; }
.about-card h4 { margin-bottom: 6px; color: var(--blue-900); font-family: "Baloo 2", sans-serif; font-size: 16.5px; }
.about-card p { font-size: 13.6px; }

/* Providers */
.providers-section { padding-top: 64px; padding-bottom: 64px; }
.providers-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.providers-track { display: flex; width: max-content; will-change: transform; animation: providers-scroll 32s linear infinite; }
.providers-marquee:hover .providers-track, .providers-marquee:focus-within .providers-track { animation-play-state: paused; }
.providers-group { display: flex; flex: none; gap: 20px; padding-right: 20px; }
.provider-card { display: flex; width: 190px; height: 130px; flex: none; align-items: center; justify-content: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.provider-card:hover { border-color: var(--blue-300); box-shadow: 0 20px 34px -18px rgba(11,58,102,.3); transform: translateY(-4px); }
.provider-card img { display: block; width: 100%; height: 100%; object-fit: contain; }
.providers-note { margin-top: 26px; text-align: center; font-size: 13.5px; }
@keyframes providers-scroll { to { transform: translateX(-50%); } }

/* Plans */
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plans-grid.count-3 { grid-template-columns: repeat(3, 1fr); }
.plans-grid.count-2 { grid-template-columns: repeat(2, 1fr); }
.prototype-plan-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease; }
.prototype-plan-card:hover { transform: translateY(-6px); box-shadow: 0 26px 46px -20px rgba(11,58,102,.32); }
.prototype-plan-card.featured { border: 2px solid var(--blue-500); }
.prototype-plan-card.oro { border-color: var(--blue-900); background: var(--blue-900); }
.plan-ribbon { position: absolute; top: -13px; left: 22px; padding: 6px 12px; border-radius: 999px; color: var(--blue-900); background: var(--yellow); box-shadow: 0 8px 16px -8px rgba(255,191,0,.7); font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.plan-tag { font-size: 11.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.prototype-plan-card h3 { margin-top: 2px; color: var(--blue-900); font-size: 21px; }
.prototype-plan-card.oro h3 { color: #fff; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; }
.plan-price b { color: var(--ink); font-family: "Baloo 2", sans-serif; font-size: 26px; }
.plan-price span { color: var(--slate); font-size: 12.5px; font-weight: 700; }
.prototype-plan-card.oro .plan-price b { color: #fff; }
.prototype-plan-card.oro .plan-price span { color: #afc6de; }
.plan-list { display: flex; flex-direction: column; gap: 10px; }
.plan-list li { display: flex; align-items: flex-start; gap: 9px; color: var(--ink); font-size: 13.6px; }
.prototype-plan-card.oro .plan-list li { color: #e5f1fc; }
.plan-list .chk { display: flex; width: 18px; height: 18px; flex: none; align-items: center; justify-content: center; margin-top: 1px; border-radius: 50%; color: var(--blue-700); background: var(--blue-100); font-size: 11px; }
.prototype-plan-card.oro .chk { color: var(--yellow); background: rgba(255,211,77,.2); }
.prototype-plan-card details { margin-top: 2px; }
.prototype-plan-card summary { display: flex; align-items: center; gap: 6px; padding: 4px 0; color: var(--blue-700); font-size: 13px; font-weight: 800; list-style: none; cursor: pointer; }
.prototype-plan-card.oro summary { color: var(--yellow); }
.prototype-plan-card summary::-webkit-details-marker { display: none; }
.prototype-plan-card summary::after { content: "+"; margin-left: auto; font-size: 16px; }
.prototype-plan-card details[open] summary::after { content: "-"; }
.plan-more { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.plan-more li { position: relative; padding-left: 14px; color: var(--slate); font-size: 12.8px; }
.prototype-plan-card.oro .plan-more li { color: #c9def3; }
.plan-more li::before { content: "•"; position: absolute; left: 0; color: var(--blue-300); }
.plan-cta { margin-top: auto; }
.prototype-plan-card.oro .plan-cta { color: var(--blue-900); border: 0; background: var(--yellow); }
.plans-note { margin-top: 30px; text-align: center; font-size: 13.5px; }

/* Affiliation */
.afiliate-panel { position: relative; display: grid; overflow: hidden; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; padding: 56px; border-radius: 36px; color: #fff; background: var(--blue-900); }
.afiliate-panel::before { content: ""; position: absolute; top: -160px; right: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,211,77,.18), transparent 70%); }
.afiliate-illustration { width: 108px; margin-bottom: 18px; }
.afiliate-copy .eyebrow { color: #ffe9a8; background: rgba(255,255,255,.1); }
.afiliate-copy h2 { margin-top: 16px; color: #fff; font-size: clamp(26px,3vw,34px); }
.afiliate-copy p { margin-top: 14px; color: #c9def3; font-size: 15.5px; }
.afiliate-copy ul { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.afiliate-copy li { display: flex; align-items: center; gap: 10px; color: #e5f1fc; font-size: 14px; }
.afiliate-copy li .chk { display: flex; width: 20px; height: 20px; flex: none; align-items: center; justify-content: center; border-radius: 50%; color: var(--yellow); background: rgba(255,211,77,.22); font-size: 11px; }
.form-card { position: relative; z-index: 1; padding: 32px; border-radius: 26px; color: var(--ink); background: #fff; box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); }
.form-card h3 { margin-bottom: 4px; color: var(--blue-900); font-size: 19px; }
.form-card p.hint { margin-bottom: 20px; font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--blue-900); font-size: 12.5px; font-weight: 800; }
.field input, .field select { padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--cloud); font-family: inherit; font-size: 14px; }
.field input:focus, .field select:focus { border-color: var(--blue-500); outline: 2px solid var(--blue-500); outline-offset: 1px; }
.form-foot { margin-top: 6px; color: var(--slate); font-size: 11.5px; }

/* Medical directory */
#cartilla, #cartilla input, #cartilla select, #cartilla button, #cartilla a { font-family: "Manrope", sans-serif; }
#cartilla h2, #cartilla .result-heading b, #cartilla .directory-map-heading b { font-family: "Baloo 2", sans-serif; }
#cartilla .wrap, #cartilla .cartilla-panel, #cartilla .search-row, #cartilla .directory-layout, #cartilla .directory-results-panel, #cartilla .directory-map-card { min-width: 0; }
.cartilla-head-flex { display: flex; align-items: center; justify-content: center; gap: 36px; margin-bottom: 48px; }
.cartilla-illustration { width: 150px; flex: none; }
.cartilla-panel { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-card); }
.search-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 12px; align-items: end; }
.search-row .field { min-width: 0; margin-bottom: 0; }
.search-row .field input, .search-row .field select { width: 100%; }
.search-row .btn { min-height: 44px; }
.directory-location-bar { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 13px 15px; border: 1px solid var(--blue-300); border-radius: 14px; background: var(--blue-100); }
.directory-location-bar > button { display: inline-flex; min-width: 158px; min-height: 40px; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; border-radius: 10px; color: #fff; background: var(--blue-700); font-size: 11.5px; font-weight: 800; }
.directory-location-bar > button:disabled { opacity: .65; cursor: wait; }
.directory-location-bar.loading > button i { animation: directory-spin .8s linear infinite; }
.directory-location-bar > div { min-width: 0; }
.directory-location-bar b, .directory-location-bar span, .directory-location-bar small { display: block; }
.directory-location-bar b { color: var(--blue-900); font-size: 12.5px; }
.directory-location-bar span { margin-top: 2px; color: var(--slate); font-size: 11.5px; }
.directory-location-bar small { margin-top: 3px; color: var(--slate); font-size: 9.5px; }
.directory-location-bar small a { color: var(--blue-700); text-decoration: underline; }
.directory-location-bar.error { border-color: #f2b5ae; background: #fff2f0; }
.directory-start-state { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; padding: 25px 22px; border: 1px dashed var(--blue-300); border-radius: 16px; color: var(--slate); background: rgba(241,247,255,.72); text-align: left; }
.directory-start-state > i { display: flex; width: 46px; height: 46px; flex: none; align-items: center; justify-content: center; border-radius: 14px; color: var(--blue-700); background: #fff; box-shadow: 0 10px 24px -18px rgba(11,58,102,.7); font-size: 20px; }
.directory-start-state b, .directory-start-state span { display: block; }
.directory-start-state b { color: var(--blue-900); font-family: "Baloo 2", sans-serif; font-size: 16px; line-height: 1.2; }
.directory-start-state span { margin-top: 3px; font-size: 12px; line-height: 1.5; }
.directory-start-state.invalid { border-color: #efb2ab; color: #8f3830; background: #fff5f3; }
.directory-start-state.invalid > i { color: #b73d32; }
.directory-layout { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(320px,.88fr); gap: 20px; align-items: start; margin-top: 28px; transition: opacity .15s; }
.directory-layout.loading { opacity: .55; pointer-events: none; }
.directory-results-panel { min-width: 0; }
.directory-summary { display: flex; align-items: center; justify-content: space-between; min-height: 32px; margin: 0 2px 10px; color: var(--slate); font-size: 12px; }
.directory-summary b { color: var(--blue-900); font-family: "Baloo 2", sans-serif; font-size: 18px; }
.directory-summary small { color: var(--blue-700); font-size: 11.5px; font-weight: 800; }
.cartilla-results { display: flex; flex-direction: column; gap: 10px; }
.result-row { display: flex; align-items: flex-start; gap: 14px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .15s,background .15s,box-shadow .15s,transform .15s; }
.result-row:hover { border-color: var(--blue-300); background: var(--blue-100); }
.result-row.selected { border-color: var(--blue-500); background: linear-gradient(135deg,#fff 35%,var(--blue-100)); box-shadow: 0 12px 28px -22px rgba(11,58,102,.65); }
.result-row:focus-visible { border-color: var(--blue-500); outline: 3px solid rgba(46,145,221,.24); outline-offset: 2px; }
.result-ic { display: flex; width: 46px; height: 46px; flex: none; align-items: center; justify-content: center; border-radius: 13px; font-size: 20px; }
.result-ic.professional { color: var(--blue-700); background: var(--blue-100); }
.result-ic.center { color: var(--purple); background: var(--purple-100); }
.result-info { min-width: 0; flex: 1; }
.result-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.result-heading b { min-width: 0; overflow-wrap: anywhere; color: var(--blue-900); font-family: "Baloo 2", sans-serif; font-size: 15px; line-height: 1.25; }
.result-tag { flex: none; padding: 5px 10px; border-radius: 999px; color: var(--blue-700); background: var(--blue-100); font-size: 10.5px; font-weight: 800; white-space: nowrap; }
.result-specialties { margin-top: 5px; overflow-wrap: anywhere; color: var(--blue-700); font-size: 11.5px; font-weight: 800; line-height: 1.4; }
.result-meta { display: flex; flex-direction: column; gap: 5px; margin-top: 9px; }
.result-meta span, .result-meta a { display: flex; min-width: 0; align-items: flex-start; gap: 7px; overflow-wrap: anywhere; color: var(--slate); font-size: 11.8px; line-height: 1.4; }
.result-meta a { width: fit-content; color: var(--blue-700); font-weight: 700; }
.result-meta i { width: 13px; flex: none; color: var(--blue-500); }
.result-map-button { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 9px; border-radius: 9px; color: var(--blue-700); background: var(--blue-100); font-size: 10.5px; font-weight: 800; }
.result-map-button:hover { color: #fff; background: var(--blue-500); }
.directory-map-card { position: sticky; top: 88px; width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 18px 45px -32px rgba(11,58,102,.7); }
.directory-map-heading { min-height: 88px; padding: 17px 18px 15px; background: linear-gradient(135deg,var(--blue-900),var(--blue-700)); }
.directory-map-heading span { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; color: var(--yellow); font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.directory-map-heading b { display: block; color: #fff; font-family: "Baloo 2", sans-serif; font-size: 16px; line-height: 1.25; }
.directory-map-card iframe { display: block; width: 100%; height: 390px; border: 0; background: var(--blue-100); }
.directory-map-detail { padding: 16px 18px 18px; }
.directory-map-detail p { display: flex; align-items: flex-start; gap: 8px; color: var(--slate); font-size: 12px; line-height: 1.45; }
.directory-map-detail p i { flex: none; color: var(--blue-500); }
.directory-map-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 14px; }
.directory-map-actions a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; padding: 8px 10px; border: 1px solid var(--blue-300); border-radius: 10px; color: var(--blue-700); background: var(--blue-100); font-size: 11.5px; font-weight: 800; }
.directory-map-actions a:only-child { grid-column: 1 / -1; }
.directory-map-actions a:hover { border-color: var(--blue-500); color: #fff; background: var(--blue-500); }
.directory-map-empty { display: flex; min-height: 480px; align-items: center; justify-content: center; flex-direction: column; gap: 12px; padding: 28px; color: var(--slate); text-align: center; font-size: 13px; }
.directory-map-empty i { color: var(--blue-500); font-size: 34px; }
.directory-pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.directory-pagination button { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; color: var(--blue-700); background: #fff; }
.directory-pagination button:disabled { opacity: .35; cursor: not-allowed; }
.directory-pagination span { color: var(--slate); font-size: 12px; font-weight: 700; }
.directory-state { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 26px; padding: 26px 20px; border: 1px dashed var(--line); border-radius: 16px; color: var(--slate); text-align: center; }
.directory-spinner { width: 22px; height: 22px; border: 3px solid var(--blue-100); border-top-color: var(--blue-500); border-radius: 50%; animation: directory-spin .8s linear infinite; }
@keyframes directory-spin { to { transform: rotate(360deg); } }
.directory-error { color: #b73d32; }
.cartilla-note { margin-top: 20px; color: var(--slate); text-align: center; font-size: 12.5px; }

/* FAQ */
.faq-list { display: flex; max-width: 820px; margin: 0 auto; flex-direction: column; gap: 12px; }
.faq-item { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.faq-item summary { display: flex; align-items: center; gap: 14px; padding: 20px 22px; color: var(--blue-900); font-family: "Baloo 2", sans-serif; font-size: 16px; font-weight: 600; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { display: flex; width: 30px; height: 30px; flex: none; align-items: center; justify-content: center; margin-left: auto; border-radius: 50%; color: var(--blue-700); background: var(--blue-100); font-size: 16px; transition: transform .2s; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 22px; font-size: 14.5px; }

/* Portal promotion */
.app-panel { display: grid; overflow: hidden; grid-template-columns: 1.1fr .9fr; border-radius: 36px; background: linear-gradient(120deg,var(--blue-500),var(--blue-700)); }
.app-copy { padding: 56px; color: #fff; }
.app-copy .eyebrow { color: #ffe9a8; background: rgba(255,255,255,.14); }
.app-copy h2 { margin-top: 16px; color: #fff; font-size: clamp(26px,3vw,32px); }
.app-copy p { max-width: 420px; margin-top: 12px; color: #dcebfa; font-size: 15px; }
.app-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.app-feat div { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.1); }
.app-feat b { display: block; margin-bottom: 2px; font-family: "Baloo 2", sans-serif; font-size: 14.5px; }
.app-feat span { color: #cfe4f8; font-size: 12px; }
.store-badges { display: flex; gap: 12px; margin-top: 28px; }
.store-badge { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 14px; color: #fff; background: #0a2440; }
.store-badge span { display: block; }
.store-badge .s1 { color: #b9cbe0; font-size: 10px; }
.store-badge .s2 { font-family: "Baloo 2", sans-serif; font-size: 15px; font-weight: 800; }
.app-phone-wrap { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.app-phone { width: 230px; margin-top: 40px; padding: 12px; border-radius: 34px; background: #0a1f38; box-shadow: 0 30px 60px -18px rgba(0,0,0,.5); }
.app-phone .screen { height: 100%; padding: 18px 14px; border-radius: 24px; background: #fff; }
.app-phone .screen .row { display: flex; align-items: center; justify-content: space-between; margin: 0 0 16px; }
.app-phone .screen .row b { color: var(--blue-900); font-family: "Baloo 2", sans-serif; font-size: 14px; }
.app-phone .card-mini { margin-bottom: 10px; padding: 12px; border-radius: 14px; background: var(--blue-100); }
.app-phone .card-mini b { display: block; color: var(--blue-900); font-size: 12.5px; }
.app-phone .card-mini span { color: var(--slate); font-size: 10.5px; }
.app-phone .cred { margin-top: 6px; padding: 14px; border-radius: 14px; color: #fff; background: linear-gradient(120deg,var(--blue-500),var(--purple)); }
.app-phone .cred b { display: block; opacity: .8; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.app-phone .cred span { display: block; margin-top: 6px; font-family: "Baloo 2", sans-serif; font-size: 15px; }

/* Branches */
.branches-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: stretch; }
.branch-card { display: flex; min-width: 0; min-height: 100%; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-card); transition: border-color .15s,transform .15s,box-shadow .15s; }
.branch-card:hover { border-color: var(--blue-300); transform: translateY(-3px); box-shadow: 0 20px 44px -30px rgba(11,58,102,.6); }
.branch-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.branch-pin { display: flex; width: 38px; height: 38px; flex: none; align-items: center; justify-content: center; border-radius: 12px; color: var(--blue-700); background: var(--blue-100); font-size: 17px; }
.branch-card .tag { color: var(--blue-700); font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.branch-card h4 { margin-top: 6px; color: var(--blue-900); font-size: 19px; }
.branch-address { display: flex; align-items: flex-start; gap: 9px; margin-top: 17px; color: var(--slate); font-size: 13px; line-height: 1.45; }
.branch-address i { flex: none; color: var(--blue-500); }
.branch-reference { margin: 6px 0 0 24px; color: var(--slate); font-size: 12px; }
.branch-phones { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 16px; }
.branch-phones a { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid #ffe3a0; border-radius: 11px; color: #654700; background: #fff8e7; }
.branch-phones a > i { display: flex; width: 30px; height: 30px; flex: none; align-items: center; justify-content: center; border-radius: 9px; color: #fff; background: #20b35a; font-size: 15px; }
.branch-phones a span { min-width: 0; }
.branch-phones a small, .branch-phones a b { display: block; }
.branch-phones a small { color: var(--slate); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.branch-phones a b { overflow-wrap: anywhere; font-size: 12.5px; }
.branch-phones a:hover { border-color: var(--yellow); background: #fff3d6; }
.branch-card .hrs { display: flex; align-items: flex-start; gap: 8px; margin-top: auto; padding-top: 15px; border-top: 1px dashed var(--line); color: var(--slate); font-size: 11.8px; line-height: 1.45; }
.branch-card .hrs i { flex: none; color: var(--blue-500); }

/* Footer */
.prototype-footer { padding: 64px 0 28px; color: #cfe0f2; background: var(--blue-900); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.foot-brand img { width: 38px; height: 38px; border-radius: 10px; object-fit: contain; }
.foot-brand span { color: #fff; font-family: "Baloo 2", sans-serif; font-size: 18px; font-weight: 800; }
.foot-grid p { max-width: 280px; color: #9fbbd6; font-size: 13.5px; }
.foot-col h5 { margin-bottom: 14px; color: #fff; font-family: "Baloo 2", sans-serif; font-size: 14.5px; }
.foot-col ul { display: flex; flex-direction: column; gap: 10px; }
.foot-col a { color: #afc6de; font-size: 13.5px; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-social { display: flex; gap: 10px; margin-top: 16px; }
.foot-social a { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 10px; color: #cfe0f2; background: rgba(255,255,255,.08); transition: background .15s,color .15s; }
.foot-social a:hover { color: #fff; background: var(--blue-500); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #82a0c0; font-size: 12.5px; }

/* Floating contact actions */
.floating-contact-actions { position: fixed; right: 22px; bottom: 22px; z-index: 1080; display: flex; flex-direction: row; align-items: flex-end; gap: 12px; }
.advisor-fab { position: relative; display: flex; min-height: 54px; align-items: center; gap: 10px; padding: 0 18px; border-radius: 999px; color: #fff; background: #25d366; box-shadow: 0 16px 30px -10px rgba(20,160,75,.55); font-family: "Baloo 2", sans-serif; font-size: 14px; font-weight: 800; }
.advisor-fab i { font-size: 23px; }
.advisor-fab:hover { color: #fff; background: #1fbd59; transform: translateY(-2px); }
.emg-fab { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.emg-menu { position: absolute; right: 76px; bottom: 0; display: flex; flex-direction: column; gap: 10px; opacity: 0; pointer-events: none; transform: translateX(10px) scale(.96); transform-origin: right bottom; transition: opacity .18s ease,transform .18s ease; }
.emg-fab.open .emg-menu { opacity: 1; pointer-events: auto; transform: translateX(0) scale(1); }
.emg-option { display: flex; min-width: 240px; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: #fff; box-shadow: 0 16px 30px -12px rgba(11,58,102,.4); }
.emg-option .ic { display: flex; width: 40px; height: 40px; flex: none; align-items: center; justify-content: center; border-radius: 12px; font-size: 18px; }
.emg-option .emergency-medical { color: #e4483a; background: #fde7e4; }
.emg-option .emergency-dental { color: var(--blue-700); background: var(--blue-100); }
.emg-option b { display: block; color: var(--blue-900); font-family: "Baloo 2", sans-serif; font-size: 13.5px; }
.emg-option span { color: var(--slate); font-size: 12.5px; }
.emg-btn { position: relative; display: flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: #e4483a; box-shadow: 0 16px 30px -10px rgba(228,72,58,.6); font-size: 26px; }
.emg-btn > i { position: relative; z-index: 1; font-size: 25px; }
.emg-btn .pulse { position: absolute; inset: -8px; border: 3px solid rgba(228,72,58,.45); border-radius: 50%; animation: prototype-pulse 1.8s infinite; }
@keyframes prototype-pulse { 0% { opacity: 1; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }
.emg-label { position: absolute; top: 50%; right: 74px; padding: 7px 12px; border-radius: 10px; color: #fff; background: var(--ink); opacity: 0; pointer-events: none; font-size: 12.5px; font-weight: 800; white-space: nowrap; transform: translateY(-50%); transition: opacity .15s; }
.emg-fab:not(.open) .emg-btn:hover .emg-label { opacity: 1; }

@media (max-width: 1100px) {
  .nav-links { gap: 13px; }
  .nav-links a { font-size: 12px; }
}
@media (max-width: 980px) {
  .nav { position: relative; }
  .nav-links { position: absolute; top: 65px; right: 0; left: 0; display: none; flex-direction: column; gap: 18px; padding: 20px 24px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 16px 30px -20px rgba(11,58,102,.3); }
  .nav-links.open { display: flex; }
  .nav-cta .btn-ghost { display: none; }
  .burger { display: flex; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; width: min(100%,420px); margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .afiliate-panel { grid-template-columns: 1fr; padding: 36px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .cartilla-head-flex { flex-direction: column; text-align: center; }
  .cartilla-head-flex .sec-head { text-align: center; }
  #cartilla .search-row { grid-template-columns: minmax(0,1fr); }
  #cartilla .search-row .field, #cartilla .search-row .field:first-child, #cartilla .search-row .btn { grid-column: 1 / -1; width: 100%; }
  #cartilla .directory-layout { grid-template-columns: minmax(0,1fr); }
  #cartilla .directory-map-card { position: static; order: -1; }
  #cartilla .directory-map-card iframe { height: 340px; }
  .app-panel { grid-template-columns: 1fr; }
  .app-phone-wrap { display: none; }
  .branches-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  html, body, #front-root { width: 100%; max-width: 100%; overflow-x: hidden; }
  .wrap { padding: 0 16px; }
  .nav { padding: 12px 16px; }
  .brand span { font-size: 15px; }
  .nav-cta .btn-primary { display: none; }
  .sec { padding: 60px 0; }
  .hero { padding: 38px 0 44px; }
  .hero-card { padding: 12px; border-radius: 24px; }
  .hero-slides { border-radius: 16px; }
  .hero-slides img { border-radius: 16px; }
  .hero-badge { padding: 10px 12px; border-radius: 14px; }
  .hero-art { width: 100%; max-width: 100%; }
  .hero-badge { max-width: calc(100% - 12px); }
  .hero-badge.b1 { top: -10px; left: 6px; }
  .hero-badge.b2 { right: 6px; bottom: -10px; }
  .hero-badge > div:last-child { min-width: 0; }
  .hero-badge .ic { width: 32px; height: 32px; font-size: 15px; }
  .hero-badge b { font-size: 12px; }
  .hero-badge span { font-size: 10px; }
  .hero-arrow.prev { left: 18px; }
  .hero-arrow.next { right: 18px; }
  .hero-dots { bottom: 20px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }
  .providers-section { padding-top: 48px; padding-bottom: 48px; }
  .providers-marquee { -webkit-mask-image: linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent); mask-image: linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent); }
  .providers-group { gap: 14px; padding-right: 14px; }
  .provider-card { width: 154px; height: 106px; padding: 10px; border-radius: 14px; }
  .providers-note { margin-top: 20px; font-size: 11.5px; line-height: 1.5; }
  .app-copy { padding: 36px 24px; }
  .app-feat { grid-template-columns: 1fr; }
  .store-badges { flex-direction: column; }
  .foot-grid { grid-template-columns: 1fr; }
  .counters-row { gap: 26px 30px; }
  .counter { min-width: 38%; }
  .counter-sep { display: none; }
  .cartilla-head-flex { gap: 18px; margin-bottom: 26px; }
  .cartilla-head-flex .sec-head { margin: 0; }
  .cartilla-head-flex .sec-head p { font-size: 14px; }
  .cartilla-illustration { width: 96px; }
  #cartilla .cartilla-panel { padding: 16px; border-radius: 20px; }
  #cartilla .search-row { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
  #cartilla .search-row .field, #cartilla .search-row .field:first-child, #cartilla .search-row .btn { grid-column: 1; width: 100%; }
  #cartilla .search-row .field { gap: 5px; }
  #cartilla .search-row .field input, #cartilla .search-row .field select { width: 100%; min-width: 0; min-height: 48px; font-family: "Manrope", sans-serif; font-size: 16px; }
  #cartilla .search-row .btn { min-width: 0; }
  #cartilla .directory-location-bar { display: flex; align-items: stretch; flex-direction: column; gap: 10px; padding: 12px; }
  #cartilla .directory-location-bar > button { width: 100%; min-width: 0; min-height: 46px; }
  #cartilla .directory-location-bar > div { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
  #cartilla .directory-location-bar b { font-size: 12px; line-height: 1.35; }
  #cartilla .directory-location-bar span { margin: 0; overflow-wrap: anywhere; font-size: 11px; line-height: 1.45; }
  #cartilla .directory-location-bar small { margin: 0; overflow-wrap: anywhere; line-height: 1.4; }
  #cartilla .directory-start-state { align-items: flex-start; justify-content: flex-start; padding: 17px 15px; }
  #cartilla .directory-start-state > i { width: 40px; height: 40px; border-radius: 12px; font-size: 17px; }
  #cartilla .directory-start-state b { font-size: 14px; }
  #cartilla .directory-start-state span { font-size: 11px; }
  #cartilla .directory-layout { grid-template-columns: minmax(0,1fr); gap: 18px; margin-top: 20px; }
  .directory-summary { min-height: 28px; align-items: flex-end; margin-bottom: 8px; }
  .directory-summary b { font-size: 17px; }
  .directory-summary small { font-size: 10.5px; }
  .directory-map-card { border-radius: 16px; }
  .directory-map-heading { min-height: 72px; padding: 14px 15px 12px; }
  .directory-map-heading b { overflow-wrap: anywhere; font-size: 14px; }
  .directory-map-card iframe { height: 260px; }
  .directory-map-detail { padding: 13px 14px 14px; }
  .directory-map-detail p { overflow-wrap: anywhere; font-size: 11.5px; }
  .directory-map-actions { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-top: 11px; }
  .directory-map-actions a { min-width: 0; min-height: 42px; padding: 7px; font-size: 10.5px; }
  .cartilla-results { gap: 9px; }
  .result-row { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 11px; padding: 13px; border-radius: 14px; }
  .result-ic { width: 40px; height: 40px; border-radius: 11px; font-size: 17px; }
  .result-heading { flex-direction: column; gap: 7px; }
  .result-tag { align-self: flex-start; }
  .result-heading b { font-size: 14px; }
  .result-specialties { font-size: 10.8px; }
  .result-meta span, .result-meta a { font-size: 11.2px; }
  .result-map-button { width: 100%; min-height: 40px; justify-content: center; }
  .directory-pagination { gap: 10px; }
  .directory-pagination button { width: 42px; height: 42px; }
  .cartilla-note { margin-top: 16px; font-size: 10.8px; line-height: 1.45; }
  .branches-grid { grid-template-columns: 1fr; gap: 14px; }
  .branch-card { padding: 18px; border-radius: 18px; }
  .branch-card:hover { transform: none; }
  .branch-card-head { gap: 12px; }
  .branch-pin { width: 36px; height: 36px; }
  .branch-card h4 { font-size: 18px; }
  .branch-address { margin-top: 13px; font-size: 12.5px; }
  .branch-phones { gap: 7px; margin-top: 13px; }
  .branch-phones a { min-height: 52px; padding: 8px 10px; }
  .branch-phones a b { font-size: 13px; }
  .branch-card .hrs { margin-top: 14px; padding-top: 13px; font-size: 11.5px; }
  .floating-contact-actions { right: 16px; bottom: 16px; gap: 10px; }
  .advisor-fab { width: 54px; min-height: 54px; justify-content: center; padding: 0; }
  .advisor-fab span { position: absolute; right: 64px; padding: 7px 11px; border-radius: 9px; color: #fff; background: var(--ink); opacity: 0; pointer-events: none; white-space: nowrap; transition: opacity .15s; }
  .advisor-fab:hover span, .advisor-fab:focus-visible span { opacity: 1; }
  .emergency-open .advisor-fab { opacity: 1; pointer-events: auto; }
  .emg-menu { right: 0; bottom: 74px; transform: translateY(10px) scale(.96); }
  .emg-fab.open .emg-menu { transform: translateY(0) scale(1); }
  .emg-option { min-width: min(240px, calc(100vw - 32px)); }
}
@media (max-width: 420px) {
  #cartilla .wrap, #contacto .wrap { padding-right: 12px; padding-left: 12px; }
  #cartilla .cartilla-panel { padding: 12px; border-radius: 17px; }
  .cartilla-illustration { width: 82px; }
  .directory-location-bar { border-radius: 12px; }
  .directory-map-card iframe { height: 230px; }
  .directory-map-actions { grid-template-columns: 1fr; }
  .result-row { grid-template-columns: 36px minmax(0,1fr); gap: 9px; padding: 11px; }
  .result-ic { width: 36px; height: 36px; font-size: 15px; }
  .result-heading b { font-size: 13.5px; }
  .result-tag { padding: 4px 8px; font-size: 9.5px; }
  .directory-summary { align-items: flex-start; flex-direction: column; gap: 2px; }
  .branch-card { padding: 16px; }
  .branch-phones a > i { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .providers-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .providers-track { animation: none; }
  .providers-track .providers-group[aria-hidden="true"] { display: none; }
  .emg-btn .pulse { animation: none; }
  .hero-slides img { transition: none; }
}
