/* ===================================================================
 *  SOFTOPIX Theme
 *  Dark, premium AI-tech design system for the Softopix rebuild.
 *  Replaces Glint's original base.css/main.css component styles.
 *
 *  TOC:
 *  # fonts (self-hosted)
 *  # custom properties
 *  # reset
 *  # base typography
 *  # layout / container
 *  # buttons
 *  # header / nav
 *  # hero
 *  # eyebrow / section labels
 *  # cards
 *  # stat strip
 *  # service page components
 *  # faq accordion
 *  # cta band
 *  # footer
 *  # motion / reveal
 *  # responsive
 * =================================================================== */

/* ===================================================================
 * # fonts (self-hosted)
 * ------------------------------------------------------------------- */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/space-grotesk/space-grotesk-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter/inter-variable.woff2") format("woff2");
}

/* ===================================================================
 * # custom properties
 * ------------------------------------------------------------------- */
:root {
  /* color system */
  --bg: #0a0c18;
  --surface: #12152a;
  --surface-raised: #171b34;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(124, 108, 255, 0.45);
  --text: #f5f4ef;
  --muted: #9aa0b5;
  --primary: #7c6cff;
  --accent: #00e5c3;
  --gradient: linear-gradient(135deg, #7c6cff, #00e5c3);

  /* type */
  --font-heading: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;

  /* spacing / shape */
  --container-w: 1180px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* shadow / glow */
  --glow-primary: 0 0 0 1px rgba(124, 108, 255, 0.25), 0 8px 32px -8px rgba(124, 108, 255, 0.45);
  --glow-accent: 0 0 24px rgba(0, 229, 195, 0.35);
}

/* ===================================================================
 * # reset
 * ------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

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

/* ===================================================================
 * # base typography
 * ------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
}

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

h3 {
  font-size: clamp(20px, 2.4vw, 26px);
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===================================================================
 * # layout / container
 * ------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 64px 0;
}

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

/* ===================================================================
 * # buttons
 * ------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient);
  color: var(--bg);
  box-shadow: var(--glow-primary);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(124, 108, 255, 0.4), 0 14px 40px -10px rgba(124, 108, 255, 0.6);
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--secondary:hover {
  border-color: var(--border-hover);
  background: rgba(124, 108, 255, 0.08);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ===================================================================
 * # header / nav
 * ------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(10, 12, 24, 0.85);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.logo__img {
  height: 32px;
  width: auto;
  display: block;
}

.footer-brand .logo__img {
  height: 28px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--text);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  flex-shrink: 0;
}

.nav-item {
  position: relative;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}

.nav-item:hover .nav__dropdown,
.nav-item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.nav__dropdown a:hover {
  background: rgba(124, 108, 255, 0.1);
  color: var(--text);
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--accent);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  z-index: 1000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ===================================================================
 * # hero
 * ------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 200px 0 120px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124, 108, 255, 0.28) 0%, rgba(0, 229, 195, 0.12) 40%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin-bottom: 0.4em;
}

.hero__subhead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 2.2em;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 3.5em;
}

/* ===================================================================
 * # eyebrow / section labels
 * ------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.2em;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: var(--glow-accent);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head p {
  margin-bottom: 0;
}

/* ===================================================================
 * # cards
 * ------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px -20px rgba(124, 108, 255, 0.35);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 108, 255, 0.12);
  border: 1px solid rgba(124, 108, 255, 0.25);
  color: var(--accent);
  margin-bottom: 20px;
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  margin-bottom: 0.5em;
}

.card p {
  margin-bottom: 0;
  font-size: 15px;
}

/* ===================================================================
 * # grids
 * ------------------------------------------------------------------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

/* ===================================================================
 * # stat strip
 * ------------------------------------------------------------------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.stat {
  text-align: center;
}

.stat__value {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}

.stat__label {
  font-size: 13px;
  color: var(--muted);
}

/* ===================================================================
 * # service page components
 * ------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}

.page-hero__glow {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 229, 195, 0.2) 0%, rgba(124, 108, 255, 0.1) 45%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 2em;
}

.breadcrumb a {
  color: var(--muted);
  transition: color 0.2s ease;
}

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

.breadcrumb span {
  color: var(--text);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.check-list li:last-child {
  border-bottom: none;
}

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

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-top: 8px;
}

.process-step__num {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.process-steps--compact {
  grid-template-columns: repeat(2, 1fr);
}

.process-step h3 {
  font-size: 17px;
}

.process-step p {
  font-size: 14.5px;
  margin-bottom: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

/* ===================================================================
 * # forms
 * ------------------------------------------------------------------- */
.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s ease;
}

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

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%239aa0b5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: -8px;
  margin-bottom: 20px;
}

.form-status {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  margin-top: 16px;
}

.form-status.is-visible {
  display: flex;
}

.form-status--success {
  background: rgba(0, 229, 195, 0.1);
  border: 1px solid rgba(0, 229, 195, 0.35);
  color: var(--text);
}

.form-status--error {
  background: rgba(255, 99, 99, 0.1);
  border: 1px solid rgba(255, 99, 99, 0.35);
  color: var(--text);
}

form.is-submitted .form-fields,
form.is-submitted .btn[type="submit"] {
  display: none;
}

/* ===================================================================
 * # avatar / coming-soon placeholders
 * ------------------------------------------------------------------- */
.avatar-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  color: var(--bg);
  flex-shrink: 0;
}

.coming-soon-card {
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  color: var(--muted);
}

.coming-soon-card h3 {
  color: var(--text);
  margin-bottom: 0.4em;
}

.coming-soon-card p {
  margin-bottom: 0;
  font-size: 14.5px;
}

.tag-pending {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 229, 195, 0.1);
  border: 1px solid rgba(0, 229, 195, 0.3);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  margin-bottom: 16px;
}

/* ===================================================================
 * # testimonial cards (unused until real testimonials are added — see
 *   commented block in index.html)
 * ------------------------------------------------------------------- */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.testimonial-card p {
  color: var(--text);
  font-size: 16px;
  margin-bottom: 24px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__author strong {
  display: block;
  font-size: 14.5px;
  color: var(--text);
}

.testimonial-card__author span {
  font-size: 13px;
  color: var(--muted);
}

/* ===================================================================
 * # faq accordion
 * ------------------------------------------------------------------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.faq-item__icon::before {
  width: 14px;
  height: 2px;
  top: 10px;
  left: 4px;
}

.faq-item__icon::after {
  width: 2px;
  height: 14px;
  top: 4px;
  left: 10px;
}

.faq-item.is-open .faq-item__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item__a p {
  padding-bottom: 24px;
  margin: 0;
  font-size: 15px;
}

/* ===================================================================
 * # cta band
 * ------------------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(124, 108, 255, 0.18), transparent 60%);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin-bottom: 0.3em;
}

.cta-band p {
  max-width: 520px;
  margin: 0 auto 2em;
}

.cta-band__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===================================================================
 * # legal / prose content
 * ------------------------------------------------------------------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
}

.legal h2 {
  font-size: 24px;
  margin-top: 2em;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 15.5px;
}

.legal ul {
  list-style: disc;
  padding-left: 1.4em;
  margin-bottom: 1em;
}

.legal li {
  margin-bottom: 0.5em;
}

.legal-notice {
  background: var(--surface);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 2.5em;
  font-size: 14.5px;
  color: var(--text);
}

/* ===================================================================
 * # footer
 * ------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

.footer-brand p {
  font-size: 14.5px;
  max-width: 280px;
  margin: 16px 0 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
  color: var(--accent);
  border-color: var(--border-hover);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 1.4em;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 14.5px;
  color: var(--text);
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer-bottom a {
  color: var(--muted);
}

.footer-bottom a:hover {
  color: var(--text);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

/* ===================================================================
 * # motion / reveal
 * ------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
 * # responsive
 * ------------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav__links,
  .nav__actions .btn--secondary {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav__links {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 40px 32px;
    background: var(--surface);
    border-left: 1px solid var(--border);
    transition: right 0.3s ease;
    z-index: 99;
  }

  .nav.is-open .nav__links {
    right: 0;
  }

  .nav__links a {
    font-size: 18px;
    padding: 10px 0;
    width: 100%;
  }

  .nav-item {
    width: 100%;
  }

  .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 16px;
    margin-top: 4px;
  }

  .nav-item.is-open .nav__dropdown {
    display: block;
  }

  body.nav-open {
    overflow: hidden;
  }

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

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

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 640px) {
  .hero {
    padding: 160px 0 80px;
  }

  .page-hero {
    padding: 140px 0 60px;
  }

  .section {
    padding: 64px 0;
  }

  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .process-steps,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 40px 24px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
