:root {
  --naranja: #ff9100;
  --naranja-oscuro: #d97a00;
  --terracota: #9a4a2c;
  --terracota-oscuro: #7d3b22;
  --marron-oscuro: #3d2920;
  --gris-banda: #b8b8b8;
  --crema: #f5f5f5;
  --texto: #1c1c1c;
  --texto-suave: #4a4a4a;
  --radius: 14px;
  --radius-lg: 28px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--texto);
  background: var(--crema);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h2 {
	font-family: "Sora", sans-serif;
	font-size: 1.9rem;
	font-weight: 800;
	color: #03358C;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid #eee;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 120px;
}

.logo-link {
  display: inline-flex;
  text-decoration: none;
}

.logo-che-img {
	height: 80px;
	width: auto;
}

.site-nav {
  font-family: "Sora", sans-serif;
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.site-nav a {
  color: var(--texto);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--terracota);
}

.btn {
  display: inline-block;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
	background: #03358C;
	color: #fff;
}
.btn-primary:hover {
  background: var(--naranja-oscuro);
}

.btn-secondary {
  background: var(--terracota);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--terracota-oscuro);
}

.btn-light {
  background: #fff;
  color: var(--terracota);
}
.btn-light:hover {
  background: #eef1f7;
}

.btn-ghost {
  background: #e9e9e9;
  color: var(--texto);
}
.btn-ghost:hover {
  background: #dcdcdc;
}

.btn-outline-dark {
  background: transparent;
  border: 2px solid #03358c;
  color: #03358c;
  padding: 10px 22px;
}
.btn-outline-dark:hover {
  background: #03358c;
  color: #fff;
}

/* Hero */
.hero-section {
  padding: 40px 0 0;
}

.hero-card {
  position: relative;
  overflow: hidden;
  background: #03358C;
  border-radius: var(--radius-lg);
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 32px;
  padding: 56px 56px;
  min-height: 420px;
}

.hero-card-content {
  position: relative;
  z-index: 2;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.brand-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.4);
}

.brand-row img:not(.logo-che-img) {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.hero-wordmark {
  height: 56px;
}

.hero-kicker {
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 16px;
}

.hero-tagline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 460px;
}

.hero-card-pattern {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.hero-card-pattern img {
  width: 100%;
  max-width: 340px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Audience cards: sin icono, titulo en negro/marca, boton destacado */
.audience-section {
  padding: 56px 0 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.audience-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(154, 74, 44, 0.1);
}

.audience-card h3 {
  margin: 0 0 14px;
  font-family: "Sora", sans-serif;
  font-size: 1.3rem;
  color: var(--texto);
}

.audience-card p {
  margin: 0 0 24px;
  color: var(--texto-suave);
  font-size: 0.98rem;
}

/* Como funciona: tarjetas blancas con sombra suave */
.steps-section {
  padding: 80px 0;
}

.steps-section h2 {
  margin: 0 0 40px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.step-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

.step-label {
  display: block;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  color: var(--naranja-oscuro);
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}

.step-card p {
  margin: 0;
  color: var(--texto-suave);
  font-size: 0.95rem;
}

/* Foto */
.photo-section {
  padding-bottom: 80px;
}

.photo-block {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  max-height: 560px;
}

/* Por que CHE: lista secuencial alineada a la izquierda */
.benefits-section {
  padding-bottom: 80px;
}

.benefits-section h2 {
  margin: 0 0 32px;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.benefit-row h3 {
  margin: 0 0 6px;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  color: var(--texto);
}

.benefit-row p {
  margin: 0;
  color: var(--texto-suave);
  font-size: 0.95rem;
  max-width: 820px;
}

.institutional-note {
  border-top: 1px solid #e2e4e9;
  padding-top: 32px;
}

.institutional-note p {
  color: #000;
  font-weight: 600;
  max-width: 820px;
  margin: 0 0 20px;
}

/* Newsletter: un solo pill con icono + input + boton */
.newsletter-band {
	background: #03358C;
	padding: 60px 0;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.newsletter-text {
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0;
  max-width: 340px;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  flex: 1;
  max-width: 560px;
  min-width: 280px;
}

.newsletter-icon {
  font-size: 1rem;
}

.newsletter-form input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 0.95rem;
  font-family: inherit;
  min-width: 0;
}

.newsletter-form .btn {
  flex-shrink: 0;
}

/* Stats bar: alineado a la izquierda, icono+numero horizontal */
.stats-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 32px 0;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--naranja);
}

.stat-icon {
  font-size: 1.3rem;
}

.stat-num {
  font-weight: 800;
  font-size: 2rem;
  color: var(--texto);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--texto-suave);
}

/* Footer: fila simple + barra inferior */
.site-footer {
	background: #ff9100;
	color: rgba(255, 255, 255, 0.75);
	padding: 32px 0 0;
	font-size: 0.9rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
}

.footer-brand-inline {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
	color: rgba(255,255,255,0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	text-decoration: none;
	font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .hero-card {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    text-align: left;
  }
  .hero-card-pattern {
    max-width: 260px;
    margin: 0 auto;
  }
  .site-nav {
    display: none;
  }
  .newsletter-inner {
    justify-content: center;
    text-align: center;
  }
  .newsletter-form {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .site-header .container {
    height: 64px;
  }
  .hero-card {
    padding: 32px 24px;
    min-height: auto;
  }
  .hero-kicker {
    font-size: 1.25rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .footer-row {
    justify-content: center;
    text-align: center;
  }
}
