/* =========================================================
   AppDevelopingDudes — Design System
   Minimal, editorial, conversion-focused.
   ========================================================= */

/* -------- Design tokens -------- */
:root {
  /* Brand */
  --navy:       #1F2A4B;
  --navy-deep:  #131a30;
  --navy-soft:  #2d3a5f;
  --navy-pale:  #eef1f7;

  /* Accent */
  --accent:     #D4A24A;
  --accent-deep:#b88630;

  /* Neutrals */
  --white:      #ffffff;
  --off:        #fafbfd;
  --pale:       #f1f3f8;
  --line:       #e3e6ed;
  --mute:       #7a8296;
  --ink:        #191e2c;
  --ink-soft:   #404859;

  /* Semantic */
  --success:    #2d6a4f;
  --success-bg: #eaf5ef;
  --warn:       #8a6d1f;
  --warn-bg:    #fdf6e3;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
  --dur: .35s;

  /* Layout */
  --pad: clamp(20px, 4vw, 40px);
  --max: 1240px;
  --narrow: 880px;

  /* Type */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --display: "Space Grotesk", "Inter", -apple-system, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
}

/* -------- Reset / base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--accent-deep); }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 16px; color: var(--ink); }
::selection { background: var(--navy); color: var(--white); }

/* -------- Typography -------- */
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  color: var(--navy);
  margin: 0 0 .4em;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
}
h1 { font-size: clamp(40px, 6.5vw, 80px); font-weight: 500; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4.2vw, 52px); letter-spacing: -0.025em; }
h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.015em; }
h4 { font-size: 18px; font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-soft); }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 20px;
  padding: 6px 12px;
  background: var(--navy-pale);
  border-radius: 100px;
}
.accent { color: var(--accent-deep); }

/* -------- Layout -------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.narrow { max-width: var(--narrow); margin-left: auto; margin-right: auto; }
section { padding: clamp(64px, 10vw, 120px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 40px; }

.muted { color: var(--mute); }
.center { text-align: center; }

/* -------- Navigation -------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(1.5) blur(18px);
  -webkit-backdrop-filter: saturate(1.5) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,0.95); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: height var(--dur) var(--ease);
}
.logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark { display: none; }
.logo-img { height: 50px; width: auto; transition: height var(--dur) var(--ease); }
.logo-img-white { height: 80px; width: auto; transition: height var(--dur) var(--ease); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--dur) var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle { 
  display: none; 
  background: none; 
  border: none; 
  padding: 8px; 
  cursor: pointer;
}
.nav-toggle span { 
  display: block; 
  width: 24px; 
  height: 2px; 
  background: var(--navy); 
  margin: 5px 0; 
  transition: var(--dur) var(--ease); 
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 18px -6px rgba(31,42,75,0.4);
}
.btn-primary:hover {
  background: var(--navy-deep);
  color: var(--white);
  box-shadow: 0 10px 28px -6px rgba(31,42,75,0.5);
}
.btn-accent {
  background: var(--accent);
  color: var(--navy-deep);
  box-shadow: 0 4px 18px -6px rgba(212,162,74,0.5);
}
.btn-accent:hover {
  background: var(--accent-deep);
  color: var(--white);
  box-shadow: 0 10px 28px -6px rgba(184,134,48,0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--navy-pale);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover { background: var(--pale); color: var(--navy); }
.btn-lg { padding: 18px 30px; font-size: 16px; }

/* -------- Hero -------- */
.hero {
  position: relative;
  padding: clamp(72px, 12vw, 140px) 0 clamp(72px, 10vw, 120px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(212,162,74,0.08), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(31,42,75,0.05), transparent 50%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 960px; }
.hero h1 .accent { color: var(--accent-deep); font-style: italic; font-weight: 500; }
.hero p.lead { max-width: 600px; margin: 24px 0 40px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 60px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-trust .stat .num {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-trust .stat .lbl {
  font-size: 13px;
  color: var(--mute);
  margin-top: 6px;
  letter-spacing: 0.3px;
}

/* -------- Logo bar -------- */
.logo-bar {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--off);
}
.logo-bar-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--mute);
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 500;
}
.logo-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(30px, 6vw, 72px);
  flex-wrap: wrap;
  opacity: 0.75;
}
.logo-strip .client-logo {
  height: 120px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.2s ease;
}
.logo-strip .client-logo:hover { filter: grayscale(0%); }
.logo-strip .client-logo-sm {
  height: 80px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.2s ease;
}
.logo-strip .client-logo-sm:hover { filter: grayscale(0%); }

/* -------- Cards -------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -12px rgba(31,42,75,0.15);
  border-color: transparent;
}
.card h3 { margin-top: 20px; }
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy-pale);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.card-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.card-list li {
  padding: 8px 0 8px 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
  position: relative;
}
.card-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 16px;
  width: 12px; height: 2px;
  background: var(--accent);
}

/* -------- Work / Portfolio cards -------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 800px) { .work-grid { grid-template-columns: 1fr; } }

.work-card {
  background: var(--navy-pale);
  border-radius: 16px;
  overflow: hidden;
  transition: transform var(--dur) var(--ease);
  cursor: pointer;
}
.work-card:hover { transform: translateY(-4px); }

.work-card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #f4f4f5; 
  aspect-ratio: 4 / 3;
}
.work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain !important; 
  object-position: center;
  display: block;
}
.work-card-body { padding: 24px 28px 28px; }
.work-card-tag {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--mute);
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 600;
}
.work-card h3 { margin: 0 0 10px; font-size: 22px; }
.work-card p { font-size: 14.5px; margin-bottom: 0; }

/* -------- Process / Steps -------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .process { grid-template-columns: 1fr; } }
.process-step {
  padding: 28px 24px;
  border-top: 2px solid var(--navy);
  counter-increment: step;
}
.process-step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-deep);
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.process-step h4 {
  font-size: 20px;
  margin-bottom: 10px;
}
.process-step p { font-size: 14.5px; margin: 0; }

/* -------- Testimonials -------- */
.testimonial {
  background: var(--navy);
  color: var(--white);
  padding: 60px;
  border-radius: 20px;
  position: relative;
}
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 20px; left: 40px;
  font-family: var(--display);
  font-size: 120px;
  color: var(--accent);
  line-height: 1;
  opacity: 0.4;
}
.testimonial-quote {
  font-family: var(--display);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.35;
  color: var(--white);
  font-weight: 400;
  position: relative;
  margin-bottom: 32px;
  letter-spacing: -0.015em;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy-deep);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
}
img.avatar { object-fit: cover; }
.testimonial-name {
  font-weight: 600;
  color: var(--white);
  margin: 0;
  font-size: 15px;
}
.testimonial-role {
  color: var(--accent);
  font-size: 13px;
  margin: 2px 0 0;
}
@media (max-width: 600px) { .testimonial { padding: 40px 28px; } .testimonial::before { font-size: 80px; left: 20px; } }

/* -------- CTA band -------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: clamp(64px, 10vw, 120px) 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); max-width: 720px; margin: 0 auto 20px; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto 40px; font-size: 18px; }

/* -------- Footer -------- */
footer.site {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
  font-size: 14.5px;
}
footer.site a { color: rgba(255,255,255,0.85); }
footer.site a:hover { color: var(--accent); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand .logo { color: var(--white); margin-bottom: 20px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 14.5px; max-width: 320px; }
.footer-col h5 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 10px 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

/* -------- Forms -------- */
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.2px;
}
.form-group .hint {
  font-size: 13px;
  color: var(--mute);
  margin-top: 6px;
  font-weight: 400;
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 16px;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form-control:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(31,42,75,0.08);
}
textarea.form-control { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-submit { width: 100%; padding: 16px; margin-top: 8px; }
.form-small-print { font-size: 12.5px; color: var(--mute); margin-top: 16px; text-align: center; }

/* -------- Pill / tag -------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--navy-pale);
  color: var(--navy);
  letter-spacing: 0.2px;
}
.pill-accent { background: rgba(212,162,74,0.15); color: var(--accent-deep); }
.pill-green { background: var(--success-bg); color: var(--success); }

/* -------- Trust row / numbers -------- */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 700px) { .trust-row { grid-template-columns: repeat(2, 1fr); } }

.trust-item .num {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
}
.trust-item .lbl {
  font-size: 13px;
  color: var(--mute);
  margin-top: 10px;
  letter-spacing: 0.3px;
}

/* -------- Case study block -------- */
.case {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.case:first-child { border-top: none; padding-top: 0; }
@media (max-width: 800px) { .case { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; } }
.case-visual {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  display: grid;
  place-items: center;
  color: var(--accent);
  font-family: var(--display);
  font-size: 32px;
  font-weight: 600;
}
.case-body h3 { margin-bottom: 14px; }
.case-stats {
  display: flex;
  gap: 32px;
  margin: 24px 0;
  flex-wrap: wrap;
}
.case-stat .num {
  font-family: var(--display);
  font-size: 28px;
  color: var(--accent-deep);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.case-stat .lbl { font-size: 12.5px; color: var(--mute); letter-spacing: 0.3px; }

/* -------- Landing page specific -------- */
.lp-hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: clamp(40px, 6vw, 80px) 0;
}
@media (max-width: 900px) { .lp-hero { grid-template-columns: 1fr; min-height: auto; } }
.lp-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 24px 60px -20px rgba(31,42,75,0.15);
}
.lp-form-card h3 { font-size: 22px; margin-bottom: 8px; }
.lp-form-card .lead { font-size: 14.5px; margin-bottom: 24px; }

.lp-trust-strip {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.lp-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 500;
}
.lp-trust-item .check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 700;
}

/* -------- WhatsApp float -------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  color: white;
  z-index: 50;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: opacity .4s var(--ease), transform var(--dur) var(--ease);
  opacity: 0;
  pointer-events: none;
}
.wa-float:hover { transform: scale(1.08); color: white; }
.wa-float svg { width: 28px; height: 28px; }
.wa-float.wa-visible { opacity: 1; pointer-events: auto; }

/* -------- Reveal on scroll -------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible,
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* -------- Nav: scrolled shadow -------- */
.nav-scrolled { box-shadow: 0 2px 20px rgba(31,42,75,0.10); }

/* -------- Form: field error state -------- */
.form-control.field-error {
  border-color: #c0392b;
  background: #fff5f5;
}
.form-control.field-error:focus {
  box-shadow: 0 0 0 3px rgba(192,57,43,0.15);
}

/* -------- Form: status messages -------- */
.form-msg {
  margin-top: 12px;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 8px;
}
.form-msg--error {
  background: #fff0f0;
  color: #c0392b;
  border: 1px solid #f5c6c6;
}
.form-msg--success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid #b7dfc9;
}

/* -------- Form: submit spinner -------- */
.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  vertical-align: middle;
  margin-left: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* -------- Utility -------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 40px; }
.hide-mobile { }
@media (max-width: 700px) { .hide-mobile { display: none; } }

/* -------- Misc accents -------- */
.divider {
  height: 1px;
  background: var(--line);
  margin: 40px 0;
}
.section-head { margin-bottom: 60px; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* =========================================================
   COMPACT & MOBILE VIEWPORT BREAKPOINTS (Updated)
   ========================================================= */

@media (max-width: 900px) {
  /* Navigation Menu Panel Adjustments */
  .nav-inner {
    height: 64px;
  }
  .logo-img {
    height: 36px;
  }
  .logo-img-white {
    height: 54px;
  }
  
  /* Forces the top glass-morphism header to become fully solid when menu opens */
  .nav:has(.nav-links.open),
  .nav:has(.nav-links.active),
  .nav:has(.nav-links.nav-open) {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* The actual dropdown menu */
  .nav-links {
    position: fixed;
    inset: 64px 0 0;
    background: #ffffff !important; /* Forces solid white background */
    flex-direction: column;
    padding: 40px var(--pad);
    gap: 24px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: var(--dur) var(--ease);
    border-top: 1px solid var(--line);
    z-index: 999 !important; /* Prevents underneath elements from bleeding through */
  }
  .nav-links.open,
  .nav-links.active,
  .nav-links.nav-open { 
    display: flex !important; 
    transform: translateY(0); 
    opacity: 1; 
    pointer-events: auto; 
  }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost,
  .nav-cta .btn-primary { display: none !important; }
  body.nav-is-open { overflow: hidden; }
}

@media (max-width: 600px) {
  /* Restrict Brand Component Dimensions in Responsive Grids */
  .logo-strip {
    gap: 24px;
  }
  .logo-strip .client-logo {
    height: 48px;
    max-width: 130px;
  }
  .logo-strip .client-logo-sm {
    height: 34px;
    max-width: 100px;
  }
}

@media (max-width: 480px) {
  /* Prevent Fluid Typography Overclamping on Extra-Small Devices */
  h1 { 
    font-size: 32px !important; 
    line-height: 1.15;
  }
  h2 { 
    font-size: 24px !important; 
  }
  h3 {
    font-size: 20px !important;
  }
  section {
    padding: 48px 0;
  }
  
  /* Stack Hero Interface Elements Vertically */
  .hero-ctas {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
    text-align: center;
  }
  
  /* 2-Column Clean Layout for Hero Analytics Placement */
  .hero-trust {
    gap: 24px 16px;
  }
  .hero-trust .stat {
    width: calc(50% - 8px);
  }
  .hero-trust .stat .num {
    font-size: 28px;
  }
}

/* -------- Print -------- */
@media print {
  .nav, .cta-band, footer.site, .wa-float, .nav-cta, .hero-ctas { display: none !important; }
  body { color: black; background: white; }
}