/* 
  DevUnicorns — Elegant and Official Design System
  Theme: Tech Luxury / Obsidian Dark / Brand Colors Edition
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,600&display=swap');

:root {
  /* Colors */
  --bg-dark: #050507;
  --bg-deep: #0c0b11;
  --bg-card: rgba(13, 11, 20, 0.45);
  --bg-card-hover: rgba(25, 21, 38, 0.75);
  --border-glow: rgba(230, 35, 170, 0.15);
  --border-muted: rgba(255, 255, 255, 0.06);
  --border-focus: rgba(200, 58, 208, 0.4);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Brand Accent Colors */
  --primary-pink: #E623AA;
  --primary-purple: #8C52FF;
  --primary-magenta: #C83AD0;
  
  /* Accent Gradients (using user's colors) */
  --gradient-main: linear-gradient(135deg, #E623AA 0%, #C83AD0 50%, #8C52FF 100%);
  --gradient-hover: linear-gradient(135deg, #f35bc1 0%, #d54ee4 50%, #a275ff 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 30%, #ffd4f7 100%);
  --gradient-glow: radial-gradient(circle, rgba(230, 35, 170, 0.15) 0%, rgba(140, 82, 255, 0.05) 50%, transparent 100%);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-pink) var(--bg-dark);
}

body {
  background: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar Styles */
body::-webkit-scrollbar {
  width: 8px;
}
body::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
body::-webkit-scrollbar-thumb {
  background: rgba(230, 35, 170, 0.3);
  border-radius: 10px;
}
body::-webkit-scrollbar-thumb:hover {
  background: rgba(230, 35, 170, 0.6);
}

/* Subtle background grid overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(var(--border-muted) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Navigation bar */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90px; /* Increased slightly to handle larger logo elegantly */
  padding: 0 8vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: rgba(5, 5, 7, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-muted);
  transition: var(--transition-normal);
}

.nav.scrolled {
  height: 80px;
  background: rgba(5, 5, 7, 0.85);
  border-bottom: 1px solid rgba(230, 35, 170, 0.15);
}

.brand {
  position: relative;
  display: block;
  width: 135px;
  height: 50px; /* Occupies stable spacing in nav layout to prevent overlaps */
  transition: var(--transition-normal);
}
.brand img {
  position: absolute;
  top: -24px; /* Centers the 135px square image relative to the 50px brand block */
  left: 0;
  width: 135px;
  height: 135px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(230, 35, 170, 0.25));
  transition: var(--transition-normal);
}

.nav.scrolled .brand {
  width: 100px;
  height: 40px;
}
.nav.scrolled .brand img {
  top: -16px; /* Centers the 100px square image relative to the 40px brand block */
  width: 100px;
  height: 100px;
}

.nav nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  letter-spacing: 0.02em;
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Global Button Styles */
.btn {
  font-family: 'Poppins', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-main);
  color: #050507;
  border: none;
  box-shadow: 0 8px 30px rgba(230, 35, 170, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(230, 35, 170, 0.4);
}

.btn-ghost {
  border: 1px solid var(--border-muted);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
}

.btn-ghost:hover {
  border-color: rgba(230, 35, 170, 0.4);
  background: rgba(230, 35, 170, 0.06);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
  border-radius: 6px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 8vw 80px;
  background: radial-gradient(circle at 80% 20%, rgba(230, 35, 170, 0.08) 0%, transparent 60%);
  z-index: 2;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.hero-copy {
  z-index: 5;
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--primary-pink);
  text-transform: uppercase;
  margin-bottom: 24px;
  background: rgba(230, 35, 170, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(230, 35, 170, 0.15);
}

.eyebrow span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-pink);
  box-shadow: 0 0 10px var(--primary-pink);
}

h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(48px, 6.2vw, 84px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  color: var(--text-primary);
}

h1 span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

.hero-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 580px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .btn span {
  margin-left: 8px;
  transition: transform var(--transition-fast);
}

.hero-actions .btn:hover span {
  transform: translateX(4px);
}

/* Canvas Animation Container */
.hero-visual {
  position: relative;
  height: 500px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: all;
  cursor: grab;
}

.hero-canvas:active {
  cursor: grabbing;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 8vw;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 5;
  cursor: pointer;
  transition: var(--transition-fast);
}

.scroll-indicator:hover {
  color: var(--text-primary);
}

.scroll-indicator svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-6px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/* Metrics Banner */
.metrics {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-muted);
  border-bottom: 1px solid var(--border-muted);
  padding: 40px 8vw;
  position: relative;
  z-index: 10;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(230, 35, 170, 0.2);
  padding-left: 24px;
  transition: var(--transition-normal);
}

.metric-item:hover {
  border-left-color: var(--primary-pink);
}

.metric-value {
  font-family: 'Poppins', sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* Section Standard Layout */
.section {
  padding: 120px 8vw;
  position: relative;
  z-index: 10;
}

.section-header {
  max-width: 700px;
  margin-bottom: 70px;
}

.section-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 12px;
}

.section-header h2 span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Intro Section Styles */
.intro {
  background: var(--bg-dark);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 8vw;
  align-items: center;
}

.intro-text-large {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.intro-text-secondary {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 300;
}

/* Services Grid Section */
.services {
  background: var(--bg-deep);
  position: relative;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: 16px;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(230, 35, 170, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(230, 35, 170, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(230, 35, 170, 0.05);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-top {
  position: relative;
  z-index: 2;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(230, 35, 170, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  color: var(--primary-pink);
  border: 1px solid rgba(230, 35, 170, 0.15);
  transition: var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--gradient-main);
  color: #050507;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(200, 58, 208, 0.3);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 300;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-weight: 400;
}

.service-features li svg {
  width: 14px;
  height: 14px;
  color: var(--primary-pink);
  flex-shrink: 0;
}

.service-no {
  position: absolute;
  top: 30px;
  right: 40px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  transition: var(--transition-normal);
}

.service-card:hover .service-no {
  color: rgba(230, 35, 170, 0.2);
}

/* Approach / Process Section */
.approach {
  background: var(--bg-dark);
}

.approach-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8vw;
}

.steps-list {
  display: flex;
  flex-direction: column;
  position: relative;
}

.steps-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  width: 1px;
  height: calc(100% - 60px);
  background: var(--border-muted);
}

.step-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 24px;
  margin-bottom: 45px;
  position: relative;
  z-index: 2;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 1px solid var(--border-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition-normal);
}

.step-item:hover .step-num {
  border-color: var(--primary-pink);
  color: var(--text-primary);
  box-shadow: 0 0 15px rgba(230, 35, 170, 0.3);
}

.step-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.step-content p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
}

/* Callout Statement Section */
.statement {
  padding: 140px 8vw;
  background: linear-gradient(135deg, rgba(230, 35, 170, 0.2) 0%, rgba(140, 82, 255, 0.05) 100%), var(--bg-deep);
  border-top: 1px solid var(--border-muted);
  border-bottom: 1px solid var(--border-muted);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.statement::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(230, 35, 170, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.statement-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.statement-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary-pink);
  margin-bottom: 24px;
}

.statement h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.statement h2 em {
  font-style: normal;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Contact & Client Intake Intake Form */
.contact {
  background: var(--bg-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8vw;
  align-items: start;
}

.contact-info {
  position: sticky;
  top: 120px;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 30px;
  font-weight: 300;
}

.contact-email-link {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 2px solid var(--border-muted);
  padding-bottom: 6px;
  margin-bottom: 40px;
  transition: var(--transition-fast);
}

.contact-email-link:hover {
  border-color: var(--primary-pink);
  color: var(--primary-pink);
}

.contact-email-link svg {
  width: 24px;
  height: 24px;
  transition: transform var(--transition-fast);
}

.contact-email-link:hover svg {
  transform: translate(4px, -4px);
}

.contact-bullets {
  list-style: none;
}

.contact-bullets li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 15px;
}

.contact-bullets li svg {
  width: 18px;
  height: 18px;
  color: var(--primary-purple);
}

/* Intake Form styling */
.intake-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-muted);
  border-radius: 20px;
  padding: 45px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.form-group {
  margin-bottom: 28px;
  position: relative;
}

.form-group label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 10px;
  transition: var(--transition-fast);
}

.form-control {
  width: 100%;
  background: rgba(5, 5, 7, 0.5);
  border: 1px solid var(--border-muted);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  outline: none;
  transition: var(--transition-normal);
}

.form-control:focus {
  border-color: var(--primary-pink);
  box-shadow: 0 0 15px rgba(230, 35, 170, 0.15);
  background: rgba(5, 5, 7, 0.8);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Selection Pills (Select project service) */
.service-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.pill-checkbox {
  display: none;
}

.pill-label {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition-normal);
  color: var(--text-secondary);
  user-select: none;
}

.pill-label:hover {
  border-color: rgba(230, 35, 170, 0.3);
  color: var(--text-primary);
}

.pill-checkbox:checked + .pill-label {
  background: rgba(230, 35, 170, 0.15);
  border-color: var(--primary-pink);
  color: var(--text-primary);
  box-shadow: 0 0 12px rgba(230, 35, 170, 0.2);
}

.form-submit-btn {
  width: 100%;
  font-size: 15px;
  padding: 14px;
}

/* Form status states */
.form-status {
  margin-top: 20px;
  padding: 14px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
  text-align: center;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Footer styling */
footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-muted);
  padding: 60px 8vw;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-info img {
  width: 130px; /* Sized by width to keep the logo prominent and legible in footer */
  height: auto;
  display: block;
}

.footer-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  border-left: 1px solid var(--border-muted);
  padding-left: 20px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-social-link {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-social-link:hover {
  color: var(--text-primary);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-muted);
}

/* Poppinsactive Cursor Glow */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(230, 35, 170, 0.055) 0%, transparent 70%);
  filter: blur(40px);
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease-out;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    height: 400px;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  .intro-grid, .approach-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .contact-info {
    position: static;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 960px) {
  .nav {
    padding: 0 5vw;
    height: 80px;
  }
  .nav.scrolled {
    height: 70px;
  }
  .brand {
    position: static; /* Reset absolute positioning on mobile */
    display: flex;
    align-items: center;
    width: auto;
    height: auto;
  }
  .brand img {
    position: static;
    max-height: 52px; /* Sized to fit cleanly inside mobile header */
    width: auto;
    height: auto;
  }
  .nav.scrolled .brand img {
    max-height: 44px;
    width: auto;
    height: auto;
  }
  .nav nav {
    display: none;
  }
  .section {
    padding: 80px 5vw;
  }
  .metrics {
    padding: 40px 5vw;
  }
  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-info {
    flex-direction: column;
    gap: 10px;
  }
  .footer-tagline {
    border-left: none;
    padding-left: 0;
    margin-top: 5px;
  }
  .footer-right {
    align-items: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 38px;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .intake-form-box {
    padding: 25px;
  }
  .service-pills {
    flex-direction: column;
  }
  .pill-label {
    text-align: center;
    width: 100%;
  }
}
