/* Petroantillana home page CSS: vanilla rendering of the public WordPress home. */
.petro-page-inicio-es .petro-page-body {
  margin: 0;
  padding: 0;
}

.petro-home {
  --home-green: #327a09;
  --home-green-dot: #4f9748;
  --home-gray: #434244;
  --home-red: #ff1d25;
  --home-white: #ffffff;
  --home-shell: min(1140px, calc(100vw - 40px));
  overflow: hidden;
  background: var(--home-white);
  color: var(--home-gray);
  font-family: Lato, Arial, sans-serif;
}

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

.petro-home a {
  color: inherit;
}

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

.petro-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.petro-home-hero {
  position: relative;
  height: 500px;
  min-height: 500px;
  margin: 0 3%;
  overflow: hidden;
  background: #ffffff;
}

.petro-home-hero-track,
.petro-home-hero-slide {
  position: absolute;
  inset: 0;
}

.petro-home-hero-slide {
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #ffffff;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 1;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 500ms ease, visibility 0s linear 500ms;
  pointer-events: none;
}

.petro-home-hero-slide.is-active {
  z-index: 2;
  visibility: visible;
  transform: translateX(0);
  transition: transform 500ms ease;
  pointer-events: auto;
}

.petro-home-hero-slide.is-entering-forward {
  visibility: visible;
  transform: translateX(100%);
}

.petro-home-hero-slide.is-entering-backward {
  visibility: visible;
  transform: translateX(-100%);
}

.petro-home-hero-slide.is-exiting-forward {
  z-index: 1;
  visibility: visible;
  transform: translateX(-100%);
}

.petro-home-hero-slide.is-exiting-backward {
  z-index: 1;
  visibility: visible;
  transform: translateX(100%);
}

.home-hero-slide-1,
.petro-home-hero-slide-1 {
  background-image: url("/static/sites/petroantillana/img/1banner.jpg");
}

.home-hero-slide-2,
.petro-home-hero-slide-2 {
  background-image: url("/static/sites/petroantillana/img/2banner.jpg");
}

.home-hero-slide-3,
.petro-home-hero-slide-3 {
  background-image: url("/static/sites/petroantillana/img/3banner.jpg");
}

.home-hero-slide-4,
.petro-home-hero-slide-4 {
  background-image: url("/static/sites/petroantillana/img/4banner.jpg");
}

.home-hero-slide-5,
.petro-home-hero-slide-5 {
  background-image: url("/static/sites/petroantillana/img/Banner5.jpg");
}

.home-hero-slide-6,
.petro-home-hero-slide-6 {
  background-image: url("/static/sites/petroantillana/img/6banner.jpg");
}

.petro-home-hero-shade {
  display: none;
}

.petro-home-hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 0 50px 0 clamp(150px, 27.8vw, 400px);
  display: flex;
  justify-content: center;
  text-align: left;
}

.petro-home-hero h1 {
  max-width: 100%;
  margin: 0;
  color: #ffffff;
  font-family: Lato, Arial, sans-serif;
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);

  opacity: 0;
  transform: translate3d(0, 60px, 0);
  will-change: opacity, transform;
}

.petro-home-hero-slide.is-active h1 {
  animation: petroHomeHeroTitleIn 1.25s ease 0.7s forwards;
}

.petro-home-hero-slide:not(.is-active) h1 {
  opacity: 0;
  transform: translate3d(0, 60px, 0);
  animation: none;
}

@keyframes petroHomeHeroTitleIn {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.petro-home-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 42px;
  height: 54px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(238, 238, 238, 0.9);
  font-family: Arial, sans-serif;
  font-size: 34px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  cursor: pointer;
  transition: color 160ms ease, opacity 160ms ease;
}

.petro-home-hero-arrow:hover,
.petro-home-hero-arrow:focus {
  color: #ffffff;
  opacity: 1;
  outline: 0;
}

.petro-home-hero-arrow.is-prev {
  left: 10px;
}

.petro-home-hero-arrow.is-next {
  right: 10px;
}

.petro-home-hero-dots {
  display: none;
}

.petro-home-products {
  padding: 52px 0 28px;
  background: #ffffff;
}

.petro-home-products .petro-home-shell {
  width: 100%;
  max-width: none;
}

.petro-home-products-grid {
  display: grid;
  grid-template-columns: 25% 75%;
  align-items: start;
  gap: 0;
}

.petro-home-products-media {
  padding-top: 50px;
}

.petro-home-products-media img {
  display: block;
  width: 520px;
  max-width: none;
  height: auto;
  margin: 0 0 0 -45px;
  transform-origin: center center;
}

.petro-home-products-copy {
  margin-left: -400px;
  padding: 0 10%;
  text-align: center;
}

.petro-home-products-copy h2,
.petro-home-section-heading h2 {
  margin: 0;
  color: var(--home-gray);
  font-family: Lato, Arial, sans-serif;
  font-size: clamp(28px, 2.4vw, 31px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
}

.petro-home-divider {
  display: block;
  width: 10%;
  min-width: 74px;
  max-width: 118px;
  height: 5px;
  margin: 15px auto;
  background: var(--home-green);
}

.petro-home-products-copy p {
  max-width: 980px;
  margin: 0 auto;
  color: var(--home-gray);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
}

.petro-home-cta {
  padding: 0 0 50px;
  background: #ffffff;
}

.petro-home-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2%;
}

.petro-home-cta-card {
  position: relative;
  aspect-ratio: 791 / 496;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #ffffff;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.petro-home-cta-card::before {
  display: none;
}

.petro-home-cta-card-business {
  background-image: url("/static/sites/petroantillana/img/mayoreo-1.jpg");
}

.petro-home-cta-card-store {
  background-image: url("/static/sites/petroantillana/img/tienda.jpg");
}

.petro-home-cta-card-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 24px;
  text-align: center;
}

.petro-home-cta-card h2 {
  max-width: 440px;
  margin: 0 auto 18px;
  color: #ffffff;
  font-family: Muli, Lato, Arial, sans-serif;
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-shadow: none;
}

.petro-home .petro-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 30px;
  border-radius: 100px;
  background: var(--home-red);
  color: #ffffff;
  font-family: Lato, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.petro-home .petro-home-btn:hover,
.petro-home .petro-home-btn:focus {
  background: #ff1d25;
  color: #ffffff;
  transform: translateY(-1px);
  outline: 0;
}

.petro-home-brands {
  min-height: 100vh;
  padding: 80px 0;
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0);
  background-image: url("/static/sites/petroantillana/img/fondo2.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.petro-home-section-heading {
  margin-bottom: 22px;
  text-align: center;
}

.petro-home-brand-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 6px;
}

.petro-home-brand-viewport {
  overflow: hidden;
  padding: 18px 0 16px;
}

.petro-home-brand-track {
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 600ms ease;
  will-change: transform;
}

.petro-home-brand-card {
  flex: 0 0 calc((100% - 54px) / 4);
  min-height: 128px;
  padding: 0 4px;
  border: 1px solid rgba(221, 221, 221, 0.01);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 180ms ease, filter 180ms ease;
}

.petro-home-brand-card:hover,
.petro-home-brand-card:focus {
  box-shadow: none;
  outline: 0;
}

.petro-home-brand-media img {
  display: inline-block;
  max-width: 190px;
  max-height: 110px;
  width: auto;
  height: auto;
  filter: grayscale(100%);
  transition: filter 180ms ease;
}

.petro-home-brand-card:hover img,
.petro-home-brand-card:focus img {
  filter: grayscale(0);
}

.petro-home-brand-arrow {
  width: 36px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(240, 240, 240, 0.01);
  border-radius: 0;
  background: rgba(240, 240, 240, 0.01);
  color: rgba(0, 0, 0, 0.01);
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.petro-home-brand-arrow:hover,
.petro-home-brand-arrow:focus {
  background: rgba(22, 160, 139, 0.01);
  color: rgba(255, 255, 255, 0.01);
  outline: 0;
}

.petro-home-brand-arrow:disabled {
  cursor: default;
}

.petro-home-brand-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 14px;
  margin-top: 6px;
}

.petro-home-brand-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #dddddd;
  cursor: pointer;
}

.petro-home-brand-dot.is-active {
  background: var(--home-green-dot);
}

.petro-brand-modal[hidden] {
  display: none !important;
}

.petro-brand-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.petro-brand-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(43, 46, 56, 0.72);
}

.petro-brand-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(700px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
  display: block;
  padding: 35px;
  border-radius: 0;
  background: #ffffff;
  color: #555555;
  text-align: center;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.petro-brand-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 35px;
  height: 35px;
  border: 0;
  background: transparent;
  color: #95979c;
  font-family: Arial, sans-serif;
  font-size: 25px;
  line-height: 35px;
  cursor: pointer;
}

.petro-brand-modal-media {
  display: block;
  text-align: center;
}

.petro-brand-modal-media img {
  display: block;
  max-width: min(100%, 260px);
  max-height: 170px;
  width: auto;
  height: auto;
  margin: 0 auto;
}

.petro-brand-modal-copy h3 {
  margin: 20px 0 15px;
  color: #2f2f2f;
  font-family: Ubuntu, Lato, Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 24px;
}

.petro-brand-modal-copy div {
  color: #555555;
  font-family: Ubuntu, Lato, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 23px;
  text-align: center;
}

.petro-brand-modal-copy .petro-btn,
.petro-brand-modal-link {
  margin-top: 18px;
}

body.petro-brand-modal-open {
  overflow: hidden;
}

/*
.petro-whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  box-shadow: 1px 6px 24px 0 rgba(7, 94, 84, 0.24);
  text-decoration: none;
}

.petro-whatsapp-float::before {
  content: "";
  width: 60%;
  height: 60%;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%3E%3Cpath%20fill='%23fff'%20d='M3.516%203.516c4.686-4.686%2012.284-4.686%2016.97%200%204.686%204.686%204.686%2012.283%200%2016.97a12.004%2012.004%200%200%201-13.754%202.299l-5.814.735a.392.392%200%200%201-.438-.44l.748-5.788A12.002%2012.002%200%200%201%203.517%203.517zm3.61%2017.043.3.158a9.846%209.846%200%200%200%2011.534-1.758c3.843-3.843%203.843-10.074%200-13.918-3.843-3.843-10.075-3.843-13.918%200a9.846%209.846%200%200%200-1.747%2011.554l.16.303-.51%203.942a.196.196%200%200%200%20.219.22l3.961-.501zm6.534-7.003-.933%201.164a9.843%209.843%200%200%201-3.497-3.495l1.166-.933a.792.792%200%200%200%20.23-.94L9.561%206.96a.793.793%200%200%200-.924-.445%201291.6%201291.6%200%200%200-2.023.524.797.797%200%200%200-.588.88%2011.754%2011.754%200%200%200%2010.005%2010.005.797.797%200%200%200%20.88-.587l.525-2.023a.793.793%200%200%200-.445-.923L14.6%2013.327a.792.792%200%200%200-.94.23z'/%3E%3C/svg%3E") center / contain no-repeat;
}
  */

.petro-home-reveal {
  opacity: 1;
  --home-reveal-x: 0px;
  --home-reveal-y: 0px;
  --home-motion-x: 0px;
  --home-motion-y: 0px;
  --home-motion-rotate: 0deg;
  transform: translate3d(calc(var(--home-reveal-x) + var(--home-motion-x)),
      calc(var(--home-reveal-y) + var(--home-motion-y)),
      0) rotate(var(--home-motion-rotate));
}

.petro-home-js .petro-home-reveal {
  opacity: 0;
  --home-reveal-y: 30px;
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

.petro-home-js .petro-home-reveal-from-left {
  --home-reveal-x: -46px;
  --home-reveal-y: 0px;
}

.petro-home-js .petro-home-reveal-from-right {
  --home-reveal-x: 46px;
  --home-reveal-y: 0px;
}

.petro-home-js .petro-home-reveal.is-visible.petro-home-reveal-from-left,
.petro-home-js .petro-home-reveal.is-visible.petro-home-reveal-from-right {
  --home-reveal-x: 0px;
}

.petro-home-js .petro-home-reveal-delay {
  transition-delay: 0.6s;
}

.petro-home-motion {
  --home-motion-x: 0px;
  --home-motion-y: 0px;
  --home-motion-rotate: 0deg;
  transform: translate3d(calc(var(--home-reveal-x, 0px) + var(--home-motion-x)),
      calc(var(--home-reveal-y, 0px) + var(--home-motion-y)),
      0) rotate(var(--home-motion-rotate));
  will-change: transform;
}

@media (max-width: 1024px) {
  .petro-home-hero-copy {
    padding-left: clamp(82px, 24vw, 245px);
  }

  .petro-home-products-media img {
    width: 300px;
    margin-left: -34px;
  }

  .petro-home-products-copy {
    margin-left: -92px;
  }
}

@media (max-width: 980px) {
  .petro-home-brand-card {
    flex-basis: calc((100% - 36px) / 3);
  }
}

@media (max-width: 767px) {
  .petro-home {
    --home-shell: min(767px, calc(100vw - 50px));
  }

  .petro-home-hero {
    height: 205px;
    min-height: 205px;
    margin: 0;
  }

  .home-hero-slide-1,
  .petro-home-hero-slide-1 {
    background-image: url("/static/sites/petroantillana/img/banner-1.jpg");
  }

  .home-hero-slide-2,
  .petro-home-hero-slide-2 {
    background-image: url("/static/sites/petroantillana/img/banner-2.jpg");
  }

  .home-hero-slide-3,
  .petro-home-hero-slide-3 {
    background-image: url("/static/sites/petroantillana/img/banner-3.jpg");
  }

  .home-hero-slide-4,
  .petro-home-hero-slide-4 {
    background-image: url("/static/sites/petroantillana/img/banner-4.jpg");
  }

  .home-hero-slide-5,
  .petro-home-hero-slide-5 {
    background-image: url("/static/sites/petroantillana/img/banner-5.jpg");
  }

  .home-hero-slide-6,
  .petro-home-hero-slide-6 {
    background-image: url("/static/sites/petroantillana/img/banner-6.jpg");
  }

  .petro-home-hero-copy,
  .petro-home-hero-arrow,
  .petro-home-hero-dots {
    display: none !important;
  }

  .petro-home-products {
    padding: 32px 0 22px;
  }

  .petro-home-products .petro-home-shell {
    width: var(--home-shell);
  }

  .petro-home-products-grid,
  .petro-home-cta-grid {
    grid-template-columns: 1fr;
  }

  .petro-home-products-media {
    order: 2;
    padding-top: 0;
  }

  .petro-home-products-media img {
    width: 30%;
    max-width: 160px;
    margin: 18px auto 0;
  }

  .petro-home-products-copy {
    order: 1;
    margin-left: 0;
    padding: 0;
  }

  .petro-home-products-copy h2,
  .petro-home-section-heading h2 {
    width: min(300px, 100%);
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(28px, 8vw, 36px);
    overflow-wrap: break-word;
    white-space: normal;
  }

  .petro-home-products-copy p {
    width: min(280px, 100%);
    font-size: 18px;
    line-height: 1.55;
    overflow-wrap: break-word;
  }

  .petro-home-cta {
    padding-bottom: 50px;
  }

  .petro-home-cta-grid {
    gap: 16px;
  }

  .petro-home-cta-card {
    aspect-ratio: 791 / 496;
  }

  .petro-home-cta-card h2 {
    width: min(280px, 100%);
    max-width: 280px;
    font-size: clamp(24px, 7.4vw, 30px);
    overflow-wrap: break-word;
    white-space: normal;
  }

  .petro-home-btn {
    font-size: 18px;
  }

  .petro-home-brands {
    min-height: 0;
    padding: 60px 0;
    display: block;
  }

  .petro-home-brand-carousel {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
  }

  .petro-home-brand-card {
    min-height: 118px;
  }

  .petro-home-brand-media img {
    max-width: min(210px, 82vw);
    max-height: 112px;
    filter: grayscale(0);
  }

  .petro-home-brand-arrow {
    width: 30px;
  }

  .petro-brand-modal {
    padding: 18px;
  }

  .petro-brand-modal-dialog {
    padding: 35px 24px 28px;
  }
}

@media (max-width: 736px) {
  .petro-home-brand-card {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 480px) {
  .petro-home-brand-card {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {

  .petro-home *,
  .petro-home *::before,
  .petro-home *::after {
    transition: none !important;
  }

  .petro-home-reveal,
  .petro-home-js .petro-home-reveal,
  .petro-home-motion {
    opacity: 1;
    transform: none !important;
  }
}