@import url("https://fonts.googleapis.com/css2?family=Anton&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

:root {
  /* 🎨 Colores */
  --color-primary: #26ccd2;
  --color-primary-light: #5ce1e6;
  --color-gray: #e2e2e2;
  --color-dark-blue: #004aad;
  --color-navy: #003780;

  /* 🖋️ Tipografía */
  --font-primary: "Open Sans", sans-serif;
  --font-display: "Anton", sans-serif;

  /* 💪 Font weights */
  --fw-regular: 400;
  --fw-semibold: 400;

  /* 🔠 Tamaños de fuente */
  --fs-banner-title: 48px; /* Título banner primario */
  --fs-banner-subtitle: 22px; /* Subtítulo banner primario / títulos de cards */
  --fs-banner-paragraph: 18px; /* Párrafo banner primario */
  --fs-cta: 16px; /* Botones / CTA */
  --fs-stats-title: 68px; /* Títulos de estadísticas */
  --fs-section-title: 50px; /* Títulos de secciones */

  --fs-section-paragraph: 20px; /* Párrafos de secciones / items de lista */
  --fs-card-paragraph: 18px; /* Párrafos de cards */
  --fs-secondary-banner-title: 90px; /* Título banner secundario */
  --fs-banner-section-text: 30px; /* Texto dentro de banner section */
  /* 🔤 Letter spacing */
  --ls-1: 0.2px;
  --ls-2: 0.4px;
  --ls-3: 0.6px;
  --ls-4: 0.8px;
}

body {
  background: #fff !important;
}
p {
  font-size: var(--fs-section-paragraph) !important;
  font-family: var(--font-primary);
}

.p-section {
  color: #212121;

  text-align: center;
  font-size: var(--fs-card-paragraph);
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
}

.ct-menu-link,
.ct-icon {
  color: #fff !important;
  fill: #fff !important;
}

.li-dark {
  color: #003780;

  font-family: "Open Sans";
  font-size: var(--fs-card-paragraph);
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.2px;
  margin: 10px 0;
}

.circle {
  width: 164px;
  background: white;
  height: 164px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.w-15 {
  width: 15% !important;
}

.w-65 {
  width: 65% !important;
}

.100-vh {
  height: 100vh;
}

.t-75 {
  top: -75px;
}
.t-150 {
  top: -150px !important;
}
.pb-135 {
  padding-bottom: 135px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(
      0deg,
      rgba(0, 55, 128, 0.88) 0%,
      rgba(0, 55, 128, 0.88) 100%
    ),
    url(https://clico.com.mx/sandbox/centrooftalmologicoatizapan.mx/wp-content/themes/blocksy-child/assets/img/home/fondo_1.webp)
      lightgray 50% / cover no-repeat;
  box-shadow: 0 3px 4px 1px rgba(0, 0, 0, 0.1);
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-clinicas {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(
      0deg,
      rgba(0, 55, 128, 0.88) 0%,
      rgba(0, 55, 128, 0.88) 100%
    ),
    url(https://clico.com.mx/sandbox/centrooftalmologicoatizapan.mx/wp-content/themes/blocksy-child/assets/img/clinicas/banner-fondo.webp)
      lightgray 50% / cover no-repeat;
  box-shadow: 0 3px 4px 1px rgba(0, 0, 0, 0.1);
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-especialidad {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;

  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-tecnologia {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;

  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-padecimientos {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;

  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-nosotros {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(
      0deg,
      rgba(0, 55, 128, 0.88) 0%,
      rgba(0, 55, 128, 0.88) 100%
    ),
    url(https://clico.com.mx/sandbox/centrooftalmologicoatizapan.mx/wp-content/themes/blocksy-child/assets/img/nosotros/banner_nosotros.webp)
      lightgray 50% / cover no-repeat;
  box-shadow: 0 3px 4px 1px rgba(0, 0, 0, 0.1);
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-tecnologias {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(
      0deg,
      rgba(0, 55, 128, 0.88) 0%,
      rgba(0, 55, 128, 0.88) 100%
    ),
    url(https://clico.com.mx/sandbox/centrooftalmologicoatizapan.mx/wp-content/themes/blocksy-child/assets/img/tecnologias/banner-principal.webp)
      lightgray 50% / cover no-repeat;
  box-shadow: 0 3px 4px 1px rgba(0, 0, 0, 0.1);
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-pacientes {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(
      0deg,
      rgba(0, 55, 128, 0.88) 0%,
      rgba(0, 55, 128, 0.88) 100%
    ),
    url(https://clico.com.mx/sandbox/centrooftalmologicoatizapan.mx/wp-content/themes/blocksy-child/assets/img/pacientes/banner-abajo.webp)
      lightgray 50% / cover no-repeat;
  box-shadow: 0 3px 4px 1px rgba(0, 0, 0, 0.1);
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-especialidades {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(
      0deg,
      rgba(0, 55, 128, 0.88) 0%,
      rgba(0, 55, 128, 0.88) 100%
    ),
    url(https://clico.com.mx/sandbox/centrooftalmologicoatizapan.mx/wp-content/themes/blocksy-child/assets/img/especialidades/banner-principal.webp)
      lightgray 50% / cover no-repeat;
  box-shadow: 0 3px 4px 1px rgba(0, 0, 0, 0.1);
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-enfermedades {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(
      0deg,
      rgba(0, 55, 128, 0.88) 0%,
      rgba(0, 55, 128, 0.88) 100%
    ),
    url(https://clico.com.mx/sandbox/centrooftalmologicoatizapan.mx/wp-content/themes/blocksy-child/assets/img/enfermedades/banner-atras.webp)
      lightgray 50% / cover no-repeat;
  box-shadow: 0 3px 4px 1px rgba(0, 0, 0, 0.1);
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-servicios {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(
      0deg,
      rgba(0, 55, 128, 0.88) 0%,
      rgba(0, 55, 128, 0.88) 100%
    ),
    url(https://clico.com.mx/sandbox/centrooftalmologicoatizapan.mx/wp-content/themes/blocksy-child/assets/img/servicios/banner-principal.webp)
      lightgray 50% / cover no-repeat;
  box-shadow: 0 3px 4px 1px rgba(0, 0, 0, 0.1);
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-banner-title); /* base grande */
  line-height: 60px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 1rem 0 1rem;
}

.hero-title-dark {
  font-family: var(--font-display);
  font-size: var(--fs-stats-title); /* base grande */
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 1rem 0 1rem;
  color: var(--color-navy);
  line-height: 90px;
}

.hero-title-dark-small {
  font-size: var(--fs-banner-title) !important;
  line-height: 60px;
}

.hero-text-dark {
  font-size: var(--fs-banner-paragraph) !important;
  color: #212121;
}

/* Shapes decorativos a la derecha */
.shape-ring-bold,
.shape-ring-light,
.shape-ring-bg,
.shape-blob,
.shape-ring-bold-section-top,
.shape-ring-bold-section-bottom,
.shape-ring-bold-section-top-center,
.shape-ring-bold-section-bottom-center,
.shape-ring-bold-banner,
.shape-ring-light-banner,
.shape-ring-bold-banner-dark,
.shape-ring-light-banner-dark,
.shape-ring-bold-banner-dark-top {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.shape-ring-bold {
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 115px solid var(--color-primary-light);
  right: -250px;
  top: -150px;
}

.shape-ring-bold-banner {
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 110px solid var(--color-primary-light);
  right: -250px;
  bottom: -255px;
  z-index: -1;
}

.shape-ring-light-banner {
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 2px solid var(--color-primary-light);
  right: -350px;
  opacity: 0.7;
  bottom: 0;
}

.shape-ring-bold-banner-dark {
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 110px solid var(--color-navy);
  right: -250px;
  bottom: -255px;
  z-index: -1;
}

.shape-ring-bold-banner-dark-top {
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 110px solid var(--color-dark-blue);
  left: -25%;
  top: -50%;

  z-index: -1;
}
.shape-ring-light-banner-dark {
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 2px solid var(--color-navy);
  right: -350px;
  opacity: 0.7;
  bottom: 0;
}

.dots-banner {
  position: absolute;
  right: 17%;
  bottom: 20%;
  width: 60px;
  height: 150px;
  z-index: -2;
  opacity: 0.9;
  background-image: radial-gradient(#fff 2px, transparent 2px);
  background-size: 16px 16px;
  transform: translateX(50%);
}

.dots-banner-dark {
  position: absolute;
  right: 17%;
  bottom: 20%;
  width: 60px;
  height: 150px;
  z-index: -2;
  opacity: 0.9;
  background-image: radial-gradient(#003780 2px, transparent 2px);
  background-size: 16px 16px;
  transform: translateX(50%);
}

.dots-banner-left {
  position: absolute;
  left: 55px;
  bottom: 20%;
  width: 60px;
  height: 150px;
  z-index: -1;
  opacity: 0.9;
  background-image: radial-gradient(#fff 2px, transparent 2px);
  background-size: 16px 16px;
  transform: translateX(50%);
}
.dots-banner-right {
  position: absolute;
  right: 12%;
  bottom: 20%;
  width: 60px;
  height: 150px;
  z-index: -1;
  opacity: 0.9;
  background-image: radial-gradient(#fff 2px, transparent 2px);
  background-size: 16px 16px;
  transform: translateX(50%);
}

.shape-ring-light {
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 2px solid var(--color-primary-light);
  right: 0;
  opacity: 0.7;
  bottom: 0;
}

.shape-ring-bg {
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background-color: var(--color-navy);
  right: -50px;
  bottom: -185px;
}

.shape-ring-bold-section-top {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 60px solid var(--color-primary-light);
  right: -272px;
  top: 0;
  z-index: -1;
}

.shape-ring-bold-section-bottom {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 60px solid var(--color-primary-light);
  z-index: -1;
  bottom: -218px;
  left: -185px;
}

.shape-ring-bold-section-top-center {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 80px solid var(--color-primary-light);
  right: 85px;
  top: -135px;
  z-index: -1;
}

.shape-ring-bold-section-bottom-center {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 80px solid var(--color-primary-light);
  left: 80px;
  bottom: -80px;
  z-index: -1;
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* Badge */
.tag {
  display: inline-block;
  border-radius: 10px;
  background: rgba(0, 55, 128, 0.7);
  padding: 0.5rem 0.9rem;
  font-size: var(--fs-banner-subtitle);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-3);
  font-family: var(--font-display);
  backdrop-filter: blur(4px);
}

/* Título */
.display-title {
  font-family: var(--font-display);
  font-size: var(--fs-section-title); /* base grande */
  line-height: 1;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 1rem 0 1rem;
}

/* Párrafo */
.lead-custom {
  font-size: var(--fs-banner-paragraph);
  color: rgba(255, 255, 255, 0.85);
  max-width: 52ch;
}

/* CTA */
.btn-cta-primary {
  --btn-bg: #fff;
  --btn-color: var(--color-navy);
  --btn-hover: var(--color-primary-light);
  background: var(--btn-bg);
  color: var(--btn-color);
  border: none;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-size: var(--fs-cta);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  width: 170px;
  transition: all 0.3s ease;
}
.btn-cta-primary:hover {
  background: var(--btn-hover);
  color: #00244f;
  transform: translateY(-2px);
}

.btn-cta-secondary {
  --btn-bg: var(--color-navy);
  --btn-color: #fff;
  --btn-hover: var(--color-primary-light);
  background: var(--btn-bg);
  color: var(--btn-color);
  border: none;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-size: var(--fs-cta);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  width: 170px;
  transition: all 0.3s ease;
}
.btn-cta-secondary:hover {
  background: var(--btn-hover);
  color: #00244f;
  transform: translateY(-2px);
}

/* Col imagen médico */
.doctor-col {
  position: relative;
  min-height: 420px;
}
.doctor-wrap {
  position: absolute;
  right: -172px;
  bottom: -160px;
  width: min(806px, 125%);
  z-index: 1;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.45));
}
.doctor {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Dots decorativos detrás del médico */
.dots {
  position: absolute;
  right: 41%;
  bottom: 40%;
  width: 60px;
  height: 150px;
  z-index: 0;
  opacity: 0.9;
  background-image: radial-gradient(#fff 2px, transparent 2px);
  background-size: 16px 16px;
  transform: translateX(50%);
}

.dots-section {
  position: absolute;
  right: 92%;
  bottom: 12%;
  width: 161px;
  height: 59px;
  z-index: -3;
  opacity: 0.9;
  background-image: radial-gradient(#5ce1e6 2px, transparent 2px);
  background-size: 16px 16px;
  transform: translateX(50%);
}

/* Barra de contacto inferior */
.contact-bar {
  /* position: absolute;*/
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--color-dark-blue), var(--color-navy));
  color: #fff;
  padding: 0.65rem 0;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.contact-item i {
  font-size: 1.1rem;

  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
}

/* ---------- Responsive ---------- */
@media (min-width: 992px) {
  .display-title {
    font-size: 65px;
  } /* 90px */
  .lead-custom {
    font-size: var(--fs-section-paragraph);
  } /* 20px */
}
@media (max-width: 991.98px) {
  .hero {
    padding-top: 4rem;
  }
  .doctor-wrap {
    position: static;
    margin: 2rem auto 0;
    display: block;
  }
  .dots {
    display: none;
  }
  .shape-ring-bold {
    right: -200px;
    top: -100px;
  }
}
@media (max-width: 575.98px) {
  .display-title {
    font-size: 42px;
  }
  .lead-custom {
    font-size: 17px;
  }
  .tag {
    font-size: 0.8rem;
  }
  .contact-item {
    font-size: 0.9rem;
  }
}

/* ===== TITULOS / PARRAFOS secc ===== */
.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-section-title);
  line-height: 1;
  color: var(--color-navy);
  letter-spacing: 1px;
  margin: 0 0 16px;
}

.section-text {
  font-family: var(--font-primary);
  font-size: var(--fs-section-paragraph);
  color: #1c2b45;
  opacity: 0.9;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-section-title);
  color: var(--color-primary-light);
}

.higlight-title {
  font-family: var(--font-display);
  font-size: var(--fs-banner-section-text) !important;
  color: var(--color-primary-light) !important;
}

/* ====== STATS ====== */
.stat-card {
  background-color: var(--color-primary-light);
  color: var(--color-dark-blue);
  border-radius: 25px;
  padding: 3rem 1rem 2rem;
  position: relative;
  overflow: visible;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  height: 300px;
}

.stat-card:hover {
  transform: translateY(-5px);
}

/* 🔵 Círculo con ícono */
.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Números y texto */
.stat-number {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: bold;
  color: var(--color-navy);
  margin-top: 2rem;
  margin-bottom: 0.3rem;
}

.stat-card p {
  font-size: 16px;
  font-weight: var(--fw-semibold);
  color: var(--color-dark-blue);
  margin: 0;
}

/* ====== EXPERIENCE ====== */
.experience-section p {
  font-size: var(--fs-section-paragraph);
  line-height: 1.6;
  color: #333;
  overflow: hidden;
}

/*
.btn-dark-blue {
  background-color: var(--color-navy);
  color: #fff;
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-cta);
  transition: all 0.3s ease;
  width: auto;
}

.btn-dark-blue:hover {
  background-color: var(--color-navy);
  transform: translateY(-2px);
}
*/
/* ====== DIFFERENCE ====== */

.difference-section i {
  color: var(--color-primary);
  font-size: 1.3rem;
}

/* Título azul */
.li-title {
  font-size: var(--fs-banner-subtitle);
  font-weight: var(--fw-semibold);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Texto secundario gris */
.li-text-second {
  font-size: var(--fs-card-paragraph);
  color: #4c4c4c;
  margin: 2px 0 0;
  line-height: 1.3;
}

/* ====== DECORATIVE CIRCLES ====== */
.decor-circle {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: var(--color-primary-light);
  opacity: 0.3;
  z-index: -1;
}

.decor-top {
  top: -50px;
  right: -70px;
}

.decor-bottom {
  bottom: -60px;
  left: -70px;
}

.services-section {
  background-color: #f8fbff; /* tono muy claro, sin fondo blanco */
}

.subsection-title {
  font-family: var(--font-display);
  font-size: var(--fs-banner-section-text);
  color: var(--color-navy);
  font-weight: var(--fw-semibold);
}

/* ==== Item individual ==== */
.service-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
}

.service-feat {
  height: auto;
  align-items: center;
}
.service-feat > img {
  margin-bottom: 0;
}
.service-img {
  border-radius: 20px;
  width: 100%;
  height: 400px;
  margin-bottom: 1rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-img:hover {
  transform: scale(1.03);
}

.service-item h4 {
  font-family: var(--font-primary);
  font-size: var(--fs-banner-subtitle);
  color: var(--color-navy);
  font-weight: var(--fw-semibold);
  margin-bottom: 0.4rem;
}

.service-item p {
  font-size: var(--fs-card-paragraph);
  color: #1c2b45;
  margin-bottom: 1rem;
}

.clinics-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  border-radius: 60px 60px 0 0;
  background: linear-gradient(
      0deg,
      rgba(0, 55, 128, 0.88) 0%,
      rgba(0, 55, 128, 0.88) 100%
    ),
    url("https://clico.com.mx/sandbox/centrooftalmologicoatizapan.mx/wp-content/themes/blocksy-child/assets/img/home/bg-section.webp")
      lightgray 50% / cover no-repeat;
  box-shadow: 0 3px 4px 1px rgba(0, 0, 0, 0.1);
  min-height: 55vh; /* más pequeño que el hero */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.clinics-banner-hv {
  min-height: 65vh;
}

.clinics-banner-hv > div {
  top: -45px;
}
.banner-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;

  background: linear-gradient(
      0deg,
      rgba(0, 55, 128, 0.88) 0%,
      rgba(0, 55, 128, 0.88) 100%
    ),
    url("https://clico.com.mx/sandbox/centrooftalmologicoatizapan.mx/wp-content/themes/blocksy-child/assets/img/home/bg-section.webp")
      lightgray 50% / cover no-repeat;
  box-shadow: 0 3px 4px 1px rgba(0, 0, 0, 0.1);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.clinics-banner .banner-text,
.banner-bg .banner-text {
  font-size: 26px !important;
  font-weight: 400;
  max-width: 800px;
  line-height: 1.5;
  margin: 0 auto;
  font-family: var(--font-display);
  letter-spacing: 1.2px;
}

.decor-circle-top {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--color-primary-light);
  opacity: 0.3;
  z-index: 0;
}

/* ====== Sección de clínicas ====== */
.clinics-section {
  background-color: var(--color-navy);
  color: #fff;
  border-radius: 60px 60px 0 0;
  margin-top: -4rem;
  z-index: 10;
  position: relative;
}

.clinic-btn {
  background: var(--color-dark-blue);
  color: #fff;
  border: none;
  padding: 0.8rem 1rem;
  border-radius: 30px;
  text-align: left;
  font-size: var(--fs-cta);
  font-weight: var(--fw-semibold);
  transition: background 0.3s ease;
  width: 100%;
  height: 85px;
}

.clinic-btn:hover {
  background: var(--color-primary-light);
  color: var(--color-navy);
}

.clinic-btn.active {
  background: var(--color-primary-light);
  color: var(--color-navy);
  font-weight: var(--fw-semibold);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* ====== Mapa ====== */
.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  height: 600px;
  margin-top: 60px;
}

.map-container iframe {
  transition: opacity 0.3s ease;
}
.map-container iframe.fade-out {
  opacity: 0;
}

/* ====== Sección ====== */
.testimonials-section {
  background: linear-gradient(
      0deg,
      rgba(92, 225, 230, 0.9) 0%,
      rgba(92, 225, 230, 0.9) 100%
    ),
    url("https://clico.com.mx/sandbox/centrooftalmologicoatizapan.mx/wp-content/themes/blocksy-child/assets/img/home/historias.webp")
      lightgray 50% / cover no-repeat;

  color: var(--color-navy);
}

/* ====== Card ====== */
.testimonial-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem 2rem 2rem;
  max-width: 550px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  overflow: visible;
  z-index: 1;
  height: 335px;
}

.testimonial-card .quote-icon {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-dark-blue);
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  z-index: 2;
}

/* ====== Avatar ====== */
.avatar {
  width: 45px;
  height: 45px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  font-size: 22px;
}

/* ====== Texto ====== */
.text-navy {
  color: var(--color-navy);
}

.testimonial-card p {
  font-size: var(--fs-card-paragraph);
  color: #333;
  line-height: 1.5;
}

/* ====== Swiper controls ====== */

.swiper,
.swiper-wrapper,
.swiper-slide {
  overflow: visible !important;
}

.swiper {
  padding-bottom: 40px;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--color-dark-blue);
  transition: transform 0.2s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: scale(1.1);
}

/* ====== Cobertura con aseguradoras ====== */
.insurance-section {
  background: #fff;
}

.insurance-card {
  background-color: #f7fafd; /* fondo suave */
  border-radius: 40px;
  max-width: 950px;
  margin: 0 auto;
}

.insurance-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
}

.insurance-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insurance-title {
  font-family: var(--font-display);
  font-size: var(--fs-section-title);
  color: var(--color-navy);
  font-weight: var(--fw-semibold);
}

.insurance-text {
  font-family: var(--font-primary);
  font-size: var(--fs-card-paragraph);
  color: #222;
  max-width: 600px;
}

/* ===== CONTACTO ===== */
.contact-section {
  background-color: #fff;
}

/* Título */
.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-section-title);
  color: var(--color-navy);
}

/* Tarjetas de contacto */
.contact-box {
  background: #fff;
  box-shadow: 0 0.5px 2px 0 rgba(25, 33, 61, 0.1);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  transition: transform 0.3s ease;
}
.contact-box:hover {
  transform: translateY(-3px);
}

.contact-info,
.contact-link {
  font-size: var(--fs-card-paragraph);
  color: #333;
  text-decoration: none;
}
.contact-link:hover {
  text-decoration: underline;
  color: var(--color-navy);
}

/* ===== Formulario ===== */
.contact-form {
  background: var(--color-navy);
  border-radius: 35px;
  color: #fff;
}

.form-control.pill,
.form-select.pill {
  border-radius: 999px;
  border: none;
  //padding: 0.8rem 1rem;
  font-size: var(--fs-cta);
  background: white;
  color: var(--color-navy);
}
textarea.form-control.pill {
  border-radius: 20px;
}

.form-control.pill:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(38, 204, 210, 0.25);
color: white;
}

textarea:focus {
 
  color: var(--color-navy) !important;
}

.form-label {
  font-weight: var(--fw-regular);
  font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: var(--color-navy);
  color: #fff;
  font-family: var(--font-primary);
}

.footer-logo {
  max-width: 180px;
}

.footer-title {
  font-family: var(--font-primary);
  font-weight: var(--fw-semibold);
  font-size: 18px;
  color: #fff;
}

.footer-title a {
  font-family: var(--font-primary);
  font-weight: var(--fw-semibold);
  font-size: 18px;
  color: #fff;
}

.footer-title a:hover {
  color: var(--color-primary-light);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 6px;
}

.footer-list a {
  color: #e2e2e2;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-list a:hover {
  color: var(--color-primary-light);
}

.footer-link {
  color: #e2e2e2;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 15px;
}
.footer-link:hover {
  color: var(--color-primary-light);
}

/* ===== Bottom bar ===== */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: var(--color-navy);
}

.footer-bottom p,
.footer-bottom a {
  font-size: 14px;
  color: #cfd7e0;
}

.footer-social {
  color: #fff;
  font-size: 18px;
  transition: color 0.3s ease;
}
.footer-social:hover {
  color: var(--color-primary-light);
}

/*Nosotros*/

/* ===== Misión / Visión ===== */
.mission-vision-section {
  background-color: #f7fafd;
}

.mission-vision-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  margin: 0 auto;
}

.section-subtitle {
  font-family: var(--font-display);
  font-size: var(--fs-banner-subtitle);
  color: var(--color-dark-blue);
}

.vision-inner-box {
  background: var(--color-navy);
  border-radius: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vision-inner-box p {
  color: #eaf2ff;
}

/* ===== Nuestra experiencia ===== */
.experience-item {
  max-width: 280px;
  margin: 0 auto;
}

.experience-icon {
  width: 100%;
  height: auto;
}

.text-navy {
  color: var(--color-navy);
}

.mission-vision-section {
  background: #f8fafc;
}

/* ===== Nuestro equipo ===== */
.team-section {
  background: #fff;
}

.team-img {
  border-radius: 20px;
  max-width: 100%;
  height: auto;
}

.team-item {
  font-family: var(--font-primary);
  font-size: var(--fs-section-paragraph);
  color: var(--color-navy);
}

/* ====== Cards de clínicas ====== */
.clinic-card-solid {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clinic-card-solid:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.clinic-card-solid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.clinic-info {
  background: var(--color-dark-blue);
  padding: 2rem 1rem 1rem;
  border-radius: 0 0 16px 16px;
  position: relative;
  height: 150px;
}

.clinic-info .location-icon {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}

.location-icon > img {
  width: 40%;
  height: 55%;
}
.clinic-info p {
  font-family: var(--font-primary);
  font-size: var(--fs-card-paragraph);
  font-weight: var(--fw-semibold);
}

/* ====== Card tipo degradado ====== */
.clinic-card-gradient {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clinic-card-gradient:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.clinic-gradient-img {
  position: relative;
}

.clinic-gradient-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
  height: 290px;
}

.clinic-card-gradient:hover img {
  transform: scale(1.05);
}

.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 74, 173, 0) 25%, #004aad 79%);
}

.gradient-overlay p {
  font-family: var(--font-primary);
  font-size: var(--fs-card-paragraph);
  font-weight: var(--fw-semibold);
}

/* ===== Servicios ===== */
.services-section-lp {
  background-color: #f8fafc;
}

.service-card-lp {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.service-img-lp {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.service-content-lp {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
}

.service-title-lp {
  font-family: var(--font-primary);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-banner-paragraph);
  color: var(--color-navy);
  margin-bottom: 0.8rem;
}

.service-content-lp p {
  font-size: var(--fs-card-paragraph) !important;
  color: #212121;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.service-card-lp .btn-cta {
  align-self: flex-start;
}

.higlight-dark {
  width: auto;
  /* background: blue; */
  background: #003780;
  color: white;
  padding: 10px 18px;
  border-radius: 10px;
  height: auto;
  font-family: var(--font-display);
  font-size: 22px !important;
}

.container-content-hero {
  margin-bottom: 80px;
}

/* ==== ENCÓNTRANOS SECTION ==== */

.contact-location-section strong,
.contact-location-section a {
  font-size: var(--fs-card-paragraph);
  color: var(--color-navy);
}

.contact-location-section p {
  color: #212121;
}

.location-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.location-info-item .icon {
  min-width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-info-item img {
  width: 26px;
  height: 26px;
}

.location-map-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.img-banner > img {
  height: 480px;
}

/* ===== Sección de consulta de alta especialidad ===== */

.consultation-box {
  border-radius: 50px;
  border: 1px solid rgba(0, 55, 128, 0.14);

  background: #f7fafd;
  max-width: 1100px;
}

.consult-item p {
  font-size: var(--fs-card-paragraph);
  color: var(--color-navy);
  margin: 0;
}

.consult-img {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  object-fit: cover;
}

.insurance-section-custom {
  top: -120px;
  position: relative;
  z-index: 999;
  border-radius: 100px;
}

.insurance-bg {
  position: static;
  height: 100%;
  border-radius: 100px 100px 0 0;
  background: #f7fafd;
  padding-bottom: 130px;
  border: 1px solid rgba(0, 55, 128, 0.14);
}

.insurance-abs {
  position: static;
  height: 100%;
  border-radius: 100px 100px 0 0;
  background: #f7fafd;
  padding-bottom: 130px;
  border: 1px solid rgba(0, 55, 128, 0.14);
}

.clinics-section-custom {
  padding-bottom: 200px !important;
}

/* ===== BENEFICIOS ===== */

/* TARJETA AZUL FULL HEIGHT */
.benefit-main-card {
  position: relative;
  background: var(--color-dark-blue);
  border-radius: 28px;
  padding: 2rem 2rem 0 2rem;
  height: 100%;
  overflow: hidden;
}

/* SILUETA */
.benefit-main-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('<?php echo get_bloginfo("stylesheet_directory") ?>/assets/img/single-servicio/bg-silueta.webp')
    center left/cover no-repeat;
  opacity: 0.15;
  z-index: 1;
}

/* CONTENIDO SUPERIOR (TEXTO ARRIBA) */
.benefit-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* TÍTULO */
.benefit-title {
  color: #fff;
  font-size: var(--fs-banner-paragraph);
  font-weight: var(--fw-semibold);
  max-width: 324px;
}

/* CONTENEDOR INFERIOR */
/* Este toma espacio flexible SIN que la doctora afecte */
.benefit-bottom-area {
  margin-top: auto;
  position: relative;
  z-index: 3;

  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 1rem;
}

/* 
.white-btn {
  background: #fff !important;
  color: var(--color-navy);
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  flex-shrink: 0;
  position: relative;
  z-index: 4;
} */

/* DOCTORA — ABSOLUTE PEGADA ABAJO */
.benefit-doctor-img {
  position: absolute;
  bottom: -18px;
  right: -35px;
  height: 300px;
  width: auto;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}

.benefit-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #212121;
  height: 170px;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.container-form-rel {
  position: relative;
  top: -135px;
  border-radius: 60px 60px 0 0;
}

/* Tarjeta general */
.cirugia-card {
  background: #fff;
  border-radius: 22px;
  padding: 2.5rem 2rem 2rem;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: visible;
  height: 350px;
}

/* Icono circular */
.cirugia-icon {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cirugia-icon img {
  width: 100%;
}

/* Título */
.cirugia-title {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--color-navy);
  letter-spacing: 0.5px;
  margin-top: 10px;
}

/* Lista */
.cirugia-list {
  padding-left: 1.2rem;
  margin: 0;
}

.cirugia-list li {
  margin-bottom: 10px;
  font-size: var(--fs-card-paragraph);
  color: #1c2b45;
  position: relative;
  text-align: start;
}

/* Viñetas personalizadas */
.cirugia-list li::marker {
  color: var(--color-dark-blue);
  font-size: 1.1rem;
}

.clinics-hv {
  z-index: 0;
  position: relative;
  bottom: -80px;
}

/* TAG */
.tag-dark {
  background: var(--color-navy);
  color: #fff;
  border-radius: 10px;
  padding: 10px;

  font-family: Anton;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.6px;
}

/* TÍTULO */
.banner-title {
  font-family: var(--font-display);
  font-size: 38px;
  letter-spacing: 1px;
  line-height: 1.1;
}

/* DOCTOR — MÁS GRANDE Y SOBRESALE ARRIBA */
.doctor-absolute {
  position: absolute;
  top: 0;
  right: -55px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

/* el contenedor debe permitir que sobresalga */
.banner-wrapper {
  position: relative;
  overflow: visible; /* 🔹 permite que la imagen salga hacia arriba */
  border-radius: 36px;
  background: var(--color-dark-blue);
}

/* DECORACIONES */
.decor-left {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 70px solid var(--color-primary-light);
  right: -25%;
  bottom: -45%;
}

.decor-right {
  position: absolute;
  width: 400px;
  height: 409px;
  border-radius: 50%;
  border: 70px solid var(--color-primary-light);
  left: -17%;
  top: -47%;
}

/* PUNTOS DECORATIVOS */
.dots-decor {
  position: absolute;
  right: 30%;
  top: 26%;
  width: 60px;
  height: 156px;
  background-image: radial-gradient(white 3px, transparent 3px);
  background-size: 15px 15px;
  opacity: 0.9;
  z-index: 0;
}

/* FOOTER */
.banner-footer {
  background: #003570;
  border-radius: 0 0 36px 36px;
  margin-top: 20px;
  position: relative;
  z-index: 999;
  padding: 10px 30px;
}

.banner-footer i {
  font-size: 16px;
}

.container-content {
  position: relative;
  z-index: 999;
}

/* Card */
.why-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  min-height: 160px;
  color: var(--color-navy);
  display: flex;
  flex-direction: column;

  align-items: center;
}

/* Icono circular */
.why-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-semibold);
  font-size: 20px;
}

/* ==== FAQ SECTION ==== */
.faq-section {
  background: #f5f7fa;
}

/* Caja de cada pregunta */
.faq-item {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e1e1e1;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Botón de pregunta */
.faq-question {
  background: none;
  border: none;
  padding: 0;
  font-size: var(--fs-section-paragraph);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  text-align: left;
  color: #004aad;
}

/* Icono */
.faq-icon {
  font-size: 1.3rem;
  color: var(--color-dark-blue);
  transition: transform 0.3s ease;
}

/* Respuesta */
.faq-answer {
  display: none;
  font-size: 1rem;
  color: #333;
}

/* Cuando está abierto */
.faq-item.open .faq-answer {
  display: block;
}
.faq-item.open {
  background: #d8edff;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

/* ==== FINAL SECTION ==== */
.final-section {
  background: #fff;
}

.final-section .section-text {
  font-size: var(--fs-section-paragraph);
  opacity: 0.85;
}

/* ====== CARD SUPERIOR ====== */
.top-card {
  background: #fff;
  border-radius: 40px;
  width: 85%;
  max-width: 900px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.icono-top {
  width: 75px;
  height: auto;
}

.top-card-text {
  font-size: var(--fs-section-paragraph);
  color: var(--color-navy);
  font-weight: var(--fw-semibold);
}

/* ====== PROGRAMAS LIST ====== */
.container-programas {
  background: #f8fafc;
}
.prog-item {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  border: 1px solid #e3e3e3;
}

.prog-item:hover {
  transform: translateY(-4px);
}

.prog-icon {
  width: 65px;
  height: 65px;
}

.prog-title {
  font-size: 20px;
  font-weight: var(--fw-semibold);
  color: var(--color-dark-blue);
}

.prog-desc {
  font-size: 15px;
  color: #1c2b45;
  opacity: 0.8;
}

/* ====== CARDS DE UBICACIONES ====== */

.agenda-section {
  background: #f7fafd;
}
.loc-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: 0.25s ease;
  color: var(--color-navy);
}

.loc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
  background: var(--color-navy);
  color: #fff;
}

/* Texto del card */
.loc-text {
  font-size: 16px;
  color: var(--color-navy);
  font-weight: 600;
}

/* Texto se vuelve blanco solo en hover */
.loc-card:hover .loc-text {
  color: #fff;
}

/* ====== CARD FINAL ====== */
.agenda-final-card {
  background: #ffffff;
  border-radius: 25px;
  width: 90%;
  max-width: 900px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.agenda-final-card > p {
  color: var(--color-navy);
  text-align: center;
  font-family: Anton;
  font-size: 30px !important;
  font-style: normal;
  font-weight: 400;
  line-height: 37px; /* 123.333% */
  letter-spacing: 0.4px;
}
.banner-pediatrica {
  z-index: 0;
}

/* BLOG */

/* ======================================================
   GRID PRINCIPAL (3 arriba, 2x2 + sidebar, luego 3 en 3)
====================================================== */
.parent {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 30px;
}

/* ----------- PRIMERA FILA (3 CARDS) ----------- */
.div1 {
  grid-area: 1 / 1 / 2 / 2;
}
.div2 {
  grid-area: 1 / 2 / 2 / 3;
}
.div3 {
  grid-area: 1 / 3 / 2 / 4;
}

/* ----------- SIDEBAR (3 filas de alto) ----------- */
.div4 {
  grid-area: 2 / 3 / 5 / 4;
}

/* ----------- FILAS JUNTO AL SIDEBAR (2x2) ----------- */
.div5 {
  grid-area: 2 / 1 / 3 / 2;
}
.div6 {
  grid-area: 2 / 2 / 3 / 3;
}

.div7 {
  grid-area: 3 / 1 / 4 / 2;
}
.div8 {
  grid-area: 3 / 2 / 4 / 3;
}

.div9 {
  grid-area: 4 / 1 / 5 / 2;
}
.div10 {
  grid-area: 4 / 2 / 5 / 3;
}

/* ----------- DESPUÉS DEL SIDEBAR (3 en 3 normal) ----------- */
.div11 {
  grid-area: 5 / 1 / 6 / 2;
}
.div12 {
  grid-area: 5 / 2 / 6 / 3;
}
.div13 {
  grid-area: 5 / 3 / 6 / 4;
}

.div14 {
  grid-area: 6 / 1 / 7 / 2;
}
.div15 {
  grid-area: 6 / 2 / 7 / 3;
}
.div16 {
  grid-area: 6 / 3 / 7 / 4;
}

/* ======================================================
   ESTILOS VISUALES DE LAS CARDS
====================================================== */
.post-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

  display: flex;
  flex-direction: column;
  min-height: 300px; /* altura consistente */
}

.post-card .post-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.post-content {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.post-category {
  font-size: 13px;
  color: #6a6a6a;
}

.post-title {
  margin: 5px 0;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
  color: #0b2f6a;
  text-transform: uppercase;
}

.post-date {
  font-size: 12px;
  color: #a0a0a0;
}

/* ======================================================
   SIDEBAR
====================================================== */
.sidebar-column {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.sidebar-box {
  background: #0b4fbf;
  padding: 30px 25px;
  border-radius: 28px;
  color: #ffffff;
  width: 100%;
  box-sizing: border-box;
}

.search-input {
  background: #ffffff !important;
  padding: 10px 18px !important;
  border-radius: 40px !important;
  display: flex !important;
  align-items: center !important;
  margin-bottom: 20px !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
}

.sidebar-subtitle {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-top: 5px;
  margin-bottom: 10px;
}

.sidebar-list {
  list-style: none;
  padding-left: 0;
}

.sidebar-list li {
  margin-bottom: 8px;
}

.sidebar-list a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.sidebar-list a:hover {
  text-decoration: underline;
}

/* BLOGS MÁS LEÍDOS */
.popular-card {
  display: flex;
  gap: 12px;
  background: white;
  padding: 10px;
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  align-items: center;
  margin-bottom: 15px;
}

.popular-thumb img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 15px;
}

.popular-title {
  font-size: 14px;
  font-weight: 700;
  color: #0b4fbf;
  margin-bottom: 3px;
}

/* ======================================================
   RESPONSIVE
====================================================== */

/* Tablet y abajo: todo en una columna (cards + sidebar) */
@media (max-width: 992px) {
  .parent {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .parent > div {
    /* cada card / sidebar se vuelve bloque normal */
    width: 100%;
    margin-bottom: 24px;
  }

  .post-card {
    min-height: auto; /* que crezcan según contenido */
  }
}

/* ============================
   CONTENEDOR GENERAL
============================ */
.single-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* ============================
   IMAGEN DESTACADA
============================ */
.single-featured-image img {
  width: 100%;
  border-radius: 22px;
  margin-bottom: 30px;
  height: 400px;
  object-fit: cover;
}

/* ============================
   TÍTULO
============================ */
.single-title {
  font-size: 34px;
  font-weight: 900;
  color: #0b2f6a;
  margin-bottom: 10px;
}

/* ============================
   META: autor / categoría / fecha
============================ */
.single-meta {
  display: flex;
  gap: 15px;
  font-size: 14px;
  margin-bottom: 25px;
}

.single-meta span {
  color: #7a7a7a;
}

/* ============================
   CONTENIDO
============================ */
.single-content p {
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
}

/* ============================
   COMPARTIR
============================ */
.single-share {
  margin-top: 25px;
  display: flex;
  gap: 12px;
  align-items: center;
  border-radius: 50px;
  background: #004aad;
  width: 50%;
  padding: 8px 30px;
}

.single-share span {
  font-weight: 600;
  color: #fff;
}

/* ============================
   TÍTULO "OTROS ARTÍCULOS"
============================ */
.single-related-title {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.single-related-title h2 {
  font-size: 22px;
  color: #0b2f6a;
  font-weight: 800;
}

.related-btn {
  background: #0b2f6a;
  padding: 10px 20px;
  border-radius: 40px;
  color: white;
  text-decoration: none;
  font-size: 14px;
}

/* ============================
   DESCRIPCIÓN BAJO EL TÍTULO
============================ */
.single-related-desc {
  color: #666;
  margin-bottom: 25px;
}

/* ============================
   GRID DE RELACIONADOS
============================ */
.related-grid {
  display: flex;
  gap: 30px;
}

.related-card {
  width: 33.33%;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

/* Imagen */
.related-img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* Texto */
.related-info {
  padding: 18px;
}

.related-category {
  font-size: 13px;
  color: #6a6a6a;
}

.related-title {
  margin: 6px 0;
  font-size: 16px;
  font-weight: 800;
  color: #0b2f6a;
}

.related-date {
  font-size: 12px;
  color: #a0a0a0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .benefit-main-card {
    text-align: start;
  }

  .benefit-doctor-img {
    height: 170px;
    right: 10%;
    transform: translateX(50%);
  }

  .benefit-bottom-area {
    justify-content: start;
  }

  .single-share {
    width: 100%;
    flex-direction: column;
  }

  .single-related-title {
    align-items: start;
    flex-direction: column;
  }

  .related-grid {
    flex-direction: column;
  }

  .related-card {
    width: 100%;
  }

  .hero-title-dark {
    font-size: 36px;

    line-height: normal;
  }
  .shape-ring-bold-banner-dark-top,
  .dots-banner-dark,
  .shape-ring-light-banner-dark,
  .shape-ring-bold-banner-dark,
  .shape-ring-bold-banner,
  .shape-ring-light-banner,
  .dots-banner,
  .shape-blob,
  .shape-ring-bold-banner,
  .shape-ring-bold-section-top-center,
  .shape-ring-bold-section-bottom-center,
  .shape-ring-bold-section-top-center,
  .doctor-absolute {
    display: none;
  }

  .w-65 {
    width: 100% !important;
  }
  .banner-footer {
    padding: 20px;
  }
}

@media (min-width: 1865px) {
  .doctor-wrap {
    position: absolute;
    right: -290px;
    bottom: -235px;
    width: min(861px, 130%);
    z-index: 1;
    filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.45));
  }
}

@media (min-width: 1924px) {
  .doctor-wrap {
    position: absolute;
    right: -290px;
    bottom: -335px;
    width: min(900px, 150%);
    z-index: 1;
    filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.45));
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .shape-ring-bold-banner-dark-top {
    left: -28%;
    top: -65%;
  }
  .doctor-absolute {
    right: -265px;
    top: 45px;
  }
} /* desktop */

@media (min-width: 1340px) {
  .doctor-wrap {
    position: absolute;
    right: -290px;
    bottom: -335px;
    width: min(900px, 150%);
    z-index: 1;
    filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.45));
  }

  .shape-ring-bold-banner-dark-top {
    left: -20%;
    top: -60%;
  }

  .doctor-absolute {
    right: -77px;
  }
} /* desktop grande */
@media (min-width: 1371px) {
  .doctor-absolute {
    right: -158px;
  }
}

@media (min-width: 1920px) {
  .doctor-wrap {
    position: absolute;
    right: -290px;
    bottom: -335px;
    width: min(900px, 150%);
    z-index: 1;
    filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.45));
  }

  .shape-ring-bold-banner-dark-top {
    left: -20%;
    top: -60%;
  }
} /* pantallas amplias */
