:root  {
  
  font: 17px/1.65 "Inter", system-ui, sans-serif;
  --paper: #fff;
  --line: #d9dfeb;
  --muted: #5c677a;
  --background: #f7f8fc;
  color: var(--ink);
  background: var(--background);
}

*  {
   box-sizing: border-box;
   }

body  {
   margin: 0;
   }

.wrap  {
   width: min(1160px, 92vw);
   margin: auto;
   }

a  {
   color: var(--accent);
   text-underline-offset: .2em;
   }

button, input, textarea, select  {
   font: inherit;
   }

button, .button  {
  
  display: inline-flex;
   align-items: center;
   justify-content: center;
  min-height: 44px;
   padding: .65rem 1rem;
   border: 1px solid var(--accent);
  border-radius: 10px;
   font-size: .84rem;
   font-weight: 750;
  background: var(--accent);
   color: white;
   text-decoration: none;
   cursor: pointer;
}

.secondary  {
   background: var(--paper);
   color: var(--accent);
   border-color: var(--line);
   }

header  {
   border-bottom: 1px solid var(--line);
   }

.header-inner  {
   display: flex;
   align-items: center;
   justify-content: space-between;
   flex-wrap: wrap;
   gap: 1rem;
   padding: 1.2rem 0;
   }

.brand  {
   display: flex;
   align-items: center;
   gap: .7rem;
   max-width: 360px;
   font-weight: 850;
   line-height: 1.2;
   font-size: 1.15rem;
   text-decoration: none;
   }

.brand img  {
   flex-shrink: 0;
   }

nav  {
   display: flex;
   gap: .45rem;
   flex-wrap: wrap;
   }

nav a  {
   display: flex;
   align-items: center;
   min-height: 44px;
   padding: .5rem .75rem;
   background: var(--paper);
   border: 1px solid var(--line);
   border-radius: 9px;
   font-size: .77rem;
   font-weight: 700;
   text-decoration: none;
   }

nav a[aria-current="page"]  {
   background: var(--accent);
   color: white;
   border-color: var(--accent);
   }

h1, h2, h3  {
   line-height: 1.12;
   letter-spacing: -.04em;
   }

h1  {
   font-size: clamp(2.3rem, 5.8vw, 4.6rem);
   margin: .3em 0;
   }

h2  {
   font-size: clamp(1.5rem, 3vw, 2.2rem);
   }

h3  {
   font-size: 1.4rem;
   }

p  {
   max-width: 75ch;
   }

.eyebrow  {
   font-size: .66rem;
   letter-spacing: .13em;
   font-weight: 850;
   }

.small, figcaption  {
   color: var(--muted);
   font-size: .76rem;
   }

figure  {
   margin: 0;
   }

.scene  {
   background-image: url("assets/escenas.png");
   background-repeat: no-repeat;
   background-size: 300% 100%;
   background-position: 0% center;
   width: 100%;
   aspect-ratio: 1;
   border-radius: 20px;
   }

.scene-1  {
   background-position: 50% center;
   }

.scene-2  {
   background-position: 100% center;
   }

figcaption  {
   padding-top: .65rem;
   }

.home-hero  {
   display: grid;
   grid-template-columns: 1.15fr 1fr;
   align-items: center;
   gap: 3rem;
   padding: 3.5rem 0;
   }

.home-hero p  {
   max-width: 46ch;
   }

.home-hero .button  {
   margin-top: .7rem;
   }

.route-cards  {
   display: grid;
   grid-template-columns: repeat(3,1fr);
   gap: 1rem;
   margin: 1rem 0 2.5rem;
   }

.route-cards a  {
   padding: 1.6rem;
   border: 1px solid var(--line);
   background: var(--paper);
   text-decoration: none;
   border-radius: 16px;
   }

.route-cards h2  {
   font-size: 1.45rem;
   margin-top: 0;
   }

.route-cards p  {
   color: var(--muted);
   font-size: .88rem;
   margin-bottom: 0;
   }

.gallery  {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 1.5rem;
   margin: 2rem 0;
   }

.gallery .scene  {
   aspect-ratio: 1.45;
   }

.closing  {
   padding: 2.3rem;
   background: var(--soft);
   border-radius: 20px;
   margin: 3rem 0;
   }

.page-heading  {
   padding: 3.2rem 0 2rem;
   max-width: 850px;
   }

.page-heading h1  {
   font-size: clamp(2.2rem, 4.5vw, 3.8rem);
   }

.lesson-columns  {
   display: grid;
   grid-template-columns: .8fr 1.2fr;
   gap: 3rem;
   align-items: start;
   }

.basics article  {
   border-top: 2px solid var(--accent);
   padding: 1.2rem 0;
   }

.basics h2  {
   margin: .3rem 0;
   font-size: 1.65rem;
   }

.basics p  {
   color: var(--muted);
   }

.guide-layout  {
   display: grid;
   grid-template-columns: 1.4fr .8fr;
   gap: 3rem;
   }

.steps  {
   padding-left: 1.7rem;
   margin-top: 0;
   }

.steps li  {
   padding: .3rem 0 1.3rem .5rem;
   margin-bottom: 1rem;
   border-bottom: 1px solid var(--line);
   }

.steps h2  {
   font-size: 1.55rem;
   margin-top: 0;
   }

.steps p  {
   margin-bottom: 0;
   color: var(--muted);
   }

.guide-layout aside  {
   align-self: start;
   }

.page-actions  {
   margin: 2rem 0 3.5rem;
   }

.exercise-layout  {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 1.7rem;
   margin-bottom: 2.5rem;
   align-items: start;
   }

.exercise-form, .exercise-result, .scenario  {
   background: var(--paper);
   border: 1px solid var(--line);
   border-radius: 20px;
   padding: 1.5rem;
   min-width: 0;
   }

.exercise-form label  {
   display: block;
   font-size: .87rem;
   font-weight: 700;
   margin-bottom: 1rem;
   }

input:not([type="checkbox"]), textarea, select  {
   display: block;
   width: 100%;
   max-width: 100%;
   padding: .65rem;
   margin-top: .35rem;
   border: 1px solid #a9b3c3;
   border-radius: 8px;
   background: #fff;
   color: #24354c;
   }

input[type="color"]  {
   height: 50px;
   padding: .3rem;
   }

textarea  {
   resize: vertical;
   }

textarea[readonly]  {
   background: #f6f7fa;
   font-size: .87rem;
   }

.exercise-result h2  {
   margin-top: 0;
   font-size: 1.6rem;
   }

.exercise-result > button  {
   margin-top: 1rem;
   }

iframe  {
   width: 100%;
   min-height: 260px;
   border: 1px solid var(--line);
   background: white;
   border-radius: 8px;
   margin-bottom: 1rem;
   }

#scenarioOptions  {
   display: grid;
   gap: .65rem;
   }

#scenarioOptions button  {
   justify-content: flex-start;
   text-align: left;
   background: var(--paper);
   color: var(--accent);
   border-color: var(--line);
   }

.feedback  {
   min-height: 3rem;
   font-size: .9rem;
   }

.review-layout  {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 2rem;
   align-items: start;
   }

.checklist  {
   padding: 1.7rem;
   background: var(--soft);
   border-radius: 20px;
   }

.checklist h2  {
   margin-top: 0;
   }

.checklist label  {
   display: flex;
   align-items: baseline;
   gap: .7rem;
   margin: .9rem 0;
   }

input[type="checkbox"]  {
   accent-color: var(--accent);
   width: 18px;
   height: 18px;
   flex-shrink: 0;
   }

#checkStatus  {
   font-weight: 750;
   margin-bottom: 0;
   }

details  {
   padding: 1rem 0;
   border-bottom: 1px solid var(--line);
   }

summary  {
   cursor: pointer;
   font-weight: 750;
   }

details p  {
   font-size: .88rem;
   color: var(--muted);
   }

footer  {
   border-top: 1px solid var(--line);
   padding: 1.3rem 0 3rem;
   }

.responsible  {
   font-size: .8rem;
   overflow-wrap: anywhere;
   padding-bottom: 1rem;
   }

.responsible p  {
   margin: .3rem 0;
   }

.footer-row  {
   display: flex;
   gap: .7rem;
   flex-wrap: wrap;
   align-items: center;
   }

.footer-row strong  {
   margin-right: auto;
   }

.sources  {
   font-size: .78rem;
   margin-top: 1rem;
   }

.sources ul  {
   padding-left: 1.2rem;
   }

.sources li  {
   margin: .5rem 0;
   }

dialog  {
   width: min(700px,94vw);
   max-height: 86vh;
   overflow: auto;
   border: 1px solid var(--line);
   background: var(--paper);
   color: var(--ink);
   border-radius: 20px;
   padding: 1.6rem;
   }

dialog::backdrop  {
   background: #1c304599;
   }

dialog p  {
   font-size: .87rem;
   overflow-wrap: anywhere;
   }

dialog h2  {
   font-size: 1.8rem;
   }

dialog h3  {
   margin-top: 1.5rem;
   }

.close  {
   float: right;
   }

.preference  {
   display: flex;
   gap: .6rem;
   align-items: center;
   padding: 1rem 0;
   }

.cookie-banner  {
   position: fixed;
   z-index: 20;
   bottom: 1rem;
   left: 50%;
   transform: translateX(-50%);
   width: min(1120px,94vw);
   max-height: 48vh;
   overflow: auto;
   background: var(--paper);
   padding: 1.2rem;
   border: 1px solid var(--line);
   border-radius: 18px;
   box-shadow: 0 10px 40px #233b4d30;
   display: flex;
   gap: 1.2rem;
   align-items: center;
   }

.cookie-banner p  {
   font-size: .77rem;
   color: var(--muted);
   margin: .3rem 0 0;
   }

.cookie-actions  {
   display: flex;
   flex-wrap: wrap;
   gap: .5rem;
   max-width: 440px;
   flex-shrink: 0;
   }

.poster  {
   background: #dff3ef;
   color: #1c2b35;
   border-radius: 12px;
   padding: 2rem;
   min-height: 350px;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   }

.poster span  {
   font-size: .65rem;
   font-weight: 850;
   letter-spacing: .13em;
   }

.poster h3  {
   font-size: 2.4rem;
   margin: 1rem 0;
   overflow-wrap: anywhere;
   }

.poster p  {
   font-size: 1rem;
   }

.poster strong  {
   font-size: .85rem;
   }

:focus-visible  {
   outline: 3px solid #af6613;
   outline-offset: 4px;
   }

[hidden]  {
   display: none !important;
   }

.skip  {
   position: absolute;
   top: -100px;
   left: 1rem;
   background: white;
   padding: 1rem;
   z-index: 30;
   }

.skip:focus  {
   top: 0;
   }

@media (max-width: 850px)  {
  
  .header-inner  {
   display: block;
   }

nav  {
   margin-top: 1rem;
   }

.cookie-banner  {
   display: block;
   }

.cookie-actions  {
   margin-top: .8rem;
   max-width: none;
   }

.home-hero  {
   gap: 1.5rem;
   }

}

@media (max-width: 650px)  {
  
  .home-hero, .route-cards, .gallery, .lesson-columns, .guide-layout, .exercise-layout, .review-layout  {
   grid-template-columns: 1fr;
   }

.home-hero  {
   padding: 2rem 0;
   }

nav a  {
   padding: .5rem .6rem;
   font-size: .73rem;
   }

.home-hero .scene  {
   aspect-ratio: 1.3;
   }

.page-heading  {
   padding-top: 2rem;
   }

}

:root  {
   --ink: #24574b;
   --accent: #24574b;
   --soft: #e7eee4;
   }

.drive {
  --background:#f5f3e9;
  --line:#c8d6c8}

.drive h1 {
  font-size:clamp(2.8rem,5.5vw,5rem);
  letter-spacing:-.055em}

.drive .home-hero figure {
  border:12px solid #e7d48e;
  border-radius:2rem 2rem 0 2rem;
  overflow:hidden}

.drive .route-cards a {
  border-radius:0 1.5rem 1.5rem;
  border-top:9px solid #d7be66;
  background:#fffdf5}

.drive .gallery {
  grid-template-columns:1.3fr 1fr;
  padding:2rem;
  background:#e4ebde}

.drive .exercise-result {
  background:#fff8dc}

.drive .steps li {
  border-left:4px solid #b0c1a6;
  padding-left:1.5rem}

.slides {
  --background:#fcf5ef;
  --line:#e0c8bd}

.slides h1,.slides h2 {
  font-family:Georgia,serif}

.slides h1 {
  font-weight:400;
  font-size:clamp(3rem,6.4vw,5.7rem);
  line-height:1.04}

.slides .home-hero {
  grid-template-columns:1fr;
  text-align:center;
  padding-top:4rem}

.slides .home-hero>div {
  max-width:55rem;
  margin:auto}

.slides .home-hero figure {
  max-width:58rem;
  width:100%;
  margin:1rem auto}

.slides .route-cards {
  gap:0;
  background:#185a60}

.slides .route-cards a {
  color:white;
  background:transparent;
  border-radius:0;
  border:0;
  border-right:1px solid #679091}

.slides .gallery {
  align-items:start;
  gap:3rem}

.slides .gallery figure:last-child {
  margin-top:4rem}

.slides .guide-layout {
  grid-template-columns:1fr}

.slides .steps {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1rem}

.slides .guide-layout aside {
  max-width:38rem;
  margin:auto}

.slides .exercise-result {
  background:#185a60;
  color:white}

.slides .exercise-result textarea {
  background:#fdf5e9;
  color:#2b3437}

.slides .closing {
  background:#ead8c9}

.scene {
  background-image:url("assets/escenas.png");
  background-size:300% 100%;
  aspect-ratio:1}

.scene-0 {
  background-position:0 50%}

.scene-1 {
  background-position:50% 50%}

.scene-2 {
  background-position:100% 50%}

@media(max-width:700px) {
  .slides .route-cards,.slides .steps,.drive .gallery {
  grid-template-columns:1fr}

.slides .gallery figure:last-child {
  margin-top:0}

.drive .gallery {
  padding:1rem}

}

.slides .route-cards p  {
   color: #e2eeea;
   }

.gallery .scene  {
   aspect-ratio: 1;
   }

.slides .home-hero p  {
   margin-inline: auto;
   }

