.acb-contacto,
.acb-contacto * {
  box-sizing: border-box;
}

.acb-contacto {
  --acb-accent: #a4b129;
  --acb-text: #fff;
  --acb-overlay: .58;
  --acb-height: 100svh;
  --acb-pad-desktop: 205px;
  --acb-pad-tablet: 150px;
  --acb-pad-mobile: 115px;
  --acb-bg-desktop: center center;
  --acb-bg-tablet: center center;
  --acb-bg-mobile: 42% center;
  isolation: isolate;
  position: relative;
  width: 100vw;
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  min-height: var(--acb-height);
  overflow: hidden;
  color: var(--acb-text);
  background-color: #080807;
  background-image: var(--acb-bg);
  background-position: var(--acb-bg-desktop);
  background-repeat: no-repeat;
  background-size: cover;
  font-family: Arial, Helvetica, sans-serif;
}

.acb-contacto::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .84) 0%, rgba(0, 0, 0, .48) 45%, rgba(0, 0, 0, .34) 100%);
  opacity: var(--acb-overlay);
  pointer-events: none;
}

.acb__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(70px, 10vh, 135px);
  width: min(100%, 1720px);
  min-height: var(--acb-height);
  margin: 0 auto;
  padding: var(--acb-pad-desktop) clamp(38px, 5.6vw, 108px) clamp(52px, 8vh, 100px);
}

.acb-contacto--contacts-top .acb__inner {
  justify-content: flex-start;
}

.acb-contacto--contacts-top .acb__contacts {
  order: -1;
}

.acb-contacto--contacts-bottom .acb__inner {
  justify-content: space-between;
}

.acb__intro {
  width: min(500px, 100%);
}

.acb__title {
  max-width: 470px;
  margin: 0;
  color: var(--acb-text);
  font-family: Baskerville, "Baskerville Old Face", "Times New Roman", serif;
  font-size: clamp(48px, 4.35vw, 76px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: .92;
}

.acb__title span {
  display: block;
  color: var(--acb-accent);
}

.acb__description {
  max-width: 470px;
  margin: 22px 0 0;
  color: var(--acb-text);
  font-size: 15px;
  line-height: 1.45;
}

.acb__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 21px;
  color: var(--acb-text) !important;
  font-family: Baskerville, "Baskerville Old Face", "Times New Roman", serif;
  font-size: clamp(23px, 1.55vw, 29px);
  font-weight: 600;
  line-height: 1.15;
  text-decoration: none !important;
  transition: color .2s ease, transform .2s ease;
}

.acb__cta svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  transition: transform .2s ease;
}

.acb__cta:hover,
.acb__cta:focus-visible {
  color: var(--acb-accent) !important;
}

.acb__cta:hover svg,
.acb__cta:focus-visible svg {
  transform: translateX(5px);
}

.acb__contacts {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1.25fr 1fr;
  gap: clamp(24px, 2.6vw, 52px);
  align-items: start;
  width: 100%;
}

.acb__item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: clamp(14px, 1.2vw, 20px);
  min-width: 0;
}

.acb__icon {
  display: grid;
  width: 48px;
  height: 48px;
  border: 1px solid var(--acb-accent);
  border-radius: 50%;
  place-items: center;
}

.acb__icon svg {
  width: 23px;
  height: 23px;
  fill: var(--acb-text);
}

.acb__item-body {
  min-width: 0;
}

.acb__item h2 {
  margin: 0 0 10px;
  color: var(--acb-accent);
  font-family: Baskerville, "Baskerville Old Face", "Times New Roman", serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.1;
}

.acb__line,
.acb__address,
.acb__email {
  color: var(--acb-accent);
  font-size: 14px;
  line-height: 1.4;
}

.acb__line strong,
.acb__address strong {
  font-weight: 700;
}

.acb__line a,
.acb__email,
.acb__address a {
  color: var(--acb-accent) !important;
  text-decoration: none !important;
}

.acb__line a,
.acb__address a {
  overflow-wrap: anywhere;
}

.acb__email {
  display: inline-block;
  max-width: none;
  white-space: nowrap;
  font-size: clamp(12.5px, .85vw, 14px);
}

.acb__line a:hover,
.acb__line a:focus-visible,
.acb__email:hover,
.acb__email:focus-visible,
.acb__address a:hover,
.acb__address a:focus-visible {
  color: var(--acb-text) !important;
  text-decoration: underline !important;
}

.acb__meta {
  margin: 12px 0 0;
  color: var(--acb-text);
  font-size: 14px;
  line-height: 1.45;
}

.acb__address {
  display: grid;
  margin-bottom: 18px;
}

.acb__address span,
.acb__address a {
  display: block;
}

@media (max-width: 1499px) {
  .acb-contacto {
    background-position: var(--acb-bg-tablet);
  }

  .acb__inner {
    gap: clamp(46px, 6.5vh, 70px);
    padding-top: var(--acb-pad-tablet);
    padding-bottom: clamp(44px, 6vh, 70px);
  }

  .acb__contacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px clamp(54px, 8vw, 100px);
  }

  .acb__item {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 20px;
  }

  .acb__email {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .acb-contacto {
    background-attachment: scroll;
    background-position: var(--acb-bg-mobile);
  }

  .acb-contacto::before {
    background: rgba(0, 0, 0, .92);
  }

  .acb__inner {
    gap: 64px;
    padding: var(--acb-pad-mobile) 24px 58px;
  }

  .acb__title {
    font-size: clamp(45px, 14vw, 62px);
  }

  .acb__description {
    font-size: 15px;
  }

  .acb__contacts {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .acb__item {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 17px;
  }

  .acb__email {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .acb__icon {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 390px) {
  .acb__inner {
    padding-right: 18px;
    padding-left: 18px;
  }

  .acb__title {
    font-size: 43px;
  }

  .acb__item h2 {
    font-size: 21px;
  }
}

@media (orientation: landscape) and (max-height: 600px) {
  .acb__inner {
    gap: 55px;
    padding-top: min(var(--acb-pad-tablet), 105px);
    padding-bottom: 42px;
  }

  .acb__title {
    font-size: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .acb__cta,
  .acb__cta svg {
    transition: none;
  }
}
