/*
 * GEI BRAND SYSTEM v1.0
 * Fuente: Brandguidelines Junio 2023 V1.1 (Gei Consulting)
 * Aplicar a TODA landing/email/propuesta/deck de GEI sin cambios.
 * NO inventar colores. NO cambiar tipografía sin actualizar el brand book.
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  /* === PALETA PRIMARIA (la única para piezas corporativas) === */
  --gei-orange:        #F05A24;   /* Pantone 7579C — color firma */
  --gei-navy:          #1F2B30;   /* Pantone 433C — títulos y bloques pesados */

  /* === PALETA BRANDING (complementaria, para variar) === */
  --gei-blue-ocean:    #007CAF;   /* Pantone 641U */
  --gei-orange-light:  #EF5A24;   /* Pantone 0821C */
  --gei-yellow:        #FFB527;   /* Pantone 1235C */
  --gei-cream:         #F4F4EA;   /* fondo crema editorial */

  /* === ESCALA DE GRISES (5 niveles) === */
  --gei-slate-dark:    #3B494F;
  --gei-slate:         #58676E;
  --gei-gray:          #74848B;
  --gei-gray-light:    #C2CDD1;
  --gei-gray-lightest: #E7ECEE;

  /* === TIPOGRAFÍA === */
  --gei-font: 'Montserrat', -apple-system, 'Segoe UI', sans-serif;

  /* === ESCALA TIPOGRÁFICA === */
  --gei-h1: clamp(2.5rem, 5vw, 4rem);
  --gei-h2: clamp(1.8rem, 3.5vw, 2.5rem);
  --gei-h3: 1.5rem;
  --gei-h4: 1.15rem;
  --gei-body: 1rem;
  --gei-small: 0.875rem;

  /* === ESPACIADO === */
  --gei-space-xs: 0.5rem;
  --gei-space-sm: 1rem;
  --gei-space-md: 2rem;
  --gei-space-lg: 4rem;
  --gei-space-xl: 6rem;
}

/* === BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--gei-font);
  font-weight: 400;
  font-size: var(--gei-body);
  line-height: 1.6;
  color: var(--gei-navy);
  background: var(--gei-cream);
}

/* === TIPOGRAFÍA === */
h1, h2, h3, h4 {
  font-family: var(--gei-font);
  color: var(--gei-navy);
  line-height: 1.2;
}
h1 { font-size: var(--gei-h1); font-weight: 700; }
h2 { font-size: var(--gei-h2); font-weight: 600; }
h3 { font-size: var(--gei-h3); font-weight: 600; }
h4 { font-size: var(--gei-h4); font-weight: 600; }

.h-light  { font-weight: 300; }
.h-bold   { font-weight: 700; }
.txt-orange { color: var(--gei-orange); }
.txt-navy   { color: var(--gei-navy); }

/* === DIVISOR ORANGE (firma debajo de cada título de sección) === */
.gei-divider {
  display: inline-block;
  width: 56px;
  height: 4px;
  background: var(--gei-orange);
  margin: var(--gei-space-sm) 0 var(--gei-space-md);
}

/* === FRANJA FIRMA (◆◆◆ → orange bar → navy bar) — va al pie de cada sección clave === */
.gei-strip {
  display: flex;
  align-items: center;
  height: 8px;
  gap: 4px;
  margin: var(--gei-space-md) 0;
}
.gei-strip .diamonds {
  display: flex;
  gap: 6px;
}
.gei-strip .diamonds span {
  width: 8px; height: 8px;
  background: var(--gei-orange);
  transform: rotate(45deg);
}
.gei-strip .bar-orange { flex: 0 0 22%; height: 8px; background: var(--gei-orange); }
.gei-strip .bar-navy   { flex: 1;       height: 8px; background: var(--gei-navy);   }

/* === ROMBO (elemento decorativo individual) === */
.gei-rombo {
  display: inline-block;
  width: 12px; height: 12px;
  background: var(--gei-orange);
  transform: rotate(45deg);
  margin-right: 8px;
  vertical-align: middle;
}

/* === LAYOUT === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gei-space-md);
}
.section {
  padding: var(--gei-space-xl) 0;
}
.section--cream { background: var(--gei-cream); }
.section--white { background: #ffffff; }
.section--navy  { background: var(--gei-navy); color: var(--gei-cream); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 {
  color: #ffffff;
}

/* === BOTONES === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--gei-font);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn--primary {
  background: var(--gei-orange);
  color: #ffffff;
  border-color: var(--gei-orange);
}
.btn--primary:hover {
  background: #D44A18;
  border-color: #D44A18;
}
.btn--secondary {
  background: transparent;
  color: var(--gei-navy);
  border-color: var(--gei-navy);
}
.btn--secondary:hover {
  background: var(--gei-navy);
  color: #ffffff;
}
.btn--whatsapp {
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
}
.btn--whatsapp:hover { background: #1ebe5a; border-color: #1ebe5a; }

/* === TARJETAS === */
.card {
  background: #ffffff;
  border: 1px solid var(--gei-gray-lightest);
  border-top: 4px solid var(--gei-orange);
  border-radius: 4px;
  padding: var(--gei-space-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(31, 43, 48, 0.08);
}

/* === HEADER === */
.gei-header {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--gei-gray-lightest);
  padding: 16px 0;
}
.gei-header .container {
  display: flex; justify-content: space-between; align-items: center;
}
.gei-header img { height: 48px; width: auto; }

/* === FORM === */
.gei-form input,
.gei-form select,
.gei-form textarea {
  width: 100%;
  font-family: var(--gei-font);
  font-size: 1rem;
  padding: 14px 16px;
  border: 1px solid var(--gei-gray-light);
  border-radius: 4px;
  background: #ffffff;
  color: var(--gei-navy);
  margin-bottom: 16px;
  transition: border-color 0.2s ease;
}
.gei-form input:focus,
.gei-form select:focus,
.gei-form textarea:focus {
  outline: none;
  border-color: var(--gei-orange);
}
.gei-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gei-navy);
}

/* === FOOTER === */
.gei-footer {
  background: var(--gei-navy);
  color: var(--gei-cream);
  padding: var(--gei-space-lg) 0 var(--gei-space-md);
}
.gei-footer a { color: var(--gei-orange); text-decoration: none; }
.gei-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gei-space-md);
}
