/* =========================================================
   CAB INGENIERÍA BIOMÉDICA
   PÁGINA NOSOTROS
   Usa ../styles.css como base general
   ========================================================= */


/* =========================================================
   HEADER - ESTADO ACTUAL
   ========================================================= */

.site-menu a.is-current {
  color: var(--teal-400);
}

.site-header.is-scrolled .site-menu a.is-current {
  color: #008f96;
}


/* =========================================================
   HERO
   ========================================================= */

.about-hero {
  position: relative;
  min-height: 820px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 165px 0 90px;
  background:
    radial-gradient(
      circle at 82% 24%,
      rgba(53, 199, 200, 0.24),
      transparent 26%
    ),
    radial-gradient(
      circle at 60% 96%,
      rgba(19, 96, 153, 0.28),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #06172c 0%,
      #092b50 54%,
      #0b3d62 100%
    );
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 155px;
  background: linear-gradient(
    to top,
    rgba(3, 17, 33, 0.68),
    transparent
  );
  pointer-events: none;
}

.about-hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

.about-hero__glow {
  position: absolute;
  top: 90px;
  right: -140px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: rgba(53, 199, 200, 0.08);
  filter: blur(80px);
}

.about-hero__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns:
    minmax(0, 1.02fr)
    minmax(390px, 0.98fr);
  gap: 82px;
  align-items: center;
}

.about-hero__copy {
  max-width: 720px;
}

.about-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(3.25rem, 6vw, 6.2rem);
  line-height: 1.01;
  letter-spacing: -0.055em;
}

.about-hero h1 span {
  display: block;
  color: var(--teal-400);
}

.about-hero__lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 1.08rem;
  line-height: 1.82;
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.about-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  margin: 31px 0 0;
  padding: 0;
  list-style: none;
}

.about-hero__proof li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.69);
  font-size: 0.78rem;
  font-weight: 700;
}

.about-hero__proof li::before {
  content: "";
  position: absolute;
  top: 0.43em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-400);
}


/* Hero visual */

.about-hero__visual {
  position: relative;
  min-height: 535px;
  display: grid;
  place-items: center;
}

.about-hero__orbit {
  position: absolute;
  border: 1px solid rgba(102, 222, 217, 0.2);
  border-radius: 50%;
}

.about-hero__orbit--one {
  width: 510px;
  height: 510px;
}

.about-hero__orbit--two {
  width: 400px;
  height: 400px;
  border-style: dashed;
  animation: aboutOrbit 26s linear infinite;
}

@keyframes aboutOrbit {
  to {
    transform: rotate(360deg);
  }
}

.about-photo-card {
  position: relative;
  width: min(455px, 91%);
  min-height: 520px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 36px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.17),
      rgba(255, 255, 255, 0.045)
    );
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
}

.about-photo-card::before {
  content: "";
  position: absolute;
  inset: 74px 25px 85px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(102, 222, 217, 0.28),
      transparent 67%
    );
}

.about-photo-card__label {
  position: relative;
  z-index: 3;
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.about-photo-card img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 370px;
  margin-top: 14px;
  border-radius: 24px;
  object-fit: cover;
  object-position: center;
}

.about-photo-card__caption {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr minmax(120px, 0.75fr);
  gap: 20px;
  align-items: end;
  margin-top: 20px;
}

.about-photo-card__caption strong {
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.25;
}

.about-photo-card__caption span {
  color: rgba(255, 255, 255, 0.59);
  font-size: 0.7rem;
  line-height: 1.55;
}

.about-floating-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(6, 23, 44, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.23);
  backdrop-filter: blur(16px);
  font-size: 0.76rem;
}

.about-floating-card span {
  color: var(--teal-400);
  font-weight: 800;
}

.about-floating-card strong {
  font-weight: 700;
}

.about-floating-card--top {
  top: 82px;
  right: -18px;
}

.about-floating-card--bottom {
  left: -8px;
  bottom: 78px;
}


/* =========================================================
   FRANJA DE IDENTIDAD
   ========================================================= */

.about-trust {
  position: relative;
  z-index: 6;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.about-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.about-trust__grid article {
  display: flex;
  gap: 15px;
  min-height: 112px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.about-trust__grid article:first-child {
  border-left: 1px solid var(--line);
}

.about-trust__grid article > span {
  display: grid;
  flex: 0 0 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #01868d;
  background: var(--cyan-100);
  font-size: 0.69rem;
  font-weight: 800;
}

.about-trust__grid strong,
.about-trust__grid small {
  display: block;
}

.about-trust__grid strong {
  font-size: 0.84rem;
}

.about-trust__grid small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.45;
}


/* =========================================================
   QUIÉNES SOMOS
   ========================================================= */

.about-intro {
  padding-top: 130px;
  padding-bottom: 130px;
}

.about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: 105px;
  align-items: end;
}

.about-intro h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.25rem);
  line-height: 1.03;
  letter-spacing: -0.052em;
}

.about-intro h2 span {
  color: #008f95;
}

.about-intro__copy > p {
  color: var(--muted);
  line-height: 1.85;
}

.about-intro__lead {
  margin-top: 0;
  color: var(--ink) !important;
  font-size: 1.06rem;
}


/* =========================================================
   STATEMENT
   ========================================================= */

.about-statement {
  padding: 0 0 112px;
}

.about-statement__shell {
  position: relative;
  overflow: hidden;
  padding: 72px;
  border-radius: var(--radius-xl);
  color: var(--white);
  background:
    radial-gradient(
      circle at 92% 15%,
      rgba(53, 199, 200, 0.28),
      transparent 24%
    ),
    linear-gradient(
      135deg,
      #06172c 0%,
      #0a294b 58%,
      #0b4566 100%
    );
  box-shadow: var(--shadow);
}

.about-statement__shell::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -250px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(102, 222, 217, 0.17);
  border-radius: 50%;
}

.about-statement h2 {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.6rem, 4.8vw, 5rem);
  line-height: 1.03;
  letter-spacing: -0.052em;
}

.about-statement p:not(.eyebrow) {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
}


/* =========================================================
   MISIÓN + VISIÓN
   ========================================================= */

.about-purpose {
  background: var(--ice);
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.purpose-card {
  position: relative;
  min-height: 480px;
  display: grid;
  align-content: end;
  padding: 38px;
  overflow: hidden;
  border: 1px solid #d6e6e9;
  border-radius: var(--radius-xl);
  background: var(--white);
}

.purpose-card::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(53, 199, 200, 0.09);
}

.purpose-card--vision::before {
  background: rgba(21, 126, 187, 0.09);
}

.purpose-card__number {
  position: absolute;
  top: 28px;
  left: 35px;
  color: rgba(16, 53, 95, 0.12);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
}

.purpose-card > div:last-child {
  position: relative;
  z-index: 2;
}

.purpose-card h3 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.purpose-card p:not(.eyebrow) {
  max-width: 550px;
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.78;
}


/* =========================================================
   VALORES
   ========================================================= */

.values-section {
  background: var(--white);
}

.values-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 85px;
  align-items: start;
}

.values-intro {
  position: sticky;
  top: 125px;
}

.values-intro h2 {
  margin: 0;
  font-size: clamp(2.6rem, 4.8vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.values-intro > p:not(.eyebrow) {
  margin-top: 24px;
  color: var(--muted);
  line-height: 1.8;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.value-card {
  min-height: 220px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(53, 199, 200, 0.55);
  box-shadow: 0 20px 48px rgba(8, 34, 63, 0.09);
}

.value-card > span {
  color: var(--teal-500);
  font-size: 0.7rem;
  font-weight: 800;
}

.value-card h3 {
  margin: 48px 0 9px;
  font-size: 1.18rem;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.68;
}


/* =========================================================
   POR QUÉ CAB
   ========================================================= */

.about-support {
  background:
    radial-gradient(
      circle at 84% 15%,
      rgba(53, 199, 200, 0.15),
      transparent 24%
    ),
    linear-gradient(
      135deg,
      #06172c,
      #0a2a4d
    );
}

.about-support__grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 78px;
  align-items: start;
}

.about-support__intro {
  position: sticky;
  top: 125px;
}

.about-support__intro h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1.03;
  letter-spacing: -0.052em;
}

.about-support__intro > p:not(.eyebrow) {
  margin: 26px 0 31px;
  color: rgba(255, 255, 255, 0.67);
  line-height: 1.82;
}

.about-support__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-support__cards article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.052);
}

.about-support__cards article > span {
  color: var(--teal-400);
  font-size: 0.7rem;
  font-weight: 800;
}

.about-support__cards h3 {
  margin: 48px 0 10px;
  font-size: 1.13rem;
}

.about-support__cards p {
  margin: 0;
  color: rgba(255, 255, 255, 0.59);
  font-size: 0.79rem;
  line-height: 1.67;
}


/* =========================================================
   INGENIERÍA
   ========================================================= */

.engineering-section {
  overflow: hidden;
}

.engineering-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 82px;
  align-items: center;
}

.engineering-media {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(
      145deg,
      #eaf8f8,
      #d3eff0
    );
}

.engineering-media__halo {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}

.engineering-media img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 610px;
  object-fit: cover;
}

.engineering-media__badge {
  position: absolute;
  z-index: 4;
  right: 24px;
  bottom: 24px;
  max-width: 245px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  color: var(--white);
  background: rgba(6, 23, 44, 0.78);
  box-shadow: 0 18px 48px rgba(6, 23, 44, 0.18);
  backdrop-filter: blur(15px);
}

.engineering-media__badge span,
.engineering-media__badge strong {
  display: block;
}

.engineering-media__badge span {
  margin-bottom: 5px;
  color: var(--teal-400);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.engineering-media__badge strong {
  font-size: 0.91rem;
}

.engineering-copy h2 {
  margin: 0;
  font-size: clamp(2.7rem, 4.8vw, 4.9rem);
  line-height: 1.03;
  letter-spacing: -0.052em;
}

.engineering-copy > p:not(.eyebrow) {
  margin: 23px 0 29px;
  color: var(--muted);
  line-height: 1.8;
}

.engineering-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 30px;
}

.engineering-points article {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.engineering-points article > span {
  color: var(--teal-500);
  font-size: 0.69rem;
  font-weight: 800;
}

.engineering-points strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.78rem;
}

.engineering-points p {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.55;
}


/* =========================================================
   PROCESO
   ========================================================= */

.about-process {
  background: #eef7f8;
}

.about-process__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.about-process__grid::before {
  content: "";
  position: absolute;
  top: 38px;
  right: 12.5%;
  left: 12.5%;
  height: 1px;
  background: #b6dfe1;
}

.about-process__grid article {
  position: relative;
  z-index: 2;
  min-height: 245px;
  padding: 28px;
  border: 1px solid #d3e6e8;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.87);
}

.about-process__grid article > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 52px;
  border-radius: 50%;
  color: var(--teal-500);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(20, 95, 110, 0.1);
  font-weight: 800;
}

.about-process__grid h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.about-process__grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.65;
}


/* =========================================================
   MARCAS
   ========================================================= */

.brands-section {
  padding: 92px 0;
  background: var(--white);
}

.brands-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 70px;
  align-items: center;
}

.brands-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.brands-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.brand-name-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.brand-name-grid span {
  min-height: 110px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--navy-900);
  background: var(--ice);
  font-size: 1.14rem;
  font-weight: 800;
  text-align: center;
}


/* =========================================================
   CONTACTO
   ========================================================= */

.about-contact {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  color: var(--white);
  background:
    radial-gradient(
      circle at 92% 12%,
      rgba(53, 199, 200, 0.33),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #082344,
      #0b4266
    );
}

.about-contact::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -260px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(102, 222, 217, 0.17);
  border-radius: 50%;
}

.about-contact__shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 65px;
  align-items: center;
}

.about-contact__copy {
  max-width: 760px;
}

.about-contact h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.052em;
}

.about-contact__copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 23px 0 0;
  color: rgba(255, 255, 255, 0.69);
  line-height: 1.8;
}

.about-contact__actions {
  display: grid;
  gap: 10px;
  min-width: 250px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

  .about-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.8fr);
    gap: 45px;
  }

  .about-intro__grid,
  .values-grid,
  .about-support__grid,
  .engineering-grid {
    gap: 55px;
  }

  .about-statement__shell {
    padding: 58px;
  }
}


@media (max-width: 860px) {

  .about-hero {
    min-height: auto;
  }

  .about-hero__grid,
  .about-intro__grid,
  .values-grid,
  .about-support__grid,
  .engineering-grid,
  .brands-shell,
  .about-contact__shell {
    grid-template-columns: 1fr;
  }

  .about-hero__copy {
    max-width: 760px;
  }

  .about-hero__visual {
    min-height: 520px;
  }

  .about-trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-trust__grid article:nth-child(2) {
    border-right: 0;
  }

  .purpose-grid {
    grid-template-columns: 1fr;
  }

  .purpose-card {
    min-height: 390px;
  }

  .values-intro,
  .about-support__intro {
    position: static;
  }

  .engineering-media {
    min-height: 520px;
  }

  .engineering-media img {
    height: 520px;
  }

  .about-process__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-process__grid::before {
    display: none;
  }

  .about-contact__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }
}


@media (max-width: 620px) {

  .about-hero {
    padding: 125px 0 72px;
  }

  .about-hero h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .about-hero__lead {
    font-size: 0.96rem;
  }

  .about-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .about-hero__actions .btn {
    width: 100%;
  }

  .about-hero__proof {
    display: grid;
    gap: 9px;
  }

  .about-hero__visual {
    min-height: 440px;
  }

  .about-hero__orbit--one {
    width: 390px;
    height: 390px;
  }

  .about-hero__orbit--two {
    width: 300px;
    height: 300px;
  }

  .about-photo-card {
    width: 94%;
    min-height: 405px;
    padding: 16px;
    border-radius: 26px;
  }

  .about-photo-card img {
    height: 285px;
    border-radius: 19px;
  }

  .about-photo-card__caption {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .about-floating-card--top {
    top: 58px;
    right: 0;
  }

  .about-floating-card--bottom {
    left: 0;
    bottom: 48px;
  }

  .about-trust__grid {
    grid-template-columns: 1fr;
  }

  .about-trust__grid article,
  .about-trust__grid article:first-child {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-intro {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .about-intro__grid {
    gap: 30px;
  }

  .about-statement {
    padding-bottom: 78px;
  }

  .about-statement__shell {
    padding: 36px 24px;
    border-radius: 24px;
  }

  .purpose-card {
    min-height: 350px;
    padding: 28px 24px;
    border-radius: 24px;
  }

  .purpose-card__number {
    top: 22px;
    left: 24px;
    font-size: 4rem;
  }

  .values-list,
  .about-support__cards,
  .engineering-points,
  .about-process__grid,
  .brand-name-grid {
    grid-template-columns: 1fr;
  }

  .engineering-media {
    min-height: 400px;
    border-radius: 24px;
  }

  .engineering-media img {
    height: 400px;
  }

  .engineering-media__badge {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }

  .about-contact {
    padding: 78px 0;
  }

  .about-contact__actions {
    grid-template-columns: 1fr;
  }

  .about-contact__actions .btn {
    width: 100%;
  }
}


@media (prefers-reduced-motion: reduce) {
  .about-hero__orbit--two {
    animation: none;
  }
}

/* =========================================================
   EQUIPO DE TRABAJO
   ========================================================= */

.team-section {
  background: var(--white);
}

.team-group + .team-group {
  margin-top: 34px;
}

.team-group {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #ffffff 0%, #f8fcfc 100%);
}

.team-group--engineering {
  background: linear-gradient(180deg, #f5fbfc 0%, #eef8f8 100%);
}

.team-group__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.team-group__kicker {
  margin: 0 0 8px;
  color: var(--teal-500);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-group__head h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.team-group__head > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #d5e7ea;
  border-radius: 999px;
  color: #0a5562;
  background: var(--white);
  font-size: 0.73rem;
  font-weight: 800;
  white-space: nowrap;
}

.team-grid {
  display: grid;
  gap: 16px;
}

.team-grid--advisors {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-grid--engineering {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-card {
  min-height: 100%;
  padding: 28px 22px 24px;
  border: 1px solid #dde9ec;
  border-radius: 24px;
  background: var(--white);
  text-align: center;
  transition:
          transform 0.22s ease,
          box-shadow 0.22s ease,
          border-color 0.22s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 199, 200, 0.48);
  box-shadow: 0 20px 45px rgba(8, 34, 63, 0.08);
}

.team-card--feature {
  padding-top: 32px;
  padding-bottom: 28px;
}

.team-card__photo {
  width: 190px;
  height: 190px;
  margin: 0 auto 22px;
  overflow: hidden;
  border-radius: 50%;
  background: #edf1f3;
}

.team-card--feature .team-card__photo {
  width: 210px;
  height: 210px;
}

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

.team-card__body h4 {
  margin: 0;
  color: #12318c;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}

.team-card__body p {
  margin: 12px 0 0;
  color: #5f6470;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
}

/* Responsive */
@media (max-width: 980px) {
  .team-grid--advisors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-group {
    padding: 26px;
  }
}

@media (max-width: 680px) {
  .team-group__head {
    flex-direction: column;
    align-items: start;
    margin-bottom: 22px;
  }

  .team-grid--advisors,
  .team-grid--engineering {
    grid-template-columns: 1fr;
  }

  .team-card__photo {
    width: 170px;
    height: 170px;
  }

  .team-card--feature .team-card__photo {
    width: 180px;
    height: 180px;
  }
}


/* =========================================================
   EQUIPO · GERENTE
   ========================================================= */

.team-manager {
  position: relative;

  display: grid;
  grid-template-columns:
    220px
    minmax(0, 1fr);

  gap: 34px;
  align-items: center;

  margin-bottom: 34px;
  padding: 26px 42px 26px 26px;

  overflow: hidden;

  border: 1px solid rgba(53, 199, 200, 0.38);
  border-radius: var(--radius-xl);

  background:
          radial-gradient(
                  circle at 92% 10%,
                  rgba(53, 199, 200, 0.16),
                  transparent 27%
          ),
          linear-gradient(
                  135deg,
                  #f7fcfc 0%,
                  #edf8f9 100%
          );

  box-shadow:
          0 22px 60px rgba(8, 34, 63, 0.08);
}


/* FOTO */

.team-manager__photo {
  position: relative;

  width: 220px;
  height: 220px;

  margin: 0;

  overflow: hidden;

  border-radius: 24px;

  background:
          linear-gradient(
                  145deg,
                  #e2f3f4,
                  #d4ecef
          );
}

.team-manager__photo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center top;
}


/* INFORMACIÓN */

.team-manager__content {
  position: relative;
  z-index: 2;

  max-width: 720px;
}

.team-manager__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 25px;
}

.team-manager__heading h3 {
  margin: 0;

  color: var(--navy-900);

  font-size: clamp(
          1.8rem,
          3vw,
          2.7rem
  );

  line-height: 1.05;
  letter-spacing: -0.04em;
}


/* PUESTO */

.team-manager__position {
  display: block;

  margin-top: 8px;

  color: #087f87;

  font-size: 0.82rem;
  font-weight: 800;
}


/* BADGE */

.team-manager__badge {
  flex: 0 0 auto;

  padding: 8px 13px;

  border-radius: 999px;

  color: #ffffff;

  background:
          linear-gradient(
                  135deg,
                  #087f87,
                  #14a5aa
          );

  box-shadow:
          0 10px 24px
          rgba(8, 127, 135, 0.18);

  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* DESCRIPCIÓN */

.team-manager__description {
  max-width: 680px;

  margin: 20px 0 0;

  color: var(--muted);

  font-size: 0.87rem;
  line-height: 1.75;
}


/* ÁREAS */

.team-manager__areas {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;

  margin-top: 22px;
}

.team-manager__areas span {
  padding: 8px 11px;

  border:
          1px solid rgba(
                  53,
                  199,
                  200,
                  0.24
          );

  border-radius: 999px;

  color: #17626b;

  background:
          rgba(
                  255,
                  255,
                  255,
                  0.72
          );

  font-size: 0.65rem;
  font-weight: 700;
}


/* NÚMERO DECORATIVO */

.team-manager__number {
  position: absolute;

  right: 30px;
  bottom: -15px;

  color:
          rgba(
                  10,
                  75,
                  91,
                  0.055
          );

  font-size: 8rem;
  font-weight: 800;

  line-height: 1;

  pointer-events: none;
}


/* =========================================================
   RESPONSIVE · GERENTE
   ========================================================= */

@media (max-width: 780px) {

  .team-manager {
    grid-template-columns:
      170px
      minmax(0, 1fr);

    gap: 24px;

    padding: 22px;
  }

  .team-manager__photo {
    width: 170px;
    height: 190px;
  }

  .team-manager__heading {
    flex-direction: column;
    gap: 10px;
  }

}


@media (max-width: 580px) {

  .team-manager {
    grid-template-columns: 1fr;

    gap: 20px;

    padding: 18px;

    border-radius: 24px;
  }

  .team-manager__photo {
    width: 100%;
    height: 320px;

    border-radius: 19px;
  }

  .team-manager__heading {
    flex-direction: row;
    align-items: flex-start;
  }

  .team-manager__description {
    font-size: 0.8rem;
  }

  .team-manager__number {
    right: 15px;
    bottom: -8px;

    font-size: 6rem;
  }

}