@font-face { font-family: "Jakarta"; src: url("/assets/jakarta-d2ff26bc.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --texto: #15171c;
  --suave: #565c6b;
  --linea: #dbe6f2;
  --fondo: #ffffff;
  --gris: #f4f8fd;
  --cielo: #d4e8fb;
  --marino: #0f2c54;
  --azul: #1d62b0;
  --acento: #1d62b0;
  --acento-claro: #e6f1fc;
  --rubi: #b3152f;
  --sombra: 0 1px 2px rgb(21 23 28 / .05), 0 10px 28px rgb(21 23 28 / .07);
  --gutter: 20px;
  --alto-barra: 3.8rem;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 8rem; scroll-behavior: smooth; }
html:has(.subpestanas) { scroll-padding-top: 10.45rem; }
body { margin: 0; background: var(--fondo); color: var(--texto); font: 400 1.0625rem/1.65 "Jakarta", -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: inherit; text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.375rem); font-weight: 800; margin-bottom: 1.5rem; }
h3 { font-size: 1.125rem; font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 .85rem; }
.contenedor { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

.barra { position: sticky; top: 0; z-index: 5; min-height: var(--alto-barra); background: linear-gradient(100deg, #cbe3fa, #e4f1fd 55%, #d3e8fb); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1.5rem; padding: .7rem max(var(--gutter), calc((100vw - 1120px) / 2 + var(--gutter))); border-bottom: 1px solid var(--linea); font-size: .95rem; }
.barra a:not(.boton) { text-decoration: none; color: var(--suave); }
.cv-menu a:not(.boton) { color: var(--texto); }
.barra a:not(.boton):hover { color: var(--acento); }
.barra .barra__nombre { color: var(--texto); font-weight: 800; }
.barra__inicio { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.barra__nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.25rem; }

.boton { display: inline-block; padding: .75rem 1.3rem; border: 1.5px solid var(--texto); border-radius: 8px; background: var(--fondo); color: var(--texto); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.boton:hover { border-color: var(--acento); color: var(--acento); }
.boton--principal { background: var(--acento); border-color: var(--acento); color: #fff; }
.boton--principal:hover { background: #174f8f; border-color: #174f8f; color: #fff; }
.boton--peque { padding: .4rem .85rem; font-size: .9rem; }
.acciones { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }

.portada { padding: clamp(2.5rem, 5vw, 4rem) 0; background: linear-gradient(180deg, #dcecfb, var(--fondo)); }
.portada__rejilla { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.portada__oficio { color: var(--acento); font-size: clamp(1.25rem, 2.6vw, 1.625rem); font-weight: 700; letter-spacing: -.01em; margin: .75rem 0 .75rem; }
.portada__lema { font-size: 1.2rem; line-height: 1.55; max-width: 34em; color: var(--suave); margin: 0; }
.portada__lema { display: flex; align-items: center; gap: .45rem; }
.portada__lema .icono--mini { fill: var(--rubi); stroke: var(--rubi); }
.premio__fecha { display: flex; align-items: center; gap: .5rem; }
.portada__especialidades { margin-top: 1rem; }
.portada__especialidades .etiquetas li { background: var(--fondo); border-color: var(--linea); color: var(--marino); font-size: .9rem; font-weight: 600; padding: .2rem .7rem; }
.portada__enlaces { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; list-style: none; margin: 1.25rem 0 0; padding: 0; color: var(--suave); font-size: .95rem; }

.pestanas { position: sticky; top: var(--alto-barra); z-index: 3; }
.pestanas__banda { background: var(--fondo); border-bottom: 1px solid var(--linea); }
.pestanas__fila { display: flex; gap: clamp(1.25rem, 4vw, 2.5rem); overflow-x: auto; }
.pestanas a { padding: 1rem .1rem .85rem; border-bottom: 3px solid transparent; color: var(--suave); font-size: 1.05rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pestanas a:hover { color: var(--texto); }
.pestanas a[aria-current="page"] { color: var(--acento); border-bottom-color: var(--acento); }
.subpestanas { margin-top: .5rem; pointer-events: none; }
.subpestanas__fila { display: flex; width: fit-content; max-width: 100%; gap: .35rem; padding: .3rem; overflow-x: auto; scrollbar-width: none; background: var(--fondo); border: 1px solid var(--linea); border-radius: 999px; box-shadow: var(--sombra); pointer-events: auto; }
.pestanas .subpestanas a { padding: .2rem .7rem; border-bottom: 0; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.pestanas .subpestanas a:hover { background: var(--gris); }
.pestanas .subpestanas a[aria-current="location"] { background: var(--acento-claro); color: var(--acento); }
.tarjeta__fecha { color: var(--acento); font-weight: 700; font-size: .95rem; margin: 0 0 .15rem; }

.tarjeta { background: var(--fondo); border: 1px solid var(--linea); border-radius: 14px; padding: 1.5rem; box-shadow: var(--sombra); }
.resumen-tarjeta { padding: 1.75rem; }
.datos { margin: 0; display: grid; gap: 1.1rem; }
.datos div { display: flex; flex-direction: column-reverse; }
.datos dt { color: var(--suave); font-size: .95rem; }
.datos dd { margin: 0; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }

.bloque { padding: clamp(3rem, 6vw, 5rem) 0; }
.bloque--gris { background: var(--gris); border-block: 1px solid var(--linea); }
.intro { font-size: clamp(1.25rem, 2.4vw, 1.5rem); line-height: 1.5; font-weight: 500; letter-spacing: -.01em; max-width: 36em; margin-bottom: 3rem; }
.intro--peque { font-size: 1.1rem; line-height: 1.6; }
.aportes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.aportes p { margin: .5rem 0 0; color: var(--suave); }
.icono { width: 2.1rem; height: 2.1rem; padding: .4rem; border-radius: 8px; background: var(--acento-claro); fill: none; stroke: var(--acento); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .85rem; }

.linea { list-style: none; margin: 0; padding: 0 0 0 1.5rem; border-left: 2px solid var(--linea); }
.hito { position: relative; padding-bottom: 2.25rem; }
.hito:last-child { padding-bottom: 0; }
.hito::before { content: ""; position: absolute; left: calc(-1.5rem - 7px); top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--fondo); border: 2px solid #a9aebb; }
.hito--actual::before { background: var(--acento); border-color: var(--acento); box-shadow: 0 0 0 4px var(--acento-claro); }
.hito__tiempo { margin: 0; color: var(--acento); font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; }
.hito h3 { font-size: 1.25rem; margin: .15rem 0; }
.hito__lugar { margin: 0 0 .4rem; color: var(--suave); }
.hito ul { margin: 0; padding-left: 1.1rem; max-width: 46em; }
.hito li { margin-bottom: .2rem; }

.premio { background: linear-gradient(105deg, var(--marino), var(--azul)); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.premio h2 { margin-bottom: .85rem; }
.premio p { max-width: 42em; color: #e1ebf7; }
.premio a { color: #fff; font-weight: 700; }
.premio .premio__fecha { color: #a9d3fb; font-weight: 700; margin-bottom: .5rem; }

.subtitulo { color: var(--suave); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; margin: 2rem 0 1rem; }
.rejilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.rejilla > .tarjeta:not(.proyecto) { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .85rem; align-content: start; padding: 1rem 1.15rem; }
.rejilla > .tarjeta:not(.proyecto) > * { grid-column: 2; }
.rejilla > .tarjeta:not(.proyecto) > .icono { grid-column: 1; grid-row: 1 / span 3; margin: .1rem 0 0; }
.rejilla > .tarjeta:not(.proyecto) p:not(.tarjeta__fecha) { margin: .2rem 0 0; font-size: .92rem; color: var(--suave); line-height: 1.5; }
.rejilla > .tarjeta:not(.proyecto) h3 { font-size: 1rem; }
.proyecto { display: flex; flex-direction: column; overflow: hidden; transition: border-color .15s; }
.proyecto--con-captura { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); padding: 0; flex-direction: unset; }
.proyecto__captura { display: block; width: 100%; height: 100%; min-height: 9rem; object-fit: cover; object-position: top left; border-right: 1px solid var(--linea); }
.proyecto__portada { display: flex; align-items: center; justify-content: center; min-height: 9rem; background: var(--cielo); border-right: 1px solid var(--linea); }
.proyecto__portada img { width: 58%; height: auto; }
.proyecto__cuerpo { display: flex; flex-direction: column; flex: 1; }
.proyecto--con-captura .proyecto__cuerpo { padding: .85rem 1rem 1rem; }
.proyecto__cuerpo p { font-size: .9rem; line-height: 1.5; margin: 0 0 .6rem; }
.proyecto .etiquetas li { font-size: .75rem; padding: .05rem .4rem; }
.proyecto__cabecera { display: flex; align-items: center; gap: .55rem; margin-bottom: .35rem; min-height: 1.8rem; }
.proyecto__cabecera .monograma { width: 1.8rem; height: 1.8rem; font-size: .85rem; border-radius: 7px; }
.proyecto__cabecera h4 { font-size: 1rem; }
.proyecto__cabecera h4 { margin: 0; }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.proyecto__logo { display: inline-flex; padding: .2rem .4rem; border-radius: 6px; margin-left: -.4rem; }
.proyecto__logo img { display: block; height: 20px; width: auto; }
.proyecto__logo--oscuro { margin-left: 0; }
.proyecto__logo--oscuro { background: var(--texto); }
.monograma { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; flex: none; border-radius: 9px; background: var(--acento-claro); color: var(--acento); font-weight: 800; font-size: 1.1rem; }
.empresa-logo { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 6.25rem; height: 2.6rem; padding: .35rem .5rem; border: 1px solid var(--linea); border-radius: 9px; background: var(--fondo); }
.empresa-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.empresa-logo--gris { background: #ececec; border-color: #ececec; }
.empresa-logo--oscuro { background: var(--marino); border-color: var(--marino); }
.hito__cabecera { display: flex; align-items: center; gap: .8rem; margin: .3rem 0 .45rem; }
.hito__cabecera h3 { margin: 0; }
.hito__cabecera .hito__lugar { margin: 0; }
.cv-menu { position: relative; }
.solo-estrecho { display: none; }
.cv-menu summary { display: inline-flex; align-items: center; gap: .4rem; list-style: none; cursor: pointer; }
.cv-menu summary::-webkit-details-marker { display: none; }
.cv-menu ul { position: absolute; top: calc(100% + .4rem); right: 0; z-index: 4; min-width: 14.5rem; margin: 0; padding: .35rem; list-style: none; background: var(--fondo); border: 1px solid var(--linea); border-radius: 10px; box-shadow: var(--sombra); }
.cv-menu a { display: block; padding: .5rem .7rem; border-radius: 6px; text-decoration: none; font-weight: 600; }
.cv-menu a:hover { background: var(--acento-claro); color: var(--acento); }
.usuario { position: relative; display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--marino); color: #fff !important; font-size: 1.1rem; }
.usuario:hover { background: var(--acento); }
.usuario__total { position: absolute; top: -.2rem; right: -.35rem; min-width: 1.05rem; height: 1.05rem; padding: 0 .2rem; border-radius: 999px; background: var(--rubi); color: #fff; font-size: .68rem; font-weight: 800; line-height: 1.05rem; text-align: center; box-shadow: 0 0 0 2px var(--fondo); }
.proyecto:hover { border-color: #c9ccd5; }
.proyecto h4 { margin-bottom: .4rem; }
.proyecto h4 a { text-decoration-color: var(--acento); }
.proyecto p { color: var(--suave); }
.proyecto .etiquetas { margin-top: auto; }
.nota { color: var(--suave); font-size: .95rem; margin: 1rem 0 0; }
.icono--mini { width: 1.1em; height: 1.1em; padding: 0; margin: 0; background: none; stroke: currentColor; flex: none; vertical-align: -.18em; }
.pestanas a, .portada__enlaces li, .portada__enlaces a, .boton--principal { gap: .45rem; }
.pestanas a, .portada__enlaces li, .portada__enlaces a { display: inline-flex; align-items: center; }
.boton--principal { display: inline-flex; align-items: center; }
.etiquetas { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.etiquetas li { padding: .12rem .55rem; border-radius: 6px; background: var(--gris); border: 1px solid var(--linea); font-size: .82rem; font-weight: 500; }
.bloque--gris .etiquetas li { background: var(--fondo); }

.comunidad { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem 4rem; align-items: start; }
.libre { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin-bottom: 1rem; }
.premio .libre__cifra { font-size: 3.25rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; margin: 0; }
.premio .libre__texto { color: #e1ebf7; margin: 0; max-width: 22em; }
.premio .etiquetas li { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .2); color: #fff; }

.dos-columnas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 4rem; }
.tecnologias { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; }
.tecnologia { margin: 0; }
.tecnologia h3 { font-size: 1rem; margin-bottom: .4rem; }
.dato { margin-bottom: .9rem; }
.dato h3 { font-size: 1rem; }
.dato p { margin: 0; color: var(--suave); }
.segundo { margin-top: 2.25rem; }

.contacto { background: var(--texto); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; }
.contacto__rejilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 3rem; align-items: start; }
.contacto h2 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
.contacto__rejilla > div:first-child p { color: #d7d9df; font-size: 1.15rem; }
.contacto__rejilla > div:first-child a { color: #fff; font-weight: 700; }
.contacto .tarjeta { color: var(--texto); }
.formulario { display: grid; gap: .3rem; }
.formulario label { font-weight: 600; margin-top: .6rem; font-size: .95rem; }
.formulario label:first-child { margin-top: 0; }
.formulario input:not([type=submit], [type=radio]), .formulario select, .formulario textarea { width: 100%; padding: .6rem .7rem; border: 1px solid #b9bdc8; border-radius: 8px; background: var(--fondo); color: var(--texto); font: inherit; }
.formulario__trampa { position: absolute; left: -9999px; }
.formulario__nota { color: var(--suave); font-size: .9rem; margin: .6rem 0; }
.formulario .boton { justify-self: start; }

.aviso { padding: .65rem .85rem; margin: 0 0 1rem; border: 1px solid var(--linea); border-radius: 8px; background: var(--gris); }
.aviso--error { border-color: var(--rubi); color: var(--rubi); background: var(--fondo); }
.aviso p, .aviso ul { margin: 0; }

.pagina { max-width: 760px; margin: 0 auto; padding: 2.5rem var(--gutter) 3rem; }
.pagina h1 { font-size: 2.5rem; margin-bottom: 1.25rem; }
.pie { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 1.5rem max(var(--gutter), calc((100vw - 1120px) / 2 + var(--gutter))); background: var(--marino); border-top: 1px solid rgb(255 255 255 / .12); color: #b9c8dc; font-size: .9rem; }
.pie a { color: #dbe6f2; }
.pie a:hover { color: #fff; }

@media (max-width: 56rem) {
  .portada__rejilla, .aportes, .rejilla, .comunidad, .dos-columnas, .tecnologias, .contacto__rejilla { grid-template-columns: minmax(0, 1fr); }
  .datos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
  .datos dd { font-size: 1.25rem; }
  .datos dt { font-size: .82rem; line-height: 1.3; }
}

@media (max-width: 30rem) {
  .empresa-logo { width: 4.4rem; height: 2.1rem; padding: .25rem .35rem; }
  .hito__cabecera { align-items: flex-start; gap: .6rem; }
  .hito h3 { font-size: 1.05rem; }
  .barra { flex-wrap: nowrap; gap: .5rem; }
  .barra__nav { flex-wrap: nowrap; gap: .6rem; font-size: .86rem; }
  .barra .boton--peque { padding: .35rem .55rem; }
  .barra__inicio { font-size: 0; gap: 0; }
  .barra__inicio .icono--mini { font-size: 1.2rem; }
  .solo-ancho { display: none; }
  .solo-estrecho { display: inline; }
  .barra__nav { justify-content: flex-end; }
  .proyecto--con-captura { grid-template-columns: minmax(0, 1fr); }
  .proyecto__captura { height: 8.5rem; min-height: 0; border-right: 0; border-bottom: 1px solid var(--linea); }
  .proyecto__portada { min-height: 6rem; border-right: 0; border-bottom: 1px solid var(--linea); }
  .proyecto__portada img { width: 4.5rem; }
  .barra__nav { gap: .1rem .9rem; font-size: .9rem; }
  .datos { grid-template-columns: minmax(0, 1fr); }
  .datos dd { font-size: 1.6rem; }
}

@media (max-width: 22rem) {
  .barra { padding-inline: 12px; }
  .barra__nav { gap: .4rem; font-size: .8rem; }
  .barra .boton--peque { padding: .3rem .4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .boton, .proyecto { transition: none; }
}
