/* ============================================================
   Magrone Heavy Industries — Global Stylesheet
   ============================================================ */

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

:root {
  --navy:    #0d1b2a;
  --steel:   #1b3a5c;
  --accent:  #c8922a;
  --light:   #f4f6f8;
  --mid:     #8a9bb0;
  --white:   #ffffff;
  --text:    #1a1a1a;
  --subtext: #4a5568;
  --border:  #d1dce8;

  --font-head: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  --max-width: 1200px;
  --section-pad: 90px 24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

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

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

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--subtext);
  max-width: 640px;
  line-height: 1.75;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}
.btn-primary:hover { background: #a8771f; border-color: #a8771f; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ── HEADER / NAV ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--accent);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
}

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

.nav-logo .wordmark {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

.nav-logo .tagline-small {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-links a.active::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--accent);
  margin-top: 2px;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--steel) 100%);
  padding: 120px 24px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 80px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.015) 0px,
      rgba(255,255,255,0.015) 1px,
      transparent 1px,
      transparent 80px
    );
}

.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.15;
  max-width: 780px;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  margin-bottom: 40px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}

.stat-item .number {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-item .label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 4px;
}

/* ── TICKER BAND ── */
.ticker-band {
  background: var(--accent);
  padding: 12px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 60px;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}

.ticker-track span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  flex-shrink: 0;
}

.ticker-track span::before {
  content: '◆ ';
  opacity: 0.5;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTION: PILLARS ── */
.pillars {
  padding: var(--section-pad);
  background: var(--light);
}

.pillars-header {
  text-align: center;
  margin-bottom: 60px;
}

.pillars-header .section-subtitle {
  margin: 0 auto;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  padding: 36px 28px;
  border-radius: 2px;
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 0.92rem;
  color: var(--subtext);
  line-height: 1.7;
}

/* ── SECTION: INDUSTRIES ── */
.industries {
  padding: var(--section-pad);
  background: var(--navy);
}

.industries-header { margin-bottom: 52px; }
.industries-header .section-title { color: var(--white); }
.industries-header .section-subtitle { color: var(--mid); }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
}

.industry-item {
  background: rgba(255,255,255,0.04);
  padding: 32px 24px;
  border-left: 3px solid transparent;
  transition: all 0.2s;
  cursor: default;
}

.industry-item:hover {
  background: rgba(255,255,255,0.08);
  border-left-color: var(--accent);
}

.industry-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.industry-item p {
  font-size: 0.83rem;
  color: var(--mid);
}

/* ── SECTION: CTA BAND ── */
.cta-band {
  background: var(--accent);
  padding: 70px 24px;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 12px;
}

.cta-band p {
  font-size: 1rem;
  color: rgba(13,27,42,0.75);
  max-width: 520px;
  margin: 0 auto 32px;
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-dark:hover { background: var(--steel); border-color: var(--steel); }

/* ── ABOUT PAGE HERO ── */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--steel) 100%);
  padding: 80px 24px 70px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 80px);
}

.page-hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
}

/* ── MISSION BAND ── */
.mission-band {
  padding: 72px 24px;
  background: var(--light);
  border-bottom: 1px solid var(--border);
}

.mission-band-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mission-band blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  color: var(--navy);
  line-height: 1.4;
  border-left: 4px solid var(--accent);
  padding-left: 28px;
}

.mission-band .mission-text p {
  font-size: 0.97rem;
  color: var(--subtext);
  margin-bottom: 16px;
}

/* ── LEADERSHIP ── */
.leadership {
  padding: var(--section-pad);
  background: var(--white);
}

.leadership-header {
  max-width: var(--max-width);
  margin: 0 auto 60px;
}

.leaders-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 32px;
}

.leader-card {
  display: flex;
  flex-direction: column;
}

.leader-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--light);
  border: 2px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  overflow: hidden;
  position: relative;
}

.leader-photo .placeholder-icon {
  font-size: 4rem;
  color: var(--border);
}

.leader-photo .photo-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 5px;
  opacity: 0;
  transition: opacity 0.2s;
}

.leader-card:hover .photo-badge { opacity: 1; }

.leader-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.leader-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.leader-bio {
  font-size: 0.88rem;
  color: var(--subtext);
  line-height: 1.65;
}

/* ── VALUES ── */
.values {
  padding: var(--section-pad);
  background: var(--navy);
}

.values-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.values .section-title { color: var(--white); }
.values .section-subtitle { color: var(--mid); margin-bottom: 52px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.value-item {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 28px;
  border-radius: 2px;
}

.value-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  color: rgba(200,146,42,0.3);
  line-height: 1;
  margin-bottom: 8px;
}

.value-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.value-item p {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.65;
}

/* ── FOOTER ── */
footer {
  background: #070e17;
  padding: 60px 24px 32px;
  color: var(--mid);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 32px;
}

.footer-brand .wordmark {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-brand .tagline-small {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.87rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.87rem;
  color: var(--mid);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 8px;
}

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

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .mission-band-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .hero-stats { gap: 28px; }
}

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