:root {
  --clr-off-white: #faf9f6;
  --clr-soft-grey: #d2d2cf;

  --clr-primary: #dd2a54;
  --clr-primary-grey: #4a4a4a;
  --clr-secondary: #006699;
  --clr-brand-3: #00a584;
  --clr-brand-4: #ff9b00;

  --clr-surface-1: #00a584;
  --clr-surface-2: #ff9b00;
  --clr-surface-3: #006699;

  --clr-fixed-clear: #ffffff;
  --clr-fixed-dark: #0B0500;
  --clr-glass-dark: rgba(11, 5, 0, 0.2);

  --clr-neutral-100: #8E9494;
  /*--clr-neutral-200: #545E75;*/
  --clr-neutral-200: #4a4a4a;

  --ff-primary: "GeneralSans-Regular", sans-serif;
  --ff-primary-italic: "GeneralSans-Italic", sans-serif;
  --ff-primary-medium: "GeneralSans-Medium", sans-serif;
  --ff-primary-semibold: "GeneralSans-Semibold", sans-serif;
  --ff-secondary: "Gambetta-Regular", serif;
  --ff-secondary-italic: "Gambetta-Italic", serif;
  --ff-secondary-light: "Gambetta-Light", serif;
  --ff-secondary-semibold: "Gambetta-Semibold", serif;

  /* 📏 Escala de Espaciado Fluida y Proporcional (Basada en 1920px con piso mínimo) */
  /* 5px en 1920px (0.26vmax) -> Nunca baja de 3px */
  --space-xxxxs: round(max(6px, 0.260416667vmax), 1px);
  /* 10px en 1920px (0.52vmax) -> Nunca baja de 6px */
  --space-xxxs: round(max(6px, 0.5208333333vmax), 1px);
  /* 20px en 1920px (1.04vmax) -> Nunca baja de 12px */
  --space-xxs: round(max(12px, 1.0416666667vmax), 1px);
  /* 25px en 1920px (1.30vmax) -> Nunca baja de 16px */
  --space-xs: round(max(16px, 1.3020833333vmax), 1px);
  /* 35px en 1920px (1.82vmax) -> Nunca baja de 20px */
  --space-sm: round(max(20px, 1.8229166667vmax), 1px);
  /* 43px en 1920px (2.24vmax) -> Nunca baja de 24px */
  --space-md: round(max(24px, 2.2395833333vmax), 1px);
  /* 64px en 1920px (3.33vmax) -> Nunca baja de 32px */
  --space-lg: round(max(32px, 3.3333333333vmax), 1px);
  /* 70px en 1920px (3.64vmax) -> Nunca baja de 40px */
  --space-xl: round(max(40px, 3.6458333333vmax), 1px);
  /* 100px en 1920px (5.20vmax) -> Nunca baja de 50px */
  --space-xlg: round(max(50px, 5.2083333333vmax), 1px);
  /* 120px en 1920px (6.25vmax) -> Nunca baja de 60px */
  --space-xxlg: round(max(60px, 6.2500000000vmax), 1px);

  /* 🔠 Fluid Typography */
  /* Fluye al 1.25vw, pero nunca baja de 16px */
  --fs-action: round(max(15px, 1.2500000000vw), 1px);
  /* Fluye al 1.14vw, pero en 1000px de pantalla se planta en 16px (y no en 11.4px) */
  --fs-body: round(max(16px, 1.1458333330vw), 1px);
  /* Fluye al 1.04vw, pero nunca baja de 15px */
  --fs-body-s: round(max(15px, 1.0416666670vw), 1px);
  /* Fluye al 0.93vw, pero nunca baja de 14px */
  --fs-body-xs: round(max(14px, 0.9375000000vw), 1px);
  /* Fluye al 1.56vw, pero nunca baja de 18px */
  --fs-statement: round(max(18px, 1.5625000000vw), 1px);
  /* Fluye al 0.67vw, pero nunca baja de 11px */
  --fs-eyebrow: round(max(11px, 0.6770833330vw), 1px);
  /* Fluye al 2.60vw, pero nunca baja de 28px */
  --fs-heading-l: round(max(28px, 2.6041666670vw), 1px);
  /* Fluye al 5.83vw, pero nunca baja de 42px en móviles */
  --fs-heading-xl: round(max(42px, 5.834vw), 1px);

  /* 📐 Line Heights */
  --lh-body: 1.5;
}

/**
* @license
*
* Font Family: General Sans
* Designed by: Frode Helland
* URL: https://www.fontshare.com/fonts/general-sans
* © 2026 Indian Type Foundry
*
* General Sans Extralight 
* General Sans ExtralightItalic 
* General Sans Light 
* General Sans LightItalic 
* General Sans Regular 
* General Sans Italic 
* General Sans Medium 
* General Sans MediumItalic 
* General Sans Semibold 
* General Sans SemiboldItalic 
* General Sans Bold 
* General Sans BoldItalic 
* General Sans Variable (Variable font)
* General Sans VariableItalic (Variable font)

*
*/

@font-face {
  font-family: 'GeneralSans-Light';
  src: url('../fonts/GeneralSans-Light.woff2') format('woff2'),
    url('../fonts/GeneralSans-Light.woff') format('woff'),
    url('../fonts/GeneralSans-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'GeneralSans-Regular';
  src: url('../fonts/GeneralSans-Regular.woff2') format('woff2'),
    url('../fonts/GeneralSans-Regular.woff') format('woff'),
    url('../fonts/GeneralSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'GeneralSans-Italic';
  src: url('../fonts/GeneralSans-Italic.woff2') format('woff2'),
    url('../fonts/GeneralSans-Italic.woff') format('woff'),
    url('../fonts/GeneralSans-Italic.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: italic;
}

@font-face {
  font-family: 'GeneralSans-Medium';
  src: url('../fonts/GeneralSans-Medium.woff2') format('woff2'),
    url('../fonts/GeneralSans-Medium.woff') format('woff'),
    url('../fonts/GeneralSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'GeneralSans-Semibold';
  src: url('../fonts/GeneralSans-Semibold.woff2') format('woff2'),
    url('../fonts/GeneralSans-Semibold.woff') format('woff'),
    url('../fonts/GeneralSans-Semibold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'GeneralSans-Bold';
  src: url('../fonts/GeneralSans-Bold.woff2') format('woff2'),
    url('../fonts/GeneralSans-Bold.woff') format('woff'),
    url('../fonts/GeneralSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

/**
* @license
*
* Font Family: Gambetta
* Designed by: Paul Troppmar
* URL: https://www.fontshare.com/fonts/gambetta
* © 2026 Indian Type Foundry
*
* Gambetta Light 
* Gambetta LightItalic 
* Gambetta Regular 
* Gambetta Italic 
* Gambetta Medium 
* Gambetta MediumItalic 
* Gambetta Semibold 
* Gambetta SemiboldItalic 
* Gambetta Bold 
* Gambetta BoldItalic 
* Gambetta Variable (Variable font)
* Gambetta VariableItalic (Variable font)

*
*/
@font-face {
  font-family: 'Gambetta-Light';
  src: url('../fonts/Gambetta-Light.woff2') format('woff2'),
    url('../fonts/Gambetta-Light.woff') format('woff'),
    url('../fonts/Gambetta-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Gambetta-LightItalic';
  src: url('../fonts/Gambetta-LightItalic.woff2') format('woff2'),
    url('../fonts/Gambetta-LightItalic.woff') format('woff'),
    url('../fonts/Gambetta-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
  font-style: italic;
}

@font-face {
  font-family: 'Gambetta-Regular';
  src: url('../fonts/Gambetta-Regular.woff2') format('woff2'),
    url('../fonts/Gambetta-Regular.woff') format('woff'),
    url('../fonts/Gambetta-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Gambetta-Italic';
  src: url('../fonts/Gambetta-Italic.woff2') format('woff2'),
    url('../fonts/Gambetta-Italic.woff') format('woff'),
    url('../fonts/Gambetta-Italic.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: italic;
}

@font-face {
  font-family: 'Gambetta-Medium';
  src: url('../fonts/Gambetta-Medium.woff2') format('woff2'),
    url('../fonts/Gambetta-Medium.woff') format('woff'),
    url('../fonts/Gambetta-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Gambetta-MediumItalic';
  src: url('../fonts/Gambetta-MediumItalic.woff2') format('woff2'),
    url('../fonts/Gambetta-MediumItalic.woff') format('woff'),
    url('../fonts/Gambetta-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
  font-style: italic;
}

@font-face {
  font-family: 'Gambetta-Semibold';
  src: url('../fonts/Gambetta-Semibold.woff2') format('woff2'),
    url('../fonts/Gambetta-Semibold.woff') format('woff'),
    url('../fonts/Gambetta-Semibold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Gambetta-SemiboldItalic';
  src: url('../fonts/Gambetta-SemiboldItalic.woff2') format('woff2'),
    url('../fonts/Gambetta-SemiboldItalic.woff') format('woff'),
    url('../fonts/Gambetta-SemiboldItalic.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
  font-style: italic;
}

@font-face {
  font-family: 'Gambetta-Bold';
  src: url('../fonts/Gambetta-Bold.woff2') format('woff2'),
    url('../fonts/Gambetta-Bold.woff') format('woff'),
    url('../fonts/Gambetta-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Gambetta-BoldItalic';
  src: url('../fonts/Gambetta-BoldItalic.woff2') format('woff2'),
    url('../fonts/Gambetta-BoldItalic.woff') format('woff'),
    url('../fonts/Gambetta-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: italic;
}

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100dvh;
  text-rendering: optimizeSpeed;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

img.fit,
video.fit {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

img.cover,
video.cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}


/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ================================
   BASE STYLES
   ================================ */
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--clr-off-white);
  min-height: 100dvh;
  font-family: var(--ff-primary);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-optical-sizing: auto;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color: var(--clr-fixed-dark);
  opacity: 0;
}

body.no-scroll {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

html {
  max-width: 100%;
  overflow-x: hidden;
}

/* 1. Reset Global Tipográfico */
h1,
h2,
h3,
h4,
h5,
h6,
strong,
b,
i,
em {
  font-weight: normal !important;
  font-style: normal !important;
}

strong,
b {
  font-family: var(--ff-primary-semibold);
}

i,
em {
  font-family: var(--ff-primary-italic);
}

strong i,
b i,
strong em,
b em {
  font-family: var(--ff-secondary-semibold);
}

.flex {
  display: flex;
  gap: var(--gap, 1rem);
}

.flow>*:where(:not(:first-child)) {
  margin-top: var(--flow-spacer, .5em);
}

.main-wrapper {
  max-width: 100%;
  margin: auto;
  padding: var(--space-sm);
  position: relative;
}

#cifras,
#enfoque,
#grupo-impulsor,
#alcance,
#partners,
#sumate,
#contacto,
#cifMed {
  scroll-margin-top: calc(var(--header-height) - var(--space-xxxxs));
}

#scroll_down,
#continua {
  cursor: pointer;
}

@media (max-width: 560px) {
  #continua {
    display: none;
  }
}

/* 
HEADER ----------------- */
header {
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  right: 0;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 200;
  background: var(--clr-off-white);
  /* Evita parpadeos de renderizado en el scroll móvil */
  will-change: transform;
  transform: translateZ(0);
  /* Transición global para que todo cambie al compás */
  transition:
    background-color 0.4s ease,
    padding 0.4s ease,
    box-shadow 0.4s ease;
}

.header-brand img {
  height: 50px;
  width: auto;
  transition: transform 0.4s ease, filter 0.4s ease;
  transform-origin: left center;
}

/* ESTADO ACTIVO (Al hacer scroll) ----------------- */
header.is-active {
  background-color: var(--clr-secondary, #069);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all .4s ease;
}

header.is-active .menu-toggle .bar {
  background-color: var(--clr-off-white);
}

header.menu-open .menu-toggle .bar {
  background-color: var(--clr-fixed-dark) !important;
}

header.is-active .header-brand img {
  transform: scale(0.7);
  /* Si tu logo es de un color oscuro y quieres pasarlo a BLANCO puro
     sin tener que cambiar el archivo SVG por JavaScript, usamos filtros CSS modernos: */
  filter: brightness(0) invert(1);
  /* Nota sobre el filtro: 
     brightness(0) lo vuelve completamente negro, invert(1) invierte ese negro a blanco puro.
     Si tu fondo activo es oscuro y el logo original era azul, esto lo hace blanco al instante. */
}

header .header-brand {
  width: auto;
  padding: var(--space-xxs) var(--space-xs);
  align-self: center;
  cursor: pointer;
  z-index: 4;
  transition: all .4s ease;
  z-index: 301;
}

.is-active .header-brand {
  padding: var(--space-xxxxs) var(--space-xs);
  transition: all .4s ease;
}

header .header-brand svg,
header .header-brand img {
  width: 100%;
  height: 100%;
  max-height: 50px;
  object-fit: contain;
}

header .header-content {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  justify-content: space-between;
}

header nav {
  position: relative;
  display: flex;
  align-items: stretch;
  transition: background-color 0.4s ease, padding 0.4s ease;
}

header nav a {
  position: relative;
  border: none;
  overflow: hidden;
  height: 100%;
  padding: var(--space-xs) var(--space-xs);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--clr-fixed-dark);
  font-family: var(--ff-primary-medium);
  font-size: var(--fs-action);
  letter-spacing: 0.035em;
  text-decoration: none;
  transition:
    padding 0.4s ease,
    font-size 0.4 ease,
}

.is-active nav a {
  padding: var(--space-xxxxs) var(--space-xs);
}

header nav {
  position: relative;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-xs);
  z-index: 300;
  cursor: pointer;
}

.menu-toggle .bar {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--clr-primary-grey);
  transition: all 0.4s ease-in-out;
}

header.is-active .menu-toggle .bar {
  background-color: #ffffff;
}

@media (max-width: 1060px) {

  .menu-toggle {
    display: flex;
  }

  header .header-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: var(--clr-off-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-xl) var(--space-md);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 250;
  }

  header nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  #menu-mobile {
    padding-inline: 0;
  }

  header nav a {
    height: auto;
    font-size: var(--fs-statement);
    /*padding: var(--space-xl) !important;*/
  }

  header nav a {
    height: auto;
    padding: var(--space-xxs);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--clr-fixed-dark);
    font-family: var(--ff-primary-medium);
    font-size: var(--fs-heading-l);
    letter-spacing: 0.035em;
    text-decoration: none;
  }

  .is-active nav a span {
    position: relative;
    z-index: 2;
    color: var(--clr-neutral-200);
    transition: all .4s ease;
  }

  header nav a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0%;
    height: 100%;
    transition: all .4s ease;
    background: var(--clr-surface-2);
    opacity: 0;
  }

  .is-active nav a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0%;
    height: 100%;
    transition: all .4s ease;
    background: var(--clr-surface-2);
    opacity: 0;
  }

  .is-active nav a.active span,
  .is-active nav a:hover span {
    position: relative;
    z-index: 2;
    color: var(--clr-off-white);
    transition: all .4s ease;
  }

  .is-active .social {
    padding: var(--space-xs) var(--space-xs) !important;
  }

  .social {
    display: flex;
    gap: var(--space-md);
    display: none;
  }

  /* ESTADOS ----------------- */
  header.menu-open .header-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    padding-inline: 0;
  }

  header.menu-open .menu-toggle .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--clr-primary-grey);
  }

  header.menu-open .menu-toggle .bar:nth-child(2) {
    opacity: 0;
  }

  header.menu-open .menu-toggle .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--clr-primary-grey);
  }
}

/* Color para los botones 1, 4, 7, 10... */
headerx nav a:nth-child(3n+1) {
  background: var(--clr-surface-1);
}

/* Color para los botones 2, 5, 8, 11... */
headerx nav a:nth-child(3n+2) {
  background: var(--clr-surface-2);
}

/* Color para los botones 3, 6, 9, 12... */
headerx nav a:nth-child(3n+3) {
  background: var(--clr-surface-3);
}

header nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0%;
  height: 100%;
  transition: all .4s ease;
  background: var(--clr-surface-2);
  opacity: 0;
}

header nav a.repo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0%;
  height: 100%;
  transition: all .4s ease;
  background: var(--clr-surface-1) !important;
  opacity: 0;
}

.is-active nav a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0%;
  height: 100%;
  transition: all .4s ease;
  background: var(--clr-off-white) !important;
  opacity: 0;
}

.is-active nav a.repo::before {
  background: var(--clr-off-white) !important;
}

header nav a.active::before,
header nav a:hover::before {
  left: 0;
  width: 100%;
  transition: all .4s ease;
  opacity: 1;
}

header nav a span {
  position: relative;
  z-index: 2;
  color: var(--clr-neutral-200);
  transition: all .4s ease;
}

.is-active nav a span {
  position: relative;
  z-index: 2;
  color: var(--clr-off-white);
  transition: all .4s ease;
}

header nav a.active span,
header nav a:hover span {
  position: relative;
  z-index: 2;
  color: var(--clr-off-white);
  transition: all .4s ease;
}

.is-active nav a.active span,
.is-active nav a:hover span {
  position: relative;
  z-index: 2;
  color: var(--clr-fixed-dark);
  transition: all .4s ease;
}

.pinme {
  height: fit-content;
  position: relative;
  z-index: -1;
}

header .social {
  background: var(--clr-neutral-200);
  padding: var(--space-xs) var(--space-xs);
  display: flex;
  gap: var(--space-xxs);
  align-items: center;
  justify-content: center;
  display: none;
  transition:
    padding 0.4s ease,
    width 0.4s ease,
}

.is-active .social {
  padding: var(--space-xxxxs) var(--space-xs);
}

header .social a img {
  width: max(24px, 2vw);
  height: max(24px, 2vw);
  transition: transform 0.4s ease, filter 0.4s ease;
  transform-origin: center center;
}

header .social a,
header .social a:not([class]) {
  display: block;
}

header a:focus {
  text-decoration: none;
  text-decoration-thickness: 0.07lh;
  text-underline-offset: 0.17lh;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {}

@media (max-width: 768px) {}

@media (max-width: 560px) {
  header.menu-open .header-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    padding: 0;
  }

  header nav {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: var(--space-xxxs);
  }

  header nav a {
    height: auto;
    padding: var(--space-xxs);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--clr-fixed-dark);
    font-family: var(--ff-primary-medium);
    font-size: var(--fs-heading-l);
    letter-spacing: 0.035em;
    text-decoration: none;
    width: 100%;
  }
}


html,
body {
  max-width: 100% !important;
  overflow-x: hidden;
  position: relative;
}

/* HERO */
.hero {
  height: calc(100vh - var(--header-height, 100px));
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  column-gap: var(--space-sm);
  background: var(--clr-off-white);
}

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

.hero-picture {
  display: block;
  width: 100%;
  height: 100%;
}

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

main {
  padding: var(--space-sm) var(--space-xs);
  background: var(--clr-off-white);
  position: relative;
}

.hero_text {
  position: relative;
  display: flex;
  padding-block: var(--space-lg);
  flex-direction: column;
  transition: opacity 0.4s ease;
  z-index: 999;
  padding-inline: var(--space-xs);
  background: var(--clr-off-white);
}

.hero_text_content {
  display: flex;
  flex-direction: row;
  gap: var(--space-xs);
  justify-content: space-between;
  align-items: start;
}

.hero_supporting_text {
  flex: 3;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: .2em;
}

.hero_supporting_text .btn-slide {
  width: fit-content;
  padding-right: var(--space-xlg);
}

.hero_supporting_text p {
  max-width: 27em;
  font-family: var(--ff-primary);
  font-size: 20px;
  font-size: var(--fs-body-s);
  line-height: 1.3;
}

.hero_main_text {
  font-family: var(--ff-primary);
  flex: 4;
}

.hero_main_text h1 {
  font-family: var(--ff-primary-semibold);
  font-size: 5vw;
  font-size: var(--fs-heading-xl);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0;
}

.hero_complementary {
  display: flex;
  flex-direction: row;
  gap: var(--space-xs);
  justify-content: space-between;
  align-items: baseline;
  padding-block: var(--space-xlg);
}

.hero_complementary_text {
  flex: 3;
  display: flex;
  flex-direction: column;
  gap: var(--space-xxs);
}

@media (max-width: 560px) {
  .hero_complementary_text {
    display: none;
  }
}

.hero_complementary_text p {
  max-width: 20em;
  font-family: var(--ff-primary);
  font-size: 13px;
  font-size: var(--fs-eyebrow);
  line-height: 1.3;
  padding-top: 1px;
  text-transform: uppercase;
}

.continuar {
  transform: translateY(0);
  transition: all .4s ease;
}

.continuar:hover {
  transform: translateY(5px);
  transition: all .4s ease;
}

.hero-scroll-wrapper {
  position: relative;
  height: 200vh;
}

.hero-sticky-box {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {}

@media (max-width: 768px) {
  .hero {
    height: calc(70dvh - var(--header-height, 100px));
  }

  .hero_main_text h1 {
    font-family: var(--ff-primary-semibold);
    font-size: 5.8vmax;
    font-size: calc(var(--fs-heading-xl)*.8);
    line-height: 0.95;
    margin: 0;
  }
}

@media (max-width: 560px) {

  .hero_text_content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    justify-content: space-between;
    align-items: start;
  }

  .hero_main_text h1 {
    font-family: var(--ff-primary-semibold);
    font-size: 4.4vmax;
    font-size: calc(var(--fs-heading-xl) * .7);
    line-height: 0.95;
    margin: 0;
  }

  .hero_supporting_text {
    margin-top: -.2em;
    padding-top: 0;
  }

}

.scroll-down {
  flex: 4;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-family: var(--ff-primary);
  font-size: 18px;
  font-size: var(--fs-body-xs);
  line-height: 1.3;
}

.statement {
  border-top: 1px solid var(--clr-fixed-dark);
  border-bottom: 1px solid var(--clr-fixed-dark);
  font-family: var(--ff-primary-italic);
  font-size: 30px;
  font-size: var(--fs-statement);
  letter-spacing: .05em;
  line-height: 1.3;
  text-align: center;
  padding: var(--space-xlg) var(--space-lg);
}

@media (max-width: 560px) {
  .scroll-down {
    justify-content: center;

  }

  .statement {
    padding: var(--space-xlg) var(--space-xs);
  }
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-block: var(--space-xs);
}

.section-header h2 {
  font-family: var(--ff-primary);
  font-size: 11px;
  font-size: round(max(13px, 1.26vw), 1px);
  line-height: 1.3;
  letter-spacing: .1em;
  max-width: 20em;
  padding-top: 0;
  text-transform: uppercase;
}

.section-header h3 {
  font-family: var(--ff-primary-semibold);
  font-size: 50px;
  font-size: var(--fs-heading-l);
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-wrap: balance;
}

/* ------------------------- CIFRAS */
section#cifras {
  display: flex;
  flex-direction: column;
  /*gap: var(--space-lg);*/
  padding-bottom: var(--space-xs);
}

.cifras {
  position: relative;
  overflow: hidden;
  margin-top: var(--space-lg);
}

.cifras-media {
  position: relative;
  height: calc(100vh - var(--space-xs) - var(--space-xs) - var(--header-height));
  overflow: hidden;
  z-index: 1;
}

.cifras-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cifras-picture {
  margin: 0;
  width: 100%;
  height: 100%;
}

.cifras-picture picture,
.cifras-picture img {
  display: block;
  width: 100%;
  height: 100%;
}

.cifras-picture img {
  object-fit: cover;
}

.cifras-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  display: flex;
  flex-direction: column;
  z-index: 2;
  color: var(--clr-off-white);
}

.cifra:first-child {
  /*flex: 3;*/
  background-color: var(--clr-surface-1);
  background-image: url('../img/cifra-fig-01.svg');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: bottom center;
}

.cifra {
  padding: var(--space-xxs);
  display: flex;
  flex-direction: column;
  flex: auto;
  align-self: stretch;
  background-color: var(--clr-surface-3);
  background-image: url('../img/cifra-fig-02.svg');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: bottom center;
}


.cifra .number {
  font-family: var(--ff-primary-semibold);
  font-size: var(--fs-heading-xl);
  font-size: round(max(38px, 5.5vw), 1px);;
  line-height: .95;
  padding-left: 0;
  
  margin-bottom: 1rem;
}

.cifra p {
  line-height: 1.3;
  max-width: 23em;
  padding-left: 0.25em;
}

@media (max-width: 560px) {
  .cifra .number {
    font-size: calc(var(--fs-heading-xl)*.85);
    margin-bottom: .33rem;
  }

  .cifra p {
    line-height: 1.3;
    max-width: 23em;
    padding-left: 0;
  }

}

.cifras-2 {
  display: flex;
  align-items: stretch;
  color: var(--clr-off-white);
  justify-content: space-between;
  background: var(--clr-surface-2);
  position: relative;
  margin-bottom: var(--space-lg);
}

.cifras-2 .cifra-2-card:first-child {
  /* bg color */
}


.cifras-2 .cifra-2-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: var(--space-lg);
}

.cifra-2-card {
  overflow: hidden;
}

.cifra-2-card .number {
  font-family: var(--ff-primary-semibold);
  font-size: var(--fs-heading-xl);
  font-size: round(max(38px, 5.5vw), 1px);;
  line-height: 0.95;
  padding-left: 0;
  margin-bottom: 1rem;
  max-width: 8em;
}

.cifra-2-card p {
  line-height: 1.3;
  max-width: 23em;
  padding-left: 0.25em;
}

@media (max-width: 560px) {
  .cifra-2-card .number {
    font-size: calc(var(--fs-heading-xl)*.85);
    margin-bottom: .33rem;
  }

  .cifra-2-card p {
    line-height: 1.3;
    max-width: 23em;
    padding-left: 0;
  }

}

@media (max-width: 768px) {

  .section-header h3,
  .colab-header h3 {
    font-family: var(--ff-primary-semibold);
    font-size: 50px;
    font-size: calc(var(--fs-heading-l)*.7);
    letter-spacing: 0;
    line-height: 1.2;
    text-wrap: balance;
    max-width: 30em;
  }

  .cifras-media {
    position: relative;
    height: calc(82vh - var(--space-xs) - var(--space-xs) - var(--header-height));
    overflow: hidden;
    z-index: 1;
  }

  .cifras-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 2;
    color: var(--clr-off-white);
  }
}

@media (max-width: 560px) {


  .cifras-2 {
    flex-direction: column;
  }

  .cifra-2-card {
    width: 100%;
  }

  .cifras-media {
    position: relative;
    height: calc(90vh - var(--space-xs) - var(--space-xs) - var(--header-height));
    overflow: hidden;
    z-index: 1;
  }

  .cifras-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 2;
    color: var(--clr-off-white);
  }
}

#alcance {
  border-top: 1px solid var(--clr-fixed-dark);
  min-height: calc(100vh - var(--header-height));
}

.alcance-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: var(--space-md) var(--space-xxlg) var(--space-lg);
}

.alcance-content-text {
  max-width: 50%;
  line-height: 1.3;
  padding-left: var(--space-lg);
  flex: 1;
}

.alcance-content-text .map-item-text {
  padding-right: var(--space-lg);
  position: relative;
}

.alcance-content-text .map-item-text p {}

.alcance-content-text .map-item-text:hover {
  color: var(--clr-neutral-200);
}

.alcance-content-text .map-item-text.oka:hover {
  color: var(--clr-secondary);
}

.alcance-content-text .map-item-text.oka::after {
  content: "";
  position: absolute;
  right: 0;
  top: calc(50% - 18px);
  width: 0;
  height: 0;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-right: 18px solid var(--clr-secondary);
  opacity: 0;
  transform: translateX(10px);
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease,
    transform 0.4s ease;
}

.alcance-content-text .map-item-text.oka:hover:after {
  content: "";
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.alcance-content-text .map-item-text h4 {
  font-family: var(--ff-primary-medium);
  font-size: var(--fs-action);
  padding-top: 0;
  text-transform: uppercase;
}

.alcance-content-text .map-item-text {
  padding-block: var(--space-xs);
  border-top: 1px solid var(--clr-secondary);
  cursor: pointer;
}

.contenedor-izquierdo {
  max-height: 25em;
  max-height: 60vh;
  overflow-x: hidden;
  overflow-y: scroll;
  direction: rtl;
}

.contenido-normal {
  direction: ltr;
}

.alcance-content-media {
  position: relative;
  display: flex;
  max-width: 50%;
  max-height: 60vh;
  flex: 1;
}

.alcance-content-media img,
.alcance-content-media svg {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.map-layer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  border: 1px solid var(--clr-secondary);
  background: var(--clr-off-white);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.4s ease,
    visibility 0.1s ease,
}

.map-layer img {
  opacity: 0;
  animation-delay: 0.6s;
  transition: opacity 0.4s;
}

.map-layer.is-active img {
  opacity: 1;
  animation-delay: 0.6s;
  transition: opacity 0.4s;
}

.map-layer.is-active {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.4s ease,
    visibility 0.1s ease,
}

.map-item-text.is-active {
  color: var(--clr-secondary);
}

.map-item-text.oka.is-active::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.badges {
  position: absolute;
  bottom: var(--space-xs);
  left: var(--space-xs);
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: start;
  gap: var(--space-xxxs);
}

.badge {
  border-radius: 999px;
  width: var(--space-lg);
  height: var(--space-lg);
  z-index: 9999;
  transform: translateY(0);
  transition:
    transform 0.4s ease;
}

.badge:hover {
  transform: translateY(-10px);
  transition:
    transform 0.4s ease;
}

.badge img {
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all .4s ease;
}

.badge:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

#lima,
#piura,
#junin,
#libertad {
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease,
    transform 0.4s ease;
}

/*
.alcance-content:has(#lima-text:hover) #lima {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.alcance-content:has(#piura-text:hover) #piura {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.alcance-content:has(#junin-text:hover) #junin {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.alcance-content:has(#libertad-text:hover) #libertad {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.alcance-content:has(#lima:hover) #lima-text {
  color: var(--clr-secondary);
}

.alcance-content:has(#piura:hover) #piura-text {
  color: var(--clr-secondary);
}

.alcance-content:has(#junin:hover) #junin-text {
  color: var(--clr-secondary);
}

.alcance-content:has(#libertad:hover) #libertad-text {
  color: var(--clr-secondary);
}

.alcance-content:has(#libertad:hover) #libertad-text::after,
.alcance-content:has(#junin:hover) #junin-text::after,
.alcance-content:has(#piura:hover) #piura-text::after,
.alcance-content:has(#lima:hover) #lima-text::after {
  content: "";
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

#lima:hover,
#junin:hover,
#piura:hover,
#libertad:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition-delay: 2s;
}
*/


@media (max-width: 960px) {
  .alcance-content {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    padding: var(--space-xs);
    gap: var(--space-xs);
  }

  .alcance-content-media {
    position: relative;
    display: flex;
    max-width: 70%;
    max-height: calc(100vh - var(--space-xl));
    flex: 1;
    width: 70%;
  }

  .alcance-content-text {
    max-width: 100%;
    line-height: 1.3;
    padding-left: 0;
    flex: 1;
    width: 100%;
    margin: 0;
    overflow: auto;
  }

  .alcance-content-text .map-item-text {
    padding: var(--space-xs);
    border-top: 0;
    display: inline-block;
  }

  .alcance-content-text .map-item-text p,
  .alcance-content-text .map-item-text h4 span {
    display: none;
  }

  .alcance-content-text .map-item-text.oka::after {
    content: "";
    position: absolute;
    right: 0;
    top: calc(50% - 0.5em);
    width: 0;
    height: 0;
    border-top: 0.5em solid transparent;
    border-bottom: 0.5em solid transparent;
    border-right: 0.5em solid var(--clr-secondary);
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
  }

  .contenido-normal {
    direction: ltr;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .alcance-content {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    padding: var(--space-xs) 0;
    gap: var(--space-xs);
  }

  .alcance-content-media {
    position: relative;
    display: flex;
    max-width: 100%;
    max-height: calc(100vh - var(--space-xl));
    flex: 1;
    width: 100%;
  }

  .alcance-content-text .map-item-text {
    padding: var(--space-xxxs) var(--space-xs);
    border-top: 0;
    display: none;
    visibility: hidden;
  }

  .alcance-content-text .map-item-text.oka {
    display: inline-block;
    visibility: visible;
  }
}

@media (max-width: 560px) {
  .alcance-content-text .map-item-text h4 {
    font-family: var(--ff-primary-medium);
    font-size: calc(var(--fs-action)*.8);
    padding-top: 0;
    text-transform: uppercase;
  }
}

/* ENFOQUE -------------------*/

#enfoque {
  border-top: 1px solid var(--clr-fixed-dark);
}

.enfoque-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding-bottom: var(--space-xxlg);
  position: relative;
}

.enfoque-content::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 9.375vw;
  height: 10.84489583vw;
  background-image: url(../img/spider.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.twocolrow {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.twocolrow>div {
  flex: 1;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {}

@media (max-width: 768px) {
  .twocolrow.oneempty>div:nth-child(1) {
    flex: 2;
  }

  .twocolrow.oneempty>div:nth-child(2) {
    flex: 3;
  }
}

@media (max-width: 560px) {
  .twocolrow.oneempty>div:nth-child(1) {
    flex: 1;
  }

  .twocolrow.oneempty>div:nth-child(2) {
    flex: 3;
  }

  #partners .twocolrow.oneempty>div:nth-child(1) {
    flex: 3;
  }

  #partners .twocolrow.oneempty>div:nth-child(2) {
    flex: 1;
  }

  .parallax {
    display: none;
  }
}


#grupo-impulsor {
  border-top: 1px solid var(--clr-fixed-dark);
}

.colaboradores {
  display: grid;
  padding-block: var(--space-xxlg);
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
  justify-items: end;
  justify-content: end;
}

.colaboradores {
  display: flex;
  padding-block: var(--space-xxlg);
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
  align-items: stretch;
  justify-content: flex-start;
}

.colab-headerX {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: self-start;
}

.colab-header h3 {
  font-family: var(--ff-primary-semibold);
  font-size: 50px;
  font-size: var(--fs-heading-l);
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-wrap: balance;
  max-width: 21em;
}

.colab-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #f9f9f9;
  border-radius: 8px;
}

.colab-card {
  position: relative;
  justify-content: center;
  cursor: pointer;
  height: stretch;
}

.colab-card-text {
  width: 100%;
  font-size: var(--fs-action);
}

.colab-card-text {
  height: 1px;
  transform: translateY(0);
  opacity: 0;
  transition: all .4s ease;
}

.colab-card a {
  font-family: var(--ff-primary-semibold);
  color: var(--clr-neutral-200);
  white-space: nowrap;
  text-decoration: none;
  display: block;
  max-height: 100%;
  height: stretch;
}

.colab-card-text p,
.trg_blank {
  display: inline-flex;
  gap: .15em;
  align-items: center;
}

.colab-card-text p::after,
.trg_blank::after {
  content: "";
  position: relative;
  width: 1.2em;
  height: 1.2em;
  background: url(../img/_blank-01.svg);
  background-size: contain;
  background-repeat: no-repeat;
  animation: UpDownSoft 3s ease-in-out infinite;
}

.colab-card-text:hover p::after,
.trg_blank:hover::after {
  content: "";
}

@keyframes UpDown {

  0%,
  100% {
    transform: translateY(2px);
  }

  50% {
    transform: translateY(-3px);
  }
}

@keyframes UpDownSoft {

  0%,
  100% {
    transform: translateY(2px);
  }

  50% {
    transform: translateY(0px);
  }
}

.colab-card-img {
  position: relative;
  overflow: hidden;
  max-height: 100%;
}

.colab-card-img img {
  max-width: 100%;
  max-height: 100%;
  height: 14vw;
  object-fit: contain;
}

.colab-card:hover .colab-card-text {
  transform: translateY(.5em);
  opacity: 1;
}

.colab-card-img:hover::after {
  content: "";
  display: block;
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all .4s ease;
  background: rgba(255, 255, 255, .1);
}

.colab-card-img::after {
  content: "";
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, .1);
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {}

@media (max-width: 768px) {
  .colaboradores {
    display: grid;
    padding-block: var(--space-xxlg);
    grid-template-columns: repeat(auto-fit, minmax(7.729166667vw, 1fr));
    gap: var(--space-md);
    justify-items: end;
    justify-content: end;
  }

  .colab-card-text {
    display: none;
  }

}

@media (max-width: 560px) {
  .colaboradores {
    display: grid;
    padding-block: var(--space-xxlg);
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    justify-items: center;
    justify-content: center;
  }

  .colab-card-img img {
    max-width: 100%;
    max-height: 100%;
    height: 30vw;
    object-fit: contain;
  }
}

/* partners ------------ */
#partners {
  border-top: 1px solid var(--clr-fixed-dark);
  padding-bottom: var(--space-lg);
}

.partners-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12vw, 1fr));
  gap: var(--space-md);
  row-gap: 0;
  margin-top: var(--space-md);
}

.partner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.partner img {
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all .4s ease;
}

.partner:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.partner-text {
  height: 1px;
  transform: translateY(0);
  opacity: 0;
  transition: all .4s ease;

  font-family: var(--ff-primary-semibold);
  font-size: var(--fs-action);
  letter-spacing: 0.05em;
  color: var(--clr-neutral-200);
  white-space: nowrap;
}

.partner:hover .partner-text {
  transform: translateY(-.5em);
  opacity: 1;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {}

@media (max-width: 768px) {
  .partners-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14vw, 1fr));
    gap: var(--space-md);
    row-gap: 0;
  }
}

@media (max-width: 560px) {
  .partners-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25vw, 1fr));
    gap: 0 var(--space-xs);
  }
}

#sumate {
  border-top: 1px solid var(--clr-fixed-dark);
  position: relative;
  view-timeline-name: --container;
  view-timeline-axis: block;
}

#sumate::before {
  content: "";
  position: absolute;
  top: 20%;
  left: 30%;
  width: 9.635416667vw;
  height: 12.44791667vw;
  background: url(../img/gota.png);
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 100;

  will-change: transform;
  transform: translate3d(0, 0, 0);

  animation: parallax-gota linear both;
  animation-timeline: --container;

  animation-range: entry -2% exit 120%;
}

@keyframes parallax-gota {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, calc(-70% + 200%), 0);
  }
}

.sumate-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: var(--space-lg);
  position: relative;
  gap: var(--space-sm);
}

#sumate .twocolrow {
  gap: var(--space-sm);
}

.parallax {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  /*view-timeline: --parallax block;*/
}

.parallax img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 145%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  /*
  animation: parallax-smooth linear both;
  animation-timeline: --parallax;
  animation-range: cover 0% cover 100%;*/
}

@keyframes parallax-smooth {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(0, -31%, 0);
  }
}

.btn-slide {
  position: relative;
  padding: var(--space-xs) var(--space-md);
  border: none;
  cursor: pointer;
  overflow: hidden;
  background: var(--clr-surface-2);
  font-size: var(--fs-action);
  letter-spacing: 0.035em;
  height: fit-content !important;
}

.btn-slide span {
  position: relative;
  z-index: 2;
  font-family: var(--ff-primary-medium);
  color: var(--clr-fixed-clear);
}

.btn-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left .4s ease;
  background: var(--clr-primary);
}

.btn-slide::after {
  content: "";
  position: absolute;
  top: calc(50% - 12px);
  right: var(--space-sm);
  width: 24px;
  height: 24px;
  background-image: url(../img/arrow-right.svg);
  background-size: cover;
}

.btn-slide:hover::before {
  left: 0;
}

.btn-slide:active {
  animation-name: blink;
  animation-duration: 1s;
}

.btn-slide:hover::after {
  rotate: 0deg;
  animation: spin-bounce 1.2s forwards;

  animation-timing-function: linear(0, 0.3639 12%, 0.7279 24%, 0.9015, 0.9778, 1.025, 1.043 43%, 1.011,
      0.991, 0.985 60%, 1.002, 1.006 73%, 0.998 83%, 1 100%);

  transform-origin: center;
}

@keyframes spin-bounce {
  to {
    rotate: 90deg;
  }
}

@keyframes blink {
  0% {
    opacity: 0;
  }

  40% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {}

@media (max-width: 768px) {

  .btn-slide {
    position: relative;
    padding: var(--space-xxs) var(--space-xs);
    border: none;
    cursor: pointer;
    overflow: hidden;
    background: var(--clr-surface-2);
    font-size: var(--fs-action);
    letter-spacing: 0.035em;
    height: fit-content !important;
  }

  .btn-slide::after {
    content: "";
    position: absolute;
    top: calc(50% - 10px);
    right: var(--space-xxs);
    width: 20px;
    height: 20px;
    background-image: url(../img/arrow-right.svg);
    background-size: cover;
  }

}

@media (max-width: 560px) {
  #sumate::before {
    content: "";
    display: none;
  }

  .btn-slide {
    position: relative;
    padding: var(--space-xxs) var(--space-xs);
    border: none;
    cursor: pointer;
    overflow: hidden;
    background: var(--clr-surface-2);
    font-size: var(--fs-action);
    letter-spacing: 0.035em;
    height: fit-content !important;
    width: 100%;
  }

  .sumate-content {
    gap: var(--space-lg);
  }
}

#contacto {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: max-height 0.8s ease-in-out, opacity 0.4s ease, visibility 0.4s;
}

#contacto.is-visible {
  max-height: 2000px;
  opacity: 1;
  visibility: visible;
}

#contacto {
  margin-inline: calc(var(--space-md) - var(--space-md) - var(--space-md));
  padding-inline: var(--space-md);
  padding-bottom: var(--space-xxlg);
  background: var(--clr-surface-2);
}

#contacto .twocolrow {
  gap: var(--space-sm);
}

#contacto .form-wrapper {
  padding-top: var(--space-lg);
}


@media (max-width: 560px) {
  #contacto .twocolrow {
    gap: var(--space-sm);
    flex-direction: column;
  }
}

#contacto form {
  display: flex;
  flex-direction: column;
  gap: var(--space-xxxs);
  align-items: stretch;
}

#contacto button {
  width: 100%;
  display: flex;
  background: var(--clr-fixed-dark);
  border: 0;
}

#contacto .btn-slide::before {
  background: var(--clr-fixed-clear);
}

#contacto .btn-slide span,
#contacto .btn-slide::after {
  mix-blend-mode: difference;
}

#contacto .btn-slide:hover::after {
  transform: translateX(0);
  animation: side-bounce 1.2s forwards;

  animation-timing-function: linear(0, 0.3639 12%, 0.7279 24%, 0.9015, 0.9778, 1.025, 1.043 43%, 1.011,
      0.991, 0.985 60%, 1.002, 1.006 73%, 0.998 83%, 1 100%);

  transform-origin: center;
}

@keyframes side-bounce {
  to {
    rotate: -45deg;
  }
}

.custom-message,
#submitBtn {
  grid-column: 1 / -1;
}

.form-wrapper input:not([type="submit"]),
.form-wrapper select,
.form-wrapper textarea {
  box-sizing: border-box;
  width: 100%;
  height: 3rem;
  padding: 0 1rem;

  font-size: var(--fs-action);
  color: var(--clr-fixed-dark) !important;
  background-color: var(--clr-surface-2);
  border: 1px solid var(--clr-fixed-dark);
  border-radius: 0;
  transition: border-color 0.4s, box-shadow 0.4s;
}

.form-wrapper textarea {
  height: auto;
  min-height: 100px;
  padding-top: 0.75rem;
  resize: vertical;
}

.form-wrapper :is(input, select, textarea):focus {
  outline: none;
  border-color: var(--clr-fixed-dark);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0);
}

.form-wrapper select {
  appearance: none;
  -webkit-appearance: none;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://w3.org' fill='none' viewBox='0 0 24 24' stroke='%23666666' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-wrapper select:invalid,
.form-wrapper select option[value=""] {
  color: var(--clr-fixed-dark) !important;
}

.form-wrapper select option {
  color: var(--clr-fixed-dark) !important;
  background-color: var(--clr-surface-2);
  padding: 10px;
}

#submitBtn {
  height: 3rem;
  border: none;
  border-radius: 0;
  background-color: var(--clr-fixed-dark);
  color: var(--clr-fixed-clear) !important;
  font-family: var(--ff-primary-semibold);
  font-size: var(--fs-action);
  cursor: pointer;
  transition: background-color 0.4s;
}

#submitBtn:hover:not(:disabled) {
  background-color: var(--clr-neutral-200);
}

#submitBtn:disabled {
  background-color: var(--clr-neutral-200);
  color: var(--clr-neutral-100) !important;
  cursor: not-allowed;
}

.form-wrapper :is(input, textarea)::placeholder {
  color: var(--clr-fixed-dark);
  opacity: 1;
}

.form-wrapper select:invalid {
  color: var(--clr-fixed-dark);
}

.form-wrapper select option {
  color: var(--clr-fixed-dark);
}

.form-wrapper :is(input, select, textarea):focus::placeholder {
  color: var(--clr-fixed-dark);
}

.form-wrapper :is(input, select, textarea):-webkit-autofill {
  box-shadow: 0 0 0px 1000px var(--clr-surface-2) inset !important;
  -webkit-text-fill-color: var(--clr-fixed-dark) !important;
  border-radius: 0;
}

.form-wrapper :is(input, select, textarea):-webkit-autofill:focus {
  box-shadow: 0 0 0px 1000px var(--clr-surface-2) inset, 0 0 0 3px var(--clr-primary) !important;
  border-color: var(--clr-fixed-dark);
}


/* páginas internas --------------- */

.interna .hero_text {
  position: relative;
  display: flex;
  padding-bottom: var(--header-height);
  padding-top: calc(var(--header-height) * 2);
  flex-direction: column;
  transition: opacity 0.4s ease;
  z-index: 999;
  padding-inline: var(--space-sm);
  color: var(--clr-off-white);
  background: var(--clr-surface-2);
  z-index: 2;
  background-image: url(../img/noticias-hero.svg);
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: contain;
}

.noticias {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.noticia-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  background: var(--clr-off-white);
  border: 1px solid var(--clr-surface-2);
  padding: var(--space-md);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.noticia-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}


@media (min-width: 767px) {
  .noticias {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: end;
    justify-content: end;
    gap: var(--space-md);
  }

  .noticia-card {
    display: flex;
    flex-direction: row;
    gap: var(--space-sm);
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    background: var(--clr-off-white);
    border: 1px solid var(--clr-surface-2);
    padding: var(--space-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  .noticia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  }

  .noticia-card:nth-child(4n+3),
  .noticia-card:nth-child(4n+4) {
    flex-direction: row-reverse;
  }
}

.noticia-text {
  line-height: 1.3;
}

.noticia-text h3 {
  margin-bottom: 1em;
  font-family: var(--ff-primary-semibold);
  font-size: var(--fs-statement);
}

.noticia-text p {
  margin-bottom: 1em;
  font-family: var(--ff-secondary);
}

.leer-mas-link {
  display: inline-block;
  font-size: var(--fs-action);
  font-family: var(--ff-primary-semibold);
  letter-spacing: 0.05em;
  color: inherit;
  white-space: nowrap;
  text-decoration: none;
  padding: var(--space-xxs) var(--space-xs);
  background: var(--clr-brand-4);
}

.noticia-card:hover .leer-mas-link {
  color: var(--clr-off-white);
  background: var(--clr-secondary);
}


.noticia-card .leer-mas-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.noticia-img img {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.noticia-img {
  display: block;
  align-self: stretch;
  overflow: hidden;
  flex: 3;
}

.noticia-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.noticia-text {
  flex: 4;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {}

@media (max-width: 768px) {
  .noticia-img {
    display: block;
    align-self: stretch;
    overflow: hidden;
    height: 20vmax;
    flex: 1;
  }

  .noticia-text {
    align-self: normal;
    flex: 0;
  }

  .noticia-text h3 {
    margin-bottom: 1em;
    font-family: var(--ff-primary-semibold);
    font-size: calc(var(--fs-statement)*.9);
  }
}

@media (max-width: 430px) {}


/* pagina noticias --------------- */

#noticias {
  padding-bottom: var(--space-xxlg);
}

.interna.noticia .hero_text {
  padding-bottom: calc(var(--header-height) * 2);
  padding-top: calc(var(--header-height) * 2);
  transition: opacity 0.4s ease;
  z-index: 2;
}

.faq .hero_main_text h1,
.noticia .hero_main_text h1 {
  font-family: var(--ff-primary-semibold);
  font-size: 60px;
  font-size: calc(var(--fs-heading-xl) * .66);
  letter-spacing: .025em;
  line-height: 1;
  margin: 0;
  max-width: 9999em;
}

.noticia .hero_supporting_text {
  padding-top: 0;
}

.noticia .hero_supporting_text p {
  margin: 0;
  line-height: 1;
}

@media (max-width: 560px) {
  .noticia .hero_supporting_text {
    margin: 0;
    line-height: 1;
    position: absolute;
    left: 0;
    padding-bottom: 1em;
    bottom: 100%;
  }

  .hero_text_content {
    position: relative;
  }
}

.container-noticia {
  max-width: 900px;
  margin: 0 auto;
}

.btn-volver {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xxxs);
  transition: color 0.4s ease;
  font-family: var(--ff-primary-semibold);
  text-decoration: none;
  letter-spacing: .1em;
  color: inherit;
}

.btn-volver::before {
  content: "";
  position: relative;
  width: 1em;
  height: 1em;
  background: url(../img/arrow-left.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  transform: translateX(0);
  transition: all .4s ease;
}

.btn-volver:hover::before {
  transform: translateX(-2px);
  transition: all .4s ease;
}

.btn-volver:hover {}

.faq-cuerpo-container,
.noticia-cuerpo-container {
  width: 90vw;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding-bottom: var(--space-xxlg);
  position: relative;
}

.faq-cuerpo-container {
  padding-top: var(--header-height);
  padding-inline: var(--space-sm);
}

@media (max-width: 560px) {

  .faq-cuerpo-container {
    width: 100vw;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding-bottom: var(--space-xxlg);
    position: relative;
  }

  .faq-cuerpo-container {
    padding-top: var(--header-height);
  }
}

.noticia-main-image {
  margin-top: calc(var(--header-height) *-1 - var(--space-sm));
  position: relative;
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  min-height: 60vh;
}

.noticia-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-contenido-texto,
.noticia-contenido-texto {
  font-size: var(--fs-body);
}

.faq-contenido-texto .lead,
.noticia-contenido-texto .lead {
  font-size: 1.2em;
  line-height: 1.5;
}

.faq-contenido-texto h4,
.noticia-contenido-texto h4 {
  font-size: 1.6em;
  font-family: var(--ff-primary-semibold);
  margin-block: 1em;
}

.faq-contenido-texto p,
.noticia-contenido-texto p {
  margin-bottom: 1em;
  font-size: calc(var(--fs-body) * 1);
  line-height: 1.5;
}




.preg {
  border-top: 1px solid currentColor;
}

.preg:last-child {
  border-bottom: 1px solid currentColor;
}

.preg summary {
  position: relative;
  padding: var(--space-sm) calc(var(--space-md) + 1.5rem) var(--space-sm) 0;
  cursor: pointer;
  list-style: none;
}

.preg summary::-webkit-details-marker {
  display: none;
}

.preg summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  font-size: 1.5em;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.4s ease;
}

.preg[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

/*
.preg .resp {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.4s ease,
    opacity 0.3s ease;
}

.preg[open] .resp {
  grid-template-rows: 1fr;
  opacity: 1;
}
*/
.resp-inner {
  overflow: hidden;
}

.resp-inner p:last-child {
  margin-bottom: var(--space-sm);
}






@media (max-width:560px) {
  .noticia-cuerpo-container {
    width: 90%;
  }
}

.pull-quote {
  background: var(--clr-off-white);
  background: color-mix(in srgb,
      var(--clr-off-white) 90%,
      transparent);
  position: relative;
  margin-top: calc(var(--header-height) * -1.5);
  margin-right: -10%;
  margin-left: auto;
  z-index: 999;
  width: 80%;
  max-width: 23em;
  padding: 1em .66em;
  /* margin-left: calc(var(--space-xl) * -3); */
  font-family: var(--ff-secondary-italic);
  font-size: 1.5em;
  line-height: 1.2;
  color: var(--clr-brand-3);
  text-align: right;
}

@media (max-width: 600px) {
  .pull-quote {
    position: relative;
    /* float: none; */
    width: 100%;
    margin: 0 0 30px 0;
    padding: 0;
    background: transparent;

    right: 0;
    top: 0;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {}

@media (max-width: 768px) {
  .noticia-main-image {
    margin-top: calc(var(--header-height) * -1 - var(--space-sm));
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
  }

}

@media (max-width: 560px) {
  .noticia-main-image {
    margin-top: calc(var(--header-height) * -1 - var(--space-sm));
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
  }
}

/* REPOSITORIO */

.interna .repo-hero {
  position: relative;
  display: flex;
  padding-bottom: var(--header-height);
  padding-top: calc(var(--header-height) * 2);
  flex-direction: column;
  transition: opacity 0.4s ease;
  z-index: 999;
  padding-inline: var(--space-sm);
  color: var(--clr-off-white);
  background: var(--clr-surface-1);
  z-index: 2;
  background-image: url(../img/repo-hero.svg);
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: contain;
}

#repositorio {
  padding-bottom: var(--space-xxlg);
  min-height: 90dvh;
}

.repo-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-block: var(--space-md);
  background: var(--clr-soft-white);
  width: fit-content;
  margin-inline: auto;
}

button.filter-btn {
  display: none;
  /*temporalmente oculto*/
  padding: 10px 20px;
  border: 1px solid var(--clr-fixed-dark);
  background: transparent;
  cursor: pointer;
  font-family: var(--ff-primary);
  transition: all 0.4s ease;
}

button.filter-btn.active,
button.filter-btn:hover {
  background: var(--clr-fixed-dark);
  color: var(--clr-off-white);
}

a.filter-btn {
  position: relative;
  border: none;
  overflow: hidden;
  height: 100%;
  padding: var(--space-xs) var(--space-xs);
  display: flex;
  justify-content: center;
  align-items: center;

  color: var(--clr-fixed-dark);
  font-family: var(--ff-primary-medium);
  font-size: var(--fs-action);
  letter-spacing: 0.035em;
  text-decoration: none;
  transition:
    padding 0.4s ease,
    font-size 0.4 ease,
}

a.filter-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0%;
  height: 100%;
  transition: all .4s ease;
  background: var(--clr-surface-1);
  opacity: 0;
}

a.filter-btn.active::before,
a.filter-btn:hover::before {
  left: 0;
  width: 100%;
  transition: all .4s ease;
  opacity: 1;
}


a.filter-btn span {
  position: relative;
  z-index: 2;
  transition: all .4s ease;
}

a.filter-btn.active span,
a.filter-btn:hover span {
  position: relative;
  z-index: 2;
  color: var(--clr-off-white);
  transition: all .4s ease;
}

@media (max-width: 560px) {
  .repo-filters {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    max-width: 90%;
    display: flex;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    flex-wrap: nowrap;
    margin-block: 0;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
  }

  .repo-filters::-webkit-scrollbar {
    display: none;
  }

  a.filter-btn {
    padding: var(--space-xxs) var(--space-xxxs) !important;
    font-size: var(--fs-eyebrow);
    color: var(--clr-fixed-dark);
    background: rgba(255, 255, 255, 0.05);
    font-family: var(--ff-primary);
  }

  a.filter-btn.last {
    padding-right: var(--space-xs) !important;
  }

  a.filter-btn:first-child {
    padding-left: var(--space-xs) !important;
  }

  a.filter-btn.active {
    background: var(--clr-fixed-dark);
    color: var(--clr-off-white);
  }
}


.repo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
  padding: var(--space-md) 0;
  max-width: 1200px;
  margin: 0 auto;
}

.repo-card {
  background: var(--clr-off-white);
  border: 1px solid var(--clr-brand-3);
  padding: var(--space-md);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.repo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.card-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  padding: var(--space-xxxxs) var(--space-xxxs);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.05em;
  text-transform: uppercase;

}

.badge-pdf {
  background: #ffebee;
  color: var(--clr-primary);
}

.badge-ppt {
  background: color-mix(in srgb, var(--clr-brand-4) 10%, transparent);
  color: var(--clr-brand-4);
}

.badge-info {
  background: color-mix(in srgb, var(--clr-brand-3) 10%, transparent);
  color: var(--clr-brand-3);
}

.badge-video {
  background: color-mix(in srgb, var(--clr-surface-3) 10%, transparent);
  color: var(--clr-surface-3);
}

.badge-doc {
  background: color-mix(in srgb, var(--clr-neutral-200) 10%, transparent);
  color: var(--clr-neutral-200);
}

.repo-card .card-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex-grow: 1;
}

.repo-card h3 {
  font-family: var(--ff-primary-semibold);
  font-size: var(--fs-statement);
  line-height: 1.2;
}

.repo-card p {
  line-height: 1.4;
}

.card-action {
  display: inline-block;
  text-decoration: none;
  color: var(--clr-fixed-dark);
  font-family: var(--ff-primary-medium);
  font-size: var(--fs-action);
  border-bottom: 2px solid var(--clr-fixed-dark);
  width: fit-content;
}


.gotop-wrapper {
  position: fixed;
  top: 0;
  bottom: auto;
  left: calc(50% - var(--space-lg));
  right: calc(50% - var(--space-lg));
  z-index: 0;
  /* transform: translateY(90%); */
  display: flex;
  justify-content: center;
}

.gotop {
  width: 8.125vw;
  height: 8.125vw;
  background: url(../img/gotop.png);
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
  transform: translateY(200%);
  transition: all .4s ease;
}

.gotop-wrapper:hover {
  opacity: 1;
  transition: all .4s ease;
}

.gotop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(-115%);

  transition: all .4s ease;
}

.gotop.show:hover {
  transform-origin: bottom center;
  transform: translateY(-110%);
  transition: all .4s ease;
}

html {
  scroll-behavior: smooth;
}

main {
  padding-bottom: 0;
}

footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  justify-content: flex-end;
  position: relative;
  background: var(--clr-fixed-dark);
  padding-top: var(--space-xlg);
  padding-inline: var(--space-xs);
  color: var(--clr-fixed-clear);
  min-height: 100dvh;
}

.footer-head {
  margin-bottom: var(--space-xlg);
}

.footer-head img {
  max-width: 100%;
}

.footer-content .twocolrow {
  align-items: flex-start;
}

@media (max-width: 560px) {
  .footer-content .twocolrow {
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-content .twocolrow>div {
    flex: auto;
  }
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer a {
  color: inherit;
}

.footer a:hover {
  color: var(--clr-brand-4)
}

footer .social {
  display: flex;
  gap: var(--space-xxs);
  align-items: center;
  justify-content: end;
  transition: padding 0.4s ease, width 0.4s ease;
}

footer .social a img {
  width: max(24px, 2vw);
  height: max(24px, 2vw);
  transition: transform 0.4s ease, filter 0.4s ease;
  transform-origin: center center;
}

footer .social a,
footer .social a:not([class]) {

  transition: all .4s ease;
  display: block;
}

footer .social a:hover {
  opacity: .9;
}

.footer-credits {
  position: relative;
  border-top: 1px solid var(--clr-neutral-200);
  padding-block: var(--space-md);
}

.footer-credits .twocolrow {
  justify-content: space-between;
  align-items: center;
}

.footer-logos {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: var(--space-md);
  font-size: 1vw;
}

.footer-logo {
  flex: 0 0 auto;
}

.footer-logo a,
.footer-logo img {
  display: block;
}

.footer-logo img {
  width: auto;
  max-width: none;
  object-fit: contain;
}

.footer-logo--pacifico img {
  height: 2.55em;
}

.footer-logo--escuelar img {
  height: 4.55em;
}

.footer-logo--peru-sostenible img {
  height: 3.15em;
}

.footer-logo--apoyo img {
  height: 5.75em;
  transform: translateY(18%);
}

.copy {
  font-size: var(--fs-eyebrow);
  opacity: .8;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {}

@media (max-width: 768px) {

  footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    justify-content: flex-end;
    position: relative;
    background: var(--clr-fixed-dark);
    padding-top: var(--space-xlg);
    padding-inline: var(--space-xs);
    color: var(--clr-fixed-clear);
    min-height: 70dvh;
  }

  .footer-credits .twocolrow {
    flex-direction: column;
    gap: var(--space-xxxs);
  }

}

@media (max-width: 560px) {

  .footer-logos {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    gap: var(--space-md);
    font-size: 2vw;
  }
}






::-webkit-scrollbar {
  width: .5vw;
  height: .5vw;
}

::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}

::-webkit-scrollbar-thumb {
  background: var(--clr-fixed-dark);
  border: 0px none var(--clr-fixed-dark);
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--clr-secondary);
}

::-webkit-scrollbar-thumb:active {
  background: var(--clr-secondary);
}

::-webkit-scrollbar-track {
  background: var(--clr-off-white);
  border: 0px none var(--clr-off-white);
  border-radius: 0;
}

::-webkit-scrollbar-track:hover {
  background: var(--clr-off-white);
}

::-webkit-scrollbar-track:active {
  background: var(--clr-off-white);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

@media (max-width: 1900px) {
  ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }
}




header nav a.repo {
  display: none;
}