/* ============================================================
   aldine.solar — hand-crafted static site
   Brand system: packages/brand/src/theme.ts (aldine-platform)
   Teal primary · sky accent · slate neutrals
   Fonts: Source Serif 4 (display) + Inter (UI)
   ============================================================ */

:root {
  /* primary — Tailwind teal */
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  /* accent — Tailwind sky */
  --sky-100: #e0f2fe;
  --sky-300: #7dd3fc;
  --sky-500: #0ea5e9;
  --sky-700: #0369a1;
  --sky-900: #0c4a6e;
  /* neutrals — slate */
  --slate-0: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  /* semantic */
  --success: #16a34a;
  --success-bg: #dcfce7;
  --danger: #dc2626;
  --danger-bg: #fee2e2;
  /* brand signature gradient: teal-600 → cyan-600 → sky-700 */
  --grad-hero: linear-gradient(96deg, #0d9488, #0891b2, #0369a1);
  --grad-cta: linear-gradient(96deg, var(--teal-700), var(--sky-700));
  /* type */
  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-ui: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  /* rhythm */
  --container: 76rem;
  --radius: 20px;
  --radius-sm: 12px;
  --section-pad: clamp(4rem, 9vw, 6.75rem);
  --shadow-2: 0 1px 2px rgb(15 23 42 / 0.05), 0 8px 24px rgb(15 23 42 / 0.06);
  --shadow-3: 0 2px 4px rgb(15 23 42 / 0.06), 0 16px 40px rgb(15 23 42 / 0.1);
}

/* ── reset-ish ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--slate-0);
  overflow-x: clip;
}
img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: var(--teal-700);
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
:focus-visible {
  outline: 3px solid var(--sky-700);
  outline-offset: 2px;
  border-radius: 4px;
}
::placeholder {
  color: var(--slate-500);
  opacity: 1;
}
@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;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--slate-900);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

[id] {
  scroll-margin-top: 5.5rem;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.125rem, 4vw, 2rem);
}

/* ── typography helpers ───────────────────────────────── */
.kicker {
  font: 700 0.8125rem/1.2 var(--font-ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 0.875rem;
}
.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.12;
  color: var(--slate-900);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.h-sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  line-height: 1.2;
  color: var(--slate-900);
}
.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--slate-600);
  max-width: 46rem;
}
.section-head {
  max-width: 50rem;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head .lead {
  margin: 1rem auto 0;
}
/* ── buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  padding: 0.9375rem 1.625rem;
  border-radius: 999px;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
  min-height: 48px;
}
.btn-primary {
  background: var(--grad-cta);
  color: #fff;
  box-shadow: 0 6px 18px rgb(13 148 136 / 0.32);
}
.btn-primary:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}
.btn-ghost {
  color: #fff;
  border: 1.5px solid rgb(255 255 255 / 0.55);
}
.btn-ghost:hover {
  background: rgb(255 255 255 / 0.12);
}
.btn-light {
  background: #fff;
  color: var(--teal-800);
  box-shadow: var(--shadow-2);
}
.btn-light:hover {
  background: var(--teal-50);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

/* ── header ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.site-header.is-stuck {
  border-color: var(--slate-200);
  box-shadow: 0 4px 20px rgb(15 23 42 / 0.06);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-right: auto;
}
.brand img {
  width: auto;
  height: 46px;
}
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-desktop a:not(.btn) {
  font-weight: 500;
  font-size: 0.9375rem;
  white-space: nowrap;
  color: var(--slate-600);
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  transition:
    color 0.15s,
    background 0.15s;
}
.nav-desktop a:not(.btn):hover {
  color: var(--teal-800);
  background: var(--teal-50);
}
.header-cta {
  margin-left: 0.5rem;
  padding: 0.75rem 1.375rem;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: var(--slate-800);
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover {
  background: var(--slate-100);
}
.nav-mobile {
  display: none;
  border-top: 1px solid var(--slate-200);
  background: #fff;
  padding: 0.75rem 0 1.25rem;
}
.nav-mobile.is-open {
  display: block;
}
.nav-mobile a:not(.btn) {
  display: block;
  padding: 0.8125rem 0.5rem;
  font-weight: 500;
  color: var(--slate-700);
  border-radius: 10px;
}
.nav-mobile a:not(.btn):hover {
  background: var(--teal-50);
  color: var(--teal-800);
}
.nav-mobile.is-open {
  max-height: calc(100dvh - 4.5rem);
  overflow-y: auto;
}
.nav-mobile .btn {
  margin-top: 0.75rem;
  width: 100%;
}
@media (max-width: 69rem) {
  .nav-desktop {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

/* ── hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  display: grid;
}
.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(76deg, rgb(15 23 42 / 0.88) 0%, rgb(15 23 42 / 0.62) 46%, rgb(3 105 161 / 0.38) 100%);
}
.hero-inner {
  padding-block: clamp(6rem, 14vw, 10.5rem) clamp(5rem, 12vw, 9rem);
  max-width: 44rem;
}
@media (max-width: 26rem) {
  .hero-inner {
    padding-bottom: 8.5rem;
  }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-300);
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.16);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6.5vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero p {
  margin-top: 1.375rem;
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: rgb(255 255 255 / 0.88);
  max-width: 38rem;
}
.hero-ctas {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* stats strip */
.stats {
  background: var(--slate-900);
  color: #fff;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgb(255 255 255 / 0.08);
}
.stat {
  background: var(--slate-900);
  text-align: center;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 1rem;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stat:nth-child(odd) .stat-num {
  color: var(--teal-400);
}
.stat:nth-child(even) .stat-num {
  color: #fff;
}
.stat-label {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: var(--slate-400);
}
@media (max-width: 46rem) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── generic sections ─────────────────────────────────── */
.section {
  padding-block: var(--section-pad);
}
.section-alt {
  background: var(--slate-50);
}
.section-dark {
  background: var(--slate-900);
  color: var(--slate-300);
}
.section-dark .h-display,
.section-dark .h-sub {
  color: #fff;
}
.section-dark .kicker {
  color: var(--teal-400);
}
.section-dark .lead {
  color: var(--slate-400);
}

/* reveal-on-scroll — JS-gated so no-JS never hides content */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── process cards ────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
  gap: 1.25rem;
}
@media (min-width: 64rem) {
  .process-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.process-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-2);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
}
.process-step {
  position: absolute;
  top: 1.375rem;
  right: 1.375rem;
  font: 700 0.8125rem/1 var(--font-ui);
  color: var(--slate-500);
}
.process-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--teal-50);
  color: var(--teal-700);
  margin-bottom: 1.125rem;
}
.process-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}
.process-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--slate-600);
}

/* ── sector rows ──────────────────────────────────────── */
.sector {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.sector + .sector {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
}
.sector-media {
  position: relative;
}
.sector-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-3);
}
.sector-media::before {
  content: '';
  position: absolute;
  inset: auto -14px -14px auto;
  width: 55%;
  height: 55%;
  border-radius: var(--radius);
  background: var(--grad-hero);
  opacity: 0.16;
  z-index: -1;
}
.sector:nth-of-type(even) .sector-media {
  order: 2;
}
.sector h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--slate-900);
  margin-bottom: 1rem;
}
.sector p {
  margin-bottom: 1rem;
}
.sector .benefits-title {
  font-weight: 700;
  color: var(--slate-800);
  margin: 1.25rem 0 0.625rem;
}
.check-list li {
  position: relative;
  padding-left: 1.875rem;
  margin-bottom: 0.5625rem;
  font-size: 0.9844rem;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 1.175rem;
  height: 1.175rem;
  border-radius: 50%;
  background:
    var(--teal-100)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 62% no-repeat;
}
@media (max-width: 56rem) {
  .sector {
    grid-template-columns: 1fr;
  }
  .sector:nth-of-type(even) .sector-media {
    order: 0;
  }
}

/* ── services (“what we do”) ──────────────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.svc-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-2);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.svc-card .process-icon {
  margin: 0;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
}
.svc-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.25rem;
}
.svc-card p {
  font-size: 0.9063rem;
  color: var(--slate-600);
  line-height: 1.55;
}

/* ── gallery ──────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(8.5rem, 16vw, 13rem);
  gap: 0.875rem;
}
.gallery-grid a {
  overflow: hidden;
  border-radius: var(--radius-sm);
  display: block;
  position: relative;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-grid a:hover img {
  transform: scale(1.045);
}
.gallery-wide {
  grid-column: span 2;
}
.gallery-tall {
  grid-row: span 2;
}
@media (max-width: 56rem) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── founders ─────────────────────────────────────────── */
.founder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
  max-width: 62rem;
  margin-inline: auto;
}
.founder-card {
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.founder-card:hover {
  transform: translateY(-4px);
  border-color: rgb(45 212 191 / 0.45);
}
.founder-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-hero);
  color: #fff;
  font: 700 1.75rem/1 var(--font-display);
  box-shadow: 0 0 0 4px rgb(255 255 255 / 0.1);
}
.founder-card h3 {
  color: #fff;
  font-size: 1.1875rem;
  font-weight: 700;
}
.founder-card p {
  margin-top: 0.4375rem;
  font-size: 0.875rem;
  color: var(--slate-400);
  line-height: 1.5;
}

/* ── get in touch ─────────────────────────────────────── */
.git-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  border: 1px solid var(--slate-200);
  background: #fff;
}
.git-panel {
  background:
    radial-gradient(56rem 28rem at -20% -30%, rgb(13 148 136 / 0.35), transparent 60%),
    radial-gradient(40rem 24rem at 130% 130%, rgb(3 105 161 / 0.4), transparent 60%),
    var(--slate-900);
  color: var(--slate-300);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
}
.git-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}
.git-panel > p {
  margin-top: 1rem;
}
.git-promises {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.875rem;
}
.git-promises li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.git-promises svg {
  flex: none;
  margin-top: 0.15rem;
  color: var(--teal-400);
}
.git-promises b {
  color: #fff;
}
.git-contact {
  margin-top: auto;
  padding-top: 1.75rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  display: grid;
  gap: 0.625rem;
  font-size: 0.9375rem;
}
.git-contact a {
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}
.git-contact a:hover {
  color: var(--teal-300);
}
.git-hours {
  font-size: 0.8125rem;
  color: var(--slate-400);
  margin-top: 0.375rem;
}
.wa-btn {
  margin-top: 0.5rem;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #22c55e;
  color: #052e16 !important;
  font-weight: 700;
  font-size: 0.9063rem;
  padding: 0.6875rem 1.25rem;
  border-radius: 999px;
}
.wa-btn:hover {
  filter: brightness(1.06);
}

/* form */
.git-form {
  padding: clamp(1.75rem, 4vw, 2.75rem);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.125rem 1.25rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4375rem;
}
.field-full {
  grid-column: 1 / -1;
}
.field label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--slate-800);
}
.field .opt {
  color: var(--slate-500);
  font-weight: 500;
}
.field .req {
  color: var(--danger);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.9375rem;
  color: var(--slate-900);
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  padding: 0.75rem 0.875rem;
  min-height: 48px;
  width: 100%;
  transition:
    border-color 0.15s,
    background 0.15s,
    box-shadow 0.15s;
}
.field textarea {
  min-height: 7rem;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgb(13 148 136 / 0.15);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--danger);
}
.field-error {
  font-size: 0.8125rem;
  color: var(--danger);
  display: none;
}
.field.has-error .field-error {
  display: block;
}
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-submit {
  grid-column: 1 / -1;
  width: 100%;
  border-radius: 12px;
  font-size: 1rem;
  padding: 1rem;
  letter-spacing: 0.02em;
}
.form-note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--slate-500);
}
.form-alert {
  grid-column: 1 / -1;
  display: none;
  background: var(--danger-bg);
  color: #991b1b;
  border-radius: 10px;
  padding: 0.875rem 1rem;
  font-size: 0.9063rem;
}
.form-alert.is-visible {
  display: block;
}
/* success panel */
.form-success {
  display: none;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem);
}
.form-success.is-visible {
  display: block;
}
.success-badge {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--success-bg);
  color: var(--success);
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--slate-900);
}
.form-success p {
  margin-top: 0.75rem;
  color: var(--slate-600);
}
.ticket-chip {
  display: inline-block;
  margin-top: 1.25rem;
  font: 700 1.125rem/1 var(--font-ui);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--teal-800);
  background: var(--teal-50);
  border: 1.5px dashed var(--teal-300);
  border-radius: 12px;
  padding: 0.875rem 1.5rem;
}
@media (max-width: 56rem) {
  .git-card {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ── brands ───────────────────────────────────────────── */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 1rem;
}
.brand-tile {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  min-height: 5.5rem;
  display: grid;
  place-items: center;
  padding: 1rem 1.25rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.brand-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.brand-tile img {
  max-height: 3rem;
  width: auto;
  object-fit: contain;
}

/* ── testimonials ─────────────────────────────────────── */
.testi-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(24rem, 82vw);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0.25rem 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--slate-600) transparent;
}
.testi-card {
  scroll-snap-align: start;
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.testi-stars {
  color: #fbbf24;
  letter-spacing: 0.15em;
  font-size: 0.9375rem;
}
.testi-card blockquote {
  font-size: 0.9844rem;
  line-height: 1.65;
  color: var(--slate-300);
  flex: 1;
}
.testi-who {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--grad-hero);
  color: #fff;
  font: 700 1rem/1 var(--font-ui);
}
.testi-who b {
  color: #fff;
  font-size: 0.9375rem;
  display: block;
}
.testi-who span {
  font-size: 0.8125rem;
  color: var(--slate-400);
}
.testi-nav {
  display: flex;
  gap: 0.625rem;
  justify-content: center;
  margin-top: 1rem;
}
@media (max-width: 34rem) {
  .testi-nav {
    justify-content: flex-start;
    padding-bottom: 3.5rem;
  }
}
.testi-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.2);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 0.15s;
}
.testi-nav button:hover {
  background: rgb(255 255 255 / 0.12);
}

/* ── contact CTA + footer ─────────────────────────────── */
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.cta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 1.75rem;
}
.cta-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8438rem;
  font-weight: 600;
  color: var(--teal-300);
  border: 1px solid rgb(45 212 191 / 0.35);
  border-radius: 999px;
  padding: 0.5rem 0.9375rem;
}
.cta-chips span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-400);
}
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.125rem;
}
.contact-card {
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgb(45 212 191 / 0.4);
}
.contact-card.is-wa {
  background: linear-gradient(140deg, #16a34a, #15803d);
  border-color: transparent;
  color: #dcfce7;
}
.contact-card.is-wa h3,
.contact-card.is-wa a {
  color: #fff;
}
.cc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgb(255 255 255 / 0.1);
  color: var(--teal-300);
  margin-bottom: 1rem;
}
.contact-card.is-wa .cc-icon {
  color: #fff;
  background: rgb(255 255 255 / 0.18);
}
.contact-card h3 {
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}
.contact-card p {
  font-size: 0.875rem;
  line-height: 1.55;
}
.contact-card a {
  font-weight: 600;
  color: var(--teal-300);
}
.contact-card a:hover {
  text-decoration: underline;
}
.cc-links {
  margin-top: 0.625rem;
  display: grid;
  gap: 0.25rem;
}
@media (max-width: 56rem) {
  .cta-band {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 34rem) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  background: #0b1220;
  color: var(--slate-400);
  border-top: 1px solid rgb(255 255 255 / 0.07);
  padding: 3.5rem 0 2.5rem;
  font-size: 0.9063rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-brand-lockup img {
  height: 44px;
  width: auto;
}
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: 0.16em;
  color: #fff;
  line-height: 1.1;
}
.footer-wordmark small {
  display: block;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--slate-400);
  margin-top: 0.25rem;
}
.footer-brand p {
  max-width: 24rem;
  line-height: 1.6;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.site-footer li {
  margin-bottom: 0.5625rem;
}
.site-footer a {
  color: var(--slate-400);
}
.site-footer a:hover {
  color: var(--teal-300);
}
.footer-legal {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.07);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--slate-400);
}
@media (max-width: 34rem) {
  .footer-legal {
    padding-bottom: 4.25rem;
  }
}
@media (max-width: 56rem) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── floating quote button ────────────────────────────── */
.fab-quote {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1.125rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--grad-cta);
  color: #fff;
  font-weight: 700;
  font-size: 0.9063rem;
  padding: 0.875rem 1.375rem;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgb(13 148 136 / 0.45);
  transition:
    transform 0.2s,
    opacity 0.25s,
    visibility 0.25s;
}
.fab-quote:hover {
  transform: translateY(-2px);
}
.fab-quote.is-hidden {
  opacity: 0;
  visibility: hidden;
}

/* ── sticky mobile CTA bar (phones): Call · WhatsApp · Get Quote ── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgb(255 255 255 / 0.97);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--line, #e2e8f0);
  padding: 0.5rem max(0.625rem, env(safe-area-inset-right)) max(0.5rem, env(safe-area-inset-bottom)) max(0.625rem, env(safe-area-inset-left));
  gap: 0.5rem;
  transition: opacity 0.25s, visibility 0.25s;
}
.mobile-cta-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.625rem 0.25rem;
  border-radius: 0.625rem;
  border: 1.5px solid var(--teal-700, #0f766e);
  color: var(--teal-700, #0f766e);
  text-decoration: none;
}
.mobile-cta-bar a.mcb-quote {
  background: var(--grad-cta);
  border-color: transparent;
  color: #fff;
}
.mobile-cta-bar.is-hidden {
  opacity: 0;
  visibility: hidden;
}
@media (max-width: 48rem) {
  .mobile-cta-bar {
    display: flex;
  }
  .fab-quote {
    display: none; /* the bar replaces the lone FAB on phones */
  }
}

/* ── mobile-nav contact rows ── */
.nav-mobile-contact {
  display: grid;
  gap: 0.375rem;
  padding: 0.625rem 0;
  margin: 0.375rem 0;
  border-top: 1px solid rgb(255 255 255 / 0.14);
  border-bottom: 1px solid rgb(255 255 255 / 0.14);
}
.nav-mobile .nav-mobile-contact a {
  /* ties the (0,2,1) specificity of `.nav-mobile a:not(.btn)` and wins
     by file order — that rule's display:block was stacking the icon
     above the label. */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--teal-800, #115e59);
}

/* ── FAQ accordion ── */
.faq-list {
  max-width: 46rem;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}
.faq-list details {
  background: #fff;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 0.875rem;
  padding: 0;
  overflow: hidden;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2.75rem 1rem 1.25rem;
  position: relative;
  color: var(--ink, #0f172a);
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal-700, #0f766e);
}
.faq-list details[open] summary::after {
  content: '−';
}
.faq-list details p {
  padding: 0 1.25rem 1.125rem;
  margin: 0;
  color: var(--muted, #475569);
  line-height: 1.6;
}

/* ── hero subsidy hook ── */
.hero-subsidy {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: #fff;
  background: rgb(15 118 110 / 0.55);
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  backdrop-filter: blur(4px);
}
.hero-subsidy svg {
  color: #fbbf24;
  flex: none;
}

/* ── page-specific helpers ────────────────────────────── */
.about-copy {
  margin-top: 1.25rem;
  color: var(--slate-600);
  font-size: clamp(1rem, 1.4vw, 1.0625rem);
}
.about-copy p + p {
  margin-top: 1rem;
}
.kerala-card {
  position: relative;
  margin: -3.5rem 1.25rem 0;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-3);
  padding: 1.5rem 1.625rem;
}
.kerala-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--slate-900);
  margin-bottom: 0.625rem;
}
.kerala-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--slate-600);
}
.sector-cta {
  margin-top: 1.5rem;
}
.pillars-head {
  margin-top: 4rem;
}
.svc-grid-tight {
  margin-top: 0;
}
.badges-head {
  margin: 3.5rem auto 1.5rem;
}
.badge-grid {
  max-width: 52rem;
  margin-inline: auto;
}
.git-hl {
  background: linear-gradient(96deg, var(--teal-300), var(--sky-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.contact-band {
  background: linear-gradient(180deg, #171b23, #1e232c);
  border-top: 3px solid var(--teal-600);
}
.cta-lead {
  margin-top: 1rem;
}
.cc-cta {
  margin-top: 0.625rem;
  font-weight: 700;
}
.cc-cta-teal {
  color: var(--teal-300);
}
.cc-note {
  margin-top: 0.625rem;
}
.wa-dot {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  margin: -12px 0;
  vertical-align: middle;
  color: #22c55e;
}
.success-wa {
  margin-top: 1.5rem;
}
.success-call {
  margin-top: 1rem;
  font-size: 0.875rem;
}
.founder-bio {
  margin-top: 1rem;
  text-align: left;
}
.founder-bio summary {
  cursor: pointer;
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--teal-300);
  padding: 0.5rem;
  border-radius: 8px;
  list-style: none;
}
.founder-bio summary::-webkit-details-marker {
  display: none;
}
.founder-bio summary:hover {
  background: rgb(255 255 255 / 0.06);
}
.founder-bio[open] summary {
  color: var(--slate-400);
}
.founder-bio p {
  margin-top: 0.875rem;
  font-size: 0.9063rem !important;
  color: var(--slate-300) !important;
  line-height: 1.65;
}

/* ── quote wizard modal ───────────────────────────────── */
.aqw-overlay[hidden] {
  display: none !important;
}
.aqw-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgb(2 6 23 / 0.66);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 1rem;
  overflow-y: auto;
}
.aqw-card {
  position: relative;
  width: min(34rem, 100%);
  max-height: min(92dvh, 46rem);
  overflow-y: auto;
  background: #fff;
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 30px 80px rgb(2 6 23 / 0.5);
}
.aqw-close {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgb(255 255 255 / 0.14);
}
.aqw-close:hover {
  background: rgb(255 255 255 / 0.26);
}
.aqw-head {
  background: var(--grad-hero);
  color: #fff;
  padding: 1.5rem 1.75rem 1.25rem;
}
.aqw-head h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
}
.aqw-head p {
  margin-top: 0.25rem;
  font-size: 0.8438rem;
  color: rgb(255 255 255 / 0.85);
}
.aqw-dots {
  display: flex;
  gap: 0.375rem;
  margin-top: 0.875rem;
}
.aqw-dots span {
  height: 5px;
  flex: 1;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.28);
  transition: background 0.2s;
}
.aqw-dots span.is-current {
  background: #fff;
}
.aqw-dots span.is-done {
  background: rgb(255 255 255 / 0.75);
}
.aqw-body {
  padding: 1.5rem 1.75rem 0.5rem;
}
.aqw-step h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 1rem;
}
.aqw-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.aqw-opts button {
  border: 1.5px solid var(--slate-200);
  background: var(--slate-50);
  border-radius: 12px;
  padding: 1rem 0.875rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--slate-800);
  min-height: 54px;
  transition:
    border-color 0.15s,
    background 0.15s,
    transform 0.1s;
}
.aqw-opts button:hover {
  border-color: var(--teal-600);
  background: var(--teal-50);
  transform: translateY(-1px);
}
.aqw-estimate {
  text-align: center;
  background: linear-gradient(140deg, var(--teal-50), var(--sky-100));
  border: 1px solid var(--teal-200);
  border-radius: 14px;
  padding: 1.125rem 1rem;
  margin-bottom: 1.375rem;
}
.aqw-est-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-800);
}
.aqw-est-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--teal-800);
  font-variant-numeric: tabular-nums;
  margin-top: 0.25rem;
}
.aqw-est-sub {
  font-size: 0.9063rem;
  color: var(--slate-600);
  margin-top: 0.25rem;
}
.aqw-est-chip {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal-800);
  background: #fff;
  border: 1px solid var(--teal-300);
  border-radius: 999px;
  padding: 0.375rem 0.875rem;
}
.aqw-recap {
  font-size: 0.9063rem;
  color: var(--slate-600);
  background: var(--slate-50);
  border-left: 3px solid var(--teal-600);
  border-radius: 0 10px 10px 0;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}
.aqw-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.aqw-fields .field:first-child {
  grid-column: 1 / -1;
}
.aqw-step .form-submit {
  margin-top: 1.25rem;
}
.aqw-step .form-alert {
  margin-top: 1rem;
}
.aqw-success {
  padding: 0.5rem 0 1rem;
}
.aqw-recap-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.25rem;
}
.aqw-recap-chips span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal-800);
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: 999px;
  padding: 0.4375rem 0.875rem;
}
.aqw-foot {
  padding: 0.75rem 1.75rem 1.375rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.aqw-back {
  flex: none;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--slate-600);
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
}
.aqw-back:hover {
  background: var(--slate-100);
  color: var(--slate-900);
}
.aqw-disclaimer {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--slate-500);
}
@media (max-width: 34rem) {
  .aqw-opts,
  .aqw-fields {
    grid-template-columns: 1fr;
  }
  .aqw-body,
  .aqw-head {
    padding-inline: 1.25rem;
  }
  .aqw-foot {
    padding-inline: 1.25rem;
  }
}

/* ── quote wizard: phone OTP verification ─────────────────── */
.otp-panel {
  grid-column: 1 / -1;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: 12px;
  padding: 1rem 1.125rem 0.875rem;
}
.otp-hint {
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-bottom: 0.75rem;
}
.otp-hint b {
  color: var(--slate-900);
  white-space: nowrap;
}
.otp-boxes {
  display: flex;
  gap: 0.625rem;
}
.otp-boxes input {
  width: 3.25rem;
  height: 3.5rem;
  text-align: center;
  font: inherit;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  background: #fff;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.otp-boxes input:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgb(13 148 136 / 0.15);
}
.otp-boxes input:disabled {
  background: var(--slate-50);
  color: var(--slate-400);
}
.otp-boxes.is-shake {
  animation: otp-shake 0.35s;
}
@keyframes otp-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .otp-boxes.is-shake { animation: none; }
}
.otp-status {
  font-size: 0.8438rem;
  color: var(--slate-500);
  margin-top: 0.625rem;
  min-height: 1.25em;
}
.otp-status.is-ok {
  color: var(--teal-700);
  font-weight: 600;
}
.otp-status.is-err {
  color: var(--danger);
  font-weight: 600;
}
.otp-status.is-warn {
  color: #92400e;
  font-weight: 600;
}
.otp-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.375rem;
  font-size: 0.8438rem;
  color: var(--slate-400);
}
.otp-link {
  font: inherit;
  font-size: 0.8438rem;
  font-weight: 600;
  color: var(--teal-700);
  background: none;
  border: none;
  padding: 0.375rem 0;
  cursor: pointer;
}
.otp-link:hover {
  text-decoration: underline;
}
.otp-link:disabled {
  color: var(--slate-400);
  cursor: default;
  text-decoration: none;
}
.otp-phone-row {
  position: relative;
}
.otp-badge {
  position: absolute;
  right: 0.625rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--teal-800);
  background: var(--teal-100);
  border-radius: 999px;
  padding: 0.3125rem 0.75rem;
}
.field.is-verified input {
  border-color: var(--teal-400);
  background: var(--teal-50);
}

/* 6-digit Firebase codes — tighter boxes so all six fit on a phone */
.otp-boxes input {
  width: 2.75rem;
  height: 3.25rem;
  font-size: 1.35rem;
}
@media (max-width: 34rem) {
  .otp-boxes {
    gap: 0.4375rem;
  }
  .otp-boxes input {
    width: 2.4rem;
    height: 3rem;
    font-size: 1.25rem;
  }
}
.otp-legal {
  font-size: 0.72rem;
  color: var(--slate-400);
  margin-top: 0.5rem;
}
.otp-legal a {
  color: var(--slate-500);
  text-decoration: underline;
}
/* Attribution shown inline above — Google permits hiding the floating badge */
.grecaptcha-badge {
  visibility: hidden;
}
