/* Opción 2 – Referencia: Integrated Biosciences (integratedbiosciences.com)
   Tipografía bold, moderno/tech, hero impactante, secciones numeradas, minimal */
@import url('../css/base.css');

:root {
  --accent: #0ea5e9;
  --accent-hover: #0284c7;
  --heading: #0f172a;
  --text: #334155;
  --text-muted: #64748b;
  --bg-dark: #0f172a;
  --bg-light: #f8fafc;
}

body { color: var(--text); }

/* Header minimal */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-lg) 0;
  background: transparent;
  transition: background 0.3s;
}
.header.scrolled { background: rgba(15,23,42,0.95); backdrop-filter: blur(8px); }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { height: 36px; width: auto; }
.header.scrolled .logo img { filter: brightness(0) invert(1); }
.nav { display: flex; gap: var(--space-2xl); }
.nav a { font-size: var(--text-sm); font-weight: 500; color: var(--heading); }
.header.scrolled .nav a { color: var(--white); }
.nav a:hover { color: var(--accent); }
.header.scrolled .nav a:hover { color: var(--accent); }

/* Hero – estilo “Engineering the future” */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-4xl) 0;
  background: var(--bg-dark);
  color: var(--white);
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  max-width: 14ch;
}
.hero .subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  opacity: 0.85;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: var(--space-2xl);
}
.hero .btn {
  background: var(--white);
  color: var(--bg-dark);
  font-weight: 600;
  padding: var(--space-md) var(--space-xl);
  border-radius: 2px;
}
.hero .btn:hover { opacity: 0.9; }

/* Sección What we do – numerada 01 / 02 / 03 */
.section { padding: var(--space-4xl) 0; }
.section-dark { background: var(--bg-dark); color: var(--white); }
.section-label {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}
.section:not(.section-dark) .section-label { color: var(--accent); }
.section-dark .section-label { color: rgba(255,255,255,0.6); }
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--space-2xl);
}
.section-dark .section-title { color: var(--white); }
.section p { max-width: 640px; opacity: 0.9; }
.section:not(.section-dark) p { color: var(--text-muted); }

/* Bloques numerados 01. 02. 03. */
.blocks { margin-top: var(--space-3xl); }
.block-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-2xl);
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.section:not(.section-dark) .block-item { border-color: var(--neutral-200); }
.block-item:last-child { border-bottom: none; }
.block-num {
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-dark .block-num { color: var(--accent); }
.section:not(.section-dark) .block-num { color: var(--accent); }
.block-item h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}
.section-dark .block-item h3 { color: var(--white); }
.block-item p { font-size: var(--text-base); margin: 0; opacity: 0.85; }

/* Plataforma / Servicios – cards minimal */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}
.platform-card {
  padding: var(--space-2xl);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
}
.platform-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
}
.platform-card .num { font-size: var(--text-sm); font-weight: 700; color: var(--accent); margin-bottom: var(--space-md); }
.platform-card h3 { font-size: var(--text-lg); font-weight: 600; color: var(--white); margin-bottom: var(--space-sm); }
.platform-card p { font-size: var(--text-sm); opacity: 0.8; }
.section:not(.section-dark) .platform-card {
  background: var(--white);
  border-color: var(--neutral-200);
}
.section:not(.section-dark) .platform-card h3 { color: var(--heading); }
.section:not(.section-dark) .platform-card p { color: var(--text-muted); opacity: 1; }
.section:not(.section-dark) .platform-card:hover { border-color: var(--accent); }

/* Equipamiento – grid de imágenes */
.equip-section .section-title { margin-bottom: var(--space-lg); }
.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}
.equip-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 2px;
}
@media (max-width: 768px) {
  .equip-grid { grid-template-columns: 1fr; }
}

/* 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(--white);
  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: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-lg);
  border-radius: 4px;
}
.ficha-card h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-md);
}
.ficha-card dl { margin: 0; font-size: var(--text-sm); }
.ficha-card dt { color: rgba(255,255,255,0.6); margin-top: var(--space-sm); }
.ficha-card dt:first-of-type { margin-top: 0; }
.ficha-card dd { color: var(--white); margin: 0; }

/* CTA */
.cta-section {
  background: var(--bg-light);
  padding: var(--space-4xl) 0;
  text-align: center;
}
.cta-section h2 { font-size: var(--text-2xl); font-weight: 700; color: var(--heading); margin-bottom: var(--space-md); }
.cta-section .btn { background: var(--heading); color: var(--white); border-radius: 2px; }

/* Footer – mismo diseño en todo el ecosistema */
.footer {
  background: var(--bg-dark);
  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) {
  .footer .container { grid-template-columns: 1fr; text-align: center; }
  .footer-contact { text-align: center; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .block-item { grid-template-columns: 1fr; }
}
