/* ==========================================================================
   MGTEK — Assessoria em TI | Folha de estilos principal
   Cores institucionais (Manual de Identidade Visual):
   Azul-escuro #00204d (Pantone 2758C) · Azul #0071bc (Pantone 3005C) · Preto #000
   Tipografia: Rubik (apoio) · Lexend Zetta (tagline/destaques)
   ========================================================================== */

:root {
  --navy: #00204d;
  --blue: #0071bc;
  --blue-dark: #005a96;
  --blue-soft: #e8f2fa;
  --ink: #16263f;
  --gray: #56677f;
  --line: #dde6f0;
  --bg-soft: #f5f8fc;
  --white: #ffffff;
  --success: #1e9e5a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 32, 77, .10);
  --shadow-sm: 0 4px 14px rgba(0, 32, 77, .08);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 { line-height: 1.25; color: var(--navy); font-weight: 700; }

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

.kicker {
  font-family: 'Lexend Zetta', sans-serif;
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 14px;
}

.section { padding: 84px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--navy); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark p { color: rgba(255,255,255,.82); }

.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.section-head p { color: var(--gray); font-size: 1.06rem; }
.section.dark .section-head p { color: rgba(255,255,255,.82); }

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: var(--white) !important; box-shadow: 0 8px 22px rgba(0,113,188,.35); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border-color: var(--blue); color: var(--blue) !important; background: transparent; }
.btn-outline:hover { background: var(--blue-soft); }
.btn-light { background: var(--white); color: var(--navy) !important; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.btn-ghost-light { border-color: rgba(255,255,255,.6); color: var(--white) !important; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 17px 38px; font-size: 1.08rem; }

/* ---------- Navegação ---------- */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0,32,77,.05);
}
.main-nav .nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.main-nav .logo img { height: 44px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block;
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 500;
  font-size: .97rem;
  border-radius: 8px;
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--blue); background: var(--blue-soft); }
.nav-links .nav-cta a { background: var(--blue); color: var(--white); padding: 11px 22px; border-radius: 999px; font-weight: 600; }
.nav-links .nav-cta a:hover { background: var(--blue-dark); color: var(--white); }

.has-sub > a::after { content: " ▾"; font-size: .7em; }
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 10px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: .95rem; }
.sub-menu a:hover { background: var(--blue-soft); color: var(--blue); }

.hamburger {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #012f66 55%, var(--blue) 130%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/simbolo-mgtek.png');
  background-repeat: no-repeat;
  background-position: right -120px center;
  background-size: 520px;
  opacity: .07;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px 24px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.hero.compact .hero-inner { grid-template-columns: 1fr; padding: 72px 24px 64px; text-align: left; max-width: 900px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin-bottom: 20px;
  font-weight: 700;
}
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,.85); margin-bottom: 34px; max-width: 560px; }
.hero .hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .badge-row { display: flex; gap: 26px; align-items: center; margin-top: 44px; flex-wrap: wrap; }
.hero .badge-row img { height: 46px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
.hero .badge-row img.no-invert { filter: none; opacity: 1; }
.hero-art { text-align: center; }
.hero-art img { max-height: 380px; }

.hero-tagline {
  font-family: 'Lexend Zetta', sans-serif;
  letter-spacing: .3em;
  font-size: .72rem;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 18px;
  display: block;
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.18rem; margin: 16px 0 10px; }
.card p { color: var(--gray); font-size: .97rem; }
.card .card-link { display: inline-block; margin-top: 16px; font-weight: 600; font-size: .95rem; }
.card .card-link::after { content: " →"; }
.card-icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 30px; height: 30px; stroke: var(--blue); }
.card-icon img { max-width: 34px; max-height: 34px; }

/* ---------- Segmentos ---------- */
.segment-card { text-align: left; }
.segment-card .card-icon { margin-bottom: 4px; }

/* ---------- Faixa de números ---------- */
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; text-align: center; }
.counters.counters-4 { grid-template-columns: repeat(4, 1fr); }
.counter-value { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; color: var(--white); min-height: 1.1em; }
.counter-value span.plus { color: #61b8f0; }
.counter-value.counter-icon { display: flex; justify-content: center; }
.counter-value.counter-icon svg { width: 46px; height: 46px; stroke: #61b8f0; }
.counter-label { color: rgba(255,255,255,.8); font-size: 1rem; max-width: 240px; margin: 8px auto 0; }
@media (max-width: 860px) { .counters.counters-4 { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; } }
@media (max-width: 480px) { .counters.counters-4 { grid-template-columns: 1fr; } }

/* ---------- Depoimentos ---------- */
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial blockquote { color: var(--ink); font-size: 1rem; }
.testimonial blockquote::before { content: "“"; color: var(--blue); font-size: 2.6rem; line-height: 0; display: block; margin: 18px 0 2px; font-family: Georgia, serif; }
.testimonial .who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testimonial .who .avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial .who strong { display: block; color: var(--navy); font-size: .98rem; }
.testimonial .who small { color: var(--gray); }
.testimonial .logo-cliente { max-height: 40px; width: auto; align-self: flex-start; }

/* ---------- Logos de clientes / parceiros ---------- */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px; }
.logo-strip img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .7; transition: .2s; }
.logo-strip img:hover { filter: none; opacity: 1; }

/* ---------- Bloco alternado (texto + imagem) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 16px; }
.split p { color: var(--gray); margin-bottom: 14px; }
.split ul.checks { list-style: none; margin: 18px 0 26px; }
.split ul.checks li { padding-left: 34px; position: relative; margin-bottom: 12px; color: var(--ink); }
.split ul.checks li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 24px; height: 24px;
  background: var(--blue-soft); color: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
}
.split .img-frame { background: var(--bg-soft); border-radius: var(--radius); padding: 30px; text-align: center; border: 1px solid var(--line); }

/* ---------- Faixa CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--blue));
  border-radius: 20px;
  padding: 58px 48px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url('../img/simbolo-mgtek.png');
  background-repeat: no-repeat;
  background-position: right -60px bottom -80px;
  background-size: 300px;
  opacity: .1;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 520px; }
.cta-band > div, .cta-band > a { position: relative; }

/* ---------- Apps Google ---------- */
.apps-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.app-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 10px;
  text-align: center;
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink);
  transition: .2s;
}
.app-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.app-item img { height: 38px; width: auto; margin-bottom: 10px; }
.app-item span { display: block; }

/* ---------- Mockup estilo Google Workspace ---------- */
.gw-mock { position: relative; max-width: 520px; margin: 0 auto; }
.gw-window {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0,32,77,.14);
  overflow: hidden;
}
.gw-window-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #fafcff;
}
.gw-window-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.gw-window-bar .dot.r { background: #f28b82; }
.gw-window-bar .dot.y { background: #fdd663; }
.gw-window-bar .dot.g { background: #81c995; }
.gw-doc-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px 8px;
}
.gw-doc-head img { height: 30px; width: auto; }
.gw-doc-head strong { display: block; color: var(--navy); font-size: .95rem; }
.gw-doc-head small { color: var(--gray); font-size: .8rem; }
.gw-doc-avatars { margin-left: auto; display: flex; }
.gw-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--white);
  color: #fff; font-size: .72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-left: -8px;
}
.gw-avatar.a1 { background: #1a73e8; margin-left: 0; }
.gw-avatar.a2 { background: #188038; }
.gw-avatar.a3 { background: #d93025; }
.gw-doc-body { padding: 14px 20px 24px; }
.gw-line {
  height: 10px; border-radius: 6px;
  background: #e8eef7;
  margin-bottom: 12px;
}
.gw-line.w80 { width: 80%; }
.gw-line.w95 { width: 95%; }
.gw-line.w60 { width: 60%; }
.gw-line.hl { background: #d2e3fc; position: relative; width: 88%; }
.gw-cursor {
  position: absolute; top: -22px; left: 58%;
  background: #188038; color: #fff;
  font-size: .68rem; font-weight: 600;
  padding: 2px 8px; border-radius: 4px 4px 4px 0;
}
.gw-cursor::after {
  content: ""; position: absolute; left: 0; top: 100%;
  width: 2px; height: 26px; background: #188038;
}
.gw-meet-card {
  position: absolute; right: -18px; bottom: -26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(0,32,77,.18);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
}
.gw-meet-card img { height: 26px; width: auto; }
.gw-meet-card strong { display: block; font-size: .84rem; color: var(--navy); }
.gw-meet-card small { color: var(--gray); font-size: .74rem; }
.gw-meet-avatars { display: flex; }
@media (max-width: 860px) {
  .gw-meet-card { right: 6px; bottom: -20px; }
}

/* ---------- Foto com ícones flutuantes (estilo Google) ---------- */
.gw-photo {
  position: relative;
  max-width: 460px;
  margin: 26px auto 0;
  padding: 26px;
}
.gw-photo > img.foto {
  border-radius: 22px;
  display: block;
  box-shadow: 0 18px 44px rgba(0,32,77,.16);
}
.gw-badge {
  position: absolute;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 10px 26px rgba(0,32,77,.18);
  display: flex; align-items: center; justify-content: center;
}
.gw-badge img { width: 55%; height: 55%; }
.gw-badge.b1 { width: 74px; height: 74px; top: -4px; left: -6px; }
.gw-badge.b2 { width: 58px; height: 58px; right: -10px; top: 34%; }
.gw-badge.b3 { width: 62px; height: 62px; left: -14px; bottom: 18%; }
.gw-badge.b4 { width: 66px; height: 66px; right: 8%; bottom: -14px; }
@media (max-width: 560px) {
  .gw-badge.b1 { left: 0; }
  .gw-badge.b2 { right: 0; }
  .gw-badge.b3 { left: 0; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; background: var(--white); overflow: hidden; }
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  position: relative;
  padding-right: 56px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 500;
  transition: .2s;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--gray); }

/* ---------- Formulários / contato ---------- */
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 36px;
}
.form-panel h3 { margin-bottom: 8px; }
.form-panel .form-sub { color: var(--gray); margin-bottom: 24px; font-size: .97rem; }

.contact-info address { font-style: normal; color: var(--gray); line-height: 1.9; }
.contact-info .contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 8px; }
.contact-info .contact-line svg { width: 20px; height: 20px; stroke: var(--blue); flex-shrink: 0; margin-top: 5px; }

/* ---------- Tabela de módulos (firewall) ---------- */
.module-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.module-pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  color: var(--navy);
  font-size: .93rem;
  box-shadow: var(--shadow-sm);
}
.module-pill span { color: var(--blue); margin-right: 6px; }

/* ---------- Downloads ---------- */
.download-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 24px;
  margin-bottom: 14px;
}
.download-row strong { color: var(--navy); }
.download-row small { display: block; color: var(--gray); }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy); color: rgba(255,255,255,.8); padding: 70px 0 0; }
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 44px;
}
.footer-grid h4 {
  color: var(--white);
  font-size: .82rem;
  font-family: 'Lexend Zetta', sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 400;
}
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 11px; }
.footer-grid a { color: rgba(255,255,255,.75); font-size: .95rem; }
.footer-grid a:hover { color: var(--white); }
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: .93rem; max-width: 300px; }
.footer-social { display: flex; gap: 14px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: .2s;
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); }
.footer-social svg { width: 18px; height: 18px; fill: var(--white); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.footer-contact svg { width: 17px; height: 17px; stroke: #61b8f0; flex-shrink: 0; margin-top: 5px; }
.footer-partners { display: flex; gap: 26px; align-items: center; margin-top: 26px; flex-wrap: wrap; }
.footer-partners img { height: 40px; width: auto; background: var(--white); border-radius: 8px; padding: 6px 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 56px;
  padding: 22px 24px;
  text-align: center;
  font-size: .87rem;
  color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.7); }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-fab {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 950;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: transform .2s;
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab svg { width: 32px; height: 32px; fill: var(--white); }

/* ---------- Página interna: hero compacto ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy), #01315f 70%, var(--blue-dark) 140%);
  color: var(--white);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url('../img/simbolo-mgtek.png');
  background-repeat: no-repeat;
  background-position: right -100px center;
  background-size: 420px;
  opacity: .06;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 16px; max-width: 720px; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 640px; margin-bottom: 30px; }
.page-hero .hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.page-hero .partner-logo { margin-bottom: 26px; }
.page-hero .partner-logo img { height: 44px; width: auto; }

/* ---------- Política de privacidade / texto corrido ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin: 40px 0 14px; }
.prose p { color: var(--gray); margin-bottom: 16px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .apps-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 24px; }
  .hero-art { display: none; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.img-first .img-frame { order: -1; }
  .grid.cols-3 { grid-template-columns: 1fr; }
  .grid.cols-2 { grid-template-columns: 1fr; }
  .counters { grid-template-columns: 1fr; gap: 34px; }
  .cta-band { padding: 44px 30px; }

  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 20px 26px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 14px 12px; font-size: 1.05rem; }
  .sub-menu {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0;
    padding: 0 0 0 18px;
    display: none;
  }
  .has-sub.open .sub-menu { display: block; }
  .nav-links .nav-cta { margin-top: 12px; }
  .nav-links .nav-cta a { display: block; text-align: center; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .grid.cols-5, .grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .apps-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .logo-strip { gap: 28px; }
  .logo-strip img { max-height: 42px; }
}
