/* ==========================================================================
   Alpha Momin - security perimeter design system
   Single shared stylesheet for every page. Tokens come from CLAUDE.md and
   are the only colors allowed anywhere on the site.
   ========================================================================== */

:root {
  --void: #0A0510;      /* page background */
  --ink: #140A1C;       /* raised surfaces */
  --magenta: #FF0A54;   /* brand, CTAs, active states */
  --teal: #00E5D4;      /* "secure / verified" signal ONLY */
  --mist: #B9A9C9;      /* secondary text */
  --paper: #F5EEF4;     /* primary text */

  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "Space Mono", "Consolas", monospace;

  --radius: 10px;
  --container: 1120px;
  --header-h: 72px;

  --border-soft: 1px solid rgba(185, 169, 201, 0.16);
  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.45);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--void);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Typography */
h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--paper);
}

h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.9rem);
  font-weight: 800;
}

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

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

p {
  color: var(--mist);
}

.text-paper {
  color: var(--paper);
}

a {
  color: var(--paper);
  text-decoration: none;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker {
  color: var(--teal);
  margin-bottom: 1.1rem;
}

.section-kicker {
  color: var(--magenta);
  margin-bottom: 0.9rem;
}

.lede {
  font-size: clamp(1.05rem, 1.9vw, 1.25rem);
  max-width: 42rem;
}

/* Spacing utilities - exist so the HTML needs zero inline style attributes,
   which keeps the CSP style-src free of unsafe-inline */
.mt-sm { margin-top: 0.8rem; }
.mt-md { margin-top: 1.1rem; }
.mt-lg { margin-top: 1.4rem; }
.mt-xl { margin-top: 2rem; }

.btn-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

/* Layout */
.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}

.section-head p {
  margin-top: 0.9rem;
}

/* Focus visibility - never remove, only style */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--magenta);
  color: var(--void);
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 5, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: var(--border-soft);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 0.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

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

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.4vw, 1.8rem);
  list-style: none;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--mist);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover {
  color: var(--paper);
}

.site-nav a[aria-current="page"] {
  color: var(--paper);
  border-bottom-color: var(--magenta);
}

.site-nav a.nav-cta {
  color: var(--void);
  background: var(--magenta);
  font-weight: 600;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  border-bottom: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255, 10, 84, 0.35);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--magenta);
  color: var(--void);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 10, 84, 0.4);
}

.btn-ghost {
  color: var(--paper);
  border-color: rgba(185, 169, 201, 0.4);
}

.btn-ghost:hover {
  border-color: var(--paper);
  transform: translateY(-2px);
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ==========================================================================
   Hero with node-mesh canvas
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 12vw, 9rem);
  border-bottom: var(--border-soft);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52rem 30rem at 12% -10%, rgba(255, 10, 84, 0.14), transparent 60%),
    radial-gradient(40rem 26rem at 95% 15%, rgba(0, 229, 212, 0.08), transparent 60%);
  pointer-events: none;
}

.mesh-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 52rem;
}

.hero h1 {
  max-width: 17ch;
  margin-bottom: 1.4rem;
}

/* Plain hero headlines (about, services, contact) get a single clip-and-rise
   reveal on load. The index headline animates per line instead. */
.js .hero h1:not(.reveal-title) {
  animation: hero-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 -10% 0);
  }
}

.hero .lede {
  margin-bottom: 2.2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}

.verified-line {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--teal);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(0, 229, 212, 0.5);
  animation: pulse-dot 2.4s ease-out infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 212, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(0, 229, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 212, 0); }
}

/* Headline reveal: each line wipes up from behind its own clipping edge.
   The hidden start state is scoped to html.js so a no-JS visitor still sees
   the fully rendered headline (also good for SEO and crawlers). */
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}

.hero-title .line > span {
  display: block;
}

.js .reveal-title .line > span {
  transform: translateY(115%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-title.is-in .line > span {
  transform: none;
}

.reveal-title .line:nth-child(2) > span {
  transition-delay: 0.12s;
}

.reveal-title .line:nth-child(3) > span {
  transition-delay: 0.24s;
}

/* ==========================================================================
   Cards with scan-line hover
   ========================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.card {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border: var(--border-soft);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 212, 0.45);
}

/* Corner-bracket lock: four brackets draw themselves inward on hover,
   sealing the card like a secured record. The bracket SVGs are injected by
   JS so the markup stays clean. */
.card > .corner {
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.card > .corner svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.card > .corner path {
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.5;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  transition: stroke-dashoffset 0.45s ease;
}

.card:hover > .corner path,
.card:focus-within > .corner path {
  stroke-dashoffset: 0;
}

.corner.tl { top: 12px; left: 12px; }
.corner.tr { top: 12px; right: 12px; }
.corner.br { bottom: 12px; right: 12px; }
.corner.bl { bottom: 12px; left: 12px; }

.corner.tr path { transition-delay: 0.05s; }
.corner.br path { transition-delay: 0.1s; }
.corner.bl path { transition-delay: 0.15s; }

.card .card-index {
  color: var(--magenta);
  display: block;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.98rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   Content blocks
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  color: var(--mist);
}

.checklist .check {
  color: var(--teal);
  font-family: var(--font-mono);
  font-weight: 700;
  line-height: 1.65;
}

.checklist strong {
  color: var(--paper);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.stat {
  border-left: 2px solid var(--magenta);
  padding-left: 1rem;
}

.stat .stat-value {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--paper);
}

.stat .stat-label {
  font-size: 0.9rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, rgba(255, 10, 84, 0.16), rgba(0, 229, 212, 0.07)), var(--ink);
  border: var(--border-soft);
  border-radius: calc(var(--radius) * 1.6);
  padding: clamp(2.2rem, 6vw, 4rem);
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 0.9rem;
}

.cta-band p {
  max-width: 38rem;
  margin: 0 auto 1.8rem;
}

/* Service detail sections */
.service-detail {
  border-top: var(--border-soft);
  padding-block: clamp(2.6rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  gap: clamp(1.6rem, 4vw, 3.5rem);
}

.service-detail:first-of-type {
  border-top: none;
}

.service-detail h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}

.service-detail .mono {
  color: var(--magenta);
  display: block;
  margin-bottom: 0.7rem;
}

.service-detail ul {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.service-detail ul li {
  color: var(--mist);
  padding-left: 1.3rem;
  position: relative;
}

.service-detail ul li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-family: var(--font-mono);
}

/* ==========================================================================
   Contact form
   ========================================================================== */

.form-shell {
  background: var(--ink);
  border: var(--border-soft);
  border-radius: calc(var(--radius) * 1.6);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

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

.field label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.field label .req {
  color: var(--magenta);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--void);
  color: var(--paper);
  border: 1px solid rgba(185, 169, 201, 0.28);
  border-radius: var(--radius);
  padding: 0.8rem 0.95rem;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--magenta);
}

.field-error {
  color: var(--magenta);
  font-size: 0.88rem;
  min-height: 1.2em;
}

/* Honeypot: hidden from humans, present for bots. Not display:none so
   naive bots still fill it; moved far off screen and out of the a11y tree. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 1.3rem;
  border-radius: var(--radius);
  padding: 0;
  font-size: 0.98rem;
}

.form-status.is-success {
  padding: 1rem 1.2rem;
  border: 1px solid rgba(0, 229, 212, 0.5);
  color: var(--teal);
  background: rgba(0, 229, 212, 0.07);
}

.form-status.is-error {
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 10, 84, 0.55);
  color: var(--paper);
  background: rgba(255, 10, 84, 0.1);
}

.form-privacy {
  margin-top: 1.4rem;
  font-size: 0.88rem;
}

.turnstile-slot {
  margin-top: 0.4rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: var(--border-soft);
  padding-block: 3rem 2rem;
  margin-top: clamp(3rem, 8vw, 5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.2rem;
}

.footer-grid h2 {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.9rem;
  font-weight: 400;
}

.footer-grid ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-grid a {
  color: var(--mist);
  font-size: 0.95rem;
}

.footer-grid a:hover {
  color: var(--paper);
}

.footer-tagline {
  margin-top: 0.8rem;
  max-width: 22rem;
  font-size: 0.95rem;
}

.footer-legal {
  border-top: var(--border-soft);
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--mist);
  font-size: 0.85rem;
}

.footer-legal .verified-line {
  font-size: 0.8rem;
}

/* ==========================================================================
   Long-form article body (blog posts + service deep-dive pages)
   ========================================================================== */

.article {
  max-width: 42rem;
  margin-inline: auto;
}

.article h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-top: 3rem;
  margin-bottom: 0.9rem;
}

.article h3 {
  font-size: 1.2rem;
  margin-top: 2.2rem;
  margin-bottom: 0.6rem;
}

.article p,
.article ul,
.article ol {
  color: var(--mist);
  margin-bottom: 1.1rem;
  line-height: 1.75;
}

.article ul,
.article ol {
  padding-left: 1.4rem;
}

.article li {
  margin-bottom: 0.4rem;
}

.article strong {
  color: var(--paper);
}

.article a {
  color: var(--teal);
  border-bottom: 1px solid rgba(0, 229, 212, 0.35);
}

.article a:hover {
  border-bottom-color: var(--teal);
}

.article blockquote {
  border-left: 2px solid var(--magenta);
  padding: 0.4rem 0 0.4rem 1.2rem;
  margin: 1.4rem 0;
  color: var(--paper);
  font-style: normal;
}

.article-meta {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

/* Breadcrumbs shown on internal pages. */
.breadcrumbs {
  margin-bottom: 1.4rem;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--mist);
  border-bottom: 1px dotted rgba(185, 169, 201, 0.4);
}

.breadcrumbs a:hover {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

/* Blog post cards on the blog index */
.post-card {
  display: block;
  background: var(--ink);
  border: var(--border-soft);
  border-radius: var(--radius);
  padding: 1.6rem;
  color: var(--paper);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 212, 0.4);
}

.post-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.post-card p {
  font-size: 0.95rem;
}

.post-card .mono {
  color: var(--teal);
  margin-bottom: 0.6rem;
  display: block;
}

/* FAQ (native <details>): calm, keyboard-friendly, no JS. */
.faq {
  display: grid;
  gap: 0.6rem;
}

.faq details {
  background: var(--ink);
  border: var(--border-soft);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
}

.faq summary {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--paper);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

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

.faq summary::before {
  content: "+";
  color: var(--teal);
  font-family: var(--font-mono);
  font-weight: 700;
  transition: transform 0.2s ease;
  display: inline-block;
  width: 1ch;
}

.faq details[open] summary::before {
  content: "-";
}

.faq p {
  margin-top: 0.8rem;
  color: var(--mist);
}

/* Process steps used on the service deep-dive pages */
.process {
  counter-reset: step;
  list-style: none;
  display: grid;
  gap: 1rem;
  padding: 0;
}

.process li {
  counter-increment: step;
  background: var(--ink);
  border: var(--border-soft);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem 1.2rem 3.5rem;
  position: relative;
}

.process li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  color: var(--magenta);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.process strong {
  color: var(--paper);
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.process p {
  color: var(--mist);
  font-size: 0.98rem;
  margin: 0;
}

/* ==========================================================================
   Scroll reveals
   ========================================================================== */

/* Hidden start state scoped to html.js so no-JS visitors see all content. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* ==========================================================================
   Custom cursor (JS adds html.has-cursor only on fine pointers; never on
   touch devices, never under prefers-reduced-motion)
   ========================================================================== */

.cursor-ring {
  display: none;
}

html.has-cursor .cursor-ring {
  display: block;
  position: fixed;
  z-index: 999;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--teal);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.18s ease, height 0.18s ease, border-color 0.18s ease;
}

html.has-cursor .cursor-ring.is-active {
  width: 52px;
  height: 52px;
  border-color: var(--magenta);
}

.cursor-dot {
  display: none;
}

html.has-cursor .cursor-dot {
  display: block;
  position: fixed;
  z-index: 999;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--magenta);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

/* ==========================================================================
   Reduced motion: kill every animation and reveal instantly
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  /* Keep every reveal-based motion flat when motion is not welcome. */
  .js .reveal-title .line > span {
    transform: none;
    transition: none;
  }

  .card > .corner path {
    stroke-dashoffset: 0;
    transition: none;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 860px) {
  .split,
  .service-detail {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .header-inner {
    justify-content: center;
    text-align: center;
  }

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

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

  .hero-cta .btn {
    width: 100%;
  }
}

/* Verified down to 360px: single column everywhere, no horizontal scroll */
