/* ============================================================
   iAtoms — single-page pitch site
   Light, elegant, typography-led design
   ============================================================ */

/* -------- Brockmann font (drop your licensed files in /fonts) --
   Keep these @font-face rules; the site will simply fall back to
   Inter (loaded below) until the Brockmann files are added.
   -------------------------------------------------------------- */
@font-face {
  font-family: "brockmann";
  src: url("./fonts/Brockmann-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "brockmann";
  src: url("./fonts/Brockmann-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "brockmann";
  src: url("./fonts/Brockmann-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "brockmann";
  src: url("./fonts/Brockmann-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Fallback so the site looks great before Brockmann is installed */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Instrument+Serif&display=swap");

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --bg:        #f7f6f2;       /* warm cream */
  --bg-soft:   #efece4;
  --surface:   #ffffff;
  --ink:       #0c0c0c;
  --ink-2:     #2a2a2a;
  --muted:     #6b6b6b;
  --line:      #e6e3da;
  --line-2:    #d8d4c8;
  --accent:    #1f3a2e;       /* deep forest green */
  --accent-2:  #d96f3c;       /* warm terracotta accent */
  --accent-soft:#eaf1ec;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(20,20,20,.04), 0 1px 1px rgba(20,20,20,.03);
  --shadow:    0 8px 24px -12px rgba(20,20,20,.10), 0 2px 6px -2px rgba(20,20,20,.05);
  --shadow-lg: 0 30px 60px -25px rgba(20,20,20,.20), 0 10px 25px -10px rgba(20,20,20,.08);

  --max:       1200px;
  --pad:       clamp(20px, 4vw, 32px);

  --font-sans: "brockmann", "Inter", -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif:"Instrument Serif", Georgia, serif;

  --t: cubic-bezier(.2,.7,.2,1);
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--t), background .3s var(--t);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-name { font-weight: 600; letter-spacing: -0.02em; font-size: 18px; }

.nav { display: flex; gap: 28px; }
.nav a {
  color: var(--ink-2); font-size: 14.5px; font-weight: 450;
  position: relative; padding: 6px 0;
  transition: color .2s var(--t);
}
.nav a:hover { color: var(--ink); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--t);
}
.nav a:hover::after { transform: scaleX(1); }

.header-cta { display: inline-flex; }

.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; flex-direction: column; gap: 4px; align-items: center; justify-content: center; }
.menu-toggle span { width: 16px; height: 1.5px; background: var(--ink); transition: transform .25s var(--t), opacity .25s var(--t); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; gap: 4px; padding: 8px var(--pad) 20px;
  border-bottom: 1px solid var(--line); background: var(--bg);
}
.mobile-nav a {
  padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px;
}
.mobile-nav a:last-child { border-bottom: 0; margin-top: 8px; }
.mobile-nav.open { display: flex; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px;
  font-weight: 500; font-size: 14.5px; letter-spacing: -0.005em;
  transition: transform .2s var(--t), background .2s var(--t), color .2s var(--t), box-shadow .2s var(--t);
  white-space: nowrap;
}
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-primary {
  background: var(--ink); color: #fff;
  box-shadow: 0 4px 14px -6px rgba(0,0,0,.4);
}
.btn-primary:hover { background: #000; transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(0,0,0,.45); }
.btn-ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--line-2);
}
.btn-ghost:hover { background: var(--surface); }

.ghost-link {
  color: var(--muted); font-size: 14px; border-bottom: 1px dashed var(--line-2);
  padding-bottom: 1px;
}
.ghost-link:hover { color: var(--ink); border-color: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 9vw, 110px) 0 clamp(60px, 9vw, 110px);
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
}
.orb-1 { width: 480px; height: 480px; background: radial-gradient(circle, #d9e8df 0%, transparent 70%); top: -160px; right: -80px; }
.orb-2 { width: 380px; height: 380px; background: radial-gradient(circle, #f5d8c5 0%, transparent 70%); bottom: -160px; left: -80px; opacity: .45; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(12,12,12,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12,12,12,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255,255,255,.6);
  font-size: 13px; color: var(--muted); margin-bottom: 28px;
}
.hero-pill .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #2eb872;
  box-shadow: 0 0 0 4px rgba(46,184,114,.18);
}

.hero-title {
  font-size: clamp(40px, 6.6vw, 84px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  max-width: 18ch;
}
.hero-title .accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink-2); max-width: 60ch; margin: 0 0 36px;
  line-height: 1.55;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  border-top: 1px solid var(--line); padding-top: 28px;
  max-width: 880px;
}
.meta-item { display: flex; flex-direction: column; gap: 4px; }
.meta-item strong {
  font-size: clamp(22px, 2.6vw, 30px); font-weight: 600;
  letter-spacing: -0.02em;
}
.meta-item span { color: var(--muted); font-size: 13.5px; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 28px 0;
}
.trust-label {
  margin: 0 0 14px; text-align: center; color: var(--muted);
  font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
}
.trust-logos {
  display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; justify-content: center;
  color: var(--ink-2); font-weight: 500; font-size: 16px; letter-spacing: -0.01em;
  opacity: .8;
}
.trust-logos span { transition: opacity .2s var(--t); }
.trust-logos span:hover { opacity: 1; }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head.left { text-align: left; margin-inline: 0; }
.eyebrow {
  display: inline-block; padding: 5px 12px; border: 1px solid var(--line-2);
  border-radius: 999px; font-size: 12px; color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px;
  background: var(--surface);
}
.eyebrow.light { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.82); }
.section-title {
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 18px;
}
.section-title.sm { font-size: clamp(22px, 2.6vw, 32px); }
.section-desc { color: var(--muted); font-size: 17px; margin: 0; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .25s var(--t), box-shadow .25s var(--t), border-color .25s var(--t);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 70%, var(--accent-soft) 100%);
  opacity: 0; transition: opacity .3s var(--t);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; }
.service-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 18px; font-weight: 600; letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.service-card p { color: var(--muted); font-size: 14.5px; margin: 0; }

.extra-services { margin-top: 90px; }
.extra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.extra-card {
  border: 1px dashed var(--line-2); border-radius: var(--radius);
  padding: 24px; background: transparent;
}
.extra-card h4 { margin: 0 0 8px; font-weight: 600; font-size: 16px; letter-spacing: -0.015em; }
.extra-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* ============================================================
   TECHNOLOGY
   ============================================================ */
.technology { background: var(--bg-soft); }
.tech-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  max-width: 920px; margin: 0 auto;
}
.tech-pill {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 500; letter-spacing: -0.01em;
  transition: transform .2s var(--t), border-color .2s var(--t);
}
.tech-pill:hover { transform: translateY(-2px); border-color: var(--ink); }
.tech-pill span {
  font-family: var(--font-serif); font-style: italic;
  color: var(--accent); font-size: 18px;
}

/* ============================================================
   CASE STUDY
   ============================================================ */
.case-study .section-head { text-align: left; max-width: 760px; margin-inline: 0; }
.case-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start;
}

.case-features { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 18px; }
.case-features li { display: flex; gap: 14px; align-items: flex-start; }
.case-features .check {
  width: 26px; height: 26px; flex: 0 0 26px;
  border-radius: 50%; background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.case-features strong { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 2px; }
.case-features span { color: var(--muted); font-size: 14.5px; }

.case-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.stat { padding: 0 16px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat:first-child { padding-left: 0; }
.stat-num {
  font-size: clamp(26px, 3.4vw, 36px); font-weight: 600;
  letter-spacing: -0.025em; color: var(--ink);
}
.stat-label { color: var(--muted); font-size: 13px; }

/* Phone mockup */
.phone-mockup { display: flex; justify-content: center; }
.phone {
  width: 320px; max-width: 100%;
  background: #111; border-radius: 42px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phone-notch {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 26px; background: #000; border-radius: 14px; z-index: 2;
}
.chat {
  background: #e5ddd5; border-radius: 30px; overflow: hidden;
  display: flex; flex-direction: column; height: 580px;
}
.chat-header {
  background: #075e54; color: #fff; display: flex; align-items: center; gap: 10px;
  padding: 36px 16px 12px; border-bottom: 1px solid rgba(0,0,0,.06);
}
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: #d96f3c; color: #fff; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
}
.chat-name { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.chat-status { font-size: 11px; color: rgba(255,255,255,.78); display: inline-flex; align-items: center; gap: 6px; }
.online { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }

.chat-body {
  flex: 1; padding: 16px 12px;
  background:
    linear-gradient(180deg, rgba(229,221,213,.7), rgba(229,221,213,.7)),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.5) 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: auto, 14px 14px, 18px 18px;
  display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto;
}
.msg {
  max-width: 78%; padding: 8px 11px; border-radius: 10px;
  font-size: 13.5px; line-height: 1.4; position: relative;
  box-shadow: 0 1px 0.5px rgba(0,0,0,.13);
}
.msg.in { background: #fff; align-self: flex-start; border-top-left-radius: 2px; }
.msg.out { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 2px; }
.msg.img { padding: 6px; }
.img-placeholder {
  display: flex; width: 140px; height: 100px; background: #f0e9e0;
  border-radius: 6px; align-items: center; justify-content: center;
  font-size: 12px; color: var(--muted);
}
.typing {
  align-self: flex-start; background: #fff; padding: 10px 12px; border-radius: 10px;
  display: inline-flex; gap: 3px; box-shadow: 0 1px 0.5px rgba(0,0,0,.13);
}
.typing span {
  width: 6px; height: 6px; border-radius: 50%; background: #b0b0b0;
  animation: dot 1.2s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot {
  0%,80%,100% { transform: translateY(0); opacity: .5; }
  40% { transform: translateY(-3px); opacity: 1; }
}
.chat-input {
  display: flex; align-items: center; gap: 10px;
  background: #f0f0f0; padding: 10px 14px;
  color: var(--muted); font-size: 13px;
}
.chat-input span { flex: 1; }
.chat-input .send {
  width: 30px; height: 30px; border-radius: 50%; background: #075e54; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
}

/* Architecture row */
.case-arch {
  margin-top: 64px; display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 16px; align-items: stretch;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface);
}
.arch-step { display: flex; gap: 14px; align-items: flex-start; }
.arch-num {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; flex-shrink: 0;
}
.arch-step strong { display: block; font-weight: 600; font-size: 14.5px; letter-spacing: -0.01em; }
.arch-step p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.arch-arrow { display: flex; align-items: center; color: var(--line-2); font-size: 20px; }

/* ============================================================
   PROCESS
   ============================================================ */
.process-list {
  list-style: none; counter-reset: step; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.process-list li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .2s var(--t), box-shadow .2s var(--t);
}
.process-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step-num {
  display: inline-block; font-family: var(--font-serif); font-style: italic;
  color: var(--accent); font-size: 28px; margin-bottom: 12px;
}
.process-list h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.process-list p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ============================================================
   WHY US
   ============================================================ */
.why { background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card {
  padding: 28px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.why-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.why-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding-bottom: clamp(72px, 10vw, 110px); }
.cta-card {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(217,111,60,.18), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(31,58,46,.7), transparent 60%),
    linear-gradient(160deg, #14241c, #0c1411);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px);
  box-shadow: var(--shadow-lg);
}
.cta-card h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05; letter-spacing: -0.025em;
  margin: 12px 0 12px; font-weight: 600;
}
.cta-card > p {
  color: rgba(255,255,255,.78); max-width: 60ch; font-size: 16px; margin: 0 0 32px;
}

.contact-form { display: grid; gap: 14px; max-width: 760px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 6px; }
.contact-form label.full { grid-column: 1 / -1; }
.contact-form span {
  font-size: 12.5px; color: rgba(255,255,255,.7);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  padding: 12px 14px; border-radius: 12px;
  outline: none; transition: border-color .2s var(--t), background .2s var(--t);
  font-size: 15px;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.4); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.10);
}
.contact-form select option { background: #14241c; color: #fff; }

.form-actions {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 8px;
}
.form-actions .btn-primary { background: #fff; color: var(--ink); }
.form-actions .btn-primary:hover { background: #f0ebe2; }
.form-actions .ghost-link { color: rgba(255,255,255,.78); border-color: rgba(255,255,255,.3); }
.form-actions .ghost-link:hover { color: #fff; border-color: #fff; }

.form-status { color: rgba(255,255,255,.85); font-size: 14px; margin: 6px 0 0; min-height: 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  background: var(--bg);
}
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid var(--line);
}
.footer-brand p { color: var(--muted); margin: 16px 0 0; max-width: 38ch; font-size: 14.5px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h5 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin: 0 0 14px; font-weight: 500;
}
.footer-cols a { display: block; padding: 6px 0; color: var(--ink-2); font-size: 14.5px; transition: color .15s var(--t); }
.footer-cols a:hover { color: var(--ink); }
.footer-bottom {
  padding-top: 22px; display: flex; justify-content: space-between; gap: 16px;
  color: var(--muted); font-size: 13px; flex-wrap: wrap;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s var(--t), transform .7s var(--t);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .extra-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; gap: 56px; }
  .case-arch { grid-template-columns: repeat(4, 1fr); }
  .case-arch .arch-arrow { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 720px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }

  .hero { padding-top: 56px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .services-grid,
  .extra-grid,
  .tech-grid,
  .process-list,
  .why-grid { grid-template-columns: 1fr; }
  .case-arch { grid-template-columns: 1fr; }
  .case-stats { grid-template-columns: 1fr; }
  .stat { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }

  .contact-form .row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }

  .trust-logos { gap: 18px 28px; font-size: 14px; }
}
