/* ============================================================
   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 PERIODONCIA
   ============================================================ */

/* ============================================================
   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;
    }
}

/* ============================================================
   PERIODONCIA 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 Periodoncia: 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: 13px;
  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: 14px;
  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: 15.2px;
  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;
  }
}

/* ============================================================
   PERIODONCIA · CONTENIDO EDITORIAL 2026
   ============================================================ */
.perio-main {
  --perio-navy: #003C48;
  --perio-blue: #008D99;
  --perio-cyan: #008D99;
  --perio-soft: #edf8ff;
  --perio-border: #0FC8D8;
  overflow: hidden;
}

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

.perio-content-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

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

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

.perio-pill {
  min-height: 31px;
  padding: 6px 17px;
  margin-bottom: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--perio-cyan), #0FC8D8);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 141, 153, .17);
}

.perio-content-heading h2,
.perio-intro h2 {
  margin: 4px 0 12px;
  color: var(--perio-navy);
  font-family: "Poppins", sans-serif;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.perio-content-services .perio-content-heading h2 {
  font-size: clamp(30px, 3vw, 45px);
}

.perio-title-line {
  display: block;
  width: 52px;
  height: 4px;
  margin: 0 0 20px;
  background: var(--perio-cyan);
  border-radius: 20px;
}

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

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

.perio-content-services {
  padding: 66px 0 74px;
  background:
    radial-gradient(circle at 9% 15%, rgba(0, 141, 153, .08), transparent 24%),
    linear-gradient(180deg, #fff, #f8fbff);
}

.perio-service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.perio-service-card {
  display: flex;
  min-height: 210px;
  padding: 24px 16px 18px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--perio-navy);
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(0, 60, 72, .09);
  border-radius: 16px;
  box-shadow: 0 13px 32px rgba(0, 60, 72, .09);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.perio-service-card:hover {
  color: var(--perio-navy);
  border-color: rgba(0, 141, 153, .38);
  box-shadow: 0 19px 40px rgba(0, 60, 72, .14);
  transform: translateY(-5px);
}

.perio-service-card > span {
  display: grid;
  width: 66px;
  height: 66px;
  margin-bottom: 15px;
  place-items: center;
  color: var(--perio-blue);
  background: linear-gradient(145deg, #e7f6ff, #fff);
  border-radius: 50%;
  font-size: 29px;
}

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

.perio-service-card > .bi-arrow-right {
  margin-top: 9px;
  color: var(--perio-cyan);
  font-size: 21px;
}

.perio-intro {
  padding: 76px 0;
  background: linear-gradient(125deg, #eaf7ff 0%, #f9fcff 55%, #fff 100%);
}

.perio-intro::after {
  position: absolute;
  z-index: -1;
  top: -90px;
  right: -110px;
  width: 420px;
  height: 420px;
  content: "";
  border: 1px solid rgba(0, 141, 153, .16);
  border-radius: 48% 52% 63% 37%;
  transform: rotate(20deg);
}

.perio-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 72px;
}

.perio-intro-copy {
  padding-left: 34px;
  border-left: 1px solid #0FC8D8;
}

.perio-intro-copy p {
  margin: 0 0 15px;
  color: #003C48;
  font-size: 17px;
  line-height: 1.75;
}

.perio-intro-copy p:last-child { margin-bottom: 0; }

.perio-content-section {
  padding: 66px 0;
}

.perio-signs {
  background: #fff;
}

.perio-sign-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.perio-sign-card {
  display: flex;
  overflow: hidden;
  min-width: 0;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 60, 72, .11);
  border-radius: 17px;
  box-shadow: 0 13px 34px rgba(0, 60, 72, .09);
  transition: transform .25s ease, box-shadow .25s ease;
}

.perio-sign-card:hover {
  box-shadow: 0 19px 42px rgba(0, 60, 72, .14);
  transform: translateY(-5px);
}

.perio-sign-card img {
  width: 100%;
  height: clamp(175px, 15vw, 220px);
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #edf7ff, #f9fcff);
  border-bottom: 1px solid rgba(0, 60, 72, .08);
}

.perio-sign-card > div {
  display: flex;
  padding: 20px 16px 23px;
  flex: 1;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.perio-sign-card h3 {
  margin: 0 0 9px;
  color: var(--perio-navy);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.perio-sign-card h3::after {
  display: block;
  width: 28px;
  height: 2px;
  margin: 9px auto 0;
  content: "";
  background: var(--perio-cyan);
}

.perio-sign-card p {
  margin: 0;
  color: #003C48;
  font-size: 14px;
  line-height: 1.55;
}

.perio-note {
  display: flex;
  max-width: 970px;
  min-height: 68px;
  padding: 13px 24px;
  margin: 28px auto 0;
  align-items: center;
  gap: 16px;
  color: #003C48;
  background: rgba(235,247,255,.9);
  border: 1px solid #0FC8D8;
  border-radius: 14px;
}

.perio-note i {
  flex: 0 0 auto;
  color: #008D99;
  font-size: 29px;
}

.perio-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.perio-process {
  background:
    radial-gradient(circle at 90% 10%, rgba(0, 141, 153, .12), transparent 26%),
    #eef8ff;
}


.perio-benefit-grid h3,
.perio-care-grid h3 {
  margin: 0 0 5px;
  color: var(--perio-navy);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}


.perio-benefit-grid p,
.perio-care-grid p {
  margin: 0;
  color: #003C48;
  font-size: 12px;
  line-height: 1.5;
}

.perio-process-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.perio-process-card {
  display: flex;
  overflow: hidden;
  min-width: 0;
  flex-direction: column;
  background: rgba(255, 255, 255, .96);
  border: 1px solid #0FC8D8;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(0, 60, 72, .09);
  transition: transform .25s ease, box-shadow .25s ease;
}

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

.perio-process-card > img {
  width: 100%;
  height: 230px;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #eaf5ff, #f8fbff);
  border-bottom: 1px solid rgba(0, 60, 72, .09);
}

.perio-process-card > div {
  position: relative;
  display: grid;
  min-height: 132px;
  padding: 22px 20px 22px 65px;
  align-content: start;
}

.perio-process-card strong {
  position: absolute;
  top: 21px;
  left: 20px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--perio-blue), var(--perio-cyan));
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(0, 141, 153, .2);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
}

.perio-process-card h3 {
  margin: 0 0 7px;
  color: var(--perio-navy);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.perio-process-card p {
  margin: 0;
  color: #003C48;
  font-size: 14px;
  line-height: 1.5;
}

.perio-benefits {
  background: #fff;
}

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

.perio-benefits-copy {
  padding: 78px 52px 72px 0;
}

.perio-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 13px;
}

.perio-benefit-grid article,
.perio-care-grid article {
  display: grid;
  min-height: 105px;
  padding: 15px;
  grid-template-columns: 51px minmax(0,1fr);
  align-items: center;
  gap: 13px;
  background: #fff;
  border: 1px solid #0FC8D8;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 60, 72, .06);
}

.perio-benefit-grid article > span,
.perio-care-grid article > span {
  display: grid;
  width: 49px;
  height: 49px;
  place-items: center;
  color: var(--perio-blue);
  background: var(--perio-soft);
  border-radius: 50%;
  font-size: 22px;
}

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

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

.perio-care {
  background: linear-gradient(135deg, #edf8ff, #fff 68%);
}

.perio-care-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px 20px;
  max-width: 1060px;
  margin: 0 auto;
}

.perio-care-grid article {
  min-height: 120px;
  padding: 18px 20px;
  border-left: 3px solid var(--perio-cyan);
}

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

  .perio-service-card { grid-column: span 2; }
  .perio-service-card:nth-last-child(2) { grid-column: 2 / span 2; }
  .perio-service-card:last-child { grid-column: 4 / span 2; }

  .perio-sign-grid {
    grid-template-columns: repeat(6, minmax(0,1fr));
  }

  .perio-sign-card { grid-column: span 2; }
  .perio-sign-card:nth-last-child(2) { grid-column: 2 / span 2; }
  .perio-sign-card:last-child { grid-column: 4 / span 2; }

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

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

  .perio-intro-layout {
    grid-template-columns: 1fr;
  }

  .perio-intro-layout { gap: 28px; }

  .perio-intro-copy {
    padding: 22px 0 0;
    border-top: 1px solid #0FC8D8;
    border-left: 0;
  }

  .perio-process-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

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

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

  .perio-benefits-visual {
    min-height: 510px;
    border-radius: 40px 40px 0 0;
  }
}

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

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

  .perio-content-heading h2,
  .perio-intro h2 { font-size: clamp(30px, 9vw, 43px); }

  .perio-content-heading p,
  .perio-intro-copy p { font-size: 14px; }

  .perio-service-grid,
  .perio-sign-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 11px;
  }

  .perio-service-card,
  .perio-service-card:nth-last-child(2),
  .perio-sign-card,
  .perio-sign-card:nth-last-child(2) { grid-column: auto; }

  .perio-service-card:last-child,
  .perio-sign-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 5.5px);
    justify-self: center;
  }

  .perio-service-card {
    min-height: 158px;
    padding: 17px 9px 13px;
    border-radius: 13px;
  }

  .perio-service-card > span {
    width: 51px;
    height: 51px;
    margin-bottom: 9px;
    font-size: 23px;
  }

  .perio-service-card strong {
    min-height: 38px;
    font-size: 12px;
  }

  .perio-sign-card img {
    height: clamp(120px, 35vw, 158px);
  }

  .perio-sign-card > div { padding: 13px 9px 16px; }
  .perio-sign-card h3 { font-size: 13px; }
  .perio-sign-card p { font-size: 10.5px; line-height: 1.45; }

  .perio-process-card-grid {
    gap: 11px;
  }

  .perio-process-card {
    border-radius: 14px;
  }

  .perio-process-card > img {
    height: clamp(125px, 36vw, 170px);
  }

  .perio-process-card > div {
    min-height: 126px;
    padding: 16px 9px 17px 43px;
  }

  .perio-process-card strong {
    top: 15px;
    left: 9px;
    width: 27px;
    height: 27px;
    font-size: 12px;
  }

  .perio-process-card h3 {
    font-size: 12px;
  }

  .perio-process-card p {
    font-size: 10px;
    line-height: 1.45;
  }

  .perio-benefits-copy { padding: 50px 19px 35px; }

  .perio-benefit-grid,
  .perio-care-grid {
    grid-template-columns: 1fr;
  }

  .perio-benefits-visual {
    min-height: 420px;
    border-radius: 28px 28px 0 0;
  }

  .perio-note {
    padding: 12px 15px;
    gap: 11px;
  }

  .perio-note i { font-size: 24px; }
  .perio-note p { font-size: 11px; }
}

@media (max-width: 399.98px) {
  .perio-sign-card img { height: 118px; }
  .perio-sign-card h3 { font-size: 12px; }
  .perio-sign-card p { font-size: 10px; }
  .perio-process-card > img { height: 118px; }
  .perio-process-card > div { min-height: 132px; padding-left: 39px; }
  .perio-process-card strong { left: 7px; }
  .perio-benefits-visual { min-height: 360px; }
}
