/* Opción 3 – Referencia: Nesma & Partners (nesmapartners.com)
   Industrial, “We Power / The Future”, números grandes, Our Business, proyectos */
@import url('../css/base.css');

:root {
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --heading: #0f172a;
  --text: #334155;
  --text-muted: #64748b;
  --bg-hero: #0f172a;
  --bg-section: #f1f5f9;
}

body { color: var(--text); }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-hero);
  color: var(--white);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo img { height: 44px; width: auto; filter: brightness(0) invert(1); }
.nav { display: flex; gap: var(--space-2xl); }
.nav a { font-size: var(--text-sm); font-weight: 500; color: rgba(255,255,255,0.9); }
.nav a:hover { color: var(--white); }
.btn-cta {
  background: var(--accent);
  color: var(--white);
  padding: var(--space-sm) var(--space-xl);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: 2px;
}
.btn-cta:hover { background: var(--accent-hover); }

/* Hero – We Power / The Future (líneas partidas) */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  background: var(--bg-hero);
  color: var(--white);
}
.hero-lines {
  margin-bottom: var(--space-2xl);
}
.hero-line {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero-line .word2 { display: block; padding-left: 0.15em; }
.hero-sub {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  margin-bottom: var(--space-3xl);
  max-width: 600px;
}
.hero .btn { background: var(--white); color: var(--bg-hero); font-weight: 600; border-radius: 2px; }

/* We Are [Company] + intro */
.section-intro {
  padding: var(--space-4xl) 0;
  background: var(--white);
}
.section-intro h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--heading);
  margin-bottom: var(--space-md);
}
.section-intro p { font-size: var(--text-lg); color: var(--text-muted); max-width: 640px; }

/* Stats – números grandes (65,000+ / 44+ / 230+) */
.stats-section {
  background: var(--bg-section);
  padding: var(--space-4xl) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}
.stat-box {
  text-align: center;
  padding: var(--space-xl);
}
.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}
.stat-label { font-size: var(--text-sm); font-weight: 500; color: var(--heading); }
.stat-desc { font-size: var(--text-xs); color: var(--text-muted); margin-top: var(--space-xs); }
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* Our Business – 3 columnas (Infrastructure, Energy, Buildings) */
.business-section { padding: var(--space-4xl) 0; }
.section-label {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}
.section-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--heading);
  margin-bottom: var(--space-lg);
}
.section-subtitle { font-size: var(--text-base); color: var(--text-muted); max-width: 640px; margin-bottom: var(--space-2xl); }
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}
.business-card {
  padding: var(--space-2xl);
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.business-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.business-card .icon { width: 48px; height: 48px; background: var(--accent-light, #ccfbf1); border-radius: 4px; margin-bottom: var(--space-lg); }
.business-card h3 { font-size: var(--text-xl); font-weight: 600; color: var(--heading); margin-bottom: var(--space-sm); }
.business-card p { font-size: var(--text-sm); color: var(--text-muted); }
@media (max-width: 768px) {
  .business-grid { grid-template-columns: 1fr; }
}

/* Our Projects – grid de proyectos */
.projects-section { padding: var(--space-4xl) 0; background: var(--bg-section); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}
.project-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}
.project-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.project-card img { width: 100%; height: 200px; object-fit: cover; }
.project-card .content { padding: var(--space-lg); }
.project-card h3 { font-size: var(--text-lg); font-weight: 600; color: var(--heading); margin-bottom: var(--space-sm); }
.project-card .meta { font-size: var(--text-sm); color: var(--accent); font-weight: 500; margin-bottom: var(--space-xs); }
.project-card p { font-size: var(--text-sm); color: var(--text-muted); }

/* Equipamiento */
.equip-section { padding: var(--space-4xl) 0; }
.equip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}
.equip-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.equip-card img { width: 100%; height: 200px; object-fit: cover; }
.equip-card .content { padding: var(--space-lg); }
.equip-card h3 { font-size: var(--text-lg); font-weight: 600; color: var(--heading); }

/* Fichas técnicas – especificaciones organizadas (punto 7 documento) */
.fichas-tecnicas { margin-top: var(--space-3xl); }
.fichas-title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--heading);
  margin-bottom: var(--space-lg);
}
.fichas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}
.ficha-card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  padding: var(--space-lg);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.ficha-card h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--heading);
  margin-bottom: var(--space-md);
}
.ficha-card dl { margin: 0; font-size: var(--text-sm); }
.ficha-card dt { color: var(--text-muted); margin-top: var(--space-sm); }
.ficha-card dt:first-of-type { margin-top: 0; }
.ficha-card dd { color: var(--heading); margin: 0; }

/* CTA */
.cta-section {
  background: var(--bg-hero);
  color: var(--white);
  padding: var(--space-4xl) 0;
  text-align: center;
}
.cta-section h2 { font-size: var(--text-2xl); font-weight: 700; margin-bottom: var(--space-md); }
.cta-section .btn { background: var(--accent); color: var(--white); border-radius: 2px; }

/* Footer – mismo diseño en todo el ecosistema */
.footer {
  background: var(--neutral-900);
  color: rgba(255,255,255,0.8);
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-2xl);
  align-items: start;
}
.footer-logo img { height: 32px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-nav { display: flex; gap: var(--space-xl); }
.footer-nav a { font-size: var(--text-sm); }
.footer-nav a:hover { color: var(--white); }
.footer-contact { font-size: var(--text-sm); text-align: right; opacity: 0.9; }
.footer-bottom {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .nav { display: none; }
  .footer .container { grid-template-columns: 1fr; text-align: center; }
  .footer-contact { text-align: center; }
}
