/* HYTIDE — logo-aligned palette & typography */
:root {
  --navy: #060e1a;
  --navy-mid: #0a1628;
  --navy-light: #0f1d35;
  --navy-card: #0d1830;
  --navy-elevated: #122240;

  --electric: #00aeef;
  --royal: #0055ff;
  --cyan: #38d4f8;
  --blue-mid: #1a7aff;
  --blue-soft: #4d9fff;
  --blue-glow: #7eb8ff;

  --gradient: linear-gradient(135deg, var(--electric) 0%, var(--royal) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(0, 174, 239, 0.15) 0%, rgba(0, 85, 255, 0.08) 100%);

  --white: #ffffff;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-faint: #475569;

  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(0, 174, 239, 0.28);
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --tint: rgba(0, 174, 239, 0.1);
  --tint-strong: rgba(0, 85, 255, 0.18);

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-glow: 0 8px 32px rgba(0, 85, 255, 0.28);
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  height: var(--nav-h);
  background: rgba(6, 14, 26, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--gradient) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(0, 85, 255, 0.25);
  transition: transform 0.15s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
  color: var(--white) !important;
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── HERO ─── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 48px) 6vw 80px;
  overflow: hidden;
}

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

.hero-radial {
  position: absolute;
  width: 880px;
  height: 680px;
  top: -80px;
  right: -180px;
  background: radial-gradient(
    ellipse at 55% 40%,
    rgba(0, 174, 239, 0.14) 0%,
    rgba(0, 85, 255, 0.06) 45%,
    transparent 68%
  );
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 55% at 68% 48%, black 0%, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tint);
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 26px;
  animation: fadeUp 0.7s ease both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 8px var(--electric);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.85);
  }
}

h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 22px;
  animation: fadeUp 0.7s 0.08s ease both;
}

.hero-title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.75;
  animation: fadeUp 0.7s 0.16s ease both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.24s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: var(--white);
  text-decoration: none;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 85, 255, 0.38);
  color: var(--white);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  color: var(--text-primary);
  text-decoration: none;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  background: var(--surface);
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
  color: var(--text-primary);
}

.hero-stats {
  position: absolute;
  right: 6vw;
  bottom: 80px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeRight 0.7s 0.32s ease both;
}

.stat-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  text-align: center;
  backdrop-filter: blur(8px);
  min-width: 136px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.stat-num span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ─── SECTIONS ─── */
section {
  position: relative;
  padding: 96px 6vw;
  z-index: 1;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 14px;
}

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.75;
}

.divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border) 25%,
    var(--border) 75%,
    transparent
  );
  margin: 0 6vw;
}

/* ─── SERVICES ─── */
#services {
  background: var(--navy-mid);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
  gap: 40px;
  flex-wrap: wrap;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.25s;
}

.service-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

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

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--tint);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--tint);
  color: var(--blue-glow);
  border: 1px solid rgba(0, 174, 239, 0.12);
}

/* ─── PROCESS ─── */
#process {
  background: var(--navy);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  margin-top: 52px;
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--electric), var(--royal), transparent);
  opacity: 0.35;
}

.process-step {
  padding: 0 22px 36px;
  position: relative;
}

.step-number {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--electric);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.process-step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── PORTFOLIO ─── */
#portfolio {
  background: var(--navy-mid);
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
  flex-wrap: wrap;
  gap: 24px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  background: var(--navy);
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.project-card:nth-child(1) {
  grid-column: span 7;
}
.project-card:nth-child(2) {
  grid-column: span 5;
}
.project-card:nth-child(3),
.project-card:nth-child(4),
.project-card:nth-child(5) {
  grid-column: span 4;
}

.project-visual {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pv-1 {
  background: linear-gradient(145deg, #060e1a 0%, #0f2048 55%, #123060 100%);
}
.pv-2 {
  background: linear-gradient(145deg, #0a1628 0%, #122a52 100%);
}
.pv-3 {
  background: linear-gradient(145deg, #060e1a 0%, #0c1e38 100%);
}
.pv-4 {
  background: linear-gradient(145deg, #0a1628 0%, #0f2448 100%);
}
.pv-5 {
  background: linear-gradient(145deg, #060e1a 0%, #0d1f3c 100%);
}

.project-visual svg {
  width: 76px;
  height: 76px;
  opacity: 0.65;
}

.project-info {
  padding: 18px 22px;
}

.project-type {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 6px;
  font-weight: 600;
}

.project-info h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.project-info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── TECH ─── */
#tech {
  background: var(--navy);
  padding: 72px 6vw;
}

.tech-header {
  text-align: center;
  margin-bottom: 44px;
}

.tech-marquee {
  overflow: hidden;
  position: relative;
}

.tech-marquee::before,
.tech-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 1;
}

.tech-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--navy), transparent);
}
.tech-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--navy), transparent);
}

.tech-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.tech-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.tech-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 9px 18px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.tech-pill:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: var(--navy-elevated);
}

.tech-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
}

/* ─── TESTIMONIALS ─── */
#testimonials {
  background: var(--navy-mid);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: border-color 0.25s;
}

.testimonial-card:hover {
  border-color: var(--border-strong);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
  color: #fbbf24;
  font-size: 15px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.75;
  font-weight: 400;
  margin-bottom: 22px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.av-blue {
  background: rgba(0, 174, 239, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(0, 174, 239, 0.25);
}
.av-cyan {
  background: rgba(0, 85, 255, 0.12);
  color: var(--blue-soft);
  border: 1px solid rgba(0, 85, 255, 0.2);
}
.av-white {
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.author-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.author-info span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── PRICING ─── */
#pricing {
  background: var(--navy);
}

.pricing-header {
  text-align: center;
  margin-bottom: 48px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px;
  position: relative;
  transition: transform 0.25s;
}

.pricing-card:hover {
  transform: translateY(-3px);
}

.pricing-card.featured {
  border-color: rgba(0, 174, 239, 0.45);
  background: linear-gradient(165deg, var(--navy-card) 0%, rgba(0, 85, 255, 0.1) 100%);
  box-shadow: 0 0 0 1px rgba(0, 174, 239, 0.15), var(--shadow-glow);
}

.featured-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 10px;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-price sub {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-muted);
  vertical-align: baseline;
  font-family: var(--font-body);
}

.pricing-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 22px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-primary);
  padding: 7px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.check {
  color: var(--electric);
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}

.pricing-btn {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}

.pricing-btn-outline {
  border: 1px solid var(--border);
  color: var(--text-primary);
  background: var(--surface);
}

.pricing-btn-outline:hover {
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.pricing-btn-filled {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.pricing-btn-filled:hover {
  transform: translateY(-1px);
  color: var(--white);
}

/* ─── CTA ─── */
#cta {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 88px 6vw;
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 360px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(0, 174, 239, 0.12) 0%, transparent 68%);
  pointer-events: none;
}

#cta h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  color: var(--text-primary);
}

#cta p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

#cta .hero-actions {
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ─── CONTACT ─── */
#contact {
  background: var(--navy-mid);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.contact-info p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--tint);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 15px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(0, 174, 239, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-faint);
}

.form-group textarea {
  resize: vertical;
  min-height: 118px;
}

.form-group select {
  cursor: pointer;
  color: var(--text-primary);
}

.form-group select option {
  background: var(--navy-mid);
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gradient);
  color: var(--white);
  border: none;
  padding: 15px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: var(--shadow-glow);
  align-self: flex-start;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 85, 255, 0.38);
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 56px 6vw 28px;
  z-index: 1;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 36px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 20px;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.social-btn:hover {
  border-color: var(--border-strong);
  color: var(--electric);
  background: var(--tint);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--electric);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-faint);
}

.footer-bottom-links {
  display: flex;
  gap: 22px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--text-secondary);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--navy-mid);
    border-bottom: 1px solid var(--border);
    padding: 20px 6vw;
    gap: 18px;
    align-items: flex-start;
  }

  .hero-stats {
    display: none;
  }

  .project-card:nth-child(n) {
    grid-column: span 12;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .services-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
