/* ============================================================
   Marcos Bianchi — Desenvolvimento de Sistemas & Automações
   Identidade visual: dark navy + gradiente índigo→ciano
   ============================================================ */

:root {
  --bg: #070b14;
  --bg-2: #0b1120;
  --bg-3: #0f1830;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e9eef8;
  --muted: #9aa8c0;
  --accent: #22d3ee;
  --accent-2: #6366f1;
  --accent-3: #a78bfa;
  --gradient: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
  --gradient-soft: linear-gradient(135deg, rgba(99, 102, 241, 0.16), rgba(34, 211, 238, 0.16));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font-heading: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(34, 211, 238, 0.35); }

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

/* ---------- fundo decorativo ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}

.bg-glow {
  position: fixed;
  z-index: -1;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.16;
  pointer-events: none;
}
.bg-glow.one { top: -300px; left: -180px; background: #6366f1; }
.bg-glow.two { top: 30%; right: -280px; background: #22d3ee; opacity: 0.10; }

/* ---------- header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark-img {
  height: 44px;
  width: auto;
  display: block;
}
.logo-mark-img.small { height: 30px; }
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}
.logo-name {
  font-family: "Montserrat", var(--font-heading), sans-serif;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.031em; /* -1.5px em 48px, proporcional */
  color: #f1f5f9;
  line-height: 1;
}
.logo-name em {
  font-style: normal;
  background: linear-gradient(90deg, #3b82f6 0%, #2563eb 50%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo-name.small { font-size: 19px; }
.logo-sub {
  font-family: "Montserrat", var(--font-body), sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: #a8b8d0;
  letter-spacing: 0.22em;
  line-height: 1;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s;
}
.nav a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.93rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--gradient);
  color: #051018;
  box-shadow: 0 8px 26px rgba(56, 130, 246, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(34, 211, 238, 0.4); }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.nav .btn { padding: 10px 22px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

/* ---------- hero ---------- */
.hero {
  padding: 175px 0 90px;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--gradient-soft);
  border: 1px solid rgba(99, 102, 241, 0.35);
  font-size: 0.8rem;
  font-weight: 600;
  color: #c7d6f5;
  letter-spacing: 0.3px;
  margin-bottom: 22px;
}
.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.14;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 34rem;
  margin-bottom: 34px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }

.hero-stats {
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
}
.stat b {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}
.stat b span { color: var(--accent); }
.stat small { color: var(--muted); font-size: 0.82rem; }

/* mockup do hero */
.hero-visual { position: relative; }
.hero-visual .glass-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(13, 20, 38, 0.92);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  animation: floaty 5s ease-in-out infinite;
}
.float-chip svg { flex-shrink: 0; }
.float-chip.c1 { top: -22px; right: 4px; animation-delay: 0s; }
.float-chip.c2 { bottom: -20px; left: -14px; animation-delay: 1.4s; }
.float-chip small { display: block; font-weight: 400; color: var(--muted); font-size: 0.72rem; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- seções ---------- */
section { padding: 96px 0; position: relative; }

.section-head { max-width: 640px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-head p { color: var(--muted); font-size: 1.02rem; }

/* ---------- serviços ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.4);
  background: var(--surface-2);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-soft);
  border: 1px solid rgba(99, 102, 241, 0.35);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.service-card p { color: var(--muted); font-size: 0.93rem; }

.service-card.featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  background: var(--gradient-soft);
  border-color: rgba(99, 102, 241, 0.45);
}
.service-card.featured .service-icon { margin-bottom: 0; width: 64px; height: 64px; }
.service-card.featured h3 { font-size: 1.3rem; }
.service-card.featured p { max-width: 62rem; }

/* ---------- automação ---------- */
.automation {
  background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.05) 30%, rgba(34, 211, 238, 0.04) 70%, transparent);
}
.automation-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.automation-list { display: flex; flex-direction: column; gap: 14px; }
.automation-item {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s, transform 0.25s;
}
.automation-item:hover { border-color: rgba(34, 211, 238, 0.45); transform: translateX(5px); }
.automation-item .ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--accent);
}
.automation-item b { font-family: var(--font-heading); font-weight: 600; font-size: 0.98rem; display: block; margin-bottom: 3px; }
.automation-item span { color: var(--muted); font-size: 0.88rem; }

/* ---------- portfólio ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.project-thumb {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.project-thumb svg { width: 100%; height: auto; display: block; transition: transform 0.4s ease; }
.project-card:hover .project-thumb svg { transform: scale(1.03); }

.project-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--muted);
}
.tag.hl { border-color: rgba(34, 211, 238, 0.5); color: var(--accent); background: rgba(34, 211, 238, 0.08); }
.project-body h3 { font-family: var(--font-heading); font-size: 1.22rem; font-weight: 600; }
.project-body p { color: var(--muted); font-size: 0.93rem; flex: 1; }
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--accent);
  margin-top: 4px;
}
.project-link svg { transition: transform 0.2s; }
.project-card:hover .project-link svg { transform: translateX(4px); }

/* ---------- modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 7, 14, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 4% 6vh;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  width: min(860px, 100%);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translateY(26px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 30px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-2);
  z-index: 2;
}
.modal-head h3 { font-family: var(--font-heading); font-size: 1.3rem; }
.modal-close {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.modal-close:hover { background: var(--surface-2); }
.modal-body { padding: 30px; }
.modal-body .lead-desc { color: var(--muted); margin-bottom: 26px; font-size: 0.99rem; }

.modal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 8px; }
.modal-col h4 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.modal-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.modal-col li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: #c4cfe2;
  line-height: 1.5;
}
.modal-col li::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient);
  margin-top: 8px;
}
.modal-foot {
  padding: 20px 30px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.modal-foot .stack { color: var(--muted); font-size: 0.83rem; }
.modal-foot .stack b { color: var(--text); font-weight: 600; }

/* ---------- processo ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: transform 0.25s, border-color 0.25s;
}
.process-step:hover { transform: translateY(-4px); border-color: rgba(167, 139, 250, 0.45); }
.process-step .num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
  margin-bottom: 14px;
}
.process-step h3 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: 0.88rem; }

/* ---------- sobre ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p { color: var(--muted); margin-bottom: 18px; font-size: 1rem; }
.about-text p b, .about-text p strong { color: var(--text); }
.tech-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 0.82rem;
  font-weight: 600;
  color: #c4cfe2;
}

.about-highlights { display: flex; flex-direction: column; gap: 18px; }
.highlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.highlight-card .ico {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gradient-soft);
  border: 1px solid rgba(99, 102, 241, 0.4);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.highlight-card b { font-family: var(--font-heading); font-weight: 600; display: block; margin-bottom: 4px; }
.highlight-card span { color: var(--muted); font-size: 0.89rem; }

/* ---------- contato ---------- */
.contact { padding-bottom: 110px; }
.contact-box {
  background: linear-gradient(160deg, rgba(99, 102, 241, 0.13), rgba(34, 211, 238, 0.07));
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 26px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
}
.contact-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.contact-info > p { color: var(--muted); margin-bottom: 30px; }
.contact-channels { display: flex; flex-direction: column; gap: 14px; }
.channel {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 18px;
  background: rgba(7, 11, 20, 0.55);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, transform 0.2s;
}
.channel:hover { border-color: rgba(34, 211, 238, 0.5); transform: translateX(4px); }
.channel .ico {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--gradient-soft);
  color: var(--accent);
}
.channel small { display: block; color: var(--muted); font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; }
.channel b { font-weight: 600; font-size: 0.97rem; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #c4cfe2;
  margin-bottom: -8px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(7, 11, 20, 0.6);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { justify-content: center; margin-top: 6px; }
.form-status { font-size: 0.88rem; display: none; padding: 12px 16px; border-radius: var(--radius-sm); }
.form-status.ok { display: block; background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.4); color: #6ee7b7; }
.form-status.err { display: block; background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.4); color: #fca5a5; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer p { color: var(--muted); font-size: 0.85rem; }
.footer .links { display: flex; gap: 22px; }
.footer .links a { color: var(--muted); font-size: 0.85rem; transition: color 0.2s; }
.footer .links a:hover { color: var(--accent); }

/* ---------- botão WhatsApp flutuante ---------- */
.whats-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 150;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 30px; height: 30px; }

/* ---------- animações de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ---------- responsivo ---------- */
@media (max-width: 1020px) {
  .logo-mark-img { height: 38px; }
  .logo-name { font-size: 20px; }
  .logo-sub { font-size: 9.5px; }
  .nav { gap: 16px; }
  .nav a { font-size: 0.86rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 150px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.featured { grid-column: span 2; grid-template-columns: 1fr; }
  .automation-inner { grid-template-columns: 1fr; gap: 44px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 44px; }
  .contact-box { grid-template-columns: 1fr; padding: 44px 34px; gap: 40px; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 11, 20, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 12px 5% 22px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .nav-toggle { display: block; }
  .logo-mark-img { height: 40px; }
  .logo-name { font-size: 21px; }
  .logo-sub { font-size: 10px; }
}

@media (max-width: 720px) {
  .logo-mark-img { height: 34px; }
  .logo-name { font-size: 18px; }
  .logo-sub { font-size: 8.5px; }

  section { padding: 68px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card.featured { grid-column: span 1; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .modal-cols { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .float-chip.c2 { display: none; }
  .contact-box { padding: 34px 22px; }
  .modal-body, .modal-head { padding-inline: 20px; }
}
