:root {
  --black: #000000;
  --white: #ffffff;
  --blue-bright: #0062ff;
  --blue-dark: #061b2b;
  --blue-mid: #092a59;

  --bg: var(--black);
  --bg-alt: var(--blue-dark);
  --text: var(--white);
  --text-muted: #a9b4c2;
  --border: rgba(255, 255, 255, 0.1);

  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  --font-display: "Space Grotesk", var(--font);
  --container-width: 1140px;
  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

.section {
  padding: 100px 0;
  position: relative;
}

.eyebrow {
  display: inline-block;
  color: var(--blue-bright);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  max-width: 700px;
  margin-bottom: 24px;
}

.lead {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
}

/* Scroll-triggered reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-bright), #7db3ff);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), background 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  z-index: 1;
}

.btn:hover::before {
  left: 120%;
}

.btn-primary {
  background: var(--blue-bright);
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(0, 98, 255, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #0052d6;
  box-shadow: 0 10px 30px -8px rgba(0, 98, 255, 0.6);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--blue-bright);
  color: var(--blue-bright);
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.85);
  border-bottom-color: var(--border);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  transition: padding 0.3s ease;
}

.site-header.scrolled .nav {
  padding-top: 10px;
  padding-bottom: 10px;
}

.nav-logo img {
  height: 34px;
  width: auto;
  transition: transform 0.3s ease;
}

.nav-logo:hover img {
  transform: scale(1.06);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  color: var(--text-muted);
  transition: color 0.2s ease;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue-bright);
  transition: width 0.25s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--blue-bright);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  color: var(--white) !important;
  opacity: 0.9;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  padding: 150px 0 130px;
  background: linear-gradient(180deg, var(--black) 0%, var(--blue-dark) 100%);
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}

.blob-1 {
  width: 460px;
  height: 460px;
  top: -160px;
  left: -120px;
  background: var(--blue-bright);
}

.blob-2 {
  width: 380px;
  height: 380px;
  bottom: -160px;
  right: -100px;
  background: var(--blue-mid);
  animation-delay: -7s;
  animation-duration: 17s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 70%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Floating illustrative cards */
.hero-float {
  position: absolute;
  z-index: 1;
  width: 220px;
  animation: float-card 8s ease-in-out infinite;
}

.hero-float-inner {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  text-align: left;
  font-size: 0.8rem;
  transition: transform 0.2s ease-out;
}

.hero-float-left {
  top: 20%;
  left: calc(50% - 660px);
}

.hero-float-right {
  bottom: 18%;
  right: calc(50% - 660px);
  animation-delay: -3s;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.float-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
}

.float-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(0, 98, 255, 0.2);
}

.float-dot-alt {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.float-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  padding: 7px 0;
  border-top: 1px solid var(--border);
}

.float-card-row:first-of-type {
  border-top: none;
}

.float-tag {
  background: rgba(0, 98, 255, 0.15);
  color: #8fbaff;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
}

.float-tag-alt {
  background: rgba(34, 197, 94, 0.15);
  color: #6ee7a3;
}

.float-card-product {
  display: flex;
  align-items: center;
  gap: 12px;
}

.float-thumb {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-mid));
}

.float-card-product strong {
  display: block;
  color: var(--white);
  font-size: 0.82rem;
  margin-bottom: 2px;
}

.float-muted {
  color: var(--text-muted);
  font-size: 0.75rem;
}

@media (max-width: 1420px) {
  .hero-float {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-float {
    animation: none;
  }
}

/* Hero trust badges */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  list-style: none;
  margin-top: 44px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.hero-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 98, 255, 0.18);
  color: var(--blue-bright);
  font-size: 0.65rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .hero-badges {
    gap: 10px 20px;
    font-size: 0.8rem;
  }
}

.hero-logo {
  max-width: 420px;
  width: 80%;
  margin: 0 auto 40px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 800px;
  margin: 0 auto 20px;
}

.text-shine {
  background: linear-gradient(90deg, var(--blue-bright) 20%, #8fbaff 40%, var(--blue-bright) 60%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5s linear infinite;
}

@keyframes shine {
  to { background-position: -200% center; }
}

@media (prefers-reduced-motion: reduce) {
  .text-shine { animation: none; }
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 2px solid var(--border);
  border-radius: 999px;
  z-index: 1;
}

.scroll-cue span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--blue-bright);
  border-radius: 999px;
  transform: translateX(-50%);
  animation: scroll-cue 2s ease infinite;
}

@keyframes scroll-cue {
  0% { opacity: 1; top: 7px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue span { animation: none; }
}

/* Quem Somos */
.quem-somos {
  background: var(--bg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 32px;
  margin-top: 56px;
}

.team-card {
  text-align: center;
}

.team-photo {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--blue-mid);
  border: 2px solid var(--border);
  overflow: hidden;
}

.team-photo.placeholder {
  border-style: dashed;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.team-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.team-photo.placeholder::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--blue-bright);
  opacity: 0.6;
  animation: pulse-ring 2.6s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.92); opacity: 0.6; }
  100% { transform: scale(1.28); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .team-photo.placeholder::after { animation: none; }
}

.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-role {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Especialidades */
.especialidades {
  background: var(--bg-alt);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.spec-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
  --mx: 50%;
  --my: 50%;
}

.spec-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx) var(--my), rgba(0, 98, 255, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.spec-card:hover {
  border-color: var(--blue-bright);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -20px rgba(0, 98, 255, 0.4);
}

.spec-card:hover::before {
  opacity: 1;
}

.spec-icon {
  width: 48px;
  height: 48px;
  color: var(--blue-bright);
  margin-bottom: 20px;
  transition: transform 0.35s var(--ease);
}

.spec-card:hover .spec-icon {
  transform: scale(1.15) rotate(-6deg);
}

.spec-icon svg {
  width: 100%;
  height: 100%;
}

.spec-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.spec-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Como Funcionamos */
.como-funciona {
  background: var(--bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.step {
  position: relative;
  border-top: 2px solid var(--border);
  padding-top: 20px;
  transition: transform 0.3s var(--ease);
}

.step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-bright);
  transition: width 0.4s var(--ease);
}

.step:hover {
  transform: translateY(-4px);
}

.step:hover::before {
  width: 100%;
}

.step-number {
  display: block;
  color: var(--blue-bright);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Trabalhos */
.trabalhos {
  background: var(--bg-alt);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.portfolio-card {
  position: relative;
  display: block;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.portfolio-card:hover {
  border-color: var(--blue-bright);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -20px rgba(0, 98, 255, 0.4);
}

.portfolio-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--blue-dark);
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s var(--ease);
}

.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.06);
}

.portfolio-info {
  padding: 24px;
}

.portfolio-info h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.portfolio-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-bright);
  font-weight: 600;
  font-size: 0.88rem;
}

.portfolio-link span {
  transition: transform 0.25s ease;
}

.portfolio-card:hover .portfolio-link span {
  transform: translateX(4px);
}

/* Depoimentos */
.depoimentos {
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}

.testimonials-empty {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 32px;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: 16px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.testimonial-quote {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.testimonial-author span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.testimonial-note {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-style: italic;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.testimonial-form-card {
  max-width: 640px;
  margin: 32px auto 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}

.testimonial-form-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.testimonial-form-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.bot-field-wrap {
  position: absolute;
  left: -9999px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.optional-tag {
  color: var(--text-muted);
  font-weight: 400;
  opacity: 0.75;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: var(--font);
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
}

.btn-block {
  width: 100%;
  margin-top: 4px;
}

.form-error {
  background: rgba(255, 70, 70, 0.12);
  border: 1px solid rgba(255, 70, 70, 0.35);
  color: #ff9b9b;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.testimonial-success {
  text-align: center;
  padding: 12px 0;
}

.testimonial-success .success-icon {
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 50%;
  background: rgba(0, 98, 255, 0.15);
  color: var(--blue-bright);
  font-size: 1.4rem;
  margin: 0 auto 16px;
}

.testimonial-success p {
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .testimonial-form-card {
    padding: 24px 20px;
  }
}

/* CTA */
.cta {
  position: relative;
  background: var(--black);
  text-align: center;
  overflow: hidden;
}

.cta .hero-bg .blob-1 {
  width: 500px;
  height: 500px;
  top: auto;
  bottom: -260px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-bright);
  opacity: 0.35;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  margin: 0 auto 16px;
}

.cta-content p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-direction: column;
  text-align: center;
}

.footer-logo {
  height: 28px;
  width: auto;
}

.footer-content p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: var(--blue-bright);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue-bright);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, box-shadow 0.3s ease;
  z-index: 90;
  box-shadow: 0 8px 24px -8px rgba(0, 98, 255, 0.6);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -8px rgba(0, 98, 255, 0.75);
}

/* Responsive */
@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    gap: 18px;
    font-size: 0.85rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 70px 0;
  }
  .hero {
    padding: 110px 0 80px;
  }
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    background: var(--black);
    border-bottom: 1px solid var(--border);
    padding: 32px 24px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }
  .team-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .back-to-top {
    right: 18px;
    bottom: 18px;
  }
}
