/* ============ pool.quotingcrew.com/ : the short version of the landing (the main page) ============
   Loaded only on "/", after qc.css and pool.css. Every rule is scoped to body.short,
   so the long version, which now lives at /v2/, is untouched. */

/* ---------- 01. Hero: headline in two lines, clean photo (no result cards on it) ---------- */
.short .hero h1 { max-width: 1040px; }
.short .hv { margin-top: 56px; padding-bottom: 0; }
.short .hv__img { height: 520px; }
@media (max-width: 900px) {
  .short .hv { margin-top: 40px; padding-bottom: 0; }
  .short .hv__img { height: 320px; }
}
@media (max-width: 640px) {
  .short .hero h1 { font-size: clamp(26px, 8.3vw, 40px); }   /* keeps each line of the headline on one row on phones */
  .short .hero__sub { margin-top: 18px; }
  .short .hero__ctas { margin-top: 26px; }
  .short .hv { margin-top: 34px; padding: 0 16px; }
  .short .hv__img { height: 240px; border-radius: 22px; }
}

/* A short page: sections sit a little closer than on the long version */
.short .sec { padding-top: 112px; }
@media (max-width: 900px) { .short .sec { padding-top: 84px; } }
@media (max-width: 640px) { .short .sec { padding-top: 64px; } }

/* ---------- 02. Results: three cards, the same five lines on each, revenue is the big one ---------- */
.short .sec-head { margin-bottom: 44px; }
.short .rcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.short .rc { --px: 28px; --pb: 26px; display: flex; flex-direction: column; padding: 28px var(--px) var(--pb); overflow: hidden; }
.short .rc__head h3 { font-size: 22px; font-weight: 720; letter-spacing: -0.03em; line-height: 1.2; }
.short .rc__head p { margin-top: 4px; font-size: 15.5px; color: var(--muted); }
.short .rc__rows { margin: 18px 0 0; }
.short .rc__rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line-2); }
.short .rc__rows dt { font-size: 16.5px; color: var(--ink-2); }
.short .rc__rows dd { margin: 0; font-size: 18px; font-weight: 680; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
/* Revenue sits on the case photo, which fills the bottom of the card edge to edge; a dark blue veil keeps the number readable */
.short .rc__rev { position: relative; isolation: isolate; margin: 14px calc(-1 * var(--px)) calc(-1 * var(--pb)); padding: 22px var(--px) var(--pb); min-height: 178px; display: flex; flex-direction: column; justify-content: flex-end; background: #131F4D; }
.short .rc__rev picture { display: contents; }
.short .rc__rev img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.short .rc__rev::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 24, 68, 0.16) 0%, rgba(13, 24, 68, 0.7) 46%, rgba(13, 24, 68, 0.93) 100%); }
.short .rc__rev span { display: block; font-size: 15.5px; font-weight: 620; color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 12px rgba(8, 14, 40, 0.7); }
.short .rc__rev b { display: block; margin-top: 4px; font-size: clamp(44px, 4.5vw, 60px); font-weight: 780; letter-spacing: -0.055em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 2px 22px rgba(8, 14, 40, 0.55); }
.short .rcs__note { margin-top: 22px; text-align: center; font-size: 14.5px; color: var(--muted); }
@media (max-width: 1000px) {
  .short .rc { --px: 22px; --pb: 22px; padding-top: 24px; }
  .short .rc__head h3 { font-size: 20px; }
}
@media (max-width: 780px) {
  .short .sec-head { margin-bottom: 32px; }
  .short .rcs { grid-template-columns: 1fr; gap: 14px; max-width: 520px; margin: 0 auto; }
  .short .rc { --px: 20px; --pb: 20px; padding-top: 22px; border-radius: 24px; }
  .short .rc__rows { margin-top: 14px; }
  .short .rc__rows > div { padding: 9px 0; }
  .short .rc__rev { min-height: 160px; padding-top: 18px; }
  .short .rc__rev b { font-size: 46px; }
}

/* ---------- 03. Pain + money ---------- */
.short .pain { display: grid; grid-template-columns: 1fr 1fr; padding: 0; overflow: hidden; }
.short .pain__copy { padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; }
.short .pain .h2 { font-size: clamp(32px, 3.9vw, 50px); }
.short .pain__lead { margin-top: 20px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.45; font-weight: 560; color: var(--ink); }
.short .pain__list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.short .pain__list li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.short .pain__list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 14px; height: 2px; border-radius: 2px; background: var(--blue-2); }

/* the math side (shared by variants a and c) */
.short .pm { padding: 44px 44px 36px; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(180deg, #F7F9FE, #EEF2FF); border-left: 1px solid var(--line-2); }
.short .pm .fld + .fld { margin-top: 22px; }
.short .pm__res { margin-top: 28px; padding: 22px 26px 24px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 44px -26px rgba(31, 63, 166, 0.45); }
.short .pm__eq { font-size: 16px; color: var(--muted); font-variant-numeric: tabular-nums; }
.short .pm__eq b { font-weight: 680; color: var(--ink); }
.short .pm__n { margin-top: 6px; font-size: clamp(46px, 5vw, 68px); font-weight: 780; letter-spacing: -0.055em; line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.short .pm__lbl { display: block; margin-top: 8px; font-size: 16.5px; font-weight: 560; color: var(--ink-2); }

/* variant b: one wide line of math */
.short .pain--b { display: block; padding: 56px 52px 44px; text-align: center; }
.short .painb__copy { max-width: 720px; margin: 0 auto; }
.short .painb__copy .pain__lead { font-weight: 480; color: var(--ink-2); }
.short .bb { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 0.8fr) auto minmax(0, 1.15fr) auto minmax(0, 1.6fr); align-items: stretch; gap: 14px; text-align: left; }
.short .bb > i { align-self: center; font-style: normal; font-size: 30px; font-weight: 500; color: var(--faint); }
.short .bb__t { padding: 22px 24px 20px; border-radius: 20px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.short .bb__t b { display: block; font-size: clamp(34px, 4vw, 54px); font-weight: 780; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.short .bb__t span { display: block; margin-top: 8px; font-size: 16px; color: var(--ink-2); }
.short .bb__t--sum { background: var(--blue); box-shadow: 0 26px 46px -24px rgba(31, 63, 166, 0.8); }
.short .bb__t--sum b { color: #fff; }
.short .bb__t--sum span { color: rgba(255, 255, 255, 0.86); }

/* variant c: the crew's schedule, two empty months get a job */
.short .sched__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.short .sched__top b { font-size: 16.5px; font-weight: 650; }
.short .sched__top span { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.short .sched__grid { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.short .mo { position: relative; min-height: 76px; padding: 11px 12px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.short .mo small { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.short .mo > b { display: block; margin-top: 6px; font-size: 15px; font-weight: 620; line-height: 1.25; color: var(--ink-2); }
.short .mo--gap { background: transparent; box-shadow: none; outline: 1.5px dashed #C9CFDB; outline-offset: -1.5px; }
.short .mo--gap > .mo__no { color: var(--faint); font-weight: 520; }
.short .mo__new { position: absolute; inset: 0; padding: 11px 12px; border-radius: 14px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--blue); color: #fff; box-shadow: 0 16px 28px -16px rgba(31, 63, 166, 0.85); }
.short .mo__new b { font-size: 14px; font-weight: 600; line-height: 1.2; opacity: 0.9; }
.short .mo__new span { font-size: 19px; font-weight: 760; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.js .short .mo__new { opacity: 0; transform: scale(0.86); transition: opacity 0.45s var(--ease) var(--sd, 0.8s), transform 0.6s var(--ease) var(--sd, 0.8s); }
.js .short .sched.is-visible .mo__new { opacity: 1; transform: none; }
.short .pm .sched + .pm__res { margin-top: 20px; }

@media (max-width: 900px) {
  .short .pain { grid-template-columns: 1fr; }
  .short .pain__copy { padding: 36px 28px 30px; }
  .short .pm { padding: 30px 28px 28px; border-left: 0; border-top: 1px solid var(--line-2); }
  .short .pain--b { padding: 36px 28px 30px; }
  .short .bb { grid-template-columns: 1fr; gap: 8px; margin-top: 28px; }
  .short .bb > i { justify-self: center; font-size: 24px; line-height: 1; }
  .short .bb__t { padding: 16px 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
  .short .bb__t b { font-size: 34px; }
  .short .bb__t span { margin-top: 0; text-align: right; }
  .short .bb__t--sum { display: block; padding: 20px; }
  .short .bb__t--sum b { font-size: clamp(44px, 12vw, 56px); }
  .short .bb__t--sum span { margin-top: 6px; text-align: left; }
}
@media (max-width: 640px) {
  .short .pain { border-radius: 24px; }
  .short .pain__copy { padding: 28px 22px 24px; }
  .short .pm { padding: 24px 22px 22px; }
  .short .pm__res { padding: 18px 20px 20px; }
  .short .pain--b { padding: 28px 22px 24px; }
  .short .pain__list li { font-size: 16px; }
  .short .sched__grid { gap: 8px; }
  .short .mo { padding: 10px; min-height: 72px; }
  .short .mo > b { font-size: 14px; }
  .short .mo__new { padding: 10px; }
  .short .mo__new b { font-size: 12.5px; }
  .short .mo__new span { font-size: 16.5px; }
}

/* ---------- 04. How it works: three steps ---------- */
.short .how__head .h2 { margin-top: 0; }
.short .flow--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 52px; }
@media (max-width: 760px) { .short .flow--3 { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; } .short .flow__step { padding-top: 22px; } .short .flow__step h3 { margin-top: 14px; } }

/* ---------- 05. Main CTA: the one loud block on the page ---------- */
.short .cta2 { position: relative; isolation: isolate; overflow: hidden; padding: 84px 32px 72px; border-radius: 36px; text-align: center; color: #fff; background: #17307F; box-shadow: 0 50px 90px -44px rgba(31, 63, 166, 0.75); }
.short .cta2::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(115deg, rgba(17, 36, 104, 0.9) 0%, rgba(27, 56, 150, 0.76) 50%, rgba(40, 76, 190, 0.6) 100%),
  url(/assets/img/case-vinyl-1440.webp) center 70% / cover no-repeat; }
.short .cta2 .h2 { color: #fff; font-size: clamp(34px, 4.8vw, 62px); }
.short .cta2 .sub { max-width: 560px; margin-left: auto; margin-right: auto; color: rgba(255, 255, 255, 0.84); }
.short .cta2__btns { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.short .cta2 .btn--light { color: var(--blue); box-shadow: 0 18px 32px -16px rgba(5, 12, 40, 0.7); }
.short .cta2 .btn--ghost { background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6); }
.short .cta2 .btn--ghost:hover { background: rgba(255, 255, 255, 0.18); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85); }
.short .cta2 .btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 640px) { .short .cta2 { padding: 52px 22px 44px; border-radius: 26px; } }

/* ---------- 06. FAQ: five questions that open on click ---------- */
.short .sec--last { padding-bottom: 120px; }
.short .faq2 { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.short .faq2 .h2 { position: sticky; top: 120px; font-size: clamp(32px, 3.9vw, 50px); }
.short .acc__item { border-top: 1px solid var(--line); }
.short .acc__item:last-child { border-bottom: 1px solid var(--line); }
.short .acc h3 { margin: 0; font-size: inherit; font-weight: inherit; }
.short .acc__q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; margin: 0; padding: 22px 4px; border: 0; background: none; font: inherit; font-size: 20px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.3; color: var(--ink); text-align: left; cursor: pointer; }
.short .acc__q:hover { color: var(--blue); }
.short .acc__q svg { flex: none; width: 22px; height: 22px; color: var(--blue); transition: transform 0.35s var(--ease); }
.short .acc__item.is-open .acc__q svg { transform: rotate(180deg); }
.short .acc__a > div { overflow: hidden; }
.short .acc__a p { margin: 0; padding: 0 4px 24px; max-width: 60ch; font-size: 17px; line-height: 1.6; color: var(--muted); }
.js .short .acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.js .short .acc__a > div { visibility: hidden; transition: visibility 0s 0.35s; }
.js .short .acc__item.is-open .acc__a { grid-template-rows: 1fr; }
.js .short .acc__item.is-open .acc__a > div { visibility: visible; transition-delay: 0s; }
@media (max-width: 900px) {
  .short .sec--last { padding-bottom: 80px; }
  .short .faq2 { grid-template-columns: 1fr; gap: 26px; }
  .short .faq2 .h2 { position: static; }
  .short .acc__q { padding: 18px 2px; font-size: 18.5px; }
  .short .acc__a p { padding: 0 2px 20px; font-size: 16.5px; }
}

/* ---------- Phones and tablets: Call Us stays at the bottom, left of the chat bubble ---------- */
.short .stick { display: none; }
@media (max-width: 900px) {
  .short .stick { display: block; position: fixed; z-index: 55; left: 12px; right: 88px; bottom: calc(14px + env(safe-area-inset-bottom)); transition: transform 0.45s var(--ease), opacity 0.3s; }
  .short .stick .btn { width: 100%; height: 52px; border-radius: 16px; font-size: 16.5px; box-shadow: 0 18px 34px -14px rgba(31, 63, 166, 0.9), 0 0 0 4px rgba(255, 255, 255, 0.75); }
  .js .short .stick.is-off { transform: translateY(170%); opacity: 0; pointer-events: none; }
  body.short { padding-bottom: calc(84px + env(safe-area-inset-bottom)) !important; background: #EDF0F8; }
}
@media (max-width: 640px) { .short .stick { right: 80px; } }
@media (prefers-reduced-motion: reduce) {
  .short .stick, .js .short .acc__a, .js .short .mo__new { transition: none; }
}


/* ---------- /ua/ : the Ukrainian version. Longer words, hryvnia amounts ---------- */
.ua .pm__n { font-size: clamp(34px, 4.2vw, 56px); white-space: nowrap; }
.ua .pm__note { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; }
.ua .rc__rows dt { min-width: 0; }
@media (max-width: 640px) {
  .ua .hero h1 { font-size: clamp(25px, 7.2vw, 38px); }
  .ua .pm__n { font-size: clamp(30px, 9vw, 44px); }
}
/* /ua/ popup: "Як зручніше зв’язатися?" as three chips */
.bk__via { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bk__via legend { width: 100%; padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 650; color: var(--ink-2); float: left; }
.bk__via label { position: relative; flex: 1 1 0; min-width: 90px; font-size: 15px; font-weight: 600; cursor: pointer; }
.bk__via input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bk__via span { display: block; padding: 11px 10px; border-radius: 12px; text-align: center; background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.bk__via input:checked + span { background: var(--blue-50); color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue-2); }
.bk__via input:focus-visible + span { outline: 3px solid var(--blue-2); outline-offset: 2px; }
.bk__fields input::placeholder { color: var(--faint); font-weight: 400; opacity: 1; }

/* Speed (LCP): the hero photo is the largest thing on the first screen. It slides up but is never transparent,
   so search engines count it as shown as soon as it has loaded, not after the fade-in. */
.js .short .hero .hv[data-in] { opacity: 1; filter: none; }
