  * { margin: 0; padding: 0; box-sizing: border-box; }
  html, body { background: #f2f1f9; }
  ::-webkit-scrollbar { width: 8px; height: 8px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: rgba(110,122,140,0.45); border-radius: 8px; }
  ::-webkit-scrollbar-thumb:hover { background: rgba(110,122,140,0.75); }
  @supports not selector(::-webkit-scrollbar) {
    html { scrollbar-width: thin; scrollbar-color: rgba(110,122,140,0.45) transparent; }
  }
  body { font-family: 'Inter', sans-serif; color: #6e7a8c; }
  a { text-decoration: none; color: inherit; cursor: pointer; }
  img { display: block; }

  .canvas { width: 100%; margin: 0 auto; position: relative; background: #f2f1f9; overflow: clip; }

  .grad { background: linear-gradient(to right, #006aff 0.524%, #00c8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .chip { display: inline-flex; align-items: center; justify-content: center; padding: 8px 16px; border-radius: 20px; }
  .chip p { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 14px; line-height: 14px; letter-spacing: 1.4px; white-space: nowrap; }
  .chip-blue { background: rgba(0,106,255,0.1); }
  .chip-blue p { color: #006aff; }
  .chip-grey { background: #dbe0e9; }
  .chip-grey p { color: #6e7a8c; }
  h2 { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 55px; line-height: 55px; color: #6e7a8c; }
  .body-text { font-weight: 500; font-size: 18px; line-height: 2; color: #6e7a8c; }
  .body-text p { margin-bottom: 0; }
  .link-arrow { font-weight: 500; font-size: 18px; line-height: 1.6; color: #006aff; text-decoration: underline; }

  /* ===== Hero ===== */
  .hero-o { position: relative; overflow: hidden; min-height: 982px; }
  .hero-o-photo { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; object-position: bottom; filter: blur(10px); }
  .hero-o-light { position: absolute; inset: 0; background: linear-gradient(to right, #f1f0f8 0%, #f1f0f8 57%, rgba(241,240,248,0) 100%); opacity: 0.23; }
  .hero-o-inner { position: relative; max-width: 1512px; margin: 0 auto; padding: 284px 104px 96px; }
  .hero-o-chip { position: relative; }
  .hero-o h1 { position: relative; width: 792px; margin-top: 24px; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 69px; line-height: 69px; letter-spacing: -1.38px; color: #fdfdff; }
  .hero-o-sub { position: relative; width: 520px; margin-top: 32px; font-weight: 500; font-size: 18px; line-height: 2; color: #fdfdff; }
  .hero-o-actions { position: relative; display: flex; gap: 16px; margin-top: 48px; }

  /* ===== Sections ===== */
  .section { margin: 121px auto 0; }

  /* S2: intro */
  .s-intro { text-align: center; }
  .s-intro h2 { margin-top: 24px; }

  /* S3: three cards */
  .s-cards { width: min(1304px, calc(100% - 64px)); display: flex; gap: 40px; }
  .info-card { flex: 1; background: #fdfdff; border-radius: 22px; box-shadow: 0 15px 30px 0 rgba(0,99,238,0.1); overflow: hidden; }
  .info-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 22px 22px 0 0; }
  .info-card .body-text { width: 344px; max-width: calc(100% - 64px); margin: 20px auto 32px; text-align: center; }
  .info-card:first-child .body-text { margin-top: 32px; }

  /* S4: profesija */
  .s-prof { position: relative; width: min(1304px, calc(100% - 64px)); height: 834px; background: rgba(110,122,140,0.1); border-radius: 22px; }
  .s-prof .chip { position: absolute; left: 112px; top: 64px; }
  .s-prof h2 { position: absolute; left: 112px; top: 118px; width: 1006px; }
  .s-prof-photo { position: absolute; left: 112px; top: 292px; width: 520px; height: 269px; border-radius: 22px; object-fit: cover; }
  .s-prof-body { position: absolute; left: 672px; top: 292px; width: 520px; }
  .s-prof-divider { position: absolute; left: 112px; top: 656px; width: 1080px; height: 1px; }
  .check-item { position: absolute; display: flex; gap: 16px; align-items: flex-start; }
  .check-item img { width: 14px; height: 14px; margin-top: 0; }
  .check-item p { font-weight: 400; font-size: 14px; line-height: 14px; color: #6e7a8c; }

  /* S5: značaj */
  .s-why { position: relative; width: min(1231px, calc(100% - 64px)); height: 566px; }
  .s-why-img1 { position: absolute; left: 0; top: 0; width: 333px; height: 538px; border-radius: 22px; object-fit: cover; }
  .s-why-img2 { position: absolute; left: 241px; top: 42px; width: 296px; height: 520px; border-radius: 22px; object-fit: cover; opacity: 0.8; }
  .s-why-col { position: absolute; left: 672px; top: 0; width: 559px; }
  .s-why-col h2 { margin-top: 24px; }
  .s-why-col .body-text { margin-top: 24px; width: 520px; }

  /* S6: udruženje */
  .s-org { position: relative; width: min(1304px, calc(100% - 64px)); height: 804px; background: #fdfdff; border-radius: 22px; overflow: hidden; }
  .s-org-logo { position: absolute; left: 112px; top: 82px; width: 87.3px; height: 75.8px; }
  .s-org-logo img { position: absolute; }
  .s-org-logo .fl-a { left: 0; top: 52.47%; width: 41.18%; height: 47.53%; }
  .s-org-logo .fl-b { left: 58.82%; top: 0; width: 41.18%; height: 47.53%; }
  .s-org-logo .fl-c { left: 15.48%; top: 10.02%; width: 69.04%; height: 79.67%; }
  .s-org-tagline { position: absolute; left: 215px; top: 105px; font-family: 'Roboto', sans-serif; font-weight: 600; font-size: 9.987px; line-height: 10px; color: #afb5c2; white-space: nowrap; }
  .s-org h2 { position: absolute; left: 112px; top: 182px; width: 559px; }
  .s-org-body { position: absolute; left: 112px; top: 371px; width: 520px; }
  .s-org-link { position: absolute; left: 112px; top: 647px; }
  .s-org-grad { position: absolute; left: 784px; top: 0; width: 520px; height: 804px; background: linear-gradient(to bottom, #d0ddee, #ffffff); }
  .s-org-photo { position: absolute; right: 0; bottom: 0; height: 782px; width: auto; }
  .s-org-strip { position: absolute; left: 997px; top: 639px; width: 39px; height: 76px; border-radius: 10px; object-fit: cover; }

  /* S7: pomoć */
  .s-help { width: min(1303px, calc(100% - 64px)); }
  .s-help-head { text-align: center; }
  .s-help-head h2 { margin-top: 24px; white-space: nowrap; }
  .s-help-sub { margin: 24px auto 0; width: 632px; max-width: 100%; text-align: center; }
  .s-help-cards { margin-top: 64px; display: flex; gap: 41px; justify-content: center; flex-wrap: wrap; }
  .help-card { position: relative; width: 295px; height: 370px; border-radius: 22px; overflow: hidden; flex-shrink: 0; }
  .help-card > img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .help-card .band-gray { position: absolute; left: 0; right: 0; top: 229px; height: 91px; background: rgba(110,122,140,0.3); }
  .help-card .band-grad { position: absolute; left: 0; right: 0; bottom: 0; height: 100px; background: linear-gradient(to right, #006aff 0.524%, #00c8ff 100%); }
  .help-card .tile { position: absolute; left: 33px; top: 250px; width: 40px; height: 40px; background: #dbe0e9; border-radius: 10px; box-shadow: inset -8px -8px 10px 0 rgba(188,188,188,0.1), inset 8px 8px 10px 0 #ffffff; display: flex; align-items: center; justify-content: center; }
  .help-card .tile img { max-width: 24px; max-height: 24px; }
  .help-card .label { position: absolute; left: 32px; top: 302px; width: 231px; font-weight: 500; font-size: 18px; line-height: 18px; color: #fdfdff; }

  /* S8: EDU centar */
  .s-edu { position: relative; width: min(1304px, calc(100% - 64px)); height: 911px; background: #fdfdff; border-radius: 22px; overflow: hidden; text-align: center; }
  .s-edu-lines { position: absolute; left: 770px; top: 450px; width: 512px; height: 434px; pointer-events: none; }
  .s-edu-icon { position: absolute; left: 50%; transform: translateX(-50%); top: 89px; width: 56px; height: 56px; background: rgba(0,106,255,0.1); border-radius: 16px; display: flex; align-items: center; justify-content: center; }
  .s-edu-icon img { width: 24px; height: 20px; }
  .s-edu h2 { position: absolute; left: 0; right: 0; top: 169px; white-space: nowrap; }
  .s-edu-body { position: absolute; left: 50%; transform: translateX(-50%); top: 303px; width: 520px; }
  .s-edu-body a { color: #006aff; text-decoration: underline; }
  .s-edu-pills { position: absolute; left: 50%; transform: translateX(-50%); top: 579px; width: 586px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
  .pill { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid #afb5c2; border-radius: 100px; }
  .pill img { width: 32px; height: 32px; }
  .pill p { font-weight: 400; font-size: 14px; line-height: 14px; color: #6e7a8c; white-space: nowrap; padding-right: 8px; }
  .s-edu-link { position: absolute; left: 0; right: 0; top: 739px; }

  /* S9: CTA */
  .s-cta { position: relative; width: min(1304px, calc(100% - 64px)); height: 593px; border-radius: 22px; overflow: hidden; }
  .s-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .s-cta h2 { position: absolute; left: 113px; top: 128px; width: 518px; color: #dbe0e9; text-align: right; }
  .s-cta-body { position: absolute; left: 671px; top: 184px; width: 520px; color: #fdfdff; }
  .s-cta .btn-white { position: absolute; left: 537px; top: 404px; }

  /* ===== Footer (shared) ===== */
  .footer { margin-top: 121px; }
  .footer-line { height: 4px; }
  .footer-line-1 { background: linear-gradient(to left, #006aff 0.524%, #00c8ff 100%); }
  .footer-line-2 { background: linear-gradient(to right, #006aff 0.524%, #00c8ff 100%); }
  .footer-body { position: relative; background: #6e7a8c; overflow: hidden; }
  .footer-inner { position: relative; max-width: 1512px; height: 647px; margin: 0 auto; }
  .footer-spinner { position: absolute; left: 900px; top: 78px; width: 752px; height: 652.604px; pointer-events: none; }
  .footer-brand { position: absolute; left: 105px; top: 79.87px; width: 240px; }
  .footer-logo { position: relative; width: 121px; height: 105.006px; }
  .footer-logo img { position: absolute; }
  .footer-logo .fl-a { left: 0; top: 55.1px; width: 49.83px; height: 49.91px; }
  .footer-logo .fl-b { left: 71.17px; top: 0; width: 49.83px; height: 49.91px; }
  .footer-logo .fl-c { left: 18.73px; top: 10.52px; width: 83.53px; height: 83.66px; }
  .footer-tagline { margin: 14.5px 0 0 2px; width: 182px; display: flex; flex-direction: column; gap: 4px; font-family: 'Roboto', sans-serif; font-weight: 600; font-size: 9.987px; line-height: 10px; }
  .footer-tagline .t1 { color: #fdfdff; }
  .footer-tagline .t2 { color: #afb5c2; }
  .footer-contact { font-weight: 500; font-size: 18px; line-height: 18px; color: #fdfdff; }
  .footer-address { margin-top: 38.6px; width: 221px; }
  .footer-phone { margin-top: 24px; white-space: nowrap; }
  .footer-email { margin-top: 24px; white-space: nowrap; }
  .footer-cols { display: contents; }
  .footer-col { position: absolute; top: 156px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-col-udruzenje { left: 441px; }
  .footer-col-clanovi { left: 665px; }
  .footer-col-edukacija { left: 889px; }
  .footer-col-h { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 14px; line-height: 14px; letter-spacing: 1.4px; color: #afb5c2; white-space: nowrap; }
  .footer-link { font-weight: 500; font-size: 18px; line-height: 18px; color: #fdfdff; white-space: nowrap; display: block; }
  .footer-bottom { display: contents; }
  .footer-social { position: absolute; right: 103px; top: 506px; width: 48px; height: 48px; }
  .footer-copy { position: absolute; left: 105px; top: 597px; font-weight: 400; font-size: 14px; line-height: 14px; color: #afb5c2; white-space: nowrap; }
  .scroll-top { position: absolute; right: 7px; top: 239px; width: 56px; height: 56px; background: #fdfdff; border: none; border-radius: 16px; cursor: pointer; box-shadow: inset -8px -8px 10px 0 rgba(100,100,100,0.15), inset 8px 8px 10px 0 rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .scroll-top img { width: 13px; height: 29px; }

  /* ===== Hover states (from Figma prototype variants) ===== */
  .link-arrow:hover { background: linear-gradient(to right, #006aff 0.524%, #00c8ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-decoration: none; }
  .s-edu-body a:hover { text-decoration: none; }
  .pill { transition: background 0.2s ease; }
  .pill p { transition: color 0.2s ease; }
  .pill:hover { background: #afb5c2; }
  .pill:hover p { color: #fdfdff; }
  .scroll-top { transition: box-shadow 0.25s ease; }
  .scroll-top:hover { box-shadow: inset -8px -8px 10px 0 rgba(100,100,100,0.15), inset 8px 8px 10px 0 rgba(255,255,255,0.3), 0 15px 30px 0 rgba(0,99,238,0.1); }
  .footer-link:hover { text-decoration: underline; }

  /* =====================================================
     Compact navigation (max-width: 1279px)
     ===================================================== */
  @media (max-width: 1279px) {
  }

  /* =====================================================
     Tablet (max-width: 1024px)
     ===================================================== */
  @media (max-width: 1024px) {
    body { overflow-x: hidden; }
    h2 { font-size: 40px; line-height: 1.2; }
    .section { margin-top: 88px; }

    .hero-o { min-height: auto; }
    .hero-o-inner { position: static; max-width: none; padding: 220px 32px 72px; }
    .hero-o-chip { position: relative; left: auto; top: auto; }
    .hero-o h1 { position: relative; left: auto; top: auto; width: auto; max-width: 792px; margin-top: 18px; font-size: 52px; line-height: 1.1; letter-spacing: -1px; }
    .hero-o-sub { position: relative; left: auto; top: auto; width: auto; max-width: 520px; margin-top: 24px; }
    .hero-o-actions { position: relative; left: auto; top: auto; margin-top: 40px; flex-wrap: wrap; }

    .s-intro { padding: 0 32px; }
    .s-intro h2 br { display: none; }

    .s-cards { flex-direction: column; align-items: center; }
    .info-card { flex: none; width: 100%; max-width: 480px; }

    .s-prof { height: auto; padding: 48px 40px; }
    .s-prof .chip { position: static; }
    .s-prof h2 { position: static; width: auto; margin-top: 24px; }
    .s-prof-photo { position: static; width: 100%; max-width: 520px; margin-top: 32px; }
    .s-prof-body { position: static; width: auto; max-width: 640px; margin-top: 24px; }
    .s-prof-divider { position: static; width: 100%; margin-top: 40px; }
    .s-prof-checks { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
    .check-item { position: static !important; }

    .s-why { height: auto; display: flex; flex-direction: column; }
    .s-why-col { position: static; width: auto; order: 1; }
    .s-why-col .body-text { width: auto; max-width: 640px; }
    .s-why-imgs { display: flex; gap: 24px; margin-top: 40px; order: 2; }
    .s-why-img1, .s-why-img2 { position: static; width: calc(50% - 12px); height: auto; aspect-ratio: 333 / 500; }

    .s-org { height: auto; padding: 48px 40px 0; display: flex; flex-direction: column; align-items: flex-start; }
    .s-org-photo { order: 9; align-self: center; }
    .s-org-logo { position: relative; left: auto; top: auto; }
    .s-org-tagline { position: relative; left: auto; top: auto; margin-top: 12px; }
    .s-org h2 { position: static; width: auto; margin-top: 32px; }
    .s-org-body { position: static; width: auto; max-width: 640px; margin-top: 24px; }
    .s-org-link { position: static; display: inline-block; margin-top: 32px; }
    .s-org-grad { display: none; }
    .s-org-photo { position: static; height: auto; width: 100%; max-width: 480px; margin: 24px auto 0; }
    .s-org-strip { display: none; }

    .s-help-head h2 { white-space: normal; }
    .s-help-cards { gap: 24px; }

    .s-edu { height: auto; padding: 56px 32px 64px; }
    .s-edu-lines { display: none; }
    .s-edu-icon { position: relative; left: auto; top: auto; transform: none; margin: 0 auto; }
    .s-edu h2 { position: static; white-space: normal; margin-top: 24px; }
    .s-edu-body { position: static; transform: none; margin: 24px auto 0; max-width: 520px; width: auto; }
    .s-edu-pills { position: static; transform: none; margin: 40px auto 0; width: auto; max-width: 586px; }
    .s-edu-link { position: static; display: block; margin-top: 40px; }

    .s-cta { height: auto; padding: 56px 40px; }
    .s-cta h2 { position: relative; left: auto; top: auto; width: auto; text-align: left; }
    .s-cta-body { position: relative; left: auto; top: auto; width: auto; max-width: 640px; margin-top: 24px; }
    .s-cta .btn-white { position: relative; left: auto; top: auto; margin-top: 40px; }

    .footer { margin-top: 88px; }
    .footer-body { padding: 56px 32px 32px; }
    .footer-inner { position: static; max-width: none; height: auto; display: flex; flex-direction: column; gap: 48px; }
    .footer-spinner { display: none; }
    .footer-brand { position: static; width: auto; }
    .footer-cols { display: flex; flex-wrap: wrap; gap: 48px 64px; }
    .footer-col { position: static; }
    .footer-bottom { display: flex; align-items: center; justify-content: space-between; }
    .footer-social { position: static; }
    .scroll-top { position: static; }
    .footer-copy { position: static; }
  }

  /* =====================================================
     Mobile (max-width: 768px)
     ===================================================== */
  @media (max-width: 768px) {
    h2 { font-size: 28px; }
    .section { margin-top: 64px; }

    .hero-o-inner { padding: 128px 20px 48px; }
    .hero-o h1 { font-size: 34px; line-height: 1.18; letter-spacing: -0.7px; margin-top: 14px; }
    .hero-o-sub { font-size: 16px; line-height: 1.8; margin-top: 16px; }
    .hero-o-actions { margin-top: 28px; }
    .hero-o-actions .btn-blue { --btn-py: 14px; --btn-px: 28px; }
    .hero-o-actions .btn-blue p, .btn-white p { font-size: 16px; }

    .s-intro { padding: 0 20px; }
    .body-text { font-size: 16px; line-height: 1.8; }

    .s-cards { width: calc(100% - 32px); gap: 24px; }
    .s-prof { width: calc(100% - 32px); padding: 32px 20px; }
    .s-why { width: calc(100% - 32px); }
    .s-why-imgs { gap: 12px; }
    .s-org { width: calc(100% - 32px); padding: 32px 20px 0; }
    .s-help { width: calc(100% - 32px); }
    .s-edu { width: calc(100% - 32px); padding: 40px 20px 48px; }
    .s-edu-pills { gap: 10px; }
    .s-cta { width: calc(100% - 32px); padding: 40px 20px; }

    .footer { margin-top: 64px; }
    .footer-body { padding: 40px 20px 24px; gap: 36px; }
    .footer-cols { flex-direction: column; gap: 32px; }
    .footer-link { white-space: normal; }
    .footer-copy { white-space: normal; line-height: 1.5; }
  }
