.seo-service-page {
  --seo-ink: #111111;
  --seo-paper: var(--bg, #fbf9ef);
  --seo-blue: #0773d1;
  --seo-orange: #ff6501;
  margin: 0;
  color: var(--seo-ink);
  background: transparent;
  font-family: "PP Neue Montreal", Arial, sans-serif;
}
.seo-service-page * { box-sizing: border-box; }
.seo-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 1rem clamp(1.2rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(17,17,17,.15);
  background: rgba(243,240,232,.93); backdrop-filter: blur(16px);
}
.seo-brand { color: inherit; font-family: "Youth", Arial, sans-serif; font-size: 1.15rem; font-weight: 900; letter-spacing: -.03em; text-decoration: none; }
.seo-brand span { color: var(--seo-blue); }
.seo-header nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 2rem); }
.seo-header nav a { color: inherit; font-size: .95rem; text-decoration: none; }
.seo-header .seo-nav-cta { padding: .75rem 1rem; color: #fff; border-radius: 999px; background: var(--seo-ink); }
.seo-services-content {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding-top: 1.5rem;
  background: transparent;
}
.seo-breadcrumb { display: flex; gap: .55rem; padding: 1.25rem 0; color: #5d5b56; font-size: .82rem; }
.seo-breadcrumb a { color: inherit; }
.seo-hero { min-height: 73vh; display: flex; flex-direction: column; justify-content: center; padding: 5rem 0 7rem; border-bottom: 1px solid rgba(17,17,17,.18); }
.seo-hub-hero { min-height: 64vh; }
.seo-eyebrow { margin: 0 0 1rem; color: var(--seo-blue); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.seo-hero h1 { max-width: 1050px; margin: 0; font-family: "Youth", Arial, sans-serif; font-size: clamp(3.4rem, 9vw, 8.6rem); font-weight: 900; line-height: .88; letter-spacing: -.055em; }
.seo-lead { max-width: 760px; margin: 2rem 0 0; font-size: clamp(1.15rem, 2vw, 1.65rem); line-height: 1.42; }
.seo-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.seo-primary, .seo-secondary { display: inline-flex; align-items: center; min-height: 48px; padding: .85rem 1.2rem; border: 1px solid var(--seo-ink); border-radius: 999px; font-weight: 700; text-decoration: none; }
.seo-primary { color: #fff; background: var(--seo-ink); }
.seo-secondary { color: var(--seo-ink); background: transparent; }
.seo-benefits, .seo-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 6rem 0; background: transparent; }
.seo-benefits article, .seo-service-card { min-height: 340px; padding: 2rem; color: var(--seo-ink); border-top: 1px solid rgba(17,17,17,.18); border-bottom: 1px solid rgba(17,17,17,.18); background: transparent; text-decoration: none; }
.seo-service-card { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.seo-service-card-icon { position: absolute; z-index: 0; top: 50%; left: 50%; display: grid; place-items: center; width: clamp(5.3rem, 9vw, 7.4rem); aspect-ratio: 1; color: var(--service-icon, var(--seo-blue)); border-radius: 1.55rem; background: color-mix(in srgb, var(--service-icon, var(--seo-blue)) 15%, transparent); transform: translate(-50%, -58%) rotate(-4deg); transition: transform .22s ease; }
.seo-service-card-icon img { display: block; width: 58%; height: 58%; }
.seo-service-card:hover .seo-service-card-icon, .seo-service-card:focus-visible .seo-service-card-icon { transform: translate(-50%, -62%) rotate(3deg) scale(1.05); }
.seo-service-card h2 { position: relative; z-index: 1; margin-top: auto; }
.seo-service-card p, .seo-service-card b, .seo-service-card > span { position: relative; z-index: 1; }
.seo-benefits article + article, .seo-service-card + .seo-service-card { border-left: 1px solid rgba(17,17,17,.18); }
.seo-benefits span, .seo-service-card > span { color: var(--seo-orange); font-size: .8rem; font-weight: 700; }
.seo-benefits h2, .seo-service-card h2 { margin: 4rem 0 1rem; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1; }
.seo-benefits p, .seo-service-card p { max-width: 34rem; line-height: 1.55; }
.seo-service-card b { display: inline-block; margin-top: 1rem; color: var(--seo-blue); }
.seo-services-grid { grid-template-columns: repeat(2, 1fr); }
.seo-split, .seo-founders { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 8vw, 8rem); padding: 7rem 0; border-bottom: 1px solid rgba(17,17,17,.18); }
.seo-split h2, .seo-projects > h2, .seo-founders h2, .seo-faq > h2, .seo-final-cta h2 { margin: 0 0 1rem; font-size: clamp(2.4rem, 5vw, 5.4rem); line-height: .95; letter-spacing: -.04em; }
.seo-split > div > p:last-child, .seo-founders > p { font-size: 1.15rem; line-height: 1.6; }
.seo-split ol { margin: 0; padding: 0; list-style: none; }
.seo-split li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid rgba(17,17,17,.18); }
.seo-split li span { color: var(--seo-orange); font-weight: 700; }
.seo-split h3 { margin: 0 0 .5rem; font-size: 1.35rem; }
.seo-split li p { margin: 0; line-height: 1.5; }
.seo-projects, .seo-faq { padding: 7rem 0; border-bottom: 1px solid rgba(17,17,17,.18); }
.seo-projects > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 3rem 0 1.5rem; }
.seo-projects > div a { display: grid; grid-template-columns: 1fr auto; gap: .5rem; min-height: 180px; padding: 1.5rem; color: #fff; border-radius: 1rem; background: var(--seo-blue); text-decoration: none; }
.seo-projects > div a span { grid-column: 1 / -1; opacity: .75; font-size: .8rem; text-transform: uppercase; }
.seo-projects > div a strong { align-self: end; font-size: 1.7rem; }
.seo-projects > div a b { align-self: end; font-size: 1.5rem; }
.seo-text-link { color: inherit; font-weight: 700; }
.seo-faq details { border-top: 1px solid rgba(17,17,17,.18); }
.seo-faq summary { padding: 1.35rem 0; cursor: pointer; font-size: 1.15rem; font-weight: 700; }
.seo-faq details p { max-width: 760px; margin: 0 0 1.5rem; line-height: 1.6; }
.seo-final-cta { margin: 7rem 0; padding: clamp(2rem, 6vw, 5rem); color: #fff; border-radius: 1.5rem; background: var(--seo-blue); }
.seo-final-cta p { max-width: 650px; margin: 1rem 0 2rem; font-size: 1.2rem; line-height: 1.5; }
.seo-final-cta .seo-primary { color: var(--seo-ink); border-color: #fff; background: #fff; }
.seo-footer { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; padding: 4rem clamp(1.2rem, 4vw, 4rem); color: #fff; background: var(--seo-ink); }
.seo-footer p { max-width: 420px; color: #bbb; }
.seo-footer nav, .seo-socials { display: flex; flex-direction: column; gap: .65rem; }
.seo-footer a { color: #fff; text-decoration: none; }
@media (max-width: 767px) {
  .seo-header nav a:not(.seo-nav-cta) { display: none; }
  .seo-header { padding: .8rem 1rem; }
  .seo-header .seo-nav-cta { padding: .65rem .85rem; font-size: .82rem; }
  .seo-services-content {
    width: calc(100% - 2rem);
    max-width: 1180px;
    min-width: 0;
    padding-top: 6.25rem;
  }
  .seo-breadcrumb {
    flex-wrap: wrap;
    gap: .35rem .5rem;
    padding: .85rem 0 1.1rem;
    font-size: .76rem;
    line-height: 1.35;
  }
  .seo-hero { min-height: auto; padding: 3rem 0 4.5rem; }
  .seo-hero h1 {
    max-width: 100%;
    font-size: clamp(2.75rem, 13.5vw, 4.45rem);
    line-height: .9;
    overflow-wrap: break-word;
  }
  .seo-lead {
    margin-top: 1.4rem;
    font-size: 1.05rem;
    line-height: 1.48;
  }
  .seo-actions { flex-direction: column; align-items: stretch; }
  .seo-primary, .seo-secondary { justify-content: center; text-align: center; }
  .seo-benefits, .seo-services-grid, .seo-split, .seo-founders, .seo-projects > div, .seo-footer { grid-template-columns: 1fr; }
  .seo-benefits, .seo-services-grid { gap: 0; padding: 4rem 0; }
  .seo-benefits article, .seo-service-card { min-height: 250px; padding: 1.35rem 0; }
  .seo-benefits article + article, .seo-service-card + .seo-service-card { border-left: 0; border-top: 0; }
  .seo-benefits h2, .seo-service-card h2 { margin-top: 3rem; font-size: clamp(2rem, 10vw, 3rem); }
  .seo-split, .seo-founders, .seo-projects, .seo-faq { gap: 2rem; padding: 4.5rem 0; }
  .seo-split h2, .seo-projects > h2, .seo-founders h2, .seo-faq > h2, .seo-final-cta h2 {
    max-width: 100%;
    font-size: clamp(2.4rem, 11.5vw, 3.8rem);
    line-height: .94;
    overflow-wrap: break-word;
  }
  .seo-split li { grid-template-columns: 2rem minmax(0, 1fr); gap: .65rem; }
  .seo-projects > div a { min-height: 150px; }
  .seo-final-cta { margin: 4.5rem 0; padding: 1.5rem; border-radius: 1rem; }
  .seo-footer { padding: 3rem 1.2rem; }
}

@media (max-width: 389px) {
  .seo-services-content { width: calc(100% - 1.5rem); }
  .seo-hero h1 { font-size: clamp(2.5rem, 13.3vw, 3.25rem); }
  .seo-split h2, .seo-projects > h2, .seo-founders h2, .seo-faq > h2, .seo-final-cta h2 {
    font-size: clamp(2.15rem, 11.2vw, 3rem);
  }
}

/* Las páginas de servicios reutilizan el cierre de pantalla completa del sitio. */
.chahinos-services-page .footer {
  width: 100%;
  margin-top: 0;
}

.chahinos-services-page .footer p,
.seo-services-content + .footer p,
.chahinos-services-page .ch-wa-panel p {
  text-align: center;
}

.diario-placeholder .seo-hero {
  min-height: 78vh;
  border-bottom: 0;
}
