@font-face {
  font-family: "Fuco Display";
  src: url("/assets/fonts/fuco-display-regular.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Fuco Display";
  src: url("/assets/fonts/fuco-display-bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Fuco Sans";
  src: url("/assets/fonts/fuco-body-regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Fuco Sans";
  src: url("/assets/fonts/fuco-body-bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #071623;
  --ink-2: #102b3b;
  --white: #fff;
  --paper: #f3f5f1;
  --yellow: #ffd21f;
  --cyan: #72dbe3;
  --coral: #ff7468;
  --line: rgba(7, 22, 35, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Fuco Sans", Arial, sans-serif; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.topbar { position: absolute; z-index: 20; inset: 0 0 auto; height: 84px; padding: 12px clamp(20px, 5vw, 74px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--white); }
.brand { justify-self: start; }
.brand img { width: auto; height: 58px; display: block; }
.topbar > p { margin: 0; font-size: 11px; font-weight: 800; }
.share { justify-self: end; min-height: 44px; padding: 10px 15px; display: inline-flex; align-items: center; gap: 14px; border: 1px solid rgba(255,255,255,.58); border-radius: 0; color: var(--white); background: rgba(7,22,35,.2); font-size: 13px; font-weight: 800; cursor: pointer; }
.share b { color: var(--yellow); font-size: 18px; }

.hero { position: relative; height: min(760px, 78svh); min-height: 610px; display: flex; align-items: flex-end; color: var(--white); background: var(--ink) url("assets/hero.jpg") center 48% / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,22,35,.96) 0%, rgba(7,22,35,.74) 48%, rgba(7,22,35,.12) 83%), linear-gradient(0deg, rgba(7,22,35,.6), transparent 55%); }
.hero-content { position: relative; z-index: 2; width: min(760px, calc(100% - 44px)); margin: 0 0 clamp(64px, 9vh, 98px) clamp(22px, 8vw, 140px); }
.eyebrow { margin: 0 0 18px; color: var(--cyan); font-size: 11px; font-weight: 800; }
.eyebrow.dark { color: #126f7a; }
h1, h2, p { letter-spacing: 0; }
h1 { margin: 0; font-family: "Fuco Display", sans-serif; font-size: clamp(48px, 5.5vw, 80px); line-height: .96; font-weight: 500; }
h1 > span { display: block; color: var(--yellow); font-weight: 700; }
h1 em { color: var(--cyan); font-style: normal; font-weight: 700; }
.lead { max-width: 620px; margin: 24px 0 30px; color: rgba(255,255,255,.86); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; }
.button { min-height: 50px; padding: 13px 17px; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; border: 1px solid transparent; border-radius: 0; font-size: 13px; font-weight: 800; cursor: pointer; }
.button span { font-size: 18px; }
.primary { color: var(--ink); background: var(--yellow); }
.outline { color: var(--white); border-color: rgba(255,255,255,.58); background: transparent; }
.dark-button { color: var(--white); background: var(--ink); }
.hero-actions { display: flex; align-items: center; gap: 22px; }
.hero-link { padding: 13px 0; display: inline-flex; align-items: center; gap: 18px; border-bottom: 2px solid var(--cyan); color: var(--white); font-size: 13px; font-weight: 800; }
.hero-link span { color: var(--cyan); font-size: 18px; }

.area-index { position: sticky; z-index: 15; top: 0; min-height: 104px; padding: 7px clamp(7px, 1vw, 14px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; color: var(--white); background: rgba(243,245,241,.97); box-shadow: 0 8px 24px rgba(7,22,35,.18); backdrop-filter: blur(10px); }
.area-tab { --accent: var(--yellow); position: relative; min-width: 0; min-height: 90px; padding: 8px 38px 8px 8px; display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 13px; align-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.14); color: var(--white); background: var(--ink); box-shadow: inset 0 -5px 0 var(--accent); transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; scroll-snap-align: start; }
.area-tab:hover { transform: translateY(-2px); background: var(--ink-2); box-shadow: inset 0 -7px 0 var(--accent), 0 7px 16px rgba(7,22,35,.18); }
.area-tab:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.tab-tech { --accent: #72dbe3; }
.tab-trades { --accent: #ffd21f; }
.tab-health { --accent: #ff7468; }
.tab-services { --accent: #8ad17a; }
.tab-management { --accent: #85a9ff; }
.tab-number { width: 62px; height: 64px; display: grid; place-items: center; color: var(--ink); background: var(--accent); font-family: "Fuco Display", sans-serif; font-size: clamp(26px, 1.7vw, 32px); line-height: 1; font-weight: 700; }
.tab-copy { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.tab-mobile { display: none; }
.tab-copy b { color: var(--accent); font-size: clamp(9px, .65vw, 12px); line-height: 1.12; font-weight: 800; }
.tab-copy strong { font-family: "Fuco Display", sans-serif; font-size: clamp(13px, 1.05vw, 19px); line-height: 1.08; font-weight: 700; }
.tab-arrow { position: absolute; right: 11px; bottom: 12px; color: var(--accent); font-size: 19px; font-weight: 800; transition: transform .2s ease; }
.area-tab:hover .tab-arrow { transform: translateY(3px); }
.area-tab.active { color: var(--ink); background: var(--accent); box-shadow: inset 0 -5px 0 var(--ink); }
.area-tab.active .tab-copy b, .area-tab.active .tab-arrow { color: var(--ink); }
.area-tab.active .tab-number { color: var(--accent); background: var(--ink); }

.future-lab { min-height: 860px; padding: clamp(72px, 8vw, 130px) clamp(24px, 7vw, 118px); display: grid; grid-template-columns: minmax(280px, .72fr) minmax(620px, 1.55fr); gap: clamp(48px, 7vw, 110px); align-items: center; color: var(--white); background: var(--ink); scroll-margin-top: 104px; }
.future-intro { align-self: start; position: sticky; top: 150px; }
.future-intro h2 { max-width: 610px; margin: 0; font-family: "Fuco Display", sans-serif; font-size: clamp(46px, 5.4vw, 82px); line-height: .98; font-weight: 500; }
.future-intro > p:not(.eyebrow) { max-width: 540px; margin: 26px 0 34px; color: rgba(255,255,255,.74); font-size: 18px; line-height: 1.55; }
.catalog-total { display: flex; align-items: center; gap: 18px; border-top: 1px solid rgba(255,255,255,.25); padding-top: 22px; }
.catalog-total b { color: var(--yellow); font-family: "Fuco Display", sans-serif; font-size: 76px; line-height: .8; }
.catalog-total span { color: rgba(255,255,255,.78); font-size: 13px; line-height: 1.35; font-weight: 700; }
.future-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-self: stretch; }
.future-item { --feature: var(--cyan); position: relative; min-height: 390px; padding: 28px 25px 24px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; border-top: 7px solid var(--feature); background: var(--ink-2); transition: transform .24s ease, background-color .24s ease; }
.future-item:hover { transform: translateY(-5px); background: #163b50; }
.future-dtf { --feature: var(--coral); }
.future-ia { --feature: var(--yellow); }
.future-code { position: absolute; top: 20px; right: 18px; color: transparent; -webkit-text-stroke: 1px rgba(114,219,227,.56); -webkit-text-stroke-color: color-mix(in srgb, var(--feature) 62%, transparent); font-family: "Fuco Display", sans-serif; font-size: clamp(88px, 8vw, 138px); line-height: 1; font-weight: 700; }
.future-item > p, .fucotech-panel p { position: relative; margin: 0 0 12px; color: var(--feature); font-size: 10px; font-weight: 800; }
.future-item h3, .fucotech-panel h3 { position: relative; margin: 0; font-family: "Fuco Display", sans-serif; font-size: clamp(29px, 2.4vw, 42px); line-height: 1; }
.future-item strong { position: relative; min-height: 48px; margin-top: 15px; color: rgba(255,255,255,.74); font-size: 14px; line-height: 1.4; }
.future-item a { position: relative; margin-top: 24px; padding-top: 15px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.22); color: var(--feature); font-size: 12px; font-weight: 800; }
.fucotech-panel { grid-column: 1 / -1; min-height: 240px; padding: 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 38px; border-left: 10px solid var(--yellow); color: var(--white); background: var(--cyan); transition: background-color .22s ease; }
.fucotech-panel:hover { background: #8be4ea; }
.fucotech-panel p { color: var(--ink); }
.fucotech-panel h3 { color: var(--ink); font-size: clamp(42px, 5vw, 72px); }
.fucotech-panel h3 span { color: #126f7a; }
.fucotech-panel strong { display: block; max-width: 690px; margin-top: 13px; color: rgba(7,22,35,.76); font-size: 17px; line-height: 1.45; }
.fucotech-panel > b { min-width: 190px; padding: 14px 0; display: flex; justify-content: space-between; gap: 28px; border-bottom: 2px solid var(--ink); color: var(--ink); font-size: 13px; }

.area { --accent: var(--cyan); --accent-ink: var(--ink); min-height: 760px; display: grid; grid-template-columns: 1fr 1fr; scroll-margin-top: 104px; }
.area.reverse .area-photo { order: 2; }
.area-photo { min-height: 720px; overflow: hidden; }
.area-photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .7s ease; }
.area:hover .area-photo img { transform: scale(1.025); }
.area-content { position: relative; padding: clamp(54px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.area-number { position: absolute; right: 26px; top: 8px; color: transparent; -webkit-text-stroke: 1px rgba(7,22,35,.16); font-family: "Fuco Display", sans-serif; font-size: 150px; line-height: 1; font-weight: 700; }
.area h2, .entrepreneurs h2, .closing h2 { position: relative; margin: 0; font-family: "Fuco Display", sans-serif; font-size: clamp(38px, 4.7vw, 68px); line-height: 1.01; font-weight: 500; }
.area-kicker { position: relative; width: fit-content; margin: 0 0 20px; padding: 8px 11px; display: inline-flex; align-items: center; gap: 8px; color: var(--white); background: var(--ink); font-size: 10px; line-height: 1; font-weight: 800; }
.area-kicker > span { width: 9px; height: 9px; display: inline-block; background: var(--accent); }
.area h2 .highlight { position: relative; z-index: 0; display: inline; font-weight: 700; }
.area h2 .highlight::after { position: absolute; z-index: -1; content: ""; right: -4px; bottom: .03em; left: -4px; height: .3em; background: var(--accent); transform: rotate(-1deg); }
.area-copy { max-width: 650px; margin: 22px 0 24px; font-size: 18px; line-height: 1.55; opacity: .82; }
.area-focus { margin: 0 0 28px; display: grid; grid-template-columns: max-content 1fr; align-items: stretch; border: 1px solid currentColor; }
.area-focus b { padding: 11px 12px; display: flex; align-items: center; color: var(--accent-ink); background: var(--accent); font-size: 9px; line-height: 1.15; }
.area-focus span { padding: 10px 12px; font-size: 12px; line-height: 1.3; font-weight: 700; }
.course-heading { margin: 0 0 13px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: "Fuco Display", sans-serif; font-size: 12px; line-height: 1; font-weight: 700; }
.course-heading > span { padding-left: 12px; border-left: 5px solid var(--accent); }
.course-heading b { padding: 7px 9px; color: var(--accent-ink); background: var(--accent); font-family: "Fuco Sans", sans-serif; font-size: 10px; }
.course-list { counter-reset: course; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; list-style: none; }
.course-list.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.course-list li { counter-increment: course; position: relative; min-height: 82px; padding: 13px 14px; display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 15px; overflow: hidden; border: 1px solid rgba(7,22,35,.18); background: rgba(255,255,255,.48); line-height: 1.12; transition: transform .2s ease, border-color .2s ease, background-color .2s ease; }
.course-list li:hover { transform: translateY(-2px); border-color: var(--accent); background: rgba(255,255,255,.82); }
.course-list li::before { content: counter(course, decimal-leading-zero); width: 50px; height: 50px; display: grid; place-items: center; color: var(--accent-ink); background: var(--accent); font-family: "Fuco Display", sans-serif; font-size: 14px; font-weight: 700; }
.course-list li::after { position: absolute; content: ""; inset: 0 auto 0 0; width: 4px; background: var(--accent); }
.course-list li > span { min-width: 0; display: block; font-family: "Fuco Display", sans-serif; font-size: clamp(18px, 1.3vw, 22px); line-height: 1.08; font-weight: 700; }
.course-list li > span::after { content: ""; width: 30px; height: 4px; margin-top: 8px; display: block; background: var(--accent); }
.course-list li > em { padding: 6px 7px; color: var(--ink); background: var(--yellow); font-family: "Fuco Sans", sans-serif; font-size: 9px; line-height: 1; font-style: normal; font-weight: 800; }
.course-list li.course-featured { color: var(--white); border-color: var(--ink); background: var(--ink); }
.course-list li.course-featured:hover { border-color: var(--accent); background: var(--ink-2); }
.area-actions { margin-top: 26px; display: flex; gap: 10px; align-items: stretch; }
.area-action, .area-next { min-height: 48px; padding: 11px 14px; display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid currentColor; border-radius: 0; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.area-action { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.area-next { flex: 1; background: transparent; }
.area-action span, .area-next span { font-size: 17px; }
.area-light { --accent: var(--cyan); background: #fff; }
.area-paper { --accent: var(--coral); background: var(--paper); }
.area-cyan { --accent: var(--yellow); background: var(--cyan); }
.area-coral { --accent: var(--yellow); background: var(--coral); }
.area-dark { --accent: var(--yellow); color: var(--white); background: var(--ink); }
.area-dark .area-kicker { color: var(--ink); background: var(--accent); }
.area-dark .area-kicker > span { background: var(--ink); }
.area-dark .area-number { -webkit-text-stroke-color: rgba(255,255,255,.18); }
.area-dark .course-list { border-color: rgba(255,255,255,.46); }
.area-dark .course-list li { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.area-dark .course-list li:hover { border-color: var(--accent); background: rgba(255,255,255,.12); }
.area-cyan .course-list li, .area-coral .course-list li { background: rgba(255,255,255,.38); }
.area-cyan .course-list li:hover, .area-coral .course-list li:hover { background: rgba(255,255,255,.62); }

.js .future-item, .js .fucotech-panel, .js .course-list li { opacity: 0; transform: translateY(18px); }
.js .future-item.in-view, .js .fucotech-panel.in-view, .js .course-list li.in-view { opacity: 1; transform: translateY(0); transition: opacity .48s ease, transform .48s ease, border-color .2s ease, background-color .2s ease; }
.js .future-item:nth-child(2), .js .course-list li:nth-child(even) { transition-delay: .06s; }
.js .future-item:nth-child(3) { transition-delay: .12s; }

.entrepreneurs { min-height: 670px; display: grid; grid-template-columns: 1.08fr .92fr; background: var(--yellow); }
.entrepreneurs-photo { min-height: 600px; background: url("assets/courses/emprendedores.jpg") center / cover no-repeat; }
.entrepreneurs-content { padding: clamp(64px, 8vw, 116px); align-self: center; }
.entrepreneurs-content h2 { margin-bottom: 26px; }
.entrepreneurs-content h2 span { box-shadow: inset 0 -.3em 0 var(--white); font-weight: 700; }
.entrepreneurs-content > p:not(.eyebrow) { max-width: 620px; margin: 0 0 32px; font-size: 19px; line-height: 1.62; }

.closing { min-height: 640px; padding: 80px 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--white); background: var(--ink); }
.closing > img { width: auto; height: 108px; margin-bottom: 28px; }
.closing h2 span { color: var(--yellow); font-weight: 700; }
.closing-actions { margin-top: 34px; display: flex; gap: 10px; }
.closing .share { min-height: 50px; padding: 13px 17px; }

.toast { position: fixed; z-index: 50; left: 50%; bottom: 24px; padding: 12px 18px; color: var(--white); background: var(--ink); font-size: 13px; font-weight: 800; opacity: 0; transform: translate(-50%, 130%); transition: .24s ease; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
footer { padding: 25px clamp(20px, 5vw, 74px); display: flex; justify-content: space-between; gap: 20px; color: #b7c6cc; background: #020a0f; font-size: 12px; font-weight: 700; }

@media (max-width: 1100px) {
  .future-lab { grid-template-columns: 1fr; gap: 54px; }
  .future-intro { position: static; }
  .future-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .future-ia, .fucotech-panel { grid-column: 1 / -1; }
  .area .course-list.two-columns { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar > p { display: none; }
  .hero { height: 720px; background-position: 60% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(7,22,35,.97) 0%, rgba(7,22,35,.68) 68%, rgba(7,22,35,.2) 100%); }
  .hero-content { margin: 0 24px 66px; }
  .future-lab { scroll-margin-top: 76px; }
  .future-item { min-height: 330px; }
  .area-index { min-height: 76px; padding: 5px; display: flex; gap: 5px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
  .area-index::-webkit-scrollbar { display: none; }
  .area-tab { min-width: 218px; min-height: 66px; padding: 5px 32px 5px 5px; grid-template-columns: 50px minmax(0, 1fr); gap: 10px; }
  .tab-number { width: 50px; height: 54px; font-size: 23px; }
  .tab-copy b { font-size: 9.5px; }
  .tab-copy strong { font-size: 14px; }
  .area { grid-template-columns: 1fr; scroll-margin-top: 76px; }
  .area.reverse .area-photo { order: 0; }
  .area-photo { min-height: 470px; }
  .area-content { padding: 68px 34px 76px; }
  .entrepreneurs { grid-template-columns: 1fr; }
  .entrepreneurs-photo { min-height: 440px; }
}

@media (max-width: 600px) {
  .topbar { height: 76px; padding: 10px 17px; }
  .brand img { height: 46px; }
  .topbar .share span { display: none; }
  .topbar .share { width: 44px; justify-content: center; padding: 0; border-radius: 50%; }
  .hero { height: 620px; min-height: 620px; }
  .hero-content { width: calc(100% - 36px); margin: 0 18px 44px; }
  h1 { font-size: 42px; }
  .lead { margin: 20px 0 24px; font-size: 16px; line-height: 1.42; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 9px; }
  .hero .button { width: 100%; }
  .hero-link { width: 100%; justify-content: space-between; }
  .area-index { min-height: 74px; padding: 4px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; overflow: visible; }
  .area-tab { min-width: 0; min-height: 66px; padding: 4px 2px 5px; display: flex; flex-direction: column; gap: 4px; justify-content: center; align-items: center; box-shadow: inset 0 -3px 0 var(--accent); }
  .tab-number { width: 32px; height: 32px; font-size: 15px; }
  .tab-copy, .tab-arrow { display: none; }
  .tab-mobile { display: block; max-width: 100%; overflow: hidden; color: var(--white); font-size: clamp(8px, 2.45vw, 10px); line-height: 1; font-weight: 700; text-align: center; text-overflow: ellipsis; }
  .area-tab.active .tab-mobile { color: var(--ink); }
  .future-lab { min-height: 0; padding: 58px 18px 64px; gap: 40px; scroll-margin-top: 74px; }
  .future-intro h2 { font-size: 43px; }
  .future-intro > p:not(.eyebrow) { margin: 21px 0 28px; font-size: 16px; }
  .catalog-total b { font-size: 64px; }
  .future-grid { grid-template-columns: 1fr; }
  .future-item, .future-ia { grid-column: 1; min-height: 286px; }
  .future-code { font-size: 104px; }
  .fucotech-panel { grid-column: 1; min-height: 310px; padding: 28px 24px; align-items: stretch; flex-direction: column; justify-content: space-between; }
  .fucotech-panel h3 { font-size: 40px; }
  .fucotech-panel h3 span { display: block; }
  .fucotech-panel > b { width: 100%; }
  .area { scroll-margin-top: 74px; }
  .area-photo { min-height: 280px; }
  .area-content { padding: 48px 18px 58px; }
  .area-number { top: 6px; right: 10px; font-size: 82px; }
  .area h2, .entrepreneurs h2, .closing h2 { font-size: 35px; }
  .area-kicker { margin-bottom: 16px; font-size: 9px; }
  .area-copy { margin: 18px 0 21px; font-size: 16px; }
  .area-focus { grid-template-columns: 1fr; }
  .course-list.two-columns { grid-template-columns: 1fr; }
  .area-actions { flex-direction: column; }
  .area-action, .area-next { width: 100%; }
  .course-heading { font-size: 11px; }
  .course-list li { min-height: 76px; padding: 11px 10px; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 11px; }
  .course-list li::before { width: 42px; height: 42px; font-size: 12px; }
  .course-list li > span { font-size: 18px; }
  .course-list li > span::after { height: 3px; margin-top: 6px; }
  .course-list li > em { padding: 5px; font-size: 8px; }
  .entrepreneurs-photo { min-height: 280px; }
  .entrepreneurs-content { padding: 52px 18px 62px; }
  .closing { min-height: 520px; padding: 62px 18px; }
  .closing > img { height: 88px; }
  .closing-actions { width: 100%; flex-direction: column; }
  .closing .button, .closing .share { width: 100%; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
