/* ============================================================
 * Namastey Network — Improved Stylesheet
 * Based on taste-skill redesign + impeccable audit
 * Preserves: dark-blue color scheme, Montserrat/Poppins fonts, all content
 * Improves: spacing system, card depth, typography hierarchy,
 *           micro-interactions, responsive behavior, visual cohesion
 * ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
}

/* ── Design Tokens ─────────────────────────────────── */
:root {
  /* Brand (unchanged) */
  --blue: #0066ff;
  --blue-400: #2f80ff;
  --blue-600: #0052e0;
  --orange: #f36c3d;
  --black: #050505;
  --ink: #151515;
  --muted: #646464;
  --line: #e8e5e1;
  --paper: #f4f6f9;
  --white: #ffffff;

  /* New: depth & interaction tokens */
  --shadow-sm: 0 1px 3px rgba(5, 12, 30, 0.06);
  --shadow-md: 0 4px 14px rgba(5, 12, 30, 0.08);
  --shadow-lg: 0 10px 30px rgba(5, 12, 30, 0.10);
  --shadow-blue: 0 6px 18px rgba(0, 82, 224, 0.22);
  --radius-sm: 7px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --transition-fast: 160ms ease;
  --transition-smooth: 240ms cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Spacing scale */
  --space-xs: 6px;
  --space-sm: 10px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 34px;
  --space-2xl: 44px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: Poppins, Montserrat, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 0.98rem;
}

/* ── Typography ────────────────────────────────────── */
h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.1;
  font-family: Montserrat, Poppins, sans-serif;
  letter-spacing: -0.01em;
}

h1 {
  margin-top: var(--space-sm);
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
}

h3 {
  font-size: 1.08rem;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* ── Buttons ───────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-smooth);
  letter-spacing: 0.01em;
}

.button.primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.25);
}
.button.primary:hover {
  background: #005ae6;
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.35);
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.button.secondary:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-1px);
}

/* hero sits on a dark background — make the secondary CTA readable + paired with primary */
.hero-cta .button.secondary {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border-color: rgba(120, 170, 255, 0.55);
}
.hero-cta .button.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(160, 195, 255, 0.85);
  color: #fff;
  transform: translateY(-1px);
}

.button.ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}
.button.ghost:hover {
  border-color: #c5c0bb;
  background: #f9f8f6;
}

/* ── Header ────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}
.brand:hover { opacity: 0.85; }

.brand img {
  width: 178px;
  max-width: 45vw;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.86rem;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px; border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform var(--transition-smooth);
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--blue); }
.nav-links a:hover::after,
.nav-links a:focus-visible::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  gap: 8px;
}

/* Nav dropdowns */
.navdd { position: relative; }
.navdd > summary { list-style: none; cursor: pointer; }
.navdd > summary::-webkit-details-marker { display: none; }
.navdd > summary::marker { content: ""; }
.navdd-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 40;
  display: grid; gap: 2px;
}
.navdd-menu a {
  display: block; padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink);
  font-size: 0.84rem; font-weight: 600;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.navdd-menu a:hover { background: var(--paper); color: var(--blue); }
.navdd .cv { font-size: 0.7em; margin-left: 3px; opacity: 0.85; }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,102,255,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -20%; left: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,102,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner,
.section-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  padding: 46px 0 36px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: #7fb0ff;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.76rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--blue);
  border-radius: 1px;
  flex-shrink: 0;
}

.section-head .eyebrow {
  color: var(--blue);
}
.section-head .eyebrow::before {
  background: var(--blue);
}

.eyebrow.light {
  color: #cfe0ff;
}
.eyebrow.light::before {
  background: rgba(255,255,255,0.5);
}

.lead {
  margin: 14px 0 0;
  color: #c5c5c5;
  font-size: 1.02rem;
  max-width: 680px;
  line-height: 1.6;
}

.hero-cta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-art { width: 100%; }
.hero-art svg { width: 100%; height: auto; display: block; }

/* ── Section bands ─────────────────────────────────── */
.band {
  padding: var(--space-2xl) 0;
}

.band.alt {
  background: var(--paper);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: var(--space-lg);
}

/* ── Trust bar ─────────────────────────────────────── */
.trust-bar {
  background: var(--black);
  color: var(--white);
  border-top: 1px solid #1f1f1f;
  padding: var(--space-sm) 0;
}

.trust-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #1f1f1f;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.trust-cell {
  background: #0b0b0b;
  padding: 14px 10px;
  text-align: center;
  transition: background var(--transition-smooth);
}
.trust-cell:hover {
  background: #111;
}

.trust-cell strong {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 1.8rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.trust-cell span {
  display: block;
  color: #b9b9b9;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}

.trust-cell .trust-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-400);
  margin-bottom: 10px;
}

.trust-cell .trust-ic .icon {
  width: 28px; height: 28px;
  stroke-width: 1.8;
}

/* ── Grids & cards ─────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  align-items: start;
}

.grid.two   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.four  { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.five  { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card.dark {
  background: var(--black);
  color: var(--white);
  border-color: #222;
}

.card h3 { margin-bottom: 8px; }
.card p, .card li { color: var(--muted); font-size: 0.92rem; }

/* ── About ─────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
  align-items: start;
}
.about-grid p { color: var(--muted); line-height: 1.65; }
.about-grid p + p { margin-top: 12px; }

.value-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
}
.value-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.92rem;
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
}
.value-list li:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(2px);
}
.value-list li b { display: block; font-size: 0.98rem; }
.value-list li span { color: var(--muted); font-size: 0.88rem; }

/* ── Why Namastey (no numbered markers) ─────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.why-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  position: relative;
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth), border-color var(--transition-smooth);
}
.why-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: transparent;
}

.why-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.why-head .icon-badge {
  width: 48px; height: 48px;
  flex-shrink: 0;
}
.why-head .icon-badge .icon {
  width: 25px; height: 25px;
  stroke-width: 2.1;
}

/* No numbered markers (01-06) — removed per impeccable */
.why-item .why-ico { display: none; }

.why-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.why-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ── Traffic Inventory ─────────────────────────────── */
.inventory-band {
  background: linear-gradient(135deg, var(--blue), #0052e0);
  color: var(--white);
}

.inventory-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: var(--space-lg);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.inventory-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.inv-chip {
  display: inline-flex;
  align-items: center;
  padding: 11px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.inv-chip:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ── Vertical blocks (3 columns, each with accent header) ── */
.vert-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: start;
}

.vert-block {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition-smooth);
}

.vert-block:hover {
  box-shadow: var(--shadow-md);
}

.vert-head {
  padding: 16px 18px 14px;
  border-bottom: 3px solid var(--blue);
}
.vert-block.acc-orange .vert-head { border-bottom-color: var(--orange); }
.vert-block.acc-dark .vert-head  { border-bottom-color: var(--black); }

.vert-head h3 {
  font-size: 1.12rem;
  margin-bottom: 4px;
}
.vert-head span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.vrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: background var(--transition-fast), padding-left var(--transition-fast);
}
.vrow:hover {
  background: var(--paper);
  padding-left: 22px;
}

.vrow .vrow-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(0, 102, 255, 0.12);
  color: var(--blue);
  flex: none;
}
.vrow .vrow-ico .icon { width: 20px; height: 20px; }
.vrow .vrow-main { flex: 1; }

.acc-orange .vrow .vrow-ico,
.acc-dark .vrow .vrow-ico {
  background: rgba(243, 108, 61, 0.12);
  color: var(--orange);
}

.vrow .arr {
  color: var(--blue);
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}
.acc-orange .vrow .arr,
.acc-dark .vrow .arr {
  color: var(--ink);
}
.vrow:hover .arr {
  transform: translateX(4px);
}

.vrow b {
  display: block;
  font-size: 0.96rem;
}

/* ── Process / Stepper ─────────────────────────────── */
.stepper {
  position: relative;
}

.stepper::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  border-top: 2px dashed rgba(0, 102, 255, 0.3);
  z-index: 0;
}

.stepper .process-step {
  background: transparent;
  border: 0;
  padding: 0 10px;
  text-align: center;
  align-items: center;
  position: relative;
  z-index: 1;
}
.stepper .process-step:hover {
  transform: none;
  box-shadow: none;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.stepper .step-head {
  flex-direction: column-reverse;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.stepper .step-head .icon-badge {
  width: 54px; height: 54px;
  box-shadow: 0 0 0 8px var(--paper), var(--shadow-blue);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}
.stepper .process-step:hover .icon-badge {
  transform: scale(1.08);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-weight: 800;
  font-size: 0.82rem;
}

.stepper .step-number {
  width: auto; height: auto;
  min-width: 0;
  background: transparent;
  color: var(--blue);
  border-radius: 0;
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}
.stepper .step-number::before {
  content: "STEP\00A0";
}

.stepper h3 { font-size: 1.02rem; }
.stepper p { color: var(--muted); font-size: 0.86rem; line-height: 1.5; }

/* ── Publishers / Advertisers ──────────────────────── */
.pa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.pa-col {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition-smooth);
}
.pa-col:hover {
  box-shadow: var(--shadow-md);
}

.pa-head-wrap {
  padding: 16px 18px 14px;
  border-bottom: 3px solid var(--blue);
}
.pa-col.acc-orange .pa-head-wrap {
  border-bottom-color: var(--orange);
}

.pa-head {
  font-size: 1.18rem;
}
.pa-sub {
  margin: 4px 0 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.86rem;
}
.acc-orange .pa-sub {
  color: var(--orange);
}

.pa-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: start;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
}

.pa-item .row-icon {
  grid-row: span 2;
  margin-top: 1px;
}
.acc-orange .pa-item .row-icon {
  background: rgba(243, 108, 61, 0.12);
  color: var(--orange);
}

.pa-item b {
  font-size: 0.96rem;
}
.pa-item span {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.5;
}

.pa-cta {
  margin: auto 18px 18px;
  align-self: stretch;
}

/* ── Quality ───────────────────────────────────────── */
.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.quality-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: background var(--transition-fast), box-shadow var(--transition-smooth);
}
.quality-item:hover {
  background: #fafafa;
  box-shadow: var(--shadow-sm);
}
.quality-item .row-icon {
  grid-row: span 2;
  margin-top: 1px;
}

.quality-item b {
  display: block;
  line-height: 1.2;
  font-size: 0.98rem;
}

.quality-item span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ── Testimonials ──────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testi-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
}
.testi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testi-card .stars {
  color: var(--blue);
  font-size: 0.82rem;
  letter-spacing: 2px;
}

.testi-card .quote {
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.45;
  position: relative;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testi-card .quote::before {
  content: "\201C";
  color: var(--blue);
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 0;
  vertical-align: -0.35em;
  margin-right: 4px;
}

.testi-card .read-more {
  margin-top: auto;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
}
.testi-card .read-more:hover {
  text-decoration: underline;
}

.testi-who {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-600));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  overflow: hidden;
}

.testi-av img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.testi-who b { display: block; font-size: 0.93rem; }
.testi-who span { color: var(--muted); font-size: 0.82rem; }

/* single-row auto-scrolling testimonials */
.testi-marquee {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.testi-track {
  display: flex;
  width: max-content;
  align-items: stretch;
  animation: testi-scroll 65s linear infinite;
}
.testi-marquee:hover .testi-track { animation-play-state: paused; }
.testi-marquee .testi-card {
  flex: 0 0 340px;
  width: 340px;
  margin-right: 22px;
}
@keyframes testi-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .testi-marquee .testi-card { flex-basis: 282px; width: 282px; }
}
@media (prefers-reduced-motion: reduce) {
  .testi-track { animation: none; }
}

.testi-section-cta {
  margin-top: 26px;
  text-align: center;
}
.testi-section-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.testi-section-cta a:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* full testimonials page layout */
.testi-full-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}

.testi-full {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition-smooth);
}
.testi-full:hover {
  box-shadow: var(--shadow-md);
}

.testi-full-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}
.testi-full-head .testi-av {
  width: 52px;
  height: 52px;
  font-size: 1.2rem;
}
.testi-full-head b {
  display: block;
  font-size: 1.05rem;
}
.testi-full-head span {
  color: var(--muted);
  font-size: 0.86rem;
}

.testi-full .stars {
  color: var(--blue);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testi-full p {
  margin: 0;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.6;
}
.testi-full p + p {
  margin-top: 8px;
}

@media (max-width: 860px) {
  .testi-full-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Events ────────────────────────────────────────── */
.events-band {
  background: var(--black);
  color: var(--white);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.events-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 600px 500px at 80% 20%, rgba(0,102,255,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 20% 80%, rgba(0,102,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.events-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.events-collage-single {
  display: block;
}
.events-collage-single img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid #1f2740;
  display: block;
  transition: transform var(--transition-smooth);
}

.events-info h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  margin: 8px 0 12px;
}

.events-info p {
  color: #cfcfcf;
  margin: 0 0 16px;
  line-height: 1.6;
}

.event-list-v {
  display: grid;
}

.event-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid #242424;
  transition: background var(--transition-fast);
}

.event-row b {
  font-size: 1rem;
  font-weight: 600;
}

.event-row span {
  color: #9fb4d8;
  font-size: 0.86rem;
}

/* ── Blog ──────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: stretch;
}

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
}
.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.post-card .post-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: var(--black);
}

.post-card .post-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.post-card h3 {
  font-size: 1.08rem;
  line-height: 1.25;
}

.post-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.post-meta {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── CTA ───────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--blue), #0052e0);
  color: var(--white);
}

.cta-wrap {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.cta-wrap h2 {
  margin-bottom: 8px;
}

.cta-wrap p {
  color: #dce6ff;
  margin: 0;
}

/* ── Footer ────────────────────────────────────────── */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr repeat(4, 1fr);
  gap: 28px;
  color: #cfcfcf;
  font-size: 0.9rem;
}

.footer-grid img {
  width: 170px;
  filter: brightness(0) invert(1);
  margin-bottom: 8px;
}

.footer-grid a {
  color: #ffffff;
  text-decoration: none;
  transition: color var(--transition-fast);
  line-height: 1.9;
}
.footer-grid a:hover {
  color: var(--blue-400);
}

.footer-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: #fff;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: 14px;
  font-size: 0.82rem;
}

.social-row a {
  color: #cfcfcf;
  text-decoration: none;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  padding: 6px 14px;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}
.social-row a:hover {
  border-color: var(--blue-400);
  color: var(--blue-400);
}

.footer-bottom {
  width: min(1160px, calc(100% - 32px));
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid #1d1d1d;
  color: #8c8c8c;
  font-size: 0.8rem;
}

/* ── Icons ─────────────────────────────────────────── */
.svg-sprite {
  position: absolute; width: 0; height: 0; overflow: hidden;
}

.icon {
  width: 22px; height: 22px;
  flex: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #1f7bff, var(--blue-600));
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.icon-badge .icon {
  width: 25px; height: 25px;
  stroke-width: 2.1;
}

.row-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(0, 102, 255, 0.1);
  color: var(--blue);
  flex: none;
  transition: transform var(--transition-fast);
}

.row-icon .icon {
  width: 20px; height: 20px;
}

/* ── Text helpers ──────────────────────────────────── */
.text-muted {
  color: var(--muted);
  margin: 0;
  font-size: 0.94rem;
}

.mini-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 102, 255, 0.1);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Forms ─────────────────────────────────────────── */
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid label {
  display: grid;
  gap: 6px;
  color: #333;
  font-size: 0.84rem;
  font-weight: 700;
}

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

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

textarea { min-height: 120px; resize: vertical; }

.req-legend {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 4px;
  font-weight: 600;
}

.field-note {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

.hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 10px;
}

.niche-fieldset {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 0;
}
.niche-fieldset legend {
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0 8px;
  color: var(--ink);
}

.niche-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 14px;
}
.niche-col h5 {
  margin: 0 0 8px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  font-weight: 800;
}
.niche-col .check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
  padding: 4px 0;
}
.niche-col .check input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  margin: 0;
}
.niche-other {
  display: grid;
  gap: 6px;
  color: #333;
  font-size: 0.84rem;
  font-weight: 700;
}

button[type="submit"] {
  width: 100%;
  margin-top: 18px;
  padding: 14px;
  font-size: 0.95rem;
}

/* Form page two-column layout */
.form-split {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 28px;
  align-items: start;
}
.form-aside {
  position: sticky;
  top: 90px;
  background: linear-gradient(135deg, #0a1330, #1a2f55);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
}
.form-aside h3 {
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0 14px;
}
.form-aside ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 12px;
}
.form-aside li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #d5dce8;
}
.form-aside li::before {
  content: "→";
  color: var(--blue-400);
  font-weight: 800;
  flex-shrink: 0;
}
.form-aside .aside-cta {
  display: block;
  margin-top: 16px;
  padding: 12px;
  text-align: center;
  border-radius: var(--radius-sm);
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}
.form-aside .aside-cta:hover {
  background: #e0602f;
}

@media (max-width: 860px) {
  .form-split { grid-template-columns: 1fr; }
  .form-aside { position: static; }
  .niche-grid { grid-template-columns: 1fr; }
}

/* ── FAQ ───────────────────────────────────────────── */
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: border-color var(--transition-fast);
}
.faq details:hover {
  border-color: #c5c0bb;
}
.faq details + details { margin-top: 10px; }
.faq details[open] {
  border-color: var(--blue);
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
}
.faq p { margin-bottom: 0; color: var(--muted); }

/* ── Article ───────────────────────────────────────── */
.article {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 14px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--blue);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 18px;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.article-back:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.article-hero {
  margin-bottom: 22px;
}
.article-hero img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  background: linear-gradient(135deg, #0a1330, #1a2f55);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.article-meta .meta-date {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.article-meta .meta-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}
.article-meta .meta-author .meta-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-600));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 0.74rem;
}

.article h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
  margin: 24px 0 12px;
  max-width: none;
  line-height: 1.12;
}

.article h2 {
  font-size: 1.6rem;
  margin: 36px 0 12px;
  line-height: 1.2;
  scroll-margin-top: 90px;
}
.article h3 {
  font-size: 1.2rem;
  margin: 24px 0 8px;
  scroll-margin-top: 90px;
}
.article p, .article li { color: #2a2a2a; font-size: 1.03rem; line-height: 1.75; }
.article ul, .article ol { padding-left: 24px; }
.article li + li { margin-top: 6px; }
.article li::marker { color: var(--blue); }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.article strong { color: var(--ink); }
.article a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

.article blockquote {
  margin: 20px 0;
  padding: 16px 22px;
  border-left: 4px solid var(--blue);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.05rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article blockquote p { margin: 0; }

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.article-tags span {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 102, 255, 0.08);
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Blog index ────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: stretch;
}

.blog-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
  margin-bottom: var(--space-md);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
}
.blog-featured:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.blog-featured .post-thumb { aspect-ratio: 16 / 10; border-radius: 0; }
.blog-featured .post-body { padding: 28px 32px; }
.blog-featured .post-body h3 { font-size: 1.5rem; line-height: 1.2; }
.blog-featured .post-body p { font-size: 0.98rem; }

@media (max-width: 860px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured .post-thumb { aspect-ratio: 16 / 9; }
  .blog-featured .post-body { padding: 20px; }
}

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
}
.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.post-card .post-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #0a1330, #1a2f55);
}

.post-card .post-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.post-card h3 {
  font-size: 1.08rem;
  line-height: 1.25;
}

.post-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.post-card .post-read {
  margin-top: auto;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.84rem;
}

.post-meta {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* TOC for article */
.article-toc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 0 0 28px;
}
.article-toc::before {
  content: "On this page";
  display: block;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
}
.article-toc ol {
  margin: 0;
  padding-left: 18px;
}
.article-toc li {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}
.article-toc a {
  color: var(--ink);
  text-decoration: none;
}
.article-toc a:hover {
  color: var(--blue);
}

/* Related posts */
.related-posts {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 36px;
}
.related-posts h2 {
  font-size: 1.3rem;
  margin: 0 0 16px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
@media (max-width: 640px) {
  .related-grid { grid-template-columns: 1fr; }
}
.related-grid .post-card .post-thumb { aspect-ratio: 16 / 9; }
.related-grid .post-card h3 { font-size: 0.98rem; }

/* ── Team ──────────────────────────────────────────── */
.team-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
}

.tcard {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
}
.tcard:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.tcard-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--blue), var(--blue-600));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tcard-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.tcard-initials {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.04em;
}

.tbody {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.tbody h3 {
  font-size: 1.02rem;
  line-height: 1.2;
  margin: 0;
}
.trole {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.tlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}
.tlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.tlink.tli {
  background: #0a66c2;
  color: #fff;
  border-color: #0a66c2;
}
.tlink.tteams {
  background: #4b53bc;
  color: #fff;
  border-color: #4b53bc;
}
.tlink.ttg {
  background: #0088cc;
  color: #fff;
  border-color: #0088cc;
}
.tlink:hover {
  opacity: 0.85;
}

.social-note {
  margin-top: auto;
  padding-top: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .team-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .team-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .team-page-grid {
    grid-template-columns: 1fr;
  }
  .tcard {
    flex-direction: row;
  }
  .tcard-photo {
    width: 132px;
    aspect-ratio: 1;
    flex-shrink: 0;
  }
  .tcard-initials {
    font-size: 1.7rem;
  }
}

/* ── Subpage support ───────────────────────────────── */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 40px 0 28px;
}
.page-hero h1 { max-width: 900px; }
.page-hero .hero-cta { margin-top: 16px; }

.note { margin: 10px 0 0; color: var(--muted); font-size: 0.84rem; }

.form-center { width: min(720px, 100%); margin: 0 auto; }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: start;
}
.split .section-head { align-self: start; margin-bottom: 0; }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-art { display: none; }

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

@media (max-width: 860px) {
  h1 { font-size: clamp(2rem, 10vw, 3rem); }

  .band { padding: var(--space-xl) 0; }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 0.84rem;
  }

  .nav-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav-actions .button {
    width: 100%;
    padding-inline: 10px;
  }

  .navdd { width: 100%; }
  .navdd-menu {
    position: static;
    box-shadow: none;
    margin-top: 4px;
    min-width: 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
  }

  .hero-inner { padding-top: 32px; }

  .grid, .grid.two, .grid.four, .grid.five,
  .vert-cols, .why-grid, .pa-grid, .blog-grid,
  .testi-grid, .about-grid, .quality-grid,
  .events-split, .team-page-grid, .channel-grid,
  .case-grid, .form-grid, .cta-wrap {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .trust-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stepper::before { display: none; }
  .stepper .step-head .icon-badge { box-shadow: var(--shadow-blue); }

  /* Why items: icon + title side by side on mobile */
  .why-item {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: start;
  }
  .why-item .why-head { margin-bottom: 0; }
  .why-item h3 {
    margin-top: 0;
    align-self: center;
  }
  .why-item p {
    grid-column: 1 / -1;
    margin-top: 8px;
  }

  .section-head,
  .cta-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .quality-grid {
    gap: var(--space-sm);
    border: 0;
    overflow: visible;
  }
  .quality-item {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .button {
    width: 100%;
  }
}
