/* ==========================================================================
   herNEXa — Digital Marketing Solutions
   Stylesheet
   ========================================================================== */

:root {
  /* Brand palette (sampled from the herNEXa logo) */
  --navy-900: #06133a;
  --navy-800: #0b1e4e;
  --navy-700: #142a63;
  --blue-600: #1f6fe0;
  --blue-500: #2f8ff0;
  --blue-400: #57a9f7;
  --blue-100: #e8f2fe;

  --ink: #101830;
  --ink-soft: #4a5270;
  --muted: #6b7290;
  --line: #e6e9f2;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-navy-soft: #0e2560;

  --gradient-brand: linear-gradient(120deg, var(--navy-800) 0%, var(--blue-600) 55%, var(--blue-400) 100%);
  --gradient-accent: linear-gradient(120deg, var(--blue-600), var(--blue-400));

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(11, 30, 78, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 30, 78, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 30, 78, 0.16);

  --container: 1180px;
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-800);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section { padding-block: clamp(56px, 9vw, 108px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-100);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gradient-accent);
}

h1 { font-size: clamp(2.1rem, 3.6vw + 1rem, 3.4rem); }
h2 { font-size: clamp(1.7rem, 1.6vw + 1.2rem, 2.5rem); }
h3 { font-size: clamp(1.15rem, 0.6vw + 1rem, 1.4rem); }

.lede {
  font-size: clamp(1.02rem, 0.4vw + 0.95rem, 1.2rem);
  color: var(--ink-soft);
  max-width: 62ch;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-brand);
  background-size: 160% 160%;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover, .btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background-position: 100% 0;
}
.btn-outline {
  border-color: var(--navy-800);
  color: var(--navy-800);
  background: transparent;
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--navy-800);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline.on-dark {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn-outline.on-dark:hover, .btn-outline.on-dark:focus-visible {
  background: #fff;
  color: var(--navy-800);
  border-color: #fff;
}
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(20px, 3vw, 32px);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy-800);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 1000;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img { height: 40px; width: auto; }
.brand-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy-800);
}
.brand-text .accent { color: var(--blue-500); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 34px);
}
.nav-links a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
  position: relative;
  padding-block: 6px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%; height: 2px;
  background: var(--gradient-accent);
  transition: width .25s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--navy-800); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { background: var(--bg-soft); }
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-800);
  position: relative;
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); top: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 84px);
  padding-bottom: clamp(28px, 3vw, 48px);
  background:
    radial-gradient(1100px 520px at 82% -10%, var(--blue-100) 0%, rgba(232,242,254,0) 60%),
    var(--bg);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: var(--gradient-accent);
  opacity: 0.08;
  filter: blur(10px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-copy .lede { margin-top: 18px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(20px, 3vw, 40px);
  margin-top: 44px;
}
.hero-stats .stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.4vw + 1rem, 2rem);
  color: var(--navy-800);
}
.hero-stats .stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-card {
  position: relative;
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  color: #fff;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 440px;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px 220px at 90% 0%, rgba(255,255,255,0.18), transparent 60%);
}
.hero-card-logo { width: 56px; margin-bottom: 22px; position: relative; }
.hero-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 10px; position: relative; }
.hero-card p { color: rgba(255,255,255,0.85); font-size: 0.95rem; position: relative; }
.hero-pill-list { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.hero-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-size: 0.88rem;
  font-weight: 600;
}
.hero-pill svg { flex-shrink: 0; width: 16px; height: 16px; }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(26px, 3vw, 34px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  height: 100%;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--gradient-brand);
  color: #fff;
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--blue-600);
}
.card .card-link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.card:hover .card-link svg { transform: translateX(4px); }

.bg-soft { background: var(--bg-soft); }

/* Why-us / feature rows */
.feature-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: none; }
.feature-row .num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
}
.feature-row h4 { font-family: var(--font-head); color: var(--navy-800); font-size: 1.05rem; margin-bottom: 6px; }
.feature-row p { color: var(--ink-soft); font-size: 0.95rem; }

/* Philosophy pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  text-align: center;
  padding: 32px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}
.pillar .pillar-word {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 1.1rem;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.pillar p { color: var(--ink-soft); font-size: 0.94rem; }

/* Approach / process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 18px 20px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--line);
}
.step .step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
  display: block;
}
.step h4 { font-family: var(--font-head); color: var(--navy-800); font-size: 0.98rem; margin-bottom: 6px; }
.step p { font-size: 0.86rem; color: var(--muted); }

/* CTA band */
.cta-band {
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 10% 0%, rgba(255,255,255,0.14), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.86); max-width: 56ch; margin-inline: auto; }
.cta-band .cta-row { justify-content: center; }

/* Service detail blocks */
.service-block {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
  padding-block: clamp(48px, 7vw, 84px);
  border-top: 1px solid var(--line);
}
.service-block:first-of-type { border-top: none; }
.service-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--blue-600);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  display: block;
}
.service-block h2 { margin-bottom: 14px; }
.service-goal {
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--blue-100);
  color: var(--navy-800);
  font-weight: 700;
  font-size: 0.94rem;
}
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 22px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.check-list li svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  color: var(--blue-600);
}
.service-tagline {
  margin-top: 24px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-800);
  font-size: 1.05rem;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding-block: clamp(40px, 6vw, 72px) clamp(12px, 2vw, 20px);
  background:
    radial-gradient(900px 420px at 85% -20%, var(--blue-100) 0%, rgba(232,242,254,0) 60%),
    var(--bg);
}
.page-hero .section-head { margin-bottom: 0; }
.breadcrumbs {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumbs a { color: var(--blue-600); font-weight: 600; }

/* ---------- About page specifics ---------- */
.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mv-card {
  padding: clamp(28px, 3vw, 36px);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}
.mv-card .eyebrow { margin-bottom: 14px; }
.mv-card h3 { margin-bottom: 12px; }
.mv-card p { color: var(--ink-soft); }
.mv-card.navy {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
}
.mv-card.navy h3, .mv-card.navy .eyebrow { color: #fff; }
.mv-card.navy .eyebrow { background: rgba(255,255,255,0.14); }
.mv-card.navy p { color: rgba(255,255,255,0.85); }

.approach-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.approach-inline span {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy-800);
}
.approach-inline span:not(:last-child)::after { content: "→"; margin-left: 10px; color: var(--blue-500); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.contact-form-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy-800);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--bg-soft);
  font-size: 0.95rem;
  transition: border-color .2s ease, background .2s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: #fff;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: #e6f7ee; color: #157347; }
.form-status.err { background: #fdecec; color: #b42318; }

.contact-side { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 34px);
  background: var(--gradient-brand);
  color: #fff;
}
.contact-info-card h3 { color: #fff; margin-bottom: 8px; }
.contact-info-card p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.95rem;
}
.contact-method svg { width: 20px; height: 20px; flex-shrink: 0; }
.social-row { display: flex; gap: 10px; margin-top: 22px; }
.social-row a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  display: grid; place-items: center;
  transition: background .2s ease, transform .2s ease;
}
.social-row a:hover { background: #fff; color: var(--navy-800); transform: translateY(-2px); }
.social-row a svg { width: 18px; height: 18px; }

.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 220px;
}
.map-card iframe { width: 100%; height: 100%; min-height: 220px; border: 0; display: block; }

/* ---------- Blog coming soon ---------- */
.coming-soon-card {
  text-align: center;
  padding: clamp(48px, 8vw, 100px) clamp(20px, 5vw, 60px);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px dashed var(--line);
}
.coming-soon-card .card-icon { margin-inline: auto; }
.newsletter-inline {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 26px auto 0;
}
.newsletter-inline input {
  flex: 1;
  padding: 13px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
}
.newsletter-inline input:focus { outline: none; border-color: var(--blue-500); }

/* ---------- Legal pages ---------- */
.legal-content h2 { margin-top: 34px; margin-bottom: 12px; font-size: 1.25rem; }
.legal-content p, .legal-content li { color: var(--ink-soft); margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; list-style: disc; }
.legal-updated { color: var(--muted); font-size: 0.88rem; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.78);
  padding-top: clamp(48px, 7vw, 80px);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; max-width: 34ch; }
.footer-tagline {
  margin-top: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.footer-col h4 {
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.98rem;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-contact li { font-size: 0.92rem; margin-bottom: 14px; display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--blue-400); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  transition: background .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--gradient-accent); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; }

.footer-cta {
  padding-block: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-cta h3 { color: #fff; font-size: 1.2rem; }
.footer-cta p { font-size: 0.9rem; }

.footer-bottom {
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.84rem;
}
.footer-bottom .legal-links { display: flex; gap: 18px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.only-mobile { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin-inline: auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .service-block { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 72px 16px auto 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    gap: 4px;
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 12px 10px; border-radius: var(--radius-sm); }
  .nav-links a:hover { background: var(--bg-soft); }
  .nav-links a::after { display: none; }
  .nav-actions .btn-outline.desktop-only { display: none; }
  .nav-toggle { display: flex; }
  .mv-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .check-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .hero-stats { grid-template-columns: repeat(3, auto); gap: 18px; }
  .only-mobile { display: block; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .cta-row .btn { width: auto; }
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
