/* ═══════════════════════════════════════════════════════════
   CALESAN — EMPRESA CSS
   <link rel="stylesheet" href="/css/calesan.empresa.css">
═══════════════════════════════════════════════════════════ */

/* ── HERO CLARO ── */
.empresa-hero {
  background: var(--bg2);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.empresa-hero::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 480px; height: 480px;
  background: var(--red); border-radius: 50%; opacity: 0.04; pointer-events: none;
}
.empresa-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.eh-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
}
.eh-tag::before { content: '—'; opacity: 0.5; }

.eh-h1 {
  font-family: var(--f-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800; letter-spacing: -0.02em;
  color: var(--text); line-height: 1.08; margin-bottom: 20px;
}
.eh-h1 em { font-style: normal; color: var(--red); }

.eh-desc {
  font-size: 17px; color: var(--text2); line-height: 1.7; margin-bottom: 32px;
}

.eh-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.eh-stat {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.eh-stat:hover { border-color: var(--border2); box-shadow: var(--shadow-sm); }
.eh-stat-num {
  font-family: var(--f-display); font-size: 40px; font-weight: 800;
  color: var(--text); line-height: 1;
}
.eh-stat-num span { color: var(--red); }
.eh-stat-label { font-size: 13px; color: var(--text3); margin-top: 4px; font-weight: 500; }

.eh-right { display: flex; flex-direction: column; gap: 16px; }
.eh-values { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.eh-val {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.eh-val:hover { border-color: var(--border2); box-shadow: var(--shadow-sm); }
.eh-val-icon {
  width: 36px; height: 36px;
  background: var(--red-light); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.eh-val-icon svg   { width: 18px; height: 18px; color: var(--red); }
.eh-val-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.eh-val-text  { font-size: 13px; color: var(--text2); line-height: 1.5; }

/* ── TIMELINE ── */
.timeline { display: flex; flex-direction: column; gap: 0; max-width: 720px; }
.tl-item { display: flex; gap: 32px; padding-bottom: 40px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-left { display: flex; flex-direction: column; align-items: center; width: 40px; flex-shrink: 0; }
.tl-year {
  font-family: var(--f-display); font-size: 14px; font-weight: 800;
  color: var(--red); text-align: center; line-height: 1; margin-bottom: 8px;
}
.tl-dot  { width: 12px; height: 12px; background: var(--red); border-radius: 50%; flex-shrink: 0; }
.tl-line { width: 2px; flex: 1; background: var(--border); margin-top: 6px; }
.tl-item:last-child .tl-line { display: none; }
.tl-title { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.tl-text  { font-size: 14px; color: var(--text2); line-height: 1.65; }

/* ── EQUIPO ── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card {
  background: var(--bg2);
  border: 1.5px solid var(--border2);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.team-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  transform: translateY(-3px);
  border-color: var(--red-mid);
}
.team-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--red-light); border: 2px solid var(--red-mid);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 22px; font-weight: 800; color: var(--red);
  margin-bottom: 16px;
}
.team-name    { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.team-role    { font-size: 13px; font-weight: 600; color: var(--red); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.team-contact a {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text3); margin-bottom: 4px; transition: color var(--ease);
}
.team-contact a:hover { color: var(--red); }
.team-contact svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ── MARCAS CLARO ── */
.brands-section {
  padding: 64px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brands-title-row { text-align: center; margin-bottom: 48px; }
.brands-title {
  font-family: var(--f-display); font-size: 36px; font-weight: 800;
  color: var(--text); margin-bottom: 8px;
}
.brands-sub   { font-size: 16px; color: var(--text2); }
.brands-grid  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.brand-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 20px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.brand-card:hover {
  border-color: var(--red-mid);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.brand-card-logo {
  font-family: var(--f-display); font-size: 26px; font-weight: 800;
  color: var(--text); letter-spacing: 0.04em; margin-bottom: 8px;
}
.brand-card-desc { font-size: 13px; color: var(--text2); line-height: 1.5; }

/* ── CTA FINAL (se mantiene rojo) ── */
.cta-final { background: var(--red); padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-text-title {
  font-family: var(--f-display); font-size: 34px; font-weight: 800;
  color: #fff; letter-spacing: -0.01em; margin-bottom: 6px;
}
.cta-text-sub   { font-size: 16px; color: rgba(255,255,255,0.8); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .empresa-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .eh-stats { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
}
