/* ========================================
   MGM Group Website V20
   Monochrome — Pure Black & White
   ======================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  /* Colors — Monochrome */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5F5F5;
  --bg-tertiary: #E8E8E8;
  --surface: #FFFFFF;

  --text-primary: #000000;
  --text-secondary: #222222;
  --text-tertiary: #555555;
  --text-muted: #888888;

  --accent-primary: #000000;
  --accent-secondary: #333333;
  --accent-tertiary: #666666;

  --border-light: rgba(0, 0, 0, 0.06);
  --border-medium: rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-2xl: 120px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Container */
  --container-max: 1320px;
  --container-padding: 24px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition-normal); }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; background: none; }

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

/* --- Section --- */
.section { padding: var(--space-xl) 0; }
.section-sm { padding: var(--space-lg) 0; }
.section-lg { padding: var(--space-2xl) 0; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: var(--space-sm);
}

.eyebrow-accent {
  color: var(--accent-primary);
}

.lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 720px;
}

.text-center { text-align: center; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  border: 1.5px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-primary);
  color: #fff;
}

.btn-primary:hover {
  background: #222;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-outline:hover {
  background: var(--text-primary);
  color: var(--surface);
}

.btn-lg { padding: 18px 40px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

.link {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.link:hover { gap: 10px; }

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--accent-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

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

.logo-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.logo-tagline {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* Navigation */
.nav-main {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-main > a {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}

.nav-main > a:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.nav-main > a.active {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.05);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-dropdown-toggle:hover {
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.nav-dropdown-toggle i { font-size: 10px; transition: var(--transition-fast); }
.nav-dropdown:hover .nav-dropdown-toggle i { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}

.nav-dropdown-menu a:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.nav-dropdown-menu a i {
  width: 18px;
  color: var(--text-tertiary);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta .btn {
  padding: 10px 24px;
  font-size: 14px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: var(--bg-secondary);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content { max-width: 600px; }

.hero h1 { margin-bottom: var(--space-md); }

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual { position: relative; }

.hero-image {
  width: 100%;
  height: 560px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image i {
  font-size: 100px;
  color: var(--text-muted);
  opacity: 0.3;
}

.hero-stats {
  position: absolute;
  bottom: -20px;
  left: -20px;
  display: flex;
  gap: 16px;
}

.hero-stat {
  background: var(--surface);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 110px;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-primary);
}

.hero-stat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
}

/* ========================================
   ABOUT
   ======================================== */
.about { background: var(--surface); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.about-image { position: relative; }

.about-img-main {
  width: 100%;
  height: 440px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-main i {
  font-size: 70px;
  color: var(--text-muted);
  opacity: 0.3;
}

.about-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--accent-primary);
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.about-badge-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
}

.about-badge-text {
  font-size: 12px;
  font-weight: 500;
}

.about-content h2 { margin-bottom: var(--space-sm); }

.about-desc {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.about-feature { display: flex; gap: 12px; }

.about-feature-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 18px;
  flex-shrink: 0;
}

.about-feature h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ========================================
   DIVISIONS
   ======================================== */
.divisions { background: var(--bg-primary); }

.divisions-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.divisions-header .lead { margin: 0 auto; }

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

.division-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-md) 16px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.division-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-primary);
}

.division-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-primary);
  transition: var(--transition-normal);
}

.division-card:hover .division-icon {
  background: var(--accent-primary);
  color: #fff;
}

.division-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.division-desc {
  font-size: 11px;
  color: var(--text-tertiary);
  line-height: 1.4;
}

.division-link {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-primary);
  opacity: 0;
  transition: var(--transition-fast);
}

.division-card:hover .division-link { opacity: 1; }

/* ========================================
   PRODUCTS
   ======================================== */
.products { background: var(--surface); }

.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  gap: var(--space-md);
}

.products-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-tab {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  background: var(--bg-secondary);
  border-radius: 100px;
  border: none;
  cursor: pointer;
}

.product-tab.active,
.product-tab:hover {
  background: var(--accent-primary);
  color: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.product-card {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-img {
  height: 180px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-img i {
  font-size: 44px;
  color: var(--text-muted);
  opacity: 0.25;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
}

.product-info { padding: var(--space-sm); }

.product-division {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-primary);
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.product-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-link:hover { gap: 10px; }

/* ========================================
   PROJECTS
   ======================================== */
.projects { background: var(--bg-secondary); }

.projects-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.projects-header .lead { margin: 0 auto; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.project-card {
  position: relative;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-bg i {
  font-size: 60px;
  color: var(--text-muted);
  opacity: 0.2;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  transition: var(--transition-normal);
}

.project-card:hover .project-overlay {
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.95) 100%);
}

.project-location {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 6px;
}

.project-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.project-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.project-tag {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ========================================
   INDUSTRIES
   ======================================== */
.industries { background: var(--surface); }

.industries-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.industries-header .lead { margin: 0 auto; }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.industry-card {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: var(--space-md) 16px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--text-primary);
  background: var(--text-primary);
}

.industry-card:hover .industry-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.industry-card:hover .industry-name { color: #fff; }
.industry-card:hover .industry-desc { color: rgba(255, 255, 255, 0.6); }

.industry-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-primary);
}

.industry-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.industry-desc {
  font-size: 11px;
  color: var(--text-tertiary);
  line-height: 1.4;
}

/* ========================================
   STATS
   ======================================== */
.stats {
  background: var(--text-primary);
  padding: var(--space-xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.stat-item {
  text-align: center;
  padding: var(--space-md);
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: #fff;
}

.stat-value span { color: #fff; }

.stat-title {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
}

.stat-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   NEWS
   ======================================== */
.news { background: var(--bg-primary); }

.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  gap: var(--space-md);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.news-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-img {
  height: 180px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.news-img i {
  font-size: 40px;
  color: var(--text-muted);
  opacity: 0.2;
}

.news-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
}

.news-content { padding: var(--space-sm); }

.news-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.news-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
  transition: var(--transition-fast);
}

.news-card:hover .news-title { color: var(--text-primary); }

.news-excerpt {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* ========================================
   CTA
   ======================================== */
.cta {
  background: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta h2 { color: #fff; margin-bottom: 12px; }

.cta-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto var(--space-md);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta .btn-primary {
  background: #fff;
  color: var(--text-primary);
}

.cta .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #111111;
  padding: var(--space-xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo { margin-bottom: var(--space-sm); }

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-sm);
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  padding: var(--space-sm) 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
  background: var(--bg-secondary);
  padding: 140px 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: var(--bg-tertiary);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

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

.page-header h1 { margin-bottom: 8px; }

.page-header .lead {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: var(--space-sm);
}

.breadcrumb a { color: var(--text-tertiary); }
.breadcrumb a:hover { color: var(--accent-primary); }
.breadcrumb span { color: var(--accent-primary); }

/* ========================================
   FLOATING BUTTONS
   ======================================== */
.floating-btn {
  position: fixed;
  z-index: 900;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: var(--transition-normal);
  text-decoration: none;
}

.floating-btn:hover { transform: scale(1.1); }

.email-btn {
  bottom: 156px;
  right: 28px;
  background: #000;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.whatsapp-btn {
  bottom: 92px;
  right: 28px;
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.scroll-top {
  bottom: 28px;
  right: 28px;
  background: var(--text-primary);
  color: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: #333;
  color: #fff;
}

/* ========================================
   MOBILE NAV
   ======================================== */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--surface);
  z-index: 999;
  padding: 80px 24px 40px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.mobile-nav-overlay.active { display: flex; }

.mobile-nav-overlay a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
}

.mobile-nav-overlay a:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.mobile-nav-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .divisions-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }

  .hero-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .hero-visual { display: none; }
  .hero { min-height: auto; padding: 120px 0 var(--space-xl); }
  .hero::before { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .about-image { order: -1; }
}

@media (max-width: 768px) {
  :root { --container-padding: 16px; }

  .nav-main { display: none; }
  .header-cta .btn { display: none; }
  .mobile-toggle { display: flex; }

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

  .divisions-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
  .footer-grid > :first-child { grid-column: 1 / -1; }

  .about-features { grid-template-columns: 1fr; }

  .products-header, .news-header {
    flex-direction: column;
    align-items: flex-start;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .floating-btn { width: 48px; height: 48px; font-size: 20px; }
  .email-btn { bottom: 140px; right: 20px; }
  .whatsapp-btn { bottom: 84px; right: 20px; }
  .scroll-top { bottom: 28px; right: 20px; }
}

@media (max-width: 480px) {
  .divisions-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- Typing Animation --- */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background-color: var(--accent-primary);
  margin-left: 4px;
  animation: blink 1s ease-in-out infinite;
  vertical-align: text-bottom;
}

.hero h1.typing {
  overflow: hidden;
  white-space: nowrap;
}

/* Logo Image */
.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

/* Footer Logo - White Text */
.footer-brand .logo-name,
.footer-brand .logo-tagline {
  color: #ffffff !important;
}
