/* ============================================================
   PULSEQUANTUM SOLUTIONS — styles.css
   ============================================================ */

/* ============================================================
   1. CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors */
  --c-bg:          #020d1f;
  --c-bg-alt:      #040f26;
  --c-card:        #071530;
  --c-card-hover:  #091940;

  --c-blue-300:    #7dd3fc;
  --c-blue-400:    #38bdf8;
  --c-blue-500:    #0ea5e9;
  --c-blue-600:    #0284c7;

  --c-text-1:      #eef4ff;
  --c-text-2:      #7fa8cc;
  --c-text-3:      #3d5f82;

  --c-border:      rgba(56, 189, 248, 0.12);
  --c-border-mid:  rgba(56, 189, 248, 0.22);
  --c-border-hi:   rgba(56, 189, 248, 0.45);

  --glow-sm:       0 0 18px rgba(14, 165, 233, 0.22);
  --glow-md:       0 0 35px rgba(14, 165, 233, 0.30);
  --glow-lg:       0 0 65px rgba(14, 165, 233, 0.18);

  /* Typography */
  --ff-head: 'Space Grotesk', sans-serif;
  --ff-body: 'Inter', sans-serif;

  /* Layout */
  --max-w:     1200px;
  --nav-h:     68px;
  --sec-py:    5.5rem;

  /* Misc */
  --radius-s:  8px;
  --radius-m:  14px;
  --radius-l:  22px;
  --radius-xl: 28px;
  --ease:      0.3s ease;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-body);
  background: var(--c-bg);
  color: var(--c-text-1);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

/* Ensure [hidden] is never overridden by display rules below */
[hidden] { display: none !important; }

a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--ff-body); background: none; border: none; }
img, svg { display: block; max-width: 100%; }
input, textarea, select { font-family: var(--ff-body); }

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--c-text-1);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(2rem,   3.5vw, 3.1rem);  font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p  { color: var(--c-text-2); line-height: 1.78; }

/* ============================================================
   4. UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: var(--sec-py) 0; position: relative; }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header h2 { margin: 0.6rem 0 1rem; }
.section-header p  { max-width: 580px; margin: 0 auto; font-size: 1.05rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--ff-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-blue-400);
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
}

.gradient-text {
  background: linear-gradient(130deg, var(--c-blue-400) 0%, var(--c-blue-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-m);
  font-family: var(--ff-head);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--ease);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-blue-600), var(--c-blue-500));
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.42);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--c-text-1);
  border: 1px solid var(--c-border-mid);
}
.btn-ghost:hover {
  border-color: var(--c-blue-400);
  color: var(--c-blue-400);
  background: rgba(14, 165, 233, 0.06);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 0.95rem;
  font-size: 1rem;
}

.btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none !important; }

/* ============================================================
   6. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--ease), box-shadow var(--ease);
}

.navbar.scrolled {
  background: rgba(2, 13, 31, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--c-border), 0 4px 24px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-text-1);
  letter-spacing: -0.015em;
  flex-shrink: 0;
}

.logo-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-blue-400);
  flex-shrink: 0;
  position: relative;
}
.logo-pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--c-blue-400);
  animation: logo-ping 2.2s ease-out infinite;
}
@keyframes logo-ping {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text-2);
  position: relative;
  transition: color var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--c-blue-400);
  transition: width var(--ease);
}
.nav-link:hover { color: var(--c-text-1); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.3rem;
  background: linear-gradient(135deg, var(--c-blue-600), var(--c-blue-500));
  color: #fff;
  border-radius: var(--radius-s);
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--ease);
}
.nav-cta:hover {
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.42);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text-1);
  border-radius: 2px;
  transition: all var(--ease);
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   7. HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Background layer */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse, rgba(14, 165, 233, 0.06) 0%, transparent 65%);
}

.pulse-rings {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
}
.pulse-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(14, 165, 233, 0.25);
  animation: ring-expand 4.5s ease-out infinite;
}
.pulse-ring:nth-child(1) { animation-delay: 0s; }
.pulse-ring:nth-child(2) { animation-delay: 1.5s; }
.pulse-ring:nth-child(3) { animation-delay: 3s; }

@keyframes ring-expand {
  0%   { width: 60px;  height: 60px;  opacity: 0.7; }
  100% { width: 800px; height: 800px; opacity: 0; }
}

/* Hero content */
.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.hero-content { max-width: 820px; }

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(14, 165, 233, 0.07);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-blue-300);
  margin-bottom: 1.6rem;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-blue-400);
  animation: blink 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* Headline */
.hero-headline { margin-bottom: 1.8rem; }

/* Tagline with heartbeat animation */
.hero-tagline {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.heartbeat-wrap {
  width: 230px;
  height: 38px;
  overflow: visible;
}
.heartbeat-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.heartbeat-line {
  fill: none;
  stroke: var(--c-blue-400);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.65));
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: draw-ecg 3s ease-in-out infinite;
}
@keyframes draw-ecg {
  0%        { stroke-dashoffset: 340; opacity: 0; }
  8%        { stroke-dashoffset: 340; opacity: 1; }
  58%       { stroke-dashoffset: 0;   opacity: 1; }
  78%       { stroke-dashoffset: 0;   opacity: 0; }
  100%      { stroke-dashoffset: 340; opacity: 0; }
}

.tagline-text {
  font-family: var(--ff-head);
  font-size: clamp(1.05rem, 1.9vw, 1.4rem);
  font-weight: 500;
  color: var(--c-blue-300);
  letter-spacing: -0.01em;
  animation: tagline-glow 3s ease-in-out infinite;
}
@keyframes tagline-glow {
  0%, 100% { text-shadow: none; }
  50%       { text-shadow: 0 0 22px rgba(56, 189, 248, 0.38); }
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--c-text-2);
  max-width: 640px;
  margin-bottom: 2.6rem;
  line-height: 1.82;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 2px solid var(--c-border-mid);
  border-radius: 100px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
  z-index: 1;
}
.scroll-dot {
  width: 4px; height: 8px;
  background: var(--c-blue-400);
  border-radius: 100px;
  animation: scroll-bob 1.9s ease-in-out infinite;
}
@keyframes scroll-bob {
  0%, 100% { transform: translateY(0);    opacity: 1; }
  55%       { transform: translateY(11px); opacity: 0.3; }
}

/* ============================================================
   8. SERVICES
   ============================================================ */
.services {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-l);
  padding: 2.2rem 2rem;
  transition: all var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--c-blue-500), transparent);
  opacity: 0;
  transition: opacity var(--ease);
}
.service-card:hover {
  border-color: var(--c-border-mid);
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(0,0,0,0.35), var(--glow-sm);
}
.service-card:hover::before { opacity: 1; }

.card-icon {
  width: 50px; height: 50px;
  background: rgba(14, 165, 233, 0.09);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue-400);
  margin-bottom: 1.3rem;
  transition: all var(--ease);
}
.card-icon svg { width: 22px; height: 22px; }
.service-card:hover .card-icon {
  background: rgba(14, 165, 233, 0.15);
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.25);
}

.service-card h3 { margin-bottom: 0.8rem; }
.service-card p  { font-size: 0.95rem; margin-bottom: 1.4rem; }

.card-features { display: flex; flex-direction: column; gap: 0.45rem; }
.card-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--c-text-3);
}
.card-features li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-blue-400);
  flex-shrink: 0;
}

/* ============================================================
   9. WHY US
   ============================================================ */
.why-us {
  background: var(--c-bg-alt);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  gap: 1.3rem;
  align-items: flex-start;
  padding: 1.9rem;
  background: rgba(7, 21, 48, 0.55);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-l);
  transition: all var(--ease);
}
.trust-item:hover {
  border-color: var(--c-border-mid);
  background: rgba(9, 25, 58, 0.7);
}

.trust-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  background: rgba(14, 165, 233, 0.09);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue-400);
  margin-top: 0.05rem;
}
.trust-icon svg { width: 20px; height: 20px; }

.trust-content h3 { font-size: 1.1rem; margin-bottom: 0.65rem; }
.trust-content p  { font-size: 0.95rem; line-height: 1.72; }

/* ============================================================
   10. HOW IT WORKS
   ============================================================ */
.how-it-works { background: var(--c-bg); }

.steps-container {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 1050px;
  margin: 0 auto;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}

.step-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.step-number {
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-blue-400);
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 100px;
  padding: 0.2rem 0.75rem;
}

.step-icon {
  width: 76px; height: 76px;
  background: var(--c-card);
  border: 1px solid var(--c-border-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-blue-400);
  transition: all var(--ease);
}
.step-icon svg { width: 28px; height: 28px; }
.step:hover .step-icon {
  border-color: var(--c-blue-400);
  box-shadow: 0 0 28px rgba(14, 165, 233, 0.32);
  background: rgba(14, 165, 233, 0.07);
}

.step h3 { font-size: 1.35rem; margin-bottom: 0.8rem; }
.step p   { font-size: 0.95rem; line-height: 1.75; }

/* Arrow divider between steps */
.step-divider {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3.2rem;
  color: var(--c-text-3);
  opacity: 0.6;
}
.step-divider svg { width: 22px; height: 22px; }

/* ============================================================
   11. CONTACT
   ============================================================ */
.contact {
  background: var(--c-bg-alt);
  border-top: 1px solid var(--c-border);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 5rem;
  align-items: start;
}

.contact-info { padding-top: 0.5rem; }
.contact-info .section-label { margin-bottom: 1rem; display: block; }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { font-size: 1rem; line-height: 1.82; margin-bottom: 2.2rem; }

.contact-points { display: flex; flex-direction: column; gap: 1rem; }
.contact-point {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: var(--c-text-2);
}
.contact-point svg {
  width: 18px; height: 18px;
  color: var(--c-blue-400);
  flex-shrink: 0;
}

/* Form wrapper card */
.contact-form-wrap {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.42rem; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-text-2);
}
.form-group label span { color: var(--c-blue-400); }

.form-group input,
.form-group textarea {
  background: rgba(2, 13, 31, 0.7);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-s);
  padding: 0.78rem 1rem;
  color: var(--c-text-1);
  font-size: 0.95rem;
  transition: all var(--ease);
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--c-text-3); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--c-blue-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

/* Select custom styling */
.select-wrap { position: relative; }
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(2, 13, 31, 0.7);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-s);
  padding: 0.78rem 2.5rem 0.78rem 1rem;
  color: var(--c-text-1);
  font-size: 0.95rem;
  width: 100%;
  outline: none;
  cursor: pointer;
  transition: all var(--ease);
}
.select-wrap select option { background: #071530; color: var(--c-text-1); }
.select-wrap select:focus {
  border-color: var(--c-blue-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}
.select-wrap select:invalid { color: var(--c-text-3); }
.select-arrow {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--c-text-3);
  pointer-events: none;
}

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

/* Submit button spinner */
.spinner {
  width: 18px; height: 18px;
  animation: spin 0.75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Success state */
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.25rem 1.3rem;
  background: rgba(34, 197, 94, 0.07);
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: var(--radius-m);
}
.form-success svg {
  width: 24px; height: 24px;
  color: #4ade80;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.form-success strong { display: block; color: #4ade80; font-size: 1rem; margin-bottom: 0.25rem; }
.form-success p { font-size: 0.88rem; margin: 0; color: var(--c-text-2); }

/* ============================================================
   12. FOOTER
   ============================================================ */
.footer {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-text-1);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--c-text-3);
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.88rem;
  color: var(--c-text-2);
  transition: color var(--ease);
}
.footer-nav a:hover { color: var(--c-blue-400); }

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding-top: 1.5rem;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: var(--c-text-3); }

/* ============================================================
   13. SCROLL ANIMATIONS
   ============================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   14. RESPONSIVE — TABLET  (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --sec-py: 4.5rem; }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 700px;
    margin: 0 auto;
  }

  .steps-container {
    flex-direction: column;
    align-items: center;
    max-width: 520px;
    margin: 0 auto;
    gap: 0.5rem;
  }
  .step { padding: 1.5rem 0; width: 100%; }
  .step-divider {
    padding-top: 0;
    transform: rotate(90deg);
  }
}

/* ============================================================
   15. RESPONSIVE — MOBILE  (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --sec-py: 4rem; }

  /* Nav */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0; bottom: 0;
    background: rgba(2, 13, 31, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease);
    border-top: 1px solid var(--c-border);
  }
  .nav-menu.open { opacity: 1; pointer-events: auto; }
  .nav-link { font-size: 1.15rem; }
  .nav-cta  { font-size: 1rem; padding: 0.7rem 2rem; }

  /* Services & Trust → single column */
  .services-grid { grid-template-columns: 1fr; }
  .trust-grid    { grid-template-columns: 1fr; }
  .trust-item    { flex-direction: column; text-align: center; align-items: center; }
  .trust-content { text-align: left; }

  /* Form row → stack */
  .form-row { grid-template-columns: 1fr; gap: 1.2rem; }

  /* Hero actions → stack */
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .scroll-indicator { display: none; }
}

/* ============================================================
   16. RESPONSIVE — SMALL MOBILE  (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  :root { --sec-py: 3.5rem; }

  .container { padding: 0 1.25rem; }

  .nav-container { padding: 0 1.25rem; }

  .contact-form-wrap { padding: 1.75rem 1.25rem; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-logo  { justify-content: center; }
  .footer-nav   { justify-content: center; gap: 1.5rem; }

  .step { padding: 1rem 0; }
  .step-icon { width: 64px; height: 64px; }
  .step-icon svg { width: 24px; height: 24px; }
}
