/* =====================================================================
   CELLTOB — Design System
   Light theme only. No dark sections anywhere.
   ===================================================================== */

:root {
  /* Colour — sampled from the live celltob.in Elementor global palette.
     Dark text on the orange accent: white on #FD9800 is only 2.2:1. */
  --paper:       #FFFDF6;
  --white:       #FFFFFF;
  --alt:         #FEF9E1;
  --ink:         #0F172A;
  --muted:       #454F5E;
  --accent:      #FD9800;
  --accent-dark: #E98C00;
  --accent-tint: #FFEFCF;
  --accent-wash: #FFF8EA;
  --on-accent:   #0F172A;
  --gold:        #FCCA49;
  --hairline:    #EDE6D2;

  /* Type */
  /* One family throughout - Lexend, the face celltob.in itself uses. */
  --display: "Lexend", "Segoe UI", system-ui, sans-serif;
  --body:    "Lexend", "Segoe UI", system-ui, sans-serif;
  --label:   "Lexend", "Segoe UI", system-ui, sans-serif;

  /* Space — 8px base. s5–s8 carry the vertical rhythm; tightened from the
     original 48/64/96/120 so sections sit closer together. */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 40px; --s6: 56px; --s7: 72px; --s8: 88px;

  /* Shape */
  --r-sm: 12px; --r-md: 16px; --r-lg: 20px;
  --shadow:      0 4px 24px rgba(0, 0, 0, .04);
  --shadow-lift: 0 12px 32px rgba(15, 23, 42, .09);
  --shadow-accent:  0 12px 32px rgba(253, 152, 0, .24);

  --shell:  1320px;   /* 1440 - (60 × 2) */
  --gutter: 60px;
  --nav-h:  80px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
p  { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, figcaption { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.label { font-family: var(--label); font-weight: 500; }

/* ---------- Layout ---------- */
/* Content column = --shell wide, sitting inside --gutter outer margins.
   1248px content + 96px × 2 = the 1440px frame. */
.shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { --shell: 800px; }

.sec { padding-block: var(--s8); }
.sec--paper { background: var(--paper); }
.sec--alt   { background: var(--alt); }
.sec--tight { padding-top: var(--s6); }

.sechead { max-width: 640px; margin: 0 auto var(--s5); text-align: center; }
.sechead__sub { margin-top: var(--s2); color: var(--muted); font-size: 17px; }
.sec__cta { margin-top: var(--s5); text-align: center; }

.h2 { font-size: 44px; line-height: 1.1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 var(--s2);
  font-family: var(--label); font-size: 12.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.grid { display: grid; gap: var(--s3); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Hand-drawn underline ---------- */
.ul-scribble { position: relative; display: inline-block; color: inherit; white-space: nowrap; }
.ul-scribble svg {
  position: absolute; left: -2px; right: -2px; bottom: -.16em;
  width: calc(100% + 4px); height: .28em; color: var(--accent); overflow: visible;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-sm);
  background: var(--accent); color: var(--on-accent);
  font-size: 15px; font-weight: 600; line-height: 1.2;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-accent); }
.btn:active { transform: translateY(0); }
.btn svg { transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn--outline {
  background: var(--white); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn--outline:hover { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn--pill { padding: 14px 22px; border-radius: 999px; }
.btn--block { width: 100%; }
.btn--lg { padding-block: 16px; font-size: 16px; }

.iconbtn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--hairline);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.iconbtn:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.iconbtn--solid { background: var(--accent); color: var(--on-accent); border-color: var(--accent); flex: none; }
.iconbtn--solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

/* ---------- Card base ---------- */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

/* =====================================================================
   1. NAVIGATION
   ===================================================================== */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
  transition: background .25s ease, box-shadow .25s ease;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 20px rgba(15, 23, 42, .06);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); height: var(--nav-h);
}
.logo {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--display); font-weight: 700; font-size: 22px;
  letter-spacing: -.02em;
}
.logo img { height: 40px; width: auto; }
.logo__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(253, 152, 0, .6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(253, 152, 0, .6); }
  70%  { box-shadow: 0 0 0 7px rgba(253, 152, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(253, 152, 0, 0); }
}
.nav__links { display: flex; gap: var(--s4); }
.nav__links a {
  position: relative; font-size: 15px; font-weight: 500; padding-block: 4px;
  white-space: nowrap;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

/* ---- Services dropdown ---- */
.nav__group { position: relative; }
.nav__toggle {
  display: inline-flex; align-items: center; gap: 5px;
  position: relative; padding-block: 4px;
  font-size: 15px; font-weight: 500; color: var(--ink); white-space: nowrap;
}
.nav__toggle svg { transition: transform .2s ease; }
.nav__group.is-open .nav__toggle svg { transform: rotate(180deg); }
.nav__toggle::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav__group:hover .nav__toggle::after,
.nav__group.is-open .nav__toggle::after { transform: scaleX(1); }

.nav__menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 232px; padding: 8px;
  background: var(--white); border: 1.5px solid var(--ink); border-radius: 12px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .14);
  opacity: 0; visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 5;
}
.nav__group:hover .nav__menu,
.nav__group:focus-within .nav__menu,
.nav__group.is-open .nav__menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
/* keeps the pointer from falling through the gap under the toggle */
.nav__menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav__menu a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; white-space: nowrap;
}
.nav__menu a::after { display: none; }
.nav__menu a:hover { background: var(--accent-wash); color: var(--accent-dark); }
.nav__right { display: flex; align-items: center; gap: var(--s3); }
.nav__phone { font-size: 14px; color: var(--ink); }
.nav__phone:hover { color: var(--accent); }
.nav__dl {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 500; color: var(--muted); white-space: nowrap;
  transition: color .18s ease;
}
.nav__dl:hover { color: var(--accent); }
.nav__burger { display: none; padding: 6px; color: var(--ink); }

.nav__mobile {
  display: none; flex-direction: column; gap: var(--s2);
  padding: var(--s3) var(--s3) var(--s4);
  border-top: 1px solid var(--hairline); background: var(--white);
}
.nav__mobile[hidden] { display: none; }
.nav__mobile a { font-size: 16px; font-weight: 500; }

/* =====================================================================
   2. HERO
   ===================================================================== */
.hero { padding-block: var(--s7) var(--s6); }
.hero__grid {
  display: grid; grid-template-columns: 60fr 40fr; gap: var(--s6);
  align-items: center;
}
.hero__h1 { font-size: 62px; line-height: 1.05; margin-bottom: var(--s3); }
.hero__sub { max-width: 540px; font-size: 19px; color: var(--muted); }

.hero__stats {
  display: flex; align-items: center; gap: var(--s3);
  margin-top: var(--s4); flex-wrap: wrap;
}
.hstat { display: flex; align-items: center; gap: 10px; }
.hstat + .hstat { padding-left: var(--s3); border-left: 1px solid var(--hairline); }
.hstat__icon { color: var(--accent); flex: none; }
.hstat__num { display: block; font-size: 16px; font-weight: 500; line-height: 1.3; }
.hstat__label { display: block; font-size: 13px; color: var(--muted); line-height: 1.3; }

.hero__chips { display: flex; align-items: center; gap: 10px; margin-top: var(--s4); flex-wrap: wrap; }
.hero__chips-label { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent);
  transition: transform .18s ease, background .18s ease;
}
.chip:hover { transform: translateY(-2px); background: var(--accent); color: var(--on-accent); }

/* --- right column --- */
.hero__right { position: relative; }
.blob {
  position: absolute; inset: -14% -10% -10% -12%;
  background:
    radial-gradient(46% 46% at 22% 24%, rgba(253, 152, 0, .34), transparent 70%),
    radial-gradient(52% 52% at 82% 68%, rgba(252, 202, 73, .22), transparent 72%),
    radial-gradient(60% 60% at 55% 95%, rgba(255, 196, 120, .22), transparent 70%);
  filter: blur(46px);
  z-index: 0;
  pointer-events: none;
}
.formcard {
  position: relative; z-index: 2;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-top: 4px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .10);
}
.formcard__badge {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.formcard__h { margin: var(--s2) 0 6px; font-size: 24px; line-height: 1.2; }
.formcard__sub { font-size: 14px; color: var(--muted); margin-bottom: var(--s3); }

.field { display: block; margin-bottom: var(--s2); }
.field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; }
.field__opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .miniform input, .newsletter input {
  width: 100%; padding: 13px 14px; border-radius: 8px;
  border: 1.5px solid var(--ink); background: var(--white);
  font-size: 15px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input::placeholder, .miniform input::placeholder, .newsletter input::placeholder { color: #A29C8A; }
.field select { appearance: none; color: var(--ink); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23454F5E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.field select:invalid { color: #A29C8A; }
.field input:focus, .field select:focus, .miniform input:focus, .newsletter input:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(253, 152, 0, .25);
}
.field input.is-error, .miniform input.is-error, .newsletter input.is-error,
.field select.is-error { border-color: var(--accent); background: var(--accent-wash); }

/* Name and phone sit side by side - one less row to scroll past */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row .field { margin-bottom: var(--s2); }

.formcard .btn { margin-top: var(--s1); }
.formcard__micro {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 12px; font-size: 11px; color: var(--muted);
}
.formcard__micro svg { color: var(--muted); flex: none; }
.formstate {
  margin-top: 10px; font-size: 12px; text-align: center;
  color: var(--accent); min-height: 0;
}
.formstate.is-ok { color: #2C7A4B; }

/* =====================================================================
   3. SERVICES
   ===================================================================== */
.svc { padding: var(--s3); display: flex; flex-direction: column; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-accent); border-color: rgba(253, 152, 0, .42); }
.svc__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent-tint); color: var(--accent); margin-bottom: var(--s2);
}
.svc__t { font-size: 18px; line-height: 1.25; margin-bottom: 8px; }
.svc__d { font-size: 15px; color: var(--muted); flex: 1; }
.svc__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: var(--s2); color: var(--accent); font-size: 14px; font-weight: 500;
}
.svc__link svg { transition: transform .18s ease; }
.svc:hover .svc__link svg { transform: translateX(4px); }
.svc__glyph { position: absolute; top: 20px; right: 20px; color: rgba(253, 152, 0, .28); }
.svc:hover .svc__glyph { color: rgba(253, 152, 0, .50); }

/* =====================================================================
   4. TRUST BAR
   ===================================================================== */
/* White, not cream: several client logos ship with an opaque white
   plate, which would show as boxes on a tinted band. */
.trustbar {
  background: var(--white);
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
  padding-block: var(--s5);
}
.trustbar__label {
  text-align: center; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: var(--s3);
}
.marquee {
  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);
}
.marquee__track { display: flex; width: max-content; animation: scroll 90s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; align-items: center; gap: 68px; padding-right: 68px; }
.marquee__list li { display: flex; align-items: center; flex: none; }
.marquee__list img {
  /* source files are 120px tall, so this is still well within their
     resolution; max-width stops the widest wordmarks dominating */
  height: 52px; width: auto; max-width: 190px; object-fit: contain;
  opacity: .85; transition: opacity .2s ease;
}
.marquee__list li:hover img { opacity: 1; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =====================================================================
   5. PROCESS
   ===================================================================== */
.timeline { position: relative; }
.timeline__line {
  position: absolute; top: 40px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 12%, var(--accent) 88%, transparent);
  opacity: .32;
}
.timeline__steps {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3);
}
.step { padding: var(--s3); display: flex; flex-direction: column; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.step__num { font-size: 32px; font-weight: 500; color: var(--accent); line-height: 1; }
.step__t { margin: var(--s2) 0 8px; font-size: 18px; line-height: 1.25; }
.step__d { font-size: 14px; color: var(--muted); flex: 1; }
.step__tag {
  align-self: flex-start; margin-top: var(--s2);
  padding: 5px 12px; border-radius: 999px;
  background: var(--alt); color: var(--muted);
  font-size: 11px; letter-spacing: .04em;
}

.banner {
  display: flex; align-items: center; justify-content: center;
  gap: var(--s4); flex-wrap: wrap;
  margin-top: var(--s5); padding: var(--s5) var(--s4);
  background: var(--accent-tint); border-radius: var(--r-lg); text-align: center;
}
.banner__h { font-size: 24px; line-height: 1.25; }

/* =====================================================================
   6. WHY US
   ===================================================================== */
.why { padding: var(--s3); }
.why:hover { transform: translateY(-4px); box-shadow: var(--shadow-accent); border-color: rgba(253, 152, 0, .42); }
.tagpill {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.why__t { margin: var(--s2) 0 8px; font-size: 18px; line-height: 1.3; }
.why__d { font-size: 15px; color: var(--muted); }

/* =====================================================================
   7. TESTIMONIALS
   ===================================================================== */
.tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: var(--s4); }
.tab {
  padding: 11px 22px; border-radius: 999px;
  background: var(--white); color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--hairline);
  font-size: 14px; font-weight: 500;
  transition: all .18s ease;
}
.tab:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.tab.is-active { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 0 0 1.5px var(--accent); }

.rail-wrap { position: relative; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 292px;
  gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: var(--s1); scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail[hidden] { display: none; }
.tcard { scroll-snap-align: start; padding: var(--s3); }
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.tcard__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink);
}
.avatar[data-tone="a"] { background: #FFE3BC; }
.avatar[data-tone="b"] { background: #E9EBD5; }
.avatar[data-tone="c"] { background: #FBEDC0; }
.avatar[data-tone="d"] { background: #DDE4EE; }
.avatar[data-tone="e"] { background: #F0DFCF; }
.tcard__id { min-width: 0; }
.tcard__name {
  display: flex; align-items: center; gap: 5px;
  font-size: 15px; font-weight: 700; line-height: 1.3;
}
.tcard__verified { color: var(--accent); flex: none; }
.tcard__biz { display: block; font-size: 12px; color: var(--muted); }
.stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 10px; }
.tcard__quote { font-size: 15px; font-style: italic; color: #3B4757; }

.tcard--video { padding-top: var(--s2); }
.rail--video { grid-auto-columns: 236px; }
.vthumb {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 9 / 16; border-radius: var(--r-sm); margin-bottom: 14px;
  background: var(--alt);
}
.vthumb img { width: 100%; height: 100%; object-fit: cover; }
.vthumb__play {
  position: absolute; inset: 0; margin: auto;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .93); color: var(--accent);
  box-shadow: 0 4px 14px rgba(15, 23, 42, .28);
  transition: transform .2s ease;
}
.vthumb:hover .vthumb__play { transform: scale(1.1); }

.railnav {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: var(--s3);
}
.dots { display: flex; gap: 7px; }
.dots span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--hairline);
  transition: all .2s ease;
}
.dots span.is-active { background: var(--accent); width: 22px; border-radius: 999px; }
.railnav__btns { display: flex; gap: 10px; }

/* =====================================================================
   9. CLIENT SHOWCASE — real account screenshots
   ===================================================================== */
.wcard { overflow: hidden; padding: 0; margin: 0; }
.wcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-accent); border-color: rgba(253, 152, 0, .42); }
.wcard__shot { line-height: 0; }
.wcard__shot img { width: 100%; height: auto; }
.wcard__foot {
  /* fixed height so the two-line names line up with the one-line ones */
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 66px; padding: 12px 18px; border-top: 1px solid var(--hairline);
}
.wcard__name { font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 1.25; }
.wcard__plat { color: var(--muted); flex: none; transition: color .18s ease; }
.wcard:hover .wcard__plat { color: var(--accent); }

/* =====================================================================
   9. CTA BANNER
   ===================================================================== */
.ctacard {
  background: var(--white); border: 2px solid var(--accent);
  border-radius: var(--r-lg); padding: var(--s6);
  text-align: center; box-shadow: var(--shadow);
}
.ctacard__sub { margin: var(--s2) auto 0; max-width: 520px; font-size: 16px; color: var(--muted); }
.miniform {
  display: flex; justify-content: center; gap: 12px;
  margin-top: var(--s4); flex-wrap: wrap;
}
.ctacard__alt { margin-top: var(--s3); font-size: 14px; color: var(--muted); }
.ctacard__alt a { color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.ctacard__alt a:hover { color: var(--accent-dark); }

.miniform input { width: 240px; }
.miniform .btn { flex: none; }

/* =====================================================================
   SITE SCREENSHOT CARDS
   ===================================================================== */
.shot { display: block; overflow: hidden; padding: 0; color: inherit; }
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-accent); border-color: rgba(253, 152, 0, .42); }
.shot__frame { position: relative; background: var(--ink); }
.shot__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px; background: var(--ink);
}
.shot__bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.shot__bar span:first-child { background: #FF5F57; }
.shot__bar span:nth-child(2) { background: #FEBC2E; }
.shot__bar span:nth-child(3) { background: #28C840; }
.shot__bar em {
  flex: 1; margin-left: 8px; padding: 3px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .72);
  font-style: normal; font-size: 11px; text-align: center;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.shot__frame img { display: block; width: 100%; height: auto; }
.shot__foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  padding: 14px 16px; border-top: 1px solid var(--hairline);
}
.shot__name { display: block; font-family: var(--display); font-weight: 700; font-size: 15.5px; line-height: 1.25; }
.shot__cat { display: block; font-size: 12.5px; color: var(--muted); }
.shot__tech {
  flex: none; padding: 5px 10px; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent-dark);
  font-size: 10.5px; letter-spacing: .04em; text-align: right;
}

/* =====================================================================
   WHAT'S INCLUDED PANEL
   ===================================================================== */
.incl {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s6);
  align-items: center;
  padding: var(--s6); border-radius: var(--r-lg);
  background: var(--white); border: 1.5px solid var(--ink);
}
.incl__intro .sechead__sub { margin: var(--s2) 0 var(--s4); }
.incl__intro .h2 { margin-top: 4px; }
.incl__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px var(--s3); }
.incl__list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; line-height: 1.45; }

@media (max-width: 900px) {
  .incl { grid-template-columns: 1fr; gap: var(--s4); padding: var(--s4); }
  .incl__list { grid-template-columns: 1fr; }
}

/* =====================================================================
   WEBSITE PORTFOLIO LIST (web-development.html)
   ===================================================================== */
.weblist { padding: var(--s3) var(--s4) var(--s4); max-width: 1000px; margin-inline: auto; }
.wl__head, .wl__row {
  display: grid; grid-template-columns: 1.5fr 1.1fr .9fr; gap: var(--s3); align-items: center;
}
.wl__head {
  padding: 10px 12px; border-bottom: 1.5px solid var(--ink);
  font-size: 11.5px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.wl__row { padding: 13px 12px; border-radius: 8px; border-bottom: 1px solid var(--hairline); }
.wl__row:last-child { border-bottom: 0; }
.wl__row:hover { background: var(--accent-wash); }
.wl__site {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 15px; color: var(--ink); word-break: break-word;
}
.wl__site svg { color: var(--accent); flex: none; transition: transform .16s ease; }
.wl__row:hover .wl__site { color: var(--accent-dark); }
.wl__row:hover .wl__site svg { transform: translateX(3px); }
.wl__tech { font-size: 13.5px; color: var(--muted); }
.wl__cat { font-size: 13px; color: var(--muted); }

/* =====================================================================
   KEYWORD RANKING CARDS (seo-aeo.html)
   ===================================================================== */
.rank { padding: var(--s4); }
.rank:hover { transform: translateY(-4px); box-shadow: var(--shadow-accent); border-color: rgba(253, 152, 0, .42); }
.rank__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; }
.rank__name { font-size: 21px; line-height: 1.2; }
.rank__sub { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.rank__sum {
  margin: 14px 0 var(--s2); padding-bottom: var(--s2);
  border-bottom: 1px solid var(--hairline); font-size: 14px; color: var(--muted);
}
.rank__sum b { color: var(--accent); font-weight: 700; }
.rank__list { display: flex; flex-direction: column; }
.rank__list li {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  padding: 9px 0; border-bottom: 1px solid var(--hairline); font-size: 14px;
}
.rank__list li:last-child { border-bottom: 0; }
.rank__pos {
  flex: none; min-width: 40px; text-align: center;
  padding: 3px 8px; border-radius: 6px;
  background: var(--alt); color: var(--muted);
  font-family: var(--display); font-weight: 700; font-size: 13px;
}
.rank__pos.is-one { background: var(--accent); color: var(--on-accent); }

@media (max-width: 640px) {
  .weblist { padding: var(--s3); }
  .wl__head { display: none; }
  .wl__row { grid-template-columns: 1fr; gap: 4px; }
  .rank { padding: var(--s3); }
  .rank__list li { font-size: 13.5px; }
}

/* =====================================================================
   CASE STUDY CARDS
   ===================================================================== */
.cs { padding: var(--s4); }
.cs:hover { transform: translateY(-4px); box-shadow: var(--shadow-accent); border-color: rgba(253, 152, 0, .42); }
.cs__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; }
.cs__name { font-size: 22px; line-height: 1.2; }
.cs__spend {
  margin: 14px 0 var(--s3); padding-bottom: var(--s3);
  border-bottom: 1px solid var(--hairline);
  font-size: 15px; color: var(--muted);
}
.cs__spend b { font-family: var(--display); font-size: 20px; color: var(--ink); }
.cs__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.cs__stats li { display: flex; flex-direction: column; gap: 2px; }
.cs__stats b {
  font-family: var(--display); font-weight: 700; font-size: 26px;
  color: var(--accent); line-height: 1.1; letter-spacing: -.02em;
}
.cs__stats span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.cs__note {
  max-width: 720px; margin: var(--s4) auto 0; text-align: center;
  font-size: 13px; color: var(--muted);
}

/* =====================================================================
   10. FAQ
   ===================================================================== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { border-radius: var(--r-sm); overflow: hidden; }
.faq__item.is-open { border-color: rgba(253, 152, 0, .45); box-shadow: var(--shadow-accent); }
.faq__q {
  display: flex; align-items: center; gap: 14px;
  width: 100%; padding: 20px; text-align: left;
}
.faq__n { font-size: 13px; color: var(--muted); flex: none; width: 18px; }
.faq__text { flex: 1; font-size: 17px; font-weight: 500; }
.faq__toggle {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-tint); color: var(--accent);
  transition: transform .25s ease, background .2s ease, color .2s ease;
}
.faq__item.is-open .faq__toggle { transform: rotate(135deg); background: var(--accent); color: var(--on-accent); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a-inner p {
  margin: 0 20px 20px 52px; /* aligns under the question text, past number + gap */
  padding-top: 16px; border-top: 1px solid var(--hairline);
  font-size: 15px; color: var(--muted);
}

/* =====================================================================
   11. FOOTER
   ===================================================================== */
.footer {
  background: var(--alt);
  border-top: 1px solid var(--hairline);
  padding-block: var(--s7);
}
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: var(--s4);
}
.footer__blurb { margin: var(--s2) 0 var(--s3); font-size: 14px; color: var(--muted); max-width: 300px; }
.footer__badges { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
/* White chips: several badge images carry their own white plate. */
.gbadge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 12px; border-radius: 10px;
  background: var(--white); border: 1.5px solid var(--ink);
  transition: border-color .18s ease, transform .18s ease;
}
.gbadge:hover { border-color: rgba(253, 152, 0, .5); transform: translateY(-2px); }
.gbadge img { height: 46px; width: auto; max-width: 150px; object-fit: contain; display: block; }

.footer__trust {
  display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap;
  margin-top: var(--s5); padding-top: var(--s4);
  border-top: 1px solid var(--hairline);
}
.footer__trust-label {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.footer__trust-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.footer__h {
  font-family: var(--label); font-weight: 500; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  margin-bottom: var(--s2);
}
.footer__list { display: flex; flex-direction: column; gap: 10px; }
.footer__list a, .footer__list span { font-size: 14px; color: var(--muted); }
.footer__list a:hover { color: var(--accent); }
.footer__list--contact li { display: flex; align-items: flex-start; gap: 9px; }
.footer__list--contact svg { color: var(--accent); flex: none; margin-top: 3px; }

.newsletter { display: flex; gap: 8px; margin-top: var(--s3); }
.newsletter input { flex: 1; min-width: 0; padding: 11px 14px; font-size: 14px; }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s3); flex-wrap: wrap;
  margin-top: var(--s4); padding-top: var(--s3);
  border-top: 1px solid var(--hairline);
}
.footer__bottom p { font-size: 12px; color: var(--muted); }
.footer__bottom-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--accent); color: var(--accent);
  transition: background .18s ease, color .18s ease;
}
.social:hover { background: var(--accent); color: var(--on-accent); }
.footer__legal { font-size: 12px; color: var(--muted); }
.footer__legal:hover { color: var(--accent); }

/* =====================================================================
   REVEAL ON SCROLL
   ===================================================================== */
/* Uses the standalone `translate` property, not `transform`, so it never
   collides with the hover lifts defined on cards above. */
.reveal { opacity: 0; translate: 0 18px; transition: opacity .6s ease, translate .6s ease; }
.reveal.is-in { opacity: 1; translate: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1240px) {
  :root { --gutter: 48px; }
}

/* Six nav items plus a phone number stop fitting around 1180px;
   the number is still in the footer and on the ads page header. */
@media (max-width: 1180px) {
  .nav__phone, .nav__dl { display: none; }
  .nav__links { gap: var(--s3); }
  .nav__inner { gap: var(--s3); }
}

@media (max-width: 1080px) {
  :root { --s8: 72px; --nav-h: 72px; }
  .hero__h1 { font-size: 48px; }
  .h2 { font-size: 34px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: 1fr; }
  .timeline__steps { grid-template-columns: repeat(2, 1fr); }
  .timeline__line { display: none; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); row-gap: var(--s5); }
}

@media (max-width: 900px) {
  .nav__links, .nav__phone { display: none; }
  .nav__group { display: none; }
  .nav__burger { display: inline-flex; }
  .nav.is-open .nav__mobile { display: flex; }
  .hero { padding-block: var(--s5) var(--s7); }
  .hero__grid { grid-template-columns: 1fr; gap: var(--s7); min-height: 0; }
  .hero__sub { max-width: none; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .ctacard { padding: var(--s5) var(--s3); }
}

/* Below ~560px the logo, CTA and burger stop fitting side by side. */
@media (max-width: 560px) {
  .nav__inner { gap: 10px; }
  .nav__right { gap: 8px; }
  .nav__right .btn--pill { padding: 10px 14px; font-size: 13.5px; }
  .logo img { height: 28px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 640px) {
  :root { --s8: 60px; --gutter: 24px; }
  .logo img { height: 32px; }
  .hero__h1 { font-size: 36px; }
  .hero__sub { font-size: 16px; }
  .h2 { font-size: 28px; }
  .hero__stats { gap: 14px; }
  .hstat + .hstat { padding-left: 14px; }
  .formcard { padding: var(--s3); }
  .grid--4, .grid--3, .timeline__steps { grid-template-columns: 1fr; }
  .svc, .step { min-height: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .banner { padding: var(--s4) var(--s3); }
  .banner__h { font-size: 20px; }
  .miniform input { width: 100%; }
  .miniform .btn { width: 100%; }
  .rail { grid-auto-columns: 82%; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   SHORT VIEWPORTS
   On a 1366x768 laptop the form's submit button fell below the fold,
   so the main CTA was never seen. These rules compact the hero (and
   only the hero) as the viewport gets shorter. Tall screens are
   untouched. Width guard keeps it off the stacked mobile layout.
   ===================================================================== */
@media (min-width: 901px) and (max-height: 900px) {
  :root { --nav-h: 70px; }

  .hero { padding-block: 34px var(--s5); }
  .hero__grid { gap: var(--s5); }
  .hero__h1 { font-size: 48px; }
  .hero__sub { font-size: 17px; }
  .hero__stats { margin-top: var(--s3); }
  .hero__chips { margin-top: var(--s3); }

  .formcard { padding: 24px; }
  .formcard__badge { padding: 5px 11px; }
  .formcard__h { margin: 12px 0 4px; font-size: 21px; }
  .formcard__sub { margin-bottom: 18px; font-size: 13px; }
  .field { margin-bottom: 12px; }
  .field label { margin-bottom: 4px; font-size: 12.5px; }
  /* padding-block only - the select needs its right padding for the arrow */
  .field input, .field select { padding-block: 11px; }
  .btn--lg { padding-block: 13px; font-size: 15px; }
  .formcard__micro { margin-top: 8px; }
}

@media (min-width: 901px) and (max-height: 790px) {
  .hero { padding-block: 24px var(--s4); }
  .hero__h1 { font-size: 42px; margin-bottom: var(--s2); }
  .hero__sub { font-size: 16px; }
  .hero__stats { margin-top: var(--s2); }
  .hero__chips { margin-top: var(--s2); }

  .formcard { padding: 20px; }
  .formcard__h { font-size: 19px; }
  .formcard__sub { margin-bottom: 14px; }
  .field { margin-bottom: 10px; }
  .field input, .field select { padding-block: 10px; }
  .btn--lg { padding-block: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; translate: none; }
}

/* =====================================================================
   6. GROWTH SCORECARD (interactive self-check)
   ===================================================================== */
.sc { display: grid; grid-template-columns: 1fr 340px; gap: var(--s3); align-items: start; }

.sc__main { padding: var(--s4); min-height: 420px; }
.sc__main:hover { transform: none; box-shadow: var(--shadow); }

.sc__bar { height: 4px; border-radius: 999px; background: var(--alt); overflow: hidden; }
.sc__bar-fill {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: var(--accent); transition: width .35s ease;
}
.sc__count { margin: 14px 0 var(--s2); font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.sc__q { animation: scIn .3s ease; }
.sc__q[hidden] { display: none; }
@keyframes scIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sc__q-t { font-size: 26px; line-height: 1.25; margin-bottom: var(--s3); }

.sc__opts { display: flex; flex-direction: column; gap: 10px; }
.sc__opt {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 15px 18px; border-radius: var(--r-sm); text-align: left;
  border: 1.5px solid var(--hairline); background: var(--white);
  font-size: 15.5px; font-weight: 500; color: var(--ink);
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.sc__opt:hover { border-color: var(--accent); background: var(--accent-wash); transform: translateX(3px); }
.sc__opt.is-picked { border-color: var(--accent); background: var(--accent-wash); }
.sc__key {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--alt); color: var(--muted);
  font-size: 12px; font-weight: 600;
}
.sc__opt:hover .sc__key, .sc__opt.is-picked .sc__key { background: var(--accent); color: var(--on-accent); }

.sc__back {
  margin-top: var(--s3); font-size: 14px; font-weight: 500; color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px;
}
.sc__back:hover { color: var(--accent); }
.sc__back[hidden] { display: none; }

/* --- result --- */
.sc__done[hidden] { display: none; }
.sc__done-h { font-size: 24px; line-height: 1.25; margin-bottom: var(--s3); }
.sc__gaps { display: flex; flex-direction: column; gap: 12px; margin-bottom: var(--s4); }
.sc__gaps li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--accent-wash); border: 1px solid var(--accent-tint);
  font-size: 15px;
}
.sc__gaps li b { display: block; font-weight: 600; margin-bottom: 2px; }
.sc__gaps li span { color: var(--muted); font-size: 14px; }
.sc__gaps li.is-good { background: #F2F7EE; border-color: #DCE7D2; }
.sc__gap-n {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  background: var(--accent); color: var(--on-accent);
  font-size: 12px; font-weight: 600;
}
.sc__gaps li.is-good .sc__gap-n { background: #5C8C43; color: #fff; }
.sc__cta { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.sc__again { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: underline; }
.sc__again:hover { color: var(--ink); }

/* --- live score panel --- */
.sc__panel { padding: var(--s4); text-align: center; position: sticky; top: calc(var(--nav-h) + 24px); }
.sc__panel:hover { transform: none; box-shadow: var(--shadow); }
.sc__ring { position: relative; width: 180px; margin: 0 auto var(--s2); }
.sc__ring svg { width: 100%; height: auto; transform: rotate(-90deg); }
.sc__track { fill: none; stroke: var(--alt); stroke-width: 9; }
.sc__arc {
  fill: none; stroke: var(--accent); stroke-width: 9; stroke-linecap: round;
  stroke-dasharray: 326.7; stroke-dashoffset: 326.7;
  transition: stroke-dashoffset .6s cubic-bezier(.4, 0, .2, 1), stroke .4s ease;
}
.sc__num {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 44px; letter-spacing: -.03em;
}
.sc__num i { font-style: normal; font-size: 17px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.sc__band { font-family: var(--display); font-weight: 700; font-size: 18px; }
.sc__hint { margin-top: 6px; font-size: 13px; color: var(--muted); }
.sc__live { display: flex; flex-direction: column; gap: 8px; margin-top: var(--s3); text-align: left; }
.sc__live li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--muted); animation: scIn .3s ease;
}
.sc__live li svg { flex: none; margin-top: 2px; }
.sc__live li.ok svg { color: #5C8C43; }
.sc__live li.bad svg { color: var(--accent); }

@media (max-width: 1080px) {
  .sc { grid-template-columns: 1fr; }
  .sc__panel { position: static; display: grid; grid-template-columns: 180px 1fr; gap: var(--s3); text-align: left; align-items: center; }
  .sc__ring { margin: 0; }
  .sc__live { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .sc__main { padding: var(--s3); min-height: 0; }
  .sc__q-t { font-size: 21px; }
  .sc__opt { font-size: 14.5px; padding: 13px 14px; }
  .sc__panel { grid-template-columns: 1fr; text-align: center; padding: var(--s3); }
  .sc__ring { margin: 0 auto; width: 150px; }
  .sc__cta .btn { width: 100%; }
}

/* =====================================================================
   VIDEO TESTIMONIAL LIGHTBOX
   ===================================================================== */
.vmodal {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.vmodal[hidden] { display: none; }
.vmodal__scrim {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, .74);
  backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  animation: vFade .25s ease;
}
@keyframes vFade { from { opacity: 0; } to { opacity: 1; } }
.vmodal__box {
  position: relative;
  animation: vPop .3s cubic-bezier(.2, .9, .3, 1.1);
}
@keyframes vPop { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }

.vmodal__frame {
  position: relative;
  height: min(76vh, 660px); aspect-ratio: 9 / 16;
  max-width: calc(100vw - 48px);
  border-radius: 20px; overflow: hidden;
  background: #000;
  box-shadow: 0 24px 64px rgba(15, 23, 42, .45);
}
.vmodal__frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}
.vmodal__x {
  position: absolute; top: -48px; right: 0;
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  transition: background .16s ease, transform .16s ease;
}
.vmodal__x:hover { background: #fff; transform: scale(1.06); }
.vmodal__offline {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 28px; text-align: center; color: #fff;
}
.vmodal__offline svg { color: var(--accent); }
.vmodal__offline-h { font-family: var(--display); font-weight: 700; font-size: 19px; }
.vmodal__offline-p { font-size: 13.5px; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.vmodal__offline-p b { color: #fff; font-weight: 600; }
.vmodal__offline .btn { margin-top: 6px; }

.vmodal__name {
  margin-top: 14px; text-align: center;
  color: #fff; font-weight: 600; font-size: 15px;
}

/* the card thumbnail is now a button-like control */
.vthumb { cursor: pointer; }

@media (max-width: 560px) {
  .vmodal { padding: 16px; }
  .vmodal__frame { height: min(72vh, 560px); }
  .vmodal__x { top: -44px; }
}
