/* ===== DEEPSTRATA MINING CONSULTANCY - REDESIGN ===== */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --gold: #c9972f;
  --gold-dark: #d7a83c;
  --gold-light: #f0c86a;
  --black: #050806;
  --dark: #0b1311;
  --dark-2: #111d19;
  --dark-3: #182720;
  --gray: #95a39c;
  --light-gray: #d8dfd9;
  --white: #fffaf2;
  --ink: #f8f2e4;
  --muted: #a9b6ae;
  --line: rgba(255, 250, 242, 0.12);
  --line-dark: rgba(255, 250, 242, 0.16);
  --font-display: 'Barlow', sans-serif;
  --font-condensed: 'Barlow', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow: 0 24px 70px rgba(8, 16, 14, 0.16);
  --radius: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 250, 242, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 242, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
strong { font-weight: 800; }

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all 0.3s ease;
}

.header-inner {
  width: min(calc(100% - 40px), 1280px);
  height: 74px;
  margin: 0 auto;
  padding: 0 12px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(11, 19, 17, 0.86);
  border: 1px solid rgba(255, 250, 242, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(8, 16, 14, 0.14);
  backdrop-filter: blur(18px);
}

header.scrolled .header-inner {
  height: 66px;
  background: rgba(5, 8, 6, 0.94);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo img {
  width: auto;
  height: 50px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text .company {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: var(--ink);
}

.logo-text .tagline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 4px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

nav a,
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: var(--radius);
  color: var(--light-gray);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  transition: all 0.22s ease;
  white-space: nowrap;
  border: 0;
  background: transparent;
}

nav a:hover,
nav a.active,
.dropdown-toggle:hover,
.dropdown-toggle.active {
  background: rgba(255, 250, 242, 0.1);
  color: var(--white);
}

.dropdown { position: relative; }

.dropdown-toggle {
  cursor: pointer;
  gap: 8px;
}

.dropdown-toggle::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--gold-dark);
  border-bottom: 2px solid var(--gold-dark);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
}

.dropdown:hover .dropdown-toggle::after,
.dropdown.open .dropdown-toggle::after {
  transform: rotate(225deg) translateY(-1px);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 620px;
  padding: 10px;
  background: rgba(12, 21, 18, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
  z-index: 100;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.dropdown-menu a {
  display: grid;
  justify-content: stretch;
  gap: 5px;
  width: 100%;
  min-height: auto;
  padding: 18px;
  color: var(--light-gray);
}

.dropdown-menu a:hover {
  background: rgba(201, 151, 47, 0.14);
  color: var(--white);
}

.dropdown-menu a span {
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.dropdown-menu a small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
  white-space: normal;
}

.dropdown-menu a:hover small {
  color: rgba(255, 250, 242, 0.72);
}

.header-cta {
  background: var(--gold) !important;
  color: var(--black) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 242, 0.08);
}

.header-cta:hover,
.header-cta.active {
  background: var(--gold-light) !important;
  color: var(--black) !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: var(--dark);
  border: 0;
  border-radius: var(--radius);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== SHARED ELEMENTS ===== */
section { padding: 96px 0; }

.section-inner {
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
  padding: 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.section-label::before {
  content: '';
  display: block;
  width: 34px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-subtitle {
  max-width: 660px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.btn-primary,
.btn-secondary,
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 12px 26px rgba(201, 151, 47, 0.24);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 250, 242, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 250, 242, 0.3);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  white-space: nowrap;
}

.btn-dark:hover {
  background: var(--black);
  color: var(--gold-light);
}

/* ===== HERO ===== */
.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: var(--black);
  padding: 0;
}

.hero-slider,
.hero-slide,
.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-slide,
.hero-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: saturate(0.85) contrast(1.06);
}

.hero-slide {
  opacity: 0;
  transition: opacity 1s ease, transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 16, 14, 0.94) 0%, rgba(8, 16, 14, 0.78) 42%, rgba(8, 16, 14, 0.2) 100%),
    linear-gradient(0deg, rgba(8, 16, 14, 0.86) 0%, rgba(8, 16, 14, 0.02) 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
  padding: 150px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 710px) minmax(240px, 1fr);
  gap: 56px;
  align-items: end;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

.hero-eyebrow,
.hero h1,
.hero p,
.hero-actions {
  grid-column: 1;
}

.hero-eyebrow::before {
  content: '';
  width: 42px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(54px, 6vw, 128px);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: 0;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.hero h1 span { color: var(--gold-light); }

.hero p {
  max-width: 620px;
  color: rgba(255, 250, 242, 0.82);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.8;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-dots {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
}

.hero-dots button {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.32);
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-dots button.active {
  width: 54px;
  background: var(--gold-light);
}

.hero-stats {
  align-self: end;
  grid-column: 2;
  grid-row: 1 / span 4;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  position: static;
}

.stat-item {
  padding: 18px 20px;
  background: rgba(255, 250, 242, 0.1);
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: var(--radius);
  text-align: left;
  backdrop-filter: blur(14px);
}

.stat-num {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  color: rgba(255, 250, 242, 0.68);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 154px 0 72px;
  background: var(--dark);
  border-bottom: 0;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 16, 14, 0.92), rgba(8, 16, 14, 0.62)),
    url('../images/open-pit.jpg') center/cover;
  opacity: 0.9;
}

.page-hero::after {
  content: attr(data-title);
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: -24px;
  color: rgba(255, 250, 242, 0.07);
  font-family: var(--font-display);
  font-size: clamp(82px, 16vw, 190px);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: 0;
  pointer-events: none;
  white-space: nowrap;
}

.page-hero .section-inner {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 760px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(46px, 7vw, 92px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: 0;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.page-hero h1 span { color: var(--gold-light) !important; }

.page-hero p { color: rgba(255, 250, 242, 0.76) !important; }

.page-hero .breadcrumb {
  margin-bottom: 22px;
  color: rgba(255, 250, 242, 0.62);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.page-hero .breadcrumb a { color: var(--gold-light); }
.page-hero .breadcrumb span { margin: 0 8px; }

/* ===== CONTENT REDESIGN HELPERS ===== */
section[style*="background:var(--dark-2)"],
section[style*="background: var(--dark-2)"],
.features-section,
.contact-section {
  background: var(--dark-2) !important;
}

section[style*="background:var(--dark)"],
section[style*="background: var(--dark)"] {
  background: var(--dark) !important;
}

section[style*="background:var(--dark)"] .section-title,
section[style*="background: var(--dark)"] .section-title,
section[style*="background:var(--dark)"] p,
section[style*="background: var(--dark)"] p {
  color: var(--white) !important;
}

p[style],
li[style],
div[style*="font-size:13px"],
div[style*="font-size:15px"] {
  color: var(--muted) !important;
}

section[style*="background:var(--dark)"] p,
section[style*="background: var(--dark)"] p,
section[style*="background:var(--dark)"] p[style],
section[style*="background: var(--dark)"] p[style] {
  color: rgba(255, 250, 242, 0.76) !important;
}

strong[style],
em,
h3[style],
h4[style] {
  color: inherit !important;
}

img[style*="height:480px"],
img[style*="height:500px"],
img[style*="height:460px"] {
  min-height: 360px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

blockquote {
  border-radius: var(--radius);
  background: rgba(201, 151, 47, 0.08);
}

/* ===== CARDS AND GRIDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 54px;
}

.service-card,
.feature-item,
.team-card,
.gate-card,
div[style*="background:var(--dark-2)"],
div[style*="background:var(--dark-3)"] {
  background: rgba(24, 39, 32, 0.92) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.service-card {
  min-height: 286px;
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: auto 24px 0;
  height: 4px;
  border-radius: 10px 10px 0 0;
  background: var(--gold);
  transform: scaleX(0.34);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

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

.service-icon,
.feature-icon,
.contact-info-icon,
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--gold-light);
  font-size: 0 !important;
  line-height: 1;
  flex: 0 0 auto;
}

.service-icon::before,
.feature-icon::before,
.contact-info-icon::before,
.contact-icon::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  transform: rotate(45deg);
}

.service-card h3,
.feature-item h3,
.team-info h3,
.gate-card h3,
.value-content h4 {
  color: var(--ink) !important;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.service-card p,
.feature-item p,
.team-bio,
.value-content p,
.gate-list li {
  color: var(--muted) !important;
  font-size: 13px;
  line-height: 1.75;
}

.service-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 54px;
}

.feature-item {
  padding: 30px;
  transition: all 0.25s ease;
}

.feature-item:hover { transform: translateY(-4px); }

.split-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: center;
}

.split-image {
  position: relative;
  height: min(56vw, 560px);
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.split-image::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(to top, rgba(8, 16, 14, 0.52), transparent);
}

.values-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 42px;
}

.values-list li {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  padding: 24px;
  background: rgba(24, 39, 32, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.values-list li:first-child { border-top: 1px solid var(--line); }

.value-num,
.gate-num {
  color: rgba(201, 151, 47, 0.24);
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  line-height: 0.9;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 50px;
}

.team-card {
  overflow: hidden;
  transition: all 0.25s ease;
}

.team-card:hover { transform: translateY(-5px); }

.team-img {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: #d7d6ca;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.82);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.team-card:hover .team-img img {
  transform: scale(1.035);
  filter: saturate(1);
}

.team-info {
  padding: 24px;
  border-top: 4px solid var(--gold);
}

.team-role {
  margin-bottom: 14px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

/* ===== PROTOCOL / TABLES ===== */
.gates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 50px;
}

.gate-card {
  position: relative;
  padding: 36px;
  overflow: hidden;
}

.gate-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 80px;
  opacity: 0.8;
}

.gate-subtitle {
  color: var(--gold-dark) !important;
  font-size: 13px;
  font-style: italic;
  margin-bottom: 18px;
}

.gate-list {
  list-style: none;
  display: grid;
  gap: 0;
}

.gate-list li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.gate-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  margin-top: 8px;
  flex: 0 0 auto;
  background: var(--gold);
  transform: rotate(45deg);
}

.rag-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 38px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.rag-table th {
  background: var(--dark);
  color: var(--gold-light);
  padding: 16px 20px;
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.rag-table td {
  background: rgba(24, 39, 32, 0.94);
  color: var(--muted);
  padding: 18px 20px;
  font-size: 13px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.rag-green { color: #217a4b; font-weight: 800; }
.rag-amber { color: #b77715; font-weight: 800; }
.rag-red { color: #b43a36; font-weight: 800; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 70px;
  margin-top: 56px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-info-icon,
.contact-icon {
  margin-bottom: 0;
}

.contact-info-text h4,
.footer-col h4 {
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-info-text p,
.contact-info-text a {
  color: var(--muted);
  font-size: 14px;
}

.contact-info-text a:hover { color: var(--gold-dark); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: rgba(24, 39, 32, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: #52615c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 8, 6, 0.65);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: all 0.22s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 151, 47, 0.14);
}

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

iframe {
  border-radius: var(--radius);
}

/* ===== CTA / FOOTER ===== */
.cta-section {
  padding: 70px 0;
  background: var(--gold);
}

.cta-inner {
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta-text h2 {
  max-width: 780px;
  color: var(--black);
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cta-text p {
  color: rgba(8, 16, 14, 0.7) !important;
  font-size: 15px;
}

footer {
  padding: 72px 0 30px;
  background: var(--dark);
  color: var(--white);
}

.footer-inner {
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.7fr 1fr;
  gap: 46px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line-dark);
}

footer .logo-text .company { color: var(--white); }
footer .logo-text .tagline { color: var(--gold-light); }

.footer-desc,
.footer-contact-item p,
.footer-contact-item a,
.footer-col ul li a,
.footer-bottom {
  color: rgba(255, 250, 242, 0.66) !important;
}

.footer-desc {
  max-width: 330px;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.8;
}

.footer-motto {
  margin-top: 20px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white) !important; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding-top: 24px;
  font-size: 11px;
  letter-spacing: 0.8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1120px) {
  .services-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  nav a,
  .dropdown-toggle {
    padding: 0 9px;
    font-size: 11px;
  }
}

@media (max-width: 860px) {
  header { top: 10px; }

  .header-inner {
    width: min(calc(100% - 24px), 1180px);
    height: 66px;
    padding: 0 10px 0 14px;
  }

  .logo img { height: 44px; }
  .logo-text .company { font-size: 18px; }
  .logo-text .tagline { font-size: 9px; letter-spacing: 1.4px; }

  nav {
    display: none;
  }

  nav.open {
    position: fixed;
    top: 84px;
    left: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100svh - 100px);
    overflow-y: auto;
    padding: 12px;
    background: rgba(12, 21, 18, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 1200;
  }

  nav.open a,
  nav.open .dropdown-toggle {
    justify-content: space-between;
    min-height: 46px;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .dropdown-menu {
    position: static;
    display: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    min-width: 100%;
    margin: 4px 0 10px;
    box-shadow: none;
    background: rgba(255, 250, 242, 0.06);
  }

  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    transform: none;
  }

  .dropdown.open .dropdown-menu {
    display: grid;
    grid-template-columns: 1fr;
  }

  .menu-toggle { display: flex; }

  .hero-content {
    width: min(calc(100% - 32px), 1180px);
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 128px 0 42px;
  }

  .hero-stats {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat-item { padding: 16px 14px; }
  .stat-num { font-size: 38px; }

  .section-inner,
  .cta-inner,
  .footer-inner {
    width: min(calc(100% - 32px), 1180px);
  }

  .split-section,
  .contact-grid,
  .gates-grid,
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns:1.2fr 1fr"],
  div[style*="grid-template-columns:1.4fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  div[style*="grid-template-columns:repeat(4,1fr)"],
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  img[style*="height:480px"],
  img[style*="height:500px"],
  img[style*="height:460px"] {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  section { padding: 70px 0; }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-hero { padding: 128px 0 58px; }
  .page-hero::after { display: none; }

  .hero h1,
  .page-hero h1 {
    overflow-wrap: anywhere;
  }

  .header-inner {
    max-width: calc(100vw - 24px);
    gap: 8px;
    overflow: visible;
  }

  .logo { gap: 9px; }
  .logo {
    flex: 1 1 auto;
    min-width: 0;
  }
  .logo-text { min-width: 0; }
  .logo img { height: 38px; }
  .logo-text .company { font-size: 17px; letter-spacing: 1px; }
  .logo-text .tagline { font-size: 8px; letter-spacing: 1.2px; }
  .menu-toggle { flex: 0 0 44px; }

  .hero-content,
  .hero-content > * {
    min-width: 0;
    max-width: 100%;
  }

  .hero-eyebrow {
    display: block;
    gap: 8px;
    letter-spacing: 1.7px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  .hero-eyebrow::before {
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 54px);
  }

  .hero p {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .hero-actions a,
  .btn-primary,
  .btn-secondary,
  .btn-dark {
    width: 100%;
  }

  .hero-stats,
  .services-grid,
  .features-grid,
  .team-grid,
  .footer-grid,
  .form-row,
  div[style*="grid-template-columns:repeat(4,1fr)"],
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  .values-list li {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .team-img { height: 280px; }

  .contact-form { padding: 20px; }

  .rag-table,
  .rag-table thead,
  .rag-table tbody,
  .rag-table tr,
  .rag-table th,
  .rag-table td {
    display: block;
    width: 100%;
  }

  .rag-table thead { display: none; }

  .rag-table tr {
    margin-bottom: 14px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(8, 16, 14, 0.08);
  }

  .rag-table td {
    border-bottom: 1px solid var(--line);
  }

  .footer-bottom {
    flex-direction: column;
  }
}
