@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: #f5f7f3;
  --yellow: #ffd21f;
  --cyan: #55dde5;
  --coral: #ff665c;
  --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: var(--ink); }
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); }

.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: var(--cyan); }
.tab-trades { --accent: var(--yellow); }
.tab-health { --accent: var(--coral); }
.tab-services { --accent: var(--yellow); }
.tab-management { --accent: var(--cyan); }
.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); }

.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 8px; display: flex; justify-content: space-between; gap: 12px; font-size: 9px; line-height: 1; font-weight: 800; }
.course-heading b { color: var(--accent-ink); background: var(--accent); padding: 4px 6px; }
.course-list { counter-reset: course; margin: 0; padding: 0; list-style: none; border-top: 1px solid currentColor; }
.course-list.two-columns { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.course-list li { counter-increment: course; min-height: 44px; padding: 8px 7px 8px 0; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 9px; border-bottom: 1px solid currentColor; font-size: 15px; font-weight: 700; }
.course-list li::before { content: counter(course, decimal-leading-zero); width: 28px; height: 28px; display: grid; place-items: center; color: var(--accent-ink); background: var(--accent); font-size: 9px; font-weight: 800; }
.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-health { --accent: var(--yellow); background: var(--coral); }
.area-management { --accent: var(--yellow); background: var(--cyan); }
.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,.28); }

.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: 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; }
  .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 .button { width: 100%; }
  .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); }
  .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-list li { font-size: 14px; }
  .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; }
}
