:root{
  --bg:#ffffff;

  /* paneles / superficies */
  --panel-bg:#f9fafb;
  --line:#e5e7eb;
  --shadow: 0 10px 30px rgba(0,0,0,.04);
  --radius: 18px;

  /* texto */
  --text-main:#1f2933;
  --text-muted:#6b7280;

  /* acentos (paleta) */
  --accent-1:#506d78;   /* títulos */
  --accent-2:#b08a6a;   /* links/destacados */
  --accent-3:#c7b37f;
  --accent-4:#8aa27a;   /* íconos/bullets */
  --muted: var(--text-muted);
  --accent: var(--accent-1);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin: 0;
  font-family: "Aptos", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text-main);
}

.muted { color: var(--text-muted); }

a{
  color: var(--accent-2);
  text-decoration: none;
}
a:hover{ text-decoration: underline; }

h1, h2, h3{ color: var(--accent-1); }

ul.list li::marker{ color: var(--accent-4); }

.card, .panel, .split-text, .step-card{
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.container{
  width:min(1100px, 92vw);
  margin:0 auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:0;
  padding:10px 14px;
  background:#fff;
  color:#000;
  border-radius:12px;
  z-index:999;
}
.skip-link:focus{ left:12px; top:12px; }

.header{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 210px;
}
.logo{
  width:42px; height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-weight:800;
  letter-spacing:.5px;
  background: linear-gradient(135deg, rgba(110,231,255,.22), rgba(167,139,250,.18));
  border:1px solid var(--line);
  box-shadow: var(--shadow);
}
.brand-text{ display:flex; flex-direction:column; }
.brand-name{ font-weight:800; }
.brand-tag{ font-size:12px; color:var(--muted); }

.menu{
  display:flex;
  align-items:center;
  gap:18px;
}
.menu a{ color:var(--muted); font-weight:600; font-size:14px; }
.menu a:hover{ color:var(--text); text-decoration:none; }

.menu-toggle{
  display:none;
  background:transparent;
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px;
  color:var(--text);
}
.menu-toggle span{
  display:block;
  width:22px; height:2px;
  background:var(--text);
  margin:4px 0;
  border-radius:2px;
}

.hero{
  padding:70px 0 30px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:48px;
  align-items:start;
}
.kicker{
  color:var(--muted);
  font-weight:700;
  letter-spacing:.2px;
  margin:0 0 10px;
}
h1{
  font-size: clamp(30px, 3.4vw, 48px);
  line-height:1.08;
  margin:0 0 14px;
}
.accent{ color:var(--accent); }
.lead{
  color:var(--muted);
  font-size: 16px;
  line-height:1.6;
  margin:0 0 18px;
}
.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin: 8px 0 18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:16px;
  border:1px solid var(--line);
  font-weight:700;
  box-shadow: none;
  cursor: pointer;
}
.btn:hover{ text-decoration:none; filter:brightness(0.98); }

.btn-small{ padding:10px 12px; border-radius:14px; }

.btn-primary{
  background: var(--accent-1);
  color: #fff;
  border-color: transparent;
}
.btn-primary:hover{ filter:brightness(0.96); }

.btn-secondary{
  background: #ffffff;
  color: var(--accent-2);
  border-color: rgba(176,138,106,.45);
}
.btn-secondary:hover{ background: rgba(176,138,106,.06); }

.btn-ghost{
  background: transparent;
  border:1px solid var(--line);
  box-shadow:none;
  color: var(--text-main);
}
.btn-ghost:hover{ background: rgba(0,0,0,.03); }

.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.pill{
  border:1px solid var(--line);
  background: #ffffff;
  color: var(--text-main);
  padding:8px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
}

.hero-card{
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-inner{
  padding:18px;
  height:100%;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.mini-map{
  position:relative;
  height:170px;
  border-radius:16px;
  background: radial-gradient(900px 250px at 40% 40%, rgba(110,231,255,.14), transparent 60%),
              linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid var(--line);
  overflow:hidden;
}
.river-line{
  position:absolute;
  left:14px; right:14px;
  top:50%;
  height:3px;
  background: linear-gradient(90deg, rgba(110,231,255,.65), rgba(167,139,250,.55));
  transform: translateY(-50%) rotate(-7deg);
  border-radius:999px;
  filter: blur(.1px);
}
.dot{
  width:12px; height:12px;
  border-radius:999px;
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(110,231,255,.12);
}
.d1{ left:22%; top:45%; }
.d2{ left:52%; top:58%; background: #b7f7ff; }
.d3{ left:82%; top:48%; background: #c7b6ff; box-shadow: 0 0 0 6px rgba(167,139,250,.12); }

.mini-panels{
  display: flex;
   flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 900px){
  .hero-grid{
    grid-template-columns: 1fr;
  }

  .hero-right{
  display:flex;
  flex-direction:column;
  gap:14px;
  }
}
.mini{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px;
  background: rgba(255,255,255,.03);
}
.mini h3{ margin:0 0 6px; font-size:14px; }
.mini p{ margin:0; color:var(--muted); font-size:13px; line-height:1.5; }

.caption{
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
}

.section{
  padding:48px 0;
}
.section-alt{
  background: var(--panel-bg);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section-head{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-bottom: 16px;
}

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

.split { padding: 5rem 0; }

.split-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.split-text{
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.split-media img{
  width: 100%;
  border-radius: 14px;
  display: block;
  object-fit: cover;
}

.steps-grid{
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.step-card{
  background: var(--panel-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.step-card h3{
  margin-top: 0;
  margin-bottom: .75rem;
}

.approach-photos{
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .9rem;
}

.approach-photos img{
  width: 100%;
  border-radius: 14px;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* responsive */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .steps-grid{ grid-template-columns: 1fr; }
  .approach-photos{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .approach-photos{ grid-template-columns: 1fr; }
}

/* ABOUT: sin recuadro y con imagen más contenida */
.about-split .split-text{
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.about-split .split-grid{
  grid-template-columns: 1.2fr 0.8fr; /* texto más ancho, imagen más angosta */
  align-items: start;
}

.about-split .split-media{
  max-width: 420px;     /* controla el tamaño real de la imagen */
  justify-self: end;    /* la pega a la derecha */
}

.about-split .split-media img{
  width: 100%;
  border-radius: 14px;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;  /* hace la imagen más “compacta” */
}



.hero-right{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.keywords-under-image{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-start;
}


.two-col{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 900px){
  .two-col{ grid-template-columns: 1fr; }
}

.panel h3{
  margin-top: 0;
  padding-left: 8px;
}

/* TEAM: remove boxed cards */
#team .cards.team .card{
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
#team .cards.team{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (max-width: 900px){
  #team .cards.team{ grid-template-columns: 1fr; }
}
#team .cards.team .card h3{
  margin: 0 0 .6rem;
}
#team .cards.team .card p{
  margin: 0 0 .4rem;
}
/* FUNDING */
.funding-logos{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
}

.funding-logo{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  text-align: center;
}

.funding-caption{
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.2;
}

.funding-logo img{
  max-height: 48px;      /* 👈 tamaño real del logo */
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(0.1);
}

