/* TAIC — palette and type follow the ICIE (MKPP) brand */
:root {
  --navy: #1D3176;
  --navy-deep: #111d4a;
  --blue: #3560AA;
  --cyan: #00A3E2;
  --sky: #99C2E9;
  --violet: #5E388E;
  --grey: #F5F5F5;
  --line: #E4E6EC;
  --ink: #1c1c1c;
  --muted: #555b66;
  --display: "Wix Madefor Display", Arial, sans-serif;
  --text: "Wix Madefor Text", Arial, sans-serif;
  --header-h: 84px;
  --shadow: 0 10px 30px rgba(17, 29, 74, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.container { width: min(1160px, 100% - 48px); margin-inline: auto; }

/* ---------- Buttons (square, uppercase, as on ic-ie.com) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 32px;
  font-family: var(--display); font-weight: 600; font-size: 15px;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  border: 1px solid currentColor; border-radius: 0;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--blue); border-color: var(--blue); }
.btn--light { background: #fff; border-color: #fff; color: var(--navy); }
.btn--light:hover { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: #fff; color: var(--navy); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand__logo svg { width: 150px; height: auto; }
.brand__caption {
  font-family: var(--display); font-weight: 600; font-size: 12px; line-height: 1.25;
  color: var(--cyan); max-width: 220px;
}
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 30px; }
.nav a {
  font-family: var(--text); font-weight: 500; font-size: 14px;
  text-transform: uppercase; letter-spacing: .03em; text-decoration: none; color: var(--ink);
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--blue); border-color: var(--cyan); }
.lang {
  font-family: var(--display); font-weight: 600; font-size: 14px; text-decoration: none;
  color: var(--navy); border: 1px solid var(--navy); padding: 6px 12px;
}
.lang:hover { background: var(--navy); color: #fff; }
.burger {
  display: none; width: 56px; height: 56px; border: 0; background: var(--blue); cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 0;
}
.burger span { width: 28px; height: 3px; background: #fff; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(100vh, 900px);
  padding: calc(var(--header-h) + 80px) 0 90px;
  display: flex; align-items: center;
  color: #fff;
  background: radial-gradient(1200px 700px at 78% 45%, #24408f 0%, var(--navy) 40%, var(--navy-deep) 100%);
}
.hero__globe { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner { position: relative; }
.hero__eyebrow {
  font-family: var(--display); font-weight: 600; font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 22px;
}
.hero__title {
  font-weight: 700; text-transform: uppercase;
  font-size: clamp(34px, 5.2vw, 64px); line-height: 1.08; max-width: 760px;
}
.hero__points { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 28px; margin: 44px 0 48px; }
.hero__points li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.hero__points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--cyan); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--tight { padding: 90px 0 110px; }
.section--grey { background: var(--grey); }
.section--dark { background: var(--navy); color: #fff; }
.section-title {
  display: flex; align-items: center; gap: 28px;
  font-weight: 600; text-transform: uppercase; color: var(--navy);
  font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; margin-bottom: 48px;
}
.section-title__line { flex: 0 0 100px; height: 2px; background: var(--cyan); }
.section-title--light { color: #fff; }
.section-lead { max-width: 640px; color: var(--muted); font-size: 18px; margin: -24px 0 48px 128px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 64px; }
.about__slogan {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; color: var(--navy);
}
.about__text { color: var(--muted); font-size: 18px; }
.about__note { margin-top: 24px; padding-left: 18px; border-left: 3px solid var(--cyan); color: var(--ink); font-weight: 500; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.card { background: #fff; padding: 36px 34px; box-shadow: var(--shadow); }
.card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; margin-bottom: 28px;
  font-family: var(--display); font-size: 40px; line-height: 1; color: #fff;
}
.card h3 { font-size: 20px; font-weight: 600; line-height: 1.3; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 16px; }

/* Directions */
.dirs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
/* a last card alone in its row spans the full width */
.dir:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.dir { background: #fff; padding: 34px 30px 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.dir__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.dir__num { font-family: var(--display); font-weight: 700; font-size: 34px; color: var(--blue); }
.dir__bar { width: 44px; height: 6px; }
.dir h3 { font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--navy); margin-bottom: 12px; }
.dir p { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tags li { font-size: 13px; line-height: 1.3; padding: 6px 10px; background: rgba(53, 96, 170, .1); color: var(--navy); }

/* Mission */
.mission { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.mission .section-title { flex-direction: column; align-items: flex-start; gap: 28px; font-size: clamp(36px, 4.6vw, 60px); font-weight: 700; margin: 0; }
.mission .section-title__line { flex-basis: auto; width: 200px; }
.mission__label { font-family: var(--text); font-size: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.mission__text { font-size: 21px; line-height: 1.5; margin-bottom: 40px; }
.mission__values li { position: relative; padding-left: 26px; font-size: 18px; margin-bottom: 14px; }
.mission__values li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--cyan); }

/* Audience */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 64px; }
.audience__text { font-size: 18px; color: var(--muted); }
.audience__points li { position: relative; padding-left: 38px; margin-bottom: 22px; font-size: 16.5px; }
.audience__points li::before { content: ""; position: absolute; left: 0; top: .8em; width: 22px; height: 2px; background: var(--cyan); }
.callout {
  display: grid; grid-template-columns: 1fr 220px; align-items: center; gap: 40px;
  background: var(--navy); color: #fff; padding: 48px 64px;
}
.callout p { font-family: var(--display); font-size: clamp(19px, 2vw, 24px); line-height: 1.45; max-width: 640px; }
.callout__mark svg { width: 150px; margin-left: auto; }

/* Sport & community */
.sports { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.sport { background: #fff; padding: 30px 24px; box-shadow: var(--shadow); border-top: 4px solid var(--cyan); }
.sport:nth-child(2) { border-color: var(--sky); }
.sport:nth-child(3) { border-color: var(--violet); }
.sport:nth-child(4) { border-color: var(--blue); }
.sport:nth-child(5) { border-color: var(--navy); }
.sport .icon { width: 48px; height: 48px; color: var(--navy); margin-bottom: 20px; }
.sport h3 { font-size: 18px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.sport p { font-size: 15px; color: var(--muted); }

/* Partners */
.partners { display: flex; flex-wrap: wrap; gap: 28px; }
.partner {
  display: flex; align-items: center; gap: 28px; text-decoration: none;
  padding: 28px 36px; border: 1px solid var(--line); transition: box-shadow .2s, border-color .2s;
}
.partner:hover { box-shadow: var(--shadow); border-color: transparent; }
.partner img { height: 104px; width: auto; max-width: 200px; }
.partner span { max-width: 260px; font-family: var(--display); font-weight: 600; color: var(--navy); line-height: 1.35; }

/* Contact */
.contact { display: grid; grid-template-columns: 5fr 7fr; box-shadow: var(--shadow); background: #fff; }
.contact__art {
  display: flex; align-items: center; justify-content: center; min-height: 380px;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 163, 226, .35), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.contact__art svg { width: 52%; max-width: 230px; }
.contact__body { padding: 64px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.contact__title { font-weight: 700; text-transform: uppercase; color: var(--navy); font-size: clamp(26px, 3vw, 36px); line-height: 1.2; margin-bottom: 18px; }
.contact__body > p { color: var(--muted); font-size: 18px; margin-bottom: 32px; max-width: 460px; }
.contact__email { margin-top: 18px; font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--blue); text-decoration: none; }
.contact__email:hover { text-decoration: underline; }

/* Footer */
.footer { background: #15161b; color: rgba(255, 255, 255, .75); padding: 56px 0 40px; font-size: 15px; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: start; }
.footer__logo svg { width: 160px; margin-bottom: 14px; }
.footer__contacts { text-align: right; }
.footer__contacts a { font-family: var(--display); font-weight: 600; font-size: 22px; color: #fff; text-decoration: none; }
.footer__contacts a:hover { color: var(--cyan); }
.footer__copy { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; font-size: 13px; color: rgba(255, 255, 255, .5); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .brand__caption { display: none; }
  .dirs { grid-template-columns: repeat(2, 1fr); }
  .dir:last-child:nth-child(3n+1) { grid-column: auto; }
  .dir:last-child:nth-child(2n+1) { grid-column: 1 / -1; }
  .sports { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .brand__caption { display: block; }
  .burger { display: flex; margin-left: 8px; }
  .lang { margin-left: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; padding: 12px 24px 24px; }
  .nav a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .about, .mission, .audience { grid-template-columns: 1fr; gap: 32px; }
  .section-lead { margin-left: 0; }
  .contact { grid-template-columns: 1fr; }
  .contact__art { min-height: 220px; }
  .callout { grid-template-columns: 1fr; padding: 40px 32px; }
  .callout__mark { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .brand__caption { display: none; }
  .section { padding: 80px 0; }
  .section-title { gap: 16px; }
  .section-title__line { flex-basis: 40px; }
  .hero__points { grid-template-columns: 1fr; gap: 16px; margin: 32px 0 36px; }
  .cards, .dirs { grid-template-columns: 1fr; }
  .dir:last-child:nth-child(n) { grid-column: auto; }
  .sports { grid-template-columns: repeat(2, 1fr); }
  .contact__body { padding: 40px 28px; }
  .partner { flex-direction: column; align-items: flex-start; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__contacts { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
