/* ==========================================================================
   REAL MAX PROPERTIES & MINING LIMITED — CORPORATE WEBSITE STYLESHEET (v4)
   Domain: https://realmaxpropertiesandmining.com
   ========================================================================== */

:root {
  --forest-950: #091c14;
  --forest-900: #0f291e;
  --forest-800: #1b4332;
  --forest-700: #245741;
  --lime-700:   #4d7c0f;
  --lime-600:   #65a30d;
  --lime-500:   #84cc16;
  --lime-400:   #a3e635;
  --lime-100:   #ecfccb;
  --lime-50:    #f7fee7;
  --gold-600:   #d97706;
  --gold-500:   #f59e0b;
  --gold-100:   #fef3c7;
  --slate-950:  #090d16;
  --slate-900:  #0f172a;
  --slate-800:  #1e293b;
  --slate-700:  #334155;
  --slate-600:  #475569;
  --slate-500:  #64748b;
  --slate-300:  #cbd5e1;
  --slate-200:  #e2e8f0;
  --slate-100:  #f1f5f9;
  --slate-50:   #f8fafc;
  --white:      #ffffff;

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  24px;

  --shadow-sm:  0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md:  0 10px 28px rgba(15, 23, 42, 0.08);
  --shadow-lg:  0 20px 48px rgba(15, 23, 42, 0.14);
  --shadow-glow: 0 10px 30px rgba(101, 163, 13, 0.25);

  --container: 1240px;
  --transition: 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--slate-800);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

svg {
  flex-shrink: 0;
}

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
}

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

/* ==========================================================================
   TYPOGRAPHY & UTILITY BADGES
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime-700);
  background: var(--lime-100);
  border: 1px solid rgba(101, 163, 13, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.eyebrow.dark {
  color: var(--lime-400);
  background: rgba(132, 204, 22, 0.14);
  border-color: rgba(163, 230, 53, 0.3);
}

.eyebrow.gold {
  color: #92400e;
  background: var(--gold-100);
  border-color: rgba(217, 119, 6, 0.3);
}

.section-header {
  max-width: 740px;
  margin-bottom: 48px;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--slate-900);
  margin-bottom: 14px;
}

.section-title.light {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.06rem;
  color: var(--slate-600);
  line-height: 1.7;
}

.section-subtitle.light {
  color: #cbd5e1;
}

.section {
  padding: 92px 0;
}

.section-alt {
  background-color: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-dark {
  background: linear-gradient(145deg, var(--forest-950) 0%, var(--forest-900) 60%, #133325 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   BUTTONS & MASKED CONTACT SYMBOLS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--lime-600), var(--lime-700));
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--lime-500), var(--lime-600));
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(101, 163, 13, 0.35);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--slate-950);
  box-shadow: 0 10px 26px rgba(217, 119, 6, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--lime-400);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: var(--white);
  color: var(--forest-900);
  border-color: var(--slate-300);
}

.btn-outline-dark:hover {
  border-color: var(--lime-600);
  color: var(--lime-700);
  background: var(--lime-50);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.85rem;
}

/* Masked Call & WhatsApp Symbol Links (Strictly Bounded Sizing) */
.masked-comms {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.comm-symbol-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: transform var(--transition), filter var(--transition);
}

.comm-symbol-link svg {
  width: 17px;
  height: 17px;
}

.comm-symbol-link.call {
  background: rgba(132, 204, 22, 0.18);
  color: var(--lime-400);
  border: 1px solid rgba(163, 230, 53, 0.4);
}

.comm-symbol-link.whatsapp {
  background: #25D366;
  color: var(--white);
}

.comm-symbol-link.topbar-size {
  width: 26px;
  height: 26px;
}

.comm-symbol-link.topbar-size svg {
  width: 13px;
  height: 13px;
}

.comm-symbol-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

/* ==========================================================================
   TOP BAR & STICKY NAVIGATION
   ========================================================================== */
.topbar {
  background-color: var(--forest-950);
  color: #cbd5e1;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  white-space: nowrap;
  transition: color var(--transition);
}

.topbar-item:hover {
  color: var(--lime-400);
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  color: var(--lime-400);
}

.topbar-profile-link {
  color: var(--lime-400);
  font-weight: 600;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--forest-950);
  line-height: 1.15;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime-700);
  margin-top: 2px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
}

.nav-links li {
  white-space: nowrap;
}

.nav-links a {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-700);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2.5px;
  background: var(--lime-600);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--forest-900);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--slate-800);
}

.mobile-menu {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  padding: 16px 24px 24px;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.mobile-menu a {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--slate-800);
  padding: 6px 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 82% 22%, rgba(132, 204, 22, 0.16), transparent 45%),
              linear-gradient(135deg, var(--forest-950) 0%, var(--forest-900) 58%, #163a2b 100%);
  color: var(--white);
  padding: 76px 0 88px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--lime-600), var(--lime-400), var(--gold-500));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 52px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.2rem, 4.1vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-title .accent {
  color: var(--lime-400);
}

.hero-title .gold {
  color: var(--gold-500);
}

.hero-lead {
  font-size: 1.08rem;
  color: #d1fae5;
  opacity: 0.92;
  margin-bottom: 28px;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-cta-group .btn {
  padding: 12px 18px;
  font-size: 0.9rem;
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #e2e8f0;
  font-weight: 500;
}

.trust-pill svg {
  width: 17px;
  height: 17px;
  color: var(--lime-400);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
}

.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid rgba(163, 230, 53, 0.35);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  background: var(--forest-800);
}

.hero-photo-frame img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: center top;
}

.hero-photo-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(9, 28, 20, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(163, 230, 53, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-photo-badge strong {
  display: block;
  font-size: 0.92rem;
  color: var(--white);
}

.hero-photo-badge span {
  font-size: 0.78rem;
  color: var(--lime-400);
}

.hero-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime-400);
  box-shadow: 0 0 0 5px rgba(163, 230, 53, 0.22);
  flex-shrink: 0;
}

/* KPI STATS BAR */
.stats-strip {
  position: relative;
  z-index: 10;
  margin-top: -42px;
  margin-bottom: 12px;
}

.stats-grid {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-200);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.stat-item {
  padding: 26px 24px;
  border-right: 1px solid var(--slate-200);
  text-align: center;
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--forest-900);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stat-value span {
  color: var(--lime-600);
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-600);
  margin-top: 6px;
}

/* ==========================================================================
   ABOUT, MISSION/VISION & LEADERSHIP
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: start;
}

.mv-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.mv-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--lime-600);
  border-radius: var(--radius-md);
  padding: 20px;
}

.mv-card.vision {
  border-left-color: var(--gold-600);
}

.mv-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--forest-900);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mv-card p {
  font-size: 0.9rem;
  color: var(--slate-600);
}

.leadership-card {
  background: linear-gradient(155deg, var(--forest-950), var(--forest-800));
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.leadership-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.leader-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime-500), var(--lime-700));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  border: 3px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.leadership-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}

.leadership-header span {
  display: block;
  font-size: 0.85rem;
  color: var(--lime-400);
  font-weight: 600;
}

.leadership-body p {
  font-size: 0.94rem;
  color: #e2e8f0;
  margin-bottom: 18px;
}

.team-disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.discipline-tag {
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 999px;
}

/* CORE VALUES STRIP */
.values-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--lime-500);
}

.value-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border-radius: 10px;
  background: var(--lime-50);
  color: var(--lime-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 6px;
}

.value-card p {
  font-size: 0.79rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* ==========================================================================
   CORE DIVISIONS & SPECIALIZATIONS (7 CARDS)
   ========================================================================== */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.division-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.division-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--lime-500);
}

.division-card.featured-mining {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background: linear-gradient(135deg, #11291f 0%, #1d3c2e 100%);
  color: var(--white);
  border: 2px solid rgba(245, 158, 11, 0.45);
}

.division-img {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--slate-900);
}

.division-card.featured-mining .division-img {
  height: 100%;
  min-height: 310px;
}

.division-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.division-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 41, 30, 0.88);
  color: var(--lime-400);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.division-tag.inline-tag {
  position: static;
  width: fit-content;
  margin-bottom: 14px;
}

.division-tag.mining {
  background: rgba(120, 53, 15, 0.92);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.5);
}

.division-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.division-card.featured-mining .division-body {
  padding: 34px;
  justify-content: center;
}

.division-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.division-card.featured-mining .division-body h3 {
  color: var(--white);
  font-size: 1.55rem;
}

.division-body p {
  font-size: 0.92rem;
  color: var(--slate-600);
  margin-bottom: 16px;
}

.division-card.featured-mining .division-body p {
  color: #e2e8f0;
}

.fleet-mini-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.fleet-mini-pills span {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--lime-50);
  color: var(--forest-900);
  border: 1px solid rgba(101, 163, 13, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
}

.check-list {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.division-card.featured-mining .check-list {
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--slate-700);
}

.division-card.featured-mining .check-list li {
  color: #f1f5f9;
}

.check-list li::before {
  content: '✓';
  font-weight: 900;
  color: var(--lime-600);
  flex-shrink: 0;
}

.division-card.featured-mining .check-list li::before {
  color: var(--gold-500);
}

.division-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ==========================================================================
   HEAVY EQUIPMENT PLANT POOL MATRIX (CLEAN, NO EXTRA PHOTO)
   ========================================================================== */
.fleet-banner {
  margin-top: 48px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.fleet-banner-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.fleet-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.fleet-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-top: 3px solid var(--lime-600);
  border-radius: var(--radius-md);
  padding: 18px;
}

.fleet-box h4 {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--forest-900);
  margin-bottom: 6px;
}

.fleet-box p {
  font-size: 0.84rem;
  color: var(--slate-600);
}

/* ==========================================================================
   DELIVERY MODEL & LOGISTICS FRAMEWORK (SECTION 6 OF PDF)
   ========================================================================== */
.delivery-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.phase-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.phase-tab {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.phase-tab.active,
.phase-tab:hover {
  background: var(--lime-500);
  border-color: var(--lime-400);
  color: var(--forest-950);
}

.phase-panel {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.phase-panel.active {
  display: block;
}

.phase-panel h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--lime-400);
}

.phase-panel p {
  font-size: 0.93rem;
  color: #cbd5e1;
  margin-bottom: 18px;
}

.phase-steps {
  display: grid;
  gap: 12px;
}

.phase-step {
  background: rgba(9, 28, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.phase-step strong {
  color: var(--white);
  font-size: 0.9rem;
  display: block;
}

.phase-step span {
  color: #cbd5e1;
  font-size: 0.83rem;
}

.supply-card {
  background: var(--white);
  color: var(--slate-800);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}

.supply-card img {
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  border: 1px solid var(--slate-200);
  width: 100%;
}

.supply-card h4 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--forest-900);
  margin-bottom: 10px;
}

.supply-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.supply-pills span {
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--lime-50);
  color: var(--forest-900);
  border: 1px solid rgba(101, 163, 13, 0.3);
  padding: 5px 11px;
  border-radius: 999px;
}

/* ==========================================================================
   PORTFOLIO & PROJECT SHOWCASE WITH FILTER
   ========================================================================== */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--slate-300);
  background: var(--white);
  color: var(--slate-700);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--forest-900);
  border-color: var(--forest-900);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.project-card.hidden {
  display: none;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--lime-600);
}

.project-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--slate-900);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.06);
}

.project-cat {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.86);
  color: var(--lime-400);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 6px;
}

.project-info p {
  font-size: 0.86rem;
  color: var(--slate-600);
}

/* ==========================================================================
   CLIENTELE, INSTITUTIONS & NATIONAL DEVELOPMENT IMPACT
   ========================================================================== */
.institutions-wrap {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 48px;
}

.institutions-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.institutions-seal {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.institutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.inst-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--slate-800);
}

.inst-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-600);
  flex-shrink: 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: center;
}

.impact-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 2px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  background: var(--white);
  padding: 10px;
}

.impact-photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.impact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

.impact-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px;
}

.impact-card h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--forest-900);
  margin-bottom: 6px;
}

.impact-card p {
  font-size: 0.86rem;
  color: var(--slate-600);
}

/* ==========================================================================
   CONTACT & PROJECT TENDER QUOTE SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 44px;
  align-items: start;
}

.contact-panel {
  background: linear-gradient(155deg, var(--forest-950), var(--forest-900));
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.contact-panel h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.contact-panel > p {
  font-size: 0.92rem;
  color: #cbd5e1;
  margin-bottom: 26px;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(132, 204, 22, 0.16);
  color: var(--lime-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lime-400);
}

.contact-item span,
.contact-item a.text-link {
  font-size: 0.94rem;
  color: var(--white);
  word-break: break-word;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 6px;
}

.contact-form-card > p {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin-bottom: 24px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--slate-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  color: var(--slate-900);
  background: var(--slate-50);
  transition: border-color var(--transition), background var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--lime-600);
  background: var(--white);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.form-status.success {
  display: block;
  background: var(--lime-50);
  border: 1px solid var(--lime-600);
  color: var(--forest-900);
}

.form-status.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #ef4444;
  color: #991b1b;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--forest-950);
  color: #cbd5e1;
  padding: 68px 0 28px;
  border-top: 4px solid var(--lime-600);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  font-size: 0.88rem;
  margin-top: 14px;
  color: #94a3b8;
  max-width: 340px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer ul {
  display: grid;
  gap: 9px;
}

.footer ul a {
  font-size: 0.87rem;
  color: #94a3b8;
  transition: color var(--transition);
}

.footer ul a:hover {
  color: var(--lime-400);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #94a3b8;
}

/* ==========================================================================
   MODAL LIGHTBOX FOR PROJECT DETAILS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(9, 13, 22, 0.78);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.8);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 5;
}

.modal-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.modal-content {
  padding: 28px;
}

.modal-content h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--forest-900);
  margin: 8px 0 12px;
}

.modal-content p {
  font-size: 0.94rem;
  color: var(--slate-600);
  margin-bottom: 18px;
}

/* SUBTLE BACK TO TOP ONLY */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 950;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--slate-300);
  background: var(--white);
  color: var(--forest-900);
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: none;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  display: flex;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1160px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .hero-grid,
  .about-grid,
  .delivery-layout,
  .impact-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .divisions-grid,
  .fleet-categories {
    grid-template-columns: repeat(2, 1fr);
  }
  .division-card.featured-mining {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    display: none;
  }
  .nav-actions .btn {
    display: none;
  }
  .navbar-inner {
    height: 68px;
    gap: 12px;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .brand-name {
    font-size: 0.94rem;
  }
  .section {
    padding: 64px 0;
  }
  .btn {
    white-space: normal;
    text-align: center;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat-item {
    min-width: 0;
    padding: 18px 10px;
  }
  .stat-value {
    font-size: 1.65rem;
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid var(--slate-200);
  }
  .contact-panel,
  .contact-form-card {
    min-width: 0;
    padding: 24px 18px;
  }
  .mv-cards,
  .divisions-grid,
  .portfolio-grid,
  .institutions-grid,
  .impact-cards,
  .fleet-categories,
  .form-grid,
  .division-card.featured-mining .check-list {
    grid-template-columns: 1fr;
  }
  .division-card.featured-mining,
  .form-group.full {
    grid-column: span 1;
  }
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-photo-frame img {
    height: 290px;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 0 16px;
  }
  .brand {
    gap: 8px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .brand-name {
    font-size: 0.85rem;
  }
}


/* v5 Official Emblem & Sharp Infographic / Contact Refinements */
.brand-logo-icon {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
  padding: 2px 5px;
  flex-shrink: 0;
}
.supply-card img {
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  background: #ffffff;
}
.impact-photo img {
  width: 100%;
  height: auto !important;
  display: block;
  object-fit: contain !important;
}
.institutions-seal {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  flex-shrink: 0;
}
.comm-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}
.comm-pill:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}
.comm-pill.call {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.26);
}
.comm-pill.whatsapp {
  background: #16a34a;
  color: #ffffff;
  border: 1px solid rgba(163, 230, 53, 0.45);
}
.comm-pill.topbar-pill {
  padding: 3px 9px;
  font-size: 0.76rem;
}

.topbar-inner {
  gap: 12px !important;
}
.topbar-left, .topbar-right {
  gap: 12px !important;
}
.topbar-item {
  font-size: 0.77rem !important;
}


/* ==========================================================================
   v6 CRISP IMAGE RENDERING, NAVBAR WITH INSIGHTS, NEWSLETTER & GALLERY
   ========================================================================== */
.division-img img,
.project-thumb img,
.gallery-card-thumb img,
.newsletter-cover-wrap img,
.insight-article-thumb img {
  image-rendering: -webkit-optimize-contrast;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.nav-links {
  gap: 18px !important;
  flex-wrap: nowrap !important;
}
.nav-links a {
  font-size: 0.875rem !important;
  white-space: nowrap !important;
}
.nav-links a.active-nav {
  color: var(--lime-700) !important;
  background: var(--lime-50);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(101, 163, 13, 0.35);
}

@media (max-width: 1180px) {
  .nav-links {
    display: none !important;
  }
  .mobile-toggle {
    display: inline-flex !important;
  }
}

/* Page Sub-Hero for Insights */
.subpage-hero {
  background: radial-gradient(circle at 80% 20%, rgba(132, 204, 22, 0.16), transparent 45%),
              linear-gradient(145deg, var(--forest-950) 0%, var(--forest-900) 60%, #143628 100%);
  color: var(--white);
  padding: 64px 0 72px;
  border-bottom: 4px solid var(--gold-500);
}
.subpage-hero h1 {
  font-size: clamp(2rem, 3.6vw, 2.95rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 14px 0 16px;
  max-width: 820px;
}
.subpage-hero p {
  font-size: 1.04rem;
  color: #cbd5e1;
  max-width: 700px;
  line-height: 1.65;
}
.subpage-quick-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* Featured Newsletter Card */
.newsletter-feature-box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.newsletter-top-banner {
  background: linear-gradient(90deg, var(--forest-950), var(--forest-800));
  color: var(--white);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 3px solid var(--lime-500);
}
.newsletter-edition-badge {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  color: var(--lime-400);
  text-transform: uppercase;
}
.newsletter-date-pill {
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 12px;
  border-radius: 999px;
}
.newsletter-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  padding: 36px;
  align-items: start;
}
.newsletter-cover-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  background: var(--slate-900);
}
.newsletter-cover-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.newsletter-cover-caption {
  padding: 12px 16px;
  background: var(--slate-50);
  font-size: 0.82rem;
  color: var(--slate-600);
  border-top: 1px solid var(--slate-200);
}
.newsletter-highlights-box {
  margin-top: 22px;
  background: #f7fee7;
  border: 1px solid rgba(101, 163, 13, 0.32);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.newsletter-highlights-box h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--forest-900);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.newsletter-content h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 12px;
}
.newsletter-lead {
  font-size: 1rem;
  font-weight: 600;
  color: var(--forest-800);
  margin-bottom: 18px;
  line-height: 1.55;
}
.newsletter-body p {
  font-size: 0.93rem;
  color: var(--slate-700);
  line-height: 1.72;
  margin-bottom: 14px;
}
.newsletter-signoff {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.newsletter-signoff strong {
  display: block;
  font-size: 0.98rem;
  color: var(--forest-950);
}
.newsletter-signoff span {
  font-size: 0.83rem;
  color: var(--slate-600);
}

/* Newsletter Email Signup Strip */
.subscribe-strip {
  margin-top: 32px;
  background: linear-gradient(135deg, var(--forest-950), var(--forest-900));
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 30px 36px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.subscribe-form-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.subscribe-form-row input {
  flex: 1 1 180px;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.96);
  color: var(--slate-900);
  font-size: 0.9rem;
}

/* Insights Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.insight-article-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.insight-article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--lime-600);
}
.insight-article-thumb {
  height: 215px;
  overflow: hidden;
  position: relative;
  background: var(--slate-900);
}
.insight-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.insight-article-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--slate-500);
  font-weight: 600;
  margin-bottom: 10px;
}
.insight-article-body h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.35;
  margin-bottom: 10px;
}
.insight-article-body p {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

/* Interactive Project Image Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition);
}
.gallery-card.hidden {
  display: none;
}
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--lime-600);
}
.gallery-card-thumb {
  height: 205px;
  overflow: hidden;
  position: relative;
  background: var(--slate-900);
}
.gallery-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-card:hover .gallery-card-thumb img {
  transform: scale(1.05);
}
.gallery-card-body {
  padding: 14px 16px;
}
.gallery-card-body h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.35;
  margin-bottom: 5px;
}
.gallery-card-body span {
  font-size: 0.78rem;
  color: var(--slate-500);
  font-weight: 600;
}

/* Lightbox Nav Controls */
.lightbox-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--slate-200);
}

/* Home Page Insights Preview Banner */
.home-insights-strip {
  background: linear-gradient(135deg, var(--forest-950), #153829);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(163, 230, 53, 0.28);
}
.home-insights-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.home-insights-thumbs img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, 0.22);
}

@media (max-width: 1024px) {
  .newsletter-grid,
  .subscribe-strip,
  .home-insights-strip {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .newsletter-grid {
    padding: 20px;
  }
  .subscribe-strip,
  .home-insights-strip {
    padding: 24px 20px;
  }
  .articles-grid,
  .gallery-grid,
  .home-insights-thumbs {
    grid-template-columns: 1fr;
  }
}


/* v7 Real Photograph Site Preparation Box */
.site-prep-real-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  background: #fff6ec;
}
.site-prep-real-header {
  background: #1b3a66;
  color: #ffffff;
  text-align: center;
  padding: 13px 16px;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.25;
}
.site-prep-real-photo {
  position: relative;
  background: var(--slate-900);
  border-bottom: 3px solid var(--lime-500);
}
.site-prep-real-photo img {
  width: 100% !important;
  height: 245px !important;
  object-fit: cover !important;
  object-position: center 42% !important;
  display: block !important;
  margin-bottom: 0 !important;
  border: none !important;
  border-radius: 0 !important;
}
.site-prep-steps-list {
  list-style: none;
  margin: 0;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  background: #fff6ec;
}
.site-prep-steps-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
}
.site-prep-num {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #1b3a66;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
