/* ============================================================
   Pachinko Balls Club Sydney — global stylesheet
   Light refined theme · ink + silver + crimson accent
   ============================================================ */

:root {
  --ink: #0f172a;
  --ink-2: #1e293b;
  --ink-3: #334155;
  --slate: #64748b;
  --silver: #94a3b8;
  --line: #e2e8f0;
  --mist: #f1f5f9;
  --paper: #fafaf9;
  --white: #ffffff;
  --accent: #dc2626;
  --accent-2: #b91c1c;
  --accent-soft: #fef2f2;
  --ok: #0e7490;
  --radius: 20px;
  --radius-s: 14px;
  --shadow-s: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-m: 0 16px 40px -12px rgba(15, 23, 42, 0.16);
  --shadow-l: 0 30px 70px -20px rgba(15, 23, 42, 0.28);
  --font-d: "Syne", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-b: "Inter", ui-sans-serif, system-ui, sans-serif;
  --head-h: 76px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html {
  overflow-x: clip;
}

body.font-sans,
body {
  font-family: var(--font-b);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

a:hover {
  color: var(--accent);
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ---------- type ---------- */

.t-display,
.t-h1,
.t-h2,
.t-h3,
.t-h4 {
  font-family: var(--font-d);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.t-display {
  font-size: clamp(44px, 7.2vw, 96px);
  font-weight: 800;
  line-height: 0.98;
}

.t-h1 {
  font-size: clamp(38px, 5.4vw, 72px);
}

.t-h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.t-h3 {
  font-size: clamp(22px, 2.6vw, 32px);
}

.t-h4 {
  font-size: clamp(18px, 2vw, 24px);
}

.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: var(--slate);
  margin: 0;
}

.txt {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-3);
}

.txt-sm {
  font-size: 14px;
  line-height: 1.65;
  color: var(--slate);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.eyebrow.center::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.accent {
  color: var(--accent);
}

.thin {
  font-weight: 400;
}

.section {
  padding: clamp(72px, 9vw, 128px) 0;
  position: relative;
}

.section-tight {
  padding: clamp(48px, 6vw, 80px) 0;
}

.section.mist {
  background: var(--mist);
}

.section.dark {
  background: var(--ink);
  color: #e2e8f0;
}

.section.dark .t-h1,
.section.dark .t-h2,
.section.dark .t-h3,
.section.dark .t-h4,
.section.dark .t-display {
  color: #f8fafc;
}

.section.dark .lead,
.section.dark .txt {
  color: #94a3b8;
}

.bg-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #f8fafc;
}

.bg-photo .t-h1,
.bg-photo .t-h2,
.bg-photo .t-h3,
.bg-photo .t-display {
  color: #ffffff;
}

.bg-photo .lead,
.bg-photo .txt {
  color: rgba(226, 232, 240, 0.92);
}

.bg-photo .eyebrow {
  color: #fca5a5;
}

.bg-photo .eyebrow::before,
.bg-photo .eyebrow.center::after {
  background: #fca5a5;
}

.sec-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sec-head.wide {
  max-width: 980px;
}

.sec-head .t-h2 {
  margin-bottom: 18px;
}

.sec-foot {
  margin-top: clamp(32px, 4vw, 52px);
}

/* ---------- buttons / chips ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1),
    box-shadow 0.3s,
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn i {
  font-size: 13px;
  transition: transform 0.3s;
}

.btn:hover i {
  transform: translateX(4px);
}

.btn-solid {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(220, 38, 38, 0.5);
}

.btn-solid:hover {
  background: var(--accent-2);
  color: #fff;
  transform: translateY(-3px);
}

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-3px);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: var(--mist);
  color: var(--ink);
  transform: translateY(-3px);
}

.btn-line {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

.btn-line:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}

.chip i {
  color: var(--accent);
  font-size: 11px;
}

.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.link-arr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
}

.link-arr:hover {
  color: var(--accent);
  gap: 12px;
}

/* ---------- grids & cards ---------- */

.grid-2,
.grid-3,
.grid-4,
.grid-6 {
  display: grid;
  gap: 22px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid-6 {
  grid-template-columns: repeat(6, 1fr);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.split-64 {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.split-46 {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1),
    box-shadow 0.35s,
    border-color 0.35s;
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
  border-color: #cbd5e1;
}

.card .ic {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  background: var(--accent-soft);
  margin-bottom: 20px;
}

.card .t-h4 {
  margin-bottom: 12px;
}

.glass {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 28px;
  color: #f8fafc;
}

.glass .t-h4 {
  color: #fff;
}

.glass .txt-sm {
  color: rgba(226, 232, 240, 0.85);
}

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-m);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.media-frame:hover img {
  transform: scale(1.05);
}

.media-frame .mf-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
}

.ratio-43 {
  aspect-ratio: 4 / 3;
}
.ratio-11 {
  aspect-ratio: 1 / 1;
}
.ratio-169 {
  aspect-ratio: 16 / 9;
}
.ratio-34 {
  aspect-ratio: 3 / 4;
}

.deco-ball {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 30%,
    #ffffff 0%,
    #cbd5e1 42%,
    #64748b 100%
  );
  box-shadow:
    inset -8px -12px 24px rgba(15, 23, 42, 0.22),
    0 24px 44px -14px rgba(15, 23, 42, 0.35);
  pointer-events: none;
  z-index: 1;
}

.deco-ball.red {
  background: radial-gradient(
    circle at 32% 30%,
    #fecaca 0%,
    #ef4444 45%,
    #991b1b 100%
  );
}

.deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(100, 116, 139, 0.4);
  pointer-events: none;
}

/* ---------- header ---------- */

.topbar {
  background: var(--ink);
  color: #cbd5e1;
  font-size: 13px;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.topbar-group {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.topbar-item i {
  color: #fca5a5;
  font-size: 12px;
}

#pachinkoballs-header {
  display: contents;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(250, 250, 249, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow 0.3s,
    border-color 0.3s,
    background 0.3s;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -18px rgba(15, 23, 42, 0.25);
  background: rgba(255, 255, 255, 0.94);
}

.header-in {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: var(--head-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-txt {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: uppercase;
}

.brand-txt b {
  color: var(--accent);
}

.brand-txt small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--silver);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-wrap: nowrap;
}

.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
  padding: 8px 11px;
  border-radius: 10px;
  position: relative;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.header-cta {
  padding: 12px 22px;
  font-size: 14px;
  flex-shrink: 0;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  flex-shrink: 0;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: var(--ink);
  color: #e2e8f0;
  padding: 100px 28px 40px;
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.3, 1),
    visibility 0s 0.45s;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.3, 1),
    visibility 0s 0s;
}

.mobile-menu .mm-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 30px;
}

.mobile-menu nav a {
  font-family: var(--font-d);
  font-size: 26px;
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu nav a i {
  font-size: 14px;
  color: var(--accent);
}

.mm-contacts {
  margin-top: auto;
  display: grid;
  gap: 12px;
  font-size: 15px;
  color: #cbd5e1;
}

.mm-contacts div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mm-contacts i {
  color: #fca5a5;
  width: 20px;
}

body.lock {
  overflow: hidden;
}

/* ---------- hero / slider ---------- */

.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero .t-display {
  max-width: 13ch;
  margin-bottom: 24px;
}

.hero .lead {
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-meta {
  display: flex;
  gap: 34px;
  margin-top: 54px;
  flex-wrap: wrap;
}

.hero-meta .hm {
  border-left: 2px solid var(--accent);
  padding-left: 16px;
}

.hero-meta .hm b {
  display: block;
  font-family: var(--font-d);
  font-size: 26px;
  font-weight: 800;
}

.hero-meta .hm span {
  font-size: 13px;
  color: var(--slate);
}

.bg-photo .hero-meta .hm span {
  color: rgba(226, 232, 240, 0.85);
}

.hslider {
  position: relative;
  min-height: min(96vh, 940px);
  display: flex;
}

.hslide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.hslide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hslide .container {
  z-index: 3;
}

.hs-nav {
  position: absolute;
  z-index: 5;
  bottom: 40px;
  right: 24px;
  display: flex;
  gap: 12px;
}

.hs-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(15, 23, 42, 0.35);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  transition:
    background 0.3s,
    transform 0.3s;
  backdrop-filter: blur(6px);
}

.hs-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.06);
}

.hdots {
  position: absolute;
  z-index: 5;
  bottom: 52px;
  left: 24px;
  display: flex;
  gap: 10px;
}

.hdots button {
  width: 40px;
  height: 4px;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}

.hdots button.is-active {
  background: var(--accent);
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-cue i {
  animation: cue 1.8s infinite;
  font-size: 14px;
}

@keyframes cue {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

.page-hero {
  padding: clamp(90px, 12vw, 150px) 0 clamp(56px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}

.page-hero .t-h1 {
  max-width: 16ch;
  margin-bottom: 22px;
}

.page-hero .lead {
  max-width: 640px;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.breadcrumb i {
  font-size: 9px;
  color: var(--silver);
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  overflow: clip;
  position: relative;
  padding: 26px 0;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper), transparent);
}
.marquee::after {
  right: 0;
  background: linear-gradient(-90deg, var(--paper), transparent);
}

.section.dark .marquee::before {
  background: linear-gradient(90deg, var(--ink), transparent);
}
.section.dark .marquee::after {
  background: linear-gradient(-90deg, var(--ink), transparent);
}

.m-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: mq 38s linear infinite;
}

.marquee:hover .m-track {
  animation-play-state: paused;
}

.m-track.rev {
  animation-direction: reverse;
}

@keyframes mq {
  to {
    transform: translateX(-50%);
  }
}

.m-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink-2);
  box-shadow: var(--shadow-s);
  white-space: nowrap;
}

.m-item i {
  color: var(--accent);
}

.m-item .stars {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 12px;
}

.m-item small {
  font-family: var(--font-b);
  font-weight: 500;
  color: var(--slate);
  font-size: 13px;
}

.m-item.q {
  display: block;
  min-width: 340px;
  white-space: normal;
}

.m-item.q p {
  margin: 10px 0;
}

/* ---------- bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(120px, auto);
  gap: 20px;
}

.bento > * {
  border-radius: var(--radius);
}

.b-4 {
  grid-column: span 4;
}
.b-5 {
  grid-column: span 5;
}
.b-6 {
  grid-column: span 6;
}
.b-7 {
  grid-column: span 7;
}
.b-8 {
  grid-column: span 8;
}
.b-12 {
  grid-column: span 12;
}
.r-2 {
  grid-row: span 2;
}

.bento .card,
.bento .bg-photo,
.bento .glass {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.bento .pad {
  padding: 30px;
}

/* ---------- stats ---------- */

.stat {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.stat::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.stat b,
.stat-num {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}

.stat span {
  font-size: 14px;
  color: var(--slate);
}

.stat i {
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: 20px;
  color: var(--line);
}

.section.dark .stat,
.bg-photo .stat {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.section.dark .stat b,
.section.dark .stat-num,
.bg-photo .stat b,
.bg-photo .stat-num {
  color: #fff;
}

.section.dark .stat span,
.bg-photo .stat span {
  color: rgba(226, 232, 240, 0.8);
}

.kw-line {
  font-family: var(--font-d);
  font-size: clamp(26px, 4.4vw, 60px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: flex;
  gap: 40px;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(15, 23, 42, 0.35);
  padding: 12px 0;
}

.kw-line em {
  font-style: normal;
  color: var(--accent);
  -webkit-text-stroke: 0;
}

/* ---------- sticky scroll gallery ---------- */

.sg-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.sg-steps {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 12vh, 120px);
  padding: 12vh 0;
}

.sg-step {
  opacity: 0.32;
  transition: opacity 0.4s;
}

.sg-step.is-active {
  opacity: 1;
}

.sg-step .num {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.18em;
  display: block;
  margin-bottom: 14px;
}

.sg-step .t-h3 {
  margin-bottom: 14px;
}

.sg-media {
  position: sticky;
  top: calc(var(--head-h) + 24px);
  height: min(74vh, 640px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-l);
}

.sg-shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.sg-shot.is-active {
  opacity: 1;
}

.sg-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sg-progress {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.sg-progress span {
  width: 34px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.3s;
}

.sg-progress span.is-active {
  background: var(--accent);
}

/* ---------- dual pane services ---------- */

.dp-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.dp-sticky {
  position: sticky;
  top: calc(var(--head-h) + 24px);
}

.dp-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dp-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s;
}

.dp-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-m);
  transform: translateX(6px);
}

.dp-item .n {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 15px;
  color: var(--accent);
}

.dp-item .arr {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 13px;
  transition:
    background 0.3s,
    color 0.3s;
}

.dp-item:hover .arr {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ---------- timeline ---------- */

.timeline {
  position: relative;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--line));
}

.tl-item {
  position: relative;
  padding-bottom: 36px;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.tl-item .tl-time {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.tl-item .t-h4 {
  margin-bottom: 8px;
}

.tl-horiz {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 0;
  overflow-x: auto;
  padding-bottom: 18px;
  scroll-snap-type: x mandatory;
}

.tl-horiz .tl-item {
  padding: 34px 24px 12px 0;
  scroll-snap-align: start;
  border-top: 2px solid var(--line);
  position: relative;
}

.tl-horiz .tl-item::before {
  left: 0;
  top: -8px;
}

/* ---------- masonry ---------- */

.masonry {
  columns: 3;
  column-gap: 20px;
}

.masonry .m-item-g {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.masonry img {
  width: 100%;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.masonry .m-item-g:hover img {
  transform: scale(1.06);
}

.masonry .cap {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-d);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* ---------- faq / accordion ---------- */

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.faq-item[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow-s);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .fx {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--accent);
  transition:
    transform 0.35s,
    background 0.35s,
    color 0.35s;
}

.faq-item[open] summary .fx {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.75;
}

.faq-answer p {
  margin: 0 0 10px;
}

.faq-item.is-hidden {
  display: none;
}

.faq-search {
  position: relative;
  max-width: 560px;
}

.faq-search input {
  width: 100%;
  padding: 18px 54px 18px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 16px;
  font-family: var(--font-b);
  background: #fff;
  outline: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.faq-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.faq-search i {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--silver);
}

/* ---------- tabs / filters ---------- */

.tabbar,
.filterbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.tabbtn,
.fbtn {
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-3);
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tabbtn:hover,
.fbtn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.tabbtn.is-active,
.fbtn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.tabpane {
  display: none;
}

.tabpane.is-active {
  display: block;
  animation: fadeUp 0.5s ease;
}

.is-hidden {
  display: none !important;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- horizontal scroll ---------- */

.hscroll {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 0 -24px;
  padding: 0 24px 14px;
}

.hscroll::-webkit-scrollbar {
  display: none;
}

.hs-track {
  display: flex;
  gap: 22px;
  width: max-content;
}

.hs-card {
  width: min(380px, 82vw);
  scroll-snap-align: start;
  flex-shrink: 0;
}

.hs-ctl {
  display: flex;
  gap: 12px;
}

.hs-ctl button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.hs-ctl button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------- quotes / testimonials ---------- */

.q-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
}

.q-card .stars {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.q-card blockquote {
  margin: 0 0 20px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-2);
  font-weight: 500;
}

.q-card .q-who {
  display: flex;
  align-items: center;
  gap: 14px;
}

.q-card .q-av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--mist);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-weight: 800;
  color: var(--accent);
  font-size: 16px;
  border: 2px solid var(--accent-soft);
}

.q-card .q-who b {
  display: block;
  font-size: 14.5px;
}

.q-card .q-who span {
  font-size: 13px;
  color: var(--slate);
}

.q-big blockquote {
  font-family: var(--font-d);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.35;
}

/* ---------- pricing ---------- */

.price-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.35s,
    box-shadow 0.35s,
    border-color 0.35s;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-m);
}

.price-card.hot {
  border-color: var(--accent);
  box-shadow: 0 24px 50px -18px rgba(220, 38, 38, 0.3);
}

.price-card .hot-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card .p-amount {
  font-family: var(--font-d);
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  margin: 18px 0 4px;
}

.price-card .p-amount small {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: grid;
  gap: 11px;
  font-size: 14.5px;
  color: var(--ink-3);
}

.price-card ul li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.price-card ul li i {
  color: var(--accent);
  margin-top: 4px;
  font-size: 11px;
}

.price-card .btn {
  margin-top: auto;
  justify-content: center;
}

.ptable {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-s);
}

.ptable th,
.ptable td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.ptable th {
  font-family: var(--font-d);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  background: var(--mist);
}

.ptable tr:last-child td {
  border-bottom: 0;
}

.ptable td b {
  font-family: var(--font-d);
}

.ptable .p-price {
  font-family: var(--font-d);
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

.ptable-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
}

/* ---------- compare split ---------- */

.cmp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.cmp-side {
  padding: clamp(30px, 4vw, 52px);
}

.cmp-side.a {
  background: var(--mist);
}

.cmp-side.b {
  background: var(--ink);
  color: #e2e8f0;
}

.cmp-side.b .t-h3,
.cmp-side.b .t-h4 {
  color: #fff;
}

.cmp-side ul {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 14px;
}

.cmp-side ul li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
}

.cmp-side.a ul li i {
  color: var(--silver);
  margin-top: 4px;
}

.cmp-side.b ul li i {
  color: #f87171;
  margin-top: 4px;
}

/* ---------- team / people ---------- */

.person {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--ink);
}

.person img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.7s;
}

.person:hover img {
  transform: scale(1.05);
}

.person .p-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 60px 22px 20px;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.9));
  color: #fff;
}

.person .p-info b {
  font-family: var(--font-d);
  font-size: 18px;
  display: block;
}

.person .p-info span {
  font-size: 13px;
  color: #cbd5e1;
}

.person .p-soc {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.35s;
}

.person:hover .p-soc {
  opacity: 1;
  transform: none;
}

.person .p-soc a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* ---------- forms ---------- */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.input,
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-family: var(--font-b);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--accent);
  background: #fff8f8;
}

.f-err {
  display: none;
  font-size: 12.5px;
  color: var(--accent-2);
  margin-top: 6px;
  font-weight: 600;
}

.field.invalid .f-err {
  display: block;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-3);
  cursor: pointer;
}

.check input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.check a {
  color: var(--accent);
  text-decoration: underline;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.btn .btn-spin,
.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn.loading .btn-spin {
  display: inline-block;
}

.btn.loading i {
  display: none;
}

.btn.loading {
  opacity: 0.85;
  pointer-events: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-note {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 140%);
  z-index: 1200;
  background: var(--ink);
  color: #f1f5f9;
  border-radius: 14px;
  padding: 16px 26px;
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-l);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.3, 1);
  max-width: min(92vw, 480px);
}

.form-note.show {
  transform: translate(-50%, 0);
}

.form-note i {
  font-size: 18px;
}

.form-note.ok i {
  color: #4ade80;
}

.form-note.err i {
  color: #f87171;
}

/* ---------- wizard / steps ---------- */

.wiz-bar {
  height: 6px;
  border-radius: 6px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 34px;
}

.wiz-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  width: 33%;
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.wiz-step {
  display: none;
}

.wiz-step.is-active {
  display: block;
  animation: fadeUp 0.45s ease;
}

.wiz-opts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.wiz-opt {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  padding: 20px;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s;
  background: #fff;
}

.wiz-opt i {
  display: block;
  font-size: 22px;
  color: var(--slate);
  margin-bottom: 10px;
}

.wiz-opt b {
  font-family: var(--font-d);
  font-size: 15px;
  display: block;
}

.wiz-opt small {
  color: var(--slate);
  font-size: 12.5px;
}

.wiz-opt.sel {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.wiz-opt.sel i {
  color: var(--accent);
}

.wiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 32px;
}

/* ---------- calculator ---------- */

.calc {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px);
}

.calc-row {
  margin-bottom: 26px;
}

.calc-row .lbl {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #e2e8f0;
}

.calc-row .lbl output {
  color: #fca5a5;
  font-family: var(--font-d);
}

input[type="range"] {
  width: 100%;
  height: 6px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.25);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 5px solid var(--accent);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.calc-out {
  text-align: center;
  padding-top: 10px;
}

.calc-out b {
  font-family: var(--font-d);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1;
}

.calc-out span {
  font-size: 14px;
  color: rgba(226, 232, 240, 0.8);
}

/* ---------- agenda ---------- */

.ag-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  margin-bottom: 14px;
  transition:
    border-color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}

.ag-row:hover {
  border-color: var(--accent);
  transform: translateX(6px);
  box-shadow: var(--shadow-s);
}

.ag-row .ag-time {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 19px;
  color: var(--accent);
}

.ag-row .ag-time small {
  display: block;
  font-size: 11px;
  color: var(--slate);
  font-family: var(--font-b);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ag-row .ag-info b {
  font-family: var(--font-d);
  font-size: 17px;
  display: block;
  margin-bottom: 3px;
}

.ag-row .ag-info span {
  font-size: 13.5px;
  color: var(--slate);
}

/* ---------- blog ---------- */

.post-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.35s,
    box-shadow 0.35s;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
}

.post-card .pc-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.post-card .pc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.post-card:hover .pc-img img {
  transform: scale(1.06);
}

.post-card .pc-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card .pc-meta {
  display: flex;
  gap: 16px;
  font-size: 12.5px;
  color: var(--slate);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.post-card .pc-meta i {
  color: var(--accent);
  margin-right: 5px;
}

.post-card .t-h4 {
  margin-bottom: 10px;
}

.post-card .pc-body .link-arr {
  margin-top: auto;
  font-size: 14px;
}

.post-card.feat {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

.post-card.feat .pc-img {
  aspect-ratio: auto;
  min-height: 340px;
}

.post-card.feat .pc-body {
  padding: clamp(28px, 4vw, 48px);
  justify-content: center;
}

/* ---------- map / contact ---------- */

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-m);
  border: 1px solid var(--line);
  height: 100%;
  min-height: 380px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

.info-line {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.info-line:last-child {
  border-bottom: 0;
}

.info-line .il-ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.info-line b {
  display: block;
  font-family: var(--font-d);
  font-size: 15.5px;
  margin-bottom: 4px;
}

.info-line span,
.info-line a {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.55;
}

/* ---------- community feed ---------- */

.pulse-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.pulse-card .pc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.pulse-card .pc-head b {
  display: block;
  font-size: 14.5px;
}

.pulse-card .pc-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-family: var(--font-d);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ink);
  font-size: 15px;
}

.pulse-card .pc-react {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--slate);
}

.pulse-card .pc-react i {
  color: var(--accent);
  margin-right: 5px;
}

/* ---------- cookie banner ---------- */

.cookie-banner {
  position: fixed;
  z-index: 1500;
  left: 20px;
  bottom: 20px;
  width: min(420px, calc(100vw - 40px));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-l);
  padding: 24px;
  animation: cookieUp 0.6s cubic-bezier(0.2, 0.8, 0.3, 1);
}

@keyframes cookieUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cookie-banner .cb-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.cookie-banner .cb-head .cb-ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.cookie-banner .cb-head b {
  font-family: var(--font-d);
  font-size: 16px;
}

.cookie-banner p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0 0 18px;
}

.cookie-banner .cb-actions {
  display: flex;
  gap: 10px;
}

.cookie-banner .cb-actions .btn {
  padding: 11px 20px;
  font-size: 13.5px;
  flex: 1;
}

.cookie-banner .cb-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--slate);
  text-decoration: underline;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: #94a3b8;
  padding: clamp(60px, 8vw, 96px) 0 0;
  position: relative;
  overflow: hidden;
}

.foot-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: clamp(40px, 5vw, 60px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.foot-cta .t-h2 {
  color: #fff;
  max-width: 18ch;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding: clamp(44px, 5vw, 64px) 0;
}

.foot-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 18px;
}

.foot-brand .brand-txt {
  color: #fff;
  margin-bottom: 16px;
}

.foot-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 22px;
}

.foot-soc {
  display: flex;
  gap: 10px;
}

.foot-soc a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 15px;
  transition: all 0.3s;
}

.foot-soc a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

.foot-col h5 {
  font-family: var(--font-d);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
  font-size: 14.5px;
}

.foot-col ul a:hover {
  color: #fff;
}

.foot-contact div {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.foot-contact i {
  color: #fca5a5;
  margin-top: 4px;
  width: 16px;
  flex-shrink: 0;
}

.foot-contact a:hover {
  color: #fff;
}

.foot-reg {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 26px 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: #64748b;
}

.foot-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
  flex-wrap: wrap;
  align-items: center;
}

.to-top {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 15px;
  transition:
    background 0.3s,
    transform 0.3s;
}

.to-top:hover {
  background: var(--accent-2);
  transform: translateY(-4px);
}

/* ---------- misc sections ---------- */

.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: center;
}

.logo-strip .ls-item {
  height: 92px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 15px;
  color: var(--silver);
  letter-spacing: 0.04em;
  background: #fff;
  transition: all 0.3s;
}

.logo-strip .ls-item:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.logo-strip .ls-item i {
  margin-right: 8px;
  color: var(--accent);
  font-size: 18px;
}

.float-card {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-s);
  padding: 18px 22px;
  box-shadow: var(--shadow-m);
  display: flex;
  align-items: center;
  gap: 14px;
}

.float-card i {
  font-size: 22px;
  color: var(--accent);
}

.float-card b {
  display: block;
  font-family: var(--font-d);
  font-size: 15px;
}

.float-card small {
  color: var(--slate);
  font-size: 12.5px;
}

.overlap-wall {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
}

.overlap-wall .q-card {
  box-shadow: var(--shadow-m);
}

.ol-a {
  grid-column: 1 / span 6;
  grid-row: 1;
  position: relative;
  z-index: 3;
}
.ol-b {
  grid-column: 6 / span 6;
  grid-row: 1;
  margin-top: 60px;
  position: relative;
  z-index: 2;
  margin-left: -30px;
}
.ol-c {
  grid-column: 3 / span 6;
  grid-row: 2;
  margin-top: -20px;
  position: relative;
  z-index: 1;
}

.holo-frame {
  position: relative;
  border-radius: var(--radius);
  padding: 2px;
  background: linear-gradient(135deg, var(--accent), #60a5fa, var(--accent));
}

.holo-frame > div {
  background: var(--ink);
  border-radius: calc(var(--radius) - 2px);
  padding: clamp(28px, 4vw, 44px);
}

.tick-row {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.tick-row li {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.6;
}

.tick-row li i {
  color: var(--accent);
  margin-top: 4px;
  font-size: 12px;
}

.section.dark .tick-row li,
.bg-photo .tick-row li {
  color: rgba(226, 232, 240, 0.9);
}

.big-statement {
  font-family: var(--font-d);
  font-size: clamp(30px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.big-statement i {
  color: var(--accent);
  font-size: 0.4em;
  vertical-align: super;
}

.num-badge {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 14px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.14em;
}

.num-badge::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
}

.video-shell {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-l);
}

.video-shell .play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent);
  border: 0;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s,
    background 0.3s;
  z-index: 2;
}

.video-shell .play-btn:hover {
  transform: scale(1.1);
  background: var(--accent);
  color: #fff;
}

.video-shell .play-btn::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

.jk-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.35s,
    box-shadow 0.35s;
}

.jk-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
}

.jk-card .jk-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.jk-card .jk-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jk-card .jk-body {
  padding: 24px 26px 28px;
}

.jk-card .jk-metric {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-d);
  font-weight: 800;
  color: var(--accent);
  font-size: 15px;
  margin-bottom: 10px;
}

.step-num {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-s);
}

.res-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  transition: all 0.3s;
}

.res-card:hover {
  border-color: var(--accent);
  transform: translateX(6px);
  box-shadow: var(--shadow-s);
}

.res-card .rc-ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.res-card b {
  font-family: var(--font-d);
  display: block;
  font-size: 15.5px;
  margin-bottom: 2px;
}

.res-card small {
  color: var(--slate);
}

.res-card .rc-dl {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
}

.res-card:hover .rc-dl {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.office-dot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  width: 100%;
}

.office-dot i {
  color: var(--accent);
}

.office-dot:last-child {
  border-bottom: 0;
}

.cta-panel {
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(40px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-panel .t-h2 {
  max-width: 20ch;
  margin: 0 auto 20px;
}

.cta-panel .lead {
  max-width: 560px;
  margin: 0 auto 34px;
}

.svc-grid-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.svc-grid-card .media-frame {
  aspect-ratio: 16 / 10;
  margin-bottom: 22px;
  box-shadow: var(--shadow-s);
}

.svc-grid-card .pc-meta {
  font-size: 12.5px;
  color: var(--slate);
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
}

.svc-grid-card .pc-meta i {
  color: var(--accent);
  margin-right: 5px;
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
  .logo-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
  .bento {
    grid-template-columns: repeat(6, 1fr);
  }
  .b-4,
  .b-5,
  .b-6,
  .b-7,
  .b-8 {
    grid-column: span 3;
  }
  .post-card.feat {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .split,
  .split-64,
  .split-46 {
    grid-template-columns: 1fr;
  }
  .sg-wrap {
    grid-template-columns: 1fr;
  }
  .sg-media {
    position: relative;
    top: 0;
    height: auto;
    aspect-ratio: 4 / 3;
    order: -1;
  }
  .sg-steps {
    padding: 0;
    gap: 30px;
  }
  .sg-step {
    opacity: 1;
  }
  .dp-wrap {
    grid-template-columns: 1fr;
  }
  .dp-sticky {
    position: relative;
    top: 0;
  }
  .cmp {
    grid-template-columns: 1fr;
  }
  .masonry {
    columns: 2;
  }
  .wiz-opts {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .overlap-wall {
    display: block;
  }
  .overlap-wall .q-card {
    margin-bottom: 18px;
  }
  .ol-b,
  .ol-c {
    margin: 0 0 18px;
  }
  .topbar .tb-hide {
    display: none;
  }
  .ag-row {
    grid-template-columns: 86px 1fr;
  }
  .ag-row .tag {
    display: none;
  }
}

@media (max-width: 620px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .b-4,
  .b-5,
  .b-6,
  .b-7,
  .b-8,
  .b-12 {
    grid-column: span 1;
  }
  .r-2 {
    grid-row: span 1;
  }
  .masonry {
    columns: 1;
  }
  .logo-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-meta {
    gap: 20px;
  }
  .hs-nav {
    bottom: 24px;
  }
  .hdots {
    bottom: 36px;
  }
  .topbar {
    font-size: 11.5px;
  }
  .topbar .container {
    justify-content: center;
  }
  .topbar-group.tb-r {
    display: none;
  }
  .btn {
    width: 100%;
  }
  .hero-actions .btn,
  .foot-cta .btn,
  .cta-panel .btn {
    width: auto;
  }
  .header-in {
    gap: 12px;
  }
  .brand {
    gap: 10px;
  }
  .brand img {
    width: 42px;
    height: 42px;
  }
  .brand-txt {
    font-size: 12px;
  }
  .brand-txt small {
    font-size: 9px;
    letter-spacing: 0.28em;
  }
  .cookie-banner {
    left: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
