/* Centro Educatic Empleos — textos legales con presentación premium.
   Estilos específicos, animaciones reutilizadas y reduced motion. */
.legal-breadcrumb {display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:22px 0 17px;font-size:.76rem;font-weight:750;color:#728879;}
.legal-breadcrumb a {color:#168063;text-decoration:none;}
.legal-breadcrumb a:hover {text-decoration:underline;text-underline-offset:3px;}
.legal-breadcrumb svg {width:14px;height:14px;color:#9aac9f;flex:none;}
.legal-breadcrumb [aria-current] {color:#315845;overflow-wrap:anywhere;}
.legal-hero {
    --legal-accent:#159b80;--legal-pale:#e7f8ed;--legal-border:#c8e6d5;
    position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,.5fr);
    gap:28px;align-items:center;min-height:310px;padding:clamp(27px,4vw,46px);
    overflow:hidden;border:1px solid #dcece3;border-radius:25px;
    background:linear-gradient(119deg,#eff9f2,#fff 64%,#eaf7f0);
    box-shadow:0 14px 39px rgba(22,85,58,.065);
}
.legal-hero--terms {--legal-accent:#2563da;--legal-pale:#edf4ff;--legal-border:#cfdff6;background:linear-gradient(118deg,#f1f7ff,#fff 66%,#eaf2fb);border-color:#dae8f4;}
.legal-hero--independence {--legal-accent:#128d78;--legal-pale:#e9f8f4;--legal-border:#cae9df;background:linear-gradient(118deg,#ebf8f3,#fff 66%,#ebf6f3);}
.legal-hero::before {content:"";position:absolute;z-index:-1;width:370px;height:370px;border-radius:50%;right:-160px;top:-190px;background:rgba(19,155,123,.06);}
.legal-hero-copy {position:relative;z-index:2;min-width:0;}
.legal-eyebrow,.legal-section-kicker {display:inline-flex;align-items:center;gap:8px;margin:0 0 13px;font-size:.71rem;letter-spacing:.1em;font-weight:850;color:var(--legal-accent,#10866c);}
.legal-eyebrow svg,.legal-section-kicker svg {width:17px;height:17px;}
.legal-hero h1 {max-width:730px;margin:0 0 15px;color:#173e31;font-size:clamp(2rem,3.6vw,3.2rem);line-height:1.13;font-weight:850;letter-spacing:-.052em;text-wrap:balance;}
.legal-hero-copy > p:not(.legal-eyebrow) {max-width:650px;margin:0;color:#597468;line-height:1.72;font-size:.95rem;}
.legal-hero-meta {display:flex;flex-wrap:wrap;gap:9px;margin-top:21px;}
.legal-hero-meta span {display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid var(--legal-border);border-radius:10px;background:rgba(255,255,255,.84);color:#517362;font-size:.75rem;font-weight:750;}
.legal-hero-meta svg {width:16px;height:16px;color:var(--legal-accent);}
.legal-hero-art {position:relative;display:grid;place-items:center;min-height:215px;pointer-events:none;color:var(--legal-accent);}
.legal-hero-orbit {position:absolute;width:202px;height:202px;border-radius:50%;border:1px solid var(--legal-border);background:radial-gradient(circle,#fff 15%,var(--legal-pale));box-shadow:0 0 0 20px rgba(21,155,128,.03);}
.legal-hero-orbit::after {content:"";position:absolute;inset:22px;border:1px dashed var(--legal-border);border-radius:50%;}
.legal-hero-symbol {position:relative;display:grid;place-items:center;width:115px;height:115px;border:1px solid var(--legal-border);border-radius:29px;background:#fff;box-shadow:0 15px 30px rgba(26,97,67,.11);transform:rotate(-7deg);animation:legalFloat 6s ease-in-out infinite;}
.legal-hero-symbol svg {width:61px;height:61px;stroke-width:1.45;transform:rotate(7deg);}
.legal-hero-float {position:absolute;display:inline-flex;align-items:center;gap:7px;padding:10px;border:1px solid var(--legal-border);border-radius:10px;background:#fff;color:#326d52;font-size:.72rem;font-weight:850;box-shadow:0 10px 20px rgba(22,76,54,.12);}
.legal-hero-float svg {width:16px;height:16px;color:var(--legal-accent);}
.legal-hero-float--one {top:0;left:-10px;transform:rotate(-4deg);}
.legal-hero-float--two {right:-6px;bottom:4px;transform:rotate(4deg);}
.legal-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,300px);gap:22px;align-items:start;margin:34px 0 0;}
.legal-main,.legal-side {min-width:0;}
.legal-main {display:grid;gap:16px;}
.legal-content-header {margin:0 0 7px;}
.legal-content-header h2 {margin:0 0 8px;font-size:clamp(1.55rem,2.5vw,2.15rem);letter-spacing:-.045em;color:#193d31;line-height:1.2;}
.legal-content-header > p:last-child {margin:0;max-width:650px;color:#6a8174;font-size:.87rem;line-height:1.65;}
.legal-section-card {scroll-margin-top:120px;min-width:0;padding:24px 26px;border:1px solid #dcece2;border-radius:19px;background:#fff;box-shadow:0 8px 25px rgba(23,88,57,.045);transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease;}
.legal-section-card:hover,.legal-section-card:focus-within {transform:translateY(-3px);border-color:#b7ddc7;box-shadow:0 16px 32px rgba(18,92,63,.1);}
.legal-section-heading {display:flex;align-items:center;gap:13px;margin-bottom:15px;}
.legal-section-icon {display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border:1px solid #d2e7da;border-radius:13px;background:#eaf8ef;color:#148d6e;}
.legal-section-icon svg {width:24px;height:24px;}
.legal-section-index {display:block;margin-bottom:4px;color:#178b70;font-size:.64rem;font-weight:870;letter-spacing:.11em;}
.legal-section-heading h3 {margin:0;color:#214938;font-size:1.13rem;line-height:1.37;letter-spacing:-.019em;overflow-wrap:anywhere;}
.legal-section-card > p {margin:0;color:#5c7468;font-size:.87rem;line-height:1.83;overflow-wrap:anywhere;}
.legal-side {display:grid;gap:15px;position:sticky;top:100px;}
.legal-side-card {overflow:hidden;border:1px solid #dcebe2;border-radius:17px;background:#fff;box-shadow:0 7px 23px rgba(19,86,58,.04);}
.legal-side-title {display:flex;align-items:center;gap:9px;padding:18px 18px 14px;border-bottom:1px solid #e7f0e9;color:#254c3b;font-size:.86rem;}
.legal-side-title svg {width:19px;height:19px;color:#159b80;}
.legal-toc,.legal-other-links {display:grid;gap:3px;padding:11px;}
.legal-toc a,.legal-other-links a {display:flex;align-items:center;gap:10px;padding:10px 9px;border:1px solid transparent;border-radius:10px;color:#536e60;text-decoration:none;font-size:.78rem;line-height:1.43;font-weight:730;transition:background .2s ease,color .2s ease,border-color .2s ease;}
.legal-toc a:hover,.legal-other-links a:hover {background:#edf9f1;border-color:#d6ebdc;color:#0c785c;}
.legal-toc a > span {display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border:1px solid #d8eadf;border-radius:8px;background:#f0faf4;color:#159b80;font-size:.69rem;font-weight:870;}
.legal-other-links a {justify-content:space-between;}
.legal-other-links a[aria-current="page"] {background:#eaf8ef;border-color:#cde8d9;color:#0b7458;font-weight:850;}
.legal-other-links a svg {width:15px;height:15px;flex:none;}
.legal-clarity-note {display:flex;gap:13px;margin-top:4px;padding:19px;border:1px solid #d7e6da;border-radius:14px;background:linear-gradient(130deg,#edf9f2,#f7fcf9);}
.legal-clarity-note > span {display:grid;place-items:center;flex:0 0 39px;width:39px;height:39px;border-radius:10px;background:#ddf5e6;color:#159b80;}
.legal-clarity-note svg {width:21px;height:21px;}
.legal-clarity-note strong {color:#225841;font-size:.83rem;}
.legal-clarity-note p {margin:5px 0 0;color:#587564;line-height:1.65;font-size:.79rem;}
.legal-bottom-cta {display:flex;align-items:center;gap:19px;flex-wrap:wrap;margin:32px 0 38px;padding:21px 25px;border:1px solid #d7e9de;border-radius:18px;background:linear-gradient(110deg,#eaf8f0,#f2f8ff);}
.legal-cta-icon {display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:13px;background:#ddf6e8;color:#159b80;}
.legal-cta-icon svg {width:25px;height:25px;}
.legal-bottom-cta > div {flex:1;min-width:195px;}
.legal-bottom-cta h2 {margin:0 0 7px;color:#1d4534;font-size:1.08rem;line-height:1.35;}
.legal-bottom-cta p {margin:0;color:#657d70;font-size:.79rem;line-height:1.6;}
.legal-bottom-cta > a {display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:10px 14px;border:1px solid #159b80;border-radius:10px;background:#159b80;color:#fff;text-decoration:none;font-size:.79rem;font-weight:850;transition:transform .2s ease,background .2s ease;}
.legal-bottom-cta > a:hover {transform:translateY(-2px);background:#107c65;color:#fff;}
.legal-bottom-cta > a svg {width:15px;height:15px;}
.legal-layout a:focus-visible,.legal-bottom-cta a:focus-visible,.legal-breadcrumb a:focus-visible {outline:3px solid #8bdcb8;outline-offset:3px;border-radius:4px;}
@keyframes legalFloat {0%,100%{transform:translateY(0) rotate(-7deg);}50%{transform:translateY(-8px) rotate(-4deg);}}
@media (max-width:1050px) {.legal-layout {grid-template-columns:minmax(0,1fr) 260px;gap:18px;}}
@media (max-width:850px) {
    .legal-hero {grid-template-columns:1fr;min-height:0;}
    .legal-hero-art {display:none;}
    .legal-layout {grid-template-columns:1fr;}
    .legal-side {position:static;grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:610px) {
    .legal-breadcrumb {margin:16px 0;}
    .legal-hero {padding:26px 20px;border-radius:20px;}
    .legal-hero h1 {font-size:clamp(1.9rem,8.5vw,2.65rem);}
    .legal-hero-meta span {font-size:.71rem;}
    .legal-section-card {padding:19px 17px;}
    .legal-side {grid-template-columns:1fr;}
    .legal-bottom-cta {padding:18px;}
    .legal-bottom-cta > a {width:100%;}
}
@media (prefers-reduced-motion:reduce) {
    .legal-hero-symbol {animation:none !important;transform:none !important;}
    .legal-section-card,.legal-toc a,.legal-other-links a,.legal-bottom-cta > a {transition:none !important;}
    .legal-section-card:hover,.legal-section-card:focus-within,.legal-bottom-cta > a:hover {transform:none !important;}
    .legal-section-card.will-reveal.is-visible:hover {transform:none !important;}
}
.legal-section-card.will-reveal.is-visible:hover {transform:translateY(-3px);}
@media (prefers-reduced-motion:reduce) {.legal-section-card.will-reveal.is-visible:hover {transform:none !important;}}
