:root {
  color-scheme: light;
  --navy: #0c214a;
  --blue: #1148ac;
  --blue-dark: #0d2b63;
  --muted: #51617c;
  --line: #dce5f1;
  --mist: #eff5ff;
  --white: #fff;
  font-family: "Aptos", "Inter", "Segoe UI", sans-serif;
  background: #f8faff;
  color: var(--navy);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #3276dd; outline-offset: 4px; }
.frame { width: min(1300px, calc(100% - 96px)); margin-inline: auto; }

.skip-link { position: absolute; z-index: 3; top: 10px; left: 10px; padding: 12px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.masthead { height: 78px; display: flex; justify-content: space-between; align-items: center; }
.brand { font-size: 1.15rem; font-weight: 750; letter-spacing: .045em; text-decoration: none; }
.brand span { color: var(--blue); font-weight: 850; }
.nav-link { display: inline-flex; gap: .7em; align-items: center; font-size: .94rem; font-weight: 700; text-decoration: none; color: var(--blue-dark); }
.nav-link:hover { text-decoration: underline; text-underline-offset: .22em; }
.nav-link [aria-hidden] { color: var(--blue); font-size: 1.2em; }

.hero { display: grid; grid-template-columns: 43% 57%; min-height: 465px; position: relative; overflow: hidden; border-radius: 20px; background: var(--blue-dark); isolation: isolate; }
.hero-brand { color: var(--white); display: grid; align-items: center; padding: 40px clamp(28px, 4.4vw, 65px); background: radial-gradient(ellipse at 28% 18%, #1c4d96, #0c285d 75%); }
.hero-content { width: min(100%, 440px); margin-inline: auto; }
.hero h1 { margin: 0; }
.hero h1 img { display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 20px #08193560); }
.hero-subtitle { color: #e7effb; font-size: 1rem; font-weight: 650; letter-spacing: .08em; text-align: center; margin: 8px 0 23px; }
.languages { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 342px; margin-inline: auto; }
.languages button { min-height: 48px; padding: 9px 14px; border-radius: 9px; border: 1px solid #b0c6e7; background: transparent; color: white; font-weight: 700; cursor: pointer; transition: background .16s, color .16s; }
.languages button:hover { background: #ffffff22; }
.languages button[aria-pressed="true"] { color: var(--blue-dark); background: white; border-color: white; }
.languages button:focus-visible { outline-color: #fff; }
.workshop { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 53%; border-left: 1px solid #ffffff24; }

.services { padding-block: 52px 58px; scroll-margin-top: 24px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 28px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 790; letter-spacing: -.05em; line-height: 1.05; }
.section-heading p { margin: 0; font-size: 1rem; color: var(--muted); }
.service-layout { display: grid; grid-template-columns: minmax(230px, 1fr) minmax(0, 2fr); gap: 18px; }
.service-list { display: grid; grid-template-rows: repeat(3, minmax(59px, 1fr)); gap: 9px; }
.service-tab { display: grid; grid-template-columns: 33px 1fr 8px; align-items: center; gap: 12px; min-width: 0; text-align: left; color: var(--navy); font-size: 1rem; font-weight: 720; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 9px 15px; cursor: pointer; }
.service-tab:hover { border-color: #739fda; }
.service-tab[aria-selected="true"] { color: var(--white); background: var(--blue); border-color: var(--blue); }
.service-symbol { display: grid; place-items: center; border-radius: 7px; width: 33px; height: 33px; background: var(--mist); color: var(--blue); font: 700 1.2rem/1 "Segoe UI Symbol", sans-serif; }
.service-tab[aria-selected="true"] .service-symbol { background: #ffffff2b; color: var(--white); }
.chevron { width: 6px; height: 6px; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: rotate(45deg); }
.service-panels { display: grid; }
.service-panel { background: var(--mist); border: 1px solid #d8e6fa; border-radius: 12px; padding: clamp(23px, 3vw, 40px); }
.service-panel h3 { margin: 0 0 10px; font-size: clamp(1.45rem, 2.3vw, 2.15rem); letter-spacing: -.035em; line-height: 1.12; }
.service-panel p { max-width: 64ch; color: var(--muted); line-height: 1.55; margin: 0 0 22px; }
.topics { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.topics li { background: var(--white); color: var(--blue-dark); border: 1px solid #d6e4f9; border-radius: 30px; font-size: .88rem; font-weight: 650; padding: 5px 12px; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-block: 22px 26px; border-top: 1px solid var(--line); }
.footer-brand { font-size: .9rem; letter-spacing: .045em; font-weight: 800; }

@media (max-width: 1000px) {
  .frame { width: calc(100% - 48px); }
  .hero { min-height: 370px; }
  .hero-brand { padding: 30px 28px; }
}
@media (max-width: 700px) {
  .frame { width: calc(100% - 32px); }
  .masthead { height: 64px; }
  .brand { font-size: 1rem; }
  .hero { grid-template-columns: 1fr; min-height: 0; border-radius: 16px; }
  .hero-brand { padding: 23px 22px 30px; }
  .hero-content { max-width: 380px; }
  .hero-subtitle { margin-top: 2px; }
  .workshop { aspect-ratio: 16 / 9; height: auto; border-left: 0; border-top: 1px solid #ffffff24; }
  .services { padding-block: 35px 40px; }
  .section-heading { flex-direction: column; gap: 9px; margin-bottom: 18px; }
  .service-layout { grid-template-columns: 1fr; gap: 12px; }
  .service-list { grid-template-rows: repeat(3, minmax(49px, 1fr)); gap: 7px; }
  .service-tab { padding-block: 6px; }
  .service-panel { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
