/* ============================================================
   GESTIÓN BIC
   Secciones full-width con las imágenes de assets/gestionbig_img.
   El texto va sobre las zonas de fondo liso de cada imagen.
   ============================================================ */

/* URW Gothic (clon libre de ITC Avant Garde Gothic).
   Fuente: github.com/ArtifexSoftware/urw-base35-fonts
   Licencia en assets/fonts/urw-gothic/LICENSE */
@font-face {
  font-family: 'URW Gothic';
  src: url('../assets/fonts/urw-gothic/URWGothic-Book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'URW Gothic';
  src: url('../assets/fonts/urw-gothic/URWGothic-BookOblique.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'URW Gothic';
  src: url('../assets/fonts/urw-gothic/URWGothic-Demi.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'URW Gothic';
  src: url('../assets/fonts/urw-gothic/URWGothic-DemiOblique.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --bic-dark: #0c2415;   /* verde del lienzo del diseño */
  --bic-light: #eafce9;
}

/* La fuente se aplica solo a esta página */
.bicp {
  background: var(--bic-dark);
  color: #fff;
  font-family: 'URW Gothic', 'Poppins', sans-serif;
}

/* ---- Base de cada sección: imagen full-width ---- */
.bicp-s {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  /* Imágenes de 1920x850 que empalman entre secciones. aspect-ratio para
     que no se recorten (con cover + alto fijo se perdía el empalme).
     min-height de respaldo y para móvil. */
  aspect-ratio: 1920 / 850;
  min-height: 420px;
  overflow: hidden;
}

/* ---- Bloques de texto (van sobre el fondo liso de cada imagen) ---- */
.bicp-block {
  max-width: 560px;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
}
.bicp-block--left  { margin-left: clamp(1.5rem, 8vw, 10rem); margin-right: auto; }
.bicp-block--right { margin-left: auto; margin-right: clamp(1.5rem, 8vw, 10rem); }

.bicp-tag {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.35rem 1rem;
  margin-bottom: 1.4rem;
}

.bicp-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fd487;
  margin-bottom: 0.9rem;
}

.bicp-title {
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.14;
  margin-bottom: 1.2rem;
}

.bicp-text {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.bicp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.bicp-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}
.bicp-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8fd487;
}

/* ---- 1. HERO ----
   1.png ya trae la foto circular y la línea con el punto (~78% del alto).
   Los textos van en % para que calcen con la línea en cualquier ancho. */
.bicp-hero {
  position: relative;
  background-image: url('../assets/gestionbig_img/1.png');
  display: block;
}

/* Lista de accesos, arriba a la izquierda */
.bicp-hero__nav {
  position: absolute;
  top: 21%;
  left: 5.3%;
  width: 32%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.15vw;
}
.bicp-hero__nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: clamp(0.85rem, 1.15vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
  padding-bottom: 0.45vw;
  border-bottom: 1px solid rgba(255,255,255,0.9);
  transition: opacity 0.2s;
}
.bicp-hero__nav a:hover { opacity: 0.75; }

/* Píldora blanca "Conoce nuestro Informe de Gestión BIC" */
.bicp-hero__cta {
  position: absolute;
  left: 5.3%;
  top: 58%;
  z-index: 2;
  display: inline-block;
  background: #fff;
  color: var(--bic-dark);
  text-decoration: none;
  font-size: clamp(0.72rem, 0.95vw, 1.05rem);
  font-weight: 400;
  line-height: 1;
  padding: 0.55em 1.2em;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s;
}
.bicp-hero__cta:hover { background: var(--bic-light); }

/* Título grande en peso ligero, asentado justo encima de la línea del fondo */
.bicp-hero__title {
  position: absolute;
  left: 5.3%;
  bottom: 23.3%;
  z-index: 2;
  margin: 0;
  font-size: clamp(2.2rem, 3.9vw, 4.6rem);
  font-weight: 300;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.01em;
}

/* ---- 2. COLOMBIA (texto izquierda, mapa derecha) ----
   Medidas sobre diseño de 1600px, pasadas a vw */
.bicp-colombia {
  background-image: url('../assets/gestionbig_img/2.png');
}
.bicp-welcome {
  width: 53%;
  max-width: none;
  margin-left: 5.3%;
  margin-right: auto;
  padding: 0;
  color: #fff;
}
.bicp-welcome__title {
  font-size: clamp(1.6rem, 2.6vw, 3.1rem);
  font-weight: 300;
  line-height: 1.15;
  margin: 0 0 1.6em;
}
.bicp-welcome__title strong { font-weight: 800; }
.bicp-welcome__text {
  font-size: clamp(0.9rem, 1.12vw, 1.35rem);
  line-height: 1.45;
  margin: 0 0 1.35em;
}
.bicp-welcome__text strong { font-weight: 800; }
.bicp-welcome__lead {
  font-size: clamp(1.1rem, 1.6vw, 1.95rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

/* ---- 3. GLOBO (globo izquierda, texto derecha) ---- */
.bicp-globo {
  background-image: url('../assets/gestionbig_img/3.png');
}
.bicp-planet {
  max-width: none;
  margin-left: auto;
  margin-right: 9.7%;
  padding: 0;
  text-align: right;
  color: #fff;
}
.bicp-planet__title {
  font-size: clamp(1.7rem, 3.25vw, 3.9rem);
  font-weight: 300;
  line-height: 1.1;
  margin: 0;
}
.bicp-planet__title strong { font-weight: 800; }

/* ---- 4. FRASE ----
   Cita abajo a la derecha, posicionada en % */
.bicp-suelo {
  background-image: url('../assets/gestionbig_img/4.png');
  display: block;
}
.bicp-quote {
  position: absolute;
  right: 8.4%;
  bottom: 16%;
  z-index: 1;
  text-align: right;
  color: #fff;
}
.bicp-quote__text {
  font-size: clamp(1.15rem, 2.1vw, 2.5rem);
  font-weight: 300;
  line-height: 1.15;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
}
.bicp-quote__author {
  font-size: clamp(0.85rem, 1.25vw, 1.5rem);
  font-weight: 400;
  line-height: 1;
  margin: 1.1em 4.4% 0 0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
}

/* ---- 5. ECONOMÍA / PRÁCTICAS LABORALES ----
   5.png: punto en x≈42%, línea en y≈21% */
.bicp-economia {
  background-image: url('../assets/gestionbig_img/5.png');
  display: block;
}
.bicp-labor {
  position: absolute;
  inset: 0;
  z-index: 1;
  color: #fff;
}
.bicp-labor__title {
  position: absolute;
  left: 5.3%;
  top: 21.2%;
  transform: translateY(-50%);
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.bicp-labor__text {
  position: absolute;
  left: 5.3%;
  top: 32.5%;
  width: 38%;
  margin: 0;
  font-size: clamp(0.95rem, 1.3vw, 1.55rem);
  line-height: 1.3;
}
.bicp-labor__text strong { font-weight: 800; }
.bicp-labor__lead {
  position: absolute;
  left: 5.3%;
  top: 56.4%;
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 3.1rem);
  font-weight: 300;
  line-height: 1.05;
}
.bicp-labor__lead strong {
  display: block;
  font-size: 1.19em;
  font-weight: 800;
}

/* ---- 6. AMBIENTE / PRÁCTICAS AMBIENTALES ----
   6.png: punto en x≈55.7%, y≈18.8% */
.bicp-ambiente {
  background-image: url('../assets/gestionbig_img/6.png');
  display: block;
}
.bicp-env {
  position: absolute;
  inset: 0;
  z-index: 1;
  color: #fff;
}
.bicp-env__title {
  position: absolute;
  left: 59%;
  top: 18.8%;
  transform: translateY(-50%);
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.bicp-env__text {
  position: absolute;
  left: 59%;
  top: 28.5%;
  width: 34%;
  margin: 0;
  font-size: clamp(0.95rem, 1.2vw, 1.45rem);
  line-height: 1.3;
}
.bicp-env__text strong { font-weight: 800; }
.bicp-env__list {
  position: absolute;
  left: 60.3%;
  top: 54%;
  margin: 0;
  padding: 0 0 0 1.1em;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: 1.9em;
  font-size: clamp(0.95rem, 1.2vw, 1.45rem);
  line-height: 1;
}
.bicp-env__list li::marker { font-size: 0.6em; }

/* ---- 7. SOCIAL / PRÁCTICAS CON LA COMUNIDAD ----
   7.png: punto en x≈56.9%, línea en y≈25.9% */
.bicp-social {
  background-image: url('../assets/gestionbig_img/7.png');
  display: block;
}
.bicp-community {
  position: absolute;
  inset: 0;
  z-index: 1;
  color: #fff;
}
.bicp-community__title {
  position: absolute;
  left: 5.3%;
  top: 25.9%;
  transform: translateY(-50%);
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.bicp-community__text {
  position: absolute;
  left: 5.3%;
  top: 36.9%;
  width: 44%;
  margin: 0;
  font-size: clamp(0.95rem, 1.2vw, 1.45rem);
  line-height: 1.3;
}
.bicp-community__text--second { top: 61.1%; }
.bicp-community__text strong { font-weight: 800; }
.bicp-social::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(6,16,10,0.78) 0%, rgba(6,16,10,0.4) 50%, transparent 78%);
  pointer-events: none;
}

/* ---- 8. CIERRE (bodega + logo BIC) ---- */
.bicp-cierre {
  background-image: url('../assets/gestionbig_img/8.png');
  display: block;
}
.bicp-closing {
  position: absolute;
  inset: 0;
  z-index: 1;
  color: #fff;
}
.bicp-closing__text {
  position: absolute;
  left: 6.6%;
  top: 26%;
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 3rem);
  font-weight: 300;
  line-height: 1.25;
}
.bicp-closing__text strong {
  display: block;
  font-size: 1.3em;
  font-weight: 800;
  line-height: 1.05;
  margin-top: 0.12em;
}
.bicp-cierre::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(6,16,10,0.7) 0%, rgba(6,16,10,0.3) 50%, transparent 75%);
  pointer-events: none;
}

/* ---- Botones ---- */
.bicp-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}
.bicp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #5db446;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.15s;
}
.bicp-btn:hover { background: #4a9237; transform: translateY(-1px); }
.bicp-btn--outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.6);
}
.bicp-btn--outline:hover { background: rgba(255,255,255,0.12); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  /* En angosto la sección crece con el contenido. Con aspect-ratio y
     overflow:hidden se cortaban los textos largos. */
  .bicp-s { aspect-ratio: auto; min-height: 480px; overflow: visible; }
  .bicp-block,
  .bicp-block--left,
  .bicp-block--right {
    max-width: 100%;
    margin: 0;
    padding: 3.5rem 1.5rem;
  }
  /* Sin fondo liso en pantallas angostas: overlay para que se lea */
  .bicp-colombia::before,
  .bicp-globo::before,
  .bicp-cierre::before,
  .bicp-economia::before,
  .bicp-ambiente::before,
  .bicp-social::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(6,16,10,0.55);
    pointer-events: none;
  }
  /* En angosto la imagen se recorta y la línea ya no cae en el mismo lugar:
     se oculta la lista de accesos y título/píldora se apilan abajo */
  .bicp-hero__nav { display: none; }
  .bicp-hero__cta { top: auto; bottom: 5.5rem; left: 1.5rem; }
  .bicp-hero__title { bottom: 2rem; left: 1.5rem; }
  .bicp-welcome { width: 100%; margin: 0; padding: 3.5rem 1.5rem; }
  /* La pregunta sigue pegada a la derecha (el globo ocupa la izquierda). */
  .bicp-planet { margin-left: auto; margin-right: 0; padding: 3.5rem 1.5rem; }
  .bicp-quote { right: 1.5rem; bottom: 2rem; left: 1.5rem; }
  /* Prácticas laborales: textos en flujo normal */
  .bicp-economia { display: flex; }
  .bicp-labor { position: relative; inset: auto; padding: 3.5rem 1.5rem; }
  .bicp-labor__title,
  .bicp-labor__text,
  .bicp-labor__lead { position: static; transform: none; width: auto; }
  .bicp-labor__title { white-space: normal; margin-bottom: 1.2rem; }
  .bicp-labor__text { margin-bottom: 1.6rem; }
  /* Prácticas ambientales: igual */
  .bicp-ambiente { display: flex; }
  .bicp-env { position: relative; inset: auto; padding: 3.5rem 1.5rem; }
  .bicp-env__title,
  .bicp-env__text,
  .bicp-env__list { position: static; transform: none; width: auto; }
  .bicp-env__title { white-space: normal; margin-bottom: 1.2rem; }
  .bicp-env__text { margin-bottom: 1.6rem; }
  .bicp-env__list { gap: 0.9em; }
  /* Prácticas con la comunidad: igual */
  .bicp-social { display: flex; }
  .bicp-community { position: relative; inset: auto; padding: 3.5rem 1.5rem; }
  .bicp-community__title,
  .bicp-community__text { position: static; transform: none; width: auto; }
  .bicp-community__title { white-space: normal; margin-bottom: 1.2rem; }
  .bicp-community__text { margin-bottom: 1.2rem; }
  /* Cierre: la frase pasa a flujo normal, alineada a la izquierda. */
  .bicp-cierre { display: flex; }
  .bicp-closing { position: relative; inset: auto; padding: 3.5rem 1.5rem; }
  .bicp-closing__text { position: static; }
}

@media (max-width: 520px) {
  .bicp-s { min-height: 420px; }
  .bicp-title { font-size: 1.55rem; }
  .bicp-hero__title { font-size: 1.8rem; }
  .bicp-quote__text { font-size: 1.15rem; }
  .bicp-actions { flex-direction: column; align-items: stretch; }
  .bicp-btn { justify-content: center; }
}
