/* ===== HERO ===== */
.about-hero {
  position: relative;
  margin-left: 3%;
  height: 580px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 6% 80px;
}

.about-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-hero-darken {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.about-hero-mask {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 100px;
  background: #537780;
  clip-path: polygon(0 60%, 100% 30%, 100% 100%, 0 100%);
  z-index: 2;
}

.about-hero-band {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: rgba(0, 0, 0, 0.45);
  clip-path: polygon(0 50%, 100% 20%, 100% 100%, 0 100%);
  z-index: 1;
}

.about-hero-content {
  position: relative;
  z-index: 3;
}

.about-hero-content h1 {
  font-size: clamp(3.5rem, 5vw + 1.5rem, 6.5rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
}

/* ===== TEAL INTRO ===== */
.about-intro {
  background: #537780;
  margin-left: 3%;
  padding: 0 6% 60px;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
}

.about-intro-grid p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

/* ===== VMV ===== */
.about-vmv {
  background: #3c3b3b;
  margin-left: 3%;
  padding: 10px 6% 70px;
}

.vmv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.vmv-card {
  background: rgba(255, 255, 255, 0.88);
  clip-path: polygon(0 20px, 100% 0, 100% 100%, 0 calc(100% - 20px));
  padding: 40px 24px 30px;
  min-height: 220px;
}

.vmv-card h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: #537780;
  margin-bottom: 18px;
}

.vmv-card p {
  font-size: 19px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* ===== TEAM ===== */
.about-team {
  background: #3c3b3b;
  margin-left: 3%;
  padding: 0 6% 70px;
}

.team-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: #ffa700;
  margin-bottom: 50px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 280px;
  gap: 40px;
  align-items: start;
}

.team-member {}

.team-circle {
  width: 188px;
  height: 188px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.team-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.team-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.team-role {
  font-size: 19px;
  color: #c9d1d3;
  margin-bottom: 12px;
  line-height: 1.3;
}

.team-bio {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 14px;
}

.team-linkedin img {
  width: 45px;
  height: 45px;
}

.team-linkedin {
  margin-top: -10px;
  margin-left: -10px;
}

.team-join {
  padding-top: 10px;
  grid-column: 4;
  grid-row: 1;
}

/* Fichas siempre en columnas 1-3 (cada 3 empieza fila nueva); "Join" fijo en la 4ª */
.team-member:nth-child(3n+1) {
  grid-column: 1;
}

.team-join h4 {
  font-size: 19px;
  font-weight: 700;
  color: #ffa700;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.team-join p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.team-join a {
  color: #ffa700;
  text-decoration: none;
}

.team-join a:hover {
  text-decoration: underline;
}

/* ===== GLOBAL REACH ===== */
.about-global {
  position: relative;
  margin-left: 3%;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 60px 6%;
}

.about-global-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/images/global-reach.jpg') center/cover no-repeat;
}

@supports (background-image: url('/assets/images/global-reach.webp')) {
  .about-global-bg {
    background-image: url('/assets/images/global-reach.webp');
  }
}

.about-global-darken {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.about-global-content {
  position: relative;
  z-index: 2;
  max-width: 380px;
}

.about-global-content h2 {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: #ffa700;
  margin-bottom: 24px;
}

.about-global-content p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* ===== PARTNERS ===== */
.about-partners {
  background: #fff;
  margin-left: 3%;
  margin-bottom: 30px;
  padding: 60px 6%;
}

.partners-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
}

.partners-text h2 {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: #537780;
  margin-bottom: 16px;
}

.partners-text p {
  font-size: 19px;
  color: #6a888e;
  line-height: 1.7;
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  justify-items: center;
  align-items: center;
  gap: 40px 80px;
}

.partners-logos img {
  height: 127px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s;
}

.partners-logos img:hover {
  filter: grayscale(0%);
}

.partners-logos picture:first-child img {
  height: 196px;
}

/* Logos horizontales: menos altura para igualar su peso visual al resto */
.partners-logos picture:nth-child(3) img {
  height: 96px;
}

.partners-logos picture:nth-child(4) img {
  height: 66px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  /* Hero */
  .about-hero {
    margin-left: 0;
    height: 40vh;
    min-height: unset;
    padding: 0 5% 60px 20px;
    align-items: flex-end;
  }

  .about-hero-band,
  .about-hero-mask {
    left: 3%;
    width: 97%;
    height: 100px;
  }


  .about-hero-content {
    top: -30px;
  }

  .about-hero-content h1 {
    font-size: 42px;
    line-height: 1.1;
    letter-spacing: -1px;
  }

  /* Intro */
  .about-intro {
    margin-left: 3%;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* VMV */
  .about-vmv {
    margin-left: 0;
    padding: 30px 6% 50px;
  }

  .vmv-grid {
    grid-template-columns: 1fr;
    margin-top: 0;
    gap: 12px;
  }

  .vmv-card {
    clip-path: polygon(0 12px, 100% 0, 100% 100%, 0 calc(100% - 12px));
    min-height: unset;
  }

  .vmv-card:nth-child(2) {
    clip-path: polygon(0 0, 100% 12px, 100% calc(100% - 12px), 0 100%);
  }

  /* Team */
  .about-team {
    margin-left: 0;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .team-join {
    grid-column: 1;
    grid-row: auto;
  }

  .team-member {
    display: grid;
    grid-template-columns: 138px 1fr;
    min-height: 138px;
    column-gap: 16px;
    align-items: start;
  }

  .team-circle {
    grid-column: 1;
    grid-row: 1 / 6;
    margin-bottom: 0;
    width: 138px;
    height: 138px;
  }

  .team-name,
  .team-role,
  .team-bio,
  .team-linkedin {
    grid-column: 2;
    text-align: left;
  }

  .team-linkedin {
    display: flex;
    justify-content: flex-start;
  }

  /* Global reach */
  .about-global {
    margin-left: 3%;
    padding: 50px 6%;
  }

  /* Partners */
  .about-partners {
    margin-left: 0;
    margin-right: 3%;
    margin-top: 30px;
    margin-bottom: 30px;
    padding-top: 10px;
    padding-bottom: 20px;
  }

  .partners-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .partners-logos {
    flex-direction: column;
    align-items: center;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .partners-logos picture {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 0;
    border-bottom: 1px solid #d0d8da;
  }

  .partners-logos picture:last-child {
    border-bottom: none;
  }

  .partners-logos img:first-child {
    height: 173px !important;
  }

  .partners-logos img {
    height: 115px;
  }
}

@media (max-width: 480px) {
  .about-hero-content h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .partners-logos img {
    height: 115px;
  }

  .partners-logos picture:first-child img {
    height: 161px !important;
  }
}