/* SEO/GEO */
body.seo-geo-page {
  --sg-primary: var(--careon-black, #c64342);
  --sg-secondary: var(--careon-base, #98696f);
  --sg-paper: var(--careon-primary, #fff6f5);
  --sg-cream: var(--careon-extra, #fdf5f5);
  --sg-ink: #342d30;
  --sg-muted: #66575c;
  color: var(--sg-ink);
  font-family: var(--careon-font, Roboto, sans-serif);
  font-size: 16px;
  line-height: 1.65;
}
.seo-geo-page *, .seo-geo-page *::before, .seo-geo-page *::after { box-sizing: border-box; }
.seo-geo-page .page-wrapper { overflow: clip; }
.seo-geo-page .sg-container { width: 100%; max-width: 1220px; padding-inline: 24px; margin-inline: auto; }

/* Barra informativa: rosa/malva propio de la marca. */
.seo-geo-page .sg-topbar { background: var(--sg-secondary); color: #fff; min-height: 38px; font-size: 13px; line-height: 1.45; }
.seo-geo-page .sg-topbar .sg-container { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.seo-geo-page .sg-topbar__item { min-width: 0; display: inline-flex; align-items: center; gap: 8px; }
.seo-geo-page .sg-topbar__item i { flex: none; font-size: 13px; }
.seo-geo-page .sg-topbar__item span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seo-geo-page .sg-topbar a { color: #fff; text-decoration: none; }

/* Header REAL del sitio. Se conserva logo, menús, botones, sombras y estilo. */
.seo-geo-page .main-header { width: 100%; position: relative; top: auto; left: auto; right: auto; z-index: 200; background: #fff; }
.seo-geo-page .main-menu__wrapper { background: #fff; }
.seo-geo-page .main-header .container { width: 100%; max-width: 1220px; padding-inline: 24px; }
.seo-geo-page .main-header .main-menu__wrapper-inner { min-height: 112px; gap: 16px; }
.seo-geo-page .main-header .main-menu__logo img { width: 200px; max-width: 100%; height: auto; object-fit: contain; }
.seo-geo-page .main-menu .main-menu__list > li > a { font-size: 15px; font-weight: 600; }
.seo-geo-page .main-menu__thm-btn .thm-btn { font-size: 15px; padding: 15px 24px; }

.seo-geo-page .sg-breadcrumb { background: var(--sg-cream); border-bottom: 1px solid #f2e0e2; min-height: 48px; display: flex; align-items: center; color: var(--sg-muted); font-size: 14px; line-height: 1.5; }
.seo-geo-page .sg-breadcrumb .sg-container { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding-block: 12px; }
.seo-geo-page .sg-breadcrumb a { color: var(--sg-primary); text-decoration: none; font-weight: 700; }
.seo-geo-page .sg-breadcrumb__current { color: #49363c; font-weight: 600; overflow-wrap: anywhere; }

/* Misma composición que la referencia, pero con tonos y fotografía del sitio. */
.seo-geo-page .sg-hero {
  position: relative;
  background-image: linear-gradient(110deg, rgba(74, 32, 38, .85), rgba(104, 46, 54, .80)), url('../images/backgrounds/top-nutriologa-materno-infantil-en-juriquilla-queretaro.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 76px 24px 84px;
}
.seo-geo-page .sg-hero__inner { max-width: 1050px; margin-inline: auto; }
.seo-geo-page .sg-hero h1 { margin: 0 auto 25px; max-width: 1050px; font-size: clamp(40px, 4.7vw, 64px); font-weight: 800; letter-spacing: -.02em; line-height: 1.14; color: #fff; overflow-wrap: break-word; text-wrap: balance; }
.seo-geo-page .sg-hero__intro { max-width: 830px; margin: 0 auto 30px; font-size: 16px; line-height: 1.77; font-weight: 400; color: #fff7f7; }
.seo-geo-page .sg-hero__intro p { font-size: inherit; line-height: inherit; margin: 0 0 11px; color: inherit; }
.seo-geo-page .sg-hero__intro strong { color: #fff; font-weight: 800; }
.seo-geo-page .sg-hero__intro a { color: #ffe3c8; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.seo-geo-page .sg-hero__intro a:hover { color: #fff; }

.seo-geo-page .sg-hero__card { width: min(100%, 670px); margin: 0 auto; background: #fffdfd; border: 1px solid #f6e5e6; box-shadow: 0 16px 43px rgba(47, 14, 20, .22); border-radius: 17px; padding: 24px 26px 20px; text-align: left; color: var(--sg-ink); }
.seo-geo-page .sg-hero__card-main { display: grid; grid-template-columns: 86px minmax(0, 1fr); align-items: start; gap: 18px; }
.seo-geo-page .sg-hero__portrait { display: block; width: 86px; height: 86px; border-radius: 10px; object-fit: cover; object-position: center 25%; }
.seo-geo-page .sg-hero__card h2 { margin: 0 0 9px; color: var(--sg-primary); font-size: 19px; line-height: 1.35; font-weight: 800; letter-spacing: 0; }
.seo-geo-page .sg-hero__card-main p { color: #574c50; font-size: 14.5px; line-height: 1.65; margin: 0; }
.seo-geo-page .sg-hero__card-main strong { color: var(--sg-primary); font-weight: 800; }
.seo-geo-page .sg-hero__location { display: flex; align-items: flex-start; gap: 10px; border-top: 1px solid #f1dfe1; padding-top: 16px; margin-top: 19px; color: #5b4a51; font-size: 13.5px; line-height: 1.62; }
.seo-geo-page .sg-hero__location i { color: var(--sg-primary); font-size: 15px; margin-top: 4px; }
.seo-geo-page .sg-hero__location strong { color: #6f3037; }
.seo-geo-page .sg-hero__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 13px; margin-top: 25px; }
.seo-geo-page .sg-hero__cta a { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: 30px; color: #fff; text-decoration: none; font-size: 15px; line-height: 1.25; font-weight: 700; cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease; }
.seo-geo-page .sg-hero__cta a:hover { box-shadow: 0 5px 20px rgba(0,0,0,.18); color: #fff; }
.seo-geo-page .sg-hero__cta .sg-btn--phone { background: var(--sg-primary); border: 1px solid #e4a0a2; }
.seo-geo-page .sg-hero__cta .sg-btn--wa { background: var(--color4, #00a848); border: 1px solid #5bba87; }

/* Contenidos SEO/GEO: dimensiones normales y paleta heredada. */
.seo-geo-page .sg-section { padding: 80px 0; background: #fff; }
.seo-geo-page .sg-section:nth-of-type(even) { background: var(--sg-cream); }
.seo-geo-page .sg-section__heading { max-width: 1020px; font-size: clamp(28px, 3vw, 39px); font-weight: 800; line-height: 1.25; margin: 0 0 23px; color: #713238; text-wrap: pretty; }
.seo-geo-page .sg-section__intro { max-width: 1020px; color: var(--sg-muted); font-size: 16px; line-height: 1.85; margin: 0 0 30px; }
.seo-geo-page .sg-section__intro a, .seo-geo-page .sg-prose a, .seo-geo-page .sg-card a { color: var(--sg-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.seo-geo-page .sg-section__intro strong, .seo-geo-page .sg-prose strong, .seo-geo-page .sg-card strong { color: #692c35; font-weight: 750; }
.seo-geo-page .sg-medico-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 48px; align-items: center; }
.seo-geo-page .sg-prose { font-size: 16px; line-height: 1.85; color: var(--sg-muted); }
.seo-geo-page .sg-prose p { margin: 0 0 17px; }
.seo-geo-page .sg-medico__image { display: block; width: 100%; max-height: 460px; aspect-ratio: 4 / 3; border-radius: 20px; object-fit: cover; box-shadow: 0 14px 36px rgba(75,30,40,.1); }
.seo-geo-page .sg-small-list { margin: 15px 0 0; padding-left: 24px; color: #5d4a51; line-height: 1.85; font-size: 16px; }
.seo-geo-page .sg-section--reviews .sg-container { max-width: 1220px; }
.seo-geo-page .sg-trustindex { width: 100%; max-width: none; margin-top: 25px; }
.seo-geo-page .sg-trustindex > * { width: 100%; max-width: none; }
.seo-geo-page .sg-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; }
.seo-geo-page .sg-card { height: 100%; padding: 27px; border-radius: 16px; background: #fff; border: 1px solid #efdee1; box-shadow: 0 7px 22px rgba(79,33,41,.04); }
.seo-geo-page .sg-card h3 { color: #7a363e; font-size: 20px; font-weight: 800; line-height: 1.35; margin: 0 0 12px; }
.seo-geo-page .sg-card p { color: var(--sg-muted); font-size: 15.5px; line-height: 1.78; margin: 0; }
.seo-geo-page .sg-card--curriculum { background: #fffafa; }
.seo-geo-page .sg-card--curriculum i { display: block; color: var(--sg-primary); font-size: 23px; margin-bottom: 14px; }
.seo-geo-page .sg-subheading { font-size: 23px; color: #74343b; margin: 32px 0 16px; }
.seo-geo-page .sg-questions { display: grid; gap: 15px; }
.seo-geo-page .sg-question { background: #fff; border: 1px solid #efdee1; border-left: 4px solid var(--sg-primary); border-radius: 12px; padding: 23px 27px; }
.seo-geo-page .sg-question h3 { color: #73333b; font-size: 19px; font-weight: 750; line-height: 1.42; margin: 0 0 10px; }
.seo-geo-page .sg-question p { color: var(--sg-muted); font-size: 15.5px; line-height: 1.78; margin: 0; }
.seo-geo-page .sg-faq { display: grid; gap: 13px; }
.seo-geo-page .sg-faq details { border: 1px solid #efdce0; background: #fff; border-radius: 12px; padding: 0; overflow: hidden; }
.seo-geo-page .sg-faq summary { display: block; cursor: pointer; position: relative; padding: 22px 56px 22px 25px; color: #75353c; font-size: 17px; font-weight: 750; }
.seo-geo-page .sg-faq summary::-webkit-details-marker { display: none; }
.seo-geo-page .sg-faq summary::after { content: '+'; position: absolute; right: 21px; top: 50%; transform: translateY(-50%); color: var(--sg-primary); font-size: 25px; font-weight: 400; }
.seo-geo-page .sg-faq details[open] summary::after { content: '−'; }
.seo-geo-page .sg-faq summary h3 { font: inherit; color: inherit; margin: 0; }
.seo-geo-page .sg-faq__answer { padding: 0 25px 22px; font-size: 15.5px; line-height: 1.8; color: var(--sg-muted); }
.seo-geo-page .sg-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.seo-geo-page .sg-contact-card { padding: 27px; min-width: 0; border-radius: 16px; border: 1px solid #efdce0; background: #fff; box-shadow: 0 7px 22px rgba(79,33,41,.045); }
.seo-geo-page .sg-contact-card i { color: var(--sg-primary); font-size: 23px; }
.seo-geo-page .sg-contact-card h3 { color: #73333b; margin: 16px 0 9px; font-size: 20px; font-weight: 750; }
.seo-geo-page .sg-contact-card p { margin: 0; overflow-wrap: anywhere; font-size: 15.5px; line-height: 1.7; }
.seo-geo-page .sg-contact-card a { color: var(--sg-primary); text-decoration: underline; text-underline-offset: 3px; }
.seo-geo-page .sg-contact-card a[data-type] { cursor: pointer; }

/* Evitar que el estilo móvil del tema reduzca el menú en escritorio medio. */
@media (min-width: 820px) {
  .seo-geo-page .main-header .main-menu__main-menu-box .main-menu__list { display: flex !important; align-items: center; }
  .seo-geo-page .main-header .main-menu__main-menu-box .mobile-nav__toggler { display: none !important; }
  .seo-geo-page .main-header .main-menu__list > li + li { margin-left: 18px; }
}
/* Conserva los botones de contacto del banner; evita duplicación de barras flotantes. */
.seo-geo-page .contacto, .seo-geo-page .mobile-buttons, .seo-geo-page a.fullwidth { display: none !important; }
/* No esconder títulos ni contenido con animaciones de entrada. */
.seo-geo-page .sg-section *, .seo-geo-page .sg-hero * { animation: none !important; opacity: 1; visibility: visible; }

@media (max-width: 1199px) {
  .seo-geo-page .main-header .main-menu__wrapper-inner { min-height: 96px; }
}
@media (max-width: 819px) {
  .seo-geo-page .main-header .main-menu__main-menu-box .mobile-nav__toggler { display: inline-block; }
  .seo-geo-page .main-header .main-menu__list { display: none; }
  .seo-geo-page .main-header .main-menu__main-menu-box { margin-left: auto; flex: 0 0 44px; }
  .seo-geo-page .main-header .main-menu__main-menu-box > .mobile-nav__toggler { width: 44px; height: 44px; display: flex !important; align-items: center; justify-content: center; color: var(--sg-primary); font-size: 0; }
  .seo-geo-page .main-header .main-menu__main-menu-box > .mobile-nav__toggler i { display: none; }
  .seo-geo-page .main-header .main-menu__main-menu-box > .mobile-nav__toggler::before { content: '☰'; font: bold 26px/1 Arial, sans-serif; }
}
@media (max-width: 767px) {
  .seo-geo-page .sg-container { padding-inline: 17px; }
  .seo-geo-page .sg-topbar .sg-container { min-height: 37px; justify-content: center; }
  .seo-geo-page .sg-topbar__item:not(:first-child) { display: none; }
  .seo-geo-page .main-header .container { padding-inline: 16px; }
  .seo-geo-page .main-header .main-menu__wrapper-inner { min-height: 82px; padding-inline: 14px; }
  .seo-geo-page .main-header .main-menu__logo img { width: 165px; }
  .seo-geo-page .main-header .main-menu__thm-btn { display: none; }
  .seo-geo-page .sg-breadcrumb { font-size: 12px; }
  .seo-geo-page .sg-hero { padding: 48px 16px 58px; }
  .seo-geo-page .sg-hero h1 { font-size: clamp(30px, 7.2vw, 42px); line-height: 1.15; margin-bottom: 22px; }
  .seo-geo-page .sg-hero__intro { font-size: 15px; line-height: 1.7; margin-bottom: 23px; }
  .seo-geo-page .sg-hero__card { padding: 18px; }
  .seo-geo-page .sg-hero__card-main { grid-template-columns: 66px minmax(0, 1fr); gap: 12px; }
  .seo-geo-page .sg-hero__portrait { width: 66px; height: 66px; }
  .seo-geo-page .sg-hero__card h2 { font-size: 16px; }
  .seo-geo-page .sg-hero__card-main p { font-size: 13.5px; }
  .seo-geo-page .sg-hero__location { font-size: 13px; }
  .seo-geo-page .sg-hero__cta a { font-size: 14px; min-height: 46px; padding: 12px 17px; }
  .seo-geo-page .sg-section { padding: 54px 0; }
  .seo-geo-page .sg-medico-grid { grid-template-columns: 1fr; gap: 24px; }
  .seo-geo-page .sg-card-grid, .seo-geo-page .sg-contact-grid { grid-template-columns: 1fr; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .seo-geo-page .sg-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-geo-page .sg-medico-grid { gap: 27px; }
}
