/* =========================================================
   Ex Machina Printing — styles.css
   Theme: clean white + deep blue + warm orange
   ========================================================= */

:root {
  /* brand colors */
  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-alt: #eef3fb;

  --blue-900: #0a2540;
  --blue-800: #0f3361;
  --blue-700: #1751a8;
  --blue-600: #2870d6;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --blue-050: #eef4ff;

  --orange-700: #c2410c;
  --orange-600: #ea580c;
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --orange-100: #ffedd5;

  --ink: #0d1b2a;
  --ink-2: #2c3e50;
  --muted: #5a6a7a;
  --line: #e3e9f1;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 6px rgba(10, 37, 64, 0.06);
  --shadow: 0 14px 40px -16px rgba(10, 37, 64, 0.18);
  --shadow-lg: 0 30px 70px -28px rgba(10, 37, 64, 0.32);

  --ease: cubic-bezier(.2,.8,.2,1);

  --container: 1200px;
}

/* =================== reset =================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--orange-600); }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1,h2,h3,h4,h5 { font-family: 'Space Grotesk', 'Inter', sans-serif; color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -0.01em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* =================== utility =================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-700);
  background: var(--blue-050);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow--center { display: inline-flex; }
.eyebrow--light {
  color: var(--orange-400);
  background: rgba(249, 115, 22, 0.12);
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.18);
}

.text-gradient {
  background: linear-gradient(95deg, var(--blue-700) 0%, var(--orange-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =================== buttons =================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
}
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 26px; font-size: 16px; }

.btn--primary {
  background: var(--orange-500);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(249, 115, 22, 0.55);
}
.btn--primary:hover {
  background: var(--orange-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -12px rgba(249, 115, 22, 0.65);
}

.btn--ghost {
  background: transparent;
  color: var(--blue-800);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover {
  background: var(--blue-050);
  color: var(--blue-700);
  border-color: var(--blue-100);
}

/* =================== nav =================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 18px -10px rgba(10, 37, 64, 0.18);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-800);
}
.brand:hover { color: var(--blue-700); }
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-800));
  color: var(--orange-400);
  box-shadow: 0 8px 22px -10px rgba(15, 51, 97, 0.65);
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand__sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--orange-600);
  margin-top: 4px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a:not(.btn) {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
}
.nav__links .btn--primary { color: #fff; }
.nav__links a:not(.btn):hover { color: var(--blue-700); }
.nav__links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--orange-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--blue-800);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

/* =================== hero =================== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(249, 115, 22, 0.10), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(40, 112, 214, 0.10), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 51, 97, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 51, 97, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__copy { max-width: 600px; }
.hero__title {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.hero__lede {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 540px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  max-width: 540px;
}
.hero__stats li { display: flex; flex-direction: column; gap: 6px; }
.hero__stats strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--blue-800);
  line-height: 1;
}
.hero__stats span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* hero visual */
.hero__visual {
  position: relative;
  height: 560px;
}
.hero__image-wrap {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #0a2540;
}
.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 8s ease;
}
.hero__image-wrap:hover img { transform: scale(1.07); }

.hero__badge {
  position: absolute;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 37, 64, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange-400);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.3);
  animation: pulse 1.6s ease 4;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.6; }
}

.hero__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--line);
}
.hero__chip svg { color: var(--orange-500); }
.hero__chip--1 { bottom: 40px; left: -28px; }
.hero__chip--2 { top: 40px; right: -32px; }
.hero__chip--2 svg { color: var(--blue-600); }

/* =================== trust bar =================== */
.trust {
  background: var(--blue-900);
  color: #fff;
  padding: 22px 0;
}
.trust__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.trust__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}
.trust__items {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.trust__item {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
}

/* =================== sections =================== */
.section {
  padding: 110px 0;
}
.section--alt {
  background: var(--bg-soft);
}
.section--dark {
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(249, 115, 22, 0.16), transparent 60%),
    radial-gradient(700px 400px at 10% 80%, rgba(40, 112, 214, 0.18), transparent 60%),
    var(--blue-900);
  color: #fff;
}
.section--cta {
  background: var(--bg-alt);
}

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section__title {
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.section__title--light { color: #fff; }
.section__sub {
  font-size: 17px;
  color: var(--muted);
  margin: 0;
}
.section--dark .section__sub { color: rgba(255, 255, 255, 0.72); }

/* =================== services =================== */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.service {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blue-100);
}
.service--featured {
  background: linear-gradient(180deg, #fff 0%, #fff7ef 100%);
  border-color: var(--orange-100);
}
.service__badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-700);
  background: var(--orange-100);
  padding: 5px 10px;
  border-radius: 999px;
}
.service__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}
.service__icon--blue { background: var(--blue-050); color: var(--blue-700); }
.service__icon--orange { background: var(--orange-100); color: var(--orange-600); }
.service__title {
  font-size: 26px;
  margin-bottom: 8px;
}
.service__lede {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 22px;
}
.service__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.service__list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--ink-2);
}
.service__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea580c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/10px no-repeat;
}
.service__cta {
  font-weight: 600;
  font-size: 15px;
  color: var(--blue-700);
}
.service__cta:hover { color: var(--orange-600); }

/* =================== gallery =================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 320px 320px;
  gap: 22px;
}
.gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1b2a3a;
  margin: 0;
  cursor: pointer;
}
.gallery__item--lg {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(10, 37, 64, 0.92) 0%, rgba(10, 37, 64, 0) 100%);
  color: #fff;
}
.gallery__item h4 {
  color: #fff;
  font-size: 20px;
  margin: 0 0 4px;
}
.gallery__item p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}
.gallery__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--orange-500);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* =================== steps =================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
  position: relative;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.step:hover {
  transform: translateY(-3px);
  border-color: var(--orange-400);
  box-shadow: var(--shadow);
}
.step__num {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--orange-600);
  background: var(--orange-100);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.step h3 {
  font-size: 19px;
  margin: 0 0 10px;
}
.step p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* =================== why us =================== */
.why {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.why__copy { padding-top: 8px; }
.why__copy .section__title { text-align: left; margin: 0 0 22px; }
.why__lede {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  margin: 0;
}
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.why__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 24px;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.why__card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(249, 115, 22, 0.6);
  transform: translateY(-3px);
}
.why__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(249, 115, 22, 0.18);
  color: var(--orange-400);
  margin-bottom: 14px;
}
.why__card h4 {
  color: #fff;
  font-size: 17px;
  margin: 0 0 6px;
}
.why__card p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

/* =================== founders =================== */
.founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.founder {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.founder:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.founder__photo {
  flex: 0 0 140px;
  width: 140px;
  height: 140px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
}
.founder__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}
.founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder__name {
  font-size: 22px;
  margin: 0 0 4px;
}
.founder__role {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--orange-600);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.founder__body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* =================== contact =================== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 56px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.contact__copy .section__title {
  text-align: left;
  font-size: clamp(28px, 3vw, 38px);
  margin: 0 0 18px;
}
.contact__lede {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 32px;
}
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.contact__details li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact__details strong {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-700);
  text-transform: uppercase;
}
.contact__details a, .contact__details span {
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; font-family: inherit; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(40, 112, 214, 0.12);
}
.contact__form .btn { align-self: flex-start; margin-top: 6px; }
.form__note {
  font-size: 14px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.form__note.is-error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

/* Honeypot — visually hidden but still in the DOM for bots to find */
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =================== footer =================== */
.footer {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 28px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__brand p {
  margin: 16px 0 0;
  font-size: 14px;
  max-width: 320px;
}
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__sub { color: var(--orange-400); }
.brand--footer .brand__mark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--orange-400);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer__cols h5 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.footer__cols ul { display: flex; flex-direction: column; gap: 10px; }
.footer__cols a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}
.footer__cols a:hover { color: var(--orange-400); }
.footer__cols li { font-size: 14px; }

.footer__base {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* =================== reveal animation =================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =================== responsive =================== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { height: 460px; max-width: 600px; margin: 0 auto; width: 100%; }
  .hero__chip--1 { left: 8px; bottom: 16px; }
  .hero__chip--2 { right: 8px; top: 16px; }
  .why { grid-template-columns: 1fr; gap: 36px; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 820px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed;
    inset: 76px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
    box-shadow: 0 14px 28px -16px rgba(10, 37, 64, 0.2);
  }
  .nav__links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav__links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav__links a:last-child {
    border: 0;
    margin-top: 12px;
    text-align: center;
  }
  .nav__links a:not(.btn)::after { display: none; }

  .hero { padding: 56px 0 72px; }
  .hero__title { font-size: 38px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }

  .section { padding: 72px 0; }
  .section__head { margin-bottom: 44px; }

  .services { grid-template-columns: 1fr; }
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 240px 240px;
  }
  .gallery__item--lg { grid-column: span 2; grid-row: span 1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .founders { grid-template-columns: 1fr; }
  .founder { flex-direction: column; align-items: stretch; }
  .founder__photo { width: 100%; height: 220px; flex: 0 0 auto; }

  .contact { grid-template-columns: 1fr; padding: 36px 28px; gap: 36px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .hero__title { font-size: 32px; }
  .hero__stats { grid-template-columns: 1fr; }
  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 240px);
  }
  .gallery__item--lg { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__base { justify-content: flex-start; }
  .trust__items { gap: 14px; }
  .service { padding: 28px; }
}
