:root {
  --ink: #2e292a;
  --ink-soft: #443c3e;
  --muted: #62595b;
  --line: #e5dadd;
  --paper: #faf7f7;
  --white: #fff;
  --purple: #b01c2e;
  --purple-deep: #831525;
  --purple-soft: #f8e9ec;
  --teal: #685557;
  --teal-soft: #f1e9e9;
  --amber: #765d52;
  --shadow: 0 12px 32px rgba(68, 31, 37, .07);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1.05rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
main > section[id] { scroll-margin-top: 96px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.035em; }
p { max-width: 72ch; }
a { color: var(--purple-deep); }
a:focus-visible, summary:focus-visible { outline: 3px solid #b01c2e; outline-offset: 4px; }
.wrap { width: min(calc(100% - 44px), var(--max)); margin-inline: auto; }
.narrow { max-width: 860px; }
.skip-link { position: absolute; top: -80px; left: 12px; z-index: 100; padding: .55rem .8rem; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.eyebrow { margin-bottom: .7rem; color: var(--purple); font-size: .78rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.section { padding: clamp(4.2rem, 7vw, 7rem) 0; }
.section h2 { max-width: 810px; margin-bottom: 1.2rem; font-size: clamp(2rem, 4vw, 3.35rem); }
.section p { color: var(--muted); }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .96); backdrop-filter: blur(16px); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 90px; }
.brand { display: flex; align-items: center; gap: .75rem; min-width: 190px; text-decoration: none; color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--purple); color: white; font-size: .95rem; font-weight: 850; letter-spacing: -.07em; }
.brand strong, .brand small { display: block; line-height: 1.28; }
.brand strong { font-size: 1rem; }
.brand small { margin-top: .15rem; color: var(--muted); font-size: .69rem; font-weight: 600; }
.unq-logo { display: flex; align-items: center; justify-content: center; flex: none; padding: .4rem .7rem; background: #fff; }
.unq-logo img { display: block; width: 145px; height: auto; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .35rem .8rem; }
.site-nav a { text-decoration: none; color: var(--ink-soft); font-size: .8rem; font-weight: 680; white-space: nowrap; }
.site-nav a:hover { color: var(--purple); }
.site-nav .nav-login { padding: .42rem .78rem; border: 1px solid var(--purple); border-radius: 8px; color: var(--purple-deep); }

.hero { overflow: hidden; padding: clamp(4rem, 8vw, 7rem) 0; background: linear-gradient(135deg, #fbf0f2 0%, #fff 65%, #f8f5f5 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); align-items: center; gap: clamp(2rem, 5vw, 5.5rem); }
.hero h1 { max-width: 790px; margin-bottom: 1.35rem; font-size: clamp(2.75rem, 5.8vw, 5.25rem); line-height: 1.025; }
.hero h1 em { color: var(--purple); font-style: normal; }
.hero-lead { color: var(--ink-soft); font-size: clamp(1.08rem, 1.7vw, 1.25rem); line-height: 1.63; }
.hero-principle { max-width: 620px; margin: 1.6rem 0; padding: .72rem 0 .72rem 1rem; border-left: 4px solid var(--teal); color: var(--ink); font-weight: 730; }
.hero-keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; max-width: 690px; margin: 1.3rem 0 1.6rem; }
.hero-keys > div { padding: .85rem 1rem; border: 1px solid #ebcbd2; border-radius: 9px; background: rgba(255, 255, 255, .86); }
.hero-keys strong, .hero-keys span { display: block; }
.hero-keys strong { margin-bottom: .25rem; color: var(--purple-deep); font-size: .83rem; }
.hero-keys span { color: var(--ink-soft); font-size: .79rem; line-height: 1.45; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 45px; padding: .65rem 1.05rem; border: 1px solid transparent; border-radius: 7px; text-decoration: none; font-size: .91rem; font-weight: 760; transition: background .18s, border-color .18s; }
.button:hover { box-shadow: 0 4px 14px rgba(68, 31, 37, .1); }
.button-primary { background: var(--purple); color: white; }
.button-primary:hover { background: var(--purple-deep); color: white; }
.button-light { border-color: #d9b8bf; background: rgba(255,255,255,.9); color: var(--purple-deep); }
.button-outline { margin-top: 1.6rem; border-color: var(--purple); background: white; color: var(--purple-deep); }
.hero-context { max-width: 550px; margin: 1.6rem 0 0; color: var(--muted); font-size: .87rem; }
.process-illustration { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: var(--shadow); }
.illustration-heading { margin-bottom: 1.1rem; color: var(--muted); font-size: .8rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.illustration-row { display: flex; gap: 1rem; align-items: center; padding: .9rem; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.illustration-row strong, .illustration-row small { display: block; }
.illustration-row strong { font-size: 1rem; }
.illustration-row small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.illustration-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--purple-soft); color: var(--purple-deep); font-size: .8rem; font-weight: 850; }
.student .illustration-icon { background: var(--teal-soft); color: var(--teal); }
.evidence .illustration-icon { background: #f0e9e6; color: var(--amber); }
.illustration-connector { height: 18px; margin-left: 29px; border-left: 2px dashed #c9afb4; }
.illustration-footer { margin-top: 1.15rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--purple-deep); font-size: .86rem; font-weight: 760; }

.usage-section { padding: 3.3rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.usage-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.6rem; }
.usage-heading h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.usage-heading > p { max-width: 360px; margin: 0; color: var(--muted); font-size: .93rem; }
.usage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.usage-item { min-width: 0; padding: 1.2rem 1.35rem; border: 1px solid var(--line); border-top: 3px solid var(--purple); border-radius: 7px; background: #fff; }
.usage-item strong { display: block; color: var(--purple-deep); font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.1; }
.usage-item span { display: block; margin-top: .45rem; color: var(--ink-soft); font-size: .93rem; }
.usage-note { max-width: 100%; margin: 1.1rem 0 0; color: var(--muted); font-size: .82rem; }
.usage-learnings { margin: 1.4rem 0 0; padding: 1.1rem 1.35rem; border-left: 3px solid var(--purple); border-radius: 0 7px 7px 0; background: #fff; }
.usage-learnings h3 { margin: 0 0 .45rem; color: var(--purple-deep); font-size: 1.05rem; }
.usage-learnings p { margin: 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }

.problem-section { background: white; text-align: left; }
.problem-section p { font-size: 1.12rem; }
.statement { margin: 2rem 0; padding: 1.3rem 1.5rem; border-left: 5px solid var(--purple); border-radius: 0 12px 12px 0; background: var(--purple-soft); color: var(--ink); font-size: clamp(1.14rem, 2.2vw, 1.45rem); }
.statement strong { color: var(--purple-deep); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 340px; margin-bottom: .2rem; font-size: .96rem; }
.how-section { background: var(--paper); }
.roles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.role-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 8px 30px rgba(20, 30, 70, .035); }
.role-card h3 { margin: .6rem 0 .7rem; font-size: 1.55rem; }
.role-card p { margin-bottom: 0; font-size: .94rem; }
.role-number { color: var(--purple); font-size: .78rem; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.student-card .role-number { color: var(--teal); }
.ai-card .role-number { color: var(--amber); }
.monitor-note { margin-top: 1rem; padding: 1.2rem 1.5rem; border: 1px solid var(--line); border-left: 4px solid var(--purple); border-radius: 9px; background: #fff; }
.monitor-note strong { display: block; margin-bottom: .3rem; color: var(--purple-deep); font-size: 1rem; }
.monitor-note p { max-width: 950px; margin: 0; color: var(--ink-soft); font-size: .94rem; }
.monitor-note p + p, .role-card p + p { margin-top: .85rem; }
.monitor-note h3 { margin: .45rem 0 .7rem; }
.monitor-note ul { max-width: 950px; margin: 0; padding-left: 1.2rem; color: var(--ink-soft); font-size: .94rem; }
.monitor-note li + li { margin-top: .55rem; }
.monitor-note li strong { display: inline; margin: 0; font-size: inherit; }
#coevaluacion, #debate-grupal, #dialogo-docente, #para-docentes { scroll-margin-top: 96px; }
.section-shortcuts { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.5rem; }
.section-shortcuts a { padding: .5rem .8rem; border: 1px solid var(--line); border-radius: 6px; color: var(--purple-deep); background: #fff; font-size: .88rem; font-weight: 650; }
.section-shortcuts a:hover { border-color: var(--purple); }
.section-shortcuts a:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.resource-list { align-content: start; }
.imprint-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; margin: 1rem 0; padding: 0; list-style: none; }
.imprint-steps li { padding: .85rem; border: 1px solid var(--line); border-radius: 7px; background: #fbf8f8; }
.imprint-steps b, .imprint-steps span { display: block; }
.imprint-steps b { margin-bottom: .35rem; color: var(--purple-deep); font-size: .9rem; }
.imprint-steps span { color: var(--ink-soft); font-size: .84rem; line-height: 1.45; }
@media (max-width: 900px) { .imprint-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .imprint-steps { grid-template-columns: 1fr; } }
.flexible-panel { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-top: 1rem; padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: 10px; background: #f5e9eb; }
.flexible-panel h3 { margin-bottom: .65rem; font-size: 1.6rem; }
.flexible-panel p:not(.eyebrow) { max-width: 730px; margin-bottom: 0; color: var(--ink-soft); font-size: .94rem; }
.text-link { flex: none; color: var(--purple-deep); font-size: .9rem; font-weight: 760; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.evidence-section { background: white; }
.evidence-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.evidence-caution { padding: 1rem 1.1rem; border-radius: 8px; background: #f8f0f1; color: var(--ink-soft) !important; font-size: .9rem; }
.evidence-list { margin: 0; padding: 0; list-style: none; }
.evidence-list li { display: flex; align-items: start; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.evidence-list li:first-child { border-top: 1px solid var(--line); }
.evidence-list li > span { min-width: 32px; color: var(--purple); font-size: .83rem; font-weight: 850; }
.evidence-list strong, .evidence-list small { display: block; }
.evidence-list small { color: var(--muted); font-size: .88rem; line-height: 1.48; }

.faq-section { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: minmax(230px, .4fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-intro h2 { font-size: clamp(2rem, 3.7vw, 3rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.1rem 2.3rem 1.1rem 0; color: var(--ink); font-size: 1.03rem; font-weight: 750; line-height: 1.35; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .25rem; top: .9rem; color: var(--purple); font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div { padding: 0 2.5rem 1.25rem 0; }
.faq-list details p { margin-bottom: 0; font-size: .95rem; }

.examples-section { background: white; }
.examples-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.example-card { padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 17px; background: white; box-shadow: var(--shadow); }
.example-card h3 { margin: .45rem 0 .75rem; font-size: 1.8rem; }
.example-card p { font-size: .94rem; }
.example-tag { color: var(--teal); font-size: .77rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.example-question { margin: 1.4rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); }
.example-question strong { color: var(--ink); }

.dialogue-section { background: var(--paper); }
.dialogue-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.dialogue-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.dialogue-card-heading { padding: 1.4rem 1.5rem 1.1rem; border-bottom: 1px solid var(--line); }
.dialogue-card-heading h3 { margin: .45rem 0 0; font-size: 1.45rem; }
.dialogue-turns { display: grid; gap: .85rem; margin: 0; padding: 1.4rem 1.5rem; list-style: none; }
.dialogue-turns li { max-width: 92%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; }
.dialogue-turns li span { display: block; margin-bottom: .25rem; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.dialogue-turns li p { margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }
.dialogue-student { justify-self: end; border-color: #ebcbd2 !important; background: var(--purple-soft); }
.dialogue-student span { color: var(--purple-deep); }
.dialogue-ai { justify-self: start; background: #f5f1f0; }
.dialogue-ai span { color: var(--teal); }
.dialogue-observation { max-width: none; margin: 0; padding: 1rem 1.5rem 1.3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.dialogue-observation strong { color: var(--ink); }

.foundations-section { background: #f8f1f2; }
.foundations-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); }
.institutional-note { margin: 1.5rem 0 0; padding: 1rem 1.25rem; border-left: 4px solid var(--purple); background: #fff; font-size: .93rem; }
.institutional-note a { color: var(--purple-deep); font-weight: 700; }
.resource-list { display: grid; gap: .65rem; }
.resource-list a { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: 8px; background: white; text-decoration: none; }
.resource-list a:hover { border-color: var(--purple); }
.resource-list a > span:first-child { color: var(--muted); font-size: .74rem; font-weight: 700; }
.resource-list a strong { grid-column: 1; color: var(--ink); font-size: .91rem; }
.resource-list a > span:last-child { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--purple); }

.pilot-section { background: #49282e; }
.pilot-panel { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.pilot-section .eyebrow { color: #f4c3cc; }
.pilot-section h2 { color: white; }
.pilot-section p { color: #d1d8e3; }
.pilot-actions { display: flex; flex: none; flex-direction: column; align-items: start; gap: 1rem; padding-bottom: .3rem; }
.pilot-section .text-link { color: #ffe6ea; }
.pilot-section .button-primary { background: #fff; color: #831525; }
.pilot-section .button-primary:hover { background: #f9e8eb; }
.pilot-form { display: grid; flex: none; gap: .7rem; width: min(100%, 440px); }
.pilot-form label { display: grid; gap: .25rem; color: #f4c3cc; font-size: .84rem; font-weight: 700; }
.pilot-form input, .pilot-form textarea { font: inherit; font-size: .95rem; padding: .6rem .7rem; border: 1px solid #7a4f57; border-radius: 8px; background: #fff; color: var(--ink); }
.pilot-form textarea { resize: vertical; }
.pilot-form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pilot-form .button { justify-self: start; }
.pilot-section .form-msg { margin: 0; padding: .6rem .8rem; border-radius: 8px; font-size: .9rem; }
.pilot-section .form-ok { background: #e4f3e8; color: #1d5a33; }
.pilot-section .form-error { background: #fbe3e6; color: #831525; }
.pilot-section .form-note { margin: 0; font-size: .8rem; }
.pilot-section .form-note a { color: #ffe6ea; }
.site-footer { padding: 2rem 0; background: #281a1d; color: #f0e5e7; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; }
.site-footer strong { color: white; }
.site-footer p { margin: .3rem 0 0; color: #d9c9cd; font-size: .82rem; }
.site-footer .footer-grid > div:last-child { display: flex; align-items: start; flex-wrap: wrap; gap: .7rem 1.25rem; }
.site-footer a { color: #ffe0e6; font-size: .83rem; }

@media (max-width: 980px) {
  .header-row { align-items: start; flex-direction: column; gap: .75rem; padding: .7rem 0; }
  .unq-logo { padding: .3rem 0; }
  .site-nav { justify-content: flex-start; }
  .hero-grid, .evidence-grid, .foundations-grid { grid-template-columns: 1fr; }
  .process-illustration { max-width: 560px; }
  .pilot-panel { align-items: start; flex-direction: column; gap: 1.4rem; }
}
@media (max-width: 720px) {
  .wrap { width: min(calc(100% - 32px), var(--max)); }
  .site-header { position: static; }
  .header-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .4rem .7rem; padding: .55rem 0; }
  .brand { min-width: 0; gap: .45rem; }
  .brand-mark { width: 36px; height: 36px; border-radius: 9px; }
  .brand strong { font-size: .9rem; }
  .brand small { font-size: .57rem; }
  .unq-logo img { width: 105px; }
  .site-nav { grid-column: 1 / -1; justify-content: flex-start; }
  .site-nav { gap: .5rem .9rem; }
  .site-nav a { font-size: .79rem; }
  .hero { padding: 3.4rem 0 4rem; }
  .hero h1 { font-size: clamp(2.6rem, 11vw, 3.8rem); }
  .hero-keys { grid-template-columns: 1fr; }
  .section-heading, .flexible-panel, .footer-grid { align-items: start; flex-direction: column; gap: 1rem; }
  .usage-heading { align-items: start; flex-direction: column; gap: .7rem; }
  .usage-grid { grid-template-columns: 1fr; }
  .roles-grid, .examples-grid, .dialogue-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .section { padding: 4rem 0; }
  .pilot-actions { width: 100%; }
  .pilot-actions .button { width: 100%; }
  .pilot-form { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}


/* Ajustes móviles 2026-09-21 */
@media (max-width: 720px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  body { font-size: 1rem; line-height: 1.58; }
  main > section[id] { scroll-margin-top: 16px; }
  .wrap { width: min(calc(100% - 28px), var(--max)); }

  .site-header { position: static; }
  .header-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 62px;
    gap: .45rem;
    padding: .45rem 0;
  }
  .brand { min-width: 0; gap: .45rem; }
  .brand-mark { width: 34px; height: 34px; border-radius: 8px; font-size: .8rem; }
  .brand strong { font-size: .88rem; }
  .brand small { display: block; font-size: .56rem; line-height: 1.3; }
  #coevaluacion, #dialogo-docente { scroll-margin-top: 16px; }
  .unq-logo { padding: 0; }
  .unq-logo img { width: 78px; }
  .site-nav { display: block; grid-column: auto; }
  .site-nav a { display: none; }
  .site-nav .nav-login {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: .38rem .55rem;
    font-size: .74rem;
  }

  .hero { padding: 2.8rem 0 3.25rem; }
  .hero-grid { gap: 2.25rem; }
  .hero h1 {
    max-width: 100%;
    margin-bottom: 1rem;
    font-size: clamp(2.15rem, 10.5vw, 2.85rem);
    line-height: 1.04;
    letter-spacing: 0;
    overflow-wrap: anywhere;
  }
  .hero-lead { font-size: 1rem; line-height: 1.55; }
  .hero-principle { margin: 1.25rem 0; padding: .65rem 0 .65rem .85rem; }
  .hero-keys { gap: .6rem; margin: 1.1rem 0 1.25rem; }
  .hero-keys > div { padding: .8rem .85rem; }
  .hero-keys strong { font-size: .84rem; }
  .hero-keys span { font-size: .82rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; min-height: 48px; }
  .hero-context { margin-top: 1.25rem; font-size: .82rem; overflow-wrap: anywhere; }

  .process-illustration { max-width: 100%; padding: 1rem; border-radius: 10px; }
  .illustration-row { gap: .75rem; padding: .78rem; }
  .illustration-icon { width: 34px; height: 34px; border-radius: 8px; }
  .illustration-row small { font-size: .76rem; }
  .illustration-connector { height: 14px; margin-left: 25px; }

  .section { padding: 3.25rem 0; }
  .section h2 { margin-bottom: 1rem; font-size: clamp(1.8rem, 8vw, 2.35rem); letter-spacing: 0; }
  .section-heading, .usage-heading, .flexible-panel, .footer-grid {
    align-items: stretch;
    flex-direction: column;
    gap: .85rem;
  }
  .section-heading { margin-bottom: 1.4rem; }
  .section-heading > p, .usage-heading > p { max-width: none; }
  .usage-section { padding: 2.75rem 0; }
  .usage-grid { grid-template-columns: 1fr; gap: .7rem; }
  .usage-item { padding: 1rem; }
  .usage-item strong { font-size: 2rem; }
  .problem-section p { font-size: 1rem; }
  .statement { margin: 1.5rem 0; padding: 1rem 1rem; font-size: 1.08rem; }

  .roles-grid, .examples-grid, .dialogue-grid, .faq-grid { grid-template-columns: 1fr; }
  .role-card, .example-card { padding: 1.15rem; border-radius: 10px; }
  .role-card h3, .example-card h3 { font-size: 1.4rem; }
  .monitor-note { padding: 1rem; }
  .imprint-steps { grid-template-columns: 1fr; }
  .flexible-panel { padding: 1.15rem; }
  .flexible-panel .text-link { align-self: flex-start; }

  .evidence-grid, .foundations-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .evidence-list li { gap: .75rem; }
  .faq-intro { position: static; }
  .faq-list summary { padding-right: 2rem; font-size: .98rem; }
  .faq-list details > div { padding-right: 0; }

  .dialogue-card { border-radius: 10px; }
  .dialogue-card-heading { padding: 1rem; }
  .dialogue-card-heading h3 { font-size: 1.25rem; }
  .dialogue-turns { gap: .65rem; padding: 1rem; }
  .dialogue-turns li { max-width: 100%; padding: .75rem .8rem; border-radius: 9px; }
  .dialogue-turns li p { font-size: .85rem; }
  .dialogue-observation { padding: .9rem 1rem 1rem; }

  .resource-list a {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: .8rem .9rem;
    overflow-wrap: anywhere;
  }
  .pilot-panel { gap: 1.15rem; }
  .pilot-actions { width: 100%; }
  .pilot-actions .button { width: 100%; min-height: 48px; }
  .site-footer { padding: 1.6rem 0; }
}

@media (max-width: 360px) {
  .wrap { width: min(calc(100% - 22px), var(--max)); }
  .unq-logo img { width: 68px; }
  .site-nav .nav-login { padding-inline: .45rem; }
  .hero h1 { font-size: 2rem; }
}

/* Serie «Pensar con la máquina sin dejar de pensar» (18/10/2026) */
.hero-series { margin: 0 0 1.1rem; font-size: .9rem; }
.hero-series a { color: var(--purple-deep); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.resource-list a small { grid-column: 1; color: var(--ink-soft); font-size: .86rem; line-height: 1.45; }
.monitor-note ol { max-width: 950px; margin: 0; padding-left: 1.2rem; color: var(--ink-soft); font-size: .94rem; }
.monitor-note ol + p, .monitor-note p + ol { margin-top: .85rem; }
.usage-learnings p + p { margin-top: .75rem; }
.evidence-answers { margin-top: clamp(2rem, 5vw, 3.5rem); }
.evidence-answers .roles-grid { margin-top: 1rem; }
.evidence-answers .role-card h3 { font-size: 1.35rem; }

/* Portada en cinco bloques (23/10/2026): videos, pasos, bloques plegables y pie */
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.video-card { margin: 0; }
.video-facade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #2e292a; box-shadow: var(--shadow); }
.video-facade img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.video-facade:hover img { transform: scale(1.02); }
.video-play { position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; background: rgba(176, 28, 46, .92); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.video-play::after { content: ""; position: absolute; left: 29px; top: 22px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #fff; }
.video-facade:hover .video-play, .video-facade:focus-visible .video-play { background: var(--purple-deep); }
.video-card figcaption { margin-top: .7rem; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.video-card figcaption strong { display: block; color: var(--ink); font-size: .95rem; }

.steps-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; list-style: none; counter-reset: none; }
.steps-strip li { position: relative; display: flex; gap: .85rem; align-items: center; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.steps-strip li + li::before { content: "→"; position: absolute; left: -.72rem; top: 50%; transform: translateY(-50%); color: #c9afb4; font-weight: 700; }
.steps-strip li > span { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--purple-soft); color: var(--purple-deep); font-size: .8rem; font-weight: 850; }
.steps-strip li:nth-child(2) > span { background: var(--teal-soft); color: var(--teal); }
.steps-strip strong, .steps-strip small { display: block; }
.steps-strip small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.hero .hero-context { max-width: none; margin-top: 1rem; }

.how-section .statement { margin: 0 0 1.5rem; }
.fold-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 1.5rem; align-items: start; }
.fold { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.fold[open] { grid-column: 1 / -1; border-color: #d9b8bf; box-shadow: var(--shadow); }
.fold summary { position: relative; display: block; padding: 1rem 2.6rem 1rem 1.1rem; cursor: pointer; list-style: none; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: "+"; position: absolute; right: 1rem; top: .85rem; color: var(--purple); font-size: 1.4rem; font-weight: 400; }
.fold[open] summary::after { content: "−"; }
.fold summary:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; border-radius: 10px; }
.fold-tag { display: block; margin-bottom: .2rem; color: var(--purple); font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.fold summary strong { display: block; color: var(--ink); font-size: 1.02rem; line-height: 1.3; }
.fold summary small { display: block; margin-top: .25rem; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.fold-body { padding: 0 1.3rem 1.2rem; }
.fold-body p, .fold-body li { color: var(--ink-soft); font-size: .94rem; }
.fold-body p { max-width: 950px; margin-bottom: .85rem; }
.fold-body ul, .fold-body ol { max-width: 950px; margin: 0 0 .85rem; padding-left: 1.2rem; }
.fold-body li + li { margin-top: .5rem; }
.fold-body .roles-grid { margin: .5rem 0 1rem; }
.fold-wide { margin-top: 1.2rem; }

.use-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.use-grid .examples-grid { grid-template-columns: 1fr; }
.use-grid .example-card { padding: 1.2rem 1.4rem; }
.use-grid .example-card h3 { font-size: 1.45rem; }
.use-grid .example-question { margin-top: .9rem; padding-top: .8rem; }
.dialogue-fold { margin-top: .4rem; }
.dialogue-fold summary { color: var(--purple-deep); font-size: .9rem; font-weight: 750; cursor: pointer; }
.dialogue-fold .dialogue-turns { padding: .9rem 0 0; }
.examples-section .evidence-grid { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.evidence-title { margin-bottom: .8rem; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

.faq-section .usage-heading h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.faq-section .usage-learnings { padding: 0; border-left: 1px solid var(--line); border-radius: 10px; }
.faq-section .faq-grid { margin-top: clamp(3rem, 6vw, 4.5rem); }

.base-section { background: #f8f1f2; }
.base-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.base-section h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.base-section .resource-list { margin-top: 1rem; }
.fold-list { margin-top: .8rem; }
.fold-list .fold-body { padding-top: .2rem; }

@media (max-width: 980px) {
  .fold-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .use-grid, .base-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .steps-strip, .fold-grid { grid-template-columns: 1fr; }
  .steps-strip li + li::before { content: "↓"; left: 50%; top: -.8rem; transform: translateX(-50%); }
  .video-play { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .video-play::after { left: 23px; top: 17px; border-width: 13px 0 13px 20px; }
  .fold-body { padding: 0 1rem 1rem; }
}
.video-ext { display: inline-block; margin-left: .25rem; color: var(--purple-deep); font-weight: 700; white-space: nowrap; }
.resource-list a.resource-destacado { border: 2px solid var(--purple); background: #fbf1f3; padding: 1.1rem 1.25rem; }
.resource-list a.resource-destacado > span:first-child { color: var(--purple); }
.resource-list a.resource-destacado strong { font-size: 1.02rem; }
