  * { 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; }
  .tertiary { display: inline-block; font-weight: 700; font-size: 18px; line-height: 1.6; color: #006aff; text-decoration: underline; text-underline-offset: 4px; }
  .tertiary:hover { text-decoration: none; background: linear-gradient(to right, #006aff, #00c8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

  /* ===== Hero ===== */
  .hero-h { position: relative; height: 982px; }
  .hero-h-photo { position: absolute; top: 0; right: 0; width: 62%; height: 982px; object-fit: cover; object-position: 70% 30%; }
  .hero-h-light { position: absolute; inset: 0; background: linear-gradient(to right, #f1f0f8 0%, #f1f0f8 40%, rgba(241,240,248,0) 95.8%); }
  .hero-h-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 260px; background: linear-gradient(to bottom, rgba(241,240,248,0) 0%, #f1f0f8 92%); }
  .hero-h-decor { position: absolute; left: 0; top: 0; width: 911px; height: 791px; pointer-events: none; opacity: 0.05; }
  .hero-h-inner { position: relative; max-width: 1512px; margin: 0 auto; padding: 284px 104px 0; }
  .hero-h h1 { margin-top: 24px; max-width: 686px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 69px; line-height: 69px; letter-spacing: -1.38px; }
  .hero-h-sub { margin-top: 24px; max-width: 543px; }
  .hero-h-actions { margin-top: 48px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
  .hero-h-note { margin: 18px 0 0 7px; max-width: 296px; font-weight: 500; font-size: 14px; line-height: 14px; color: #afb5c2; }

  /* Event card on the hero photo (glass) */
  .hero-card { position: absolute; right: 104px; top: 363px; width: 408px; height: 135px; background: rgba(255,255,255,0.3); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); border-radius: 22px; padding: 16px; }
  .hero-card-title { font-family: 'Sora', sans-serif; font-weight: 400; font-size: 22px; line-height: 22px; color: #006aff; white-space: nowrap; }
  .hero-card-meta { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; align-items: flex-end; }
  .hero-card-meta p { font-family: 'Roboto', sans-serif; font-weight: 500; font-size: 14px; line-height: 14px; letter-spacing: 1.82px; text-transform: uppercase; color: #6e7a8c; }
  .hero-card-meta p span { display: block; color: #006aff; margin-bottom: 4px; }
  .hero-card-meta .loc { text-align: right; }

  /* Logo marquee carousel */
  .hero-marquee { position: absolute; left: 0; right: 0; top: 845px; overflow: hidden; }
  .hero-marquee-track { display: flex; width: max-content; animation: marquee-scroll 45s linear infinite; }
  .hero-marquee-group { display: flex; align-items: center; gap: 200px; padding-right: 200px; }
  .hero-marquee-group img { flex-shrink: 0; height: auto; }
  @keyframes marquee-scroll { to { transform: translateX(-50%); } }

  /* ===== Intro (Ko smo mi) ===== */
  .intro { position: relative; margin-top: 128px; text-align: center; }
  .intro-spinner { position: absolute; left: calc(50% - 257px); top: 296px; width: 514px; height: 446px; opacity: 0.1; pointer-events: none; transform-origin: 50% 50%; animation: spin-slow 40s linear infinite; }
  @keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
  @media (prefers-reduced-motion: reduce) {
    .intro-spinner { animation: none; }
    .hero-marquee-track { animation: none; }
  }
  .intro-inner { position: relative; max-width: 1512px; margin: 0 auto; padding: 0 104px; }
  .intro h2 { margin: 30px auto 0; max-width: 708px; }
  .intro-sub { margin: 24px auto 0; max-width: 632px; }
  .intro .btn-white { margin-top: 48px; }

  /* ===== Community / stats ===== */
  /* Geometry mirrors the design frame: photo box 1532x800 sitting on top of the wave, which
     starts 44.69px below the photo's top edge. The design crops the source image to its
     bottom 78.3%, which "cover" + bottom anchoring reproduces exactly. */
  .community { position: relative; margin-top: 173px; display: flow-root; }
  .community-media { position: relative; width: 100%; aspect-ratio: 1532 / 800; }
  .community-wave { position: absolute; left: 0; top: 5.66%; width: 100%; height: 81.06%; }
  .community-team { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
  /* Washes the photo out behind the stats: transparent at 41% of the photo box, solid by 82.7% of its own height. */
  .community-fade { position: absolute; left: 0; right: 0; top: 41.09%; height: 63%; background: linear-gradient(to bottom, rgba(241,240,248,0) 0%, #f1f0f8 82.69%); }
  .community-body { position: relative; margin-top: -27.11%; text-align: center; }
  .community-badge { width: 123px; height: 107px; margin: 0 auto; }
  .community-body .chip { margin-top: 24px; }
  .community-body h2 { margin-top: 24px; }
  .stats { margin: 48px auto 0; width: min(1275px, calc(100% - 64px)); display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .stat-num { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 35px; line-height: 35px; color: #6e7a8c; }
  .stat-label { margin-top: 24px; font-weight: 700; font-size: 18px; line-height: 18px; color: #006aff; }
  .stat-desc { margin: 16px auto 0; max-width: 296px; font-weight: 500; font-size: 14px; line-height: 14px; }
  .stat-desc.two { line-height: 14px; }

  /* ===== Mid wrapper (curves backdrop for CTA + sponsors) ===== */
  .mid { position: relative; }
  .mid-curves { position: absolute; left: 0; top: 0; width: 100%; height: auto; pointer-events: none; }

  /* Sponsor CTA */
  .s2 { position: relative; padding-top: 128px; }
  /* Padding puts the content area at 215..1296 on the 1512 grid, matching the
     design's "Frame 73" (x=215, w=1081) so the 408px card column lands flush
     with its right edge. The 112px inset used to sit on .s2-cards itself,
     which squeezed the cards to 296px instead of moving the column. */
  .s2-inner { width: min(1304px, calc(100% - 64px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 521px) 408px; justify-content: space-between; column-gap: 60px; padding: 0 112px 0 111px; }
  .s2-left { padding-top: 32px; }
  .s2-left h2 { margin-top: 62px; max-width: 521px; }
  .s2-left .body-text { margin-top: 32px; max-width: 444px; line-height: 1.66; }
  .s2-left .btn-blue { margin-top: 32px; }
  .s2-left, .s2-cards { min-width: 0; }
  .s2-cards { display: flex; flex-direction: column; gap: 40px; }
  /* The three cards sit in one aligned column (Figma "Frame 73" 3195:4230) —
     what alternates is the little diamond notch, left / right / left, not the
     cards themselves. Card 2 flips its notch to the right edge.
     Careful with the percentage: mask-position resolves to
     (cardWidth - 36px) * 100% + offset, so the mirror of the left edge's
     -23.7px is +23.7px, NOT -12.3px — the latter parks the whole diamond
     inside the card and punches a floating hole instead of an edge notch. */
  .s2-cards .b-card-wrap:nth-child(2) .b-card {
    -webkit-mask-position: 0 0, calc(100% + 23.7px) 105.1px;
    mask-position: 0 0, calc(100% + 23.7px) 105.1px; }

  /* Benefit card (shared with sponzori page) */
  .b-card-wrap { width: 408px; max-width: 100%; filter: drop-shadow(0 15px 30px rgba(0,99,238,0.1)); }
  .b-card { position: relative; height: 192px; background: #fdfdff; border-radius: 12px;
    -webkit-mask-image: linear-gradient(#fff,#fff), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Crect x='5.5' y='5.5' width='25' height='25' rx='4' fill='white' transform='rotate(45 18 18)'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: 0 0, -23.7px 105.1px;
    -webkit-mask-size: 100% 100%, 36px 36px;
    -webkit-mask-composite: destination-out;
    mask-image: linear-gradient(#fff,#fff), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Crect x='5.5' y='5.5' width='25' height='25' rx='4' fill='white' transform='rotate(45 18 18)'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: 0 0, -23.7px 105.1px;
    mask-size: 100% 100%, 36px 36px;
    mask-composite: exclude; }
  .b-line { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 302px; max-width: 80%; height: 1px; background: linear-gradient(90deg, rgba(0,106,255,0) 0%, #006aff 25%, rgba(0,106,255,0) 100%); }
  .b-tile { position: absolute; left: 24px; top: 24px; width: 40px; height: 40px; background: rgba(0,106,255,0.1); border-radius: 10px; box-shadow: inset 8px 8px 10px #ffffff, inset -8px -8px 10px rgba(188,188,188,0.1); display: flex; align-items: center; justify-content: center; }
  .b-tile img { width: 24px; height: 24px; }
  .b-tile-img { position: absolute; left: 24px; top: 24px; width: 40px; height: 40px; }
  .b-card h3 { position: absolute; left: 24px; top: 72px; font-weight: 700; font-size: 18px; line-height: 18px; color: #6e7a8c; }
  .b-card p { position: absolute; left: 24px; top: 114px; width: 347px; max-width: calc(100% - 48px); font-weight: 500; font-size: 14px; line-height: 14px; color: #6e7a8c; }
  .b-card-1 .b-tile { left: 29px; top: 20px; }
  .b-card-1 h3, .b-card-1 p { left: 32px; }
  .b-card-1 p { width: 340px; }

  /* Sponsors */
  .sponsors { position: relative; margin-top: 128px; text-align: center; }
  .sponsors h2 { margin-top: 24px; }
  .sponsors-sub { margin: 24px auto 0; width: 284px; font-weight: 500; font-size: 18px; line-height: 18px; color: #6e7a8c; }
  .sp-grid { margin: 48px auto 0; width: min(1304px, calc(100% - 64px)); display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .sp-card { height: 130px; background: #fdfdff; border-radius: 0 0 12px 12px; box-shadow: inset 8px 8px 10px #ffffff, inset -8px -8px 10px rgba(188,188,188,0.1); display: flex; align-items: center; justify-content: center; transition: box-shadow 0.25s ease; }
  .sp-card:hover { box-shadow: inset 8px 8px 10px #ffffff, inset -8px -8px 10px rgba(188,188,188,0.1), 0 15px 30px rgba(0,99,238,0.1); }

  /* ===== Profession ===== */
  .prof { position: relative; width: min(1304px, calc(100% - 64px)); margin: 128px auto 0; background: #e9e8f2; border-radius: 22px; display: grid; grid-template-columns: 520px minmax(0, 1fr); }
  .prof-photo { position: relative; width: 520px; height: 100%; min-height: 952px; border-radius: 22px; overflow: hidden; }
  .prof-photo > img.ph { width: 100%; height: 100%; object-fit: cover; }
  .prof-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(to bottom, rgba(23,28,40,0) 0%, rgba(23,28,40,0.72) 100%); }
  .prof-badge { position: absolute; left: 33px; top: 38px; width: 66px; height: 57px; z-index: 2; }
  .prof-caption { position: absolute; left: 32px; bottom: 32px; width: 376px; max-width: calc(100% - 64px); font-weight: 500; font-size: 14px; line-height: 14px; color: #fdfdff; z-index: 2; }
  .prof-body { padding: 128px 112px 96px 152px; }
  .prof-body h2 { margin-top: 30px; max-width: 520px; }
  .prof-body .body-text { margin-top: 24px; max-width: 520px; line-height: 1.6; }
  .prof-items { margin-top: 60px; display: flex; flex-direction: column; gap: 40px; }
  .prof-item { display: flex; gap: 16px; }
  .prof-tile { position: relative; width: 64px; height: 64px; flex-shrink: 0; border-radius: 20px; box-shadow: inset -8px -8px 10px rgba(0,106,255,0.1), inset 8px 8px 10px rgba(255,255,255,0.5); }
  .prof-tile img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .prof-tile-1 { background: #6852ff; }
  .prof-tile-2 { background: #02c988; }
  .prof-tile-3 { background: #fd5433; }
  .prof-item h3 { font-weight: 700; font-size: 18px; line-height: 18px; color: #6e7a8c; }
  .prof-item p { margin-top: 8px; max-width: 296px; font-weight: 500; font-size: 14px; line-height: 1.35; color: #6e7a8c; }
  .prof-body .tertiary { margin-top: 58px; }

  /* ===== Join (membership CTA) ===== */
  .join { position: relative; max-width: 1512px; margin: 128px auto 0; padding: 0 104px; display: grid; grid-template-columns: minmax(0, 595px) 632px; justify-content: space-between; align-items: start; column-gap: 60px; }
  .join-left { padding-top: 0; }
  .join-left h2 { margin-top: 24px; max-width: 595px; }
  .join-left .body-text { margin-top: 24px; max-width: 463px; }
  .join-actions { margin-top: 48px; display: flex; align-items: center; gap: 50px; flex-wrap: wrap; }
  .join-photo { width: 632px; max-width: 100%; height: 390px; border-radius: 22px; overflow: hidden; box-shadow: 0 15px 30px rgba(0,99,238,0.1); }
  .join-photo img { width: 100%; height: 100%; object-fit: cover; }
  .join-perks { max-width: 1512px; margin: 70px auto 0; padding: 0 104px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .perk { background: #fdfdff; border-radius: 12px; padding: 24px; box-shadow: inset 8px 8px 10px #ffffff, inset -8px -8px 10px rgba(188,188,188,0.1), 0 15px 30px rgba(0,99,238,0.06); }
  .perk img { width: 24px; height: 24px; }
  .perk h3 { margin-top: 20px; font-weight: 700; font-size: 18px; line-height: 18px; color: #006aff; }
  .perk p { margin-top: 12px; font-weight: 500; font-size: 14px; line-height: 1.5; color: #6e7a8c; }

  /* ===== EBCP ===== */
  .ebcp { margin-top: 128px; display: grid; grid-template-columns: 776fr 736fr; background: linear-gradient(to right, #006aff 0.524%, #00c8ff 100%); }
  .ebcp-panel { padding: 128px 88px 96px 104px; }
  .ebcp-chip { background: rgba(255,255,255,0.16); }
  .ebcp-chip p { color: #fdfdff; }
  .ebcp-panel h2 { margin-top: 24px; max-width: 584px; color: #fdfdff; }
  .ebcp-sub { margin-top: 24px; max-width: 461px; font-family: 'Sora', sans-serif; font-weight: 400; font-size: 44px; line-height: 44px; color: #fdfdff; }
  .ebcp-panel .body-text { margin-top: 24px; max-width: 520px; color: #fdfdff; }
  .ebcp-link { display: inline-block; margin-top: 48px; font-weight: 700; font-size: 18px; line-height: 1.6; color: #fdfdff; text-decoration: underline; text-underline-offset: 4px; transition: filter 0.25s ease; }
  .ebcp-link:hover { text-decoration: none; filter: drop-shadow(0 2px 8px rgba(204,206,255,0.25)); }
  .ebcp-photo { position: relative; height: 876px; overflow: hidden; }
  .ebcp-photo > img.ph { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
  .ebcp-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(to bottom, rgba(8,16,34,0) 0%, rgba(8,16,34,0.5) 100%); }
  .ebcp-logo { position: absolute; left: 112px; top: 128px; width: 184px; height: auto; z-index: 2; }
  .ebcp-badge { position: absolute; right: 104px; top: 128px; width: 87px; height: 76px; z-index: 2; }
  .ebcp-photo-text { position: absolute; left: 112px; right: 96px; bottom: 96px; z-index: 2; }
  .ebcp-photo-text h4 { font-weight: 700; font-size: 22px; line-height: 22px; color: #fdfdff; }
  .ebcp-photo-text .sub { margin-top: 8px; font-weight: 500; font-size: 14px; line-height: 14px; color: rgba(253,253,255,0.8); }
  .ebcp-photo-text .countries { margin-top: 8px; max-width: 520px; font-family: 'Roboto', sans-serif; font-weight: 500; font-size: 14px; line-height: 14px; text-transform: uppercase; text-align: justify; color: #afb5c2; opacity: 0.3; }

  /* ===== FAQ ===== */
  .faq2 { position: relative; max-width: 1512px; margin: 128px auto 0; padding: 0 104px; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 856px); justify-content: space-between; column-gap: 40px; }
  .faq2-left { position: relative; }
  .faq2-left h2 { margin-top: 24px; }
  .faq2-left .body-text { margin-top: 24px; max-width: 317px; line-height: 1.35; font-size: 16px; }
  .faq2-left .tertiary { margin-top: 40px; }
  .faq2-qmark { margin-top: 74px; width: 70px; height: 103px; }
  .faq { display: flex; flex-direction: column; gap: 10px; }
  .faq-item { background: #ebecf4; border: 1px solid #cacdd8; border-radius: 16px; overflow: hidden; transition: border-color 0.2s ease; }
  .faq-item:hover { border-color: #afb5c2; }
  .faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 78px; padding: 0 24px; background: none; border: none; cursor: pointer; text-align: left; }
  .faq-q span { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 18px; line-height: 18px; color: #6e7a8c; }
  .faq-q img { width: 12px; height: 7px; flex-shrink: 0; transition: transform 0.3s ease; }
  .faq-item.open .faq-q img { transform: rotate(180deg); }
  .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s ease; }
  .faq-a > div { overflow: hidden; }
  .faq-a p { padding: 0 64px 24px 24px; font-weight: 500; font-size: 18px; line-height: 2; color: #6e7a8c; }
  .faq-item.open .faq-a { grid-template-rows: 1fr; }

  /* ===== Resources / links ===== */
  .resources { max-width: 1512px; margin: 128px auto 0; padding: 0 104px; }
  .res-tabs { display: inline-flex; align-items: center; gap: 8px; background: #fdfdff; border-radius: 999px; padding: 8px; }
  .res-tab { border: none; background: none; cursor: pointer; padding: 12px 12px; border-radius: 999px; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 16px; line-height: 18px; color: #6e7a8c; transition: background 0.2s ease, color 0.2s ease; }
  .res-tab:hover { background: #ebecf4; }
  .res-tab.active { background: #afb5c2; color: #fdfdff; }
  .res-grid { margin-top: 63px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 56px 40px; }
  .res-item a { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font-weight: 700; font-size: 14px; line-height: 1.15; color: #006aff; }
  .res-item a:hover { text-decoration: underline; }
  .res-item p { margin-top: 4px; font-weight: 500; font-size: 11px; line-height: 14px; color: #9aa3b2; }

  /* ===== Map ===== */
  .k-map { position: relative; z-index: 2; width: min(1304px, calc(100% - 64px)); height: 419px; margin: 128px auto 0; border-radius: 22px; overflow: hidden; box-shadow: 0 15px 30px rgba(0,99,238,0.1); background: #fdfdff; }
  .k-map iframe { width: 100%; height: 100%; border: 0; display: block; }

  /* ===== Footer (shared) — the map card overlaps its top edge ===== */
  .footer { margin-top: -32px; }
  .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) ===== */
  .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) {

    .hero-card { right: 32px; }
    .s2-inner { padding: 0; grid-template-columns: minmax(0, 1fr) 408px; }
    .prof-body { padding: 96px 64px 80px 96px; }
    .ebcp-panel { padding: 96px 64px 80px 64px; }
    .ebcp-logo { left: 48px; }
    .ebcp-badge { right: 48px; }
    .ebcp-photo-text { left: 48px; right: 48px; bottom: 64px; }
    .res-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  }

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

    .hero-h { height: auto; padding-bottom: 140px; }
    .hero-h-photo { width: 100%; max-width: 100%; height: 100%; opacity: 0.85; }
    .hero-h-decor { display: none; }
    .hero-h-inner { padding: 220px 32px 0; }
    .hero-h h1 { font-size: 52px; line-height: 1.1; letter-spacing: -1px; margin-top: 18px; }
    .hero-h-actions { margin-top: 40px; gap: 16px; }
    .hero-card { position: relative; right: auto; top: auto; margin-top: 48px; }
    .hero-marquee { position: absolute; top: auto; bottom: 32px; }

    .intro { margin-top: 88px; }
    .intro-inner { padding: 0 32px; }

    .community { margin-top: 120px; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }

    .s2 { padding-top: 88px; }
    .s2-inner { grid-template-columns: 1fr; row-gap: 56px; }
    .s2-left { padding-top: 0; }
    .s2-left h2 { margin-top: 24px; }
    .s2-cards { align-items: flex-start; }

    .sponsors { margin-top: 88px; padding: 0 32px; }
    .sp-grid { width: 100%; grid-template-columns: repeat(2, 1fr); gap: 24px; }

    .prof { margin-top: 88px; grid-template-columns: 1fr; }
    .prof-photo { width: 100%; height: 480px; min-height: 0; border-radius: 22px 22px 0 0; }
    .prof-body { padding: 56px 32px 56px; }
    .prof-body .tertiary { margin-top: 40px; }

    .join { margin-top: 88px; padding: 0 32px; grid-template-columns: 1fr; row-gap: 48px; }
    .join-photo { width: 100%; height: 360px; }
    .join-perks { margin-top: 48px; padding: 0 32px; grid-template-columns: repeat(2, 1fr); gap: 24px; }

    .ebcp { margin-top: 88px; grid-template-columns: 1fr; }
    .ebcp-panel { padding: 64px 32px; }
    .ebcp-sub { font-size: 28px; line-height: 36px; }
    .ebcp-panel .body-text { margin-top: 40px; }
    .ebcp-photo { height: 560px; }
    .ebcp-logo { left: 32px; top: 48px; width: 150px; }
    .ebcp-badge { right: 32px; top: 48px; width: 70px; height: 61px; }
    .ebcp-photo-text { left: 32px; right: 32px; bottom: 48px; }

    .faq2 { margin-top: 88px; padding: 0 32px; grid-template-columns: 1fr; row-gap: 48px; }
    .faq2-qmark { display: none; }

    .resources { margin-top: 88px; padding: 0 32px; }
    .res-grid { margin-top: 48px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }

    .k-map { width: calc(100% - 64px); margin-top: 88px; height: 380px; }

    .footer { margin-top: -24px; }
    .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; }

    .hero-h { padding-bottom: 110px; }
    .hero-h-inner { padding: 128px 20px 0; }
    .hero-h h1 { font-size: 34px; line-height: 1.18; letter-spacing: -0.7px; margin-top: 14px; }
    .hero-h-sub { font-size: 16px; line-height: 1.8; margin-top: 16px; }
    .body-text { font-size: 16px; line-height: 1.8; }
    .hero-h-actions { margin-top: 28px; }
    .hero-h-actions .btn-blue, .s2-left .btn-blue { --btn-py: 14px; --btn-px: 28px; }
    .hero-h-actions .btn-blue p, .s2-left .btn-blue p, .btn-white p { font-size: 16px; }
    .hero-h-note { margin-left: 0; }
    .hero-card { width: 100%; max-width: 408px; margin-top: 36px; }
    .hero-card-title { font-size: 18px; }
    .hero-marquee { bottom: 24px; }
    .hero-marquee-group { gap: 100px; padding-right: 100px; }

    .intro { margin-top: 64px; }
    .intro-inner { padding: 0 20px; }
    .intro-spinner { display: none; }

    .community { margin-top: 90px; }
    .community-badge { width: 92px; height: 80px; }
    .stats { grid-template-columns: 1fr; gap: 32px; }

    .s2 { padding-top: 64px; }
    .s2-inner { row-gap: 40px; }
    .b-card-wrap { width: 100%; }
    .b-card { height: auto; padding: 24px 24px 28px; }
    .b-card .b-tile, .b-card-1 .b-tile { position: static; }
    .b-tile-img { position: static; }
    .b-card h3, .b-card-1 h3 { position: static; margin-top: 14px; }
    .b-card p, .b-card-1 p { position: static; margin-top: 10px; width: auto; max-width: none; line-height: 1.5; }

    .sponsors { margin-top: 64px; padding: 0 16px; }
    .sp-grid { grid-template-columns: 1fr; gap: 16px; }
    .sp-card { height: 110px; }

    .prof { margin-top: 64px; width: calc(100% - 32px); }
    .prof-photo { height: 380px; }
    .prof-badge { left: 20px; top: 20px; }
    .prof-caption { left: 20px; bottom: 20px; }
    .prof-body { padding: 40px 20px 48px; }
    .prof-items { margin-top: 40px; gap: 28px; }

    .join { margin-top: 64px; padding: 0 20px; }
    .join-actions { gap: 24px; }
    .join-photo { height: 280px; border-radius: 16px; }
    .join-perks { margin-top: 40px; padding: 0 20px; grid-template-columns: 1fr; gap: 16px; }

    .ebcp { margin-top: 64px; }
    .ebcp-panel { padding: 48px 20px; }
    .ebcp-sub { font-size: 22px; line-height: 30px; }
    .ebcp-photo { height: 480px; }
    .ebcp-photo-text .countries { display: none; }

    .faq2 { margin-top: 64px; padding: 0 16px; }
    .faq-item { border-radius: 14px; }
    .faq-q { min-height: 64px; padding: 14px 16px; gap: 12px; }
    .faq-q span { font-size: 16px; line-height: 1.35; }
    .faq-a p { padding: 0 16px 20px; font-size: 16px; line-height: 1.75; }

    .resources { margin-top: 64px; padding: 0 20px; }
    .res-tabs { flex-wrap: wrap; border-radius: 24px; }
    .res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }

    .k-map { width: calc(100% - 32px); margin-top: 64px; height: 320px; border-radius: 16px; }

    .footer { margin-top: -16px; }
    .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; }
  }
