/* =====================================================================
   Sponsorship Prospectus: preview slider, lead-capture modal, flipbook
   Everything is prefixed .os-bro (slider), .os-lead (modal), .os-fb (flipbook).
   Two designs share one script and are chosen with data-design="a" | "b":
     A  light page + midnight single-page flipbook   (index.html)
     B  midnight panel + ivory two-page book         (index-design-2.html)
   ===================================================================== */

.os-bro {
  --bro-navy: #0B2549; --bro-blue: #17509A; --bro-sky: #2F78C8; --bro-gold: #C8963A; --bro-gold-l: #E0B457;
  --bro-ease: cubic-bezier(.16, 1, .3, 1);
  --bro-dur: 4.8s;
  position: relative;
  margin-top: clamp(56px, 7vw, 96px);
}
.os-bro *, .os-bro *::before, .os-bro *::after { box-sizing: border-box; }
:where(.os-bro button) { font: inherit; color: inherit; }

/* ---------- Heading ---------- */
.os-bro__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; margin-bottom: clamp(8px, 1.6vw, 20px); position: relative; z-index: 2; }
.os-bro__title { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.08; letter-spacing: -.02em; color: var(--navy-900); }
.os-bro__title em { font-style: normal; font-weight: 300; color: var(--blue-700); }
.os-bro__sub { margin: 12px 0 0; max-width: 52ch; color: var(--ink-2); font-size: 1rem; line-height: 1.6; }
.os-bro__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.os-bro__chips li { padding: .6em 1.05em; border-radius: 999px; font-family: var(--f-display); font-weight: 700; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); background: rgba(200, 150, 58, .1); box-shadow: inset 0 0 0 1px rgba(200, 150, 58, .35); }

/* ---------- Stage (coverflow) ---------- */
.os-bro__stage {
  position: relative; z-index: 1;
  height: clamp(230px, 38vw, 500px);
  perspective: 2000px; perspective-origin: 50% 42%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
  cursor: grab;
}
.os-bro__stage.is-drag { cursor: grabbing; }
.os-bro__stage::after { /* soft ground shadow under the cards */
  content: ""; position: absolute; left: 50%; bottom: 3%; width: min(56%, 720px); height: 7%; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(11, 37, 73, .34), transparent); filter: blur(8px); z-index: -1; pointer-events: none;
}
.os-bro__track { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; transform-style: preserve-3d; }
.os-bro__slide {
  --x: 0; --s: 1; --ry: 0deg; --op: 1; --zi: 1; --br: 1; --z: 0px;
  position: absolute; top: 50%; left: 50%; width: min(62%, 800px); aspect-ratio: 16 / 9; margin: 0;
  z-index: var(--zi); opacity: var(--op); filter: brightness(var(--br));
  transform: translate(-50%, -50%) translateX(calc(var(--x) * 1%)) translateZ(var(--z)) rotateY(var(--ry)) scale(var(--s));
  transition: transform 1.05s var(--bro-ease), opacity .8s ease, filter .8s ease;
  will-change: transform, opacity;
}
.os-bro__slide[data-o="0"]  { --zi: 5; --z: 90px; }
.os-bro__slide[data-o="1"]  { --x: 72;  --s: .8;  --ry: -27deg; --zi: 4; --br: .86; --z: -60px; }
.os-bro__slide[data-o="-1"] { --x: -72; --s: .8;  --ry: 27deg;  --zi: 4; --br: .86; --z: -60px; }
.os-bro__slide[data-o="2"]  { --x: 122; --s: .62; --ry: -36deg; --zi: 3; --br: .78; --op: .55; --z: -200px; }
.os-bro__slide[data-o="-2"] { --x: -122; --s: .62; --ry: 36deg; --zi: 3; --br: .78; --op: .55; --z: -200px; }
.os-bro__slide[data-o="x"]  { --x: 0; --s: .5; --zi: 1; --op: 0; pointer-events: none; visibility: hidden; transition: transform 1.05s var(--bro-ease), opacity .8s ease, filter .8s, visibility 0s .8s; }

.os-bro__card {
  position: relative; display: block; width: 100%; height: 100%; padding: 3px; margin: 0; border: 0; border-radius: 22px; cursor: pointer;
  background: linear-gradient(135deg, #2F78C8 0%, #123561 46%, #C8963A 100%);
  box-shadow: 0 46px 80px -34px rgba(11, 37, 73, .6), 0 14px 34px -14px rgba(11, 37, 73, .4);
  transition: box-shadow .6s ease;
}
.os-bro__card img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 19px; background: #fff; pointer-events: none; -webkit-user-drag: none; }
.os-bro__card:focus-visible { outline: 3px solid var(--bro-gold-l); outline-offset: 5px; }
.os-bro__open {
  position: absolute; left: 50%; bottom: 7%; translate: -50% 14px; opacity: 0; pointer-events: none;
  display: inline-flex; align-items: center; gap: .6em; padding: .85em 1.3em; border-radius: 999px;
  font-family: var(--f-display); font-weight: 700; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  color: #fff; background: rgba(6, 22, 49, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 14px 30px -12px rgba(0, 0, 0, .6);
  transition: opacity .45s ease, translate .6s var(--bro-ease);
}
.os-bro__open .os-ico { width: 1.4em; height: 1.4em; stroke-width: 1.8; }
.os-bro__slide[data-o="0"] .os-bro__card:hover .os-bro__open,
.os-bro__slide[data-o="0"] .os-bro__card:focus-visible .os-bro__open { opacity: 1; translate: -50% 0; }

/* ---------- Control bar ---------- */
.os-bro__bar { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 22px 32px; flex-wrap: wrap; margin-top: clamp(10px, 1.6vw, 22px); }
.os-bro__nav { display: flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; }
.os-bro__arrow {
  flex: none; width: 50px; height: 50px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  color: var(--bro-navy); background: #fff; box-shadow: 0 10px 26px -10px rgba(11, 37, 73, .45), inset 0 0 0 1px rgba(11, 37, 73, .08);
  transition: transform .5s var(--bro-ease), box-shadow .5s, background-color .3s, color .3s;
}
.os-bro__arrow .os-ico { width: 20px; height: 20px; stroke-width: 2; }
.os-bro__arrow:hover { transform: translateY(-2px) scale(1.06); background: var(--bro-navy); color: #fff; box-shadow: 0 16px 30px -12px rgba(11, 37, 73, .6); }
.os-bro__arrow:focus-visible { outline: 3px solid var(--bro-gold-l); outline-offset: 3px; }
.os-bro__thumbs { display: flex; gap: 8px; padding: 8px 6px; margin: 0; list-style: none; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.os-bro__thumbs::-webkit-scrollbar { display: none; }
.os-bro__thumb {
  position: relative; flex: none; display: block; width: 86px; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 9px; overflow: hidden; cursor: pointer;
  opacity: .6; background: #dfe7f3; box-shadow: 0 0 0 1px rgba(11, 37, 73, .14);
  transition: opacity .4s, transform .5s var(--bro-ease), box-shadow .4s;
}
.os-bro__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.os-bro__thumb:hover { opacity: 1; transform: translateY(-3px); }
.os-bro__thumb[aria-current="true"] { opacity: 1; transform: translateY(-3px); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--bro-sky), 0 12px 22px -10px rgba(11, 37, 73, .6); }
.os-bro__thumb:focus-visible { outline: 3px solid var(--bro-gold-l); outline-offset: 2px; }
.os-bro__thumb i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #E0B457, #C8963A); transform: scaleX(0); transform-origin: 0 50%; }
.os-bro__thumb[aria-current="true"] i { animation: os-bro-prog var(--bro-dur) linear forwards; }
.os-bro.is-paused .os-bro__thumb[aria-current="true"] i { animation-play-state: paused; }
.os-bro.is-static .os-bro__thumb[aria-current="true"] i { animation: none; transform: scaleX(1); }
@keyframes os-bro-prog { to { transform: scaleX(1); } }

.os-bro__actions { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.os-bro__flip {
  display: inline-flex; align-items: center; gap: .65em; padding: 1em 1.4em; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--f-display); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bro-navy); background: transparent; box-shadow: inset 0 0 0 1.5px rgba(11, 37, 73, .25);
  transition: background-color .35s, color .35s, box-shadow .35s, transform .5s var(--bro-ease);
}
.os-bro__flip .os-ico { width: 1.4em; height: 1.4em; stroke-width: 1.7; }
.os-bro__flip:hover { background: var(--bro-navy); color: #fff; box-shadow: inset 0 0 0 1.5px var(--bro-navy); transform: translateY(-2px); }
.os-bro__dl {
  position: relative; display: inline-flex; align-items: center; gap: .75em; padding: 1.15em 2.1em; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--f-display); font-weight: 600; font-size: .98rem; letter-spacing: .01em; white-space: nowrap;
  color: #fff; background: #1D4F94;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #1D4F94, 0 18px 34px -14px rgba(11, 37, 73, .7);
  transition: transform .5s var(--bro-ease), box-shadow .5s, background-color .3s;
}
.os-bro__dl .os-ico { width: 1.25em; height: 1.25em; stroke-width: 2; }
.os-bro__dl:hover { transform: translateY(-3px); background: #17407B; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #17407B, 0 26px 40px -16px rgba(11, 37, 73, .8); }
.os-bro__dl:hover .os-ico { animation: os-bro-nudge .9s var(--bro-ease); }
.os-bro__dl:focus-visible { outline: 3px solid var(--bro-gold-l); outline-offset: 7px; }
@keyframes os-bro-nudge { 40% { transform: translateY(4px); } 70% { transform: translateY(-1px); } }

/* ---------- Dark site theme (design A sits on the page background) ---------- */
html.is-dark .os-bro__arrow { background: #10234A; color: #fff; box-shadow: inset 0 0 0 1px rgba(226, 236, 250, .16), 0 10px 26px -10px #000; }
html.is-dark .os-bro__arrow:hover { background: #fff; color: #0B2549; }
html.is-dark .os-bro__flip { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(226, 236, 250, .3); }
html.is-dark .os-bro__flip:hover { background: #fff; color: #0B2549; box-shadow: inset 0 0 0 1.5px #fff; }
html.is-dark .os-bro__dl { box-shadow: 0 0 0 3px #060E20, 0 0 0 5px #3C86D3, 0 18px 34px -14px #000; background: #2A64B3; }
html.is-dark .os-bro__thumb[aria-current="true"] { box-shadow: 0 0 0 2px #060E20, 0 0 0 4px #3C86D3, 0 12px 22px -10px #000; }
html.is-dark .os-bro__stage::after { background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); }
html.is-dark .os-bro__title em { color: var(--sky-300); }

/* =====================================================================
   DESIGN B: midnight panel
   ===================================================================== */
.os-bro[data-design="b"] {
  padding: clamp(26px, 4.4vw, 64px) clamp(18px, 3.6vw, 56px) clamp(26px, 3.6vw, 48px);
  border-radius: clamp(26px, 3.4vw, 44px); isolation: isolate; overflow: hidden;
  background:
    radial-gradient(900px 420px at 50% 108%, rgba(47, 120, 200, .38), transparent 70%),
    radial-gradient(700px 360px at 12% -8%, rgba(200, 150, 58, .2), transparent 65%),
    linear-gradient(170deg, #12356A 0%, #0B2549 46%, #061631 100%);
  box-shadow: 0 60px 100px -50px rgba(6, 22, 49, .85), inset 0 0 0 1px rgba(243, 223, 174, .2);
  color: #EEF4FC;
}
.os-bro[data-design="b"]::before { /* dotted texture from the prospectus cover */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(142, 187, 233, .35) 1px, transparent 1.4px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 78%); mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 78%);
}
.os-bro[data-design="b"]::after { /* gold hairline */
  content: ""; position: absolute; left: 8%; right: 8%; top: 0; height: 1px; z-index: -1;
  background: linear-gradient(90deg, transparent, #E0B457, transparent);
}
.os-bro[data-design="b"] .os-label { color: #F3DFAE; }
.os-bro[data-design="b"] .os-bro__title { color: #fff; }
.os-bro[data-design="b"] .os-bro__title em { color: #E0B457; }
.os-bro[data-design="b"] .os-bro__sub { color: rgba(238, 244, 252, .74); }
.os-bro[data-design="b"] .os-bro__chips li { color: #F3DFAE; background: rgba(224, 180, 87, .1); box-shadow: inset 0 0 0 1px rgba(224, 180, 87, .4); }
.os-bro[data-design="b"] .os-bro__stage { height: clamp(230px, 36vw, 470px); }
.os-bro[data-design="b"] .os-bro__stage::after { background: radial-gradient(closest-side, rgba(224, 180, 87, .34), transparent); filter: blur(14px); height: 10%; bottom: 0; }
.os-bro[data-design="b"] .os-bro__slide[data-o="1"]  { --x: 56;  --s: .84; --ry: -16deg; --br: .8; --z: -90px; }
.os-bro[data-design="b"] .os-bro__slide[data-o="-1"] { --x: -56; --s: .84; --ry: 16deg;  --br: .8; --z: -90px; }
.os-bro[data-design="b"] .os-bro__slide[data-o="2"]  { --x: 98;  --s: .7;  --ry: -24deg; --br: .6; --op: .5; --z: -220px; }
.os-bro[data-design="b"] .os-bro__slide[data-o="-2"] { --x: -98; --s: .7;  --ry: 24deg;  --br: .6; --op: .5; --z: -220px; }
.os-bro[data-design="b"] .os-bro__card {
  border-radius: 14px; padding: 2px;
  background: linear-gradient(140deg, rgba(243, 223, 174, .95), rgba(200, 150, 58, .5) 40%, rgba(142, 187, 233, .55));
  box-shadow: 0 50px 90px -30px #000, 0 0 0 1px rgba(255, 255, 255, .06);
}
.os-bro[data-design="b"] .os-bro__card img { border-radius: 12px; }
.os-bro[data-design="b"] .os-bro__slide[data-o="0"] .os-bro__card { box-shadow: 0 50px 90px -30px #000, 0 0 70px -6px rgba(224, 180, 87, .45); }
.os-bro[data-design="b"] .os-bro__arrow { color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(243, 223, 174, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.os-bro[data-design="b"] .os-bro__arrow:hover { background: #E0B457; color: #061631; box-shadow: 0 16px 30px -12px rgba(224, 180, 87, .6); }
.os-bro[data-design="b"] .os-bro__thumb { border-radius: 6px; background: #0B2549; box-shadow: 0 0 0 1px rgba(243, 223, 174, .22); }
.os-bro[data-design="b"] .os-bro__thumb[aria-current="true"] { box-shadow: 0 0 0 2px #0B2549, 0 0 0 4px #E0B457, 0 12px 22px -10px #000; }
.os-bro[data-design="b"] .os-bro__flip { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(243, 223, 174, .45); }
.os-bro[data-design="b"] .os-bro__flip:hover { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1.5px #E0B457; }
.os-bro[data-design="b"] .os-bro__dl {
  color: #061631; font-weight: 700; background: linear-gradient(135deg, #F4D48A 0%, #DDAA48 42%, #B07B24 100%);
  box-shadow: 0 0 0 3px rgba(224, 180, 87, .22), 0 20px 38px -14px rgba(176, 123, 36, .8), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.os-bro[data-design="b"] .os-bro__dl:hover { background: linear-gradient(135deg, #FFE3A1, #E8B95A 50%, #C48E30); box-shadow: 0 0 0 5px rgba(224, 180, 87, .2), 0 26px 44px -14px rgba(176, 123, 36, .9), inset 0 1px 0 rgba(255, 255, 255, .7); }
.os-bro[data-design="b"] .os-bro__dl:focus-visible { outline-color: #fff; }

/* =====================================================================
   LEAD MODAL (Download Brochure)
   ===================================================================== */
.os-lead {
  position: fixed; inset: 0; z-index: 2100; display: grid; place-items: center; padding: clamp(10px, 3vw, 32px);
  visibility: hidden; opacity: 0; transition: opacity .4s ease, visibility 0s .4s;
  font-family: var(--f-body);
}
.os-lead.is-open { visibility: visible; opacity: 1; transition: opacity .4s ease; }
.os-lead *, .os-lead *::before, .os-lead *::after { box-sizing: border-box; }
.os-lead__scrim { position: absolute; inset: 0; background: rgba(4, 12, 28, .74); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); }
.os-lead__dlg {
  position: relative; display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  width: min(1000px, 100%); max-height: min(100%, 780px); border-radius: 30px; overflow: hidden; background: #fff; color: #0B1D3A;
  box-shadow: 0 0 0 1px rgba(243, 223, 174, .25), 0 80px 140px -40px #000;
  transform: translateY(30px) scale(.965); transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}
.os-lead.is-open .os-lead__dlg { transform: none; }
.os-lead__close {
  position: absolute; top: 14px; right: 14px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  color: #0B2549; background: #EEF3FA; transition: background-color .3s, transform .5s cubic-bezier(.16, 1, .3, 1), color .3s;
}
.os-lead__close .os-ico { width: 18px; height: 18px; stroke-width: 2.2; }
.os-lead__close:hover { background: #0B2549; color: #fff; transform: rotate(90deg); }
.os-lead__close:focus-visible, .os-lead input:focus-visible, .os-lead select:focus-visible { outline: 3px solid #E0B457; outline-offset: 2px; }

.os-lead__aside {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; padding: clamp(26px, 3.4vw, 44px); color: #EEF4FC;
  background: radial-gradient(520px 320px at 100% 0, rgba(47, 120, 200, .5), transparent 70%), radial-gradient(400px 300px at 0 100%, rgba(200, 150, 58, .22), transparent 70%), linear-gradient(165deg, #12356A, #0B2549 55%, #061631);
}
.os-lead__aside::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(rgba(142, 187, 233, .3) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(160deg, #000, transparent 75%); mask-image: linear-gradient(160deg, #000, transparent 75%); }
.os-lead__k { margin: 0 0 12px; font-family: var(--f-display); font-weight: 700; font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: #E0B457; }
.os-lead__h { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.45rem, 2.4vw, 2.05rem); line-height: 1.12; letter-spacing: -.015em; color: #fff; }
.os-lead__h em { font-style: normal; font-weight: 300; color: #8EBBE9; }
.os-lead__cover { position: relative; width: 78%; max-width: 300px; margin: 4px 0 0; border-radius: 12px; overflow: hidden; transform: perspective(900px) rotateY(-14deg) rotateX(3deg); transform-origin: 0 50%; box-shadow: 0 40px 60px -24px #000, 0 0 0 2px rgba(243, 223, 174, .5); }
.os-lead__cover img { display: block; width: 100%; height: auto; }
.os-lead__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: .92rem; color: rgba(238, 244, 252, .86); }
.os-lead__list li { display: flex; align-items: flex-start; gap: 11px; line-height: 1.4; }
.os-lead__list .os-ico { width: 18px; height: 18px; margin-top: 1px; color: #E0B457; stroke-width: 2.2; }

.os-lead__main { position: relative; overflow-y: auto; padding: clamp(26px, 3.4vw, 46px); display: flex; flex-direction: column; justify-content: center; }
.os-lead__t { margin: 0 44px 6px 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.01em; color: #0B2549; }
.os-lead__p { margin: 0 0 22px; font-size: .95rem; line-height: 1.55; color: #3F5070; }
.os-lead__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.os-lead__f { position: relative; min-width: 0; display: block; }
.os-lead__f--full { grid-column: 1 / -1; }
.os-lead__f > span { display: block; margin: 0 0 6px 2px; font-family: var(--f-display); font-weight: 700; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: #5A6B88; }
.os-lead__f > span b { color: #C8963A; font-weight: 800; }
.os-lead input[type="text"], .os-lead input[type="email"], .os-lead input[type="tel"], .os-lead select {
  width: 100%; height: 52px; padding: 0 16px; border: 0; border-radius: 14px; font: 500 .98rem var(--f-body); color: #0B1D3A; background: #F2F6FC;
  box-shadow: inset 0 0 0 1.5px #DCE5F2; transition: box-shadow .3s, background-color .3s; -webkit-appearance: none; appearance: none;
}
.os-lead select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2549' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.os-lead input:hover, .os-lead select:hover { box-shadow: inset 0 0 0 1.5px #B9CBE4; }
.os-lead input:focus, .os-lead select:focus { background: #fff; box-shadow: inset 0 0 0 2px #2F78C8, 0 0 0 5px rgba(47, 120, 200, .15); outline: none; }
.os-lead input[aria-invalid="true"], .os-lead select[aria-invalid="true"] { background: #FFF6F6; box-shadow: inset 0 0 0 2px #D91A21; }
.os-lead__err { display: none; margin: 6px 0 0 2px; font-size: .78rem; font-weight: 600; color: #C21820; }
.os-lead__f.is-bad .os-lead__err, .os-lead__consent.is-bad .os-lead__err { display: block; }
.os-lead__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.os-lead__consent { grid-column: 1 / -1; }
.os-lead__consent label { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: .84rem; line-height: 1.5; color: #3F5070; }
.os-lead__consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.os-lead__box { flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; display: grid; place-items: center; background: #F2F6FC; box-shadow: inset 0 0 0 1.5px #B9CBE4; transition: background-color .25s, box-shadow .25s; color: transparent; }
.os-lead__box .os-ico { width: 14px; height: 14px; stroke-width: 3; }
.os-lead__consent input:checked + .os-lead__box { background: #17509A; box-shadow: none; color: #fff; }
.os-lead__consent input:focus-visible + .os-lead__box { outline: 3px solid #E0B457; outline-offset: 2px; }
.os-lead__consent.is-bad .os-lead__box { box-shadow: inset 0 0 0 2px #D91A21; }
.os-lead__go {
  grid-column: 1 / -1; position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .8em; height: 58px; margin-top: 4px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--f-display); font-weight: 700; font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; color: #061631;
  background: linear-gradient(135deg, #F4D48A 0%, #DDAA48 42%, #B07B24 100%); box-shadow: 0 18px 34px -14px rgba(176, 123, 36, .85), inset 0 1px 0 rgba(255, 255, 255, .6);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s;
}
.os-lead__go::after { content: ""; position: absolute; inset: -2px; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%); transform: translateX(-130%); animation: os-bro-shine 4.6s ease-in-out infinite 1s; }
.os-lead__go:hover { transform: translateY(-3px); box-shadow: 0 0 0 5px rgba(224, 180, 87, .16), 0 26px 44px -16px rgba(176, 123, 36, .9), inset 0 1px 0 rgba(255, 255, 255, .7); }
.os-lead__go:disabled { opacity: .7; cursor: progress; transform: none; }
.os-lead__go .os-ico { width: 1.3em; height: 1.3em; stroke-width: 2.2; }
@keyframes os-bro-shine { 0% { transform: translateX(-130%); } 38%, 100% { transform: translateX(130%); } }
.os-lead__note { grid-column: 1 / -1; margin: 2px 0 0; font-size: .76rem; text-align: center; color: #7A8AA3; }
.os-lead__status { grid-column: 1 / -1; margin: 0; font-size: .86rem; font-weight: 600; color: #C21820; }
.os-lead__status:empty { display: none; }

.os-lead__done { display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; min-height: 360px; }
.os-lead.is-done .os-lead__form-wrap { display: none; }
.os-lead.is-done .os-lead__done { display: flex; }
.os-lead__tick { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 32% 26%, #3C86D3, #17509A 52%, #0B2549); box-shadow: 0 0 0 10px rgba(47, 120, 200, .12), 0 24px 40px -16px rgba(11, 37, 73, .7); }
.os-lead__tick svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; }
.os-lead.is-done .os-lead__tick svg { animation: os-bro-tick .7s .25s cubic-bezier(.65, 0, .35, 1) forwards; }
@keyframes os-bro-tick { to { stroke-dashoffset: 0; } }
.os-lead__done h3 { margin: 10px 0 0; font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; color: #0B2549; }
.os-lead__done p { margin: 0; max-width: 38ch; color: #3F5070; line-height: 1.55; }
.os-lead__again { display: inline-flex; align-items: center; gap: .6em; margin-top: 8px; padding: .95em 1.6em; border-radius: 999px; font-family: var(--f-display); font-weight: 700; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: #0B2549; box-shadow: inset 0 0 0 1.5px rgba(11, 37, 73, .3); transition: background-color .3s, color .3s; }
.os-lead__again:hover { background: #0B2549; color: #fff; }
.os-lead__again .os-ico { width: 1.3em; height: 1.3em; stroke-width: 2; }

/* =====================================================================
   FLIPBOOK OVERLAY
   ===================================================================== */
.os-fb {
  --fb-ease: cubic-bezier(.6, .02, .2, 1); --fb-dur: 1.15s;
  position: fixed; inset: 0; z-index: 2000; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden;
  visibility: hidden; opacity: 0; transition: opacity .5s ease, visibility 0s .5s; font-family: var(--f-body);
  -webkit-user-select: none; user-select: none; touch-action: none;
}
.os-fb.is-open { visibility: visible; opacity: 1; transition: opacity .5s ease; }
.os-fb *, .os-fb *::before, .os-fb *::after { box-sizing: border-box; }
:where(.os-fb button) { font: inherit; color: inherit; }
.os-fb[data-design="a"] {
  color: #EEF4FC;
  background: radial-gradient(1100px 640px at 50% 38%, #174079 0%, #0C2750 42%, #050F24 100%);
}
.os-fb[data-design="a"]::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55; background-image: radial-gradient(rgba(142, 187, 233, .32) 1px, transparent 1.4px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse at 50% 45%, #000 10%, transparent 72%); }
.os-fb[data-design="a"]::after { content: ""; position: absolute; left: 50%; bottom: -18%; width: 90%; height: 46%; translate: -50% 0; pointer-events: none; background: radial-gradient(closest-side, rgba(224, 180, 87, .2), transparent); }
.os-fb[data-design="b"] {
  color: #0B2549;
  background: radial-gradient(1000px 560px at 50% 18%, #FFFEFB 0%, #F6F1E6 55%, #E7E0D0 100%);
}
.os-fb[data-design="b"]::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: radial-gradient(rgba(11, 37, 73, .09) 1px, transparent 1.4px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 45%, #000 10%, transparent 75%); }

.os-fb__top, .os-fb__bot, .os-fb__stage { min-width: 0; }
.os-fb__top { position: relative; z-index: 4; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: clamp(12px, 2vw, 22px) clamp(14px, 2.6vw, 34px); }
.os-fb__brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.os-fb__brand img { height: clamp(34px, 4vw, 46px); width: auto; flex: none; }
.os-fb__brand div { min-width: 0; padding-left: 14px; border-left: 1px solid currentColor; border-color: rgba(128, 150, 190, .4); }
.os-fb__brand b { display: block; font-family: var(--f-display); font-weight: 700; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.os-fb__brand small { display: block; margin-top: 3px; font-size: .78rem; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.os-fb__count { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.os-fb__count b { font-weight: 700; }
.os-fb__count span { opacity: .45; margin: 0 .35em; }
.os-fb__tools { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.os-fb__btn {
  width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; flex: none;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), background-color .3s, color .3s, box-shadow .3s;
}
.os-fb__btn .os-ico { width: 20px; height: 20px; stroke-width: 1.9; }
.os-fb__btn:hover { transform: translateY(-2px) scale(1.06); }
.os-fb__btn:focus-visible, .os-fb__dl:focus-visible, .os-fb__pg:focus-visible { outline: 3px solid #E0B457; outline-offset: 3px; }
.os-fb[data-design="a"] .os-fb__btn { color: #fff; background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(243, 223, 174, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.os-fb[data-design="a"] .os-fb__btn:hover, .os-fb[data-design="a"] .os-fb__btn.is-on { background: #E0B457; color: #061631; box-shadow: 0 14px 28px -12px rgba(224, 180, 87, .7); }
.os-fb[data-design="b"] .os-fb__btn { color: #0B2549; background: #fff; box-shadow: inset 0 0 0 1px rgba(11, 37, 73, .12), 0 10px 22px -12px rgba(11, 37, 73, .45); }
.os-fb[data-design="b"] .os-fb__btn:hover, .os-fb[data-design="b"] .os-fb__btn.is-on { background: #0B2549; color: #fff; }
.os-fb__btn[hidden] { display: none; }

.os-fb__stage { position: relative; z-index: 2; min-height: 0; display: grid; place-items: center; padding: 0 clamp(10px, 7vw, 120px); perspective: 2800px; perspective-origin: 50% 40%; }
.os-fb__zoom { position: relative; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.16, 1, .3, 1), opacity .9s ease; transform: scale(var(--zs, 1)); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.os-fb:not(.is-open) .os-fb__zoom { opacity: 0; transform: scale(.9) translateY(20px); }
.os-fb__zoom.is-zoomed { cursor: zoom-out; }
.os-fb__book { position: relative; width: var(--bw, 640px); height: var(--ph, 360px); transform-style: preserve-3d; transform: translateX(var(--shift, 0px)); transition: transform var(--fb-dur) var(--fb-ease); }
.os-fb__ground { position: absolute; left: 50%; top: calc(100% + 18px); width: 96%; height: 34px; translate: -50% 0; border-radius: 50%; pointer-events: none; }
.os-fb[data-design="a"] .os-fb__ground { background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); filter: blur(10px); }
.os-fb[data-design="b"] .os-fb__ground { background: radial-gradient(closest-side, rgba(40, 30, 10, .5), transparent); filter: blur(12px); }

.os-fb__leaf { position: absolute; top: 0; left: var(--lx, 0px); width: var(--pw, 640px); height: var(--ph, 360px); transform-origin: 0 50%; transform-style: preserve-3d; transition: transform var(--fb-dur) var(--fb-ease) var(--dl, 0s), opacity 0s; }
.os-fb__leaf.is-flipped { transform: rotateY(-180deg); }
.os-fb__book.is-single .os-fb__leaf.is-flipped { pointer-events: none; }
.os-fb__book.is-single .os-fb__face { transition: opacity 0s; }
.os-fb__book.is-single .os-fb__leaf.is-flipped .os-fb__face { opacity: 0; transition: opacity .3s calc(var(--dl, 0s) + .78s); } /* fade the faces, not the leaf: opacity on the leaf would flatten the 3D */
.os-fb__face { position: absolute; inset: 0; overflow: hidden; background: #fff; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.os-fb__face--back { transform: rotateY(180deg); }
.os-fb__face img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.os-fb__face::after { /* gutter shadow + moving gloss */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 20, 40, .26) 0, rgba(10, 20, 40, .06) 3.5%, transparent 9%);
}
.os-fb__face--back::after { background: linear-gradient(270deg, rgba(10, 20, 40, .26) 0, rgba(10, 20, 40, .06) 3.5%, transparent 9%); }
.os-fb__face--blank { background: linear-gradient(270deg, #dfe6f2, #f7f9fd 28%, #fff); }
.os-fb__leaf.is-turning .os-fb__face::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(100deg, rgba(0, 0, 0, .42), rgba(255, 255, 255, .18) 40%, rgba(0, 0, 0, .0) 70%); animation: os-fb-gloss var(--fb-dur) ease-in-out var(--dl, 0s) both; }
@keyframes os-fb-gloss { 0% { opacity: 0; } 35% { opacity: 1; } 100% { opacity: 0; } }
.os-fb__book.is-spread .os-fb__leaf { --lx: var(--pw); }
.os-fb__edge { position: absolute; top: 4px; bottom: 4px; width: 0; pointer-events: none; transition: width var(--fb-dur) var(--fb-ease), opacity .4s; background: repeating-linear-gradient(90deg, #fff 0 1px, #cfc8b6 1px 2px); }
.os-fb__edge--r { left: 100%; border-radius: 0 3px 3px 0; box-shadow: 4px 0 10px -2px rgba(0, 0, 0, .35); }
.os-fb__edge--l { right: 100%; border-radius: 3px 0 0 3px; box-shadow: -4px 0 10px -2px rgba(0, 0, 0, .35); }
.os-fb__book.is-single .os-fb__edge--l { display: none; }
.os-fb__book.is-spread::before { /* spine crease */
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 4%; translate: -50% 0; z-index: 900; pointer-events: none; transition: opacity .6s;
  background: linear-gradient(90deg, transparent, rgba(10, 20, 40, .2) 46%, rgba(10, 20, 40, .32) 50%, rgba(10, 20, 40, .2) 54%, transparent); transform: translateZ(1px);
}
.os-fb__book.is-spread.at-start::before, .os-fb__book.is-spread.at-end::before { opacity: 0; }
.os-fb__book.is-ready { cursor: pointer; }
.os-fb__hit { position: absolute; top: 0; bottom: 0; z-index: 950; transform: translateZ(2px); }
.os-fb__hit--l { left: 0; width: 50%; cursor: w-resize; }
.os-fb__hit--r { right: 0; width: 50%; cursor: e-resize; }
.os-fb__book.is-single .os-fb__hit--l { width: 28%; }
.os-fb__book.is-single .os-fb__hit--r { width: 72%; }
.os-fb__zoom.is-zoomed .os-fb__hit { cursor: zoom-out; }
.os-fb__book[data-at="start"] .os-fb__hit--l, .os-fb__book[data-at="end"] .os-fb__hit--r { cursor: default; }

.os-fb__side {
  position: absolute; top: 50%; z-index: 5; translate: 0 -50%; width: 58px; height: 58px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), background-color .3s, color .3s, opacity .3s, box-shadow .3s;
}
.os-fb__side .os-ico { width: 22px; height: 22px; stroke-width: 2; }
.os-fb__side--l { left: clamp(10px, 2vw, 34px); }
.os-fb__side--r { right: clamp(10px, 2vw, 34px); }
.os-fb__side:hover { transform: scale(1.1); }
.os-fb__side:disabled { opacity: .25; cursor: default; transform: none; }
.os-fb__side:focus-visible { outline: 3px solid #E0B457; outline-offset: 3px; }
.os-fb[data-design="a"] .os-fb__side { color: #fff; background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(243, 223, 174, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.os-fb[data-design="a"] .os-fb__side:not(:disabled):hover { background: #E0B457; color: #061631; }
.os-fb[data-design="b"] .os-fb__side { color: #0B2549; background: #fff; box-shadow: inset 0 0 0 1px rgba(11, 37, 73, .1), 0 14px 30px -12px rgba(11, 37, 73, .5); }
.os-fb[data-design="b"] .os-fb__side:not(:disabled):hover { background: #0B2549; color: #fff; }

.os-fb__hint { position: absolute; left: 50%; bottom: 8px; translate: -50% 0; z-index: 5; padding: .7em 1.2em; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap; pointer-events: none; transition: opacity .8s; }
.os-fb[data-design="a"] .os-fb__hint { color: rgba(238, 244, 252, .8); background: rgba(255, 255, 255, .08); }
.os-fb[data-design="b"] .os-fb__hint { color: #3F5070; background: rgba(11, 37, 73, .06); }
.os-fb__hint.is-gone { opacity: 0; }

.os-fb__bot { position: relative; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; padding: clamp(10px, 1.6vw, 20px) clamp(14px, 2.6vw, 34px) clamp(14px, 2.4vw, 28px); }
.os-fb__pgs { display: flex; gap: 10px; margin: 0; padding: 6px 4px; list-style: none; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.os-fb__pgs::-webkit-scrollbar { display: none; }
.os-fb__pg { position: relative; flex: none; display: block; width: 80px; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 7px; overflow: hidden; cursor: pointer; opacity: .55; transition: opacity .35s, transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .35s; }
.os-fb__pg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.os-fb__pg em { position: absolute; left: 4px; bottom: 3px; font: 800 .62rem var(--f-display); font-style: normal; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
.os-fb__pg:hover { opacity: 1; transform: translateY(-3px); }
.os-fb__pg.is-on { opacity: 1; transform: translateY(-3px); }
.os-fb[data-design="a"] .os-fb__pg { box-shadow: 0 0 0 1px rgba(243, 223, 174, .25); }
.os-fb[data-design="a"] .os-fb__pg.is-on { box-shadow: 0 0 0 2px #0C2750, 0 0 0 4px #E0B457, 0 12px 22px -10px #000; }
.os-fb[data-design="b"] .os-fb__pg { box-shadow: 0 0 0 1px rgba(11, 37, 73, .2); }
.os-fb[data-design="b"] .os-fb__pg.is-on { box-shadow: 0 0 0 2px #F6F1E6, 0 0 0 4px #0B2549, 0 12px 22px -10px rgba(11, 37, 73, .6); }
.os-fb__dl { display: inline-flex; align-items: center; gap: .75em; padding: 1.05em 1.8em; border: 0; border-radius: 999px; cursor: pointer; font-family: var(--f-display); font-weight: 700; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s; }
.os-fb__dl .os-ico { width: 1.35em; height: 1.35em; stroke-width: 2; }
.os-fb__dl:hover { transform: translateY(-3px); }
.os-fb[data-design="a"] .os-fb__dl { color: #061631; background: linear-gradient(135deg, #F4D48A 0%, #DDAA48 42%, #B07B24 100%); box-shadow: 0 16px 30px -12px rgba(176, 123, 36, .8), inset 0 1px 0 rgba(255, 255, 255, .6); }
.os-fb[data-design="b"] .os-fb__dl { color: #fff; background: #0B2549; box-shadow: 0 0 0 3px #F6F1E6, 0 0 0 5px #0B2549, 0 16px 30px -12px rgba(11, 37, 73, .7); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .os-bro__stage { height: clamp(210px, 46vw, 360px); }
  .os-bro__slide { width: 74%; }
  .os-bro__slide[data-o="2"], .os-bro__slide[data-o="-2"] { --op: 0; }
  .os-bro__thumb { width: 72px; }
  .os-bro__bar { justify-content: center; }
  .os-bro__nav { width: 100%; justify-content: center; }
  .os-bro__actions { width: 100%; justify-content: center; }
  .os-fb__side { display: none; }
  .os-fb__stage { padding: 0 12px; }
  .os-fb__brand div { display: none; }
}
@media (max-width: 700px) {
  .os-lead__dlg { grid-template-columns: minmax(0, 1fr); max-height: 100%; overflow-y: auto; }
  .os-lead__aside { display: none; }
  .os-lead__main { overflow: visible; }
  .os-lead__form { grid-template-columns: minmax(0, 1fr); }
  .os-lead__t { margin-right: 48px; }
}
@media (max-width: 560px) {
  .os-bro__slide { width: 82%; }
  .os-bro__slide[data-o="1"], .os-bro__slide[data-o="-1"] { --x: 62; --s: .78; }
  .os-bro__slide[data-o="-1"] { --x: -62; }
  .os-bro__arrow { width: 44px; height: 44px; }
  .os-bro__thumb { width: 60px; }
  .os-bro__dl, .os-bro__flip { width: 100%; justify-content: center; }
  .os-bro__chips { display: none; }
  .os-fb__top { grid-template-columns: minmax(0, 1fr) auto; }
  .os-fb__count { grid-column: 1 / -1; grid-row: 2; text-align: center; }
  .os-fb__pg { width: 62px; }
  .os-fb__dl { width: 100%; justify-content: center; }
  .os-fb__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .os-bro__slide, .os-fb__leaf, .os-fb__book, .os-fb__zoom { transition-duration: .01s !important; transition-delay: 0s !important; }
  .os-lead__go::after { animation: none; }
}
