/* SEO / blog estáticos — misma línea visual que SchoolPresentationPage (.sp) */

.sp.seo-page,
body.seo-page.sp {
  --ink: #102033;
  --muted: #4c5d6b;
  --navy: #071828;
  --green: #0e8f62;
  --cream: #f3f6f4;
  --line: rgba(16, 32, 51, 0.1);
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Manrope, 'Segoe UI', sans-serif;
  line-height: 1.55;
  overflow-x: clip;
}

.sp.seo-page *,
body.seo-page.sp * {
  box-sizing: border-box;
}

.sp.seo-page h1,
.sp.seo-page h2,
.sp.seo-page h3,
body.seo-page.sp h1,
body.seo-page.sp h2,
body.seo-page.sp h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.sp-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.sp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  text-decoration: none;
}

.sp-brand__mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
  mix-blend-mode: lighten;
}

.sp-brand--compact .sp-brand__mark {
  width: 38px;
  height: 38px;
}

.sp-brand__word {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.sp-brand__gio {
  color: #3dff9a;
}

.sp-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.35rem;
  padding: 0.75rem 1.25rem;
  background: rgba(7, 24, 40, 0.94);
  backdrop-filter: blur(12px);
}

.sp-nav__brand {
  flex-shrink: 0;
  text-decoration: none;
}

.sp-nav__end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.sp-nav__login {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.sp-nav__login:hover {
  color: #fff;
}

.sp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: #1b6fe8;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  box-shadow: 0 10px 24px rgba(27, 111, 232, 0.28);
  transition: transform 0.15s ease, background 0.15s ease;
}

.sp-cta:hover {
  background: #1558c0;
  transform: translateY(-1px);
}

.sp-cta--light {
  background: #1b6fe8;
  color: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.sp-cta--ghost {
  background: transparent;
  color: var(--navy);
  box-shadow: none;
  border-color: rgba(16, 32, 51, 0.28);
}

.sp-cta--ghost:hover {
  background: #fff;
}

.sp-cta--compound {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  min-height: auto;
  padding: 0.7rem 1.1rem 0.65rem;
  border-radius: 1.1rem;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
  max-width: 17.5rem;
}

.sp-cta-compound__title {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1rem, 2.5vw, 1.22rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.sp-cta-compound__sub {
  display: block;
  font-size: clamp(0.7rem, 1.8vw, 0.78rem);
  font-weight: 600;
  line-height: 1.25;
  opacity: 0.94;
}

.sp-cta-compound__action {
  display: block;
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: clamp(0.82rem, 2vw, 0.92rem);
  font-weight: 800;
  line-height: 1.2;
}

.sp-cta--compound-nav {
  max-width: 11.25rem;
  padding: 0.45rem 0.65rem 0.42rem;
  border-radius: 0.85rem;
}

.sp-cta--compound-nav .sp-cta-compound__title {
  font-size: clamp(0.72rem, 2vw, 0.88rem);
}

.sp-cta--compound-nav .sp-cta-compound__sub {
  font-size: 0.62rem;
  line-height: 1.2;
}

.sp-cta--compound-nav .sp-cta-compound__action {
  margin-top: 0.28rem;
  padding-top: 0.28rem;
  font-size: 0.68rem;
}

.sp-hero-cta-row--center {
  justify-content: center;
}

.seo-page-hero__cta {
  align-items: stretch;
}

.seo-page-hero__cta .sp-cta--compound {
  flex: 0 1 auto;
}

.seo-page-hero__cta .sp-cta--ghost {
  align-self: center;
  min-height: 46px;
}

.sp-cta--nav:not(.sp-cta--compound) {
  font-size: clamp(0.72rem, 2vw, 0.88rem);
  padding: 0.55rem 0.85rem;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .sp-cta--compound-nav .sp-cta-compound__sub {
    display: none;
  }

  .sp-cta--compound-nav {
    max-width: 9.5rem;
  }

  .sp-nav__login {
    display: none;
  }

  .seo-page-hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .seo-page-hero__cta .sp-cta--compound {
    max-width: none;
    width: 100%;
  }
}

.sp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

/* —— Hero compacto (sin video) —— */
.seo-page-hero {
  position: relative;
  color: #f7f4ee;
  background: var(--navy);
  overflow: hidden;
}

.seo-page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 24, 40, 0.92) 0%, rgba(7, 24, 40, 0.55) 48%, rgba(7, 24, 40, 0.82) 100%),
    url('/presentation/hero-families.jpg') center 30% / cover no-repeat;
  pointer-events: none;
}

.seo-page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
  padding: clamp(2.25rem, 5vw, 3.5rem) 0;
  align-items: center;
  grid-template-columns: minmax(0, 42rem);
}

.seo-page-hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(61, 255, 154, 0.92);
}

.seo-page-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.seo-page-hero__lead {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  font-size: clamp(1rem, 1.4vw + 0.5rem, 1.15rem);
  font-weight: 600;
  line-height: 1.45;
  color: rgba(247, 244, 238, 0.9);
}

.seo-page-hero__ghost {
  color: #f7f4ee;
  border-color: rgba(255, 255, 255, 0.45);
}

.seo-page-hero__ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.seo-page-hero__media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.seo-page-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.seo-page-hero__media--natural img {
  aspect-ratio: auto;
  object-fit: contain;
  background: #0f172a;
}

.seo-page-hero__media--square img {
  aspect-ratio: 1;
  object-fit: contain;
  background: #0f172a;
}

/* Landings: secciones 2–3 como comergio.com */
.seo-page .sp-risks,
.seo-page .sp-value {
  position: relative;
  z-index: 1;
}

.seo-page .sp-value .sp-cta {
  margin-top: 1.25rem;
}

.seo-page .sp-guide,
.seo-page .sp-steps {
  position: relative;
  z-index: 1;
}

.seo-page .sp-steps .sp-cta-row {
  justify-content: center;
  margin-top: 1.5rem;
}

.seo-page .sp-modules {
  position: relative;
  z-index: 1;
}

.seo-page .sp-read__details {
  border: 0;
  margin: 0;
  padding: 0;
}

.seo-page .sp-read__details > summary {
  list-style: none;
}

.seo-page .sp-read__details > summary::-webkit-details-marker {
  display: none;
}

/* —— Cuerpo tipo sp-detail —— */
.sp-detail.seo-page-body {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3.5rem, 7vw, 5rem);
  background-color: #eef6fb;
  background-image: url('/presentation/modulos-hummingbird-bg.jpg');
  background-size: cover;
  background-position: center top;
}

.sp-detail.seo-page-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(243, 246, 244, 0.88) 0%,
    rgba(243, 246, 244, 0.72) 45%,
    rgba(243, 246, 244, 0.92) 100%
  );
  pointer-events: none;
}

.sp-detail.seo-page-body > .sp-wrap {
  position: relative;
  z-index: 1;
}

.seo-section {
  margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
}

.seo-section:last-child {
  margin-bottom: 0;
}

.seo-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.seo-section h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.12;
  color: var(--ink);
}

.seo-section h3 {
  margin: 1.25rem 0 0.65rem;
  font-size: 1.35rem;
}

.seo-section p {
  color: var(--muted);
}

.seo-problem-list,
.seo-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .seo-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
  .seo-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .seo-problem-list {
    grid-template-columns: 1fr 1fr;
  }
}

.seo-problem,
.seo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.06);
}

.seo-problem {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
}

.seo-problem span {
  font-weight: 800;
  color: #1b6fe8;
}

.seo-problem p,
.seo-card span {
  margin: 0;
  color: var(--muted);
}

.seo-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: Manrope, sans-serif;
  font-size: 1.02rem;
  color: var(--ink);
}

.seo-card--soft {
  background: rgba(255, 255, 255, 0.92);
}

.seo-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.seo-feature-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  color: var(--muted);
  box-shadow: 0 6px 18px rgba(16, 32, 51, 0.04);
}

.seo-feature-list li::before {
  content: '✓';
  display: inline-block;
  margin-right: 0.55rem;
  color: var(--green);
  font-weight: 800;
}

.seo-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  counter-reset: step;
}

.seo-steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem 0.9rem 3rem;
  position: relative;
  color: var(--muted);
}

.seo-steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--navy);
  color: #3dff9a;
  font-size: 0.78rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.seo-faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.15rem 1rem;
  margin-bottom: 0.65rem;
  background: #fff;
}

.seo-faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 0;
  font-family: Manrope, sans-serif;
}

.seo-faq p {
  margin: 0 0 1rem;
}

.seo-band {
  margin-top: 2rem;
  padding: 1.75rem 1.35rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(16, 32, 51, 0.08);
}

.seo-band h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.seo-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.seo-related a {
  display: inline-flex;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
}

.seo-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 2rem 1.25rem 2.5rem;
}

.seo-footer .sp-wrap p {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.seo-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.seo-footer a {
  color: #7ec8ff;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.88rem;
}

/* Blog */
.seo-article-body p {
  color: var(--muted);
}

.seo-list {
  padding-left: 1.1rem;
  color: var(--muted);
}

.seo-list a {
  color: #1558c0;
  font-weight: 700;
}

/* Contacto */
.seo-hero--solo .seo-page-hero__inner {
  grid-template-columns: minmax(0, 42rem);
}

.seo-hero--schedule-tool .seo-page-hero__inner {
  justify-items: center;
  text-align: center;
  grid-template-columns: minmax(0, 46rem);
}

.seo-hero--schedule-tool .seo-page-hero__lead {
  margin-left: auto;
  margin-right: auto;
}

.seo-page-hero__cta--center {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.65rem;
  align-items: center;
}

.seo-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem;
  box-shadow: 0 14px 32px rgba(16, 32, 51, 0.08);
}

.seo-contact-form {
  display: grid;
  gap: 0.9rem;
}

.seo-field {
  display: grid;
  gap: 0.3rem;
}

.seo-field span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.seo-field input,
.seo-field select,
.seo-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--cream);
  font: inherit;
}

.seo-field-row {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 720px) {
  .seo-field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.seo-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--muted);
}

.seo-check input[type='checkbox'] {
  margin-top: 0.2rem;
}

.seo-hp {
  position: absolute;
  left: -9999px;
}

.seo-form-alert {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  margin-bottom: 0.8rem;
}

.seo-form-alert--success {
  background: #e8f4ff;
}

.seo-form-alert--error {
  background: #ffe8e8;
}

/* Home prerender en #root */
.seo-static-home {
  background: var(--cream);
  color: var(--ink);
}

.seo-static-home .sp-nav__login,
.seo-static-home .seo-footer a {
  /* inherits */
}
