/* =========================================================
   AMULYA HOLDINGS — Global Stylesheet
   Integrated Zimbabwe Metals Platform
   ========================================================= */

:root {
  /* Brand palette */
  --navy-900: #0B1E3F;
  --navy-800: #15294B;
  --navy-700: #1E3A5F;
  --navy-600: #2A4A75;
  --navy-100: #E4EAF3;

  --amber-500: #F59E0B;
  --amber-400: #FBBF24;
  --amber-600: #D97706;

  --orange-600: #EA580C;
  --orange-500: #F97316;

  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --bg-tint: #F1F5F9;
  --border: #E2E8F0;
  --text-900: #0F172A;
  --text-700: #334155;
  --text-500: #64748B;
  --text-300: #94A3B8;
  --white: #FFFFFF;

  --green-500: #10B981;
  --red-500: #EF4444;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Manrope', 'Inter', sans-serif;

  /* Spacing & radii */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);

  /* Layout */
  --max-w: 1240px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ========== Typography ========== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-900);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--text-700); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: 16px;
  display: inline-block;
}

.subtle {
  color: var(--text-500);
}

/* ========== Layout helpers ========== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section--tight { padding: 70px 0; }
.section--alt { background: var(--bg-soft); }
.section--dark {
  background: var(--navy-900);
  color: rgba(255,255,255,0.85);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 {
  color: var(--white);
}
.section--dark p { color: rgba(255,255,255,0.75); }

.section-head {
  max-width: 780px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-head--left {
  text-align: left;
  margin: 0 0 56px;
}
.section-head h2 { margin-bottom: 16px; }
.section-head p { font-size: 1.1rem; color: var(--text-500); }

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

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--orange-600);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--amber-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.35);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn--dark {
  background: var(--navy-800);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--navy-900);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}
.btn--outline:hover {
  background: var(--navy-800);
  color: var(--white);
}
.btn .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.btn:hover .arrow { transform: translateX(4px); }

/* ========== Header / Navigation ========== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(11, 30, 63, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s ease;
}
.header.scrolled {
  background: rgba(11, 30, 63, 0.98);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.nav__logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  display: grid;
  place-items: center;
  font-style: italic;
  font-weight: 800;
  color: var(--navy-900);
  font-size: 1.2rem;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav__links a {
  display: inline-block;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  border-radius: 6px;
  transition: all 0.2s ease;
}
.nav__links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav__links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav__cta {
  margin-left: 16px;
  padding: 10px 20px !important;
  background: var(--orange-600);
  color: var(--white) !important;
  font-weight: 600;
}
.nav__cta:hover { background: var(--amber-600) !important; }
.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  color: var(--white);
  font-size: 1.4rem;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-900);
  padding: calc(var(--header-h) + 60px) 0 80px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(11, 30, 63, 0.92) 0%, rgba(11, 30, 63, 0.7) 60%, rgba(234, 88, 12, 0.4) 100%),
    url('https://images.unsplash.com/photo-1565793298595-6a879b1d9492?w=1920&q=80&auto=format');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 999px;
  color: var(--amber-400);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__eyebrow::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber-400);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.1); }
}
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--amber-400), var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: 1.2rem;
  max-width: 680px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
}
.hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.4);
  margin: 12px auto 0;
  animation: scrollHint 2s infinite;
}
@keyframes scrollHint {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Sub-page hero */
.page-hero {
  background: var(--navy-900);
  color: var(--white);
  padding: calc(var(--header-h) + 80px) 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(245, 158, 11, 0.18), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(234, 88, 12, 0.12), transparent 50%);
}
.page-hero__inner { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { color: var(--white); margin-bottom: 20px; }
.page-hero p { font-size: 1.15rem; color: rgba(255,255,255,0.78); }
.page-hero .breadcrumbs {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.page-hero .breadcrumbs a:hover { color: var(--amber-400); }

/* ========== Stat cards ========== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: -80px;
  position: relative;
  z-index: 5;
}
.stat {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  display: block;
}
.stat__label {
  font-size: 0.85rem;
  color: var(--text-500);
  font-weight: 500;
}

/* ========== Cards ========== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 24px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-500); font-size: 0.96rem; }

/* Subsidiary card variant */
.sub-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}
.sub-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.sub-card__media {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.sub-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 30, 63, 0.75) 100%);
}
.sub-card__badge {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--amber-500);
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 2;
}
.sub-card__media-title {
  position: absolute;
  bottom: 18px; left: 24px; right: 24px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  z-index: 2;
}
.sub-card__body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sub-card__body p { color: var(--text-500); margin-bottom: 20px; }
.sub-card__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 16px 0 24px;
  padding: 16px;
  background: var(--bg-tint);
  border-radius: var(--radius-sm);
}
.sub-card__metric strong {
  display: block;
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}
.sub-card__metric span {
  font-size: 0.78rem;
  color: var(--text-500);
}
.sub-card__cta {
  margin-top: auto;
  color: var(--orange-600);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sub-card__cta::after {
  content: '→';
  transition: transform 0.2s ease;
}
.sub-card:hover .sub-card__cta::after { transform: translateX(4px); }

/* ========== Vertical Integration Diagram ========== */
.integration {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 20px;
  margin: 60px 0;
}
.integration__step {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: all 0.3s ease;
}
.integration__step:hover {
  border-color: var(--amber-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.integration__step--accent {
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  color: var(--white);
  border-color: transparent;
}
.integration__step--accent h4 { color: var(--white); }
.integration__step--accent p, .integration__step--accent li { color: rgba(255,255,255,0.92); }
.integration__step--dark {
  background: var(--navy-800);
  color: var(--white);
  border-color: transparent;
}
.integration__step--dark h4 { color: var(--white); }
.integration__step--dark p, .integration__step--dark li { color: rgba(255,255,255,0.85); }
.integration__step h4 {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.85;
}
.integration__step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.integration__step ul {
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.7;
}
.integration__step ul li::before {
  content: '▸ ';
  color: currentColor;
  opacity: 0.6;
  margin-right: 4px;
}
.integration__arrow {
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--amber-500);
}

/* ========== Value props ========== */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value {
  text-align: left;
  padding: 8px 0;
}
.value__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--amber-500);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

/* ========== Team grid ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team-member {
  text-align: center;
}
.team-member__avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  display: grid;
  place-items: center;
  color: var(--amber-400);
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 18px;
  overflow: hidden;
  transition: transform 0.35s ease;
}
.team-member:hover .team-member__avatar { transform: scale(1.03); }
.team-member__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-900);
  margin-bottom: 4px;
}
.team-member__role {
  font-size: 0.88rem;
  color: var(--amber-600);
  font-weight: 600;
  margin-bottom: 10px;
}
.team-member__bio {
  font-size: 0.88rem;
  color: var(--text-500);
  line-height: 1.55;
}

/* ========== News cards ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.news-card__img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.news-card__body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card__meta {
  font-size: 0.78rem;
  color: var(--text-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.news-card__meta .tag {
  color: var(--amber-600);
  font-weight: 700;
}
.news-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.news-card p { color: var(--text-500); font-size: 0.92rem; margin-bottom: 16px; }
.news-card__link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--orange-600);
}
.news-card__link::after { content: ' →'; transition: padding 0.2s; }
.news-card:hover .news-card__link::after { padding-left: 4px; }

/* ========== Feature row ========== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row--reverse > div:first-child { order: 2; }
.feature-row__media {
  height: 460px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.feature-row__copy h2 { margin-bottom: 20px; }
.feature-row__copy p { font-size: 1.05rem; margin-bottom: 16px; }
.feature-row__copy ul {
  margin-top: 24px;
  list-style: none;
}
.feature-row__copy ul li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: var(--text-700);
}
.feature-row__copy ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--amber-500);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* ========== Investment / KPI strip ========== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.kpi {
  background: var(--navy-800);
  color: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}
.kpi:hover {
  border-color: var(--amber-500);
  transform: translateY(-4px);
}
.kpi__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--amber-400);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 6px;
}
.kpi__label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* ========== Contact / Form ========== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info {
  background: var(--navy-900);
  color: var(--white);
  padding: 48px 40px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25), transparent 70%);
}
.contact-info h2 { color: var(--white); margin-bottom: 14px; }
.contact-info p { color: rgba(255,255,255,0.75); margin-bottom: 36px; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-item__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-400);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item__body strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-item__body span, .contact-item__body a {
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
}
.contact-item__body a:hover { color: var(--amber-400); }

.form {
  background: var(--white);
  padding: 44px 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.form h3 { margin-bottom: 24px; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form__field { margin-bottom: 20px; }
.form__field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-900);
  margin-bottom: 8px;
}
.form__field input,
.form__field textarea,
.form__field select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-900);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
  outline: none;
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}
.form__field textarea {
  resize: vertical;
  min-height: 130px;
  font-family: inherit;
}
.form__submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px 28px;
  font-size: 1rem;
  justify-content: center;
}
.form__note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-500);
  text-align: center;
}

/* ========== Footer ========== */
.footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.15rem;
}
.footer__brand p { color: rgba(255,255,255,0.6); margin-bottom: 20px; max-width: 360px; font-size: 0.92rem; }
.footer__col h5 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul a {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer__col ul a:hover { color: var(--amber-400); }
.footer__bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom a { color: rgba(255,255,255,0.6); }
.footer__bottom a:hover { color: var(--amber-400); }

/* ========== Reveal animation (graceful degradation: visible by default) ========== */
.reveal {
  transition: opacity 0.7s ease, transform 0.7s ease;
}
/* Only hide-then-reveal when JS marks the page as ready for animations */
.js-reveals .reveal {
  opacity: 0;
  transform: translateY(28px);
}
.js-reveals .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== CTA banner ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25), transparent 70%);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.2), transparent 70%);
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 28px; font-size: 1.1rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ========== Risk / Mitigant list ========== */
.risk-list { list-style: none; }
.risk-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.risk-item:last-child { border-bottom: none; }
.risk-item__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--navy-900);
  font-size: 0.95rem;
}
.risk-item__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--amber-500);
  flex-shrink: 0;
}
.risk-item:nth-child(even) .risk-item__dot { background: var(--navy-700); }
.risk-item__body {
  color: var(--text-700);
  font-size: 0.95rem;
}

/* ========== Tabs ========== */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
  overflow-x: auto;
}
.tab {
  padding: 14px 22px;
  font-weight: 600;
  color: var(--text-500);
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.tab.active {
  color: var(--navy-900);
  border-color: var(--amber-500);
}
.tab:hover { color: var(--navy-800); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== Toast ========== */
.toast {
  position: fixed;
  bottom: 30px; right: 30px;
  background: var(--navy-900);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: none;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  border-left: 4px solid var(--amber-500);
  max-width: 360px;
}
.toast.show { display: flex; animation: slideIn 0.3s ease; }
@keyframes slideIn {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .grid--4, .team-grid, .kpi-grid, .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .values, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .integration { grid-template-columns: 1fr; }
  .integration__arrow { transform: rotate(90deg); }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row--reverse > div:first-child { order: 0; }
  .feature-row__media { height: 320px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .risk-item { grid-template-columns: 1fr; gap: 6px; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .nav__links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--navy-900);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 14px 16px; border-radius: 8px; }
  .nav__cta { margin-left: 0; margin-top: 8px; }
  .nav__toggle { display: grid; place-items: center; }

  .grid--4, .grid--3, .grid--2, .values, .news-grid,
  .team-grid, .kpi-grid, .stats-bar, .footer__top { grid-template-columns: 1fr; }
  .stat { border-right: none !important; }
  .form__row { grid-tem