:root {
  --navy: #082957;
  --navy-2: #0b315f;
  --teal: #18b7b7;
  --teal-dark: #079f9e;
  --coral: #ff4d45;
  --coral-dark: #e9443d;
  --green: #288c35;
  --purple: #6333a3;
  --blue: #0877c6;
  --yellow: #ffb625;
  --ink: #0d2c55;
  --muted: #64748b;
  --paper: #ffffff;
  --soft: #f7f8fb;
  --line: rgba(8, 41, 87, .09);
  --radius: 22px;
  --shadow: 0 16px 45px rgba(8, 41, 87, .08);
  --container: 1180px;
  --header-h: 92px;
  --font-sans: "Nunito Sans", ui-rounded, "Avenir Next", "Segoe UI", Arial, sans-serif;
  --font-script: "Caveat", "Segoe Print", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { display: block; }
.container { width: min(calc(100% - 44px), var(--container)); margin-inline: auto; }
.anchor-target { position: absolute; top: calc(-1 * var(--header-h)); }
.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: grid;
  align-items: center;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(8,41,87,.04);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(8,41,87,.08); }
.header-inner {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto auto;
  align-items: center;
  gap: 34px;
}
.brand { width: 244px; line-height: 0; }
.brand img { width: 100%; }
.main-nav { display: flex; align-items: center; gap: 44px; }
.main-nav a {
  position: relative;
  padding-block: 12px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .02em;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 5px;
  width: 0; height: 3px;
  border-radius: 999px;
  background: var(--teal);
  transform: translateX(-50%);
  transition: width .2s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { width: 26px; }
.menu-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 12px 22px;
  border: 0;
  border-radius: 15px;
  font-weight: 900;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff5b50, var(--coral));
  box-shadow: 0 9px 22px rgba(255,77,69,.20);
}
.btn-primary:hover { background: linear-gradient(135deg, #ff665c, var(--coral-dark)); transform: translateY(-2px); box-shadow: 0 12px 25px rgba(255,77,69,.28); }
.btn-primary:active { transform: translateY(0); }
.btn[aria-disabled="true"] { opacity: .58; cursor: not-allowed; transform: none; box-shadow: none; }
.icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-external { width: 18px; height: 18px; margin-left: 2px; }
.header-cta { min-width: 265px; }

/* HERO */
.hero {
  position: relative;
  overflow: clip;
  padding: 26px 0 38px;
  background: radial-gradient(circle at 55% 20%, rgba(255,182,37,.06), transparent 22%), #fff;
}
.hero-grid {
  min-height: 470px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: 24px;
}
.hero-copy { position: relative; z-index: 3; padding: 20px 0 18px 8px; }
.script-label {
  margin: 0 0 0 38px;
  color: var(--teal);
  font-family: var(--font-script);
  font-size: clamp(42px, 4.5vw, 60px);
  font-weight: 700;
  line-height: .95;
  transform: rotate(-2deg);
}
.hero h1 {
  position: relative;
  width: fit-content;
  margin: 6px 0 18px;
  color: var(--navy);
  font-size: clamp(62px, 7.3vw, 94px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .91;
}
.hero h1::after {
  content: "";
  position: absolute;
  left: 42%;
  bottom: -10px;
  width: 58%;
  height: 7px;
  border-radius: 999px;
  background: var(--coral);
  transform: rotate(-1.2deg);
}
.hero-lead {
  max-width: 490px;
  margin: 30px 0 24px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.55;
}
.hero-cta { min-width: 325px; }
.link-note, .cta-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0 8px;
  color: #7b8798;
  font-size: 13px;
  font-weight: 600;
}
.link-note > span, .cta-note > span { color: var(--blue); font-size: 20px; line-height: 1; }
.hero-media {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  min-width: 0;
}
.hero-media picture { width: 100%; position: relative; z-index: 2; }
.hero-media img {
  width: 100%;
  aspect-ratio: 553 / 425;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 0 0 0 92px;
  mask-image: radial-gradient(140% 115% at 88% 45%, #000 78%, transparent 100%);
  -webkit-mask-image: radial-gradient(140% 115% at 88% 45%, #000 78%, transparent 100%);
}
.hero-shape {
  position: absolute;
  right: -22px;
  bottom: 0;
  z-index: 3;
  width: 205px;
  height: 105px;
  background: rgba(24,183,183,.94);
  border-radius: 100% 0 0 0;
}
.hero-heart {
  position: absolute;
  right: 30px;
  bottom: 8px;
  z-index: 4;
  color: #fff;
  font-family: var(--font-script);
  font-size: 74px;
  line-height: 1;
  transform: rotate(-8deg);
}
.decor-dots {
  width: 64px;
  height: 64px;
  opacity: .88;
  background-image: radial-gradient(circle, var(--teal) 2.6px, transparent 2.8px);
  background-size: 16px 16px;
}
.decor-dots-hero { position: absolute; left: -7px; bottom: 5px; }

/* SECTION HEADING */
.section-heading { text-align: center; margin-bottom: 20px; }
.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -.025em;
}
.section-heading > span {
  display: block;
  width: 40px;
  height: 4px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: var(--teal);
}

/* OFFER */
.offer-section { padding: 15px 0 38px; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offer-card {
  min-width: 0;
  padding: 22px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(8,41,87,.055);
}
.card-lego { background: linear-gradient(180deg, rgba(232,247,226,.62), #fff 52%); }
.card-diy { background: linear-gradient(180deg, rgba(247,239,252,.72), #fff 52%); }
.card-training { background: linear-gradient(180deg, rgba(232,245,255,.72), #fff 52%); }
.offer-heading {
  min-height: 78px;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: start;
  gap: 14px;
}
.offer-heading .number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}
.offer-card h3 { margin: 3px 0 0; font-size: 19px; line-height: 1.25; font-weight: 900; letter-spacing: -.01em; }
.card-lego .number { background: var(--green); }
.card-lego h3, .card-lego .partner-row > span { color: var(--green); }
.card-diy .number { background: var(--purple); }
.card-diy h3 { color: var(--purple); }
.card-training .number { background: var(--blue); }
.card-training h3 { color: var(--blue); }
.offer-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  background: #eef2f7;
}
.card-lego .offer-image { object-fit: cover; }
.offer-card > p { margin: 17px 0 0; min-height: 105px; font-size: 15px; line-height: 1.58; font-weight: 600; }
.partner-row {
  min-height: 90px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 800;
}
.partner-row a {
  display: inline-flex;
  border-radius: 8px;
  outline-offset: 4px;
  transition: transform .18s ease;
}
.partner-row a:hover { transform: translateY(-2px); }
.partner-row img { width: 88px; max-height: 72px; object-fit: contain; }

/* MISSION / VISION */
.mission-section { padding: 0 0 20px; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.info-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 22px;
  min-height: 165px;
  padding: 22px 28px;
  border-radius: 18px;
  border: 1px solid rgba(8,41,87,.04);
}
.mission-card { background: linear-gradient(110deg, #f6fbf4, #eaf8f5); }
.vision-card { background: linear-gradient(110deg, #f4faff, #e9f3fc); }
.info-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  box-shadow: 0 6px 20px rgba(8,41,87,.06);
}
.info-icon svg { width: 50px; height: 50px; fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.mission-card .info-icon svg { stroke: var(--teal-dark); }
.vision-card .info-icon svg { stroke: var(--blue); }
.info-card h2 { margin: 0 0 8px; font-size: 22px; font-weight: 900; }
.mission-card h2 { color: var(--teal-dark); }
.vision-card h2 { color: var(--blue); }
.info-card p { margin: 0; font-size: 14px; line-height: 1.55; font-weight: 600; }
/*.vision-card::after {*/
/*  content: "";*/
/*  position: absolute;*/
/*  right: 18px;*/
/*  bottom: 13px;*/
/*  width: 70px;*/
/*  height: 60px;*/
/*  background-image: radial-gradient(circle, #8d62cc 2.3px, transparent 2.6px);*/
/*  background-size: 14px 14px;*/
/*  opacity: .9;*/
/*}*/

/* CTA */
.cta-section { padding: 0 0 17px; }
.cta-band {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  padding: 22px 280px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(120deg, #159c9f, #19babb 58%, #0f9fa4);
}
.cta-script { margin: 0; font-family: var(--font-script); font-size: 40px; line-height: .95; font-weight: 700; }
.cta-band h2 { margin: 1px 0 11px; color: #fff; font-size: 24px; line-height: 1.25; font-weight: 900; }
.cta-button { min-width: 330px; }
.cta-note { margin: 6px 0 0; color: rgba(255,255,255,.92); font-size: 11px; }
.cta-note > span { color: #fff; }
.cta-lines { position: absolute; left: 105px; top: 66px; width: 60px; height: 60px; }
.cta-lines::before, .cta-lines::after { content: ""; position: absolute; inset: 0; border-top: 6px solid #fff; border-radius: 50%; transform: rotate(26deg); }
.cta-lines::after { transform: rotate(-22deg) translate(3px, 12px); width: 42px; }
.cta-wave {
  position: absolute;
  right: 48px;
  top: 55px;
  width: 120px;
  height: 60px;
  border-top: 7px solid #fff;
  border-radius: 50%;
  transform: rotate(9deg);
}
.cta-wave::after {
  content: "";
  position: absolute;
  left: -65px;
  top: 44px;
  width: 48px;
  height: 10px;
  border-top: 6px solid var(--yellow);
  border-radius: 50%;
  transform: rotate(15deg);
}

/* CONTACT */
.contact-section { position: relative; padding: 0 0 15px; overflow: clip; }
.contact-grid {
  display: grid;
  grid-template-columns: .64fr 1.36fr;
  align-items: stretch;
  gap: 18px;
}
.contact-copy { padding: 7px 0 0 16px; }
.contact-title-wrap { margin-bottom: 13px; }
.contact-title-wrap h2 { margin: 0; color: var(--navy); font-size: 26px; line-height: 1; font-weight: 900; }
.contact-title-wrap > span { display: block; width: 34px; height: 4px; margin-top: 9px; border-radius: 999px; background: var(--teal); }
address { margin: 0; font-style: normal; }
address p { display: grid; grid-template-columns: 27px 1fr; gap: 13px; align-items: start; margin: 11px 0; font-size: 14px; line-height: 1.35; font-weight: 600; }
address strong { font-weight: 800; }
.contact-icon { width: 25px; height: 25px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
address a { font-weight: 800; border-bottom: 1px solid transparent; }
address a:hover { border-color: currentColor; }
.contact-media { min-width: 0; }
.contact-media picture { height: 100%; }
.contact-media img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; border-radius: 18px; }
.decor-dots-contact { position: absolute; left: 28%; bottom: -12px; background-image: radial-gradient(circle, var(--yellow) 2.6px, transparent 2.8px); }

/* FOOTER */
.site-footer { background: var(--navy); color: #fff; }
.footer-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  align-items: center;
  gap: 22px;
}
.footer-brand { width: 185px; padding: 5px 10px 5px 0; border-radius: 10px; }
.footer-brand img { width: 100%; filter: brightness(0) invert(1); opacity: .95; }
.footer-inner > p { margin: 0; text-align: center; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.92); }
.footer-social-wrap { display: flex; justify-content: flex-end; align-items: center; gap: 17px; font-size: 13px; font-weight: 700; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  transition: transform .18s ease;
}
.socials a:hover { transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.socials a:first-child svg { fill: currentColor; stroke: none; }
.socials .fill-dot { fill: currentColor; stroke: none; }
.socials a.is-hidden { display: none; }
.footer-social-wrap:has(.socials a:not(.is-hidden)) { display: flex; }
.footer-social-wrap.all-hidden { display: none; }

/* FOCUS */
a:focus-visible, button:focus-visible { outline: 3px solid rgba(8,119,198,.45); outline-offset: 4px; border-radius: 10px; }

/* RESPONSIVE */
@media (max-width: 1080px) {
  :root { --header-h: 82px; }
  .header-inner { grid-template-columns: 220px 1fr auto; gap: 18px; }
  .brand { width: 210px; }
  .main-nav { justify-content: center; gap: 25px; }
  .header-cta { min-width: 220px; padding-inline: 17px; font-size: 13px; }
  .hero-grid { min-height: 430px; }
  .hero h1 { font-size: clamp(60px, 8vw, 78px); }
  .cta-band { padding-inline: 180px; }
}

@media (max-width: 900px) {
  .container { width: min(calc(100% - 34px), var(--container)); }
  .header-inner { grid-template-columns: 1fr auto auto; }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 17px;
    right: 17px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 14px; border-radius: 10px; }
  .main-nav a:hover { background: var(--soft); }
  .main-nav a::after { display: none; }
  .menu-toggle {
    width: 45px;
    height: 45px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 0;
    border-radius: 12px;
    background: #f6f8fb;
    color: var(--navy);
    cursor: pointer;
  }
  .menu-toggle span { width: 21px; height: 2px; border-radius: 5px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-cta { min-width: 0; }
  .header-cta span:nth-of-type(1) { display: none; }

  .hero { padding-top: 14px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 8px; }
  .hero-copy { padding: 24px 6px 0; }
  .hero-media { min-height: 390px; }
  .hero-media img { max-height: 470px; object-position: center 42%; }
  .hero h1 { font-size: clamp(64px, 13vw, 96px); }
  .hero-lead { max-width: 620px; }

  .offer-grid { grid-template-columns: 1fr; }
  .offer-card { display: grid; grid-template-columns: 1fr 1.25fr; gap: 18px 22px; align-items: start; }
  .offer-heading { grid-column: 1 / -1; min-height: 0; }
  .offer-card > picture { grid-column: 1; grid-row: 2 / span 2; }
  .offer-image { height: 100%; min-height: 210px; }
  .offer-card > p { grid-column: 2; margin-top: 0; min-height: 0; }
  .partner-row { grid-column: 2; min-height: 0; margin-top: 0; }

  .mission-grid { grid-template-columns: 1fr; }
  .cta-band { padding-inline: 120px; }
  .contact-grid { grid-template-columns: .8fr 1.2fr; }
  .footer-inner { grid-template-columns: 180px 1fr; }
  .footer-social-wrap { grid-column: 1 / -1; justify-content: center; padding-bottom: 14px; }
}

@media (max-width: 640px) {
  :root { --header-h: 72px; --radius: 16px; }
  .container { width: min(calc(100% - 26px), var(--container)); }
  .site-header { height: var(--header-h); }
  .brand { width: 178px; }
  .header-cta { width: 46px; height: 46px; min-height: 46px; padding: 0; border-radius: 12px; }
  .header-cta .icon-external { display: none; }
  .header-cta .icon { width: 22px; height: 22px; }
  .menu-toggle { width: 44px; height: 44px; }

  .hero { padding: 8px 0 30px; }
  .hero-copy { padding-top: 18px; }
  .script-label { margin-left: 8px; font-size: 42px; }
  .hero h1 { margin-top: 3px; font-size: clamp(56px, 18vw, 74px); line-height: .91; }
  .hero h1::after { height: 5px; bottom: -6px; }
  .hero-lead { margin-top: 24px; font-size: 17px; }
  .hero-cta { width: 100%; min-width: 0; }
  .link-note { margin-left: 0; justify-content: center; text-align: center; font-size: 12px; }
  .hero-media { min-height: 0; }
  .hero-media img { border-radius: 0 0 0 44px; mask-image: none; -webkit-mask-image: none; }
  .hero-shape { width: 120px; height: 58px; }
  .hero-heart { right: 15px; bottom: 2px; font-size: 48px; }
  .decor-dots-hero { display: none; }

  .offer-section { padding-top: 8px; }
  .offer-grid { gap: 14px; }
  .offer-card { display: block; padding: 18px 14px; border-radius: 17px; }
  .offer-heading { grid-template-columns: 46px 1fr; gap: 10px; margin-bottom: 12px; }
  .offer-heading .number { width: 42px; height: 42px; font-size: 22px; }
  .offer-card h3 { font-size: 18px; }
  .offer-image { min-height: 0; height: auto; aspect-ratio: 1.48 / 1; }
  .card-lego .offer-image { aspect-ratio: 1.64 / 1; }
  .offer-card > p { margin-top: 14px; font-size: 14px; min-height: 0; }
  .partner-row { min-height: 0; margin-top: 12px; }

  .info-card { grid-template-columns: 62px 1fr; gap: 14px; min-height: 0; padding: 18px 16px; }
  .info-icon { width: 60px; height: 60px; }
  .info-icon svg { width: 38px; height: 38px; }
  .info-card h2 { font-size: 20px; }
  .info-card p { font-size: 13px; }
  .vision-card::after { display: none; }

  .cta-band { min-height: 196px; padding: 24px 18px 18px; border-radius: 16px; }
  .cta-script { font-size: 38px; }
  .cta-band h2 { font-size: 20px; }
  .cta-button { width: 100%; min-width: 0; }
  .cta-lines, .cta-wave { display: none; }

  .contact-grid { grid-template-columns: 1fr; gap: 10px; }
  .contact-copy { padding-left: 7px; }
  .contact-media img { min-height: 135px; border-radius: 15px; }
  .decor-dots-contact { display: none; }

  .footer-inner { grid-template-columns: 1fr; justify-items: center; gap: 8px; padding: 18px 0; }
  .footer-brand { width: 170px; padding: 0; }
  .footer-inner > p { order: 3; }
  .footer-social-wrap { grid-column: auto; order: 2; padding: 0; }
}

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