/* GROVIA · estilos de las páginas por especialidad */
:root { --ink: #0B1E2D; --night: #0B1F31; --steel: #6E89A5; --blue: #2F5F8A; --muted: #526c82; --ice: #F4F7FA; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Montserrat, Arial, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 6vw; }
@media (min-width: 1300px) { .wrap { padding: 0; } }

/* Cabecera */
.sp-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 80% 70%, rgba(255,255,255,.22), transparent 45%), linear-gradient(150deg, #9EB2BE 0%, #6E879B 55%, #43596E 100%); padding-bottom: 90px; }
.sp-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0; }
.sp-logo { display: inline-flex; flex-direction: column; align-items: center; gap: .32em; color: #fff; text-decoration: none; font-size: 22px; line-height: 1; }
.sp-logo b { font-weight: 600; letter-spacing: .2em; margin-right: -.2em; }
.sp-logo small { font-size: .42em; font-weight: 500; letter-spacing: .5em; margin-right: -.5em; }
.sp-nav { display: flex; gap: 24px; font-size: 13.5px; font-weight: 500; }
.sp-nav a { color: rgba(255,255,255,.85); text-decoration: none; }
.sp-nav a:hover, .sp-nav a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.sp-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 999px; background: var(--night); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; transition: transform .4s ease; }
.sp-btn:hover { transform: translateY(-2px); }
.sp-btn--light { background: #fff; color: var(--night); }
.sp-btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,.6); color: #fff; }
.sp-btn--sm { padding: 11px 20px; font-size: 13.5px; background: transparent; border: 1px solid rgba(255,255,255,.6); }
.sp-crumb { margin: 34px 0 0; font-size: 12.5px; color: rgba(255,255,255,.75); }
.sp-crumb a { color: rgba(255,255,255,.9); }
.sp-eyebrow { display: block; margin: 26px 0 18px; font-size: 12.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.88); }
.sp-hero h1 { margin: 0; max-width: 900px; font-size: clamp(40px, 5.6vw, 82px); line-height: .98; letter-spacing: -0.06em; font-weight: 500; }
.sp-hero h1 em { font-style: normal; color: #d4e9ff; }
.sp-lead { max-width: 640px; margin: 28px 0 36px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: rgba(255,255,255,.9); }
.sp-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Secciones */
.sp-sec { padding: 96px 0; }
.sp-sec--ice { background: linear-gradient(180deg, #F4F7FA, #EAF0F5); }
.sp-sec--dark { background: linear-gradient(160deg, #1B3954, #0B1F31); color: #fff; }
.sp-label { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.sp-label::after { content: ""; width: 56px; height: 1px; background: rgba(82,108,130,.4); }
.sp-sec--dark .sp-label { color: #9FC3E6; } .sp-sec--dark .sp-label::after { background: rgba(159,195,230,.45); }
.sp-sec h2 { margin: 0; max-width: 820px; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.06; letter-spacing: -0.045em; font-weight: 600; }
.sp-sec h2 em { font-style: normal; color: var(--blue); }
.sp-sec--dark h2 em { color: #9FC3E6; }
.sp-intro { max-width: 720px; margin: 18px 0 0; font-size: 17px; line-height: 1.65; color: var(--muted); }
.sp-sec--dark .sp-intro { color: rgba(255,255,255,.75); }

/* Fugas */
.sp-leaks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.sp-leak { padding: 26px; border-radius: 18px; background: rgba(255,255,255,.75); border: 1px solid rgba(14,34,51,.08); box-shadow: 0 14px 34px rgba(30,55,80,.07); }
.sp-leak b { display: block; font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -0.05em; background: linear-gradient(180deg, #2F5F8A, #7CB2E6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.sp-leak h3 { margin: 12px 0 8px; font-size: 19px; line-height: 1.25; letter-spacing: -0.02em; }
.sp-leak p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* Bloques */
.sp-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.sp-block { padding: 28px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(159,184,208,.2); }
.sp-block i { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(124,178,230,.18); color: #CFE4FF; font-style: normal; font-weight: 700; font-size: 14px; }
.sp-block h3 { margin: 16px 0 8px; font-size: 20px; letter-spacing: -0.02em; }
.sp-block p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.75); }

/* 6 semanas */
.sp-weeks { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.sp-weeks::before { content: ""; position: absolute; left: 16px; right: 16px; top: 15px; height: 2px; background: linear-gradient(90deg, #2F5F8A, #7CB2E6); opacity: .5; }
.sp-weeks li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 0 6px; }
.sp-weeks b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: #fff; font-size: 13px; box-shadow: 0 0 0 5px #EEF3F7; }
.sp-weeks span { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.sp-weeks small { font-size: 12px; color: var(--muted); line-height: 1.45; }

/* Compromisos */
.sp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.sp-stat { padding: 22px; border-radius: 18px; background: #fff; border: 1px solid rgba(14,34,51,.08); }
.sp-stat b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -0.04em; color: var(--blue); }
.sp-stat span { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }

/* FAQ */
.sp-faq { margin-top: 36px; border-top: 1px solid rgba(82,108,130,.2); }
.sp-faq details { border-bottom: 1px solid rgba(82,108,130,.2); }
.sp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 22px 2px; font-size: 17px; font-weight: 600; }
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--steel); transition: transform .3s ease; }
.sp-faq details[open] summary::after { transform: rotate(45deg); }
.sp-faq p { margin: 0 0 22px; font-size: 15.5px; line-height: 1.65; color: var(--muted); max-width: 820px; }

/* CTA final */
.sp-cta { text-align: center; }
.sp-cta h2 { margin: 0 auto; }
.sp-cta .sp-intro { margin: 18px auto 32px; }
.sp-cta .sp-ctas { justify-content: center; }

/* Otras especialidades */
.sp-others { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.sp-others a { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(47,95,138,.3); font-size: 14px; font-weight: 600; text-decoration: none; color: var(--night); background: #fff; }
.sp-others a:hover { background: var(--night); color: #fff; }

/* Pie */
.sp-foot { padding: 56px 0 40px; background: #1b2a34; color: rgba(255,255,255,.7); font-size: 13.5px; text-align: center; }
.sp-foot .sp-logo { margin-bottom: 18px; }
.sp-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: 16px; }
.sp-foot a { color: #a9c9e3; text-decoration: none; }
.sp-foot a:hover { color: #fff; }

/* WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #25D366; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(0,0,0,.35); }
.wa-float svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .sp-nav { display: none; }
  .sp-leaks, .sp-stats { grid-template-columns: 1fr 1fr; }
  .sp-blocks { grid-template-columns: 1fr; }
  .sp-weeks { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 26px; }
  .sp-weeks::before { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .sp-hero { padding-bottom: 64px; }
  .sp-sec { padding: 64px 0; }
  .sp-leaks { grid-template-columns: 1fr; }
  .sp-ctas .sp-btn { width: 100%; justify-content: center; }
  .wa-float { width: 52px; height: 52px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
  .wa-float span { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .sp-btn { transition: none; } }
