/* ===========================
   KISTIA — style.css
   Optimizado
   =========================== */

@font-face {
  font-family: 'untitled sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('font-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'untitled sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('font-bold.woff2') format('woff2');
}

:root {
  --blue-header:   #003FD5;
  --blue:          #1C76F9;
  --blue-btn:      #1777fb;
  --blue-dark:     #0040cc;
  --white:         #ffffff;
  --gray-bg:       #f3f8fe;
  --gray-light:    #F9FAFA;
  --gray-border:   #e5e7eb;
  --text-dark:     #0c0c0c;
  --text-mid:      #000000;
  --text-light:    #797979;
  --text-muted:    #000000;
  --blue-light-bg: #3481F40F;

  --font:          'untitled sans', 'Open Sans', sans-serif;

  --header-h:      64px;
  --radius:        8px;

  --section-y:     60px;
  --section-x:     100px;

  --text-base:     16px;
  --text-sm:       14px;

  --bullet-size:   6px;
  --bullet-offset: calc(1.55em / 2 - 3px);

  /* ancho unificado */
  --content-w:     1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text-dark);
  font-size: var(--text-base);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

/* ===========================
   BASE / UTILITIES
   =========================== */

.section {
  padding: var(--section-y) var(--section-x);
}

.section-white {
  background: var(--white);
}

.section-gray {
  background: var(--gray-bg);
}

.container,
.container-wide,
.que-es-inner,
.porque-inner,
.como-inner,
.aquien-inner,
.quienes-inner,
.estado-inner {
  max-width: var(--content-w);
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.section-divider {
  border: none;
  border-top: 2px solid var(--blue-btn);
  width: 40%;
  margin: 0 auto; 
}

h2 {
  font-family: var(--font);
  font-size: clamp(28px, 4vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 24px;
}

h3 {
  font-family: var(--font);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.body-p {
  font-size: var(--text-base);
  line-height: 1.78;
  color: var(--text-mid);
  margin-bottom: 16px;
}

.list-clean {
  list-style: none;
  padding: 0;
}

.list-bullets li {
  position: relative;
  padding-left: 16px;
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--text-mid);
}

.list-bullets li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: var(--bullet-offset);
  width: var(--bullet-size);
  height: var(--bullet-size);
  border-radius: 50%;
  background: var(--blue);
}

.list-bullets-red li::before {
  background: #fc342c;
}

.section-waves {
  background-image: url('fondo-ondas.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.section-waves::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.60);
  pointer-events: none;
}

.section-waves > * {
  position: relative;
  z-index: 1;
}

/* ===========================
   HEADER
   =========================== */

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--blue-header);
}

.header-inner {
  max-width: var(--content-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--section-x);
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  width: auto;
  height: 40px;
}

.nav-desktop {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-desktop ul {
  list-style: none;
  display: flex;
  gap: 4px;
}

.nav-desktop ul li a {
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
  color: rgba(255,255,255,0.92);
  transition: background 0.15s;
}

.nav-desktop ul li a:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-switch {
  padding: 4px 14px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 6px;
  background: rgba(255,255,255,0.22);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 0.15s;
}

.lang-switch:hover {
  background: rgba(255,255,255,0.35);
}

.hamburger {
  display: none;
  width: 32px;
  height: 32px;
  padding: 4px;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  padding: 8px 24px 16px;
  background: var(--blue-dark);
  border-top: 1px solid rgba(255,255,255,0.15);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile ul {
  list-style: none;
}

.nav-mobile ul li {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.nav-mobile ul li:last-child {
  border-bottom: none;
}

.nav-mobile ul li a {
  display: block;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  transition: color 0.15s;
}

.nav-mobile ul li a:hover {
  color: #fff;
}

/* ===========================
   HERO
   =========================== */

.hero {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: calc(var(--header-h) + 80px) var(--section-x) 80px;
  background: var(--white);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-left h1 {
  margin-bottom: 20px;
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text-dark);
}

.hero-left p {
  max-width: 500px;
  margin-bottom: 32px;
  font-size: 24px;
  line-height: 1;
  color: var(--text-light);
}

.btn-blue {
  display: inline-block;
  padding: 14.4px 41.6px;
  border-radius: 12px;
  background: var(--blue-btn);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, transform 0.1s;
}

.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-bola {
  display: block;
  width: 380px;
  height: 380px;
  object-fit: contain;
}

/* ===========================
   QUÉ ES
   =========================== */

.que-es-section {
  padding: var(--section-y) var(--section-x);
  background: var(--gray-bg);
}

.es-noes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0;
}

.es-block h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-circle-check,
.icon-circle-x {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-circle-check {
  border: 2px solid var(--blue);
}

.icon-circle-x {
  border: 2px solid #fc342c;
}

.icon-circle-check svg,
.icon-circle-x svg {
  width: 11px;
  height: 11px;
}

.es-block ul,
.features-list,
.phase-col ul {
  list-style: none;
  padding: 0;
}

.es-block ul li,
.features-list li,
.phase-col ul li {
  position: relative;
  padding-left: 16px;
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--text-mid);
}

.es-block ul li,
.features-list li {
  margin-bottom: 8px;
}

.phase-col ul li {
  margin-bottom: 10px;
}

.es-block ul li::before,
.features-list li::before,
.phase-col ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: var(--bullet-offset);
  width: var(--bullet-size);
  height: var(--bullet-size);
  border-radius: 50%;
  background: var(--blue);
}

.es-block.no-es ul li::before {
  background: #fc342c;
}

.etymology {
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--text-mid);
}

.etymology p {
  margin-bottom: 12px;
}

/* ===========================
   POR QUÉ
   =========================== */

.porque-section {
  padding: var(--section-y) var(--section-x);
  background: var(--white);
}

.porque-inner {
  text-align: center;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 40px 0;
}

.stat-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 36px 24px;
  border-radius: var(--radius);
  text-align: center;
  background: var(--blue);
}

.stat-number {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
}

.stat-label {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,0.85);
}

.problems-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 40px;
  align-items: start;
}

.problems-title {
  font-size: clamp(22px, 3vw, 4.5rem);
  text-align: left;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

.problems-list {
  list-style: none;
  padding: 0;
}

.problems-list li {
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid var(--blue-btn);
  font-size: var(--text-base);
  color: var(--text-mid);
}

.problems-list li:first-child {
  border-top: 1px solid var(--blue-btn);
}

/* ===========================
   CÓMO ACTÚA
   =========================== */

.como-section {
  padding: var(--section-y) var(--section-x);
  position: relative;
}

.como-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.60);
  pointer-events: none;
}

.como-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.como-inner .body-p {
  text-align: left;
}

.features-block {
  margin-top: 32px;
  text-align: left;
}

.features-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

.feature-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.features-list li {
  line-height: 1.6;
}

/* ===========================
   A QUIÉN
   =========================== */

.aquien-section {
  padding: var(--section-y) var(--section-x);
  background-image: url('fondo-ondas.png');
  background-size: cover;
  background-position: center bottom;
  position: relative;
}

.aquien-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.60);
  pointer-events: none;
}

.aquien-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.audience-icon-wrap {
  width: 48px;
  height: 34px;
  margin: 20px auto 16px;
  display: flex;
  align-items: center;
  justify-content: left;
}

.audience-list {
  list-style: none;
  padding: 0;
  margin-top: 8px;
  text-align: left;
}

.audience-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-border);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--text-mid);
}

.audience-list li:first-child {
  border-top: 1px solid var(--gray-border);
}

/* ===========================
   QUIÉNES SOMOS
   =========================== */

.quienes-section {
  padding: var(--section-y) var(--section-x);
  background: var(--gray-bg);
}

.quienes-inner h2 {
  text-align: center;
  margin-bottom: 40px;
}

.quienes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

/* ===========================
   ESTADO DEL PROYECTO
   =========================== */

.estado-section {
  padding: var(--section-y) var(--section-x);
  background: var(--white);
}

.estado-inner h2 {
  text-align: center;
  margin-bottom: 40px;
}

.phases-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.phase-col {
  padding: 32px 28px;
  border-right: 3px dashed var(--blue-btn);
}

.phase-col:last-child {
  border-right: none;
}

.phase-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 15px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
}

.badge-done {
  color: #2e7d32;
  background: #e8f5e9;
}

.badge-current {
  color: #1565c0;
  background: #e3f0ff;
}

.badge-next {
  color: var(--text-muted);
  background: var(--gray-bg);
}

.phase-col h3 {
  text-align: center;
  margin-bottom: 20px;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
  padding: 40px var(--section-x);
  text-align: center;
  background: var(--blue-header);
}

.footer-inner {
  max-width: var(--content-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  width: auto;
  height: 34px;
  margin-bottom: 4px;
  opacity: 0.92;
}

.footer-text {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

.footer-text strong {
  color: var(--white);
  font-weight: 700;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 1024px) {
  :root {
    --section-x: 24px;
  }

  .hero {
    padding: calc(var(--header-h) + 60px) var(--section-x) 60px;
  }

  .header-inner {
    padding: 0 var(--section-x);
  }
}

@media (max-width: 860px) {
  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-inner,
  .es-noes-grid,
  .stats-row,
  .problems-layout,
  .quienes-grid,
  .phases-row {
    grid-template-columns: 1fr;
  }
	
	.hero-bola {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
	}

  .es-noes-grid,
  .quienes-grid {
    gap: 24px;
  }

  .phase-col {
    border-right: none;
    border-bottom: 1px dashed var(--gray-border);
  }

  .phase-col:last-child {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: calc(var(--header-h) + 32px);
  }

  .hero-left h1 {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .section-divider {
    width: 40%;
  }
}