/*
 * Grupo Bioingenia — mejoras globales v1.0.0
 * Aviso de cookies compacto y diálogo de emergencias para escritorio.
 */

/* El aviso conserva las dos decisiones con la misma claridad, sin ocultar el Hero. */
.gb-cookie-consent {
  right: clamp(12px, 2vw, 24px) !important;
  bottom: clamp(12px, 2vw, 20px) !important;
  left: clamp(12px, 2vw, 24px) !important;
}

.gb-cookie-consent__inner {
  width: min(900px, 100%) !important;
  padding: 11px 14px !important;
  gap: 12px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  border-radius: 22px !important;
}

.gb-cookie-consent__eyebrow {
  margin-bottom: 3px !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
}

.gb-cookie-consent__title {
  margin: 0 0 3px !important;
  font-size: clamp(18px, 1.7vw, 22px) !important;
  line-height: 1.08 !important;
}

.gb-cookie-consent__text {
  margin: 0 !important;
  font-size: 12.5px !important;
  line-height: 1.4 !important;
}

.gb-cookie-consent__link {
  display: inline-block !important;
  margin-top: 3px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.gb-cookie-consent__actions {
  gap: 8px !important;
}

.gb-cookie-consent__button {
  min-height: 44px !important;
  padding: 9px 15px !important;
  font-size: 12.5px !important;
  white-space: nowrap !important;
}

/* Diálogo de emergencias: alternativa real al enlace tel: en computadores. */
.gb-emergency-dialog[hidden] {
  display: none;
}

.gb-emergency-dialog {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.gb-emergency-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 40, 31, 0.62);
  backdrop-filter: blur(5px);
}

.gb-emergency-dialog__panel {
  position: relative;
  width: min(470px, 100%);
  padding: 30px;
  border: 1px solid rgba(7, 76, 58, 0.14);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(3, 40, 31, 0.25);
  color: #12372f;
}

.gb-emergency-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #d9e3df;
  border-radius: 50%;
  background: #fff;
  color: #12372f;
  cursor: pointer;
  font: inherit;
  font-size: 22px;
}

.gb-emergency-dialog__eyebrow {
  margin: 0 48px 8px 0;
  color: #b3263e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gb-emergency-dialog__title {
  margin: 0 42px 10px 0;
  color: #063f32;
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.08;
}

.gb-emergency-dialog__text {
  margin: 0 0 22px;
  color: #47635c;
  font-size: 15px;
  line-height: 1.55;
}

.gb-emergency-dialog__actions {
  display: grid;
  gap: 10px;
}

.gb-emergency-dialog__action {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid #bfd0ca;
  border-radius: 14px;
  background: #fff;
  color: #063f32;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.gb-emergency-dialog__action--primary {
  border-color: #b3263e;
  background: #b3263e;
  color: #fff;
}

.gb-emergency-dialog__action--whatsapp {
  border-color: #16784e;
  color: #116640;
}

.gb-emergency-dialog__action:hover,
.gb-emergency-dialog__action:focus-visible,
.gb-emergency-dialog__close:focus-visible {
  outline: 3px solid rgba(135, 197, 36, 0.45);
  outline-offset: 2px;
}

.gb-emergency-dialog__status {
  min-height: 20px;
  margin: 10px 0 0;
  color: #3f5d55;
  font-size: 13px;
  text-align: center;
}

body.gb-dialog-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .gb-cookie-consent__inner {
    padding: 11px 12px !important;
    gap: 10px !important;
    grid-template-columns: 1fr !important;
    border-radius: 18px !important;
  }

  .gb-cookie-consent__title {
    font-size: 18px !important;
  }

  .gb-cookie-consent__text {
    font-size: 12.5px !important;
  }

  .gb-cookie-consent__actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }

  .gb-cookie-consent__button {
    width: 100% !important;
    padding-inline: 9px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gb-emergency-dialog *,
  .gb-emergency-dialog *::before,
  .gb-emergency-dialog *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
 * Grupo Bioingenia — actualización incremental v1.1.7
 * Redes institucionales visibles y recepción segura de hojas de vida.
 * -------------------------------------------------------------------------- */

.gb-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.gb-social-links a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #073f30;
  border-radius: 50%;
  color: #fff;
  background: #073f30;
  box-shadow: 0 6px 16px rgba(7, 63, 48, 0.16);
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.gb-social-links a:hover,
.gb-social-links a:focus-visible {
  border-color: #4d7810;
  background: #4d7810;
  color: #fff;
  box-shadow: 0 8px 20px rgba(7, 63, 48, 0.24);
  transform: translateY(-2px);
}

.gb-social-links a:focus-visible {
  outline: 3px solid rgba(132, 180, 32, 0.38);
  outline-offset: 3px;
}

.gb-social-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.gb-social-links a:nth-child(2) svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
}

.gb-social-links .gb-social-dot {
  fill: currentColor;
  stroke: none;
}

.gb-social-links .gb-social-play {
  fill: #073f30;
  stroke: none;
}

.gb-social-links a:hover .gb-social-play,
.gb-social-links a:focus-visible .gb-social-play {
  fill: #4d7810;
}

.gb-social-links a > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gb-career-application {
  width: min(calc(100% - (2 * var(--page-gutter, clamp(24px, 4.8vw, 72px)))), 1356px);
  margin: 0 auto 118px;
  display: grid;
  grid-template-columns: minmax(330px, 0.74fr) minmax(520px, 1.26fr);
  overflow: hidden;
  border: 1px solid #d7e2d9;
  border-radius: 6px 32px 6px 6px;
  background: #f5f8f2;
  box-shadow: 0 24px 70px rgba(7, 67, 50, 0.14);
  scroll-margin-top: 115px;
}

.gb-career-application__intro {
  padding: clamp(46px, 5vw, 72px);
  color: #fff;
  background:
    radial-gradient(circle at 5% 0, rgba(165, 213, 43, 0.22), transparent 31%),
    #063f32;
}

.gb-career-application__intro .eyebrow {
  color: #cae782;
  margin-bottom: 19px;
}

.gb-career-application__intro h2 {
  max-width: 580px;
  margin: 0 0 21px;
  color: #fff;
  font-size: clamp(38px, 3.8vw, 58px);
  font-weight: 760;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.gb-career-application__intro > p:not(.eyebrow) {
  max-width: 540px;
  margin: 0;
  color: #ccdbd5;
  font-size: 14px;
  line-height: 1.72;
}

.gb-career-application__intro ul {
  display: grid;
  gap: 10px;
  margin: 29px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.gb-career-application__intro li {
  position: relative;
  padding-left: 18px;
  color: #e3ece8;
  font-size: 12.5px;
  font-weight: 690;
}

.gb-career-application__intro li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b7da58;
}

.gb-career-application__fallback {
  margin-top: 30px !important;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px !important;
}

.gb-career-application__fallback a {
  color: #d3ec8f;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.gb-career-form {
  align-self: stretch;
  padding: clamp(42px, 5vw, 68px);
  color: #183f33;
  background: #f5f8f2;
}

.gb-career-form__required {
  margin: 0 0 20px;
  color: #586b63;
  font-size: 11.5px;
  font-weight: 720;
  text-align: right;
}

.gb-career-form__required span,
.gb-career-form label b {
  color: #b3263e;
}

.gb-career-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px 17px;
}

.gb-career-form label:not(.gb-career-consent) {
  display: grid;
  gap: 8px;
  color: #173f33;
  font-size: 12px;
  font-weight: 790;
}

.gb-career-form label small {
  color: #65766e;
  font-weight: 550;
}

.gb-career-form__wide {
  grid-column: 1 / -1;
}

.gb-career-form input:not([type="checkbox"]):not([type="file"]),
.gb-career-form select,
.gb-career-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid #bdcec2;
  border-radius: 10px;
  background: #fff;
  color: #183f33;
  font-size: 14px;
  font-weight: 560;
  line-height: 1.4;
}

.gb-career-form select {
  appearance: auto;
}

.gb-career-form textarea {
  min-height: 104px;
  resize: vertical;
}

.gb-career-form input::placeholder,
.gb-career-form textarea::placeholder {
  color: #708078;
  opacity: 1;
}

.gb-career-form input:focus,
.gb-career-form select:focus,
.gb-career-form textarea:focus {
  border-color: #6f9228;
  outline: 3px solid rgba(165, 213, 43, 0.28);
  outline-offset: 1px;
}

.gb-career-file {
  margin-top: 20px;
  padding: 18px;
  border: 1px dashed #9eb3a2;
  border-radius: 12px;
  background: #fff;
}

.gb-career-file input[type="file"] {
  width: 100%;
  min-height: 42px;
  padding: 7px;
  border: 1px solid #d2ddd4;
  border-radius: 8px;
  background: #f8faf7;
  color: #314f44;
  font-size: 12.5px;
  font-weight: 600;
}

.gb-career-file input[type="file"]::file-selector-button {
  min-height: 34px;
  margin-right: 12px;
  padding: 7px 12px;
  border: 0;
  border-radius: 7px;
  background: #e7f0df;
  color: #24513e;
  cursor: pointer;
  font-weight: 780;
}

.gb-career-file small {
  min-height: 18px;
  color: #64756d;
  line-height: 1.5;
}

.gb-career-file small.is-error {
  color: #a11e35;
  font-weight: 740;
}

.gb-career-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 11px;
  margin: 20px 0;
  color: #435d53;
  font-size: 11.5px;
  font-weight: 620;
  line-height: 1.55;
}

.gb-career-consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #537c12;
}

.gb-career-consent a {
  color: #245c47;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gb-career-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.gb-career-form button[type="submit"] {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  background: #557b17;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 820;
  transition: background-color 160ms ease, transform 160ms ease;
}

.gb-career-form button[type="submit"]:hover,
.gb-career-form button[type="submit"]:focus-visible {
  background: #3f6710;
  transform: translateY(-1px);
}

.gb-career-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.gb-career-form button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gb-career-form__status {
  min-height: 24px;
  margin: 13px 0 0;
  padding: 0;
  color: #4c6259;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
  text-align: center;
}

.gb-career-form__status.is-success,
.gb-career-form__status.is-error {
  padding: 11px 13px;
  border-radius: 9px;
  text-align: left;
}

.gb-career-form__status.is-success {
  border: 1px solid #b8d39b;
  background: #edf7df;
  color: #2c5a20;
}

.gb-career-form__status.is-error {
  border: 1px solid #e0b7be;
  background: #fff0f2;
  color: #8f1f33;
}

@media (max-width: 980px) {
  .gb-career-application {
    grid-template-columns: 1fr;
  }

  .gb-career-application__intro,
  .gb-career-form {
    padding: 48px;
  }
}

@media (max-width: 620px) {
  .gb-social-links a {
    width: 44px;
    height: 44px;
  }

  .gb-career-application {
    width: calc(100% - 36px);
    margin-bottom: 76px;
    border-radius: 4px 24px 4px 4px;
    scroll-margin-top: 90px;
  }

  .gb-career-application__intro,
  .gb-career-form {
    padding: 36px 23px;
  }

  .gb-career-application__intro h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .gb-career-application__intro > p:not(.eyebrow),
  .gb-career-application__intro li,
  .gb-career-form label:not(.gb-career-consent),
  .gb-career-form__status {
    font-size: 13px;
  }

  .gb-career-form__grid {
    grid-template-columns: 1fr;
  }

  .gb-career-form__wide {
    grid-column: auto;
  }

  .gb-career-form input:not([type="checkbox"]):not([type="file"]),
  .gb-career-form select,
  .gb-career-form textarea {
    font-size: 16px;
  }

  .gb-career-consent {
    font-size: 12.5px;
  }
}

/* --------------------------------------------------------------------------
 * Grupo Bioingenia — actualización incremental v1.0.6
 * Privacidad, correcciones de composición y ampliación del portafolio.
 * ----------------------------------------------------------------------- */

/* Aviso de cookies: en v1.0.5 existían ajustes parciales, pero faltaba su
   estructura visual base. El aviso es compacto, legible y no bloquea el Hero. */
.gb-cookie-consent {
  position: fixed;
  z-index: 6000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.gb-cookie-consent__inner {
  display: grid;
  align-items: center;
  border: 1px solid rgba(7, 76, 58, 0.15);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 65px rgba(3, 40, 31, 0.2);
  color: #173b33;
  pointer-events: auto;
  backdrop-filter: blur(12px);
}

.gb-cookie-consent__copy {
  min-width: 0;
}

.gb-cookie-consent__eyebrow {
  margin: 0;
  color: #4f7f0d;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gb-cookie-consent__title {
  color: #073f33;
  font-weight: 780;
  letter-spacing: -0.025em;
}

.gb-cookie-consent__text {
  color: #45635b;
}

.gb-cookie-consent__link,
.gb-cookie-settings {
  color: #315d08;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.gb-cookie-consent__actions {
  display: flex;
  align-items: center;
}

.gb-cookie-consent__button {
  border: 1px solid #b8c9c3;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.gb-cookie-consent__button--secondary {
  background: #fff;
  color: #124c3f;
}

.gb-cookie-consent__button--primary {
  border-color: #467508;
  background: #467508;
  color: #fff;
}

.gb-cookie-consent__button:hover,
.gb-cookie-consent__button:focus-visible,
.gb-cookie-settings:focus-visible {
  outline: 3px solid rgba(135, 197, 36, 0.42);
  outline-offset: 3px;
}

.gb-cookie-settings {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: inherit;
}

/* La fotografía de traslado debe llenar el marco completo. Antes la altura
   mínima del figure era mayor que la imagen y dejaba un bloque vacío. */
.tree-move-service-detail figure {
  position: relative !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 5 !important;
  overflow: hidden !important;
  background: #dce7e1 !important;
}

.tree-move-service-detail figure > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.tree-move-service-detail figure > figcaption {
  position: absolute !important;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
}

/* Secciones de estudios ambientales: áreas explícitas para impedir que el
   texto salte a una segunda fila y produzca un gran vacío a la izquierda. */
@media (min-width: 901px) {
  .study-service-moments > header,
  .study-service-levels > header {
    display: grid !important;
    grid-template-columns: minmax(230px, 0.75fr) minmax(520px, 1.25fr) !important;
    grid-template-areas:
      "eyebrow title"
      ". copy" !important;
    column-gap: clamp(56px, 8vw, 130px) !important;
    row-gap: 20px !important;
    align-items: start !important;
  }

  .study-service-moments > header > .eyebrow,
  .study-service-levels > header > .eyebrow {
    grid-area: eyebrow !important;
    align-self: end !important;
    margin: 0 0 8px !important;
  }

  .study-service-moments > header > h2,
  .study-service-levels > header > h2 {
    grid-area: title !important;
    max-width: 820px !important;
    margin: 0 !important;
    text-wrap: balance;
  }

  .study-service-moments > header > p:not(.eyebrow),
  .study-service-levels > header > p:not(.eyebrow) {
    grid-area: copy !important;
    max-width: 720px !important;
    margin: 0 !important;
  }
}

/* Estos encabezados no son marcos de fotografía: se compactan como titulares
   editoriales para eliminar el gran vacío lateral que mostraba la versión 1.0.5. */
.study-service-moments > header,
.study-service-levels > header {
  display: grid !important;
  grid-template-columns: minmax(0, 900px) !important;
  grid-template-areas:
    "eyebrow"
    "title"
    "copy" !important;
  justify-content: start !important;
  align-items: start !important;
  gap: 0 !important;
}

.study-service-moments > header > .eyebrow,
.study-service-levels > header > .eyebrow {
  grid-area: eyebrow !important;
  margin: 0 0 18px !important;
}

.study-service-moments > header > h2,
.study-service-levels > header > h2 {
  grid-area: title !important;
  max-width: 900px !important;
  margin: 0 !important;
}

.study-service-moments > header > p:not(.eyebrow),
.study-service-levels > header > p:not(.eyebrow) {
  grid-area: copy !important;
  max-width: 690px !important;
  margin: 22px 0 0 !important;
}

/* Tarjetas agregadas al catálogo de consultoría. Heredan el lenguaje visual
   existente y mantienen el catálogo en tres columnas en escritorio. */
.gb-added-service-card {
  min-width: 0;
}

.gb-added-service-card .services-subservice-icon svg {
  width: 32px;
  height: 32px;
}

/* Caso de educación ambiental: fotografía real, prueba verificable y enlace
   externo al video sin cargar YouTube antes del consentimiento. */
.gb-education-project {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
  width: min(1240px, calc(100% - 40px));
  margin: clamp(72px, 9vw, 136px) auto;
  padding: clamp(22px, 3vw, 42px);
  border: 1px solid rgba(7, 76, 58, 0.12);
  border-radius: 34px;
  background: #f2f6ee;
}

.gb-education-project__media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 24px;
  background: #dce7e1;
}

.gb-education-project__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gb-education-project__media::after {
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(180deg, transparent, rgba(3, 40, 31, 0.75));
  content: "";
  pointer-events: none;
}

.gb-education-project__play {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  column-gap: 13px;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.gb-education-project__play > span {
  grid-row: 1 / 3;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.gb-education-project__play strong {
  font-size: 15px;
}

.gb-education-project__play small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.gb-education-project__copy {
  align-self: center;
  padding: clamp(8px, 2vw, 28px) 0;
}

.gb-education-project__copy h2,
.gb-client-proof__heading h2 {
  margin: 10px 0 18px;
  color: #073f33;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.gb-education-project__copy > p:not(.eyebrow),
.gb-client-proof__heading > p:not(.eyebrow) {
  color: #46625b;
  font-size: 16px;
  line-height: 1.65;
}

.gb-education-project__copy ul {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.gb-education-project__copy li {
  position: relative;
  padding-left: 22px;
  color: #173b33;
  line-height: 1.45;
}

.gb-education-project__copy li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #87c524;
  content: "";
}

.gb-education-project__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gb-education-project__links a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid #86a794;
  border-radius: 999px;
  color: #073f33;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.gb-education-project__links a:last-child {
  border-color: #467508;
  background: #467508;
  color: #fff;
}

/* Prueba social en texto: evita logos pixelados y mantiene legibilidad. */
.gb-client-proof {
  width: min(1160px, calc(100% - 40px));
  margin: clamp(72px, 9vw, 136px) auto;
}

.gb-client-proof__heading {
  max-width: 830px;
  margin-bottom: 36px;
}

.gb-client-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid #cfddd7;
  border-left: 1px solid #cfddd7;
  list-style: none;
}

.gb-client-proof__grid li {
  display: flex;
  min-height: 76px;
  align-items: center;
  padding: 16px 18px;
  border-right: 1px solid #cfddd7;
  border-bottom: 1px solid #cfddd7;
  background: #fff;
  color: #173b33;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
}

@media (max-width: 1000px) {
  .gb-education-project {
    grid-template-columns: 1fr;
  }

  .gb-education-project__media {
    min-height: 440px;
  }

  .gb-client-proof__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .gb-cookie-consent {
    bottom: max(10px, env(safe-area-inset-bottom)) !important;
  }

  .gb-cookie-consent__actions {
    grid-template-columns: 1fr !important;
  }

  .tree-move-service-detail figure {
    aspect-ratio: 4 / 3 !important;
  }

  .study-service-moments > header,
  .study-service-levels > header {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .study-service-moments > header > *,
  .study-service-levels > header > * {
    margin: 0 !important;
  }

  .gb-education-project,
  .gb-client-proof {
    width: min(100% - 28px, 1240px);
  }

  .gb-education-project {
    padding: 14px;
    border-radius: 24px;
  }

  .gb-education-project__media {
    min-height: 340px;
    border-radius: 18px;
  }

  .gb-education-project__play {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .gb-education-project__copy {
    padding: 12px 6px 10px;
  }

  .gb-education-project__copy h2,
  .gb-client-proof__heading h2 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .gb-education-project__links {
    display: grid;
  }

  .gb-education-project__links a {
    width: 100%;
  }

  .gb-client-proof__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gb-client-proof__grid li {
    min-height: 66px;
    padding: 13px;
    font-size: 13px;
  }
}

@media (max-width: 430px) {
  .gb-client-proof__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gb-cookie-consent *,
  .gb-education-project * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
 * Grupo Bioingenia — actualización incremental v1.1.8
 * Contraste definitivo del footer y evaluación breve con moderación.
 * ----------------------------------------------------------------------- */

/* La especificidad y !important son deliberados: algunas sesiones conservaban
   cargada la hoja 1.1.6 después de la 1.1.7 y volvían a apagar los iconos. */
.site-footer .site-footer-contact .gb-social-links a {
  width: 44px !important;
  height: 44px !important;
  border-color: #073f30 !important;
  background: #073f30 !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(7, 63, 48, 0.2) !important;
}

.site-footer .site-footer-contact .gb-social-links a:hover,
.site-footer .site-footer-contact .gb-social-links a:focus-visible {
  border-color: #4d7810 !important;
  background: #4d7810 !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(7, 63, 48, 0.26) !important;
}

.site-footer .site-footer-contact .gb-social-links svg {
  color: #fff !important;
  fill: #fff !important;
}

.site-footer .site-footer-contact .gb-social-links a:nth-child(2) svg {
  fill: none !important;
  stroke: #fff !important;
}

.site-footer .site-footer-contact .gb-social-links .gb-social-dot {
  fill: #fff !important;
  stroke: none !important;
}

.site-footer .site-footer-contact .gb-social-links .gb-social-play {
  fill: #073f30 !important;
  stroke: none !important;
}

.site-footer .site-footer-contact .gb-social-links a:hover .gb-social-play,
.site-footer .site-footer-contact .gb-social-links a:focus-visible .gb-social-play {
  fill: #4d7810 !important;
}

.gb-feedback-section {
  width: min(calc(100% - (2 * var(--page-gutter, clamp(24px, 4.8vw, 72px)))), 1356px);
  margin: 18px auto 112px;
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(520px, 1.18fr);
  overflow: hidden;
  border: 1px solid #d6e1d8;
  border-radius: 6px 32px 6px 6px;
  background: #f5f8f2;
  box-shadow: 0 24px 70px rgba(7, 67, 50, 0.13);
  scroll-margin-top: 112px;
}

.gb-feedback-section__intro {
  padding: clamp(46px, 5vw, 72px);
  color: #fff;
  background:
    radial-gradient(circle at 8% 0, rgba(165, 213, 43, 0.22), transparent 31%),
    #063f32;
}

.gb-feedback-section__intro .eyebrow {
  margin-bottom: 19px;
  color: #cae782;
}

.gb-feedback-section__intro h2 {
  max-width: 560px;
  margin: 0 0 21px;
  color: #fff;
  font-size: clamp(38px, 3.8vw, 58px);
  font-weight: 760;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.gb-feedback-section__intro > p:not(.eyebrow) {
  max-width: 540px;
  margin: 0;
  color: #ccdbd5;
  font-size: 14px;
  line-height: 1.72;
}

.gb-feedback-section__intro ul {
  display: grid;
  gap: 10px;
  margin: 29px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.gb-feedback-section__intro li {
  position: relative;
  padding-left: 18px;
  color: #e3ece8;
  font-size: 12.5px;
  font-weight: 690;
}

.gb-feedback-section__intro li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b7da58;
}

.gb-feedback-form {
  align-self: stretch;
  padding: clamp(42px, 5vw, 68px);
  color: #183f33;
  background: #f5f8f2;
}

.gb-feedback-form__required {
  margin: 0 0 20px;
  color: #586b63;
  font-size: 11.5px;
  font-weight: 720;
  text-align: right;
}

.gb-feedback-form__required span,
.gb-feedback-form label b,
.gb-feedback-rating b {
  color: #b3263e;
}

.gb-feedback-rating {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.gb-feedback-rating legend {
  margin-bottom: 10px;
  color: #173f33;
  font-size: 12px;
  font-weight: 790;
}

.gb-feedback-rating > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(52px, 1fr));
  gap: 8px;
}

.gb-feedback-rating label {
  position: relative;
  display: grid;
  min-height: 58px;
  place-items: center;
  border: 1px solid #bdcec2;
  border-radius: 11px;
  background: #fff;
  color: #63776d;
  cursor: pointer;
}

.gb-feedback-rating input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}

.gb-feedback-rating label > span {
  color: #6c7d75;
  font-size: 24px;
  line-height: 1;
}

.gb-feedback-rating label > small {
  position: absolute;
  right: 7px;
  bottom: 4px;
  color: #718179;
  font-size: 9px;
}

.gb-feedback-rating label:has(input:checked) {
  border-color: #5d8420;
  background: #edf6dc;
  box-shadow: inset 0 0 0 1px #5d8420;
}

.gb-feedback-rating label:has(input:checked) > span {
  color: #4f7814;
}

.gb-feedback-rating label:has(input:focus-visible) {
  outline: 3px solid rgba(165, 213, 43, 0.34);
  outline-offset: 2px;
}

.gb-feedback-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px 17px;
}

.gb-feedback-form label:not(.gb-feedback-consent):not(.gb-feedback-rating label) {
  display: grid;
  gap: 8px;
  color: #173f33;
  font-size: 12px;
  font-weight: 790;
}

.gb-feedback-form label small {
  color: #65766e;
  font-weight: 550;
}

.gb-feedback-form__wide {
  grid-column: 1 / -1;
}

.gb-feedback-form input:not([type="checkbox"]):not([type="radio"]),
.gb-feedback-form select,
.gb-feedback-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid #bdcec2;
  border-radius: 10px;
  background: #fff;
  color: #183f33;
  font-size: 14px;
  font-weight: 560;
  line-height: 1.4;
}

.gb-feedback-form textarea {
  min-height: 104px;
  resize: vertical;
}

.gb-feedback-form input::placeholder,
.gb-feedback-form textarea::placeholder {
  color: #708078;
  opacity: 1;
}

.gb-feedback-form input:focus,
.gb-feedback-form select:focus,
.gb-feedback-form textarea:focus {
  border-color: #6f9228;
  outline: 3px solid rgba(165, 213, 43, 0.28);
  outline-offset: 1px;
}

.gb-feedback-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 11px;
  margin: 18px 0;
  color: #435d53;
  font-size: 11.5px;
  font-weight: 620;
  line-height: 1.55;
}

.gb-feedback-consent + .gb-feedback-consent {
  margin-top: -6px;
}

.gb-feedback-consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #537c12;
}

.gb-feedback-consent a {
  color: #245c47;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gb-feedback-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.gb-feedback-form button[type="submit"] {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  background: #557b17;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 820;
  transition: background-color 160ms ease, transform 160ms ease;
}

.gb-feedback-form button[type="submit"]:hover,
.gb-feedback-form button[type="submit"]:focus-visible {
  background: #3f6710;
  transform: translateY(-1px);
}

.gb-feedback-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.gb-feedback-form button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gb-feedback-form__status {
  min-height: 24px;
  margin: 13px 0 0;
  color: #4c6259;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
  text-align: center;
}

.gb-feedback-form__status.is-success,
.gb-feedback-form__status.is-error {
  padding: 11px 13px;
  border-radius: 9px;
  text-align: left;
}

.gb-feedback-form__status.is-success {
  border: 1px solid #b8d39b;
  background: #edf7df;
  color: #2c5a20;
}

.gb-feedback-form__status.is-error {
  border: 1px solid #e0b7be;
  background: #fff0f2;
  color: #8f1f33;
}

@media (max-width: 980px) {
  .gb-feedback-section {
    grid-template-columns: 1fr;
  }

  .gb-feedback-section__intro,
  .gb-feedback-form {
    padding: 48px;
  }
}

@media (max-width: 620px) {
  .gb-feedback-section {
    width: calc(100% - 36px);
    margin-bottom: 76px;
    border-radius: 4px 24px 4px 4px;
    scroll-margin-top: 90px;
  }

  .gb-feedback-section__intro,
  .gb-feedback-form {
    padding: 36px 23px;
  }

  .gb-feedback-section__intro h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .gb-feedback-form__grid {
    grid-template-columns: 1fr;
  }

  .gb-feedback-form__wide {
    grid-column: auto;
  }

  .gb-feedback-form input:not([type="checkbox"]):not([type="radio"]),
  .gb-feedback-form select,
  .gb-feedback-form textarea {
    font-size: 16px;
  }

  .gb-feedback-rating > div {
    grid-template-columns: repeat(5, minmax(44px, 1fr));
    gap: 6px;
  }

  .gb-feedback-rating label {
    min-height: 54px;
  }

  .gb-feedback-consent {
    font-size: 12.5px;
  }
}
