/* Plantillas SEO/GEO. */
.sg-page {
  --sg-primary: #008199;
  --sg-accent: #00aad1;
  --sg-dark: #10252e;
  --sg-muted: #52646b;
  --sg-pale: #eafdff;
  --sg-white: #ffffff;
  font-family: "Roboto", Arial, sans-serif;
  color: var(--sg-dark);
}
.sg-page .sg-shell {
  width: min(100% - 48px, 1270px);
  margin-inline: auto;
}
.sg-page .sg-section {
  padding: 88px 0;
  position: relative;
  clear: both;
  background: #fff;
}
.sg-page .sg-section:nth-of-type(even) {
  background: #f6fbfc;
}
.sg-page .sg-section h2 {
  font-size: clamp(29px, 3.25vw, 43px);
  line-height: 1.19;
  font-weight: 800;
  letter-spacing: -.025em;
  margin: 0 0 29px;
  color: var(--sg-dark);
}
.sg-page .sg-section h3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.38;
  margin: 0 0 15px;
  color: var(--sg-dark);
}
.sg-page .sg-section p,
.sg-page .sg-profile p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--sg-muted);
  margin-bottom: 18px;
}
.sg-page .sg-section a {
  color: var(--sg-primary);
  text-decoration: none;
}
.sg-page .sg-section a:hover,
.sg-page .sg-section a:focus-visible {
  color: var(--sg-accent);
}
.sg-page .sg-section strong {
  font-weight: 800;
  color: var(--sg-dark);
}
.sg-page .sg-center {
  max-width: 980px;
  margin-inline: auto !important;
  text-align: center;
}
.sg-page .sg-section__intro {
  max-width: 1100px;
  margin: 0 auto 35px !important;
  text-align: center;
}
.sg-page .sg-breadcrumb {
  padding: 18px 0;
  background: #f2f7fa;
  font-size: 14px;
  line-height: 1.45;
  color: #263944;
}
.sg-page .sg-breadcrumb .container {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.sg-page .sg-breadcrumb a { color: #64747e; }
.sg-page .sg-breadcrumb [aria-current=page] { font-weight: 700; }
.sg-page .sg-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  text-align: center;
  padding: 76px 0 84px;
  background: linear-gradient(135deg,rgba(4,55,71,.87),rgba(4,55,71,.80)),var(--sg-background) center/cover no-repeat;
}
.sg-page .sg-hero h1 {
  max-width: 1090px;
  margin: 0 auto 32px;
  color: #fff;
  font-size: clamp(39px, 5.6vw, 74px);
  font-weight: 900;
  line-height: 1.13;
  letter-spacing: -.035em;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}
.sg-page .sg-hero__description {
  width: min(100%, 1000px);
  margin: 0 auto;
}
.sg-page .sg-hero__description p {
  color: #f3fbff;
  font-size: 16px;
  line-height: 1.87;
  font-weight: 500;
  margin-bottom: 16px;
}
.sg-page .sg-hero__description a {
  color: #abedf9;
  font-weight: 800;
}
.sg-page .sg-hero__description strong { color: #fff; }
.sg-page .sg-profile {
  max-width: 795px;
  margin: 35px auto 0;
  padding: 27px 32px 30px;
  background: #fff;
  border-radius: 19px;
  text-align: left;
  box-shadow: 0 20px 55px rgba(3,38,55,.22);
}
.sg-page .sg-profile__top {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  align-items: start;
}
.sg-page .sg-profile__top img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e5f9fb;
  background: #f4fbfc;
}
.sg-page .sg-profile h2 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 9px;
  color: var(--sg-primary);
}
.sg-page .sg-profile p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}
.sg-page .sg-profile__address {
  border-top: 1px solid #e1edf0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 17px;
  margin-top: 17px;
  color: var(--sg-muted);
  font-size: 14px;
  line-height: 1.6;
}
.sg-page .sg-profile__address i {
  color: var(--sg-primary);
  margin-top: 4px;
}
.sg-page .sg-profile__address strong,
.sg-page .sg-profile__address span { display: block; }
.sg-page .sg-profile__address strong { color: var(--sg-dark); }
.sg-page .sg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.sg-page .sg-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 9px;
  padding: 13px 23px;
  font-weight: 700;
  font-size: 14px;
  color: #fff !important;
  background: var(--sg-primary);
}
.sg-page .sg-button--wa { background: #20bb65; }
.sg-page .sg-button:hover { filter: brightness(.92); }
.sg-page .sg-medico__grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(35px,6vw,85px);
  align-items: center;
}
.sg-page .sg-medico__copy h2 { text-align: left; }
.sg-page .sg-medico__image {
  margin: 0;
  border-radius: 23px;
  overflow: hidden;
  min-height: 380px;
  box-shadow: 0 16px 45px rgba(4,76,100,.11);
}
.sg-page .sg-medico__image img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 570px;
  object-fit: cover;
}
.sg-page .sg-credentials {
  padding-left: 20px;
  color: var(--sg-muted);
}
.sg-page .sg-reviews {
  padding: 18px 0 75px;
  background: #f0fbfe !important;
}
.sg-page .sg-reviews__panel {
  padding: 58px 62px;
  border-radius: 25px;
  background: linear-gradient(120deg,#00aeca 0%,#008199 50%,#00618d 100%);
  box-shadow: 0 14px 40px rgba(0,129,153,.13);
  text-align: center;
}
.sg-page .sg-reviews h2,
.sg-page .sg-reviews p { color: #fff; }
.sg-page .sg-reviews__panel h2 {
  margin-inline: auto;
  max-width: 850px;
}
.sg-page .sg-reviews p { max-width: 1150px; margin-inline: auto; }
.sg-page .sg-reviews__widget { text-align: left; }
.sg-page .sg-grid {
  display: grid;
  gap: 24px;
}
.sg-page .sg-grid--three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.sg-page .sg-tile {
  background: #fff;
  border: 1px solid #e2f0f3;
  border-radius: 17px;
  box-shadow: 0 12px 31px rgba(20,71,85,.06);
  padding: 34px 27px;
  min-width: 0;
}
.sg-page .sg-tile__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #e8faff;
  color: var(--sg-primary);
  font-size: 23px;
  margin-bottom: 21px;
}
.sg-page .sg-tile p { margin-bottom: 0; }
.sg-page .sg-info-box {
  margin: 32px auto 0;
  padding: 31px 38px;
  border: 1px solid #e2eef0;
  border-radius: 16px;
  background: #fff;
  max-width: 1000px;
}
.sg-page .sg-info-box h3 { margin-bottom: 18px; }
.sg-page .sg-info-box ul { margin: 0; padding-left: 23px; }
.sg-page .sg-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.sg-page .sg-badges span {
  border: 1px solid #c4eaf2;
  background: #eafaff;
  padding: 11px 17px;
  border-radius: 999px;
  color: #17647b;
  font-weight: 700;
  font-size: 14px;
}
.sg-page .sg-treatment {
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #dff0f3;
  box-shadow: 0 12px 35px rgba(20,71,85,.06);
}
.sg-page .sg-treatment__image {
  height: 210px;
  position: relative;
  overflow: hidden;
}
.sg-page .sg-treatment__image img { width:100%; height:100%; object-fit: cover; }
.sg-page .sg-treatment__image span {
  position: absolute;
  left: 22px;
  bottom: 0;
  background: var(--sg-primary);
  color: #fff;
  padding: 10px 17px;
  border-radius: 8px 8px 0 0;
  font-weight: 800;
}
.sg-page .sg-treatment__body { padding: 29px 26px; }
.sg-page .sg-treatment__body h3 a { color: inherit; }
.sg-page .sg-treatment__body p { margin-bottom: 13px; }
.sg-page .sg-more { font-weight: 800; }
.sg-page .sg-geo { background: #fff !important; }
.sg-page .sg-geo__list { margin-top: 32px; }
.sg-page .sg-geo__item {
  border-bottom: 1px solid #e3ebee;
  padding: 28px 0 26px;
}
.sg-page .sg-geo__item:first-child { border-top: 1px solid #e3ebee; }
.sg-page .sg-geo__item h3 { font-size: 21px; margin-bottom: 13px; }
.sg-page .sg-geo__item p { margin-bottom: 0; }
.sg-page .sg-faq { background: #f5fafb !important; }
.sg-page .sg-faq__items { max-width: 1060px; margin: 36px auto 0; }
.sg-page .sg-faq__item {
  margin-bottom: 13px;
  background: #fff;
  border: 1px solid #e5eef1;
  border-radius: 12px;
  overflow: hidden;
}
.sg-page .sg-faq__item summary {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  padding: 22px 25px;
  cursor: pointer;
}
.sg-page .sg-faq__item summary::-webkit-details-marker { display: none; }
.sg-page .sg-faq__item summary h3 {
  flex: 1;
  margin: 0;
  font-size: 18px;
}
.sg-page .sg-faq__number {
  color: var(--sg-accent);
  font-size: 17px;
  font-weight: 800;
}
.sg-page .sg-faq__plus { color: var(--sg-primary); transition: none; }
.sg-page .sg-faq__item[open] .sg-faq__plus { transform: rotate(45deg); }
.sg-page .sg-faq__item[open] summary { background: #ecfbff; }
.sg-page .sg-faq__answer { padding: 5px 28px 22px 65px; }
.sg-page .sg-faq__answer p { margin: 0; }
.sg-page .sg-contact__card {
  text-align: center;
  padding: 36px 26px;
  background: #fff;
  border: 1px solid #e0eff1;
  border-radius: 18px;
  box-shadow: 0 13px 30px rgba(0,80,101,.07);
  overflow-wrap: anywhere;
}
.sg-page .sg-contact__icon {
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #fff;
  background: var(--sg-primary);
  font-size: 27px;
}
.sg-page .sg-contact__card p { min-height: 68px; }
.sg-page .sg-contact__card a { font-weight: 800; }
/* El pie existente incluye otro CTA; se oculta solo en estas páginas para evitar contacto duplicado. */
.sg-page .site-footer__newsletter { display: none !important; }
/* No esperar a JS de animaciones para mostrar textos o imágenes SEO/GEO. */
.sg-page .sg-hero *,
.sg-page .sg-section *,
.sg-page .wow,
.sg-page [data-aos] {
  animation: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.sg-page .sg-section [data-aos],
.sg-page .sg-section .wow { transform: none !important; }
@media (max-width: 991px) {
  .sg-page .sg-section { padding: 66px 0; }
  .sg-page .sg-grid--three { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sg-page .sg-medico__grid { gap: 28px; }
  .sg-page .sg-reviews__panel { padding: 42px 32px; }
}
@media (max-width: 767px) {
  .sg-page .sg-shell { width: min(100% - 30px, 1270px); }
  .sg-page .sg-breadcrumb { padding: 13px 0; font-size: 12px; }
  .sg-page .sg-hero { padding: 60px 0 68px; }
  .sg-page .sg-hero h1 { font-size: clamp(32px,9vw,47px); line-height: 1.18; }
  .sg-page .sg-hero__description p { font-size: 14px; }
  .sg-page .sg-profile { padding: 22px 20px; }
  .sg-page .sg-profile__top { grid-template-columns: 72px 1fr; gap: 13px; }
  .sg-page .sg-profile__top img { width: 72px; height: 72px; }
  .sg-page .sg-profile h2 { font-size: 19px; }
  .sg-page .sg-actions { display: grid; }
  .sg-page .sg-section h2 { font-size: 29px; }
  .sg-page .sg-medico__grid,
  .sg-page .sg-grid--three { grid-template-columns: 1fr; }
  .sg-page .sg-medico__image, .sg-page .sg-medico__image img { min-height: 260px; }
  .sg-page .sg-geo__item h3 { font-size: 18px; }
  .sg-page .sg-faq__item summary { padding: 18px 17px; gap: 11px; }
  .sg-page .sg-faq__item summary h3 { font-size: 16px; }
  .sg-page .sg-faq__answer { padding: 5px 18px 19px; }
  .sg-page .sg-reviews__panel { padding: 38px 20px; }
}
