/* ============================================================
   CotiCar.com — Sitio Oficial de Lanzamiento · Próximamente
   Paleta Automotriz Sobria · Carbón, Titanio y Verde Británico
   República de Panamá 🇵🇦
   ============================================================ */

:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Fondo Carbón y Asfalto Neutro (Sin azulados cibernéticos) */
  --bg-main: #0e1013;
  --bg-surface: #14161c;
  --bg-surface-subtle: #111318;
  --bg-card: #181b22;
  --bg-card-hover: #1c2029;

  /* Bordes en Acero Mate */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-card: #232732;
  --border-focus: #2f855a;

  /* Textos Marfil y Titanio */
  --text-main: #f4f4f5;
  --text-secondary: #9da3ae;
  --text-muted: #6b7280;

  /* Verde Automotriz Orgánico / Verde Carrera (Cero neón electrónico) */
  --coti-green: #2e7d52;
  --coti-green-muted: rgba(46, 125, 82, 0.15);
  --coti-green-border: rgba(46, 125, 82, 0.35);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --max-width: 1120px;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

.site-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ============================================================
   1. HEADER UNIFICADO
   ============================================================ */
.site-header {
  padding: 36px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-symbol {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--coti-green-muted);
  border: 1px solid var(--coti-green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--coti-green);
}

.brand-symbol svg {
  width: 18px;
  height: 18px;
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-text .coti { color: var(--coti-green); }
.brand-text .car { color: #ffffff; }

.header-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-country {
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

.badge-launch-status {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   2. HERO PRINCIPAL
   ============================================================ */
.hero-section {
  padding: 80px 0 40px;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.hero-tagline {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--coti-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--coti-green-muted);
  border: 1px solid var(--coti-green-border);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 22px;
}

.hero-title span {
  color: var(--coti-green);
}

.hero-description {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

/* Tira de Marcas */
.brands-strip {
  padding: 24px 0 50px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.brands-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.brands-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.brand-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #525866;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.brand-label:hover {
  color: var(--text-secondary);
}

/* ============================================================
   3. CÓMO FUNCIONA (2 COLUMNAS EDITORIAL)
   ============================================================ */
.features-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.features-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.features-left .section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--coti-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.features-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 20px;
}

.features-headline em {
  font-style: normal;
  color: #e2e8f0;
  border-bottom: 2px solid var(--coti-green);
  padding-bottom: 2px;
}

.features-body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 34px;
}

.trust-badges-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}

.trust-icon {
  font-size: 18px;
}

.trust-item-text strong {
  display: block;
  font-size: 13px;
  color: #ffffff;
}

.trust-item-text span {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Tarjeta con Pasos Secuenciales 01 - 02 - 03 */
.steps-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 32px 28px;
}

.steps-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.step-row {
  display: flex;
  gap: 16px;
}

.step-digit {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--coti-green);
  background: var(--coti-green-muted);
  border: 1px solid var(--coti-green-border);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-info h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.step-info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   4. MÉTRICAS CLAVE Y CERTEZAS
   ============================================================ */
.metrics-section {
  padding: 80px 0 90px;
}

.section-intro-center {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 44px;
}

.section-intro-center h3 {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 8px;
}

.section-intro-center p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.metrics-modular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.metric-block {
  background-color: var(--bg-surface-subtle);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.2s ease;
}

.metric-block:hover {
  background-color: var(--bg-card);
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.metric-number.highlight {
  color: var(--coti-green);
}

.metric-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.metric-description {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   5. FOOTER INSTITUCIONAL
   ============================================================ */
.site-footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ============================================================
   RESPONSIVIDAD MÓVIL
   ============================================================ */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .metrics-modular-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-section {
    padding: 50px 0 32px;
  }

  .brands-flex {
    gap: 18px;
  }

  .steps-card {
    padding: 24px 20px;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}
