:root {
  color-scheme: light;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #1a2130;
  background: #fff;
  line-height: 1.55;
  --ink: #1a2130;
  --muted: #49546a;
  --navy: #132a51;
  --blue: #203f7c;
  --line: #dde2eb;
  --soft: #f4f6fa;
  --header-height: 64px;
  --hero-surface:
    radial-gradient(circle at 109% 8%, transparent 30%, #889cca18 30.2%, #889cca0d 38%, transparent 38.2%),
    radial-gradient(circle at -10% 102%, transparent 27%, #9ab0df19 27.2%, #9ab0df0c 35%, transparent 35.2%),
    radial-gradient(ellipse at 87% 16%, #e5e4f9, transparent 43%),
    radial-gradient(ellipse at 8% 92%, #e3ecfa, transparent 45%);
}

* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 3px solid #365fbd; outline-offset: 4px; }
html { scroll-padding-top: calc(var(--header-height) + 16px); }

.shell { width: min(1136px, calc(100% - 80px)); margin-inline: auto; }
.skip-link:not(:focus) { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; white-space: nowrap; overflow: hidden; }
.skip-link:focus { position: absolute; z-index: 20; top: 8px; left: 8px; background: #fff; padding: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header-hero, .hero {
  background-color: #f5f7fc;
  background-image: var(--hero-surface);
  background-size: 100% 100svh;
  background-repeat: no-repeat;
}
.site-header-hero {
  border-bottom-color: transparent;
}
.site-header[data-scrolled] { background: #fff; border-bottom-color: #dce3f0; }
@supports (backdrop-filter: blur(10px)) {
  .site-header[data-scrolled] { background: #ffffffb8; backdrop-filter: blur(14px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-height); }
.wordmark { display: block; width: 140px; flex: 0 0 auto; }
.wordmark img { width: 100%; height: auto; }
.navigation { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.navigation a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .93rem; }
.navigation a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 6px; padding: 8px 16px; font-size: .94rem; font-weight: 650; text-decoration: none; background: var(--navy); color: white; }
.button:hover { background: var(--blue); }

.hero {
  min-height: calc(100svh - var(--header-height) - 1px);
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  background-position: 0 calc(-1 * var(--header-height) - 1px);
}
.hero-inner { padding-block: clamp(56px, 9vw, 110px); }
.hero-actions { display: flex; justify-content: center; gap: 11px; flex-wrap: wrap; margin-top: 27px; }
.button-secondary { background: #ffffff9e; color: var(--navy); border: 1px solid #b8c4df; }
.button-secondary:hover { background: #fff; }
.partner-pill { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; border: 1px solid var(--line); border-radius: 40px; padding: 5px 11px 5px 7px; color: var(--muted); background: #fff; font-size: .84rem; text-decoration: none; }
.partner-pill:hover { background: var(--soft); }
.partner-pill strong { color: var(--ink); }
.separator { padding-inline: 4px; color: var(--muted); }
h1, h2, h3 { line-height: 1.14; font-weight: 630; letter-spacing: -.032em; }
h1 { font-size: clamp(2.45rem, 5vw, 4.1rem); font-weight: 580; margin: 18px auto 14px; max-width: 950px; text-wrap: balance; color: var(--navy); }
.hero p { color: var(--muted); font-size: clamp(1.06rem, 1.6vw, 1.26rem); max-width: 71ch; margin-inline: auto; text-wrap: pretty; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.7rem); }
h3 { font-size: clamp(1.27rem, 2.1vw, 1.52rem); }
.section-intro { margin-bottom: 20px; }
.section-intro p, .credential-grid p, .about-page p { margin-top: 8px; color: var(--muted); }

.routes { padding-block: clamp(48px, 7vw, 86px); }
.routes-intro p { max-width: 78ch; }
.route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 18px; }
.route { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: clip; }
.route-image { aspect-ratio: 2.55; position: relative; overflow: hidden; background: #e0e7f3; }
.route-image img { width: 100%; height: 100%; object-fit: cover; }
.route:nth-child(1) .route-image img { object-position: 50% 38%; }
.route:nth-child(2) .route-image img { object-position: 50% 49%; }
.route:nth-child(3) .route-image img { object-position: 50% 48%; }
.status { position: absolute; top: 11px; right: 11px; padding: 4px 9px; border-radius: 5px; background: #fff; color: var(--navy); font-size: .81rem; font-weight: 650; }
.route-body { flex: 1; display: flex; flex-direction: column; padding: 19px; }
.route-price { margin: 9px 0 7px; color: var(--navy); }
.route-price strong { font-size: clamp(1.7rem, 3vw, 2.25rem); line-height: 1; letter-spacing: -.035em; }
.route-price span { color: var(--muted); font-size: .92rem; }
.route-pitch { color: var(--muted); margin: 3px 0 14px; }
.route-includes { border-top: 1px solid var(--line); padding: 11px 0 16px; color: var(--muted); font-size: .92rem; }
.route-includes p { color: var(--navy); font-weight: 650; margin-bottom: 5px; }
.route-includes ul { margin: 0; padding-left: 17px; }
.route-includes li + li { margin-top: 3px; }
.route-link { margin-top: auto; align-self: flex-start; }

.credentials { background: var(--soft); padding-block: clamp(44px, 6vw, 72px); }
.credential-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.credential-grid article { padding: 23px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.credential-grid a { color: var(--blue); font-weight: 600; display: inline-block; margin-top: 10px; }
.section { padding-block: clamp(48px, 7vw, 84px); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.catalog { background: #f6f8fc; border-block: 1px solid var(--line); }
.course-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.course-filters button {
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid #ccd6e7;
  border-radius: 7px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
}
.course-filters button:hover { border-color: var(--blue); }
.course-filters button[aria-pressed="true"] { color: #fff; background: var(--navy); border-color: var(--navy); }
.course-grid, .iso-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.course-card, .iso-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 11px; overflow: clip; background: #fff; }
.course-cover {
  position: relative;
  aspect-ratio: 2.4;
  overflow: hidden;
  background: #1e3766;
}
.course-cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-software img { object-position: 50% 38%; }
.cover-marketing img { object-position: 50% 42%; }
.cover-gobernanza img { object-position: 50% 38%; }
.cover-servicios img { object-position: 50% 50%; }
.course-cover::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, #13295036, transparent 64%); }
.course-cover .status { z-index: 1; }
.course-body, .iso-body { display: flex; flex: 1; flex-direction: column; padding: 19px; }
.course-subject { color: var(--blue); font-size: .83rem; font-weight: 650; margin-bottom: 6px; }
.course-body h3 + p, .iso-body h3 + p { margin-top: 9px; color: var(--muted); }
.course-tracks { margin-top: auto; padding-top: 15px; }
.course-tracks p { font-size: .8rem; color: var(--muted); font-weight: 650; }
.course-tracks ul { display: flex; flex-wrap: wrap; gap: 5px; margin: 5px 0 0; padding: 0; list-style: none; }
.course-tracks li { border-radius: 4px; padding: 3px 6px; color: #2d426b; background: #eaf0fb; font-size: .77rem; line-height: 1.4; }
.iso-section .section-intro p { max-width: 73ch; }
.iso-cover { aspect-ratio: 2.1; display: flex; align-items: end; padding: 15px 17px; position: relative; isolation: isolate; color: #fff; background: var(--navy); overflow: hidden; }
.iso-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; z-index: -2; }
.iso-cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(12deg, #081a38dd, #14294e10 78%); }
.iso-standard { line-height: 1; font-size: 2.35rem; font-weight: 650; letter-spacing: -.05em; }
.iso-standard span { font-size: .85rem; letter-spacing: .04em; margin-right: 4px; }
.iso-body a, .about-page a:not(.button) { color: var(--blue); font-weight: 600; }
.iso-body a { margin-top: auto; padding-top: 14px; font-size: .91rem; }

.community { background: #14294e; color: #fff; }
.community-intro p { max-width: 64ch; color: #e2eafb; margin-top: 10px; }
.community-status { display: inline-block; color: #dee9ff; font-size: .86rem; font-weight: 650; border: 1px solid #65769a; border-radius: 5px; padding: 4px 8px; margin-bottom: 12px; }
.community-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 23px; }
.community-grid article { background: #203658; border: 1px solid #425780; border-radius: 9px; padding: 22px; }
.community-grid p { color: #e5ebf9; margin-top: 9px; }
.faq { display: grid; grid-template-columns: 1fr 1.75fr; gap: 34px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; min-height: 51px; padding: 10px 0; gap: 12px; font-weight: 650; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--blue); font-size: 1.18rem; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { color: var(--muted); padding-bottom: 15px; max-width: 68ch; }

.site-footer { border-top: 1px solid var(--line); background: #f7f8fb; }
.footer-columns { display: grid; grid-template-columns: .9fr 1.12fr 1.12fr .98fr; gap: 21px; padding-block: 32px 24px; }
.footer-columns nav { display: flex; flex-direction: column; align-items: start; }
.footer-columns h2 { font-size: .98rem; letter-spacing: 0; padding-block: 9px; }
.footer-columns .wordmark { width: 156px; }
.footer-columns nav a, .footer-bottom a { display: inline-flex; align-items: center; min-height: 37px; font-size: .91rem; text-decoration: none; }
.footer-columns nav a:hover, .footer-bottom a:hover { text-decoration: underline; }
.footer-brand p, .footer-bottom p, .footer-note { font-size: .88rem; color: var(--muted); }
.footer-brand p { max-width: 30ch; }
.footer-note { margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); min-height: 59px; }
.about-page h1 { margin: 0 0 14px; }
.about-page p { max-width: 65ch; }
.about-page .button { margin-top: 20px; }

.membership-hero { background: var(--soft); border-bottom: 1px solid var(--line); }
.membership-intro { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(20px, 6vw, 78px); align-items: center; }
.membership-intro h1 { margin: 7px 0 12px; }
.membership-intro h1 + p, .membership-exams p, .membership-benefits p { color: var(--muted); }
.membership-intro .button { margin-top: 14px; }
.membership-intro img { width: 100%; height: auto; aspect-ratio: 1.7; object-fit: cover; border-radius: 10px; }
.membership-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.membership-benefits article { border: 1px solid var(--line); border-radius: 8px; padding: 19px; }
.membership-benefits p, .membership-exams p { margin-top: 9px; }
.membership-exams p { max-width: 75ch; }
.membership-exams a { display: inline-block; color: var(--blue); font-weight: 600; margin-top: 12px; }
.membership-courses { margin-bottom: 0; padding-left: 20px; }
.membership-courses li + li { margin-top: 7px; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 48px); }
  .header-cta { display: none; }
  .route-grid, .course-grid, .iso-grid { gap: 12px; }
  .route-body { padding-inline: 13px; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 32px); }
  :root { --header-height: 100px; }
  .header-inner { flex-wrap: wrap; gap: 0 12px; padding-block: 5px; }
  .navigation { width: 100%; justify-content: space-between; gap: 8px; }
  .navigation a { font-size: .86rem; }
  .header-inner .wordmark { width: 128px; }
  h1 { max-width: 18ch; }
  .route-grid, .course-grid, .iso-grid, .credential-grid, .community-grid, .faq, .membership-intro, .membership-benefits { grid-template-columns: 1fr; }
  .route-grid { gap: 16px; }
  .membership-intro img { max-width: 420px; }
  .route-body { padding-inline: 17px; }
  .route-image { aspect-ratio: 2.3; }
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-wrap: wrap; }
}
