/* ============================================================
   sections.css — component styling for page sections
   ============================================================ */

/* App Store badges */
.store-badge {
  display: inline-flex; align-items: center; gap: 11px; padding: 11px 18px;
  border-radius: var(--r-md); background: var(--ink); color: var(--bg);
  transition: transform .35s var(--ease-out), box-shadow .35s;
}
.store-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge small { font-size: 10.5px; opacity: .72; font-weight: 600; }
.store-badge strong { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }

/* ---------- HERO ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + 56px); padding-bottom: 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.hero h1 { margin-bottom: 26px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-meta { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta .hm-n { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.hero-meta .hm-l { font-size: 13px; color: var(--ink-3); font-weight: 600; margin-top: 3px; }
.hero-visual { position: relative; aspect-ratio: 4/4.5; }
.hero-visual .img-frame { position: absolute; inset: 0; }
.hero-visual .img-frame img { transition: transform 1.4s var(--ease-out); }

/* ---- Hero media: looping video ---- */
.hero-media .hm-vid {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border: 0; outline: none; pointer-events: none;
}
.hero-media .hm-vid::-webkit-media-controls,
.hero-media .hm-vid::-webkit-media-controls-enclosure,
.hero-media .hm-vid::-webkit-media-controls-panel,
.hero-media .hm-vid::-webkit-media-controls-start-playback-button { display: none !important; opacity: 0 !important; }
.hero-ring { position: absolute; border-radius: 50%; border: 1px solid var(--accent-line); pointer-events: none; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { aspect-ratio: 3/4; max-width: 420px; margin: 0 auto; width: 100%; }
}

/* ---------- Stat strip ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-strip .sc { padding: 4px 0; border-left: 2px solid var(--border); padding-left: 24px; }
.stat-strip .sc:first-child { border-left: none; padding-left: 0; }
@media (max-width: 720px) { .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; } .stat-strip .sc:nth-child(3) { border-left: none; padding-left: 0; } }

/* ---------- Venue collage ---------- */
.venue-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.venue-grid > .reveal { aspect-ratio: 1 / 1; min-width: 0; }
.venue {
  position: relative; width: 100%; height: 100%; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .5s var(--ease-out), border-color .4s, box-shadow .5s;
  isolation: isolate; cursor: pointer;
}
.venue .v-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .9s var(--ease-out);
}
.venue::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.34) 50%, rgba(0,0,0,.82) 100%);
  transition: background .45s var(--ease-out);
}
.venue:hover { transform: translateY(-6px); border-color: var(--accent-line); box-shadow: var(--shadow-lift); }
.venue:hover .v-img { transform: scale(1.07); }
.venue:hover::after { background: linear-gradient(180deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.6) 44%, rgba(0,0,0,.9) 100%); }
.venue .v-ic { position: absolute; top: 20px; left: 20px; z-index: 1; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: rgba(10,10,10,.42); backdrop-filter: blur(8px); color: #4ADE80; border: 1px solid rgba(255,255,255,.14); }
.venue.sm .v-ic { display: none; }
.venue .v-plus { position: absolute; top: 18px; right: 18px; z-index: 1; width: 38px; height: 38px; border-radius: 50%; background: rgba(10,10,10,.42); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #fff; transition: background .3s, color .3s, transform .4s var(--ease-out); }
.venue:hover .v-plus { background: var(--accent); color: var(--on-accent); transform: rotate(90deg); }
.venue .v-content { position: relative; z-index: 1; padding: 22px; }
.venue .v-kicker { font-size: 12px; font-weight: 700; color: #4ADE80; letter-spacing: .04em; }
.venue.lg .v-kicker { font-size: 13px; }
.venue .v-title { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; color: #fff; line-height: 1.05; }
.venue.lg .v-title { font-size: clamp(24px, 2.3vw, 32px); margin-top: 7px; }
.venue .v-benefits {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; overflow: hidden;
  max-height: 0; opacity: 0; transform: translateY(6px);
  transition: max-height .5s var(--ease-out), opacity .4s var(--ease-out), transform .5s var(--ease-out), margin-top .5s var(--ease-out);
}
.venue:hover .v-benefits, .venue:active .v-benefits { max-height: 220px; opacity: 1; transform: translateY(0); margin-top: 14px; }
.venue .v-benefits li { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.3; color: rgba(255,255,255,.92); font-weight: 500; }
.venue.lg .v-benefits li { font-size: 14px; }
.venue .v-benefits li svg { color: #4ADE80; flex: 0 0 auto; margin-top: 1px; }
@media (max-width: 880px) {
  .venue-grid { grid-template-columns: 1fr 1fr; }
  .venue-grid > .reveal { grid-area: auto !important; }
  .venue.sm .v-ic { display: grid; }
  .venue .v-benefits { max-height: 220px; opacity: 1; transform: none; margin-top: 14px; }
}
@media (max-width: 520px) { .venue-grid { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.steps-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 36px 0 44px; }
.step-tab { padding: 13px 24px; border-radius: var(--r-pill); border: 1.4px solid var(--border); font-weight: 700; font-size: 15px; color: var(--ink-2); background: var(--surface); transition: all .35s var(--ease); }
.step-tab.active { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); box-shadow: var(--glow-soft); }
.step-tab:hover { color: var(--ink); }
.step-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.step-visual { aspect-ratio: 16/11; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); position: relative; }
.step-info .num { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; color: var(--on-accent); background: var(--accent); padding: 9px 18px 9px 15px; margin-bottom: 22px; transform: rotate(-2.4deg); transform-origin: left center; box-shadow: 0 10px 22px -10px rgba(0,0,0,.5), var(--glow-soft); border-radius: 3px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 6% 88%, 0 76%, 6% 64%, 0 52%, 6% 40%, 0 28%, 6% 16%, 0 5%); }
.step-info .num .num-k { opacity: .8; font-weight: 700; letter-spacing: 0.14em; }
@media (max-width: 860px) { .step-panel { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Step visuals (photo + tap-to-pay) ---------- */
.step-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pay-visual { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, rgba(34,197,94,0.12), transparent 62%), var(--surface-2); }
.pay-visual .terminal { margin: 0 !important; transform: scale(0.64); }

/* ---------- Poland map ---------- */
.map-wrap { position: relative; width: 100%; }
.pl-dot { filter: drop-shadow(0 0 1.5px var(--accent)); }
.pl-ring { transform-box: fill-box; transform-origin: center; opacity: 0; }
html.anim .pl-ring { animation: plPulse 2.8s var(--ease-out) infinite; }
.pl-ring:nth-of-type(2) { animation-delay: .4s; }
@keyframes plPulse { 0% { transform: scale(.5); opacity: .8; } 70% { transform: scale(3.6); opacity: 0; } 100% { opacity: 0; } }
.pl-lbl { fill: var(--accent-ink); font-size: 3.1px; font-weight: 800; text-anchor: middle; font-family: var(--font-sans); letter-spacing: -0.04px; }

/* ---------- Two-up media ---------- */
.media-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.media-2.rev { direction: rtl; } .media-2.rev > * { direction: ltr; }
@media (max-width: 880px) { .media-2 { grid-template-columns: 1fr; gap: 34px; } .media-2.rev { direction: ltr; } }

/* ---------- Payment terminal ---------- */
.terminal { position: relative; width: 260px; margin: 0 auto; }
.terminal .card-float { position: absolute; z-index: 4; left: 50%; top: -52px; width: 150px; background: linear-gradient(135deg,#1f2937,#0b1220); border-radius: 14px; padding: 15px; box-shadow: 0 24px 40px -14px rgba(0,0,0,.65); border: 1px solid rgba(255,255,255,.1); transform: translateX(-46%) rotate(-10deg); transform-origin: center; }
html.anim .terminal .card-float { animation: tapPay 3.4s var(--ease-out) infinite; }
@keyframes tapPay {
  0%, 18% { transform: translateX(-46%) translateY(0) rotate(-10deg); }
  42%, 56% { transform: translateX(-42%) translateY(30px) rotate(-3deg); }
  80%, 100% { transform: translateX(-46%) translateY(0) rotate(-10deg); }
}
.terminal .screen .tap-ring { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 2px solid #6ee7a0; opacity: 0; }
html.anim .terminal .screen .tap-ring { animation: tapRing 3.4s var(--ease-out) infinite; }
@keyframes tapRing { 0%, 40% { transform: scale(.4); opacity: 0; } 52% { opacity: .8; } 70% { transform: scale(1.8); opacity: 0; } 100% { opacity: 0; } }
.terminal .body { background: #16181a; border-radius: 30px; padding: 22px; box-shadow: 0 30px 70px -24px rgba(0,0,0,.7); border: 1px solid #2a2d30; }
.terminal .screen { background: #0b0c0d; border-radius: 12px; height: 86px; display: grid; place-items: center; color: #6ee7a0; font-weight: 700; position: relative; overflow: hidden; }
.terminal .nfc { position: absolute; top: 16px; right: 18px; color: #7dd3a0; }
.terminal .keys { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 18px; }
.terminal .key { aspect-ratio: 1.4; background: #202326; border-radius: 9px; display: grid; place-items: center; color: #cbd5cf; font-weight: 700; font-size: 15px; }
.terminal .key.g { background: var(--green); color: #06210f; }
.terminal .key.r { background: #b13030; color: #fff; }
.card-float .chip { width: 30px; height: 22px; border-radius: 5px; background: linear-gradient(135deg,#e7c35a,#b8902f); padding: 0; border: none; }
.card-float .num { color: #fff; letter-spacing: 2px; font-size: 12px; margin-top: 14px; font-weight: 700; }
.card-float .row2 { display: flex; justify-content: space-between; color: rgba(255,255,255,.6); font-size: 9px; margin-top: 8px; font-weight: 600; }
.pay-methods { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.pay-tile { height: 40px; padding: 0 13px; background: #fff; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,.16); border: 1px solid rgba(0,0,0,.06); transition: transform .3s var(--ease-out), box-shadow .3s; }
.pay-tile svg { display: block; }
.pay-tile:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.24); }
.pay-badge { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); font-weight: 800; font-size: 14px; transition: transform .3s var(--ease-out), border-color .3s; }
.pay-badge:hover { transform: translateY(-3px); border-color: var(--accent-line); }
.dot-mc { display: inline-flex; }
.dot-mc i { width: 15px; height: 15px; border-radius: 50%; display: block; }
.dot-mc i:nth-child(1) { background: #eb001b; }
.dot-mc i:nth-child(2) { background: #f79e1b; margin-left: -7px; mix-blend-mode: multiply; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.price-card { border-radius: var(--r-lg); padding: 34px; border: 1px solid var(--border); background: var(--surface); position: relative; overflow: hidden; }
.price-card.feature { background: linear-gradient(140deg, var(--green) 0%, var(--green-deep) 100%); color: #06210f; border: none; box-shadow: var(--glow); }
.price-card .pc-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.price-card .pc-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.price-card.feature .pc-ic { background: rgba(255,255,255,.9); color: var(--green-deep); }
.price-card .pc-name { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.price-card .pc-price { text-align: right; }
.price-card .pc-price b { font-size: 46px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price-card .pc-price .cur { font-size: 16px; font-weight: 800; opacity: .8; }
.price-card .pc-price small { display: block; font-size: 12.5px; opacity: .7; margin-top: 6px; font-weight: 600; }
.rental-list { display: flex; flex-direction: column; gap: 4px; }
.rental-list .ri { display: flex; align-items: center; justify-content: space-between; padding: 17px 0; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 16px; }
.rental-list .ri:last-child { border-bottom: none; }
.rental-list .ri .ok { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); }
@media (max-width: 820px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------- Feature cards (offer / why / what we offer) ---------- */
.feat-grid { display: grid; gap: 22px; }
.feat-grid.c3 { grid-template-columns: repeat(3,1fr); }
.feat-grid.c4 { grid-template-columns: repeat(4,1fr); }
.feat { padding: 30px; border-radius: var(--r-lg); }
.feat .fi { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 22px; transition: transform .4s var(--ease), background .3s, color .3s; }
.feat:hover .fi { transform: translateY(-4px) rotate(-6deg); background: var(--accent); color: var(--on-accent); }
.feat h3 { margin-bottom: 11px; }
.feat p { color: var(--ink-2); line-height: 1.58; font-size: 15px; margin: 0; }
@media (max-width: 900px) { .feat-grid.c3, .feat-grid.c4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .feat-grid.c3, .feat-grid.c4 { grid-template-columns: 1fr; } }

/* ---------- Station type cards ---------- */
.station-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.station {
  display: flex; flex-direction: column; width: 100%; text-align: center; font: inherit; color: inherit;
  padding: 24px 22px 22px; border-radius: var(--r-lg); position: relative; overflow: hidden; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .45s var(--ease-out), border-color .4s, box-shadow .45s, background .4s;
}
.station::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; pointer-events: none;
  background: radial-gradient(120% 70% at 50% 0%, var(--accent-soft), transparent 62%);
  transition: opacity .45s;
}
.station:hover, .station:focus-visible { transform: translateY(-10px); border-color: var(--accent-line); box-shadow: var(--shadow-lift); outline: none; }
.station:hover::before, .station:focus-visible::before { opacity: 1; }
.station .st-top { position: relative; z-index: 2; }
.station .badge-cap { font-size: 12.5px; font-weight: 700; color: var(--accent-ink); letter-spacing: .03em; }
.station h3 { font-size: 20px; margin: 8px 0 0; }
.station .ph { height: 196px; display: grid; place-items: center; margin: 14px 0 4px; position: relative; z-index: 1; }
.station .ph img { height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(0,0,0,.5)); transition: transform .55s var(--ease-out); }
.station:hover .ph img, .station:focus-visible .ph img { transform: translateY(-10px) scale(1.05); }
[data-theme="light"] .station .ph img { filter: drop-shadow(0 22px 34px rgba(70,50,20,.22)); }

/* hover preview: mini stats + cta slide in */
.st-preview {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; position: relative; z-index: 2;
  max-height: 0; opacity: 0; transform: translateY(8px); overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s var(--ease), transform .5s var(--ease), margin .5s var(--ease);
}
.st-mini { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 9px 4px; }
.st-mini b { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.st-mini span { font-size: 10.5px; color: var(--ink-3); font-weight: 600; }
.station:hover .st-preview, .station:focus-visible .st-preview { max-height: 80px; opacity: 1; transform: none; margin-top: 8px; }
.st-cta {
  position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-size: 13.5px; font-weight: 700; color: var(--accent-ink);
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s var(--ease), margin .5s var(--ease);
}
.st-cta .arrow { transition: transform .35s var(--ease-out); }
.station:hover .st-cta, .station:focus-visible .st-cta { max-height: 28px; opacity: 1; margin-top: 14px; }
.station:hover .st-cta .arrow { transform: translateX(4px); }
.station .plusbtn { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; z-index: 2; transition: transform .4s var(--ease), background .3s, color .3s; }
.station:hover .plusbtn, .station:focus-visible .plusbtn { transform: rotate(90deg); background: var(--accent); color: var(--on-accent); }
.st-tag { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: 13px; }
@media (max-width: 960px) { .station-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  /* Touch devices: reveal the full station view (no hover), portrait cards */
  .station-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .station { padding: 20px 16px 18px; }
  .station .ph { height: auto; aspect-ratio: 3/4; margin: 14px 0 6px; }
  .station .ph img { height: auto; max-height: 100%; max-width: 100%; }
  .st-preview { max-height: none; opacity: 1; transform: none; margin-top: 14px; overflow: visible; }
  .st-mini b { font-size: 15px; }
  .st-cta { max-height: 28px; opacity: 1; margin-top: 14px; }
  .station .plusbtn { width: 32px; height: 32px; top: 14px; right: 14px; }
}
@media (max-width: 420px) { .station-grid { grid-template-columns: 1fr; } .station .ph { aspect-ratio: 4/5; } }

/* ---------- Station detail modal ---------- */
.smodal-back {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 28px;
  background: color-mix(in srgb, #04130a 64%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
[data-theme="light"] .smodal-back { background: color-mix(in srgb, #2a1d0c 38%, transparent); }
html.anim .smodal-back { animation: backIn .35s var(--ease-out) both; }
@keyframes backIn { from { opacity: 0; } to { opacity: 1; } }
.smodal {
  position: relative; width: min(980px, 100%); max-height: calc(100vh - 56px);
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 0; overflow: hidden;
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-lift);
}
html.anim .smodal { animation: smodalIn .45s var(--ease-out) both; }
@keyframes smodalIn { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
.smodal-x {
  position: absolute; top: 16px; right: 16px; z-index: 5; width: 40px; height: 40px; border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 80%, transparent); border: 1px solid var(--border); color: var(--ink-2);
  display: grid; place-items: center; backdrop-filter: blur(8px); transition: transform .3s var(--ease), color .25s, border-color .25s, background .25s;
}
.smodal-x:hover { transform: rotate(90deg); color: var(--accent-ink); border-color: var(--accent-line); }
.smodal-media {
  position: relative; padding: 32px; display: grid; place-items: center;
  background: linear-gradient(165deg, var(--surface-2), var(--bg-section));
  border-right: 1px solid var(--border);
  align-self: stretch; max-height: calc(100vh - 56px); overflow: hidden;
}
.smodal-stage { position: relative; width: 100%; height: 100%; min-height: 260px; display: grid; place-items: center; }
.smodal-stage img { max-height: 440px; width: auto; object-fit: contain; filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)); position: relative; z-index: 2; }
[data-theme="light"] .smodal-stage img { filter: drop-shadow(0 26px 44px rgba(70,50,20,.26)); }
.sm-aura { position: absolute; width: 78%; height: 78%; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 68%); filter: blur(8px); }
html.anim .smodal-stage img { animation: floaty 6s ease-in-out infinite; }
.smodal .sm-fc1 { position: absolute; left: 18px; top: 30px; }
.smodal .sm-fc2 { position: absolute; right: 18px; bottom: 30px; }
.smodal-body { padding: 38px 36px; overflow-y: auto; max-height: calc(100vh - 56px); }
.smodal-body::-webkit-scrollbar { width: 8px; }
.smodal-body::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; }

/* staggered entrance for body content */
html.anim .sm-stagger > * { opacity: 0; transform: translateY(12px); animation: smItem .5s var(--ease-out) forwards; }
html.anim .sm-stagger > *:nth-child(1) { animation-delay: .12s; }
html.anim .sm-stagger > *:nth-child(2) { animation-delay: .17s; }
html.anim .sm-stagger > *:nth-child(3) { animation-delay: .22s; }
html.anim .sm-stagger > *:nth-child(4) { animation-delay: .28s; }
html.anim .sm-stagger > *:nth-child(5) { animation-delay: .34s; }
html.anim .sm-stagger > *:nth-child(6) { animation-delay: .40s; }
html.anim .sm-stagger > *:nth-child(7) { animation-delay: .46s; }
html.anim .sm-stagger > *:nth-child(8) { animation-delay: .52s; }
html.anim .sm-stagger > *:nth-child(9) { animation-delay: .58s; }
@keyframes smItem { to { opacity: 1; transform: none; } }
html.shown .sm-stagger > * { opacity: 1 !important; transform: none !important; animation: none !important; }
html.shown .smodal, html.shown .smodal-back, html.shown .smodal-stage img { animation: none !important; opacity: 1 !important; }

.sm-keystats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 24px; }
.sm-ks { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 12px; text-align: center; }
.sm-ksn { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.sm-ksl { font-size: 11.5px; color: var(--ink-3); font-weight: 600; margin-top: 7px; }

.gauge { margin-top: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 18px 20px; }
.gauge-head { display: flex; align-items: center; justify-content: space-between; }
.gauge-lbl { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.gauge-lbl svg { color: var(--accent-ink); }
.gauge-val { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: var(--accent-ink); white-space: nowrap; }
.gauge-track { height: 10px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); margin: 12px 0 8px; overflow: hidden; }
.gauge-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--green-deep), var(--green), var(--green-glow)); transition: width 1s var(--ease-out); box-shadow: 0 0 14px var(--accent-line); }
.gauge-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-4); font-weight: 600; }

.spec-table { margin-top: 22px; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.spec-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 16px; border-bottom: 1px solid var(--border); background: var(--surface); }
.spec-row:last-child { border-bottom: none; }
.spec-k { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--ink-2); flex-shrink: 0; }
.spec-ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); flex-shrink: 0; }
.spec-v { font-weight: 700; font-size: 14px; text-align: right; white-space: nowrap; }
.sm-group { margin-top: 20px; }
.sm-glabel { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.sm-glabel svg { color: var(--accent-ink); }

@media (max-width: 760px) {
  .smodal { grid-template-columns: 1fr; max-height: calc(100vh - 40px); }
  .smodal-media { border-right: none; border-bottom: 1px solid var(--border); padding: 26px; }
  .smodal-stage { min-height: 220px; }
  .smodal-stage img { max-height: 240px; }
  .smodal-body { padding: 28px 22px; }
  .smodal-back { padding: 20px; }
}

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-bottom: 30px; }
.cc { padding: 28px; border-radius: var(--r-lg); position: relative; overflow: hidden; }
.cc .cc-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); margin-bottom: 18px; }
.cc .cc-k { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.cc .cc-v { font-size: 19px; font-weight: 800; margin-top: 8px; letter-spacing: -0.01em; }
.cc .cc-sub { font-size: 13px; color: var(--ink-3); margin-top: 4px; font-weight: 600; }
.contact-form { padding: 40px; border-radius: var(--r-xl); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 800px) { .contact-cards { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } .contact-form { padding: 26px; } }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 40px; border-top: 1px solid var(--border); background: var(--bg-section); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); margin-bottom: 18px; font-weight: 800; }
.footer a.fl { display: block; padding: 7px 0; color: var(--ink-2); font-weight: 600; font-size: 15px; transition: color .25s, transform .25s; }
.footer a.fl:hover { color: var(--accent-ink); transform: translateX(3px); }
.footer .socials { display: flex; gap: 10px; margin-top: 20px; }
.footer .socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--ink-2); transition: all .3s var(--ease); }
.footer .socials a:hover { color: var(--accent-ink); border-color: var(--accent-line); transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--border); color: var(--ink-3); font-size: 13.5px; font-weight: 600; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--r-xl); padding: 64px 56px; overflow: hidden; background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%); color: #06210f; }
.cta-band h2 { color: #06210f; }
.cta-band .btn-primary { background: #06210f; color: #eafff1; }
.cta-band .btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(0,0,0,.4); }
.cta-band .ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(6,33,15,.18); }
@media (max-width: 700px) { .cta-band { padding: 44px 28px; } }

/* mission tabs */
.mission-tabs { display: inline-flex; gap: 8px; padding: 6px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--border); }
.mission-tab { padding: 11px 22px; border-radius: var(--r-pill); font-weight: 700; font-size: 14.5px; color: var(--ink-2); transition: all .3s var(--ease); }
.mission-tab.active { background: var(--accent); color: var(--on-accent); }

/* section heading block */
.sec-head { max-width: 720px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head .h2 { margin: 16px 0 0; }
.sec-head p { margin: 18px 0 0; }

/* ---------- Co-branding ---------- */
.media-2.brand-2 { grid-template-columns: 0.78fr 1.22fr; gap: 56px; }
.brand-visual { position: relative; }
.brand-stage {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface-2);
  display: grid; place-items: center; padding: clamp(26px, 4vw, 52px);
  aspect-ratio: 4 / 3.4;
}
.brand-stage .grid-bg {
  -webkit-mask-image: radial-gradient(80% 75% at 50% 45%, #000 20%, transparent 78%);
  mask-image: radial-gradient(80% 75% at 50% 45%, #000 20%, transparent 78%);
}
.brand-stage .brand-aura {
  position: absolute; width: 84%; height: 84%; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,.20), transparent 66%);
  filter: blur(10px); pointer-events: none;
}
.brand-stage img {
  position: relative; z-index: 2; width: 100%; max-width: 480px; height: auto; object-fit: contain;
  filter: drop-shadow(0 30px 52px rgba(0,0,0,.6));
}
html.anim .brand-stage img { animation: floaty 7s ease-in-out infinite; }
[data-theme="light"] .brand-stage { background: linear-gradient(165deg, var(--surface-2), var(--bg-section)); }
[data-theme="light"] .brand-stage img { filter: drop-shadow(0 26px 44px rgba(40,30,12,.3)); }

.brand-feats { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
.brand-feat { padding: 22px; display: flex; gap: 18px; align-items: flex-start; }
.brand-feat .bf-ic {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink);
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.brand-feat:hover .bf-ic { transform: translateY(-3px) rotate(-6deg); background: var(--accent); color: var(--on-accent); }
.brand-feat .bf-body h3 { font-size: 19px; }
.brand-feat .bf-body p { color: var(--ink-2); line-height: 1.56; font-size: 14.5px; margin: 9px 0 0; }
.brand-feat .bf-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.brand-feat .bf-tags .st-tag { font-size: 12px; padding: 6px 12px; }

@media (max-width: 880px) {
  .media-2.brand-2 { grid-template-columns: 1fr; gap: 40px; }
  .brand-stage { aspect-ratio: 16 / 10; max-width: 560px; }
}

/* ---------- Partner honeycomb (two interlocking rows of hexagons) ---------- */
.honeycomb { --hex: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); display: flex; flex-direction: column; }
.comb-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.comb-row.r2 { margin-top: -22px; }
.comb-shift { width: max-content; }
.comb-row.r2 .comb-shift { transform: translateX(68px); }
.comb-track { display: flex; gap: 8px; width: max-content; animation: marquee 52s linear infinite; }
.honeycomb:hover .comb-track { animation-play-state: paused; }
.hexpartner { position: relative; flex: 0 0 auto; width: 128px; height: 128px; }
.hexpartner::before { content: ""; position: absolute; inset: 0; clip-path: var(--hex); background: var(--border); transition: background .3s; }
.hexpartner .hex-cell {
  position: absolute; inset: 1.5px; clip-path: var(--hex); background: var(--surface);
  display: grid; place-items: center; transition: background .3s, transform .4s var(--ease-out);
}
.hexpartner img { max-width: 76px; max-height: 38px; width: auto; height: auto; object-fit: contain; opacity: .58; transition: opacity .3s var(--ease-out); }
.hexpartner:hover::before { background: var(--accent-line); }
.hexpartner:hover .hex-cell { background: var(--surface-hover); transform: scale(1.05); }
.hexpartner:hover img { opacity: 1; }
@media (max-width: 560px) {
  .hexpartner { width: 106px; height: 106px; }
  .comb-row.r2 { margin-top: -18px; }
  .comb-row.r2 .comb-shift { transform: translateX(57px); }
}
