/* Petroantillana page CSS: nosotros. */
.petro-page-nosotros .petro-page-body {
  margin: 0;
  padding: 0;
}

.petro-nosotros {
  --nosotros-green: #327a09;
  --nosotros-green-dark: #006600;
  --nosotros-gray: #434244;
  --nosotros-text: #4f5663;
  --nosotros-white: #ffffff;
  --nosotros-shell: min(1140px, calc(100vw - 80px));
  background: #ffffff;
  color: var(--nosotros-text);
  font-family: Lato, Arial, sans-serif;
  overflow: hidden;
}

.petro-nosotros *,
.petro-nosotros *::before,
.petro-nosotros *::after {
  box-sizing: border-box;
}

.petro-nosotros-shell {
  width: var(--nosotros-shell);
  margin: 0 auto;
}

.petro-nosotros h1,
.petro-nosotros h2,
.petro-nosotros h3,
.petro-nosotros p,
.petro-nosotros ul {
  margin-top: 0;
}

.petro-nosotros h1,
.petro-nosotros h2,
.petro-nosotros h3 {
  color: var(--nosotros-gray);
  font-family: Lato, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.2;
}

.petro-nosotros p,
.petro-nosotros li {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.86;
}

.petro-nosotros p {
  margin-bottom: 1.55rem;
}

.petro-nosotros p:last-child {
  margin-bottom: 0;
}

.petro-nosotros img {
  display: block;
  max-width: 100%;
  height: auto;
}

.petro-nosotros-hero {
  min-height: clamp(220px, 36.25vw, 522px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 3%;
  position: relative;
  background:
    linear-gradient(rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.32)),
    url("/static/sites/petroantillana/img/portada-1.jpg") bottom right / cover no-repeat;
  color: var(--nosotros-white);
  text-align: center;
}

.petro-nosotros-hero h1 {
  margin: 0;
  color: var(--nosotros-white);
  font-size: clamp(36px, 3.5vw, 50px);
  font-weight: 400;
  line-height: 1;
}

.petro-nosotros-section {
  padding: 0;
}

.petro-nosotros-about {
  padding: 90px 0 128px;
  background: #ffffff;
}

.petro-nosotros-about-grid,
.petro-nosotros-philosophy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

.petro-nosotros-about-media img {
  width: 100%;
}

.petro-nosotros-copy {
  padding-top: 4px;
}

.petro-nosotros-copy h2,
.petro-nosotros-section-heading h2,
.petro-nosotros-how-card h2 {
  margin-bottom: 0;
  color: var(--nosotros-gray);
  font-size: clamp(30px, 2.6vw, 34px);
  font-weight: 400;
}

.petro-nosotros-copy h2,
.petro-nosotros-section-heading h2 {
  text-align: center;
}

.petro-nosotros-copy p,
.petro-nosotros-how-card p {
  text-align: justify;
}

.petro-nosotros-divider {
  display: block;
  width: 54px;
  height: 5px;
  margin: 28px 0 34px;
  background: var(--nosotros-green);
}

.petro-nosotros-copy .petro-nosotros-divider,
.petro-nosotros-section-heading .petro-nosotros-divider {
  margin-left: auto;
  margin-right: auto;
}

.petro-nosotros-divider.is-light {
  background: var(--nosotros-white);
}

.petro-nosotros-philosophy {
  min-height: 754px;
  padding: 84px 0 0;
  background:
    linear-gradient(rgba(50, 122, 9, 0.08), rgba(50, 122, 9, 0.08)),
    url("/static/sites/petroantillana/img/fondo.png") center top / cover no-repeat;
  color: var(--nosotros-white);
}

.petro-nosotros-philosophy h2,
.petro-nosotros-philosophy h3,
.petro-nosotros-philosophy p,
.petro-nosotros-philosophy li {
  color: var(--nosotros-white);
}

.petro-nosotros-philosophy h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 2.5vw, 34px);
  font-weight: 400;
}

.petro-nosotros-philosophy-copy {
  max-width: 560px;
}

.petro-nosotros-philosophy-copy .petro-nosotros-divider {
  margin: 28px 0 34px;
}

.petro-nosotros-principle {
  margin-bottom: 14px;
}

.petro-nosotros-principle:last-child {
  margin-bottom: 0;
}

.petro-nosotros-principle h3 {
  margin-bottom: 2px;
  font-size: 25px;
  font-weight: 400;
}

.petro-nosotros-principle:last-child h3 {
  font-weight: 700;
}

.petro-nosotros-principle p {
  margin-bottom: 8px;
}

.petro-nosotros-principle ul {
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.petro-nosotros-principle li {
  line-height: 1.65;
}

.petro-nosotros-philosophy-media {
  justify-self: end;
  width: min(100%, 620px);
  margin-top: -32px;
}

.petro-nosotros-philosophy-media img {
  width: 100%;
}

.petro-nosotros-passion {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.46)),
    url("/static/sites/petroantillana/img/pleca.jpg") center center / cover no-repeat;
  color: var(--nosotros-white);
  text-align: center;
}

.petro-nosotros-passion h2 {
  margin: 0;
  color: var(--nosotros-white);
  font-size: clamp(30px, 2.7vw, 34px);
  font-weight: 400;
}

.petro-nosotros-channels {
  padding: 118px 0 140px;
  background: #ffffff;
}

.petro-nosotros-section-heading {
  margin-bottom: 56px;
  text-align: center;
}

.petro-nosotros-channel-grid {
  width: min(1040px, 100%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 92px 0;
  margin: 0 auto;
}

.petro-nosotros-channel-card {
  flex: 0 0 20%;
  max-width: 20%;
  min-height: 0;
  padding: 0 12px;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: center;
}

.petro-nosotros-channel-card:nth-child(n + 6) {
  flex-basis: 25%;
  max-width: 25%;
}

.petro-nosotros-channel-icon {
  min-height: 88px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.petro-nosotros-channel-icon img {
  width: 86px;
  max-width: 45%;
  max-height: 88px;
  object-fit: contain;
}

.petro-nosotros-channel-card h3 {
  margin: 22px 0 0;
  color: var(--nosotros-gray);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.35;
}

.petro-nosotros-how {
  min-height: 674px;
  padding: 62px 0 78px;
  background: url("/static/sites/petroantillana/img/fondo2.jpg") center center / cover no-repeat;
}

.petro-nosotros-how-grid {
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(410px, 42%);
  align-items: start;
}

.petro-nosotros-how-spacer {
  min-height: 1px;
}

.petro-nosotros-how-card {
  padding: 0;
  margin-top: 0;
  background: transparent;
  box-shadow: none;
}

.petro-nosotros-how-card .petro-nosotros-divider {
  width: 45px;
  margin: 22px 0 30px;
}

.petro-nosotros-how-card p {
  font-size: 15px;
  line-height: 1.78;
  margin-bottom: 1.7rem;
}

.petro-nosotros.petro-nosotros-js .petro-nosotros-reveal {
  --nosotros-reveal-x: 0px;
  --nosotros-reveal-y: 28px;
  --nosotros-scroll-x: 0px;
  --nosotros-scroll-y: 0px;
  opacity: 0;
  transform: translate3d(
    calc(var(--nosotros-reveal-x) + var(--nosotros-scroll-x)),
    calc(var(--nosotros-reveal-y) + var(--nosotros-scroll-y)),
    0
  );
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.23, 1, 0.32, 1);
  will-change: opacity, transform;
}

.petro-nosotros.petro-nosotros-js .petro-nosotros-reveal.is-visible {
  --nosotros-reveal-x: 0px;
  --nosotros-reveal-y: 0px;
  opacity: 1;
}

.petro-nosotros.petro-nosotros-js .petro-nosotros-hero.petro-nosotros-reveal,
.petro-nosotros.petro-nosotros-js .petro-nosotros-passion.petro-nosotros-reveal,
.petro-nosotros.petro-nosotros-js .petro-nosotros-channel-card.petro-nosotros-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.petro-nosotros.petro-nosotros-js .petro-nosotros-hero h1,
.petro-nosotros.petro-nosotros-js .petro-nosotros-passion h2 {
  --nosotros-scroll-x: 0px;
  --nosotros-scroll-y: 0px;
  opacity: 0;
  transform: translate3d(
    calc(-46px + var(--nosotros-scroll-x)),
    var(--nosotros-scroll-y),
    0
  );
  transition:
    opacity 800ms ease 700ms,
    transform 800ms cubic-bezier(0.23, 1, 0.32, 1) 700ms;
  will-change: opacity, transform;
}

.petro-nosotros.petro-nosotros-js .petro-nosotros-hero.is-visible h1,
.petro-nosotros.petro-nosotros-js .petro-nosotros-passion.is-visible h2 {
  opacity: 1;
  transform: translate3d(var(--nosotros-scroll-x), var(--nosotros-scroll-y), 0);
}

@media (prefers-reduced-motion: reduce) {
  .petro-nosotros *,
  .petro-nosotros *::before,
  .petro-nosotros *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  .petro-nosotros.petro-nosotros-js .petro-nosotros-reveal,
  .petro-nosotros.petro-nosotros-js .petro-nosotros-hero h1,
  .petro-nosotros.petro-nosotros-js .petro-nosotros-passion h2 {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .petro-nosotros {
    --nosotros-shell: min(100% - 64px, 1024px);
  }

  .petro-nosotros-hero {
    min-height: 260px;
    justify-content: flex-start;
    margin: 0;
    padding: 80px 50px;
    text-align: left;
  }

  .petro-nosotros-about {
    padding: 76px 0 108px;
  }

  .petro-nosotros-philosophy {
    min-height: 650px;
  }

  .petro-nosotros-channel-grid {
    gap: 76px 0;
  }

  .petro-nosotros-channel-card,
  .petro-nosotros-channel-card:nth-child(n + 6) {
    flex-basis: 33.333%;
    max-width: 33.333%;
  }

  .petro-nosotros-how-grid {
    grid-template-columns: minmax(0, 52%) minmax(360px, 48%);
  }
}

@media (max-width: 820px) {
  .petro-nosotros-about-grid,
  .petro-nosotros-philosophy-grid,
  .petro-nosotros-how-grid {
    grid-template-columns: 1fr;
  }

  .petro-nosotros-copy {
    padding-top: 42px;
  }

  .petro-nosotros-philosophy {
    min-height: 0;
    padding: 72px 0 56px;
  }

  .petro-nosotros-philosophy-media {
    width: min(100%, 520px);
    margin: 22px auto 0;
  }

  .petro-nosotros-how-spacer {
    display: none;
  }
}

@media (max-width: 767px) {
  .petro-nosotros {
    --nosotros-shell: min(100% - 40px, 640px);
  }

  .petro-nosotros-hero {
    min-height: 210px;
    justify-content: center;
    padding: 75px 25px;
    background-position: center center;
    text-align: center;
  }

  .petro-nosotros-hero h1 {
    font-size: 36px;
  }

  .petro-nosotros-about {
    padding: 20px 0 110px;
  }

  .petro-nosotros-copy h2,
  .petro-nosotros-section-heading h2,
  .petro-nosotros-how-card h2,
  .petro-nosotros-philosophy h2,
  .petro-nosotros-passion h2 {
    font-size: 28px;
  }

  .petro-nosotros p,
  .petro-nosotros li {
    font-size: 16px;
    line-height: 1.85;
  }

  .petro-nosotros-philosophy {
    padding: 116px 0 72px;
    background-position: center top;
  }

  .petro-nosotros-philosophy-media {
    width: 108%;
    margin: 36px -4% 0 auto;
  }

  .petro-nosotros-passion {
    min-height: 230px;
    background-size: cover;
  }

  .petro-nosotros-channels {
    display: none;
  }

  .petro-nosotros-how {
    min-height: 0;
    padding: 104px 0 96px;
    background: url("/static/sites/petroantillana/img/fondo1-1.png") center top / cover no-repeat;
  }

  .petro-nosotros-how-card {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .petro-nosotros {
    --nosotros-shell: min(100% - 20px, 480px);
  }

  .petro-nosotros-about-media {
    width: 176%;
    margin-left: 10px;
  }

  .petro-nosotros-copy {
    padding-top: 44px;
  }

  .petro-nosotros-copy p,
  .petro-nosotros-how-card p,
  .petro-nosotros-philosophy p {
    text-align: justify;
  }
}
