/* Petroantillana Step 4 page CSS: empresas.html -> empresas. */
.petro-page-empresas .petro-page-body {
  margin: 0;
  padding: 0;
}

.petro-empresas {
  --empresas-green: #327a09;
  --empresas-green-dark: #1e5f16;
  --empresas-red: #ff1d25;
  --empresas-gray: #434244;
  --empresas-soft: #f7f7f5;
  --empresas-white: #ffffff;
  --empresas-shell: min(1140px, calc(100vw - 40px));
  color: var(--empresas-gray);
  font-family: Lato, Arial, sans-serif;
  overflow: hidden;
}

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

.petro-empresas-section {
  padding: 80px 0;
}

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

.petro-empresas h1,
.petro-empresas h2,
.petro-empresas h3 {
  font-family: Lato, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.12;
}

.petro-empresas p {
  font-size: 16px;
  line-height: 1.78;
}

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

.petro-empresas-hero {
  min-height: clamp(420px, 36.3vw, 540px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 3%;
  background:
    linear-gradient(rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.10)),
    url("/static/sites/petroantillana/img/portada.jpg") center center / cover no-repeat;
  color: var(--empresas-white);
  text-align: center;
}

.petro-empresas-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--empresas-white);
  font-size: clamp(36px, 3.5vw, 50px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.26;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
}

.petro-empresas-heading {
  text-align: center;
  margin-bottom: 36px;
}

.petro-empresas-heading h2 {
  margin-bottom: 34px;
  color: var(--empresas-gray);
  font-size: clamp(31px, 3vw, 36px);
  font-weight: 400;
  transform: translateX(var(--empresas-scroll-x, 0));
  will-change: transform;
}

.petro-empresas-divider {
  display: block;
  width: 112px;
  height: 5px;
  margin: 0 auto;
  background: var(--empresas-green);
}

.petro-empresas-brands {
  padding: 82px 0 220px;
  background: url("/static/sites/petroantillana/img/fondo1-2-1.png") center bottom / cover no-repeat;
}

.petro-empresas-brand-carousel {
  position: relative;
  padding: 0 0 34px;
}

.petro-empresas-brand-viewport {
  overflow: hidden;
}

.petro-empresas-brand-track {
  display: flex;
  transition: transform 600ms ease;
  will-change: transform;
}

.petro-empresas-brand-card {
  flex: 0 0 25%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  padding: 10px 26px;
  border: 0;
  background: transparent;
  cursor: pointer;
  filter: grayscale(1);
  transition: filter 220ms ease, opacity 220ms ease;
}

.petro-empresas-brand-card:hover,
.petro-empresas-brand-card:focus {
  filter: grayscale(0);
  outline: none;
}

.petro-empresas-brand-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 128px;
}

.petro-empresas-brand-media img {
  max-height: 128px;
  width: auto;
}

.petro-empresas-brand-arrow {
  position: absolute;
  top: 50%;
  width: 38px;
  height: 38px;
  transform: translateY(-72%);
  border: 0;
  border-radius: 50%;
  background: rgba(240, 240, 240, 0.01);
  color: rgba(0, 0, 0, 0.01);
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 180ms ease, color 180ms ease;
  z-index: 2;
}

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

.petro-empresas-brand-arrow.is-prev {
  left: 0;
}

.petro-empresas-brand-arrow.is-next {
  right: 0;
}

.petro-empresas-brand-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
}

.petro-empresas-brand-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d9d9d9;
  cursor: pointer;
}

.petro-empresas-brand-dots button.is-active {
  background: var(--empresas-green);
}

.petro-empresas-catalogs {
  background: var(--empresas-white);
}

.petro-empresas-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.petro-empresas-catalog-card {
  position: relative;
  min-height: 468px;
  overflow: hidden;
  display: block;
  background: #1b1b1b;
  box-shadow: none;
}

.petro-empresas-catalog-card img {
  width: 100%;
  height: 100%;
  min-height: 468px;
  object-fit: cover;
  transform: none;
  transition: transform 500ms ease, filter 500ms ease;
}

.petro-empresas-catalog-card:hover img,
.petro-empresas-catalog-card:focus img {
  filter: brightness(0.94);
}

.petro-empresas-catalog-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  min-height: 88px;
  padding: 40px 0 0;
  background: rgba(0, 0, 0, 0.5);
  color: var(--empresas-white);
  opacity: 0;
  transition: opacity 500ms ease;
}

.petro-empresas-catalog-card:hover .petro-empresas-catalog-overlay,
.petro-empresas-catalog-card:focus .petro-empresas-catalog-overlay {
  opacity: 1;
}

.petro-empresas-catalog-title {
  padding: 0 20px;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: none;
}

.petro-empresas-catalog-icon {
  position: static;
  width: auto;
  height: auto;
  padding: 0 20px;
  display: block;
  border-radius: 0;
  background: transparent;
  color: var(--empresas-white);
  font-size: 24px;
  line-height: 1;
}

.petro-empresas-register {
  padding: 50px 0;
  background: var(--empresas-white);
}

.petro-empresas-register-shell {
  text-align: center;
}

.petro-empresas-register-shell img {
  margin: 0 auto 50px;
  width: min(90%, 1024px);
}

.petro-empresas-register-button,
.petro-empresas-submit,
.petro-empresas-modal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 5px 30px;
  border: 0;
  border-radius: 100px;
  background: var(--empresas-red);
  color: var(--empresas-white);
  font-family: Roboto, Lato, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.petro-empresas-register-button:hover,
.petro-empresas-register-button:focus,
.petro-empresas-submit:hover,
.petro-empresas-submit:focus,
.petro-empresas-modal-link:hover,
.petro-empresas-modal-link:focus {
  background: var(--empresas-green-dark);
  color: var(--empresas-white);
  transform: translateY(-2px);
  outline: none;
}

.petro-empresas-contact {
  padding: 80px 0 221px;
  background:
    rgba(255, 255, 255, 0)
    url("/static/sites/petroantillana/img/fondo2.png") center top / cover no-repeat;
}

.petro-empresas-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

.petro-empresas-contact-copy p {
  margin-bottom: 30px;
  color: var(--empresas-gray);
  font-size: 20px;
  line-height: 1.85;
}

.petro-empresas-contact-copy strong {
  color: var(--empresas-green-dark);
}

.petro-page-empresas .petro-empresas-form {
  --empresas-green: #327a09;
  --empresas-green-dark: #1e5f16;
  --empresas-red: #ff1d25;
  --empresas-gray: #434244;
  --empresas-field-text: #1f2124;
  --empresas-border: rgba(122, 122, 122, 0.34);
  --empresas-white: #ffffff;
  --empresas-shell: min(1140px, calc(100vw - 40px));
  width: min(540px, calc((var(--empresas-shell) / 2) - 30px));
  margin-top: -466px;
  margin-right: 0;
  margin-bottom: 78px;
  margin-left: calc((100vw - var(--empresas-shell)) / 2 + (var(--empresas-shell) / 2) + 10px);
  padding: 0 0 22px;
  display: grid;
  gap: 22px;
  box-sizing: border-box;
  color: var(--empresas-field-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.petro-empresas-form .cms-form-label--hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.petro-empresas-input {
  width: 100%;
  min-height: 47px;
  box-sizing: border-box;
  border: 1px solid var(--empresas-border);
  border-radius: 4px;
  background: var(--empresas-white);
  color: var(--empresas-field-text);
  font: inherit;
  line-height: 1.4;
  padding: 6px 16px;
  vertical-align: middle;
}

.petro-empresas-input::placeholder {
  color: inherit;
  opacity: 0.6;
}

.petro-empresas-input-message {
  min-height: 103.56px;
  resize: vertical;
}

.petro-empresas-input:focus {
  border-color: var(--empresas-border);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  outline: 0;
}

.petro-empresas-submit {
  justify-self: end;
  min-width: 0;
  min-height: 33px;
  padding: 5px 30px;
  border: 0;
  border-radius: 100px;
  background: var(--empresas-red);
  color: var(--empresas-white);
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  box-shadow: none;
  transform: none;
  transition: none;
}

.petro-empresas-submit:hover,
.petro-empresas-submit:focus {
  background: var(--empresas-red);
  color: var(--empresas-white);
  transform: none;
  outline: none;
}

.petro-empresas-form-note {
  min-height: 1.4em;
  margin: 0;
  color: var(--empresas-green-dark);
  font-size: 14px;
}

.petro-empresas-form-note.is-error {
  color: var(--empresas-red);
}

.petro-empresas-form .cms-form-help,
.petro-empresas-form .cms-form-choice-group {
  margin: 0;
}

.petro-empresas-form-note:empty {
  display: none;
}

.petro-empresas-modal.is-closed {
  display: none;
}

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

.petro-empresas-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.petro-empresas-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  display: block;
  padding: clamp(28px, 5vw, 44px);
  background: #ffffff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.35);
}

.petro-empresas-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--empresas-gray);
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}

.petro-empresas-modal-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 8px;
}

.petro-empresas-modal-image {
  max-height: 160px;
  width: auto;
}

.petro-empresas-modal-title {
  margin: 20px 0 15px;
  color: #2f2f2f;
  font-size: 22px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
}

.petro-empresas-modal-body p {
  margin-bottom: 14px;
  color: #555555;
  font-size: 14px;
  line-height: 23px;
}

.petro-empresas-modal-link {
  margin-top: 10px;
}

.petro-empresas-modal-link.is-empty {
  display: none;
}

.petro-empresas-location-title {
  margin: 24px 0 14px;
  color: var(--empresas-green-dark);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.petro-empresas-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.petro-empresas-location-card {
  border: 1px solid rgba(67, 66, 68, 0.12);
  padding: 14px 16px;
  background: #ffffff;
  text-align: center;
}

.petro-empresas-location-card h5 {
  margin: 0 0 8px;
  color: var(--empresas-green-dark);
  font-size: 17px;
}

.petro-empresas-location-card h6 {
  margin: 12px 0 4px;
  color: var(--empresas-gray);
  font-size: 14px;
}

.petro-empresas-location-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.petro-empresas.petro-empresas-js .petro-empresas-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.petro-empresas.petro-empresas-js .petro-empresas-reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .petro-empresas.petro-empresas-js .petro-empresas-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .petro-empresas-brand-card {
    flex-basis: 33.333%;
  }

  .petro-empresas-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .petro-empresas-contact-grid,
  .petro-empresas-modal-dialog {
    grid-template-columns: 1fr;
  }

  .petro-empresas-modal-media {
    padding-top: 8px;
  }

  .petro-page-empresas .petro-empresas-contact {
    padding-bottom: 483px;
  }

  .petro-page-empresas .petro-empresas-form {
    width: var(--empresas-shell);
    margin: -445px auto 58px;
  }

  .petro-page-empresas .petro-empresas-submit {
    justify-self: end;
  }
}

@media (max-width: 700px) {
  .petro-empresas-shell {
    width: min(100% - 28px, 560px);
  }

  .petro-empresas-hero {
    min-height: 244px;
    margin: 0;
    overflow: hidden;
  }

  .petro-empresas-hero h1 {
    max-width: 640px;
    font-size: 36px;
  }

  .petro-empresas-section {
    padding: 62px 0;
  }

  .petro-page-empresas .petro-empresas-contact {
    padding-top: 62px;
    padding-bottom: 465px;
  }

  .petro-empresas-brands.petro-empresas-section {
    padding: 82px 0 245px;
  }

  .petro-empresas-brand-carousel {
    padding-left: 0;
    padding-right: 0;
  }

  .petro-empresas-brand-card {
    flex-basis: 50%;
    min-height: 150px;
    filter: none;
  }

  .petro-empresas-catalog-grid {
    grid-template-columns: 1fr;
  }

  .petro-empresas-catalog-card,
  .petro-empresas-catalog-card img {
    min-height: 360px;
  }

  .petro-empresas-submit {
    justify-self: stretch;
  }

  .petro-empresas-location-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .petro-empresas-hero {
    min-height: 244px;
    margin: 0;
    text-align: center;
  }

  .petro-empresas-brand-card {
    flex-basis: 100%;
  }

  .petro-empresas-brand-arrow {
    width: 32px;
    height: 32px;
    font-size: 19px;
  }

  .petro-empresas-modal {
    padding: 14px;
  }

  .petro-empresas-modal-dialog {
    padding: 34px 20px 24px;
  }
}
