@font-face {
  font-family: "IBAV Black Ops";
  src: url('../fonts/black-ops-one-regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.ibav27 {
  --blue: #062e4c;
  --blue-soft: #0b5276;
  --sand: #e8c68e;
  --sand-light: #fff5df;
  --orange: #e86f2b;
  position: relative;
  isolation: isolate;
  width: 100vw;
  max-width: 100vw;
  min-height: max(760px, 100svh);
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  color: #fff;
  background: var(--blue) url('../images/lona-ibav27-clean.png') center/cover no-repeat fixed;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.ibav27 *, .ibav27 *::before, .ibav27 *::after { box-sizing: border-box; }
.ibav27__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, rgba(3,29,48,.93) 0%, rgba(4,51,77,.77) 48%, rgba(7,45,68,.55) 100%); }
.ibav27__inner { width: min(1180px, calc(100% - 36px)); min-height: max(760px, 100svh); margin: 0 auto; padding: 34px 0 60px; display: flex; flex-direction: column; }
.ibav27__header { display: grid; grid-template-columns: minmax(150px, 230px) 1fr auto; align-items: center; gap: clamp(20px, 4vw, 54px); }
.ibav27__mark { width: 100%; max-width: 230px; height: auto; filter: drop-shadow(0 8px 18px rgba(0,0,0,.3)); }
.ibav27__title-block { min-width: 0; text-align: center; text-shadow: 0 4px 20px rgba(0,0,0,.34); }
.ibav27__title-block h1 { margin: 0; color: var(--sand-light); font-family: "IBAV Black Ops", Impact, sans-serif; font-size: clamp(34px, 4.4vw, 70px); font-weight: 400; line-height: .94; letter-spacing: -.025em; text-transform: uppercase; }
.ibav27__title-block h1 span { color: #fff; }
.ibav27__title-block p { margin: 12px 0 0; color: var(--sand); font-family: "IBAV Black Ops", Impact, sans-serif; font-size: clamp(10px, 1.15vw, 17px); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.ibav27__partners { display: flex; align-items: center; gap: 18px; }
.ibav27__partners img { width: auto; height: 70px; max-width: 130px; object-fit: contain; filter: drop-shadow(0 5px 10px rgba(0,0,0,.32)); }
.ibav27__primary { display: flex; flex: 1 1 auto; flex-direction: column; align-items: center; justify-content: center; min-height: 0; }
.ibav27__story-open { align-self: center; margin: 10px auto 0; padding: 9px 18px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; cursor: pointer; color: var(--sand-light); background: rgba(5,45,70,.72); font: inherit; font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; transition: background .2s, transform .2s; }
.ibav27__story-open:hover { background: rgba(232,111,43,.9); transform: translateY(-1px); }
.ibav27__story-open span { margin-left: 6px; color: var(--sand); }
.ibav27__story-modal[hidden] { display: none !important; }
.ibav27__story-modal { position: fixed; inset: 0; z-index: 999999; display: grid; place-items: center; padding: 24px; }
.ibav27__story-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; cursor: pointer; background: rgba(1,19,32,.82); backdrop-filter: blur(7px); }
.ibav27__story { position: relative; width: min(1040px, 100%); max-height: calc(100svh - 48px); margin: 0; padding: clamp(34px, 4vw, 50px); overflow-y: auto; border: 1px solid rgba(255,255,255,.24); border-radius: 28px; background: linear-gradient(145deg, rgba(5,45,70,.98), rgba(7,64,91,.97)); box-shadow: 0 28px 80px rgba(0,0,0,.45); }
.ibav27__story-close { position: sticky; top: -22px; z-index: 2; display: block; margin: -22px -18px 8px auto; padding: 7px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; cursor: pointer; color: #fff; background: rgba(2,33,52,.92); font: inherit; font-size: 12px; font-weight: 750; }
.ibav27__story-close span { color: var(--orange); font-size: 19px; line-height: 0; vertical-align: -2px; }
html.ibav27-story-open { overflow: hidden; }
.ibav27 .ibav27__story h2 { max-width: 850px; margin: 0 auto 34px; color: var(--sand-light); font-family: "IBAV Black Ops", Impact, sans-serif; font-size: clamp(28px, 4.2vw, 52px); font-weight: 400; line-height: 1.08; text-align: center; letter-spacing: -.015em; }
.ibav27__story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 56px); }
.ibav27__story-column { min-width: 0; }
.ibav27__story p { margin: 0 0 17px; color: rgba(255,255,255,.86); font-size: 16px; line-height: 1.62; }
.ibav27__story .ibav27__story-lead, .ibav27__story .ibav27__story-shift { color: var(--sand-light); font-size: 20px; font-weight: 800; }
.ibav27__story .ibav27__story-fact { margin: 24px 0; padding: 18px 20px; border-left: 4px solid var(--orange); color: #fff; background: rgba(255,255,255,.08); font-size: 19px; font-weight: 800; line-height: 1.45; }
.ibav27__story .ibav27__story-manifesto { color: var(--sand); font-family: "IBAV Black Ops", Impact, sans-serif; font-size: 25px; line-height: 1.25; }
.ibav27__story .ibav27__story-path { margin-bottom: 8px; color: #fff; font-size: 18px; font-weight: 800; }
.ibav27__story .ibav27__story-invite { margin-bottom: 7px; color: var(--sand-light); font-size: 18px; }
.ibav27__story .ibav27__story-finale-title { margin: 27px 0 3px; color: var(--orange); font-family: "IBAV Black Ops", Impact, sans-serif; font-size: 30px; line-height: 1; }
.ibav27__story .ibav27__story-finale { margin: 0; color: #fff; font-size: 20px; font-weight: 800; }
.ibav27__countdown-panel, .ibav27__form-panel, .ibav27__message { width: min(790px, 100%); margin: 12px auto; padding: clamp(28px, 5vw, 58px); border: 1px solid rgba(255,255,255,.22); border-radius: 28px; background: linear-gradient(145deg, rgba(5,45,70,.93), rgba(7,64,91,.83)); box-shadow: 0 24px 60px rgba(0,0,0,.28); backdrop-filter: blur(12px); }
.ibav27__eyebrow { margin: 0 0 8px; color: var(--sand); font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.ibav27 h2 { margin: 0; color: #fff; font-size: clamp(36px, 6vw, 68px); line-height: .98; letter-spacing: -.04em; }
.ibav27__event { margin: 24px 0 3px; color: var(--sand-light); font-size: clamp(18px, 2.5vw, 25px); font-weight: 750; }
.ibav27__place { margin: 0; color: rgba(255,255,255,.83); font-size: 16px; }
.ibav27__timer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; }
.ibav27__timer div { padding: 20px 8px; border-radius: 16px; text-align: center; background: rgba(255,255,255,.1); }
.ibav27__timer strong, .ibav27__timer span { display: block; }
.ibav27__timer strong { color: var(--sand-light); font-size: clamp(30px, 6vw, 56px); font-variant-numeric: tabular-nums; line-height: 1; }
.ibav27__timer span { margin-top: 7px; color: rgba(255,255,255,.72); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ibav27__form-panel { width: min(920px, 100%); margin-top: 42px; }
.ibav27__form-panel h2, .ibav27__message h2 { font-size: clamp(32px, 5vw, 52px); }
.ibav27__intro { margin: 14px 0 28px; color: rgba(255,255,255,.82); }
.ibav27__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 19px; }
.ibav27__form label { display: block; color: #fff; font-size: 14px; font-weight: 700; }
.ibav27__form label > span { color: var(--sand); }
.ibav27__wide { grid-column: 1 / -1; }
.ibav27__form input:not([type="checkbox"]), .ibav27__form select, .ibav27__form textarea { width: 100%; min-height: 50px; margin-top: 7px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; outline: 0; color: #102d40; background: rgba(255,255,255,.96); font: inherit; font-weight: 500; }
.ibav27__form textarea { resize: vertical; }
.ibav27__form input[type="number"] { display: block; width: 100% !important; max-width: none !important; }
.ibav27__companions small { display: block; margin-top: 7px; color: rgba(255,255,255,.68); font-size: 12px; font-weight: 500; }
.ibav27__form input:focus, .ibav27__form select:focus, .ibav27__form textarea:focus { border-color: var(--sand); box-shadow: 0 0 0 3px rgba(232,198,142,.25); }
.ibav27__consents { display: grid; gap: 12px; margin: 24px 0; }
.ibav27__consents label { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.ibav27__consents input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.ibav27__consents a { color: var(--sand-light); text-decoration: underline; }
.ibav27__form button { appearance: none; min-height: 54px; padding: 13px 27px; border: 0; border-radius: 999px; cursor: pointer; color: #fff; background: var(--orange); box-shadow: 0 8px 20px rgba(232,111,43,.27); font-size: 16px; font-weight: 850; transition: transform .2s, box-shadow .2s; }
.ibav27__form button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(232,111,43,.37); }
.ibav27__required { display: inline-block; margin: 0 0 0 13px; color: rgba(255,255,255,.65); font-size: 12px; }
.ibav27__trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ibav27__message { margin-top: 42px; }
.ibav27__message p { font-size: 18px; line-height: 1.6; }
.ibav27__message--error { margin-bottom: -20px; padding: 17px 22px; border-color: #ffb2a4; color: #fff; background: rgba(135,34,19,.9); }
@media (min-width: 900px) {
  .ibav27 { height: 100svh; min-height: 680px; }
  .ibav27__inner { height: 100%; min-height: 680px; padding: 16px 0 14px; }
  .ibav27__header { grid-template-columns: minmax(125px, 180px) 1fr auto; gap: clamp(18px, 3vw, 42px); }
  .ibav27__mark { max-width: 180px; }
  .ibav27__title-block h1 { font-size: clamp(38px, 3.7vw, 58px); }
  .ibav27__title-block p { margin-top: 7px; font-size: clamp(9px, .9vw, 14px); }
  .ibav27__partners img { height: 56px; max-width: 105px; }
  .ibav27__form-panel { width: min(1000px, 100%); margin: 10px auto; padding: 20px 28px; }
  .ibav27__form-panel h2 { font-size: clamp(30px, 3vw, 42px); }
  .ibav27__intro { margin: 7px 0 14px; }
  .ibav27__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; }
  .ibav27__form input:not([type="checkbox"]), .ibav27__form select, .ibav27__form textarea { min-height: 42px; margin-top: 4px; padding: 8px 11px; }
  .ibav27__form textarea { height: 62px; min-height: 62px; }
  .ibav27__consents { gap: 7px; margin: 12px 0; }
  .ibav27__consents label { font-size: 12px; }
  .ibav27__form button { min-height: 44px; padding: 10px 23px; }
  .ibav27__required { font-size: 11px; }
  .ibav27__story-open { margin-top: 5px; }
  body.admin-bar .ibav27 { height: calc(100svh - 32px); min-height: 648px; }
  body.admin-bar .ibav27__inner { min-height: 648px; }
}
@media (max-width: 720px) {
  .ibav27, .ibav27__inner { min-height: max(700px, 100svh); }
  .ibav27 { background-size: auto max(700px, 100svh); background-position: center top; background-attachment: scroll; }
  .ibav27__inner { width: min(100% - 24px, 1180px); padding-top: 20px; }
  .ibav27__header { grid-template-columns: minmax(110px, 38vw) 1fr; gap: 12px; }
  .ibav27__mark { width: min(38vw, 180px); }
  .ibav27__partners { justify-self: end; gap: 8px; }
  .ibav27__partners img { height: 45px; max-width: 84px; }
  .ibav27__title-block { grid-column: 1 / -1; grid-row: 2; margin-top: 4px; }
  .ibav27__title-block h1 { font-size: clamp(32px, 11vw, 54px); }
  .ibav27__title-block p { font-size: 9px; letter-spacing: .08em; }
  .ibav27__story-modal { padding: 10px; }
  .ibav27__story { max-height: calc(100svh - 20px); padding: 28px 20px; border-radius: 20px; }
  .ibav27__story-close { top: -17px; margin: -17px -8px 8px auto; }
  .ibav27 .ibav27__story h2 { margin-bottom: 26px; font-size: clamp(27px, 9vw, 39px); }
  .ibav27__story-grid { grid-template-columns: 1fr; gap: 0; }
  .ibav27__story p { font-size: 15px; }
  .ibav27__story .ibav27__story-manifesto { font-size: 22px; }
  .ibav27__countdown-panel, .ibav27__form-panel, .ibav27__message { padding: 26px 20px; border-radius: 20px; }
  .ibav27__timer { gap: 6px; }
  .ibav27__timer div { padding: 15px 3px; }
  .ibav27__timer span { font-size: 8px; letter-spacing: .03em; }
  .ibav27__grid { grid-template-columns: 1fr; }
  .ibav27__wide { grid-column: auto; }
  .ibav27__required { display: block; margin: 12px 0 0; }
}
