/* ============================================================
   MOBAPE · Componentes
   Botões · Navbar · Hero · Serviços · Processo · Portfolio ·
   Sobre · Testemunhos · Contacto · Footer · utilitários
   ============================================================ */

/* ============================================================
   BOTÕES (pills · cores Trópico)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: transform .25s var(--ease-out), background-color .25s var(--ease-out),
              box-shadow .25s var(--ease-out), color .25s var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Primário · Papaia sobre Tinta (o acento do ecrã) */
.btn--primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(255, 140, 66, 0.28);
}
.btn--primary:hover { box-shadow: 0 10px 26px rgba(255, 140, 66, 0.38); }

/* Secundário · outline */
.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--secondary:hover { background: var(--ink-08); border-color: var(--ink); }

/* Variantes */
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--full { width: 100%; }

/* Tags */
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink);
  background: var(--ink-08);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
}
.tag--ghost { background: transparent; border: 1px solid var(--line); color: var(--muted); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color .35s var(--ease-out), box-shadow .35s var(--ease-out),
              backdrop-filter .35s var(--ease-out);
}
.navbar.is-scrolled {
  background: rgba(229, 243, 244, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
.navbar-brand { display: inline-flex; align-items: center; }
.navbar-nav { display: flex; align-items: center; gap: 6px; }
.navbar-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  position: relative;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}
.navbar-link:hover { background: var(--ink-08); }
.navbar-link.is-active { color: var(--accent); }
.navbar-actions { display: flex; align-items: center; gap: 14px; }

/* Toggle hambúrguer (mobile) */
.navbar-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 12px;
}
.navbar-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease-out), opacity .2s var(--ease-out);
}
.navbar-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile */
.mobile-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 16px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-130%);
  transition: transform .4s var(--ease-out);
  box-shadow: var(--shadow-card);
  z-index: 99;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu-link {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-cta { margin-top: 16px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255,140,66,0.06), transparent 55%),
    var(--paper);
}
.hero-inner { position: relative; z-index: 2; }
.hero-content { max-width: 720px; }

.hero-watermark {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.06;
  z-index: 1;
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}
.hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255,140,66,0.5);
  animation: heroPulse 2200ms ease-out infinite;
}
@keyframes heroPulse {
  0% { box-shadow: 0 0 0 0 rgba(255,140,66,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(255,140,66,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,140,66,0); }
}

.hero-title { margin-bottom: 24px; }
.hero-sub { max-width: 540px; margin-bottom: 36px; color: var(--ink); }

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: var(--track-tight);
}
.hero-stats span { font-size: 13px; color: var(--muted); }

.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(var(--ink), transparent);
  animation: scrollLine 1800ms ease-in-out infinite;
}
@keyframes scrollLine { 0%,100% { opacity:.3; transform: scaleY(.6); } 50% { opacity:1; transform: scaleY(1); } }

/* ============================================================
   SERVIÇOS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
/* O primeiro card ocupa destaque em ecrãs largos */
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}
.service-card-top { display: flex; align-items: center; justify-content: space-between; }
.service-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon { background: var(--accent); color: var(--ink); }
.service-num { font-size: 13px; color: var(--line-strong); font-weight: 500; }
.service-title { font-size: 21px; }
.service-desc { color: var(--muted); font-size: 15px; line-height: 1.6; flex: 1; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* ============================================================
   PROCESSO (5 etapas)
   ============================================================ */
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}
/* linha horizontal de progresso (desktop) */
.process-line {
  position: absolute;
  top: 26px; left: 8%; right: 8%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.process-line-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 1.4s var(--ease-out);
}
.process.is-inview .process-line-fill { width: 100%; }

.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.process-num {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), transform .3s var(--ease-out);
}
.process-step:hover .process-num { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.process-title { font-size: 19px; }
.process-desc { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.port-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.port-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.port-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.port-mock { width: 100%; height: 100%; transition: transform .5s var(--ease-out); }
.port-card:hover .port-mock { transform: scale(1.04); }
.port-cat {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(5,26,28,0.55);
  color: var(--paper);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}
.port-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.port-title { font-size: 20px; }
.port-desc { font-size: 14px; color: var(--muted); line-height: 1.55; flex: 1; }
.port-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.port-arrow {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  opacity: 0;
  transform: translate(6px, -6px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.port-card:hover .port-arrow { opacity: 1; transform: translate(0,0); }

/* ============================================================
   SOBRE NÓS
   ============================================================ */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-text .kicker { margin-bottom: 16px; }
.about-lead { margin: 20px 0 16px; }
.about-para { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 560px; }

.values { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; }
.value { display: flex; gap: 14px; align-items: flex-start; }
.value-mark { flex-shrink: 0; margin-top: 2px; }
.value-title { font-size: 16px; margin-bottom: 4px; }
.value-desc { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* Cartão de visita (toque pessoal) */
.about-card { position: sticky; top: calc(var(--nav-h) + 24px); }
.bizcard {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-surface);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.bizcard::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,140,66,0.18), transparent 70%);
}
.bizcard .lockup-word { color: var(--paper) !important; }
.bizcard-quote {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: var(--track-tight);
  margin: 28px 0;
  color: var(--paper);
}
.bizcard-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(229,243,244,0.18);
}
.bizcard-name { font-weight: 700; font-size: 15px; }
.bizcard-role { font-size: 13px; opacity: 0.7; }
.bizcard-meta { text-align: right; font-size: 11px; line-height: 1.7; opacity: 0.85; color: var(--paper); }

/* ============================================================
   TESTEMUNHOS (carrossel)
   ============================================================ */
.testimonials { background: var(--ink); }
.testimonials .kicker { color: var(--accent); }
.testimonials h2, .testimonials .section-intro { color: var(--paper); }
.testimonials .section-intro { opacity: .8; }

.carousel { max-width: 820px; margin: 0 auto; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform .55s var(--ease-out); }
.carousel-slide { min-width: 100%; padding: 8px; }

.testimonial {
  background: rgba(229,243,244,0.06);
  border: 1px solid rgba(229,243,244,0.14);
  border-radius: var(--radius-surface);
  padding: 44px 48px;
  margin: 0;
  position: relative;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 0.6;
  color: var(--accent);
  display: block;
  height: 36px;
}
.testimonial-text {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: var(--track-tight);
  color: var(--paper);
  margin: 0 0 28px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.testimonial-name { display: block; font-weight: 700; font-size: 15px; color: var(--paper); }
.testimonial-role { display: block; font-size: 13px; color: rgba(229,243,244,0.65); }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 32px; }
.carousel-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(229,243,244,0.25);
  color: var(--paper);
  font-size: 18px;
  display: grid; place-items: center;
  transition: background-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.carousel-btn:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); transform: translateY(-2px); }
.carousel-dots { display: flex; gap: 10px; }
.carousel-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(229,243,244,0.3);
  transition: width .3s var(--ease-out), background-color .3s var(--ease-out);
}
.carousel-dot.is-active { width: 28px; border-radius: 5px; background: var(--accent); }

/* ============================================================
   FAQ (acordeão)
   ============================================================ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-card-lg);
  background: var(--white);
  overflow: hidden;
  transition: border-color .3s var(--ease-out),
              box-shadow .3s var(--ease-out),
              transform .3s var(--ease-out);
}
/* Barra de acento à esquerda — revelada quando o item abre */
.faq-item::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s var(--ease-out);
}
.faq-item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-soft); }
.faq-item[open] {
  border-color: transparent;
  box-shadow: var(--shadow-card);
}
.faq-item[open]::before { transform: scaleY(1); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
  list-style: none;
  transition: color .25s var(--ease-out);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--accent); }
.faq-item[open] .faq-q { color: var(--ink); }

/* Badge circular com ícone +/- desenhado em CSS */
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent-12);
  transition: background-color .3s var(--ease-out),
              transform .4s var(--ease-spring);
}
.faq-q:hover .faq-icon { background: var(--accent-soft); }
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease-out),
              background-color .3s var(--ease-out);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon {
  background: var(--accent);
  transform: rotate(180deg);
}
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: var(--white); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-a {
  padding: 0 26px 24px 26px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}
.faq-a p { margin: 0; max-width: 64ch; }

/* Animação de abertura (browsers que suportam) */
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-a { animation: faqReveal .4s var(--ease-out); }
}
@keyframes faqReveal { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.contact-info .kicker { margin-bottom: 16px; }
.contact-list { margin-top: 36px; display: flex; flex-direction: column; gap: 2px; }
.contact-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list-k { min-width: 80px; color: var(--accent); }
.contact-list-v { font-size: 17px; color: var(--ink); font-weight: 500; transition: color .2s; }
a.contact-list-v:hover { color: var(--accent); }

/* Formulário */
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  padding: 36px 34px;
  box-shadow: var(--shadow-soft);
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-size: 13px; font-weight: 500; color: var(--ink); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--body);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-field input.is-invalid,
.form-field textarea.is-invalid { border-color: #d6453c; box-shadow: 0 0 0 3px rgba(214,69,60,0.15); }

.form-consent label { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); cursor: pointer; }
.form-consent input { width: 18px; height: 18px; accent-color: var(--accent); margin-top: 1px; }
.form-note { text-align: center; margin-top: 4px; }

/* Honeypot — escondido a humanos */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Alertas do formulário */
.form-alert { border-radius: 14px; padding: 16px 18px; margin-bottom: 20px; font-size: 15px; }
.form-alert--ok { background: var(--accent-12); color: var(--ink); border: 1px solid var(--accent-soft); }
.form-alert--err { background: rgba(214,69,60,0.1); color: #a3322b; border: 1px solid rgba(214,69,60,0.3); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--night); color: var(--paper); padding: 72px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; }
.footer-brand .lockup-word { color: var(--paper) !important; }
.footer-tagline { margin-top: 18px; max-width: 320px; font-size: 14px; line-height: 1.6; color: rgba(229,243,244,0.6); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { color: var(--accent); margin: 0 0 4px; }
.footer-col a { font-size: 14px; color: rgba(229,243,244,0.75); transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-divider { border: 0; border-top: 1px solid rgba(229,243,244,0.12); margin: 44px 0 24px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom .mono { color: rgba(229,243,244,0.5); font-size: 11px; }
.footer-quip { color: rgba(255,140,66,0.7) !important; }

/* ============================================================
   VOLTAR AO TOPO
   ============================================================ */
.to-top {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 20px;
  display: grid; place-items: center;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), background-color .25s;
  z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--accent); color: var(--ink); }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 980px) {
  .navbar-nav { display: none; }
  .navbar-cta { display: none; }
  .navbar-toggle { display: flex; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }

  .process-track { grid-template-columns: 1fr; gap: 0; counter-reset: none; }
  .process-line { display: none; }
  .process-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }
  .process-step:last-child { border-bottom: 0; }
  .process-num { width: 46px; height: 46px; flex-shrink: 0; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero-stats strong { font-size: 24px; }
  .testimonial { padding: 32px 26px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .to-top { bottom: 18px; right: 18px; }
}
