.storefront.medical-site { --medical-navy: #10284a; --medical-blue: #195cba; --medical-ice: #eaf3ff; container-type: inline-size; display: flex; flex: 1 1 0; flex-direction: column; width: 100%; min-width: 0; height: 100%; min-height: 0; padding-bottom: 0; overflow-x: hidden; overflow-y: auto; background: #f7faff; color: #192b44; font: 16px/1.55 Inter, "DM Sans", system-ui, sans-serif; scroll-behavior: smooth; scroll-padding-top: 76px; }
.medical-site * { box-sizing: border-box; }
.medical-site :is(button, a, input, select):focus-visible { outline: 3px solid #69a8ff; outline-offset: 3px; }
.medical-site :is(#atencion, #especialidades, #agenda) { scroll-margin-top: 70px; }
.medical-header { position: sticky; z-index: 8; top: 0; display: flex; flex: 0 0 78px; align-items: center; gap: clamp(20px, 3vw, 46px); width: 100%; height: 78px; padding: 0 clamp(24px, 6vw, 100px); background: #f8fbfff0; box-shadow: 0 1px 0 #dce8f5; color: var(--medical-navy); backdrop-filter: blur(17px); -webkit-backdrop-filter: blur(17px); transition: height .22s ease, flex-basis .22s ease, background .22s ease, box-shadow .22s ease; }
.medical-header.is-compact { flex-basis: 62px; height: 62px; background: #f8fbfffa; box-shadow: 0 7px 24px #113e6c1c; }
.medical-brand { display: inline-flex; flex: none; align-items: center; gap: 10px; color: #132d52; font-size: 25px; font-weight: 800; letter-spacing: -.055em; line-height: 1; text-decoration: none; white-space: nowrap; }
.medical-brand > span:last-child > span { color: #236ac4; }
.medical-brand-mark { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #246cc8; color: #fff; font-size: 20px; letter-spacing: 0; }
.medical-brand small { display: block; margin-top: 5px; color: #6180a5; font-size: 8px; font-weight: 750; letter-spacing: .16em; }
.medical-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 38px); margin-left: auto; }
.medical-nav a { position: relative; padding: 9px 0; color: #465f7b; font-size: 13px; font-weight: 650; text-decoration: none; transition: color .18s ease; }
.medical-nav a::after { position: absolute; right: 100%; bottom: 3px; left: 0; height: 2px; background: #2477d8; content: ""; transition: right .2s ease; }
.medical-nav a:hover, .medical-nav a:focus-visible { color: #1057b4; }
.medical-nav a:hover::after, .medical-nav a:focus-visible::after { right: 0; }
.medical-header-action { display: inline-flex; flex: none; align-items: center; gap: 11px; min-height: 42px; padding: 0 17px; border: 1px solid #2067c1; border-radius: 5px; background: #2067c1; color: #fff; font-size: 12px; font-weight: 750; text-decoration: none; white-space: nowrap; transition: background .18s ease, transform .18s ease; }
.medical-header-action:hover { transform: translateY(-1px); background: #1455a7; }
.medical-menu-toggle { display: none; }

.medical-hero { position: relative; display: grid; flex: none; place-items: center; min-height: clamp(520px, 72vh, 800px); padding: 95px 24px 100px; overflow: hidden; background: #123765; color: #fff; text-align: center; isolation: isolate; }
.medical-hero::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #092747ee 0%, #103b68bf 50%, #092747ee 100%), linear-gradient(0deg, #0c3155d9, transparent 48%); content: ""; }
.medical-hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; filter: saturate(.65); }
.medical-hero-content { width: min(850px, 100%); }
.medical-eyebrow, .medical-section-index { display: inline-flex; align-items: center; gap: 10px; color: #78b8ff; font-size: 11px; font-weight: 750; letter-spacing: .18em; }
.medical-eyebrow i { font-size: 10px; }
.medical-hero h1 { max-width: 850px; margin: 24px auto 22px; font: 500 clamp(49px, 6.25cqw, 84px)/1.04 Georgia, "Times New Roman", serif; letter-spacing: -.045em; text-wrap: balance; }
.medical-hero h1 em { color: #a6d6ff; font-weight: 400; }
.medical-hero p { max-width: 670px; margin: 0 auto; color: #e0efff; font-size: clamp(16px, 1.5cqw, 20px); line-height: 1.7; text-wrap: pretty; }
.medical-hero-action { display: inline-flex; align-items: center; gap: 15px; min-height: 50px; margin-top: 32px; padding: 0 23px; border: 1px solid #fff; border-radius: 5px; background: #fff; color: #174b88; font-size: 13px; font-weight: 750; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.medical-hero-action:hover { transform: translateY(-2px); background: #e1f0ff; }
.medical-hero-caption { position: absolute; bottom: 30px; color: #c9e4ff; font-size: 10px; font-weight: 700; letter-spacing: .18em; }

.medical-intro { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; gap: clamp(34px, 6cqw, 105px); padding: clamp(70px, 8cqw, 120px) clamp(28px, 8cqw, 135px); background: #f8fbff; }
.medical-intro h2, .medical-services h2, .medical-booking h2 { margin: 18px 0 22px; font: 500 clamp(38px, 4.15cqw, 61px)/1.12 Georgia, "Times New Roman", serif; letter-spacing: -.04em; text-wrap: balance; }
.medical-intro .medical-section-index { color: #246bc4; }
.medical-intro h2 em, .medical-booking h2 em { color: #2870c2; font-weight: 400; }
.medical-intro-copy p { max-width: 560px; margin: 0; color: #586b80; font-size: 16px; line-height: 1.8; }
.medical-intro-copy > a { display: inline-flex; align-items: center; gap: 18px; margin-top: 29px; padding-bottom: 6px; border-bottom: 1px solid #6596d0; color: #155ba9; font-size: 13px; font-weight: 750; text-decoration: none; transition: gap .18s ease; }
.medical-intro-copy > a:hover { gap: 25px; }
.medical-intro-visual { position: relative; min-height: 410px; aspect-ratio: 1 / 1.02; overflow: hidden; border-radius: 8px; background: #e4edf8; }
.medical-intro-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.medical-intro-visual > span { position: absolute; right: 0; bottom: 0; display: inline-flex; align-items: center; gap: 10px; padding: 18px 22px; background: #113763ed; color: #fff; font-size: 10px; font-weight: 750; letter-spacing: .13em; }
.medical-intro-visual > span i { color: #9bd0ff; font-size: 18px; }

.medical-services { padding: clamp(68px, 7cqw, 110px) clamp(28px, 8cqw, 135px); background: #eaf3ff; }
.medical-services-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .5fr); align-items: end; gap: 18px 40px; margin-bottom: 34px; }
.medical-services-heading .medical-section-index { grid-column: 1 / -1; color: #2870c2; }
.medical-services h2 { max-width: 780px; margin: 0; color: #142f50; }
.medical-services-heading p { max-width: 350px; margin: 0 0 6px; color: #5a6f86; font-size: 15px; line-height: 1.7; }
.medical-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.medical-services-grid article { display: flex; flex-direction: column; min-width: 0; min-height: 330px; padding: clamp(23px, 2.5cqw, 34px); border: 1px solid #d2e2f5; border-radius: 8px; background: #fff; box-shadow: 0 8px 24px #0c448011; transition: transform .2s ease, box-shadow .2s ease; }
.medical-services-grid article:hover { transform: translateY(-4px); box-shadow: 0 17px 34px #0c44801e; }
.medical-service-icon { display: grid; place-items: center; width: 55px; height: 55px; margin-bottom: 23px; border-radius: 13px; background: #e8f2ff; color: #246bc4; font-size: 24px; }
.medical-services-grid article > span:nth-child(2) { color: #5581b2; font-size: 10px; font-weight: 750; letter-spacing: .15em; }
.medical-services-grid h3 { margin: 9px 0 10px; color: #173759; font: 500 clamp(24px, 2.2cqw, 30px)/1.17 Georgia, serif; }
.medical-services-grid p { margin: 0; color: #61758a; font-size: 14px; line-height: 1.65; }
.medical-services-grid a { display: inline-flex; align-items: center; gap: 9px; width: max-content; margin-top: auto; padding-top: 23px; color: #1c65ba; font-size: 12px; font-weight: 750; text-decoration: none; }
.medical-services-grid a:hover { color: #0b478f; }

.medical-booking { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: start; gap: clamp(38px, 7cqw, 115px); padding: clamp(80px, 9cqw, 135px) clamp(28px, 8cqw, 135px); background: #123762; color: #fff; }
.medical-booking-intro h2 { max-width: 520px; }
.medical-booking-intro h2 em { color: #a6d6ff; }
.medical-booking-intro p { max-width: 470px; margin: 0; color: #d4e6f8; font-size: 16px; line-height: 1.75; }
.medical-booking-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 38px; padding-top: 20px; border-top: 1px solid #ffffff30; color: #d6e9fb; font-size: 12px; }
.medical-booking-note i { color: #91c9ff; }
.medical-booking-widget { min-width: 0; padding: clamp(23px, 3cqw, 40px); border: 1px solid #d7e7f7; border-radius: 9px; background: #fff; color: #1a3350; box-shadow: 0 25px 58px #071d3a4d; }
.medical-widget-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 23px; }
.medical-widget-heading > span { display: grid; flex: none; place-items: center; width: 45px; height: 45px; border-radius: 11px; background: #e8f2ff; color: #2369c5; font-size: 20px; }
.medical-widget-heading h3 { margin: 0; font: 500 clamp(26px, 2.4cqw, 34px)/1.15 Georgia, serif; }
.medical-widget-heading p { margin: 4px 0 0; color: #697e93; font-size: 12px; }
.medical-booking-widget form { display: grid; gap: 15px; }
.medical-field-title, .medical-time-field legend { padding: 0; color: #344e6b; font-size: 12px; font-weight: 750; }
.medical-mode-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 100%; min-height: 48px; margin-top: -8px; padding: 4px; border: 1px solid #d8e4f2; border-radius: 9px; background: #eaf2fc; color: #5b7190; cursor: pointer; }
.medical-mode-switch > span { z-index: 1; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; font-weight: 750; }
.medical-mode-switch > span:first-child { color: #124c94; }
.medical-mode-switch[aria-checked="true"] > span:first-child { color: #5b7190; }
.medical-mode-switch[aria-checked="true"] > span:nth-child(2) { color: #124c94; }
.medical-mode-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 6px; background: #fff; box-shadow: 0 2px 8px #1c4c8424; transition: transform .24s cubic-bezier(.2,.8,.2,1); }
.medical-mode-switch[aria-checked="true"] .medical-mode-thumb { transform: translateX(100%); }
.medical-booking-widget form > label, .medical-person-fields label { display: grid; gap: 6px; color: #344e6b; font-size: 12px; font-weight: 750; }
.medical-booking-widget :is(select, input:not([type="radio"]):not([type="hidden"])) { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #cbdced; border-radius: 5px; background: #fff; color: #1b3654; font: 14px/1.4 Inter, "DM Sans", system-ui, sans-serif; }
.medical-booking-widget input::placeholder { color: #8ca1b6; }
.medical-date-hint { margin: -8px 0 0; color: #6b8094; font-size: 11px; }
.medical-time-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.medical-time-field legend { margin-bottom: 9px; }
.medical-time-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.medical-time-options label { position: relative; display: block; min-width: 0; cursor: pointer; }
.medical-time-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.medical-time-options span { display: grid; place-items: center; min-height: 39px; border: 1px solid #cbdced; border-radius: 5px; background: #f9fbff; color: #3e5b7c; font-size: 12px; font-weight: 750; transition: border-color .17s ease, background .17s ease, color .17s ease; }
.medical-time-options label:hover span { border-color: #74a8df; }
.medical-time-options input:checked + span { border-color: #1f65b7; background: #e4f0ff; color: #154e94; }
.medical-time-options input:focus-visible + span { outline: 3px solid #69a8ff; outline-offset: 2px; }
.medical-person-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.medical-submit { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; margin-top: 3px; padding: 0 17px; border: 1px solid #2169c2; border-radius: 5px; background: #2169c2; color: #fff; font-size: 13px; font-weight: 750; cursor: pointer; transition: background .18s ease, transform .18s ease; }
.medical-submit:hover { transform: translateY(-1px); background: #1654a4; }

.medical-footer { flex: none; padding: 45px clamp(28px, 8cqw, 135px) 24px; background: #0d2748; color: #d7e7f9; }
.medical-footer-top { display: flex; align-items: center; gap: 24px; padding-bottom: 34px; }
.medical-footer-brand { display: inline-flex; flex: none; align-items: center; gap: 10px; }
.medical-footer-brand > span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 8px; background: #3581d8; color: #fff; font-size: 18px; }
.medical-footer-brand strong { color: #fff; font-size: 23px; font-weight: 800; letter-spacing: -.06em; }
.medical-footer-brand strong span { color: #9ed0ff; }
.medical-footer-top p { max-width: 325px; margin: 0 auto 0 0; color: #b6cfe8; font-size: 12px; }
.medical-footer-top .social-links { color: #c4e1ff; }
.medical-footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding-top: 19px; border-top: 1px solid #ffffff2b; color: #aac7e5; font-size: 11px; }
.medical-site::after { display: block; flex: 0 0 calc(112px + env(safe-area-inset-bottom, 0px)); background: #0d2748; content: ""; }

.showcase-app[data-active-skin="medical"] .browser-frame .store-widget-area > .widget-launcher:not(.is-whatsapp) { background: #2169c2; box-shadow: 0 8px 25px #0d438166; }
.showcase-app[data-active-skin="medical"] .browser-frame .store-widget-area > .widget-launcher:not(.is-whatsapp):hover { background: #1554a4; }
.showcase-app[data-active-skin="medical"] .browser-frame .store-widget-area > .widget-launcher.is-whatsapp,
.showcase-app[data-active-skin="medical"] .chat-channel-switch.is-whatsapp .chat-channel-thumb { background: #297abf; box-shadow: 0 8px 25px #0d438166; }
.showcase-app[data-active-skin="medical"] .browser-frame .store-widget-area > .widget-launcher.is-whatsapp:hover { background: #1d67ac; }
.showcase-app[data-active-skin="medical"] .chat-channel-thumb,
.showcase-app[data-active-skin="medical"] .chat-float-avatar,
.showcase-app[data-active-skin="medical"] .chat-float-composer button,
.showcase-app[data-active-skin="medical"] .chat-float-bubble.is-user { border-color: #2169c2; background: #2169c2; }
.showcase-app[data-active-skin="medical"] .chat-float-header { background: #103b70; }
.showcase-app[data-active-skin="medical"] .modal-backdrop { z-index: 70; background: #061a34bf; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.showcase-app[data-active-skin="medical"] .demo-modal { width: min(100%, 530px); max-height: min(90dvh, 720px); overscroll-behavior: contain; padding: clamp(24px, 4vw, 38px); border: 1px solid #c8daee; border-radius: 12px; background: #f9fcff; box-shadow: 0 30px 90px #03152e80; color: #1b3654; font: 15px/1.5 Inter, "DM Sans", system-ui, sans-serif; }
.showcase-app[data-active-skin="medical"] .modal-close { width: 36px; height: 36px; border: 1px solid #d3e1f1; border-radius: 50%; background: #fff; color: #4b6683; font-size: 23px; transition: transform .2s ease, background .2s ease; }
.showcase-app[data-active-skin="medical"] .modal-close:hover { transform: rotate(90deg); background: #eaf3ff; }
.showcase-app[data-active-skin="medical"] .preview-kicker { color: #286bb9; letter-spacing: .14em; }
.showcase-app[data-active-skin="medical"] .demo-notice { border-color: #d2e2f5; background: #edf5ff; color: #2a527e; }
.showcase-app[data-active-skin="medical"] .medical-response { text-align: center; }
.showcase-app[data-active-skin="medical"] .medical-response-visual { position: relative; display: grid; place-items: center; width: 104px; height: 104px; margin: 8px auto 24px; border: 1px solid #aad0f5; border-radius: 50%; background: #e6f3ff; color: #2369bc; font-size: 40px; }
.showcase-app[data-active-skin="medical"] .medical-response-visual::before { position: absolute; inset: -8px; border: 1px solid #c3ddf5; border-radius: 50%; content: ""; }
.showcase-app[data-active-skin="medical"] .medical-response-visual::after { position: absolute; right: -1px; bottom: -4px; display: grid; place-items: center; width: 30px; height: 30px; border: 3px solid #f9fcff; border-radius: 50%; background: #2369bc; color: #fff; font: 900 12px/1 "Font Awesome 7 Free"; content: "\f00c"; }
.showcase-app[data-active-skin="medical"] .medical-response h2 { margin: 0 0 10px; color: #153454; font: 500 clamp(29px, 4vw, 38px)/1.14 Georgia, serif; letter-spacing: -.035em; }
.showcase-app[data-active-skin="medical"] .medical-response-description { max-width: 355px; margin: 0 auto 23px; color: #5d7187; font-size: 15px; line-height: 1.6; }
.showcase-app[data-active-skin="medical"] .medical-response-summary { display: grid; gap: 10px; padding: 18px 20px; border: 1px solid #d5e4f4; border-radius: 7px; background: #fff; text-align: left; }
.showcase-app[data-active-skin="medical"] .medical-response-summary > div { display: flex; justify-content: space-between; gap: 12px; color: #617991; font-size: 12px; }
.showcase-app[data-active-skin="medical"] .medical-response-summary > div + div { padding-top: 10px; border-top: 1px solid #e7eef7; }
.showcase-app[data-active-skin="medical"] .medical-response-summary strong { color: #183e66; font-size: 13px; text-align: right; overflow-wrap: anywhere; }
.showcase-app[data-active-skin="medical"] .medical-response-note { display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin: 17px 0 25px; color: #657c94; font-size: 12px; line-height: 1.5; }
.showcase-app[data-active-skin="medical"] .medical-response-note i { margin-top: 2px; color: #3378c8; }
.showcase-app[data-active-skin="medical"] .medical-response-close { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; width: 100%; padding: 0 18px; border: 1px solid #2169c2; border-radius: 5px; background: #2169c2; color: #fff; font-size: 13px; font-weight: 750; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.showcase-app[data-active-skin="medical"] .medical-response-close:hover { transform: translateY(-2px); background: #1654a4; }
.showcase-app[data-active-skin="medical"] .modal-backdrop.is-open .medical-response-visual,
.showcase-app[data-active-skin="medical"] .modal-backdrop.is-open .medical-response-summary { animation: medical-response-in .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes medical-response-in { from { opacity: 0; transform: translateY(13px) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 760px) { .medical-site::after { flex-basis: 12px; } }
@container (max-width: 960px) {
  .medical-header { padding-inline: 22px; gap: 18px; }
  .medical-nav { gap: 18px; }
  .medical-intro, .medical-booking { gap: 35px; padding-inline: 40px; }
  .medical-services { padding-inline: 40px; }
}
@container (max-width: 720px) {
  .medical-header, .medical-header.is-compact { flex-basis: 65px; height: 65px; padding-inline: 18px; }
  .medical-menu-toggle { display: grid; flex: none; place-items: center; width: 40px; height: 40px; margin-left: auto; border: 1px solid #c5d9ef; border-radius: 6px; background: #eaf3ff; color: #205caa; font-size: 18px; cursor: pointer; }
  .medical-nav { position: absolute; top: 100%; right: 0; left: 0; display: grid; gap: 0; margin: 0; padding: 6px 18px 13px; border-top: 1px solid #dbe7f5; background: #f8fbfffa; opacity: 0; visibility: hidden; transform: translateY(-12px) scaleY(.96); transform-origin: top; pointer-events: none; transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1), visibility .3s; }
  .medical-site.is-menu-open .medical-nav { opacity: 1; visibility: visible; transform: translateY(0) scaleY(1); pointer-events: auto; }
  .medical-nav a { min-height: 44px; padding: 11px 8px; border-bottom: 1px solid #dbe7f5; }
  .medical-header-action { display: none; }
  .medical-hero { min-height: 500px; padding: 82px 20px 75px; }
  .medical-hero h1 { font-size: clamp(42px, 8cqw, 60px); }
  .medical-intro, .medical-booking { grid-template-columns: 1fr; padding: 65px 28px; }
  .medical-intro-visual { min-height: 300px; max-height: 430px; aspect-ratio: 1.3; }
  .medical-services { padding: 65px 28px; }
  .medical-services-heading { grid-template-columns: 1fr; }
  .medical-services-heading .medical-section-index { grid-column: 1; }
  .medical-services-heading p { max-width: 550px; }
  .medical-services-grid { grid-template-columns: 1fr; }
  .medical-services-grid article { min-height: 0; }
  .medical-footer { padding-inline: 28px; }
}
@container (max-width: 480px) {
  .medical-brand { font-size: 21px; }
  .medical-brand-mark { width: 32px; height: 32px; font-size: 17px; }
  .medical-brand small { font-size: 7px; }
  .medical-hero { min-height: 470px; padding-inline: 17px; }
  .medical-eyebrow, .medical-section-index { font-size: 9px; letter-spacing: .14em; }
  .medical-hero h1 { font-size: clamp(38px, 10cqw, 48px); }
  .medical-hero p { font-size: 15px; }
  .medical-hero-caption { bottom: 22px; font-size: 8px; }
  .medical-intro, .medical-services, .medical-booking { padding: 56px 19px; }
  .medical-intro h2, .medical-services h2, .medical-booking h2 { font-size: 38px; }
  .medical-intro-visual { min-height: 230px; }
  .medical-intro-visual > span { gap: 7px; padding: 13px; font-size: 8px; }
  .medical-booking-widget { padding: 21px 16px; }
  .medical-mode-switch > span { gap: 5px; font-size: 11px; }
  .medical-time-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .medical-person-fields { grid-template-columns: 1fr; }
  .medical-footer { padding: 39px 19px 24px; }
  .medical-footer-top { align-items: flex-start; flex-wrap: wrap; gap: 18px; }
  .medical-footer-top p { flex-basis: 100%; order: 3; }
  .medical-footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .medical-site { scroll-behavior: auto; }
  .medical-site :is(a, button), .medical-header, .medical-nav, .medical-mode-thumb, .medical-services-grid article { transition: none; }
  .showcase-app[data-active-skin="medical"] .medical-response-visual,
  .showcase-app[data-active-skin="medical"] .medical-response-summary { animation: none !important; }
}
