/* ==========================================================================
   GoodPitBall — site styles ("ROLLER-style" design language)
   Design language modelled on roller.software: deep-blue hero, red pill CTAs,
   red uppercase eyebrows, 32px-radius image cards with hover reveal, product UI
   mock-ups with floating stat cards, light #f6f9ff content band.
   ========================================================================== */

:root {
  --p10: #cedffd;
  --p20: #d9e8fe;
  --p40: #074dc5;
  --p50: #033180;
  --p60: #032663;
  --p70: #011332;
  --blue: #0960f6;
  --blue-80: #9dbffb;
  --red: #ff290c;
  --red-d: #d91f04;
  --ink: #011840;
  --light: #f6f9ff;
  --n20: #e5e5e4;
  --muted: #4a5a78;
  --green: #18f273;
  --shadow-card: 0 24px 80px rgba(18, 77, 178, .10), 0 8px 16px rgba(18, 77, 178, .05);
  --shadow-ui: 0 20px 25px -5px rgba(2, 34, 89, .10), 0 8px 10px -6px rgba(2, 34, 89, .10);
  --font: "Figtree", "Proxima Nova", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1312px;
  --pad: 64px;
  --sec: 80px;
}
@media (max-width: 1100px) { :root { --pad: 40px; } }
@media (max-width: 767px)  { :root { --pad: 20px; --sec: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.5 var(--font); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; letter-spacing: -.005em; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
button { font: inherit; }
:where(a, button, input, select, summary):focus-visible { outline: 2px solid var(--blue-80); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

.r-wrap { max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- Type ---------- */
.h-hero { font-size: 48px; line-height: 60px; font-weight: 800; letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.h2 { font-size: 48px; line-height: 60px; font-weight: 800; letter-spacing: -.01em; color: var(--p50); text-wrap: balance; }
.eyebrow { font-size: 18px; line-height: 1.3; font-weight: 800; text-transform: uppercase; color: var(--red); margin-bottom: 16px; letter-spacing: 0; }
.t-lg { font-size: 18px; line-height: 27px; }
.t-base { font-size: 18px; line-height: 27px; color: var(--ink); }
@media (max-width: 767px) {
  .h-hero { font-size: 40px; line-height: 50px; }
  .h2 { font-size: 32px; line-height: 40px; }
  .t-lg, .t-base { font-size: 16px; line-height: 24px; }
}

/* ---------- Icons (Lucide sprite) & real ball images ---------- */
.ic { width: 24px; height: 24px; flex: none; }
.balls { display: flex; flex-wrap: wrap; gap: 4px; }
.balls img { width: 20px; height: 20px; filter: drop-shadow(0 1px 1.5px rgba(1, 24, 64, .25)); }
.balls--lg { gap: 6px; }
.balls--lg img { width: 28px; height: 28px; }

/* ---------- Pills & links ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 8px 24px; border-radius: 980px; border: 1px solid transparent;
  font-size: 16px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.pill--red { background: var(--red); color: #fff; }
.pill--red:hover { background: var(--red-d); }
.pill--white { background: #fff; color: var(--ink); }
.pill--white:hover { background: #ebebeb; }
.pill--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.pill--line:hover { background: #000c20; color: #fff; }
.btn-stack { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 32px; }

.go { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; font-size: 16px; font-weight: 700; color: var(--p50); text-decoration: none; }
.go__c { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; transition: background-color .2s ease; }
.go__c svg { width: 22px; height: 22px; transition: transform .3s ease; }
.go:hover .go__c { background: var(--red-d); }
.go:hover .go__c svg { transform: translateX(3px); }

/* ---------- Announcement ---------- */
.announce { background: var(--p70); color: #fff; }
.announce__in { display: flex; align-items: center; justify-content: space-between; gap: 8px 32px; padding-block: 16px; flex-wrap: wrap; }
.announce p { font-size: 16px; font-weight: 800; line-height: 1.4; }
.announce a { font-size: 16px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 100; background: var(--p50); transition: box-shadow .25s ease; }
.hdr.is-stuck { box-shadow: 0 8px 24px rgba(1, 19, 50, .25); }
.hdr__in { display: flex; align-items: center; gap: 32px; height: 88px; }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 66px; width: auto; transition: transform .25s ease; }
.logo:hover img { transform: rotate(-3deg) scale(1.03); }
.hdr__nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 24px; }
.menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu__item { position: relative; }
.menu__link { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 0; background: none; color: #fff; font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer; border-radius: 8px; }
.menu__link:hover { background: rgba(255, 255, 255, .08); }
.chev { width: 12px; height: 8px; transition: transform .25s ease; }
.sub {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; padding: 10px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-card), 0 2px 6px rgba(1, 24, 64, .12);
  display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.sub a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.sub a b { font-size: 16px; font-weight: 700; color: var(--p50); }
.sub a span { font-size: 14px; color: var(--muted); }
.sub a:hover { background: var(--light); }
@media (min-width: 1101px) {
  .has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
  .has-sub:hover .chev, .has-sub.open .chev { transform: rotate(180deg); }
}
.hdr__cta { display: flex; gap: 16px; flex: none; }
.hdr__burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; padding: 11px 9px; cursor: pointer; }
.hdr__burger span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

@media (max-width: 1100px) {
  .hdr__in { height: 72px; }
  .logo img { height: 54px; }
  .hdr__burger { display: block; }
  .hdr__nav {
    position: absolute; top: 72px; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--p50); padding: 8px var(--pad) 28px; max-height: calc(100vh - 72px); overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, .15);
  }
  .hdr__nav.open { display: flex; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu__link { width: 100%; justify-content: space-between; height: 56px; padding: 0; border-bottom: 1px solid rgba(255, 255, 255, .15); border-radius: 0; font-size: 18px; }
  .menu__link:hover { background: none; }
  .sub { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255, 255, 255, .06); margin: 8px 0; min-width: 0; }
  .has-sub.open .sub { display: grid; }
  .has-sub.open .chev { transform: rotate(180deg); }
  .sub a b { color: #fff; }
  .sub a span { color: var(--blue-80); }
  .sub a:hover { background: rgba(255, 255, 255, .08); }
  .hdr__cta { flex-direction: column; }
  .hdr__cta .pill { height: 48px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--p50); color: #fff; padding-bottom: var(--sec); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 72px; }
.hero__copy .t-lg { margin-top: 24px; max-width: 600px; }

/* Product UI screens */
.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; font-size: 11px; line-height: 1.35; color: var(--ink); }
.screen { background: #fff; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; min-height: 410px; box-shadow: 0 30px 60px rgba(1, 19, 50, .35); position: relative; }
.screen:not(.screen--shop) { padding: 16px 16px 56px; }
.screen__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-top: 1px solid var(--n20); background: #fff; font-size: 11px; }
.screen__bar b { font-size: 12px; }
.shop__media { position: relative; height: 180px; padding: 22px 14px 14px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; text-align: center; }
.shop__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shop__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 19, 50, .15), rgba(1, 19, 50, .78)); }
.shop__media > :not(img) { position: relative; z-index: 1; }
.shop__brand { align-self: center; background: #fff; color: var(--ink); font-weight: 800; font-size: 14px; padding: 4px 12px; border-radius: 2px; margin-bottom: 10px; letter-spacing: -.02em; }
.shop__title { font-size: 14px; font-weight: 800; }
.shop__sub { font-size: 9.5px; opacity: .85; margin-top: 4px; }
.shop__body { padding: 12px 14px 56px; }
.ui-h { font-size: 11px; font-weight: 800; color: var(--p50); margin: 12px 0 6px; }
.ui-title { font-size: 14px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.back { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 3px; background: var(--p20); color: var(--blue); font-size: 10px; }
.ui-muted { color: #5b6784; font-size: 9.5px; margin-top: 6px; }
.ui-note { margin-top: 8px; padding: 5px 8px; border-radius: 3px; background: var(--p20); border: 1px solid var(--blue-80); color: var(--p50); font-size: 9.5px; font-weight: 700; }
.ui-field { border: 1px solid var(--n20); border-radius: 4px; padding: 6px 8px; margin-top: 6px; font-weight: 700; font-size: 10.5px; }
.ui-field small { display: block; color: #5b6784; font-weight: 400; font-size: 9px; }
.ui-radio { display: flex; align-items: center; gap: 8px; border: 1px solid var(--n20); border-radius: 4px; padding: 7px 8px; margin-top: 5px; font-size: 10px; }
.ui-radio::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #9aa3b5; flex: none; }
.ui-radio.on { border-color: var(--blue); }
.ui-radio.on::before { border: 3px solid var(--blue); }
.ui-badge { align-self: flex-start; display: inline-block; background: var(--blue); color: #fff; font-size: 8px; font-weight: 800; padding: 2px 6px; border-radius: 3px; margin-bottom: 8px; }
.ui-btn { display: inline-block; background: var(--red); color: #fff; font-weight: 800; font-size: 10px; text-align: center; padding: 7px 10px; border-radius: 3px; margin-top: 8px; }
.ui-btn--line { background: #fff; color: var(--blue); border: 1px solid var(--blue); }
.chips { display: flex; gap: 6px; }
.chips span { flex: 1; text-align: center; border: 1px solid var(--n20); border-radius: 4px; padding: 6px 0; font-weight: 700; }
.chips .on { background: var(--blue); border-color: var(--blue); color: #fff; }
.dots { display: flex; gap: 5px; flex-wrap: wrap; }
.dots i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(1, 24, 64, .08); }
.dots--lg i { width: 22px; height: 22px; }
.shop__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.shop__cards img { width: 100%; height: 52px; object-fit: cover; border-radius: 3px; margin-bottom: 5px; }
.shop__cards b { display: block; font-size: 10px; }
.shop__cards small { color: #5b6784; font-size: 9px; }
.ticket { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; padding: 10px; border-radius: 6px; background: var(--p50); color: #fff; font-weight: 800; font-size: 11px; }
.ticket small { display: block; font-weight: 400; font-size: 8.5px; color: var(--blue-80); }
.barcode { grid-column: 1 / -1; width: 100%; height: 30px; background: #fff; border-radius: 3px; padding: 3px 4px; margin-top: 6px; }
@media (max-width: 1240px) { .screen--ticket { display: none; } .screens { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; padding-top: 48px; }
  .screens { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .screen--ticket { display: flex; }
}
@media (max-width: 640px) { .screens { grid-template-columns: repeat(2, minmax(0, 1fr)); } .screen--ticket { display: none; } }

/* ---------- Trust strip ---------- */
.trust { padding-top: 80px; }
.trust__h { font-size: 18px; font-weight: 800; }
.trust__row { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px 40px; }
.trust__row li { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; letter-spacing: .05em; color: #fff; opacity: .92; white-space: nowrap; }
.trust__row .ic { width: 28px; height: 28px; color: var(--blue-80); stroke-width: 1.75; }
@media (min-width: 1240px) { .trust__row { flex-wrap: nowrap; gap: 24px; } }
@media (max-width: 767px) { .trust { padding-top: 56px; } .trust__row { justify-content: flex-start; gap: 20px 28px; } .trust__row li { font-size: 15px; } .trust__row .ic { width: 22px; height: 22px; } }

/* ---------- "What brings you" cards (hover reveal, per ROLLER carousel-cards) ---------- */
.intents { --card-gap: 32px; --card-h: 416px; --ink-card: #011840; padding-top: 88px; }
.intents__h { font-size: 32px; line-height: 40px; font-weight: 800; letter-spacing: -.01em; margin-bottom: var(--card-gap); }
.intents__list { display: flex; gap: var(--card-gap); list-style: none; margin: 0; padding: 0; }
.intents__list > li { flex: 1 1 0; min-width: 0; }
.intents article { position: relative; height: 100%; background: #fff; border-radius: 32px; overflow: hidden; }
.intents figure { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: var(--card-h); margin: 0; }
.intents figure > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform .6s ease; }
.intents figcaption { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 48px 32px 32px; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, .85) 15%, #fff 80%); }
.intents__copy { position: relative; width: 100%; height: 72px; overflow: hidden; }
.intents h3, .intents__copy p { position: absolute; inset: 0; margin: 0; color: var(--ink-card); transition: transform .45s cubic-bezier(.4, 0, .2, 1); }
.intents h3 { font-size: 24px; line-height: 30px; font-weight: 500; transform: translateY(0); }
.intents__copy p { font-size: 16px; line-height: 24px; transform: translateY(100%); }
.intents figcaption a {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 8px 16px 8px 24px;
  border: 1px solid var(--ink-card); border-radius: 980px; background: #fff; color: var(--ink-card);
  font-size: 16px; font-weight: 600; line-height: 24px; text-decoration: none; white-space: nowrap; transition: background-color .2s ease;
}
.intents figcaption a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 32px; }  /* whole card clickable */
.arrow { display: block; width: 24px; height: 24px; overflow: hidden; flex: none; }
.arrow__track { display: flex; width: 48px; transform: translateX(-24px); transition: transform .4s ease; }
.arrow__track svg { width: 24px; height: 24px; flex: none; }
.intents article:hover figure > img, .intents article:focus-within figure > img { transform: scale(1.12); }
.intents article:hover h3, .intents article:focus-within h3 { transform: translateY(-100%); }
.intents article:hover .intents__copy p, .intents article:focus-within .intents__copy p { transform: translateY(0); }
.intents article:hover figcaption a, .intents article:focus-within figcaption a { background-color: rgba(3, 49, 128, .15); }
.intents article:hover .arrow__track, .intents article:focus-within .arrow__track { transform: translateX(0); }
.intents__dots { display: flex; justify-content: center; gap: 12px; margin-top: var(--card-gap); }
.intents__dots[hidden] { display: none; }
.intents__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: var(--p40); cursor: pointer; }
.intents__dots button[aria-current="true"] { background: #fff; }

@media (max-width: 991px) {
  .intents { --card-h: 476px; }
  .intents__list { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); }
  .intents__list::-webkit-scrollbar { display: none; }
  .intents__list > li { flex: 0 0 min(368px, calc(100% - 24px)); scroll-snap-align: start; }
  /* touch: no hover — show the description under the title instead of swapping */
  .intents__copy { height: auto; overflow: visible; display: grid; gap: 8px; }
  .intents h3, .intents__copy p { position: static; transform: none !important; }
  .intents h3 { font-size: 20px; line-height: 26px; font-weight: 600; }
}

/* ---------- Light band & features ---------- */
.light { background: var(--light); color: var(--ink); padding-block: var(--sec); }
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-block: var(--sec); }
.feat--rev .feat__copy { order: 0; }
.feat__copy .t-base { margin-top: 24px; }
.feat__media { position: relative; display: flex; justify-content: center; }
@media (max-width: 900px) {
  .feat { grid-template-columns: 1fr; gap: 40px; }
  .feat__media { order: 2; }
}

.stat { position: relative; padding-left: 14px; margin: 32px 0 8px; }
.stat::before, .callout::before { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 100%; background: var(--red); }
.stat__n { display: flex; align-items: flex-end; gap: 8px; }
.stat__n span { font-size: 40px; line-height: 40px; font-weight: 800; color: var(--p50); }
.stat__n svg { width: 32px; height: 32px; }
.stat p { color: var(--p50); font-size: 16px; line-height: 24px; margin-top: 4px; }
.callout { position: relative; padding-left: 16px; margin-top: 32px; display: grid; gap: 16px; color: var(--p50); font-size: 16px; line-height: 24px; }
.callout__who { display: flex; align-items: center; gap: 16px; }
.callout__badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-ui); color: var(--blue); flex: none; }
.callout__badge .ic { width: 28px; height: 28px; stroke-width: 1.75; }
.callout__who b { display: block; font-size: 16px; color: var(--p50); }
.callout__who small { font-size: 15px; color: var(--ink); }

/* Chat mock */
.chat { width: min(100%, 380px); background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-card); font-size: 12.5px; position: relative; }
.chat__top { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: linear-gradient(135deg, var(--blue), var(--p40)); color: #fff; }
.chat__top small { display: flex; align-items: center; gap: 6px; font-size: 11px; opacity: .9; }
.chat__top small i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.chat__av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--p50); font-weight: 800; font-size: 10px; }
.chat__x { margin-left: auto; width: 24px; height: 24px; border: 1.5px solid #fff; border-radius: 50%; display: grid; place-items: center; font-size: 14px; }
.chat__body { display: grid; gap: 12px; padding: 18px 16px; }
.msg { max-width: 82%; padding: 10px 12px; border-radius: 8px; background: #eef3fc; color: var(--ink); line-height: 1.45; }
.msg--me { justify-self: end; background: var(--blue); color: #fff; }
.chat__input { display: flex; justify-content: space-between; align-items: center; margin: 4px 16px 0; padding: 10px 10px 10px 16px; border: 1.5px solid var(--p10); border-radius: 999px; color: #7a86a1; box-shadow: 0 0 0 6px rgba(9, 96, 246, .05); }
.chat__input b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; }
.chat__input .ic { width: 15px; height: 15px; }
.chat__foot { text-align: center; color: #5b6784; font-size: 11px; padding: 12px 0 16px; }

/* Booking mock */
.booking { position: relative; width: min(100%, 520px); padding-bottom: 36px; }
.booking__main { background: #fff; border-radius: 12px; box-shadow: var(--shadow-card); overflow: hidden; padding-bottom: 20px; font-size: 12px; }
.booking__main > :not(.booking__hero) { margin-inline: 20px; }
.booking__hero { position: relative; height: 170px; display: flex; align-items: flex-end; padding: 20px; color: #fff; }
.booking__hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.booking__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 49, 128, .95) 0%, rgba(3, 49, 128, .6) 55%, rgba(3, 49, 128, .1)); }
.booking__hero > div { position: relative; z-index: 1; display: grid; gap: 2px; }
.booking__hero small { font-weight: 800; font-size: 11px; opacity: .85; }
.booking__hero b { font-size: 20px; font-weight: 800; line-height: 1.15; }
.booking__hero span { font-size: 11px; opacity: .85; }
.booking .ui-h { font-size: 12px; margin-top: 18px; }
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sizes div { display: grid; justify-items: center; gap: 4px; padding: 12px 6px; border: 1px solid var(--n20); border-radius: 6px; }
.sizes .on { border-color: var(--blue); background: #f2f7ff; }
.sizes img { width: calc(var(--d) * 52px); height: auto; aspect-ratio: 1; filter: drop-shadow(0 3px 4px rgba(1, 24, 64, .22)); opacity: .55; transition: opacity .2s; }
.sizes .on img { opacity: 1; }
.sizes b { font-size: 13px; }
.sizes small { color: #5b6784; font-size: 10px; }
.floatstat { position: absolute; right: -12px; bottom: 0; display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 12px; padding: 16px 20px; background: #fff; border-radius: 10px; box-shadow: var(--shadow-card), 0 2px 6px rgba(1, 24, 64, .08); }
.floatstat b { font-size: 30px; font-weight: 800; color: var(--p50); line-height: 1; }
.floatstat svg { width: 30px; height: 30px; }
.floatstat small { grid-column: 1 / -1; font-size: 12px; color: var(--p50); margin-top: 4px; }
.floatstat--left { right: auto; left: -12px; }
@media (max-width: 560px) { .floatstat { right: 0; } .floatstat--left { left: 0; } }

/* POS / pricing mock */
.pos { position: relative; width: min(100%, 540px); padding-bottom: 48px; }
.pos__tabs { display: flex; justify-content: space-around; padding: 18px 12px; margin: 0 24px -14px; position: relative; z-index: 1; background: #fff; border-radius: 12px; box-shadow: var(--shadow-card); }
.pos__tabs span { display: grid; justify-items: center; gap: 6px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--p50); }
.pos__tabs .ic { width: 24px; height: 24px; color: var(--p50); stroke-width: 1.75; }
.pos__panel { background: #fff; border-radius: 12px; box-shadow: var(--shadow-card); padding: 34px 24px 20px; font-size: 13px; }
.pos__panel .ui-h { margin-top: 0; font-size: 12px; }
.pos__table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.pos__table th { text-align: left; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #5b6784; font-weight: 800; padding: 8px 0; border-bottom: 1px solid var(--n20); }
.pos__table td { padding: 12px 0; border-bottom: 1px solid #eef1f6; font-weight: 700; color: var(--ink); }
.pos__table td em { font-style: normal; font-size: 9px; font-weight: 800; background: var(--red); color: #fff; border-radius: 3px; padding: 2px 5px; margin-left: 6px; vertical-align: 2px; }
.pos__table th:last-child, .pos__table td:last-child { text-align: right; }
.pos__pay { display: flex; justify-content: space-between; margin-top: 16px; padding: 12px 14px; border-radius: 4px; background: #1ea94a; color: #fff; font-weight: 800; }
.pos { padding-bottom: 76px; }
.pos .floatstat { bottom: 0; }
.booking .floatstat { top: 118px; bottom: auto; }

/* Roles / freight table mock */
.roles { width: min(100%, 560px); background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card); }
.roles__head { display: grid; grid-template-columns: 1fr 1.4fr; padding: 22px 32px; background: var(--p40); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.roles__row { display: grid; grid-template-columns: 1fr 1.4fr; align-items: center; margin: 0 32px; padding: 15px 0; border-bottom: 1px solid #eef1f6; font-size: 15px; }
.roles__row b { color: var(--p50); font-weight: 700; }
.roles__row span { color: var(--ink); }
.roles__btns { display: flex; justify-content: flex-end; gap: 10px; padding: 20px 32px 24px; }
.roles__btns .ui-btn { margin: 0; font-size: 12px; padding: 9px 16px; border-radius: 999px; }
@media (max-width: 560px) { .roles__head, .roles__row { grid-template-columns: 1fr; gap: 2px; } .roles__head span:last-child { display: none; } .roles__head, .roles__btns { padding-inline: 20px; } .roles__row { margin-inline: 20px; } }

/* ---------- Planner (live calculator dashboard) ---------- */
.planner { padding-block: var(--sec); }
.planner__lead { margin-top: 24px; max-width: 760px; }
.dash { display: grid; grid-template-columns: 220px minmax(0, 1fr); margin-top: 48px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-card); }
.shead + .dash { margin-top: 0; }
.dash__side { background: var(--p50); color: #fff; padding: 20px 14px; }
.dash__brand { display: flex; align-items: center; gap: 10px; padding: 0 6px 20px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.dash__brand img { width: 58px; height: auto; }
.dash__brand b { display: block; font-size: 15px; }
.dash__brand small { font-size: 12px; color: var(--blue-80); }
.dash__tabs { margin-top: 16px; display: grid; gap: 4px; }
.dash__tabs button { border: 0; background: none; text-align: left; padding: 9px 10px; border-radius: 6px; font: 400 14px var(--font); color: #d6e3fd; cursor: pointer; transition: background .15s, color .15s; }
.dash__tabs button:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.dash__tabs button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.dash__tabs button[aria-selected="true"] { background: rgba(255, 255, 255, .12); color: #fff; font-weight: 700; }
.dash__panel > .go { margin-top: 24px; }
.dash__sub { margin: 20px 0 10px; font-size: 13px; font-weight: 700; color: #5b6784; }
.dash__cards { display: grid; gap: 12px; margin-top: 20px; }
.dcard { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 8px; background: var(--light); border: 1px solid #e3ebfb; }
.dcard img { width: 56px; height: 56px; filter: drop-shadow(0 4px 6px rgba(1, 24, 64, .2)); }
.dcard div { flex: 1; }
.dcard b { display: block; font-size: 18px; color: var(--p50); }
.dcard small { color: #5b6784; font-size: 13px; }
.dash__list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.dash__list li { padding: 16px 18px; border-radius: 8px; background: var(--light); border: 1px solid #e3ebfb; }
.dash__list b { display: block; color: var(--p50); }
.dash__list span { font-size: 14px; color: #5b6784; }
.dash__panel .btn-stack { margin-top: 20px; }
.dash__panel .balls--lg { gap: 8px; }
.dash__panel .balls--lg img { width: 40px; height: 40px; }
.dash__main { padding: 24px 32px 28px; min-width: 0; }
.dash__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.dash__crumb { font-size: 12px; letter-spacing: .06em; color: #5b6784; }
.dash__crumb b { color: var(--p50); letter-spacing: 0; font-size: 18px; margin-left: 4px; }
.unit-toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--light); border: 1px solid var(--p10); }
.unit-toggle button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--p50); cursor: pointer; }
.unit-toggle button.active { background: var(--p50); color: #fff; }
.dash__inputs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.dfield label { display: block; font-size: 12px; font-weight: 700; color: #5b6784; margin-bottom: 6px; }
.dfield input, .dfield select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #cfd7e6; border-radius: 6px; background: #fff; font: 700 16px var(--font); color: var(--ink); }
.dfield input:focus, .dfield select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(9, 96, 246, .15); }
.dash__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.dash__kpis div { padding: 16px 18px; border-radius: 8px; background: var(--light); border: 1px solid #e3ebfb; }
.dash__kpis small { display: block; font-size: 12px; color: #5b6784; }
.dash__kpis b { display: block; margin-top: 8px; font-size: 30px; font-weight: 800; color: var(--p50); letter-spacing: -.01em; }
.dash__kpis div:first-child b { color: var(--blue); }
.dash__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 20px; flex-wrap: wrap; }
.msg-out { flex: 1; min-width: 240px; font-size: 14px; color: var(--ink); }
.dash__note { margin-top: 14px; font-size: 12px; color: #5b6784; }
@media (max-width: 1000px) { .dash__inputs, .dash__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .dash { grid-template-columns: 1fr; }
  .dash__side { padding: 10px; }
  .dash__brand { display: none; }
  .dash__tabs { margin: 0; display: flex; overflow-x: auto; scrollbar-width: none; }
  .dash__tabs button { flex: none; }
  .dash__main { padding: 20px; }
  .dash__kpis b { font-size: 24px; }
  .dcard { flex-wrap: wrap; }
}

/* ---------- Reviews / badges card ---------- */
.reviews { margin-block: var(--sec) 24px; padding: 56px 80px 64px; border-radius: 32px; background: var(--light); box-shadow: var(--shadow-card); text-align: center; }
.reviews .t-base { max-width: 1150px; margin: 24px auto 0; }
.badges { list-style: none; margin: 56px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 36px; }
.badges li { display: grid; justify-items: center; align-content: start; gap: 4px; width: 140px; text-align: center; }
.badge__ic { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 12px; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: 0 12px 28px rgba(18, 77, 178, .14), inset 0 0 0 1px #e3ebfb; transition: transform .25s ease, background-color .25s ease, color .25s ease; }
.badge__ic .ic { width: 32px; height: 32px; stroke-width: 1.6; }
.badges li:hover .badge__ic { transform: translateY(-3px); background: var(--blue); color: #fff; }
.badges b { font-size: 16px; font-weight: 800; color: var(--p50); }
.badges li > span:last-child { font-size: 14px; color: var(--muted); }
@media (max-width: 767px) { .reviews { padding: 40px 20px 48px; border-radius: 24px; } .badges { gap: 24px 28px; } }

/* ---------- Stats split card ---------- */
.split-card { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 0; }
.split-card > div { padding: 80px 48px; }
.split-card__l { background: var(--light); border-radius: 32px 0 0 32px; box-shadow: var(--shadow-card); }
.split-card__l .t-base { margin-top: 32px; }
.split-card__r { background: #fff; border-radius: 0 32px 32px 0; box-shadow: var(--shadow-card); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; align-content: center; }
.kpi .ic { display: block; width: 34px; height: 34px; margin-bottom: 10px; color: var(--red); stroke-width: 1.75; }
.kpi b { display: block; font-size: 48px; line-height: 1.1; font-weight: 800; color: var(--p50); letter-spacing: -.01em; }
.kpi span { display: block; font-size: 18px; color: var(--p50); margin-top: 2px; }
@media (max-width: 1100px) { .kpi b { font-size: 36px; } }
@media (max-width: 900px) {
  .split-card { grid-template-columns: 1fr; }
  .split-card__l { border-radius: 24px 24px 0 0; }
  .split-card__r { border-radius: 0 0 24px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-card > div { padding: 48px 24px; }
}

/* ---------- Signup bar & footer ---------- */
.signup { background: var(--p50); color: #fff; padding-top: 56px; }
.signup__row { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; }
.signup h2 { font-size: 32px; line-height: 40px; font-weight: 800; letter-spacing: -.01em; }
.signup__form { display: flex; gap: 12px; flex: 1; max-width: 520px; min-width: 280px; }
.signup__form input { flex: 1; min-width: 0; height: 40px; padding: 0 24px; border-radius: 980px; border: 1px solid #3f40f2; background: transparent; color: #fff; font: 500 16px var(--font); }
.signup__form input::placeholder { color: #c8d7f7; }
.signup__form input:focus { outline: none; border-color: #fff; }
.signup__note { margin-top: 12px; font-size: 16px; color: #fff; }
.ftr { background: var(--p50); color: #fff; padding: 24px 0 96px; }
.ftr__quick { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; gap: 16px 48px; border-top: 1px solid rgba(255, 255, 255, .6); border-bottom: 1px solid rgba(255, 255, 255, .6); }
.ftr__quick a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; text-decoration: none; }
.ftr__quick .ic { width: 18px; height: 18px; color: #fff; }
.ftr__quick a:hover { text-decoration: underline; }
.ftr__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; padding: 56px 0 40px; }
.ftr h3 { font-size: 15px; font-weight: 800; margin-bottom: 20px; }
.ftr__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; font-weight: 500; }
.ftr__cols a { text-decoration: none; }
.ftr__cols a:hover { text-decoration: underline; }
.ftr__base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 32px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .6); border-bottom: 1px solid rgba(255, 255, 255, .6); font-size: 15px; font-weight: 800; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ftr__legal a { text-decoration: none; }
.ftr__legal a:hover { text-decoration: underline; }
.ftr__trust { font-weight: 600; color: #d6e3fd; }
@media (max-width: 900px) { .ftr__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Mobile quick actions ---------- */
.m-cta { display: none; }
@media (max-width: 640px) {
  .m-cta { display: grid; grid-template-columns: auto 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--p50); box-shadow: 0 -6px 20px rgba(1, 19, 50, .3); }
  .m-cta .pill { height: 44px; padding: 0 16px; font-size: 15px; }
  .ftr { padding-bottom: 120px; }
  .signup__form { flex-direction: column; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* Nav: current page */
.menu__link[aria-current="page"], .has-sub:has([aria-current="page"]) > .menu__link { box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.sub a[aria-current="page"] { background: var(--light); }
@media (max-width: 1100px) { .sub a[aria-current="page"] { background: rgba(255, 255, 255, .14); box-shadow: inset 3px 0 0 var(--red); } }

/* Page hero */
.phero { background: var(--p50); color: #fff; padding: 64px 0 var(--sec); overflow: hidden; }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.phero--text .phero__grid { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; color: var(--blue-80); margin-bottom: 20px; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .6; }
.phero .t-lg { margin-top: 24px; max-width: 620px; }
.phero .t-lg a { color: #fff; font-weight: 700; }
.phero__media { position: relative; }
.phero__media > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 32px; box-shadow: 0 30px 60px rgba(1, 19, 50, .35); }
.phero__media .floatstat { right: auto; left: -24px; bottom: -24px; }
.eyebrow--inv { color: var(--blue-80); }
.chips-inv { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; list-style: none; padding: 0; }
.chips-inv li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 980px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); font-size: 14px; font-weight: 700; }
.chips-inv .ic { width: 18px; height: 18px; color: var(--blue-80); }
@media (max-width: 980px) { .phero__grid { grid-template-columns: 1fr; gap: 40px; } .phero__media .floatstat { left: 12px; } }

/* Sections */
.sec { padding-block: var(--sec); }
.sec--light { background: var(--light); }
.sec--blue { background: var(--p50); color: #fff; }
.sec--blue .h2 { color: #fff; }
.sec--blue .t-base { color: #d6e3fd; }
.shead { max-width: 820px; margin-bottom: 48px; }
.shead .t-base { margin-top: 20px; }
.shead--center { text-align: center; margin-inline: auto; }
.shead--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.shead--row > div { max-width: 760px; }
.sec .feat { padding-block: 40px; }
.sec .feat:first-child { padding-top: 0; }
.sec .feat:last-child { padding-bottom: 0; }

/* Photo inside feature rows */
.photo { position: relative; width: 100%; }
.photo > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow-card); }
.photo .floatstat { right: -16px; bottom: -24px; }

/* Card grids */
.cgrid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.cgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cgrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) { .cgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cgrid, .cgrid--2, .cgrid--4 { grid-template-columns: 1fr; } }
.rcard { background: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow-card); transition: transform .25s ease, box-shadow .25s ease; }
.rcard:hover { transform: translateY(-4px); box-shadow: 0 30px 80px rgba(18, 77, 178, .16), 0 8px 16px rgba(18, 77, 178, .06); }
.rcard__ic { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 16px; background: #eaf1ff; color: var(--blue); transition: background-color .25s ease, color .25s ease; }
.rcard__ic .ic { width: 28px; height: 28px; stroke-width: 1.75; }
.rcard:hover .rcard__ic { background: var(--blue); color: #fff; }
.rcard__ic--red { background: #ffebe7; color: var(--red); }
.rcard:hover .rcard__ic--red { background: var(--red); color: #fff; }
.rcard h3 { font-size: 21px; line-height: 27px; font-weight: 800; color: var(--p50); margin-bottom: 10px; }
.rcard p { font-size: 16px; line-height: 24px; color: var(--ink); }
.rcard--blue { background: rgba(255, 255, 255, .07); box-shadow: none; border: 1px solid rgba(255, 255, 255, .16); }
.rcard--blue h3 { color: #fff; }
.rcard--blue p { color: #d6e3fd; }
.rcard--blue .rcard__ic { background: rgba(255, 255, 255, .12); color: #fff; }
.rcard--blue:hover { box-shadow: none; background: rgba(255, 255, 255, .11); }

/* Checklist */
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; }
.checks li::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; grid-row: span 2; }
.checks b { font-size: 17px; color: var(--p50); }
.checks span { font-size: 16px; line-height: 24px; color: var(--ink); }
.checks a { color: var(--blue); font-weight: 700; }

/* Numbered steps */
.rsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.rsteps li { counter-increment: s; background: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow-card); }
.rsteps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 50%; background: var(--red); color: #fff; font-size: 18px; font-weight: 800; }
.rsteps h3 { font-size: 20px; font-weight: 800; color: var(--p50); margin-bottom: 8px; }
.rsteps p { font-size: 16px; line-height: 24px; }
@media (max-width: 1000px) { .rsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rsteps { grid-template-columns: 1fr; } }

/* Data table */
.rtable-wrap { overflow-x: auto; border-radius: 16px; box-shadow: var(--shadow-card); background: #fff; }
.rtable { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
.rtable thead th { background: var(--p40); color: #fff; text-align: left; padding: 18px 24px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.rtable td, .rtable tbody th { padding: 16px 24px; border-bottom: 1px solid #eef1f6; text-align: left; vertical-align: top; }
.rtable tbody th { color: var(--p50); font-weight: 800; }
.rtable tr:last-child td, .rtable tr:last-child th { border-bottom: 0; }

/* Size cards with real balls drawn to scale */
.sizec { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 32px; padding: 32px; box-shadow: var(--shadow-card); transition: transform .25s ease; }
.sizec:hover { transform: translateY(-4px); }
.sizec--pop { outline: 2px solid var(--blue); }
.sizec__tag { position: absolute; top: 24px; right: 24px; padding: 6px 12px; border-radius: 980px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.sizec__stage { height: 150px; display: flex; align-items: flex-end; justify-content: center; border-bottom: 1px dashed #c8d5ee; margin-bottom: 24px; }
.sizec__stage img { width: calc(var(--d) * 44px); height: auto; filter: drop-shadow(0 10px 12px rgba(1, 24, 64, .25)); transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.sizec:hover .sizec__stage img { transform: translateY(-8px) rotate(-12deg); }
.sizec h3 { font-size: 26px; font-weight: 800; color: var(--p50); }
.sizec__mm { font-size: 15px; font-weight: 700; color: var(--blue); margin-top: 4px; }
.sizec > p { margin-top: 12px; font-size: 16px; line-height: 24px; }
.kv { list-style: none; margin: 20px 0 24px; padding: 0; flex: 1; }
.kv li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eef1f6; font-size: 15px; }
.kv li span { color: var(--muted); }
.kv li b { color: var(--p50); text-align: right; }
.sizec .pill { width: 100%; }

/* Swatches with real balls */
.swatch-h { margin: 48px 0 24px; font-size: 20px; color: var(--p50); }
.shead + .swatch-h { margin-top: 0; }
.rswatch { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 16px; }
.rswatch li { display: grid; justify-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--p50); }
.rswatch img { width: 76px; height: 76px; filter: drop-shadow(0 8px 10px rgba(1, 24, 64, .22)); transition: transform .35s cubic-bezier(.4, 0, .2, 1); }
.rswatch li:hover img { transform: translateY(-6px) scale(1.06); }
@media (max-width: 900px) { .rswatch { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .rswatch { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rswatch img { width: 60px; height: 60px; } }
.mixrow { display: flex; margin-bottom: 18px; }
.mixrow img { width: 38px; height: 38px; margin-left: -10px; filter: drop-shadow(0 3px 4px rgba(1, 24, 64, .25)); }
.mixrow img:first-child { margin-left: 0; }

/* Specification grid */
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.specs li { background: #fff; border-radius: 16px; padding: 20px 24px; box-shadow: var(--shadow-ui); }
.specs small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.specs b { display: block; margin-top: 6px; font-size: 18px; font-weight: 800; color: var(--p50); }
.specs span { display: block; margin-top: 2px; font-size: 14px; color: var(--ink); }
@media (max-width: 900px) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .specs { grid-template-columns: 1fr; } }

/* Price card */
.pricebox { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-card); background: #fff; }
.pricebox__main { position: relative; overflow: hidden; background: var(--p50); color: #fff; padding: 56px 48px; }
.pricebox__main .eyebrow { color: var(--blue-80); }
.pricebox__big { font-size: 88px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.pricebox__big small { display: block; margin-top: 12px; font-size: 20px; font-weight: 600; letter-spacing: 0; color: #d6e3fd; }
.pricebox__main p { margin-top: 20px; color: #d6e3fd; max-width: 36ch; }
.pricebox__balls { position: absolute; right: -30px; bottom: -40px; width: 200px; height: 170px; pointer-events: none; }
.pricebox__balls img { position: absolute; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .3)); }
.pricebox__terms { padding: 40px 48px; display: grid; align-content: center; }
.pricebox__terms div { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid #eef1f6; font-size: 17px; }
.pricebox__terms div:last-child { border-bottom: 0; }
.pricebox__terms span { color: var(--muted); }
.pricebox__terms b { color: var(--p50); text-align: right; }
@media (max-width: 860px) { .pricebox { grid-template-columns: 1fr; } .pricebox__main, .pricebox__terms { padding: 40px 28px; } .pricebox__big { font-size: 64px; } }

/* RFQ layout & form */
.rfq-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.rfq-wrap > div:first-child .t-base { margin-top: 20px; }
@media (max-width: 980px) { .rfq-wrap { grid-template-columns: 1fr; } }
.quote-box { background: #fff; border-radius: 32px; padding: 40px; box-shadow: var(--shadow-card); }
.form-title { font-size: 28px; line-height: 34px; font-weight: 800; color: var(--p50); }
.moq-note { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 16px 0 28px; padding: 12px 16px; border-radius: 12px; background: var(--light); border: 1px solid #dfe8fb; font-size: 14px; color: var(--p50); }
.moq-note b { font-weight: 800; }
.quote-box fieldset { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.quote-box legend { width: 100%; padding: 0 0 10px; margin-bottom: 16px; border-bottom: 1px solid #eef1f6; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .quote-box { padding: 28px 20px; border-radius: 24px; } }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--p50); }
.field label em { font-style: normal; color: var(--red); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #cfd7e6; border-radius: 10px; background: #fff; font: 500 16px var(--font); color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(9, 96, 246, .14); }
.field .hint { margin-top: 5px; font-size: 13px; color: var(--muted); }
.field [aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 4px rgba(255, 41, 12, .1); }
.field-error { margin-top: 5px; font-size: 13px; font-weight: 700; color: #c41b04; }
.form-status { margin-bottom: 16px; padding: 12px 16px; border-radius: 10px; background: #fff0ed; color: #c41b04; font-size: 15px; font-weight: 700; }
.quote-box .pill--block { width: 100%; height: 52px; font-size: 17px; }
.quote-box .pill:disabled { opacity: .6; cursor: wait; }
.form-fine { margin-top: 14px; font-size: 13px; line-height: 20px; color: var(--muted); text-align: center; }
.form-fine a { color: var(--blue); font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { padding: 40px 8px; text-align: center; }
.form-success h3 { font-size: 24px; font-weight: 800; color: var(--p50); margin-bottom: 10px; }
.form-success p { color: var(--ink); margin-top: 8px; }
.form-success a { color: var(--blue); font-weight: 700; }
.big-check { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: #1ea94a; color: #fff; }
.big-check .ic { width: 36px; height: 36px; stroke-width: 3; }

/* GES card */
.gescard { margin-top: 32px; background: var(--p50); color: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow-card); }
.gescard .eyebrow { color: var(--blue-80); font-size: 14px; margin-bottom: 10px; }
.gescard h3 { font-size: 22px; font-weight: 800; }
.gescard p { margin-top: 8px; color: #d6e3fd; font-size: 16px; }
.gescard ul { list-style: none; margin: 20px 0 0; padding: 0; }
.gescard li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.gescard li .ic { width: 22px; height: 22px; color: var(--blue-80); }
.gescard li b { display: block; font-size: 16px; }
.gescard li small { display: block; font-size: 13px; color: #b9cdf5; }
.gescard a { color: #fff; }

/* Accordion (FAQ) */
.acc { max-width: 900px; margin: 0 auto; }
.acc__group { font-size: 28px; line-height: 34px; font-weight: 800; color: var(--p50); margin: 56px 0 20px; }
.acc__group:first-child { margin-top: 0; }
.acc details { background: #fff; border-radius: 16px; box-shadow: var(--shadow-ui); margin-bottom: 12px; padding: 0 24px; transition: box-shadow .2s ease; }
.acc details[open] { box-shadow: var(--shadow-card); }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; list-style: none; cursor: pointer; font-size: 18px; font-weight: 700; color: var(--p50); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #eaf1ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230960f6' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s ease, background-color .3s ease; }
.acc details[open] summary::after { transform: rotate(45deg); background-color: #ffebe7; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff290c' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.acc details p { padding: 0 48px 22px 0; font-size: 16px; line-height: 26px; color: var(--ink); }
.acc a { color: var(--blue); font-weight: 700; }

/* Legal text */
.legal { max-width: 820px; font-size: 17px; line-height: 28px; color: var(--ink); }
.legal p { margin-bottom: 16px; }
.legal h2 { font-size: 26px; line-height: 32px; font-weight: 800; color: var(--p50); margin: 48px 0 14px; }
.legal h3 { font-size: 19px; font-weight: 800; color: var(--p50); margin: 28px 0 8px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 8px; }
.legal a { color: var(--blue); font-weight: 700; }

/* Closing CTA with real balls */
.rcta { position: relative; overflow: hidden; background: var(--p50); color: #fff; border-radius: 32px; padding: 72px 64px; box-shadow: var(--shadow-card); }
.rcta .eyebrow { color: var(--blue-80); }
.rcta h2 { font-size: 48px; line-height: 56px; font-weight: 800; letter-spacing: -.01em; max-width: 14ch; }
.rcta p { margin-top: 16px; max-width: 46ch; font-size: 18px; line-height: 27px; color: #d6e3fd; }
.rcta__balls { position: absolute; right: 24px; top: 50%; width: 420px; height: 320px; transform: translateY(-50%); pointer-events: none; }
.rcta__balls img { position: absolute; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .35)); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.rcta:hover .rcta__balls img:nth-child(odd) { transform: translateY(-8px) rotate(-8deg); }
.rcta:hover .rcta__balls img:nth-child(even) { transform: translateY(6px) rotate(6deg); }
@media (max-width: 1000px) { .rcta__balls { opacity: .35; right: -80px; } }
@media (max-width: 767px) { .rcta { padding: 48px 24px; border-radius: 24px; } .rcta h2 { font-size: 32px; line-height: 40px; } .rcta__balls { display: none; } }

/* 404 */
.nf { text-align: center; padding-block: 96px; }
.nf__balls { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; }
.nf__balls img { width: 72px; height: 72px; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .3)); }
.nf__balls img:nth-child(2) { transform: translateY(-18px); }

/* ---------- Mobile fixes ---------- */
@media (max-width: 900px) {
  .feat { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .announce__in { padding-block: 10px; }
  .announce p { font-size: 13px; font-weight: 700; line-height: 1.35; }
  .announce a { font-size: 13px; white-space: normal; }
  .rtable { min-width: 460px; font-size: 15px; }
  .rtable thead th { padding: 14px 16px; }
  .rtable td, .rtable tbody th { padding: 12px 16px; }
  .photo .floatstat { right: 8px; bottom: -20px; }
  .booking .floatstat { top: auto; bottom: 0; }
  .dash__tabs { flex-wrap: wrap; overflow: visible; }
  .dash__tabs button { padding: 10px 12px; }
}
@media (max-width: 640px) {
  .signup__form input { flex: none; height: 48px; }
  .signup__form .pill { height: 48px; }
  .ftr__cols ul { gap: 0; }
  .ftr__cols a, .ftr__legal a { display: inline-block; padding-block: 8px; }
  .ftr__quick a { padding-block: 8px; }
}
@media (max-width: 560px) {
  .pricebox__balls { display: none; }
  .pricebox__terms div { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
