/* Línea visual aprobada: conserva tipografía, estructura y conectividad. */
:root{--visual-green:#126950;--visual-purple:#784096;--visual-mint:#e4f3eb;--visual-lilac:#f0e6f6}
.button:not(.secondary):not(.light),.whatsapp-float{background:var(--visual-green);border-color:var(--visual-green)}
.button.secondary{color:var(--visual-green);border-color:var(--visual-green)}
.text-link,.nav a:hover{color:var(--visual-green)}
.tint{background:var(--visual-mint)}
.purple-tint,.faq-entry-card,.wait-card{background:var(--visual-lilac)}
.program,.program-card{background:#fff;border-color:#12695045;border-radius:20px;border-top:6px solid var(--visual-green);box-shadow:0 8px 24px #244a4308}
.program:nth-child(2),.program-card:nth-child(2){background:#fff;border-color:#78409645;border-top-color:var(--visual-purple)}
.program .tag{color:var(--visual-green)}
.program:nth-child(2) .tag{color:var(--visual-purple)}
.info-box,.guide,.review{border-radius:18px;background:#fff;border-color:#12695035}
.faq-entry-card,.wait-card{border-color:#78409630;border-radius:20px}
.photo-caption{background:#e4f3ebf2}
.visual-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:13px;background:var(--visual-mint);color:var(--visual-green);margin-bottom:14px}
.visual-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.program:nth-child(2) .visual-icon,.program-card:nth-child(2) .visual-icon{background:var(--visual-lilac);color:var(--visual-purple)}
.modality-chooser{border:1px solid #12695030;border-radius:24px;padding:clamp(22px,3vw,40px);background:linear-gradient(115deg,#e4f3eb,#f7f3ec 60%,#f0e6f6)}
.modality-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}
.modality-choice{display:flex;align-items:center;justify-content:center;min-height:58px;padding:14px 18px;border:1px solid #12695050;border-radius:14px;background:#fff;color:#244a43;text-decoration:none;text-align:center;font:inherit;cursor:pointer}
.modality-choice[aria-pressed=true]{background:var(--visual-green);border-color:var(--visual-green);color:#fff}
.modality-result{border-radius:16px;background:#ffffffd9;padding:22px}
.modality-result h3{margin-top:0}.modality-result p{margin-bottom:18px}
.modality-note{margin-bottom:0}
.motion-choice{display:flex;gap:9px;align-items:center;margin-top:18px;cursor:pointer}.motion-choice input{width:18px;height:18px;accent-color:var(--visual-green)}
.modality-choice:focus-visible,.motion-choice input:focus-visible{outline:3px solid var(--visual-purple);outline-offset:4px}
html.motion-reduced *,html.motion-reduced *::before,html.motion-reduced *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.program,.program-card,.guide,.modality-choice{transition:transform 220ms ease,box-shadow 220ms ease,border-color 220ms ease}.program:hover,.program-card:hover,.guide:hover,.modality-choice:hover{transform:translateY(-4px);box-shadow:0 12px 28px #244a4312}html.motion-reduced .program:hover,html.motion-reduced .program-card:hover,html.motion-reduced .guide:hover,html.motion-reduced .modality-choice:hover{transform:none}}
@media(max-width:700px){.modality-choices{grid-template-columns:1fr;gap:10px;margin:18px 0}.modality-result{padding:18px}.visual-icon{width:40px;height:40px}}

/* Contraste de enlaces legales aprobado por Tassia el 27/11/2026. */
#footer .footer-bottom a{color:#59665d}

/* Tarjetas: respuesta al ratón, teclado y toque. */
@media (prefers-reduced-motion:no-preference){
 html:not(.motion-reduced) main [data-ts-motion-card]{
   transform-origin:center;
   transition:scale 180ms ease-out,translate 180ms ease-out,box-shadow 180ms ease-out!important;
 }
 html:not(.motion-reduced) main [data-ts-motion-card]:focus-visible,
 html:not(.motion-reduced) main [data-ts-motion-card]:has(:focus-visible){
   scale:1.018;translate:0 -2px;
 }
 html:not(.motion-reduced) main [data-ts-motion-card]:active{
   scale:1.026;translate:0 0;
 }
 @media(hover:hover) and (pointer:fine){
   html:not(.motion-reduced) main [data-ts-motion-card]:hover{
     scale:1.027;translate:0 -3px;transform:none;
     box-shadow:0 9px 22px #254e431b;
   }
   html:not(.motion-reduced) main [data-ts-motion-card]:active{scale:1.038;translate:0 -1px}
 }
}
html.motion-reduced main [data-ts-motion-card]{scale:none!important;translate:none!important;transform:none!important}
@media(prefers-reduced-motion:reduce){main [data-ts-motion-card]{scale:none!important;translate:none!important;transform:none!important}}

@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-reduced) main#contenido [data-ts-motion-card]:not([data-program-zoom]) {
    --text-zoom: 1.035;
  }
  html:not(.motion-reduced) main#contenido tr[data-ts-motion-card]:not([data-program-zoom]) {
    --text-zoom: 1.015;
  }
  html:not(.motion-reduced) main#contenido [data-card-pointer]:not([data-program-zoom]) {
    scale: var(--text-zoom);
    translate: 0 -2px;
    transform: none;
    box-shadow: 0 6px 16px #244a4318;
  }
  html:not(.motion-reduced) body main#contenido [data-program-zoom] {
    --card-zoom: 1.04;
    --tap-zoom: 1.035;
  }
  html:not(.motion-reduced) body main#contenido [data-program-zoom]:is([data-program-hover], :focus-visible, :has(:focus-visible)) {
    translate: 0 -2px;
    transform: none;
    box-shadow: 0 8px 20px #274a4424;
  }
  @media (max-width: 1000px) {
    html:not(.motion-reduced) body main#contenido [data-program-zoom] {
      --card-zoom: 1.025;
      --tap-zoom: 1.025;
    }
  }
}

/* Ampliación: ajuste aprobado el 27/11/2026. */
@media (max-width:700px) and (max-height:450px){header{position:static!important;}html{scroll-padding-top:16px;}input,select,textarea,button,summary{scroll-margin-block:16px;}}


/* Ritmo y superficies compartidas de la web. */
:root {
  --papel: #fcfaf6;
  --menta: #e2f1e8;
  --lila: #eee5f2;
  --borde-suave: #cbd9ce;
  --sombra-suave: 0 6px 20px rgb(34 65 54 / 7%);
}
body[data-vista] main {
  background: radial-gradient(ellipse 66% 420px at 94% 0, #e1eee5 0%, transparent 90%),
              radial-gradient(ellipse 52% 360px at 0% 200px, #eee6f0 0%, transparent 90%), var(--papel);
}
body[data-vista] main > .section { padding-block: clamp(30px, 4.3vw, 62px); }
body[data-vista] main :where(h1,h2,h3) { text-wrap: balance; }
body[data-vista] main .eyebrow, body[data-vista] .ts-program .ts-eyebrow {color:#355e50;}
body[data-vista] main .tint, body[data-vista] main .ts-benefits {
  background:linear-gradient(112deg,#dfefe4,#f2f6ec 62%,#e6eee6);
}
body[data-vista] main .purple-tint, body[data-vista] main .ts-meeting,
body[data-vista] main .faq-entry-card, body[data-vista] main .wait-card {
  background:linear-gradient(118deg,#eee4f2,#faf5f7 65%,#e8f1ea);
}
body[data-vista] main :is(.ts-card,.program,.program-card,.info-box,.guide,.review,.about-block,.ts-benefits li,.lectura-bloque) {
  background:linear-gradient(142deg,#fff 20%,#f1f7f1);
  border:1px solid var(--borde-suave); border-radius:18px; box-shadow:var(--sombra-suave);
}
body[data-vista] main :is(.ts-card,.program,.program-card,.about-block):nth-child(even) {
  background:linear-gradient(140deg,#fff 22%,#f3edf6); border-color:#dacee1;
}
body[data-vista] main .ts-benefits ul {gap:clamp(12px,1.5vw,20px);}
body[data-vista] main .ts-benefits li, body[data-vista] main .about-block,
body[data-vista] .lectura-bloque {padding:clamp(16px,2.1vw,28px);}
body[data-vista] .lectura-bloque :first-child {margin-top:0;}
body[data-vista] .lectura-bloque :last-child {margin-bottom:0;}
body[data-vista] .lectura-bloque :is(p,li,a) {overflow-wrap:anywhere;}
body[data-vista] .lectura-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;}
body[data-vista] .lectura-grid > .lectura-bloque {min-width:0;}
body[data-vista] main .faq-list details {
  background:linear-gradient(115deg,#fff,#f3f6f1);border:1px solid var(--borde-suave);
  border-radius:14px; padding-inline:clamp(14px,1.7vw,23px);
}
body[data-vista] main .faq-list details[open] {background:#fff;box-shadow:var(--sombra-suave);border-color:#96b9a6;}
body[data-vista] main .faq-list summary {padding-block:15px;}
body[data-vista] main .faq-list {display:grid;grid-template-columns:minmax(0,1fr);gap:10px;}
body[data-vista] main .actividad-tabla tbody tr:nth-child(even) {background:#f1f5ee;}
body[data-vista] main .ts-card .ts-question {min-height:0;}
body[data-vista] main .ts-card .ts-facts {min-height:0;}
body[data-vista] main :is(.online-heading,.project-intro,.page-heading) {padding-block:clamp(25px,4vw,55px);}
body[data-vista] main .online-inclusions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px;}
body[data-vista] main .online-inclusions > li {min-width:0;margin:0;}
body[data-vista] main :is(.wait-form,.online-price) {border-color:var(--borde-suave);box-shadow:var(--sombra-suave);}
body[data-vista] .error-vista {min-height:75vh;display:grid;align-content:center;justify-items:start;gap:12px;padding-block:64px;}
body[data-vista] .error-vista h1 {margin:0;}
@media (min-width:961px) {
  body[data-vista="preguntas-frecuentes"] .faq-list {grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;}
  body[data-vista] main .about-details {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;}
}
@media (max-width:760px) {
  body[data-vista] .lectura-grid, body[data-vista] main .online-inclusions, body[data-vista] main .about-details,
  body[data-vista] main .ts-benefits ul {display:grid;grid-template-columns:minmax(0,1fr);gap:12px;}
  body[data-vista] main > .section {padding-block:28px;}
  body[data-vista] main .ts-benefits li {padding:14px;}
}
@keyframes entrada-vista { from {opacity:.78; transform:translateY(7px);} to {opacity:1; transform:none;} }
@media (prefers-reduced-motion:no-preference) {
  html:not(.motion-reduced) body[data-vista] main h1 {animation:entrada-vista .36s ease-out;}
  html:not(.motion-reduced) body[data-vista] main :is(.ts-benefits li,.about-block,.lectura-bloque,.ts-step,.comparison-card,.faq-list details) {
    transition:box-shadow .19s ease-out, border-color .19s ease-out, scale .19s ease-out;
  }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  html:not(.motion-reduced) body[data-vista] main :is(.ts-benefits li,.about-block,.lectura-bloque,.ts-step,.comparison-card,.faq-list details):is(:hover,:focus-within) {
    scale:1.012; box-shadow:0 10px 24px rgb(37 69 57 / 12%);border-color:#9bb8a4;
  }
  html:not(.motion-reduced) body[data-vista] main#contenido [data-program-zoom] {--card-zoom:1.025;--tap-zoom:1.015;}
}
@media (hover:none) and (prefers-reduced-motion:no-preference) {
  html:not(.motion-reduced) body[data-vista] main#contenido [data-program-zoom] {--card-zoom:1.015;--tap-zoom:1.015;}
  html:not(.motion-reduced) body[data-vista] main :is(.ts-benefits li,.about-block,.ts-step,.comparison-card):active {scale:1.01;}
}
@media print {
  body[data-vista] main,body[data-vista] main * {background:transparent!important;box-shadow:none!important;}
  body[data-vista] .lectura-grid {display:block;}
  body[data-vista] .lectura-bloque {break-inside:avoid;}
}

