/* About layout and principles */
.nosotros-page .page-intro {
  background: var(--yellow);
  border-bottom: var(--border);
  padding-block: clamp(45px, 7vw, 110px);
}

.nosotros-page .page-intro h1 {
  font-size: clamp(44px, 8vw, 130px);
  margin: 0 0 22px;
  line-height: .96;
}

.nosotros-page .page-intro p {
  font-size: clamp(18px, 2vw, 28px);
  max-width: 850px;
  margin: 0;
  line-height: 1.5;
  font-weight: 750;
}

.nosotros-page .page-content {
  padding-block: clamp(32px, 5vw, 80px);
}

.nosotros-page .content-block {
  padding: clamp(24px, 4vw, 55px) 0;
  margin: 0;
  background: none;
  border: 0;
  border-bottom: 2px solid var(--ink);
  box-shadow: none;
  border-radius: 0;
}

.nosotros-page .content-block:last-child {
  border-bottom: 0;
}

.nosotros-page h2,
.nosotros-page h3 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0;
}

.nosotros-page h2 {
  font-size: clamp(32px, 4vw, 65px);
  margin-bottom: 18px;
}

.nosotros-page .content-block p {
  font-size: clamp(17px, 1.5vw, 23px);
  line-height: 1.6;
  margin: 0;
  max-width: 1100px;
}

/* Principles grid */
.nosotros-page .project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  margin-top: 28px;
}

.nosotros-page .project-card {
  border: var(--border);
  border-radius: 17px;
  box-shadow: var(--shadow);
  padding: clamp(18px, 2vw, 30px);
  min-width: 0;
  transition: transform .22s ease, box-shadow .22s ease;
}

.nosotros-page .project-card:nth-child(1) {
  background: var(--green);
}

.nosotros-page .project-card:nth-child(2) {
  background: var(--pink);
}

.nosotros-page .project-card:nth-child(3) {
  background: var(--purple);
}

.nosotros-page .project-card:nth-child(4) {
  background: var(--blue);
}

.nosotros-page .project-card h3 {
  font-size: clamp(25px, 2.5vw, 40px);
  margin-bottom: 14px;
  overflow-wrap: anywhere;
}

.nosotros-page .project-card p {
  font-size: 17px;
}

@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  .nosotros-page .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 9px 10px 0 var(--ink);
  }
}

@media(max-width:1050px) {
  .nosotros-page .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media(max-width:580px) {
  .nosotros-page .project-grid {
    grid-template-columns: 1fr;
  }
}

/* Origin, mission and vision */

.nosotros-page .about-path {
  max-width: 1200px;
  margin: 0 auto clamp(25px, 4vw, 65px);
  padding: 12px 0;
}

/* Alternating timeline layout */
.nosotros-page .about-path-step {
  --path-color: var(--green);
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(120px, 15vw, 190px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 50px);
  align-items: center;
  min-height: clamp(225px, 20vw, 290px);
}

.nosotros-page .about-path-step--2 {
  --path-color: var(--pink);
}

.nosotros-page .about-path-step--3 {
  --path-color: var(--purple);
}

.nosotros-page .about-path-copy {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
  padding-block: 26px;
  min-width: 0;
}

.nosotros-page .about-path-step--2 .about-path-copy {
  grid-column: 3;
  text-align: left;
}

.nosotros-page .about-path-copy h2 {
  font-size: clamp(32px, 3.5vw, 58px);
  margin: 0 0 14px;
}

.nosotros-page .about-path-copy p {
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.6;
  margin: 0;
}

/* Timeline icons and connectors */
.nosotros-page .about-path-node {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 200px;
}

.nosotros-page .about-path-arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.nosotros-page .about-path-arc path {
  fill: none;
  stroke: var(--path-color);
  stroke-width: 13;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.nosotros-page .about-path-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 58%;
  aspect-ratio: 1;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 4px 4px 0 var(--path-color);
  color: var(--ink);
  transition: transform .22s ease;
}

.nosotros-page .about-path-icon svg {
  width: 52%;
  height: 52%;
}

.nosotros-page .about-path-joint {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  width: 19px;
  height: 19px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 50%;
  z-index: 2;
}

.nosotros-page .about-path-step:last-child .about-path-joint {
  display: none;
}

@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .nosotros-page .about-path-step:hover .about-path-icon {
    transform: scale(1.06);
  }
}

/* Mobile timeline layout */
@media (max-width:760px) {
  .nosotros-page .about-path-step {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 20px;
    min-height: 0;
  }

  .nosotros-page .about-path-step .about-path-node {
    grid-column: 1;
    grid-row: 1;
    min-height: 170px;
  }

  .nosotros-page .about-path-step .about-path-copy {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    padding-block: 24px;
  }

  .nosotros-page .about-path-arc path {
    stroke-width: 8;
  }

  .nosotros-page .about-path-icon {
    width: 58%;
    border-width: 2px;
    box-shadow: 2px 2px 0 var(--path-color);
  }

  .nosotros-page .about-path-joint {
    width: 13px;
    height: 13px;
    border-width: 2px;
  }

  .nosotros-page .about-path-copy h2 {
    font-size: clamp(27px, 6vw, 40px);
  }
}
