/* Proximity Partners — Main Stylesheet */

:root {
  --nav-height: 73px;
  --navy: #0a1628;
  --navy-light: #132238;
  --navy-mid: #1a3050;
  --gold: #c5a46e;
  --gold-light: #d4b87a;
  --cyan: #00e5ff;
  --cyan-dim: #00b8d4;
  --white: #f0f4f8;
  --gray: #8899aa;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scroll-padding-top: var(--nav-height);
}

/* Softer snapping on small screens, where sections run taller than the viewport */
@media (max-width: 900px) {
  html {
    scroll-snap-type: y proximity;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }
}

body > section {
  scroll-snap-align: start;
}

body > footer {
  scroll-snap-align: end;
}

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Hero Network Overlay ── */
.hero-network-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.75;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.15);
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(10, 22, 40, 0.97);
  box-shadow: 0 4px 30px rgba(0, 229, 255, 0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  background: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.nav-logo:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transition: width 0.3s;
}

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

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

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

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--cyan);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  transition: transform 0.1s linear;
  will-change: transform;
}

.hero-overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.88) 0%,
    rgba(10, 22, 40, 0.55) 50%,
    rgba(0, 229, 255, 0.12) 100%
  );
}

.hero-glow {
  position: absolute;
  z-index: 2;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, transparent 70%);
  top: 20%;
  right: 10%;
  animation: pulse-glow 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 8rem 2rem 4rem;
  max-width: 900px;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fade-up 0.8s 0.2s forwards;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fade-up 0.8s 0.4s forwards;
}

.hero h1 .highlight {
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fade-up 0.8s 0.6s forwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.8s 0.8s forwards;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  position: relative;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dim));
  color: var(--navy);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(0, 229, 255, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.1);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(197, 164, 110, 0.4);
}

/* ── Scroll Indicator ── */
.scroll-indicator {
  pointer-events: none;
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--cyan);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Sections ── */
section {
  position: relative;
  z-index: 1;
}

.section-pad {
  padding: 6rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-title .gold {
  color: var(--gold);
}

.section-desc {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Stats Bar ── */
.stats-bar {
  background: var(--navy-light);
  border-top: 1px solid rgba(0, 229, 255, 0.1);
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
  padding: 3rem 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.stat-item h3 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: var(--gray);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Feature Cards ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--navy-light);
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 20px 60px rgba(0, 229, 255, 0.1);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.feature-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ── Image Sections ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.split-image:hover img {
  transform: scale(1.05);
}

.split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 12px;
  pointer-events: none;
}

.split-image .corner-glow {
  pointer-events: none;
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.3), transparent);
  z-index: 1;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 16px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
  position: relative;
}

.cta-banner p {
  color: var(--gray);
  margin-bottom: 2rem;
  position: relative;
}

/* ── Page Hero (subpages) ── */
.page-hero {
  position: relative;
  padding: 10rem 2rem 5rem;
  text-align: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.92), rgba(10, 22, 40, 0.75));
}

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

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--gray);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Team Cards ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.team-card {
  background: var(--navy-light);
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.4s, box-shadow 0.4s;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 229, 255, 0.12);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: block;
  object-fit: cover;
  border: 3px solid var(--cyan);
  transition: transform 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease;
}

.team-card:hover .team-photo {
  transform: scale(1.06);
  filter: brightness(1.12);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .team-photo {
    transition: none;
  }
  .team-card:hover .team-photo {
    transform: none;
  }
}

.hubspot-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  color: #16263f;
}

/* Belt and braces for any non-iframe rendering path: force dark text on
   everything HubSpot could inject into the white card, except the button. */
.hubspot-form-card p,
.hubspot-form-card p span,
.hubspot-form-card label,
.hubspot-form-card label span,
.hubspot-form-card legend,
.hubspot-form-card .submitted-message,
.hubspot-form-card .submitted-message *,
.hubspot-form-card .hs-richtext,
.hubspot-form-card .hs-richtext *,
.hubspot-form-card input,
.hubspot-form-card select,
.hubspot-form-card textarea {
  color: #16263f !important;
}

.hubspot-form-card input[type="submit"],
.hubspot-form-card .hs-button {
  color: #ffffff !important;
}

/* Our own post-submission confirmation, shown in place of HubSpot's */
.form-thanks {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.form-thanks h3 {
  color: #16263f;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.form-thanks p {
  color: #3a4a63;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border: 3px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cyan);
  position: relative;
}

.team-avatar::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 229, 255, 0.3);
  animation: spin-slow 20s linear infinite;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.team-bio {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: left;
}

.team-bio + .team-bio {
  margin-top: 1rem;
}

/* ── Process Steps ── */
.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--cyan), var(--gold), var(--cyan));
}

.process-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cyan);
  z-index: 1;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.step-content {
  background: var(--navy-light);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  flex: 1;
  transition: border-color 0.3s;
}

.step-content:hover {
  border-color: rgba(0, 229, 255, 0.3);
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--gold);
}

.step-content p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.office-card {
  background: var(--navy-light);
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s;
}

.office-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
}

.office-card h4 {
  font-family: var(--font-display);
  color: var(--cyan);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.office-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

.hubspot-placeholder {
  background: var(--navy-light);
  border: 2px dashed rgba(0, 229, 255, 0.25);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hubspot-placeholder .placeholder-icon {
  font-size: 3rem;
  opacity: 0.4;
}

.hubspot-placeholder h3 {
  font-family: var(--font-display);
  color: var(--cyan);
  font-size: 1rem;
}

.hubspot-placeholder p {
  color: var(--gray);
  font-size: 0.9rem;
  max-width: 400px;
}

.hubspot-placeholder code {
  background: rgba(0, 229, 255, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--cyan);
}

/* Mock form for visual preview */
.mock-form {
  width: 100%;
  max-width: 480px;
  text-align: left;
}

.mock-form .form-group {
  margin-bottom: 1.25rem;
}

.mock-form label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.mock-form input,
.mock-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--navy);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 6px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s;
}

.mock-form input:focus,
.mock-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

.mock-form textarea {
  resize: vertical;
  min-height: 120px;
}

.mock-form .form-note {
  font-size: 0.75rem;
  color: var(--gray);
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
}

/* ── Footer ── */
.footer {
  background: var(--navy-light);
  border-top: 1px solid rgba(0, 229, 255, 0.1);
  padding: 4rem 2rem 2rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.footer-brand img {
  height: 60px;
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--gray);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  text-decoration: none;
  transition: all 0.3s;
}

.social-links a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 229, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--gray);
  font-size: 0.8rem;
}

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

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.4s;
    border-left: 1px solid rgba(0, 229, 255, 0.15);
  }

  .nav-links.open {
    right: 0;
  }

  .split-section,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split-section.reverse {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .section-pad {
    padding: 4rem 1.25rem;
  }

  .hero-content {
    padding: 7rem 1.25rem 3rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}