/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --blue: #008D99;
  --blue-2: #008D99;
  --blue-dark: #003C48;
  --navy: #003C48;
  --cyan-soft: #eaf8ff;
  --cyan-soft-2: #f4fbff;
  --border: #0FC8D8;
  --text: #003C48;
  --muted: #003C48;
  --white: #ffffff;
  --shadow: 0 16px 45px rgba(0, 60, 72, .08);
  --radius: 17px;
}

/* ============================================================
   BASE
   ============================================================ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #008D99;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 141, 153, 0.4);
    z-index: 999;
    transition: all var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 141, 153, 0.5);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 2;
}

.whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #008D99;
    border-radius: 50%;
    animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 767.98px) {
    .whatsapp-float {
        display: none;
    }
}

/* contact banner */
/* botones accesibilidad movil */
.contact-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(30, 30, 30, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.18);
    padding: 5px 0 calc(6px + env(safe-area-inset-bottom, 0px));
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    will-change: transform;
}

.contact-icon-bottom {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    min-height: 58px;
    position: relative;
}

.contact-icon-bottom:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.contact-icon-bottom i {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    color: #ffffff;
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.contact-icon-bottom .fa-whatsapp {
    font-size: 25px;
}

.contact-icon-bottom:hover i,
.contact-icon-bottom:focus i {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.08);
}



@media (min-width: 769px) {
    .contact-banner {
        display: none;
    }

}

/* ============================================================
   LAYOUT
   ============================================================ */

.page-shell {
  width: 100%;
  max-width: 1368px;
  margin: 0 auto;
  padding-left: 54px;
  padding-right: 54px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 8px;
  letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(90deg, #0FC8D8, #008D99);
  color: #fff;
  border: none;
  box-shadow: 0 9px 18px rgba(0, 141, 153, .22);
}

.btn--primary:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 60, 72, .18);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 14px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e4eef6;
  box-shadow: 0 8px 24px rgba(0, 60, 72, .06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__img {
  height: 52px;
  width: auto;
  display: block;
}

.nav {
  flex: 1;
  /* Bootstrap also defines .nav as flex; reset it for the shared Medisis header. */
  display: block;
  flex-wrap: nowrap;
  padding-left: 0;
  margin-bottom: 0;
}

.nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list > li {
  position: relative;
}

.nav__list > li > a {
  font-size: 13px;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #003C48;
  padding: 34px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav__list > li > a:hover,
.nav__list > li > a.active {
  color: #008D99;
}

.nav__list > li > a.active {
  border-bottom: none;
}

.nav__list > li > a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  margin: 0 auto;
  width: 44px;
  height: 3px;
  border-radius: 99px;
  background: #008D99;
}

.nav__list > li > a i {
  font-size: 10px;
  opacity: .65;
}

.has-dropdown .dropdown {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 16px 34px rgba(0, 60, 72, .1);
  border: 1px solid #0FC8D8;
  padding: 10px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .18s ease;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.dropdown li a:hover {
  background: #f3faff;
  color: #008D99;
}

.header__cta {
  flex-shrink: 0;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  white-space: nowrap;
  background: linear-gradient(90deg, #0FC8D8, #008D99);
  border: 0;
  box-shadow: 0 9px 18px rgba(0, 141, 153, .22);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: #003C48;
  cursor: pointer;
}

/* ============================================================
   MARCA COMPARTIDA
   ============================================================ */
.compact-shell {
  max-width: 1284px;
}

/* ============================================================
   HELPERS BOOTSTRAP
   ============================================================ */

/* ============================================================
   HERO ORTODONCIA
   ============================================================ */

/* ============================================================
   PROCESO
   ============================================================ */

/* ============================================================
   VIDEO Y PROCEDIMIENTO
   ============================================================ */

/* ============================================================
   ESPECIALISTAS
   ============================================================ */

/* ============================================================
   CTA AGENDA
   ============================================================ */
.cta-band {
  position: relative;
  margin-top: 0;
  padding: 17px 0 18px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0FC8D8 0%, #008D99 100%);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .24;
  background:
    repeating-radial-gradient(ellipse at 80% 16%, transparent 0 8px, rgba(255, 255, 255, .35) 9px 10px),
    linear-gradient(90deg, rgba(0, 60, 72, .25), transparent 54%);
}

.cta-shell {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1060px;
  min-height: 76px;
}

.cta-text {
  display: flex;
  align-items: center;
  gap: 27px;
}

.cta-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--blue);
  background: #fff;
  font-size: 32px;
}

.cta-text h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 31px;
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 900;
}

.cta-text p {
  margin: 0;
  color: #e9fbff;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
}

.btn-white-outline {
  min-width: 256px;
  min-height: 48px;
  padding: 10px 24px;
  color: #fff;
  border: 2px solid #fff;
  background: transparent;
  font-size: 14px;
  border-radius: 7px;
}

.btn-white-outline:hover,
.btn-white-outline:focus {
  color: var(--blue);
  background: #fff;
}

/* ============================================================
   FOOTER
   ============================================================ */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199.98px) {
  .page-shell {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 991.98px) {

  .cta-shell {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .page-shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .cta-shell {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .cta-text {
    gap: 16px;
  }

  .btn-white-outline {
    width: 100%;
  }
}

@media (max-width: 479.98px) {
  .page-shell {
    padding-left: 15px;
    padding-right: 15px;
  }

  .cta-text {
    align-items: flex-start;
  }

  .cta-icon {
    width: 54px;
    height: 54px;
    font-size: 27px;
  }

  .cta-text h2 {
    font-size: 27px;
  }
}

@media (max-width: 1024px) {
  .nav {
    display: block;
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #eef3f7;
    box-shadow: 0 10px 30px rgba(0, 60, 72, .10);
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
  }

  .nav.nav--open {
    max-height: calc(100vh - 88px);
    overflow-y: auto;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 20px;
  }

  .nav__list > li > a {
    padding: 14px 0;
    justify-content: space-between;
  }

  .nav__list > li > a.active::after {
    display: none;
  }

  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    background: #f3faff;
    margin-bottom: 8px;
  }

  .has-dropdown:hover .dropdown,
  .has-dropdown.is-open .dropdown {
    display: block;
  }

  .nav__toggle {
    display: block;
  }
}

@media (max-width: 640px) {
  .header__cta {
    display: none;
  }
}
/* Mobile horizontal overflow guard */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}

@media (max-width: 767.98px) {
    body {
        position: relative;
    }

    img,
    video,
    iframe,
    svg {
        max-width: 100%;
    }

    .container,
    .container-fluid,
    .page-shell,
    .header__inner,
    .footer__grid {
        max-width: 100%;
    }
}
/* Mobile dropdown toggle fix */
@media (max-width: 768px) {
    .nav__list .has-dropdown:not(.is-open) .dropdown {
        display: none !important;
        opacity: 0;
        visibility: hidden;
        transform: none;
        pointer-events: none;
    }

    .nav__list .has-dropdown.is-open .dropdown {
        display: block !important;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }
}

/* ============================================================
   ORTODONCIA 2026
   Estructura visual alineada con colonoscopia, conservando la
   paleta azul de la especialidad dental.
   ============================================================ */
:root {
  --dental-blue: #008D99;
  --dental-cyan: #008D99;
  --dental-teal: #008D99;
  --dental-navy: #003C48;
  --dental-soft: #eaf8ff;
  --dental-soft-2: #f4fbff;
  --dental-line: #0FC8D8;
  --dental-shadow: 0 12px 28px rgba(0, 60, 72, .10);
}

.dental-main {
  overflow: hidden;
  background: #fff;
}

.dental-main .page-shell,
.dental-main .container-fluid.page-shell {
  --bs-gutter-x: 0;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.endo-title-line {
  display: block;
  width: 58px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--dental-blue), var(--dental-teal));
}

.endo-coral-line {
  display: block;
  width: 33px;
  height: 3px;
  margin: 15px auto;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--dental-blue), var(--dental-cyan));
}

/* Banner de Ortodoncia: replica el formato panoramico de Colonoscopia solo en desktop. */
.endo-hero-banner {
  display: none;
}

@media (min-width: 768px) {
  .endo-hero-banner {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #f7fafc;
  }

  .endo-hero-banner__frame {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: clamp(400px, 33.333vw, 724px);
    max-height: 724px;
    margin: 0 auto;
    overflow: hidden;
    background: #f7fafc;
    contain: paint;
  }

  .endo-hero-banner__image {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
    object-position: center;
  }
}

/* Sección de proceso */


.endo-specialists-head h2 {
  margin: 0;
  color: var(--dental-navy);
  font-family: "Poppins", sans-serif;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 800;
}

.endo-heading--stacked .endo-heading-title,
.endo-heading--stacked .endo-heading-kicker {
  display: block;
}


.endo-specialists-head h2 .endo-heading-title {
  color: var(--dental-blue);
}


.endo-heading-icon,
.endo-trust-card > i,
.endo-doctor-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--dental-blue);
  background: var(--dental-soft);
}

/* Bloque audiovisual */

/* Especialistas */
.endo-specialists-section {
  padding: 46px 0 62px;
  background: #f7f9fa;
}

.endo-specialists-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.endo-heading-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.endo-heading-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  font-size: 29px;
}

.endo-heading-copy .endo-title-line {
  margin: 16px auto 14px;
}

.endo-heading-copy > p {
  max-width: 650px;
  margin: 0 auto;
  color: #003C48;
  font-size: 14px;
  line-height: 1.5;
}

.endo-trust-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: min(100%, 820px);
  margin: 0 auto;
  padding: 14px 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 60, 72, .12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 60, 72, .07);
}

.endo-trust-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 112px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: var(--dental-teal);
  transform: translateX(-50%);
}

.endo-trust-card > i {
  width: 48px;
  height: 48px;
  font-size: 25px;
}

.endo-trust-card p {
  margin: 0;
  padding-left: 16px;
  border-left: 1px solid rgba(0, 60, 72, .12);
  color: #003C48;
  font-size: 16px;
  line-height: 1.45;
  text-align: left;
  font-weight: 700;
}

.endo-trust-card span,
.endo-doctor-card strong {
  color: var(--dental-blue);
}

.endo-doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 27px;
  max-width: 100%;
  margin: 0 auto;
}

.endo-doctor-card {
  overflow: hidden;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 12px 27px rgba(0, 60, 72, .09);
}

.endo-doctor-card > img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: center top;
  background: #eef7fb;
}

.endo-doctor-body {
  position: relative;
  min-height: 168px;
  padding: 44px 24px 22px;
  text-align: center;
}

.endo-doctor-icon {
  position: absolute;
  top: -36px;
  left: 50%;
  width: 72px;
  height: 72px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 60, 72, .08);
  transform: translateX(-50%);
  font-size: 38px;
}

.endo-doctor-card h3 {
  margin: 0 0 5px;
  color: #003C48;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -.04em;
  font-weight: 900;
}

.endo-doctor-card strong {
  display: block;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
}

.endo-doctor-card p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  color: #003C48;
  font-size: 12px;
  line-height: 1.35;
}

.endo-doctor-card p i {
  color: var(--dental-teal);
  font-size: 27px;
}

/* Carrusel fluido de especialistas, basado en Información destacada del inicio. */

.dental-main .cta-band {
  background: linear-gradient(135deg, var(--dental-blue), var(--dental-cyan));
}

@media (min-width: 768px) {
  
  .endo-specialists-head h2 .endo-heading-kicker {
    margin-bottom: 6px;
    color: var(--dental-navy);
    font-family: "Inter", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-weight: 800;
  }

  
  .endo-specialists-head h2 .endo-heading-title {
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: normal;
  }
}

@media (max-width: 1199.98px) {
  
  .endo-doctors-grid {
    max-width: calc(100% - 64px);
  }

  .endo-doctors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {

  .endo-doctors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .endo-doctor-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 14px);
    justify-self: center;
  }
}

@media (max-width: 767.98px) {
  .dental-main .container-fluid.page-shell {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  
  .endo-specialists-section {
    padding-top: 34px;
    padding-bottom: 42px;
  }

  
  .endo-specialists-head h2 {
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: -.035em;
  }

  .endo-heading-kicker {
    margin-bottom: 5px;
    font-size: 15px;
  }

  
  .endo-doctors-grid {
    max-width: 100%;
  }

  .endo-doctor-card > img {
    height: 280px;
  }
}

@media (max-width: 575.98px) {
  
  .endo-doctors-grid {
    grid-template-columns: 1fr;
  }

  .endo-doctor-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }
}

@media (max-width: 479.98px) {
  .dental-main .container-fluid.page-shell {
    padding-right: 15px !important;
    padding-left: 15px !important;
  }
}

/* ============================================================
   ORTODONCIA · CONTENIDO EDITORIAL 2026
   ============================================================ */
.ortho-main {
  --ortho-ink: #003C48;
  --ortho-cyan: #008D99;
  --ortho-blue: #008D99;
  --ortho-soft: #eef8ff;
  --ortho-line: #0FC8D8;
  overflow: hidden;
}

.ortho-content-services,
.ortho-content-section,
.ortho-content-benefits {
  position: relative;
  isolation: isolate;
}

.ortho-content-services {
  padding: 68px 0 76px;
  background:
    radial-gradient(circle at 8% 14%, rgba(0, 141, 153, .08), transparent 22%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.ortho-content-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.ortho-content-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.ortho-content-eyebrow,
.ortho-content-pill {
  display: inline-flex;
  align-items: center;
  color: var(--ortho-cyan);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.ortho-content-pill {
  min-height: 32px;
  padding: 6px 18px;
  margin-bottom: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--ortho-cyan), #0FC8D8);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 141, 153, .18);
}

.ortho-content-heading h2 {
  max-width: 100%;
  margin: 4px 0 12px;
  color: var(--ortho-ink);
  font-family: "Poppins", sans-serif;
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.035em;
}

.ortho-content-services .ortho-content-heading h2 {
  font-size: clamp(31px, 3.1vw, 46px);
}

.ortho-content-line {
  display: block;
  width: 54px;
  height: 4px;
  margin: 0 0 20px;
  background: var(--ortho-cyan);
  border-radius: 99px;
}

.ortho-content-heading--center .ortho-content-line {
  margin-right: auto;
  margin-left: auto;
}

.ortho-content-heading p {
  margin: 0;
  color: #003C48;
  font-size: 16px;
  line-height: 1.75;
}

.ortho-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 1050px;
  margin: 0 auto;
}

.ortho-service-card {
  display: flex;
  min-height: 220px;
  padding: 28px 22px 22px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ortho-ink);
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(0, 141, 153, .09);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(0, 60, 72, .09);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ortho-service-card:hover {
  color: var(--ortho-ink);
  border-color: rgba(0, 141, 153, .38);
  box-shadow: 0 20px 42px rgba(0, 60, 72, .14);
  transform: translateY(-6px);
}

.ortho-service-icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin-bottom: 17px;
  place-items: center;
  color: var(--ortho-blue);
  background: linear-gradient(145deg, #e8f7ff, #fff);
  border-radius: 50%;
  font-size: 31px;
}

.ortho-service-card strong {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.ortho-service-card > .bi-arrow-right {
  margin-top: 12px;
  color: var(--ortho-cyan);
  font-size: 23px;
}

.ortho-content-section {
  padding: 88px 0;
}

.ortho-content-needs {
  background:
    radial-gradient(circle at 92% 4%, rgba(0, 141, 153, .12), transparent 25%),
    linear-gradient(145deg, #fff 4%, #f3f9ff 100%);
}

.ortho-content-needs::before,
.ortho-content-treatments::before {
  position: absolute;
  z-index: -1;
  top: 38px;
  right: -65px;
  width: 360px;
  height: 360px;
  content: "";
  border: 1px solid rgba(0, 141, 153, .14);
  border-radius: 47% 53% 64% 36% / 44% 35% 65% 56%;
  transform: rotate(18deg);
}

.ortho-image-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.ortho-image-card {
  position: relative;
  display: flex;
  overflow: hidden;
  min-width: 0;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 60, 72, .11);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(0, 60, 72, .09);
  transition: transform .25s ease, box-shadow .25s ease;
}

.ortho-image-card:hover {
  box-shadow: 0 20px 42px rgba(0, 60, 72, .14);
  transform: translateY(-5px);
}

.ortho-image-card > img {
  width: 100%;
  height: clamp(185px, 16vw, 230px);
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #edf6ff 0%, #f8fbff 100%);
  border-bottom: 1px solid rgba(0, 60, 72, .08);
}

.ortho-card-icon {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  color: var(--ortho-blue);
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(0, 141, 153, .12);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 60, 72, .12);
  backdrop-filter: blur(6px);
}

.ortho-image-card__body {
  display: flex;
  padding: 22px 18px 24px;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.ortho-image-card__body h3 {
  margin: 0 auto 9px;
  color: var(--ortho-ink);
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.ortho-image-card__body h3::after {
  display: block;
  width: 27px;
  height: 2px;
  margin: 10px auto 0;
  content: "";
  background: var(--ortho-cyan);
  border-radius: 20px;
}

.ortho-image-card__body p {
  margin: 0;
  color: #003C48;
  font-size: 14px;
  line-height: 1.55;
}

.ortho-content-note {
  display: flex;
  max-width: 960px;
  min-height: 72px;
  padding: 14px 26px;
  margin: 28px auto 0;
  align-items: center;
  gap: 18px;
  color: #003C48;
  background: rgba(235, 247, 255, .84);
  border: 1px solid #0FC8D8;
  border-radius: 15px;
}

.ortho-content-note i {
  flex: 0 0 auto;
  color: #008D99;
  font-size: 31px;
}

.ortho-content-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.ortho-content-treatments {
  background:
    radial-gradient(circle at 87% 12%, rgba(0, 141, 153, .12), transparent 30%),
    #edf7ff;
}

.ortho-content-treatments::before {
  right: 80px;
  border-color: rgba(255, 255, 255, .7);
}

.ortho-content-treatments .ortho-content-heading {
  max-width: 820px;
}

.ortho-treatment-grid .ortho-image-card {
  border-color: rgba(0, 141, 153, .09);
}

.ortho-content-benefits {
  padding: 0;
  background: #fff;
}

.ortho-benefits-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(430px, 1.05fr);
  min-height: 720px;
  align-items: stretch;
}

.ortho-benefits-copy {
  padding: 82px 58px 76px 0;
}

.ortho-benefits-copy .ortho-content-heading {
  margin-bottom: 25px;
}

.ortho-benefit-list {
  display: grid;
  gap: 9px;
}

.ortho-benefit-list article {
  display: grid;
  min-height: 72px;
  padding: 10px 17px 10px 10px;
  grid-template-columns: 51px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #0FC8D8;
  border-left: 3px solid var(--ortho-cyan);
  border-radius: 13px;
  box-shadow: 0 8px 22px rgba(0, 60, 72, .06);
}

.ortho-benefit-list article > span {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  color: var(--ortho-blue);
  background: var(--ortho-soft);
  border-radius: 50%;
  font-size: 21px;
}

.ortho-benefit-list h3 {
  margin: 0 0 2px;
  color: var(--ortho-ink);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.ortho-benefit-list p {
  margin: 0;
  color: #003C48;
  font-size: 12px;
  line-height: 1.4;
}

.ortho-benefits-visual {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  margin: 0;
  border-radius: 56px 0 0 56px;
}

.ortho-benefits-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255,255,255,.3), transparent 28%);
  pointer-events: none;
}

.ortho-benefits-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.ortho-content-care {
  padding-top: 86px;
  background:
    linear-gradient(120deg, rgba(237, 248, 255, .92), rgba(255, 255, 255, .95)),
    #fff;
}

.ortho-care-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
}

.ortho-care-grid article {
  display: grid;
  min-height: 124px;
  padding: 18px 22px;
  grid-template-columns: 42px 58px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .93);
  border: 1px solid #0FC8D8;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 60, 72, .06);
}

.ortho-care-grid article > strong {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--ortho-ink);
  background: #e8f4ff;
  border-radius: 50%;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
}

.ortho-care-grid article > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #003C48;
  border-left: 1px solid #0FC8D8;
  font-size: 28px;
}

.ortho-care-grid h3 {
  margin: 0 0 5px;
  color: var(--ortho-ink);
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.ortho-care-grid p {
  margin: 0;
  color: #003C48;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1199.98px) {
  .ortho-image-card-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .ortho-image-card {
    grid-column: span 2;
  }

  .ortho-image-card:nth-last-child(2) {
    grid-column: 2 / span 2;
  }

  .ortho-image-card:last-child {
    grid-column: 4 / span 2;
  }

  .ortho-benefits-layout {
    grid-template-columns: minmax(0, 1fr) minmax(380px, .92fr);
  }

  .ortho-benefits-copy {
    padding-right: 38px;
  }
}

@media (max-width: 991.98px) {
  .ortho-content-services,
  .ortho-content-section {
    padding: 64px 0;
  }

  .ortho-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ortho-service-card {
    min-height: 190px;
  }

  .ortho-benefits-layout {
    display: flex;
    min-height: auto;
    padding-right: 0 !important;
    padding-left: 0 !important;
    flex-direction: column;
  }

  .ortho-benefits-copy {
    padding: 64px max(24px, calc((100vw - 720px) / 2)) 42px;
  }

  .ortho-benefits-visual {
    min-height: 520px;
    border-radius: 42px 42px 0 0;
  }

  .ortho-care-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .ortho-content-services,
  .ortho-content-section {
    padding: 48px 0;
  }

  .ortho-content-heading {
    margin-bottom: 25px;
  }

  .ortho-content-heading h2 {
    font-size: clamp(31px, 9vw, 44px);
  }

  .ortho-content-heading p {
    font-size: 14px;
    line-height: 1.65;
  }

  .ortho-service-grid {
    gap: 12px;
  }

  .ortho-service-card {
    min-height: 164px;
    padding: 18px 11px 15px;
    border-radius: 14px;
  }

  .ortho-service-icon {
    width: 53px;
    height: 53px;
    margin-bottom: 10px;
    font-size: 24px;
  }

  .ortho-service-card strong {
    min-height: 42px;
    font-size: 13px;
  }

  .ortho-service-card > .bi-arrow-right {
    margin-top: 5px;
    font-size: 19px;
  }

  .ortho-image-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .ortho-image-card,
  .ortho-image-card:nth-last-child(2) {
    grid-column: auto;
  }

  .ortho-image-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 6px);
    justify-self: center;
  }

  .ortho-image-card {
    border-radius: 14px;
  }

  .ortho-image-card__body {
    padding: 14px 10px 17px;
  }

  .ortho-image-card > img {
    height: clamp(122px, 36vw, 165px);
  }

  .ortho-image-card__body h3 {
    font-size: 14px;
  }

  .ortho-image-card__body p {
    font-size: 11px;
    line-height: 1.45;
  }

  .ortho-card-icon {
    top: 7px;
    left: 7px;
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .ortho-content-note {
    padding: 13px 16px;
    gap: 12px;
  }

  .ortho-content-note i {
    font-size: 25px;
  }

  .ortho-content-note p {
    font-size: 12px;
  }

  .ortho-benefits-copy {
    padding: 52px 20px 36px;
  }

  .ortho-benefits-visual {
    min-height: 430px;
    border-radius: 30px 30px 0 0;
  }

  .ortho-benefit-list article {
    grid-template-columns: 45px minmax(0, 1fr);
    gap: 10px;
  }

  .ortho-benefit-list article > span {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .ortho-care-grid article {
    min-height: 110px;
    padding: 14px;
    grid-template-columns: 34px 45px minmax(0, 1fr);
    gap: 9px;
  }

  .ortho-care-grid article > strong {
    width: 33px;
    height: 33px;
    font-size: 15px;
  }

  .ortho-care-grid article > span {
    width: 43px;
    height: 45px;
    font-size: 22px;
  }

  .ortho-care-grid h3 {
    font-size: 14px;
  }

  .ortho-care-grid p {
    font-size: 12px;
  }
}

@media (max-width: 399.98px) {
  .ortho-image-card-grid,
  .ortho-service-grid {
    gap: 9px;
  }

  .ortho-image-card__body {
    padding-right: 7px;
    padding-left: 7px;
  }

  .ortho-image-card > img {
    height: 122px;
  }

  .ortho-image-card__body h3 {
    font-size: 12px;
  }

  .ortho-image-card__body p {
    font-size: 10px;
  }

  .ortho-benefits-visual {
    min-height: 370px;
  }
}
