/* ==========================================================================
   CTN — Projetos & Consultoria (ctn.eng.br)
   Paleta inspirada no logotipo oficial CTN (Navy, Azul HVAC, Celeste e Vermelho)
   ========================================================================== */

:root {
  --navy-950: #0d1226;
  --navy-900: #161c3a;
  --navy-800: #232854; /* Cor principal do texto do logo */
  --blue-600: #1e6cb6; /* Azul médio do logo */
  --sky-400: #4ab4e6;  /* Azul claro do logo */
  --red-600: #c82834;  /* Vermelho do logo */
  --red-500: #dc3542;

  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f7f9fc;
  --white: #ffffff;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.14);

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-800);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 13px 24px;
  font-size: 0.975rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(30, 108, 182, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30, 108, 182, 0.38);
  filter: brightness(1.06);
}

.btn-secondary {
  background: var(--slate-100);
  color: var(--navy-800);
  padding: 12px 18px;
  border-color: var(--slate-200);
}

.btn-secondary:hover {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow 0.2s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.btn) {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--slate-700);
  transition: color 0.15s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--blue-600);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: 0.2s ease;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--navy-950) 0%, var(--navy-900) 55%, #182348 100%);
  color: var(--white);
  padding: 80px 0 64px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74, 180, 230, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 180, 230, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 35%, black 35%, transparent 80%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.24;
  pointer-events: none;
}

.hero-glow-blue {
  width: 460px;
  height: 460px;
  background: var(--sky-400);
  top: -120px;
  left: -80px;
}

.hero-glow-red {
  width: 360px;
  height: 360px;
  background: var(--red-600);
  bottom: -100px;
  right: -60px;
  opacity: 0.18;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(74, 180, 230, 0.14);
  border: 1px solid rgba(74, 180, 230, 0.3);
  color: #bae6fd;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 22px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky-400);
  box-shadow: 0 0 10px var(--sky-400);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--sky-400) 0%, #93c5fd 55%, #f87171 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.075rem;
  color: #cbd5e1;
  max-width: 610px;
  margin-bottom: 32px;
}

.hero-lead strong {
  color: var(--white);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-brand-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card-logo {
  width: 100%;
  max-width: 290px;
  margin: 0 auto 24px;
}

.hero-card-divider {
  height: 3px;
  width: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--sky-400), var(--red-600));
  margin-bottom: 20px;
}

.mono-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  margin-bottom: 12px;
}

.norm-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.norm-pills span {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy-800);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  padding: 5px 10px;
  border-radius: 6px;
}

/* KPI Strip */
.kpi-strip {
  position: relative;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.kpi-item {
  background: rgba(15, 23, 42, 0.65);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kpi-value {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--sky-400);
  line-height: 1.1;
}

.kpi-label {
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* ==========================================================================
   Generic Sections
   ========================================================================== */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-600);
  margin-bottom: 10px;
}

.section-header {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--slate-600);
  font-size: 1.02rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.about-text h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  margin-bottom: 18px;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--slate-600);
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 26px;
}

.highlight-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-left: 3px solid var(--blue-600);
  padding: 16px 18px;
  border-radius: var(--radius-sm);
}

.highlight-box strong {
  display: block;
  color: var(--navy-800);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.highlight-box span {
  font-size: 0.86rem;
  color: var(--slate-600);
}

.profile-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--slate-200);
}

.profile-avatar {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.profile-header h3 {
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.profile-role {
  font-size: 0.85rem;
  color: var(--slate-500);
}

.profile-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.profile-meta li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--slate-700);
}

.profile-meta svg {
  color: var(--blue-600);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky-400);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.icon-blue { background: rgba(30, 108, 182, 0.12); color: var(--blue-600); }
.icon-red  { background: rgba(200, 40, 52, 0.12); color: var(--red-600); }
.icon-navy { background: rgba(35, 40, 84, 0.12); color: var(--navy-800); }
.icon-sky  { background: rgba(74, 180, 230, 0.16); color: #0284c7; }

.service-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--slate-600);
}

/* ==========================================================================
   Portfolio Controls & Grid
   ========================================================================== */
.portfolio-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-700);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-btn:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
}

.filter-btn.active {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
}

.filter-btn .count {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.18);
  padding: 1px 7px;
  border-radius: 999px;
}

.filter-btn:not(.active) .count {
  background: var(--slate-100);
  color: var(--slate-600);
}

.portfolio-search-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.firm-select {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-300);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--slate-700);
  min-width: 200px;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 420px;
}

.search-box svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-500);
}

.search-box input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-300);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--slate-900);
}

.search-box input:focus,
.firm-select:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(30, 108, 182, 0.14);
}

.results-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-bottom: 20px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-600);
}

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.sector-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  border-radius: 6px;
}

.sector-saude { background: rgba(200, 40, 52, 0.1); color: var(--red-600); }
.sector-infraestrutura { background: rgba(30, 108, 182, 0.12); color: var(--blue-600); }
.sector-industria { background: rgba(35, 40, 84, 0.1); color: var(--navy-800); }
.sector-comercial { background: rgba(74, 180, 230, 0.18); color: #0369a1; }

.project-period {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--slate-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.project-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.3;
}

.project-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--blue-600);
}

.project-desc {
  font-size: 0.89rem;
  color: var(--slate-600);
  flex: 1;
}

.project-footer {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--slate-100);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.project-client {
  color: var(--slate-700);
  font-weight: 600;
}

.project-client span {
  font-weight: 400;
  color: var(--slate-500);
}

.firm-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--navy-800);
  background: var(--slate-100);
  padding: 3px 8px;
  border-radius: 5px;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 24px;
  background: var(--slate-50);
  border: 1px dashed var(--slate-300);
  border-radius: var(--radius-md);
  color: var(--slate-500);
}

/* ==========================================================================
   Clients Strip
   ========================================================================== */
.section-clients {
  padding: 44px 0;
  background: var(--navy-900);
  color: var(--white);
}

.clients-header {
  text-align: center;
  margin-bottom: 22px;
}

.clients-header .mono-label {
  color: #94a3b8;
  margin-bottom: 0;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
}

.clients-grid span {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: 999px;
}

/* ==========================================================================
   Timeline
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--red-600), var(--blue-600), var(--sky-400));
}

.timeline-item {
  position: relative;
  padding-bottom: 28px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: -28px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue-600);
}

.timeline-marker.active {
  border-color: var(--red-600);
  box-shadow: 0 0 0 4px rgba(200, 40, 52, 0.18);
}

.timeline-content {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-600);
  display: inline-block;
  margin-bottom: 6px;
}

.timeline-content h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.94rem;
  color: var(--slate-600);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  margin-bottom: 14px;
}

.contact-info > p {
  color: var(--slate-600);
  margin-bottom: 28px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

a.contact-link-card:hover {
  border-color: var(--blue-600);
  transform: translateX(4px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.icon-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.35);
  color: #16a34a;
}

.contact-whatsapp:hover {
  border-color: #25d366 !important;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  background: #1ebe5d;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.52);
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  color: var(--slate-500);
}

.contact-link-card strong {
  color: var(--navy-800);
  font-size: 0.96rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-300);
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--slate-900);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(30, 108, 182, 0.14);
}

.form-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--slate-500);
  text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--navy-950);
  color: #cbd5e1;
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-wrap {
  display: inline-block;
  background: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.footer-logo-wrap img {
  height: 44px;
  width: auto;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 340px;
  color: #94a3b8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--sky-400);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.84rem;
  color: #64748b;
}

.mono-small {
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 16px;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .services-grid,
  .projects-grid,
  .about-highlights,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .section {
    padding: 64px 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
