/* ============================================================
   ALG4X™ — Plataforma Brasileira de Engenharia Regenerativa de Solos
   Global CSS — Design Tokens & Base Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ─── Design Tokens ─── */
:root {
  /* Colors */
  --bg-dark:       #16181C;
  --bg-green:      #1E3A34;
  --bg-green-mid:  #2F5D50;
  --bg-light:      #F3F0E8;
  --bg-white:      #FAFAF7;
  --text-dark:     #16181C;
  --text-light:    #F7F5EF;
  --text-muted:    #A8B0AA;
  --text-mid:      #55605C;
  --accent:        #B08D57;
  --accent-light:  #C9A97A;
  --border-dark:   rgba(255,255,255,0.08);
  --border-light:  rgba(22,24,28,0.10);

  /* Typography */
  --font-heading:  'Manrope', sans-serif;
  --font-body:     'Inter', sans-serif;

  /* Spacing */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;
  --s7: 96px;
  --s8: 128px;

  /* Border radius */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;

  /* Shadows */
  --shadow-soft: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-dark: 0 16px 48px rgba(0,0,0,0.22);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.06);

  /* Transitions */
  --t-fast: 0.18s ease;
  --t-mid:  0.32s ease;
  --t-slow: 0.5s ease;
}

/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.8;
  color: inherit;
}

.label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

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

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--s4);
}

.section {
  padding: var(--s8) 0;
}

.section-sm {
  padding: var(--s6) 0;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all var(--t-fast);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(176,141,87,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border-light);
}
.btn-outline-dark:hover {
  border-color: var(--bg-green-mid);
  color: var(--bg-green-mid);
}

/* ─── Header / Nav ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px var(--s4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--t-mid);
}

.site-header.scrolled {
  background: rgba(22, 24, 28, 0.96);
  backdrop-filter: blur(16px);
  padding: 14px var(--s4);
  border-bottom: 1px solid var(--border-dark);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-mark {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: -0.03em;
}

.logo-mark span {
  color: var(--accent);
}

.logo-sub {
  font-family: var(--font-heading);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--s4);
}

.main-nav a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(247,245,239,0.75);
  letter-spacing: 0.02em;
  transition: color var(--t-fast);
  padding: 4px 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--t-fast);
}

.main-nav a:hover {
  color: var(--text-light);
}
.main-nav a:hover::after {
  width: 100%;
}

.main-nav a.active {
  color: var(--accent);
}

.nav-cta {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bg-dark) !important;
  background: var(--accent);
  padding: 10px 20px;
  border-radius: var(--r-sm);
  transition: all var(--t-fast) !important;
}
.nav-cta:hover {
  background: var(--accent-light) !important;
  transform: translateY(-1px);
}
.nav-cta::after { display: none !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-light);
  transition: all var(--t-fast);
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(22,24,28,0.92) 0%,
    rgba(30,58,52,0.80) 50%,
    rgba(22,24,28,0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s3);
}

.hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  margin-bottom: var(--s2);
}

.hero-title .brand {
  display: block;
  color: var(--text-light);
}

.hero-title .tagline {
  display: block;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-top: 8px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  color: rgba(247,245,239,0.75);
  max-width: 640px;
  margin-bottom: var(--s5);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
  margin-bottom: var(--s6);
}

.hero-signature {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.hero-scroll {
  position: absolute;
  bottom: var(--s4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: var(--text-light);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}

/* ─── Section Headers ─── */
.section-header {
  margin-bottom: var(--s6);
}

.section-header.center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header .label {
  margin-bottom: var(--s2);
  display: block;
}

.section-header h2 {
  margin-bottom: var(--s3);
}

.section-header p {
  color: var(--text-mid);
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-header.light p {
  color: rgba(247,245,239,0.70);
}
.section-header.light h2 {
  color: var(--text-light);
}

/* ─── Cards ─── */
.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-md);
  padding: var(--s4);
  transition: all var(--t-mid);
}

.card:hover {
  border-color: rgba(176,141,87,0.3);
  background: rgba(255,255,255,0.05);
  transform: translateY(-4px);
  box-shadow: var(--shadow-dark);
}

.card-light {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: var(--s4);
  transition: all var(--t-mid);
  box-shadow: var(--shadow-card);
}

.card-light:hover {
  border-color: var(--bg-green-mid);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: rgba(176,141,87,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s3);
  color: var(--accent);
  font-size: 1.3rem;
}

.card h4 {
  margin-bottom: var(--s1);
  color: var(--text-light);
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.card-light h4 {
  color: var(--text-dark);
  margin-bottom: var(--s1);
}

.card-light p {
  font-size: 0.9rem;
  color: var(--text-mid);
}

/* ─── Grid layouts ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s3); }

/* ─── Split sections ─── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: center;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}

.split-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* ─── Page Hero (internal pages) ─── */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--s7);
  overflow: hidden;
}

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

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,24,28,0.6) 0%, rgba(22,24,28,0.92) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
}

/* ─── Stats / Numbers ─── */
.stat-block {
  text-align: center;
  padding: var(--s4);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--s1);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ─── Timeline ─── */
.timeline {
  position: relative;
  padding-left: var(--s5);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--s5);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--s5) + 8px);
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(176,141,87,0.6);
}

.timeline-step {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 6px;
}

.timeline-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── Bg variants ─── */
.bg-dark  { background: var(--bg-dark); color: var(--text-light); }
.bg-green { background: var(--bg-green); color: var(--text-light); }
.bg-light { background: var(--bg-light); color: var(--text-dark); }
.bg-white { background: var(--bg-white); color: var(--text-dark); }
.bg-mid   { background: #1C1F24; color: var(--text-light); }

/* ─── Divider ─── */
.divider {
  height: 1px;
  background: var(--border-dark);
  margin: var(--s7) 0;
}

.divider-light {
  height: 1px;
  background: var(--border-light);
  margin: var(--s7) 0;
}

/* ─── Image overlay cards ─── */
.img-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.img-card:hover img {
  transform: scale(1.04);
}

.img-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(22,24,28,0.90) 100%);
}

.img-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--s4);
}

/* ─── Pillar cards (5 pilares) ─── */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s3);
}

.pillar-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-md);
  padding: var(--s4) var(--s3);
  text-align: center;
  transition: all var(--t-mid);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--t-mid);
}

.pillar-card:hover {
  border-color: rgba(176,141,87,0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-dark);
}

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

.pillar-icon {
  font-size: 2rem;
  margin-bottom: var(--s2);
  display: block;
}

.pillar-card h4 {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: var(--s1);
  font-weight: 700;
}

.pillar-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Quote / highlight block ─── */
.highlight-block {
  border-left: 3px solid var(--accent);
  padding: var(--s3) var(--s4);
  background: rgba(176,141,87,0.06);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.7;
}

/* ─── Banner / CTA section ─── */
.cta-banner {
  text-align: center;
  padding: var(--s8) var(--s4);
}

.cta-banner h2 {
  margin-bottom: var(--s3);
}

.cta-banner p {
  max-width: 600px;
  margin: 0 auto var(--s5);
  color: rgba(247,245,239,0.70);
}

.cta-actions {
  display: flex;
  gap: var(--s2);
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Footer ─── */
.site-footer {
  background: #0E1012;
  border-top: 1px solid var(--border-dark);
  padding: var(--s7) 0 var(--s5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s6);
  margin-bottom: var(--s6);
}

.footer-brand .logo-mark {
  font-size: 1.6rem;
  margin-bottom: var(--s2);
  display: block;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--s3);
  font-style: italic;
}

.footer-signature {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s3);
}

.footer-col ul li {
  margin-bottom: var(--s1);
}

.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(247,245,239,0.55);
  transition: color var(--t-fast);
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: var(--s4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s2);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: var(--s3);
}

.footer-legal a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.footer-legal a:hover {
  color: var(--accent);
}

/* ─── Animations ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ─── Form styles ─── */
.form-group {
  margin-bottom: var(--s3);
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-light);
  transition: border-color var(--t-fast);
  outline: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(168,176,170,0.4);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.06);
}

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

.form-select option {
  background: var(--bg-dark);
  color: var(--text-light);
}

/* ─── Differentials list ─── */
.diff-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.diff-list li {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  padding: var(--s3);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-dark);
  transition: all var(--t-mid);
}

.diff-list li:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(176,141,87,0.2);
}

.diff-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(176,141,87,0.25);
  line-height: 1;
  min-width: 40px;
}

.diff-content h4 {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.diff-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Tag badges ─── */
.tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(176,141,87,0.12);
  color: var(--accent);
  border: 1px solid rgba(176,141,87,0.2);
}

/* ─── Mobile menu ─── */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  bottom: 0;
  width: min(320px, 80vw);
  background: var(--bg-dark);
  border-left: 1px solid var(--border-dark);
  z-index: 999;
  padding: 80px var(--s5) var(--s5);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  transition: right var(--t-mid);
}

.mobile-nav.open {
  right: 0;
  box-shadow: -16px 0 48px rgba(0,0,0,0.4);
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(247,245,239,0.75);
  padding: var(--s2) 0;
  border-bottom: 1px solid var(--border-dark);
  transition: color var(--t-fast);
}

.mobile-nav a:hover {
  color: var(--accent);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid);
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ─── Utility ─── */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }
.text-center { text-align: center; }
.text-light  { color: var(--text-light); }
.fw-bold     { font-weight: 700; }
.mb-1 { margin-bottom: var(--s1); }
.mb-2 { margin-bottom: var(--s2); }
.mb-3 { margin-bottom: var(--s3); }
.mb-4 { margin-bottom: var(--s4); }
.mb-5 { margin-bottom: var(--s5); }
.mt-auto { margin-top: auto; }

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s4); }
}

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4, .split { grid-template-columns: 1fr; }
  .split.reverse { direction: ltr; }
  .split-img img { height: 320px; }
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
}

@media (max-width: 600px) {
  :root {
    --s7: 64px;
    --s8: 80px;
  }
  .pillar-grid { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}
