/* =========================================================
   Mobiscal Technologies — One-page corporate site
   ========================================================= */

:root {
  --dark-950: #0e0f13;
  --dark-900: #16181d;
  --dark-800: #262931;
  --brand: #d7261e;
  --brand-light: #e8504a;
  --brand-dark: #a8181a;
  --ink: #17181c;
  --body: #4b4f58;
  --muted: #6b6f78;
  --line: #e6e7ea;
  --surface: #ffffff;
  --surface-alt: #f7f7f8;
  --gradient: linear-gradient(135deg, #e0332b 0%, var(--brand-dark) 100%);

  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(17, 18, 22, .06), 0 1px 3px rgba(17, 18, 22, .08);
  --shadow-md: 0 10px 30px -12px rgba(17, 18, 22, .18);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .35);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn--primary { background: var(--gradient); color: #fff; box-shadow: 0 10px 24px -10px rgba(215, 38, 30, .7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(215, 38, 30, .8); }
.btn--ghost { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }
.btn--light { background: #fff; color: var(--dark-900); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--sm { padding: .6rem 1.15rem; font-size: .875rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gradient); border-radius: 2px; }
.eyebrow--light { color: #ff9b94; }

.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--surface-alt); }
.section__head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 800; margin-bottom: 1rem; }
.section__lead { font-size: 1.1rem; color: var(--muted); }

.text-gradient {
  background: linear-gradient(90deg, #ff6b63, #ffa27a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s, height .3s;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(17, 18, 22, .25);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.logo { display: inline-flex; align-items: center; }
.logo img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  font-weight: 500; font-size: .95rem; color: rgba(255, 255, 255, .85);
  position: relative; padding: .25rem 0; transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--gradient); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.header.is-scrolled .nav__link { color: var(--body); }
.header.is-scrolled .nav__link:hover, .header.is-scrolled .nav__link.is-active { color: var(--ink); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0;
}
.nav-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s, background .3s; }
.header.is-scrolled .nav-toggle span, .header.nav-open .nav-toggle span { background: var(--ink); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 10% 0%, var(--dark-800) 0%, var(--dark-900) 45%, var(--dark-950) 100%);
  color: #c9ccd2;
  padding: calc(var(--header-h) + 80px) 0 110px;
  min-height: 100vh; display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.hero__glow--1 { width: 520px; height: 520px; background: #d7261e; top: -120px; right: -80px; opacity: .32; }
.hero__glow--2 { width: 380px; height: 380px; background: #a8181a; bottom: -160px; left: 30%; opacity: .3; }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 60px; }
.hero__title { color: #fff; font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 1.5rem; }
.hero__lead { font-size: 1.15rem; max-width: 580px; color: #a6a9b1; margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero__points { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; font-size: .95rem; color: #c9ccd2; }
.hero__points li { display: flex; align-items: center; gap: .5rem; }
.hero__points svg { width: 18px; height: 18px; fill: none; stroke: #f4706a; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Phone mockup */
.hero__visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 290px; height: 590px; border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #2a2d34, #121317);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .08), var(--shadow-lg), 0 50px 100px -30px rgba(6, 182, 212, .35);
  animation: float 7s ease-in-out infinite;
}
.phone__notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #0c0d10; border-radius: 20px; z-index: 2; }
.phone__screen {
  height: 100%; border-radius: 36px; overflow: hidden; background: #f4f4f6;
  padding: 58px 18px 18px; display: flex; flex-direction: column; gap: 14px; position: relative;
}
.app-bar { display: flex; align-items: center; gap: 10px; }
.app-bar__dot { width: 22px; height: 22px; border-radius: 7px; background: var(--gradient); }
.app-bar__title { flex: 1; height: 10px; border-radius: 6px; background: #c9ccd2; max-width: 90px; }
.app-bar__avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #fde68a, #f59e0b); margin-left: auto; }
.app-card { border-radius: 18px; padding: 16px; }
.app-card--hero { background: var(--gradient); display: flex; flex-direction: column; gap: 8px; box-shadow: 0 12px 24px -12px rgba(215, 38, 30, .7); }
.app-line { display: block; height: 8px; border-radius: 6px; background: #c9ccd2; flex: 1; }
.app-card--hero .app-line { background: rgba(255, 255, 255, .5); }
.app-line--sm { width: 40%; flex: none; }
.app-line--lg { width: 70%; height: 14px; flex: none; background: #fff !important; }
.app-chart { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 8px; }
.app-chart i { flex: 1; background: rgba(255, 255, 255, .85); border-radius: 4px 4px 2px 2px; }
.app-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.app-tile { background: #fff; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm); }
.app-icon { width: 30px; height: 30px; border-radius: 10px; background: #fde4e2; flex: none; }
.app-icon--alt { background: #fdebdc; }
.app-icon--sm { width: 26px; height: 26px; border-radius: 8px; }
.app-list { background: #fff; border-radius: 16px; padding: 6px 12px; box-shadow: var(--shadow-sm); }
.app-list__item { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.app-list__item + .app-list__item { border-top: 1px solid #eeeff1; }
.app-nav { margin-top: auto; display: flex; justify-content: space-around; background: #fff; border-radius: 16px; padding: 12px; box-shadow: var(--shadow-sm); }
.app-nav i { width: 20px; height: 20px; border-radius: 6px; background: #e6e7ea; }
.app-nav i.is-active { background: var(--gradient); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .96); border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow-lg); font-size: .8rem; color: var(--muted); line-height: 1.3;
}
.float-card strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: .95rem; }
.float-card__icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: #fde4e2; }
.float-card__icon--alt { background: #fdebdc; }
.float-card__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.float-card__icon--alt svg { stroke: #c2410c; }
.float-card--1 { top: 18%; left: -10px; animation: float 6s ease-in-out infinite .5s; }
.float-card--2 { bottom: 16%; right: -10px; animation: float 6.5s ease-in-out infinite 1.2s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.about__panel {
  position: relative; background: var(--dark-900); border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-lg); overflow: hidden; color: #a6a9b1;
}
.about__panel::before {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: #d7261e; filter: blur(100px); opacity: .45; top: -140px; right: -120px;
}
.about__badge { position: relative; display: flex; align-items: center; gap: 16px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.about__badge img { border-radius: 14px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); }
.about__badge strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.2rem; }
.about__badge span { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.about__values { position: relative; display: grid; gap: 24px; }
.about__values li { display: flex; gap: 16px; }
.about__values strong { color: #fff; font-family: var(--font-head); display: block; margin-bottom: 2px; }
.about__values p { margin: 0; font-size: .95rem; }
.about__values-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.about__values-icon svg { width: 22px; height: 22px; fill: none; stroke: #f4706a; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.about__highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 2rem; }
.highlight { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.highlight strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: .98rem; }
.highlight span:last-child { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.highlight__icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fdf1f0; }
.highlight__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gradient);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card h3 { font-size: 1.15rem; margin: 1.4rem 0 .6rem; }
.card p { font-size: .95rem; margin: 0; color: var(--muted); }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, #fdf1f0, #fff6ef); transition: background .35s;
}
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.card:hover .card__icon { background: var(--gradient); }
.card:hover .card__icon svg { stroke: #fff; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; counter-reset: step; }
.process::before {
  content: ""; position: absolute; top: 32px; left: 10%; right: 10%; height: 2px;
  background: repeating-linear-gradient(90deg, #c9ccd2 0 8px, transparent 8px 16px);
}
.process__step { position: relative; text-align: center; padding: 0 8px; }
.process__num {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 1.5rem;
  border-radius: 50%; background: #fff; border: 2px solid var(--line);
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--brand);
  box-shadow: 0 0 0 8px #fff; transition: background .3s, color .3s, border-color .3s;
}
.process__step:hover .process__num { background: var(--gradient); color: #fff; border-color: transparent; }
.process__step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.process__step p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- Technologies ---------- */
.section--dark { background: var(--dark-900); color: #a6a9b1; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: #d7261e; filter: blur(140px); opacity: .25; top: -300px; left: -200px; pointer-events: none;
}
.section--dark .section__title { color: #fff; }
.section--dark .section__lead { color: #a6a9b1; }
.tech { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tech__group {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius-lg); padding: 28px; transition: border-color .3s, background .3s;
}
.tech__group:hover { border-color: rgba(244, 112, 106, .4); background: rgba(255, 255, 255, .06); }
.tech__group h3 { color: #fff; font-size: 1.1rem; margin-bottom: 1.25rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: .85rem; font-weight: 500; color: #fde4e2; padding: .4rem .85rem; border-radius: 999px;
  background: rgba(215, 38, 30, .14); border: 1px solid rgba(215, 38, 30, .25);
}

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff; font-family: var(--font-head); font-weight: 700; color: var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.industry svg {
  flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: #fdf1f0;
  fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.why__content .section__lead { margin-bottom: 2rem; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.why__item { background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.why__item:nth-child(even) { transform: translateY(32px); }
.why__item h3 { font-size: 1.1rem; margin: 1.1rem 0 .5rem; }
.why__item p { font-size: .93rem; color: var(--muted); margin: 0; }
.why__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--gradient); box-shadow: 0 10px 20px -10px rgba(215, 38, 30, .8); }
.why__icon svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gradient); position: relative; overflow: hidden; padding: 72px 0; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: .5rem; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact { max-width: 820px; text-align: center; }
.contact .eyebrow { justify-content: center; }
.contact__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 2.5rem 0; text-align: left; }
.contact__list li { display: flex; gap: 16px; align-items: center; padding: 22px 24px; border-radius: var(--radius); background: var(--surface-alt); border: 1px solid var(--line); }
.contact__list small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact__list a, .contact__list span { color: var(--ink); font-weight: 600; font-family: var(--font-head); word-break: break-word; }
.contact__list a:hover { color: var(--brand); }
.contact__icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--gradient); }
.contact__icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }


/* ---------- Footer ---------- */
.footer { background: var(--dark-950); color: #9a9da5; padding-top: 80px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer__brand p { margin-top: 1.25rem; max-width: 340px; font-size: .95rem; }
.footer__col { display: flex; flex-direction: column; gap: .7rem; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: .5rem; }
.footer__col a { font-size: .95rem; transition: color .2s; word-break: break-word; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 24px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .88rem; }
.footer__bottom p { margin: 0; }
.back-top:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.why__item.reveal.is-visible:nth-child(even) { transform: translateY(32px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone, .float-card { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .tech { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .process::before { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 24px 24px; box-shadow: 0 20px 30px -20px rgba(17, 18, 22, .3);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
  }
  .header.nav-open { background: #fff; box-shadow: 0 1px 0 var(--line); }
  .header.nav-open .nav { transition: transform .3s var(--ease), opacity .3s; }
  .header.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav__link { color: var(--body) !important; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 16px; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 56px); }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__points { justify-content: center; }
  .hero__content .eyebrow { justify-content: center; }
  .hero__visual { margin-top: 20px; }

  .about, .why { grid-template-columns: 1fr; gap: 48px; }
  .about__media { order: 2; }
  .why__item:nth-child(even), .why__item.reveal.is-visible:nth-child(even) { transform: none; }

  .cta-band { padding: 56px 0; }
  .cta-band__inner { flex-direction: column; text-align: center; gap: 1.75rem; }
  .cta-band h2 { margin-bottom: .75rem; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .logo img { height: 38px; }
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 44px; }

  .cards, .tech, .industries, .why__grid, .contact__list, .about__highlights { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; text-align: left; row-gap: 28px; }
  .process__step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; text-align: left; padding: 0; }
  .process__num { grid-row: span 2; margin: 0; }

  .hero__actions .btn { width: 100%; }
  .phone { width: 250px; height: 510px; }
  .float-card--1 { left: 0; }
  .float-card--2 { right: 0; }

  .about__panel { padding: 28px 22px; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
}
