/*
 * SEO + GEO  
 */
.sg-page {
  --sg-primary: var(--careon-primary, #10567d);
  --sg-accent: var(--careon-secondary, #0ca2c1);
  --sg-ink: var(--careon-black, #101a29);
  --sg-muted: var(--careon-gray, #4d4e52);
  --sg-soft: #f4f8fb;
  --sg-radius: 22px;
} 
.sg-page .main-header {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  padding-top: 30px;
}
.sg-page .sg-breadcrumbs {
  position: relative;
  z-index: 2;
  padding: 18px 0;
  background: #f5f7fa;
  font-size: 14px;
  line-height: 22px;
}
.sg-page .sg-breadcrumbs__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sg-page .sg-breadcrumbs__list li:not(:first-child)::before {
  content: "/";
  color: #8b98a6;
  margin-right: 8px;
}
.sg-page .sg-breadcrumbs a { color: var(--sg-muted); }
.sg-page .sg-breadcrumbs [aria-current="page"] {
  font-weight: 700;
  color: var(--sg-ink);
}
.sg-page .sg-hero {
  position: relative;
  isolation: isolate;
  min-height: 770px;
  padding: 76px 0 80px;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--sg-primary);
}
.sg-page .sg-hero__image,
.sg-page .sg-hero__shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sg-page .sg-hero__image {
  object-fit: cover;
  object-position: center 34%;
}
.sg-page .sg-hero__shade {
  z-index: -1;
  background: linear-gradient(180deg, rgba(16,86,125,.72), rgba(13,44,74,.90));
}
.sg-page .sg-hero__inner { position: relative; }
.sg-page .sg-hero__title {
  max-width: 1060px;
  margin: 0 auto 26px;
  color: #fff;
  font-size: clamp(42px, 5.9vw, 80px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.15;
  text-wrap: balance;
}
.sg-page .sg-hero__intro {
  max-width: 970px;
  margin: 0 auto 28px;
  color: #fff;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 500;
}
.sg-page .sg-hero__intro a { color: #8fe8f7; text-decoration: none; }
.sg-page .sg-hero__intro a:hover { color: #fff; text-decoration: underline; }
.sg-page .sg-hero__doctor-card {
  max-width: 755px;
  margin: 28px auto 25px;
  padding: 24px 27px 20px;
  border-radius: 18px;
  background: #fff;
  color: var(--sg-muted);
  text-align: left;
  box-shadow: 0 14px 42px rgba(5, 28, 49, .15);
}
.sg-page .sg-hero__doctor-overview {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.sg-page .sg-hero__doctor-photo {
  display: block;
  height: 94px;
  width: 94px;
  max-width: none;
  object-fit: cover;
  object-position: center 29%;
  border-radius: 12px;
}
.sg-page .sg-hero__doctor-card h2 {
  margin: 0 0 8px;
  color: var(--sg-primary);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.35;
}
.sg-page .sg-hero__doctor-card p {
  margin: 0;
  color: var(--sg-muted);
  font-size: 14px;
  line-height: 1.7;
}
.sg-page .sg-hero__location {
  border-top: 1px solid #dde4ea;
  margin: 18px 0 0 !important;
  padding-top: 14px;
}
.sg-page .sg-hero__location i { color: var(--sg-primary); margin-right: 7px; }
.sg-page .sg-hero__location strong { color: var(--sg-primary); }
.sg-page .sg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.sg-page .sg-hero__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 208px;
  padding: 12px 23px;
  border-radius: 999px;
  border: 1px solid #fff;
  background: rgba(4, 27, 47, .68);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
}
.sg-page .sg-hero__action i { margin-right: 8px; }
.sg-page .sg-hero__action:hover { color: #fff; background: var(--sg-primary); }
.sg-page .sg-hero__action--whatsapp {
  border-color: #23ca68;
  background: #23ca68;
}
.sg-page .sg-hero__action--whatsapp:hover { background: #15ad56; }
.sg-page .sg-section {
  padding: 92px 0;
  position: relative;
  visibility: visible;
  opacity: 1;
}
.sg-page .sg-heading {
  margin: 0 0 24px;
  font-family: var(--careon-font, "Quicksand", sans-serif);
  color: var(--sg-ink);
  font-size: clamp(29px, 3.45vw, 48px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.sg-page .sg-section__header {
  max-width: 1120px;
  margin: 0 auto 48px;
  text-align: center;
}
.sg-page .sg-section__header .sg-heading { max-width: 1030px; margin-left: auto; margin-right: auto; }
.sg-page .sg-section p {
  color: var(--sg-muted);
  font-size: 15.5px;
  line-height: 1.95;
}
.sg-page .sg-body-copy { text-align: justify; }
.sg-page .sg-intro {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}
.sg-page .sg-section a { color: var(--sg-accent); }
.sg-page .sg-section a:hover { color: var(--sg-primary); }
.sg-page .sg-medico__row { row-gap: 36px; }
.sg-page .sg-medico__content { padding-right: 28px; }
.sg-page .sg-medico__photo-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 610px;
  background: #e9edf2;
}
.sg-page .sg-medico__photo-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.sg-page .sg-reviews { padding: 10px 0 90px; background: var(--sg-soft); }
.sg-page .sg-reviews__panel {
  border-radius: 25px;
  padding: 48px clamp(22px, 4vw, 60px);
  background: linear-gradient(115deg, #227ba1, var(--sg-primary) 65%, #0c3f69);
  box-shadow: 0 24px 44px rgba(16, 86, 125, .18);
  color: #fff;
  text-align: center;
}
.sg-page .sg-reviews__panel .sg-heading {
  color: #fff;
  max-width: 1200px;
  margin: 0 auto 20px;
}
.sg-page .sg-reviews__intro {
  color: #fff !important;
  max-width: 1140px;
  margin: 0 auto 30px;
}
.sg-page .sg-reviews__trustindex { max-width: 1120px; margin: 0 auto; }
.sg-page .sg-curriculum { background: #fff; }
.sg-page .sg-curriculum__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.sg-page .sg-curriculum__card,
.sg-page .sg-curriculum__more {
  border: 1px solid #e8eef3;
  border-radius: 18px;
  padding: 26px;
  background: #f8fbfd;
}
.sg-page .sg-curriculum__card > i {
  font-size: 28px;
  color: var(--sg-accent);
  margin-bottom: 14px;
}
.sg-page .sg-curriculum__card h3,
.sg-page .sg-curriculum__more h3 {
  font-size: 21px;
  line-height: 1.4;
  color: var(--sg-primary);
  font-weight: 800;
}
.sg-page .sg-curriculum__more {
  margin: 24px auto 0;
  max-width: 990px;
}
.sg-page .sg-curriculum__more ul {
  margin: 12px 0 0;
  padding-left: 21px;
  columns: 2;
  column-gap: 42px;
}
.sg-page .sg-curriculum__more li {
  line-height: 1.9;
  break-inside: avoid;
  margin-bottom: 7px;
}
.sg-page .sg-enfermedades { background: #f5f8fb; }
.sg-page .sg-enfermedades__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.sg-page .sg-enfermedades__item {
  position: relative;
  padding: 30px 26px 27px;
  background: #fff;
  border: 1px solid #e3edf3;
  border-radius: 16px;
  box-shadow: 0 7px 25px rgba(16, 86, 125, .05);
  border-top: 4px solid var(--sg-primary);
}
.sg-page .sg-enfermedades__number {
  display: block;
  margin-bottom: 14px;
  color: var(--sg-accent);
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
}
.sg-page .sg-enfermedades__item h3,
.sg-page .sg-tratamientos__item h3 {
  margin: 0 0 15px;
  color: var(--sg-ink);
  font-size: 21px;
  line-height: 1.38;
  font-weight: 800;
}
.sg-page .sg-enfermedades__item p,
.sg-page .sg-tratamientos__item p { margin: 0; text-align: justify; }
.sg-page .sg-tratamientos {
  background: linear-gradient(180deg, #eef6fb 0%, #f9fcff 100%);
}
.sg-page .sg-tratamientos__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.sg-page .sg-tratamientos__item {
  overflow: hidden;
  background: #fff;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 12px 28px rgba(19, 60, 90, .10);
  border-left: 3px solid var(--sg-primary);
}
.sg-page .sg-tratamientos__media {
  position: relative;
  overflow: hidden;
  height: 238px;
  background: var(--sg-primary);
}
.sg-page .sg-tratamientos__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,86,125,.04), rgba(6,57,105,.74));
  pointer-events: none;
}
.sg-page .sg-tratamientos__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sg-page .sg-tratamientos__number {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
}
.sg-page .sg-tratamientos__icon {
  position: absolute;
  right: 17px;
  bottom: 17px;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 21px;
}
.sg-page .sg-tratamientos__content {
  padding: 27px 25px 32px;
  min-height: 260px;
}
.sg-page .sg-tratamientos__item h3 a { color: var(--sg-ink); }
.sg-page .sg-info { background: #fff; }
.sg-page .sg-info__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.sg-page .sg-info__item { padding: 0 0 24px; border-bottom: 1px solid #eef2f5; }
.sg-page .sg-info__item:last-child { border-bottom: 0; }
.sg-page .sg-info__item h3 {
  color: var(--sg-ink);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 19px;
}
.sg-page .sg-info__item p { margin: 0; }
.sg-page .sg-faq { background: var(--sg-soft); }
.sg-page .sg-faq__row { row-gap: 38px; }
.sg-page .sg-faq__heading { position: sticky; top: 110px; }
.sg-page .sg-faq__heading .sg-heading {
  font-size: clamp(28px, 2.7vw, 40px);
}
.sg-page .sg-faq__list { display: grid; gap: 12px; }
.sg-page .sg-faq__item {
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e5edf3;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(10, 60, 92, .045);
}
.sg-page .sg-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 21px 22px;
  display: flex;
  gap: 17px;
  align-items: center;
  color: var(--sg-ink);
}
.sg-page .sg-faq__item summary::-webkit-details-marker { display: none; }
.sg-page .sg-faq__number {
  flex: 0 0 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--sg-primary);
  font-size: 15px;
  font-weight: 800;
}
.sg-page .sg-faq__item h3 {
  flex: 1 1 auto;
  margin: 0;
  font-size: 19px;
  line-height: 1.45;
  color: inherit;
  font-weight: 800;
}
.sg-page .sg-faq__toggle { color: var(--sg-accent); font-size: 16px; }
.sg-page .sg-faq__item[open] .sg-faq__toggle { transform: rotate(45deg); }
.sg-page .sg-faq__answer { padding: 0 24px 24px 81px; }
.sg-page .sg-faq__answer p { margin: 0; }
.sg-page .sg-contacto { background: #fff; }
.sg-page .sg-contacto__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.sg-page .sg-contacto__card {
  min-height: 210px;
  padding: 30px;
  border-radius: 19px;
  background: #f5f9fc;
  border: 1px solid #e4edf4;
  text-align: center;
}
.sg-page .sg-contacto__icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--sg-primary);
  color: #fff;
  font-size: 26px;
  margin-bottom: 15px;
}
.sg-page .sg-contacto__card h3 {
  font-size: 23px;
  font-weight: 800;
  color: var(--sg-ink);
  margin: 0 0 8px;
}
.sg-page .sg-contacto__card a {
  font-size: 15px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
/* Sin animaciones de aparición ni contenido esperando a JavaScript. */
.sg-page .sg-section .wow,
.sg-page .sg-section [data-aos],
.sg-page .sg-hero .wow {
  visibility: visible !important;
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
}
@media (max-width: 991.98px) {
  .sg-page .sg-section { padding: 70px 0; }
  .sg-page .sg-medico__content { padding-right: 0; }
  .sg-page .sg-medico__photo-wrap { height: 480px; }
  .sg-page .sg-enfermedades__grid,
  .sg-page .sg-tratamientos__grid,
  .sg-page .sg-curriculum__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-page .sg-faq__heading { position: static; }
  .sg-page .sg-hero { min-height: 680px; padding: 65px 0; }
}
@media (max-width: 767.98px) {
  .sg-page .main-header { padding-top: 14px; }
  .sg-page .sg-breadcrumbs { padding: 14px 0; }
  .sg-page .sg-hero { min-height: auto; padding: 60px 0; }
  .sg-page .sg-hero__title { font-size: clamp(35px, 8vw, 52px); }
  .sg-page .sg-hero__intro { font-size: 14px; }
  .sg-page .sg-hero__doctor-card { padding: 19px; }
  .sg-page .sg-hero__doctor-overview { grid-template-columns: 72px 1fr; gap: 13px; }
  .sg-page .sg-hero__doctor-photo { width: 72px; height: 72px; }
  .sg-page .sg-hero__doctor-card h2 { font-size: 19px; }
  .sg-page .sg-hero__actions { flex-direction: column; align-items: stretch; }
  .sg-page .sg-hero__action { width: 100%; }
  .sg-page .sg-medico__photo-wrap { height: 390px; }
  .sg-page .sg-enfermedades__grid,
  .sg-page .sg-tratamientos__grid,
  .sg-page .sg-curriculum__grid,
  .sg-page .sg-contacto__grid { grid-template-columns: 1fr; }
  .sg-page .sg-curriculum__more ul { columns: 1; }
  .sg-page .sg-section__header { margin-bottom: 32px; }
  .sg-page .sg-info__items { gap: 28px; }
  .sg-page .sg-info__item h3 { font-size: 20px; }
  .sg-page .sg-reviews__panel { padding: 35px 22px; }
  .sg-page .sg-faq__item summary { padding: 16px; gap: 12px; }
  .sg-page .sg-faq__item h3 { font-size: 16px; }
  .sg-page .sg-faq__answer { padding: 0 18px 20px 72px; }
}
