/* ============================================================
   Nirmaan Software Solutions — Main Stylesheet
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;600&display=swap");

/* ── Variables ─────────────────────────────────────────────── */
:root {
  /* Brand */
  --primary: #0b1f3a;
  --secondary: #1e3a8a;
  --accent: #3b82f6;
  --highlight: #60a5fa;
  --bg: #f8fafc;
  --text: #0f172a;

  /* Extended palette (derived, no hardcoded outside :root) */
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --surface: #ffffff;
  --border: rgba(59, 130, 246, 0.1);
  --border-md: rgba(59, 130, 246, 0.22);
  --shadow-sm: 0 1px 3px rgba(11, 31, 58, 0.07);
  --shadow-md: 0 4px 16px rgba(11, 31, 58, 0.11);
  --shadow-lg: 0 8px 32px rgba(11, 31, 58, 0.16);
  --gradient: linear-gradient(135deg, var(--secondary), var(--accent));

  /* Typography */
  --font-primary: "Inter", sans-serif;
  --font-heading: "Space Grotesk", sans-serif;

  /* Layout */
  --container: 1200px;
  --header-h: 68px;
  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 16px;
  --ease: 0.24s ease;
}

/* ── Reset ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-primary);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  font-family: var(--font-primary);
  cursor: pointer;
}

/* ── Typography ─────────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
}
h1 {
  font-size: 48px;
}
h2 {
  font-size: 36px;
}
h3 {
  font-size: 28px;
}
h4 {
  font-size: 22px;
}
p {
  font-size: 16px;
}
small {
  font-size: 14px;
}

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section ────────────────────────────────────────────────── */
.section {
  padding: 88px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  margin-bottom: 14px;
}
.section-desc {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-s);
  font-size: 15px;
  font-weight: 500;
  border: none;
  transition: all var(--ease);
}
.btn-primary {
  background: var(--gradient);
  color: var(--surface);
}
.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--surface);
}
.btn-white {
  background: var(--surface);
  color: var(--secondary);
  font-weight: 600;
}
.btn-white:hover {
  background: var(--highlight);
  color: var(--surface);
}
.btn-ghost {
  background: rgba(59, 130, 246, 0.08);
  color: var(--accent);
}
.btn-ghost:hover {
  background: rgba(59, 130, 246, 0.15);
}

/* ── Header ─────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}

.header .container {
  height: 100%;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
}
.nav-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--gradient);
  color: var(--surface);
  font-size: 15px;
  font-weight: 700;
}
.nav-logo-image {
  display: block;
  height: 52px;
  width: auto;
  object-fit: contain;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  padding: 7px 13px;
  border-radius: var(--radius-s);
  transition: all var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(59, 130, 246, 0.07);
}
.nav-cta {
  background: var(--gradient) !important;
  color: var(--surface) !important;
  padding: 8px 18px !important;
}
.nav-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--ease);
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background: var(--primary);
  color: var(--surface);
  padding: 100px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero-bg-orb-1 {
  position: absolute;
  top: -20%;
  right: -8%;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.13) 0%,
    transparent 68%
  );
  pointer-events: none;
}
.hero-bg-orb-2 {
  position: absolute;
  bottom: -30%;
  left: -6%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(30, 58, 138, 0.28) 0%,
    transparent 68%
  );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(96, 165, 250, 0.3);
  background: rgba(96, 165, 250, 0.07);
  font-size: 13px;
  color: var(--highlight);
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--highlight);
  animation: dot-pulse 2s infinite;
}
@keyframes dot-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.hero h1 {
  color: var(--surface);
  font-size: 54px;
  margin-bottom: 20px;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--highlight), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-tagline {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
  font-style: italic;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  min-height: 1.4em;
}
.hero-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Service Cards ──────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 32px 26px;
  transition: all var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--ease);
}
.service-card:hover {
  border-color: var(--border-md);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-card:hover::before {
  opacity: 1;
}

.svc-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-m);
  background: rgba(59, 130, 246, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.svc-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h4 {
  font-size: 19px;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.68;
}

/* ── About Preview ──────────────────────────────────────────── */
.about-preview {
  background: var(--surface);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-visual-card {
  background: var(--primary);
  border-radius: var(--radius-l);
  padding: 44px 36px;
  color: var(--surface);
}
.about-visual-card h3 {
  color: var(--surface);
  margin-bottom: 14px;
  font-size: 26px;
}
.about-visual-card p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.stat-box {
  text-align: center;
  padding: 18px 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-m);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  color: var(--highlight);
  display: block;
}
.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
  display: block;
}

.about-text h2 {
  margin-bottom: 18px;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.75;
}
.about-text .btn {
  margin-top: 10px;
}

.values-list {
  margin: 22px 0;
}
.value-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.value-row:last-child {
  border-bottom: none;
}
.value-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 9px;
  flex-shrink: 0;
}
.value-row p {
  margin: 0;
  color: #475569;
}
.value-row strong {
  color: var(--primary);
}

/* ── CTA Section ────────────────────────────────────────────── */
.cta-band {
  background: var(--gradient);
  text-align: center;
  padding: 80px 0;
}
.cta-band h2 {
  color: var(--surface);
  font-size: 38px;
  margin-bottom: 14px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  max-width: 500px;
  margin: 0 auto 34px;
}
.cta-band .btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.58);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo {
  color: var(--surface);
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 22px;
}

.social-row {
  display: flex;
  gap: 10px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  transition: all var(--ease);
}
.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--surface);
}
.social-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--surface);
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 9px;
}
.footer-col ul li a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--ease);
}
.footer-col ul li a:hover {
  color: var(--highlight);
}

.footer-bottom {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p,
.footer-bottom a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}
.footer-bottom a {
  transition: color var(--ease);
}
.footer-bottom a:hover {
  color: var(--highlight);
}
.footer-bottom .sep {
  margin: 0 8px;
  opacity: 0.4;
}

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: var(--primary);
  color: var(--surface);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -5%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.12) 0%,
    transparent 68%
  );
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--ease);
}
.breadcrumb a:hover {
  color: var(--highlight);
}
.breadcrumb-sep {
  font-size: 11px;
}
.page-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--highlight);
  margin-bottom: 10px;
}
.page-hero h1 {
  color: var(--surface);
  font-size: 40px;
  margin-bottom: 14px;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 16.5px;
  max-width: 540px;
}

/* ── About Page ─────────────────────────────────────────────── */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
.mv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.mv-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-m);
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.mv-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--surface);
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mv-card h3 {
  font-size: 23px;
  margin-bottom: 12px;
}
.mv-card p {
  color: var(--text-muted);
  line-height: 1.73;
}

.overview-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 48px;
  margin-bottom: 56px;
}
.overview-card h2 {
  margin-bottom: 18px;
}
.overview-card p {
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.75;
}

.expansion-card {
  background: var(--primary);
  border-radius: var(--radius-l);
  padding: 48px;
}
.expansion-card h2 {
  color: var(--surface);
  margin-bottom: 18px;
}
.expansion-card > p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 14px;
  line-height: 1.75;
}
.expansion-goals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.goal-item {
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-m);
}
.goal-item h4 {
  color: var(--highlight);
  font-size: 16px;
  margin-bottom: 8px;
}
.goal-item p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  margin: 0;
}

/* ── Services Page ──────────────────────────────────────────── */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.service-page-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 36px 30px;
  transition: all var(--ease);
  position: relative;
  overflow: hidden;
}
.service-page-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--ease);
}
.service-page-card:hover {
  border-color: var(--border-md);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-page-card:hover::before {
  opacity: 1;
}
.service-page-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
}
.service-page-card > p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.svc-feature-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 18px;
}
.svc-feature-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: #475569;
}
.svc-feature-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.process-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 56px 48px;
  margin-top: 64px;
}
.process-card h2 {
  text-align: center;
  margin-bottom: 48px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 28px;
}
.process-step {
  text-align: center;
}
.process-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--surface);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.process-step h4 {
  font-size: 16px;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ── Contact Page ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.contact-left h2 {
  margin-bottom: 14px;
}
.contact-left > p {
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.75;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
}
.contact-item-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-s);
  background: rgba(59, 130, 246, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-item h5 {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 3px;
}
.contact-item p {
  font-size: 14.5px;
  color: var(--text);
  margin: 0;
}

.contact-form-card {
  background: var(--surface);
  border-radius: var(--radius-l);
  padding: 42px 38px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.contact-form-card h3 {
  font-size: 24px;
  margin-bottom: 6px;
}
.contact-form-card > p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 15px;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-s);
  font-family: var(--font-primary);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  outline: none;
  appearance: none;
  transition:
    border-color var(--ease),
    box-shadow var(--ease);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  display: none;
}
.form-error.show {
  display: block;
}
.form-success {
  display: none;
  padding: 14px 18px;
  margin-top: 14px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius-m);
  color: #166534;
  font-size: 14.5px;
  text-align: center;
}
.form-success.show {
  display: block;
}

/* ── Legal Pages ────────────────────────────────────────────── */
.legal-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.legal-wrap h1 {
  margin-bottom: 6px;
}
.legal-meta {
  font-size: 13.5px;
  color: var(--text-light);
  margin-bottom: 40px;
}
.legal-wrap h2 {
  font-size: 23px;
  margin: 40px 0 12px;
}
.legal-wrap h3 {
  font-size: 18px;
  margin: 26px 0 10px;
}
.legal-wrap p {
  color: #475569;
  margin-bottom: 14px;
  line-height: 1.78;
}
.legal-wrap ul {
  padding-left: 20px;
  margin-bottom: 14px;
}
.legal-wrap ul li {
  list-style: disc;
  color: #475569;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.65;
}
.legal-hr {
  height: 1px;
  background: var(--border);
  margin: 36px 0;
  border: none;
}

/* ── Fade-in scroll animations ──────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in.delay-1 {
  transition-delay: 0.1s;
}
.fade-in.delay-2 {
  transition-delay: 0.2s;
}
.fade-in.delay-3 {
  transition-delay: 0.3s;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 72px;
  }

  h1 {
    font-size: 34px;
  }
  h2 {
    font-size: 27px;
  }
  h3 {
    font-size: 22px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .section {
    padding: 60px 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(248, 250, 252, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 3px;
    padding: 14px 18px 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 11px 15px;
    width: 100%;
  }
  .nav-toggle {
    display: flex;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 28px 22px;
  }
  .overview-card,
  .expansion-card,
  .process-card {
    padding: 32px 22px;
  }
  .hero {
    padding: 72px 0 56px;
  }
  .about-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --header-h: 64px;
  }

  .nav-logo-image {
    height: 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .cta-band .btn-row {
    flex-direction: column;
    align-items: center;
  }
  .expansion-goals {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}
