.contact-main {
  margin: 144px 0;
}

.contact-inner {
  width: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: -96px;
  z-index: 5;
  position: relative;
}

.contact-col-info {
  min-width: 0;
}

.contact-tabs {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-bottom: 48px;
}

.contact-tabs-line {
  position: relative;
  width: 100%;
  min-width: 0;
}

.contact-tabs-line::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 2px;
  background: #eaeaf3;
  pointer-events: none;
  z-index: 0;
}

.contact-tabs .swiper-contact-tabs {
  width: 100%;
  overflow: hidden;
}

.contact-tabs .swiper-slide {
  min-width: 0;
  display: flex;
  justify-content: center;
}

.contact-tabs .contact-tab {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 32px 8px 20px;
  margin: 0;
  font-size: 18px;
  line-height: 32px;
  color: #707070;
  text-align: center;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition:
    color 0.3s,
    border-color 0.3s;
}

.contact-tabs .contact-tab span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-tabs .swiper-navigation {
  position: static !important;
  inset: auto !important;
  right: auto !important;
  left: auto !important;
  transform: none !important;
  translate: none !important;
  --tw-translate-x: 0 !important;
  --tw-translate-y: 0 !important;
  width: fit-content !important;
  margin: 24px auto 0 !important;
  display: flex !important;
  justify-content: center;
  align-self: center;
}

.contact-tabs a.contact-tab.active {
  color: var(--color-brand);
  background: transparent;
  border-color: var(--color-brand);
}

.contact-tabs .contact-tab:hover {
  color: var(--color-brand);
}

.contact-info-panel,
.contact-map-panel {
  display: none;
}

.contact-info-panel.active,
.contact-info-panel.active.in,
.contact-map-panel.active,
.contact-map-panel.active.in {
  display: block;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.contact-info-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 76px;
  flex-shrink: 0;
  padding: 8px;
  border: none;
  background: transparent;
  color: #3a3a3a;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  transition: color 0.5s;
}

.contact-info-icon::before,
.contact-info-icon::after {
  font-family: "icomoon";
  line-height: 1;
  position: absolute;
  right: 0;
  pointer-events: none;
  transition: color 0.5s;
}

.contact-info-icon::before {
  content: "\e925";
  color: #f4f5fb;
  z-index: 0;
  font-size: 80px;
}

.contact-info-icon::after {
  content: "\e904";
  color: #3a3a3a42;
  z-index: 0;
  font-size: 76px;
  right: -5px;
}

.contact-info-icon i,
.contact-info-list i {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  background: transparent;
  color: inherit;
  font-size: 24px;
  transition: color 0.5s;
}

.contact-info-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  text-align: right;
}

.contact-info-list .label {
  font-size: 22px;
  color: #1a0f0f;
  transition: color 0.5s;
}

.contact-info-body a,
.contact-info-body span:not(.label) {
  font-size: 20px;
  line-height: 32px;
  color: #1a0f0f;
  transition: color 0.5s;
}

.contact-info-body a:hover {
  color: var(--color-brand);
}

a.contact-info-icon:hover,
.contact-info-list li:has(a:hover) .contact-info-icon {
  color: #fff;
}

a.contact-info-icon:hover::before,
.contact-info-list li:has(a:hover) .contact-info-icon::before {
  color: #660a0a;
}

a.contact-info-icon:hover::after,
.contact-info-list li:has(a:hover) .contact-info-icon::after {
  color: #b78585;
}

.phone-numbers {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  line-height: 1;
}

.phone-numbers > a:not(:last-child)::after {
  content: "-";
  color: var(--color1, #1a0f0f);
  display: inline-flex;
  margin: 0 8px;
  vertical-align: middle;
}

.contact-form-card {
  background: #fff;
  border-radius: 32px;
  border: 1px solid #d9d9d9;
  position: relative;
  padding: 42px;
}

.contact-form-card::before {
  content: "";
  position: absolute;
  background-color: #f4f5fb;
  top: 14px;
  right: -14px;
  border-radius: 32px;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.contact-form-head {
  background: #f4f5fb;
  text-align: center;
  height: 72px;
  padding: 0 1rem;
  font-size: 24px;
  color: #1a0f0f;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.contact-form-card .acf-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form-card .acf-field {
  border: none !important;
  padding: 0;
  margin: 0;
  float: none !important;
  width: 100% !important;
}

.contact-form-card .acf-label label {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-black, #1a0f0f);
  margin: 0;
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card textarea {
  width: 100%;
  padding: 18px 0 !important;
  border: none;
  border-bottom: 1px solid var(--color-gray-light, #d9d9d9);
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  color: var(--color-black, #1a0f0f);
  outline: none;
}

.contact-form-card .acf-error input[type="text"],
.contact-form-card .acf-error input[type="email"],
.contact-form-card .acf-error textarea {
  color: #c84949;
  border-bottom-color: #660a0a;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  border-bottom-color: var(--color-brand, #660a0a);
}

.contact-form-card textarea {
  min-height: 128px;
  resize: vertical;
}

.contact-form-card .acf-form-submit {
  display: flex;
  justify-content: flex-start;
  margin-top: 24px;
  position: relative;
}

.contact-form-card .button {
  justify-content: left;
}

.contact-form-card .button i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 16px;
}

.contact-form-card .button i::before {
  display: block;
  line-height: 1;
}

.contact-form-card .acf-notice.-error {
  background: transparent;
  border: none;
  color: #c84949;
  padding: 0;
  margin-top: 8px;
}

.contact-form-card .acf-notice.-error p {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  color: #c84949;
  bottom: -90px;
}

.contact-form-card .acf-notice.-error p::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 0C8.022 0 6.089 0.59 4.444 1.69C2.8 2.78 1.518 4.35 0.761 6.17C0.004 8-0.194 10.01 0.192 11.95C0.578 13.89 1.53 15.67 2.929 17.07C4.327 18.47 6.109 19.42 8.049 19.81C9.989 20.19 12 20 13.827 19.24C15.654 18.48 17.216 17.2 18.315 15.56C19.414 13.91 20 11.98 20 10C19.997 7.35 18.943 4.81 17.068 2.93C15.193 1.06 12.651 0 10 0ZM10 18.33C8.352 18.33 6.741 17.84 5.37 16.93C4 16.01 2.932 14.71 2.301 13.19C1.67 11.67 1.505 9.99 1.827 8.37C2.148 6.76 2.942 5.27 4.107 4.11C5.273 2.94 6.758 2.15 8.374 1.83C9.991 1.51 11.666 1.67 13.189 2.3C14.712 2.93 16.013 4 16.929 5.37C17.845 6.74 18.333 8.35 18.333 10C18.331 12.21 17.452 14.33 15.89 15.89C14.328 17.45 12.209 18.33 10 18.33Z' fill='%23C84949'/%3E%3Cpath d='M10.001 8.33H9.167C8.946 8.33 8.734 8.42 8.578 8.58C8.422 8.73 8.334 8.95 8.334 9.17C8.334 9.39 8.422 9.6 8.578 9.76C8.734 9.91 8.946 10 9.167 10H10.001V15C10.001 15.22 10.088 15.43 10.245 15.59C10.401 15.75 10.613 15.83 10.834 15.83C11.055 15.83 11.267 15.75 11.423 15.59C11.58 15.43 11.667 15.22 11.667 15V10C11.667 9.56 11.492 9.13 11.179 8.82C10.867 8.51 10.443 8.33 10.001 8.33Z' fill='%23C84949'/%3E%3Cpath d='M10 6.67C10.69 6.67 11.25 6.11 11.25 5.42C11.25 4.73 10.69 4.17 10 4.17C9.31 4.17 8.75 4.73 8.75 5.42C8.75 6.11 9.31 6.67 10 6.67Z' fill='%23C84949'/%3E%3C/svg%3E")
    center / 20px 20px no-repeat;
}

.acf-notice.-error.acf-error-message.-dismiss {
  display: none;
}

.acf-spinner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 9px;
}

.websima-form-wrap #message.updated p {
  background: var(--success);
  color: #fff;
  border-color: var(--success);
  text-align: center;
  padding: 4px;
  margin: -15px 0 14px;
  border-radius: 10px;
  font-size: 14px;
}

.contact-maps {
  margin-top: 64px;
}

.contact-map-wrap {
  position: relative;
}

.contact-map-apps {
  position: absolute;
  top: 42px;
  right: 42px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-map-apps a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  background: #fff;
  color: var(--color-black, #1a0f0f);
  font-size: 16px;
  box-shadow: 0 0 48px 0 #cfcfcf7a;
  transition:
    background 0.3s,
    color 0.3s;
}

.contact-map-apps a img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.contact-map-apps a:hover {
  background: var(--color-brand, #660a0a);
  color: #fff;
}

.websima-map {
  width: 100%;
  height: 550px;
  z-index: 0;
  border-radius: 40px;
  overflow: hidden;
}

.websima-map .mapp-logo {
  width: 60px;
  height: 25px;
  margin-bottom: -0.5rem;
}

.item-set.vertical.centered.triggers.left {
  display: none;
}

@media screen and (min-width: 992px) {
  .contact-inner {
    max-width: 83.333%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 991.99px) {
  .contact-main {
    margin: 80px 0;
  }

  .contact-main .container {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .contact-inner,
  .contact-grid,
  .contact-col-info {
    display: contents;
  }

  .contact-grid {
    margin-bottom: 0;
  }

  .contact-tabs {
    order: 1;
    margin-bottom: 0;
  }

  .contact-maps {
    order: 2;
    margin-top: 0;
    width: 100%;
  }

  .contact-info-panels {
    order: 3;
  }

  .contact-form-card {
    order: 4;
    padding: 24px;
    border-radius: 20px;
  }

  .contact-form-card::before {
    top: 8px;
    right: -8px;
    border-radius: 20px;
  }

  .contact-tabs .contact-tab {
    padding: 16px 0 12px;
    font-size: 14px;
    line-height: 24px;
  }

  .contact-info-list {
    gap: 20px;
  }

  .contact-info-list li {
    gap: 12px;
  }

  .contact-info-icon {
    width: 56px;
    height: 54px;
    padding: 4px;
  }

  .contact-info-icon::before {
    font-size: 56px;
  }

  .contact-info-icon::after {
    font-size: 54px;
    right: -3px;
  }

  .contact-info-icon i,
  .contact-info-list i {
    font-size: 16px;
  }

  .contact-info-list .label {
    font-size: 16px;
  }

  .contact-info-body {
    gap: 4px;
  }

  .contact-info-body a,
  .contact-info-body span:not(.label) {
    font-size: 14px;
    line-height: 24px;
  }

  .contact-form-head {
    height: 52px;
    font-size: 18px;
    margin-bottom: 16px;
  }

  .contact-form-card .acf-fields {
    gap: 24px;
  }

  .contact-form-card .acf-label label {
    font-size: 16px;
  }

  .contact-form-card input[type="text"],
  .contact-form-card input[type="email"],
  .contact-form-card textarea {
    padding: 12px 0 !important;
    font-size: 14px;
  }

  .websima-map {
    height: 280px;
    border-radius: 20px;
  }

  .contact-map-apps {
    top: 12px;
    right: 12px;
    gap: 6px;
    flex-wrap: wrap;
  }

  .contact-map-apps a {
    height: 36px;
    padding: 0 10px;
    font-size: 12px;
    border-radius: 12px;
  }

  .contact-map-apps a img {
    width: 16px;
    height: 16px;
  }

  .leaflet-marker-icon {
    width: 64px !important;
    height: 90px !important;
  }
}
