:root {
  color-scheme: light;
  --ink: #163444;
  --ink-soft: #55707d;
  --navy: #12384b;
  --navy-deep: #0b2c3b;
  --teal: #147d83;
  --teal-dark: #0f646c;
  --orange: #ef8a45;
  --orange-deep: #d96b2b;
  --paper: #ffffff;
  --mist: #f3f8fa;
  --line: #dbe6ea;
  --shadow: 0 18px 50px rgba(17, 52, 68, .11);
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.6; }
body, button, input, select { font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font-size: inherit; }
[hidden] { display: none !important; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; transform: translateY(-160%); border-radius: 8px; color: white; background: var(--navy-deep); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(219, 230, 234, .82); background: rgba(255,255,255,.95); backdrop-filter: blur(14px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 46px; height: 46px; object-fit: contain; }
.brand-name { display: grid; line-height: 1.05; }
.brand-name strong { color: var(--navy); font-size: 23px; letter-spacing: .04em; }
.brand-name small { margin-top: 4px; color: var(--ink-soft); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 2.8vw, 36px); }
.primary-nav > a:not(.button) { color: #355461; font-size: 15px; font-weight: 650; text-decoration: none; transition: color .2s ease; }
.primary-nav > a:not(.button):hover, .primary-nav > a:not(.button):focus-visible { color: var(--teal); }
.menu-toggle { display: none; }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid transparent; border-radius: 9px; font-size: 15px; font-weight: 750; line-height: 1.2; text-align: center; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid rgba(239,138,69,.65); outline-offset: 3px; }
.button--nav { min-height: 43px; padding: 10px 15px; color: white; background: var(--teal); }
.button--nav:hover { background: var(--teal-dark); }
.button--accent { color: #172f39; background: #f6a261; box-shadow: 0 8px 22px rgba(10, 35, 47, .18); }
.button--accent:hover { background: #ffb273; }
.button--light-outline { border-color: rgba(255,255,255,.62); color: white; background: rgba(255,255,255,.04); }
.button--light-outline:hover { border-color: white; background: rgba(255,255,255,.12); }
.button--outline { border-color: var(--teal); color: var(--teal-dark); background: white; }
.button--outline:hover { color: white; background: var(--teal); }

.hero { position: relative; overflow: hidden; color: white; background: linear-gradient(113deg, #0c2d3b 0%, #123e52 55%, #1c6470 100%); }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: center; gap: clamp(48px, 8vw, 110px); min-height: 600px; padding-top: 70px; padding-bottom: 78px; }
.hero-copy { max-width: 610px; padding: 14px 0 0; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 15px; color: var(--teal-dark); font-size: 14px; font-weight: 800; letter-spacing: .12em; line-height: 1.3; }
.eyebrow--light { color: #b8e3df; }
.eyebrow-line { width: 29px; height: 2px; flex: 0 0 auto; background: var(--orange); }
.hero h1 { max-width: 680px; margin: 0; font-size: clamp(42px, 5.4vw, 68px); font-weight: 740; letter-spacing: -.045em; line-height: 1.07; }
.hero h1 em { color: #f6a261; font-style: normal; }
.hero-lede { max-width: 530px; margin: 22px 0 0; color: #d6e5e9; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 34px; color: #bad0d7; font-size: 14px; line-height: 1.45; }
.hero-note strong { color: white; font-weight: 700; }
.hero-note__mark { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; color: #ffb273; font-size: 20px; font-weight: 800; }
.hero-visual { position: relative; width: 100%; max-width: 510px; justify-self: end; padding: 0 20px 23px 0; }
.hero-visual > img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1.13 / 1; border: 7px solid rgba(255,255,255,.14); border-radius: 30px 110px 30px 30px; object-fit: cover; box-shadow: 0 32px 70px rgba(0,0,0,.24); }
.hero-photo-border { position: absolute; right: 0; bottom: 0; width: 72%; height: 74%; border: 2px solid rgba(246,162,97,.72); border-radius: 30px 90px 28px 28px; }
.hero-caption { position: absolute; z-index: 2; right: -14px; bottom: 58px; display: flex; align-items: center; gap: 13px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.65); border-radius: 13px; color: var(--ink); background: white; box-shadow: var(--shadow); }
.hero-caption__icon { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 10px; color: #7e3f16; background: #fff0e2; font-size: 21px; }
.hero-caption span:last-child { display: grid; line-height: 1.3; }
.hero-caption strong { font-size: 14px; }
.hero-caption small { margin-top: 3px; color: var(--ink-soft); font-size: 13px; }
.hero-shape { position: absolute; border: 1px solid rgba(172,220,221,.13); border-radius: 50%; pointer-events: none; }
.hero-shape--one { width: 480px; height: 480px; top: -310px; right: 8%; }
.hero-shape--two { width: 630px; height: 630px; right: -280px; bottom: -485px; }
.hero-bottom { position: absolute; right: 0; bottom: 0; left: 0; display: flex; height: 5px; }
.hero-bottom span:nth-child(1) { width: 20%; background: #ef8a45; }
.hero-bottom span:nth-child(2) { width: 29%; background: #e9b566; }
.hero-bottom span:nth-child(3) { width: 18%; background: #58a5a2; }
.hero-bottom span:nth-child(4) { width: 17%; background: #d16442; }
.hero-bottom span:nth-child(5) { flex: 1; background: #8bbac0; }

.intro-strip { border-bottom: 1px solid var(--line); background: #f2f8fa; }
.intro-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 77px; }
.intro-strip p { margin: 0; color: #52707c; }
.intro-strip__accent { color: var(--navy); font-weight: 750; }
.intro-strip a, .text-link { color: var(--teal-dark); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.intro-strip a { flex-shrink: 0; text-decoration: none; }
.intro-strip a:hover, .text-link:hover { color: var(--orange-deep); }

.section { padding: 100px 0; }
.section-heading { margin-bottom: 35px; }
.section-heading h2, .about-copy h2, .contact-copy h2, .path-intro h2 { margin: 0; font-size: clamp(34px, 4.2vw, 48px); letter-spacing: -.035em; line-height: 1.12; }
.section-lede { max-width: 640px; margin: 13px 0 0; color: var(--ink-soft); font-size: 17px; }
.section-heading--catalog { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.catalog-source { display: flex; align-items: center; gap: 11px; padding: 11px 15px; border: 1px solid #c8e3e1; border-radius: 10px; color: #52707c; background: #f4fbfa; font-size: 14px; line-height: 1.4; }
.catalog-source strong { color: var(--teal-dark); }
.catalog-source__icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: white; background: var(--teal); font-size: 15px; font-weight: 800; }
.catalog-tools { display: flex; gap: 12px; margin: 0 0 25px; }
.search-field, .filter-field { display: flex; min-height: 50px; align-items: center; border: 1px solid #d1dfe3; border-radius: 9px; background: white; }
.search-field { width: min(100%, 430px); gap: 11px; padding: 0 14px; }
.search-icon { position: relative; width: 16px; height: 16px; flex: 0 0 auto; border: 2px solid #6e8791; border-radius: 50%; }
.search-icon::after { position: absolute; right: -5px; bottom: -3px; width: 7px; height: 2px; transform: rotate(45deg); border-radius: 2px; background: #6e8791; content: ""; }
.search-field input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-field input::placeholder { color: #82949b; }
.filter-field select { min-width: 205px; min-height: 48px; padding: 0 40px 0 14px; border: 0; outline: 0; color: var(--ink); background: transparent; cursor: pointer; }
.catalog-status { min-height: 26px; margin: 0 0 14px; color: #607c87; font-size: 14px; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 22px; }
.course-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #dfe8eb; border-radius: 14px; background: white; box-shadow: 0 8px 28px rgba(20, 54, 70, .06); transition: transform .2s ease, box-shadow .2s ease; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.course-card__media { display: grid; min-height: 175px; place-items: center; overflow: hidden; background: linear-gradient(135deg, #e8f2f4, #d9e9ed); }
.course-card__media img { width: 100%; height: 190px; object-fit: cover; }
.course-card__placeholder { color: #8aa7b0; font-size: 46px; font-weight: 800; letter-spacing: .08em; }
.course-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 21px; }
.course-card__category { margin: 0 0 8px; color: var(--teal-dark); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.course-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 22px; line-height: 1.25; }
.course-card__summary { margin: 0 0 16px; color: #55707d; white-space: pre-line; }
.course-card__details { width: 100%; margin: 0 0 15px; color: #55707d; }
.course-card__details summary { color: var(--teal-dark); font-weight: 750; cursor: pointer; }
.course-card__details p { margin: 8px 0 0; white-space: pre-line; }
.course-card__actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: auto; padding-top: 9px; }
.course-card__link { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 9px 13px; border: 1px solid var(--teal); border-radius: 8px; color: white; background: var(--teal); font-size: 14px; font-weight: 750; text-decoration: none; }
.course-card__link:hover { border-color: var(--teal-dark); background: var(--teal-dark); }
.course-card__link--secondary { color: var(--teal-dark); background: white; }
.course-card__link--secondary:hover { color: white; }
.catalog-message { max-width: 620px; margin: 20px auto 28px; padding: 34px 24px; border: 1px dashed #bed2d8; border-radius: 16px; text-align: center; background: #f8fbfc; }
.catalog-message__symbol { display: grid; width: 48px; height: 48px; place-items: center; margin: 0 auto 13px; border-radius: 50%; color: var(--teal-dark); background: #e0f0ef; font-size: 22px; }
.catalog-message h3 { margin: 0; color: var(--navy); font-size: 21px; }
.catalog-message p { margin: 8px auto 0; color: var(--ink-soft); }
.catalog-message .button { margin-top: 18px; }
.catalog-contact { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; padding: 19px 23px; border-radius: 11px; background: #f2f8fa; }
.catalog-contact div { display: grid; gap: 3px; }
.catalog-contact strong { color: var(--navy); }
.catalog-contact span { color: var(--ink-soft); font-size: 14px; }
.catalog-contact .text-link { flex-shrink: 0; }

.path-section { padding: 91px 0; color: white; background: var(--navy-deep); }
.path-layout { display: grid; grid-template-columns: minmax(280px, .86fr) minmax(420px, 1.14fr); gap: clamp(45px, 9vw, 120px); align-items: center; }
.path-intro h2 { max-width: 520px; }
.path-intro > p:not(.eyebrow) { max-width: 490px; margin: 17px 0 24px; color: #bfd0d7; }
.path-options { border-top: 1px solid rgba(255,255,255,.18); }
.path-option { position: relative; display: grid; grid-template-columns: 42px 1fr 22px; align-items: center; gap: 14px; min-height: 106px; border-bottom: 1px solid rgba(255,255,255,.18); }
.path-option__mark { width: 10px; height: 10px; justify-self: center; border: 2px solid #f6a261; border-radius: 50%; box-shadow: 0 0 0 5px rgba(246,162,97,.12); }
.path-option h3 { margin: 0; color: white; font-size: 18px; }
.path-option p { margin: 5px 0 0; color: #b8ccd3; font-size: 14px; }

.about-section { padding-top: 104px; padding-bottom: 104px; }
.about-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(50px, 9vw, 120px); }
.about-visual { position: relative; max-width: 495px; padding: 0 18px 18px 0; }
.about-visual > img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1 / 1.02; border-radius: 15px 85px 15px 15px; object-fit: cover; }
.about-visual::after { position: absolute; right: 0; bottom: 0; width: 76%; height: 75%; border: 2px solid #e99a61; border-radius: 16px 70px 15px 15px; content: ""; }
.about-badge { position: absolute; z-index: 2; right: -22px; bottom: 43px; display: grid; min-width: 170px; padding: 13px 18px; border: 1px solid #dae7e9; border-radius: 11px; background: white; box-shadow: var(--shadow); line-height: 1.2; }
.about-badge span { color: #67838c; font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.about-badge strong { margin-top: 4px; color: var(--navy); font-size: 21px; letter-spacing: .06em; }
.about-badge small { margin-top: 5px; color: var(--ink-soft); font-size: 13px; }
.about-copy h2 { max-width: 560px; }
.about-copy > p:not(.eyebrow) { max-width: 570px; color: var(--ink-soft); }
.about-copy .text-link { display: inline-block; margin-top: 5px; }

.contact-section { padding: 86px 0; color: white; background: linear-gradient(110deg, #12394b, #176c73); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(350px, .8fr); align-items: center; gap: clamp(45px, 8vw, 100px); }
.contact-copy h2 { max-width: 590px; }
.contact-copy > p:not(.eyebrow) { max-width: 500px; margin: 15px 0 23px; color: #c5dadd; }
.contact-card { padding: 13px 22px; border: 1px solid rgba(255,255,255,.24); border-radius: 14px; background: rgba(255,255,255,.08); }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.17); color: white; text-decoration: none; }
.contact-row:last-of-type { border-bottom: 0; }
.contact-icon { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 10px; color: #ffc08f; font-size: 18px; font-weight: 800; }
.contact-row span:last-child { display: grid; gap: 2px; }
.contact-row small { color: #c4dadd; font-size: 13px; }
.contact-row strong { font-size: 16px; font-weight: 700; }
.contact-row:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.contact-hours { padding: 11px 0 7px; color: #c4dadd; font-size: 14px; }

.site-footer { color: #d4e2e6; background: #082633; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr 1.1fr; align-items: center; gap: 30px; padding-top: 33px; padding-bottom: 30px; }
.brand--footer .brand-name strong { color: white; }
.brand--footer .brand-name small { color: #a8c0c7; }
.footer-main > p { margin: 0; color: #a8c0c7; font-size: 14px; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 17px; }
.footer-links a, .footer-bottom a { color: #c4dadd; font-size: 14px; text-decoration: none; }
.footer-links a:hover, .footer-bottom a:hover { color: #ffb273; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 15px; padding-bottom: 18px; border-top: 1px solid rgba(255,255,255,.14); color: #93adb6; font-size: 14px; }

@media (max-width: 980px) {
  .primary-nav { gap: 17px; }
  .primary-nav > a:not(.button) { font-size: 14px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(310px, .85fr); gap: 42px; min-height: 560px; }
  .hero-caption { right: 0; }
  .path-layout, .about-layout { gap: 45px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 74px; }
  .container { width: min(100% - 36px, 580px); }
  .header-inner { min-height: 72px; }
  .brand-mark { width: 41px; height: 41px; }
  .brand-name strong { font-size: 21px; }
  .menu-toggle { display: grid; width: 44px; height: 44px; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 9px; background: white; cursor: pointer; }
  .menu-toggle span { display: block; width: 19px; height: 2px; border-radius: 2px; background: var(--navy); }
  .primary-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 9px 18px 18px; border-bottom: 1px solid var(--line); background: white; box-shadow: 0 15px 20px rgba(13,44,59,.08); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav > a:not(.button) { padding: 12px 5px; border-bottom: 1px solid #edf2f4; font-size: 16px; }
  .primary-nav .button { margin-top: 12px; }
  .hero-layout { grid-template-columns: 1fr; gap: 36px; min-height: auto; padding-top: 62px; padding-bottom: 66px; }
  .hero-copy { padding-top: 0; }
  .hero h1 { max-width: 570px; font-size: clamp(43px, 10vw, 60px); }
  .hero-lede { font-size: 17px; }
  .hero-visual { width: min(100%, 500px); justify-self: center; }
  .hero-visual > img { aspect-ratio: 1.28 / 1; border-top-right-radius: 80px; }
  .hero-caption { right: 5px; bottom: 48px; }
  .intro-strip__inner { align-items: flex-start; flex-direction: column; gap: 8px; padding-top: 17px; padding-bottom: 17px; }
  .section { padding: 74px 0; }
  .section-heading--catalog { align-items: flex-start; flex-direction: column; gap: 18px; }
  .catalog-tools { flex-direction: column; }
  .search-field, .filter-field, .filter-field select { width: 100%; }
  .path-section { padding: 72px 0; }
  .path-layout { grid-template-columns: 1fr; gap: 34px; }
  .path-option { min-height: 100px; }
  .about-section { padding: 75px 0; }
  .about-layout { grid-template-columns: 1fr; gap: 44px; }
  .about-visual { width: min(100%, 480px); }
  .about-copy { order: -1; }
  .contact-section { padding: 72px 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 34px; }
  .footer-main { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-main > p { justify-self: end; text-align: right; }
  .footer-links { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .hero-layout { padding-top: 48px; }
  .hero h1 { font-size: 42px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-visual { padding-right: 9px; }
  .hero-caption { right: -3px; bottom: 38px; padding: 11px 13px; }
  .section-heading h2, .about-copy h2, .contact-copy h2, .path-intro h2 { font-size: 35px; }
  .catalog-contact { align-items: flex-start; flex-direction: column; }
  .catalog-contact .text-link { padding-top: 4px; }
  .footer-main { grid-template-columns: 1fr; gap: 16px; }
  .footer-main > p { justify-self: start; text-align: left; }
  .footer-links { grid-column: auto; gap: 14px; }
}

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