/* ===== Navegación fija ===== */
.top-fijo{position:sticky;top:0;z-index:100;pointer-events:none}
.top-fijo>*{pointer-events:auto}
.top-fijo .nav-wrap{position:relative;top:auto;z-index:1;transition:transform .3s ease}
/* El menú se esconde al bajar y vuelve al subir. */
.top-fijo.menu-oculto .nav-wrap{transform:translateY(-101%);pointer-events:none}
@media (prefers-reduced-motion:reduce){.top-fijo .nav-wrap{transition:none}}
.site-redesign section,#curso-proximo{scroll-margin-top:105px}

/* ===== Portada más compacta ===== */
.r-hero{padding-block:44px 48px !important}
.r-hero h1{white-space:nowrap}
.r-hero-mark{max-width:260px;justify-self:end;width:100%}
.r-intro{margin-top:18px}
.r-actions{margin-top:26px}
@media (max-width:900px){.r-hero-mark{max-width:180px}}
@media (max-width:600px){.r-hero{padding-block:34px 38px !important}.r-hero h1{font-size:clamp(34px,10.5vw,44px)}}

/* ===== Capacitaciones: frase chica ===== */
.r-section-sub{margin:14px 0 0;max-width:60ch;font-size:.95rem;line-height:1.5;color:var(--muted,#9eafc4)}

/* ===== Servicios: lista numerada que se despliega ===== */
.svc-list{border-top:1px solid #304963}
.svc-row{position:relative;border-bottom:1px solid #304963;transition:background .35s ease}
.svc-row::before{content:"";position:absolute;left:0;top:-1px;height:2px;width:100%;background:linear-gradient(90deg,#8fbbf0,rgba(143,187,240,0));transform:scaleX(0);transform-origin:left;transition:transform .5s ease}
.svc-row:hover,.svc-row.is-open{background:linear-gradient(90deg,rgba(63,113,166,.14),transparent 75%)}
.svc-row:hover::before,.svc-row.is-open::before{transform:scaleX(1)}
.svc-title{margin:0;font-family:inherit}
.svc-head{width:100%;display:grid;grid-template-columns:64px 1fr 40px;align-items:center;gap:8px 20px;padding:28px 12px;background:none;border:0;color:#fff;text-align:left;cursor:pointer;font:inherit}
.svc-num{font-family:'Sora',system-ui,sans-serif;font-size:14px;letter-spacing:.1em;color:#8fbbf0;transition:transform .35s ease}
.svc-main{display:flex;flex-direction:column;gap:6px}
.svc-name{font-family:'Sora',system-ui,sans-serif;font-weight:600;font-size:clamp(21px,2.4vw,30px);letter-spacing:-.02em;line-height:1.2;transition:transform .35s ease,color .35s ease}
.svc-hook{font-size:.98rem;color:#b9c8db}
.svc-row:hover .svc-num{transform:translateX(4px)}
.svc-row:hover .svc-name{transform:translateX(6px);color:#cfe3fb}
.svc-icon{position:relative;width:40px;height:40px;border:1px solid #446b97;border-radius:50%;transition:background .3s ease,transform .4s ease,border-color .3s ease}
.svc-icon::before,.svc-icon::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:2px;margin:-1px 0 0 -7px;background:#8fbbf0;transition:transform .4s ease,background .3s ease}
.svc-icon::after{transform:rotate(90deg)}
.svc-row.is-open .svc-icon{transform:rotate(180deg);background:#8fbbf0;border-color:#8fbbf0}
.svc-row.is-open .svc-icon::before,.svc-row.is-open .svc-icon::after{background:#0e2138}
.svc-row.is-open .svc-icon::after{transform:rotate(0)}
.svc-panel{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .45s ease,visibility .45s}
.svc-row.is-open .svc-panel{grid-template-rows:1fr;visibility:visible}
.svc-panel-inner{overflow:hidden;padding-inline:96px 12px}
.svc-panel-inner p{margin:0 0 20px;max-width:62ch;color:#c5d4e6;font-size:1.05rem;line-height:1.6}
.svc-panel-inner a{display:inline-flex;gap:10px;margin-bottom:30px;font-weight:700;color:#8fbbf0;border-bottom:1px solid currentColor;padding-bottom:3px}
.svc-panel-inner a:hover{color:#fff}
.svc-head:focus-visible{outline:3px solid #4a8ac4;outline-offset:-3px}
/* entrada suave al hacer scroll (solo si el navegador no pidió menos movimiento) */
.svc-ready .svc-row{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease,background .35s ease}
.svc-ready .svc-row.in-view{opacity:1;transform:none}
@media (max-width:640px){
  .svc-head{grid-template-columns:40px 1fr 36px;gap:4px 12px;padding:22px 4px}
  .svc-icon{width:34px;height:34px}
  .svc-panel-inner{padding-inline:56px 4px}
}

/* ===== Aviso + menú fijos arriba al hacer scroll ===== */
.top-fijo{position:sticky;top:0;z-index:100}
.top-fijo .nav-wrap{position:relative;top:auto}
.site-redesign section{scroll-margin-top:150px}
#curso-proximo{scroll-margin-top:150px}
@media (max-width:640px){
  .site-redesign section{scroll-margin-top:130px}
  #curso-proximo{scroll-margin-top:130px}
  .aviso-curso-inner{flex-wrap:nowrap;justify-content:space-between;gap:10px;padding-block:8px;padding-inline-end:38px}
  .aviso-curso-tag{display:none}
  .aviso-curso-text{min-width:0;flex:1}
  .aviso-curso-text strong{font-size:.82rem;line-height:1.25}
  .aviso-curso-actions{gap:10px;flex-shrink:0}
  .aviso-curso-link{font-size:.8rem}
  .aviso-curso-button{padding:5px 12px;font-size:.82rem}
}

/* ===== Servicios: título único y pasos más livianos ===== */
.r-process{margin-top:34px}

/* ===== Tierra, solo en detalles chicos (acento de marca, uso medido) ===== */
.r-hero-copy .r-kicker::before{background:#C89A58;box-shadow:0 0 12px rgba(200,154,88,.45)}
.r-process article>span{color:#C89A58}
.r-process article::before{background:#C89A58 !important}
.svc-num{color:#C89A58}
.svc-row::before{background:linear-gradient(90deg,#C89A58,rgba(200,154,88,0))}
.svc-row.is-open .svc-icon{background:#C89A58;border-color:#C89A58}
.svc-icon::before,.svc-icon::after{background:#C89A58}
.svc-row.is-open .svc-icon::before,.svc-row.is-open .svc-icon::after{background:#142D43}
.svc-panel-inner a{color:#E9C48F}
.r-case-card .r-quote{color:#C89A58}

/* ===== Tierra en Quiénes somos y Contacto (detalles chicos) ===== */
.r-founder .r-kicker{color:#C89A58}
.r-founder-avatar{border-color:#C89A58 !important}
.r-founder .r-text-link:hover{color:#E9C48F}
.r-how .r-kicker{color:#C89A58}
.site-redesign .contact-copy .eyebrow{color:#C89A58}
.r-contact-links a span{color:#C89A58}
.lead-form-heading>span{color:#C89A58}
.lead-progress [aria-current="step"]{color:#E9C48F}

/* ===== Ajustes: chips compactos, requisito y coordinador ===== */
.curso-chips{gap:8px}
.curso-chips li{padding:6px 14px;font-size:.84rem}
.curso-req{font-size:.95rem}
.curso-req strong{color:#fff}
.curso-panel .curso-coord{margin:4px 0 0;max-width:40ch;font-size:.86rem;line-height:1.5;color:#d6e6f6}

/* ===== Cursor: puntito de color (solo mouse) ===== */
.cursor-punto,.cursor-aro{position:fixed;left:0;top:0;pointer-events:none;z-index:2147483647;opacity:0;transition:opacity .2s ease}
.cursor-punto{width:10px;height:10px;border-radius:50%;background:#E9C48F;border:1.5px solid #142D43;box-sizing:border-box}
.cursor-aro{width:38px;height:38px;border-radius:50%;border:1.5px solid rgba(233,196,143,.85);background:rgba(233,196,143,.12);transition:opacity .2s ease,width .25s ease,height .25s ease,background .25s ease}
html.cursor-punto-on .cursor-punto,html.cursor-punto-on .cursor-aro{opacity:1}
html.cursor-punto-on, html.cursor-punto-on *{cursor:none !important}
html.cursor-punto-on input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), html.cursor-punto-on textarea{cursor:text !important}
html.cursor-sobre-texto .cursor-punto,html.cursor-sobre-texto .cursor-aro{opacity:0}
html.cursor-sobre-link .cursor-aro{width:58px;height:58px;background:rgba(233,196,143,.2)}
html.cursor-sobre-link .cursor-punto{transform-origin:center}
html.cursor-click .cursor-aro{width:30px;height:30px}

/* ===== Quiénes somos: equipo de tres ===== */
.r-about-intro{max-width:760px}
.r-about-intro p{margin:0 0 18px}
.r-about-intro p:last-child{margin-bottom:0}
.r-founders.r-team{max-width:1120px;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.r-team .r-founder{flex-direction:column;align-items:center;text-align:center;gap:20px;padding:32px 24px}
.r-team .r-founder-avatar{width:128px;height:128px;flex-basis:128px}
.r-team .r-founder-rocio{object-position:center 40%}
@media (max-width:900px){.r-founders.r-team{grid-template-columns:1fr;max-width:460px}}
@media (min-width:901px){.r-team .r-kicker{min-height:3em;display:flex;align-items:flex-end;justify-content:center}}

/* Actividad vigente, sin promoción de inscripción. */
.curso-en-marcha{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:32px 0 40px;padding:24px 28px;border:1px solid #d6e1e8;border-radius:16px;background:#f4f7f8;color:#142d43}
.curso-en-marcha h3{font-size:1.4rem;line-height:1.3;margin:6px 0 10px}
.curso-en-marcha p{margin:0;max-width:700px;color:#42596c}
.curso-en-marcha .curso-estado{font-size:.82rem;font-weight:600;letter-spacing:.02em;color:#32649a}
.curso-en-marcha .curso-cerrado{font-size:.85rem;white-space:nowrap;padding:7px 12px;border:1px solid #cbd8e2;border-radius:999px}
.site-redesign .footer-bottom{flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:18px;padding-bottom:100px}
.footer-legal{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 24px;max-width:800px}
.footer-legal a,.lead-consent a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.curso-en-marcha{align-items:flex-start;flex-direction:column;padding:22px;gap:16px}.footer-bottom{gap:16px;flex-wrap:wrap}}
