/* DR INTERNATIONAL contact page shaped from the Jewellery-NX reference. */

body[data-page="contact"] {
  --contact-heading: "Alice", Georgia, serif;
  --contact-body: "Open Sans", Arial, sans-serif;
  --contact-accent: #94a5b0;
  --contact-dark: #051e33;
  --contact-ink: #141414;
  --contact-copy: #474747;
  --contact-soft: #f7f7f7;
  --contact-line: #e7eaee;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.jz-contact {
  overflow: hidden;
  background: #fff;
  color: var(--contact-ink);
  font-family: var(--contact-heading);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 26px;
}

.contact-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-hero {
  position: relative;
  z-index: 1;
  min-height: 380px;
  margin-top: var(--jz-chrome-h);
  padding: 160px 0 80px;
  overflow: hidden;
  isolation: isolate;
}

.contact-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-hero__media img,
.contact-hero__overlay {
  position: absolute;
  inset: 0;
}

.contact-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  transform: scale(1.02);
}

.contact-hero__overlay {
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.contact-hero__line {
  display: none;
}

.contact-hero__line--one {
  left: 25%;
}

.contact-hero__line--two {
  left: 50%;
}

.contact-hero__line--three {
  left: 75%;
}

.contact-hero__wipe {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  pointer-events: none;
}

.contact-hero__wipe.is-done {
  display: none;
}

.contact-hero__wipe-col {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.contact-hero__wipe-panel {
  width: 100%;
  height: 100%;
  background: #fff;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.contact-hero__inner {
  position: relative;
  z-index: 2;
  color: #fff;
}

.contact-hero .contact-container {
  max-width: 1440px;
}

.contact-hero.is-revealed .contact-hero__media img {
  animation: contactHeroZoom 1.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.contact-hero__title {
  margin: 0;
  color: #fff;
  font-family: var(--contact-heading);
  font-size: clamp(42px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
}

.contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  color: #fff;
  font-family: var(--contact-heading);
  font-size: 16px;
  line-height: 26px;
  text-transform: capitalize;
}

.contact-breadcrumb a {
  transition: color 0.25s ease;
}

.contact-breadcrumb a:hover {
  color: var(--contact-accent);
}

.contact-breadcrumb span[aria-hidden="true"] {
  width: 6px;
  height: 6px;
  background: var(--contact-accent);
  transform: rotate(45deg);
}

.contact-section {
  margin: 90px 0;
  position: relative;
}

.contact-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 800px;
  margin: 0 auto 65px;
  text-align: center;
}

.contact-title h2 {
  margin: 0;
  color: var(--contact-ink);
  font-family: var(--contact-heading);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
}

.contact-title p {
  max-width: 760px;
  margin: 0;
  color: var(--contact-copy);
  font-family: var(--contact-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 26px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}

.contact-info-card {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 246px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  padding: 43px 24px;
  border: 1px solid #414141;
  background: var(--contact-dark);
  color: #fff;
  text-align: center;
  transform: translateY(0);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.42s ease;
}

.contact-info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.contact-info-card__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-info-card__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.54);
}

.contact-info-card--image .contact-info-card__bg {
  opacity: 1;
}

.contact-info-card--image .contact-info-card__bg::after {
  background: rgba(0, 0, 0, 0.66);
}

.contact-info-card:hover .contact-info-card__bg {
  opacity: 1;
  transform: scale(1.06);
}

.contact-info-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-info-card__icon {
  width: 34px;
  height: 34px;
  color: #fff;
}

.contact-info-card__icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.contact-info-card__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-info-card h3 {
  margin: 0;
  color: #fff;
  font-family: var(--contact-heading);
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
  text-transform: uppercase;
}

.contact-info-card p {
  margin: 0;
  color: #e9e9e9;
  font-family: var(--contact-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 24px;
}

.contact-info-card a {
  color: inherit;
  transition: color 0.25s ease;
}

.contact-info-card a:hover {
  color: #fff;
}

.contact-form-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 40px;
}

.contact-form-card {
  width: 100%;
  max-width: 600px;
  min-height: 576px;
  padding: 0;
  transform-origin: center;
}

.contact-webflow-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 28px;
}

.contact-field {
  min-width: 0;
}

.contact-field--full {
  grid-column: 1 / -1;
}

.contact-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--contact-ink);
  font-family: var(--contact-heading);
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  min-height: 60px;
  margin: 0;
  padding: 16px 6px 16px 15px;
  border: 0;
  border-bottom: 1px solid var(--contact-dark);
  border-radius: 0;
  background: transparent;
  color: var(--contact-ink);
  font-family: var(--contact-heading);
  font-size: 17px;
  line-height: 20px;
  outline: 0;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.contact-field textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--contact-ink);
  opacity: 1;
}

.contact-field input:hover,
.contact-field textarea:hover,
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--contact-accent);
}

.contact-field.is-error input,
.contact-field.is-error textarea {
  border-color: #da000b;
}

.contact-submit-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: min(100%, 280px);
  min-height: 52px;
  border: 1px solid #051e33;
  background: #051e33;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.contact-submit-wrap:hover {
  background: #c9962e;
  border-color: #c9962e;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(7, 29, 58, 0.22);
}

.contact-submit {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 52px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--contact-heading);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 24px;
}

.contact-submit-wrap:hover .contact-submit {
  color: #051e33;
}

.contact-form-note {
  display: none;
  grid-column: 1 / -1;
  margin: -18px 0 0;
  color: var(--contact-accent);
  font-family: var(--contact-body);
  font-size: 14px;
  letter-spacing: 0;
}

.contact-form-note.is-visible {
  display: block;
}

.contact-emergency {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 30px 0 0;
  overflow: hidden;
}

.contact-emergency > img {
  width: 100%;
  min-height: 560px;
  max-height: 660px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.contact-emergency__card {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 30px;
  background: var(--contact-soft);
}

.contact-emergency__card h3 {
  margin: 0;
  color: var(--contact-ink);
  font-family: var(--contact-heading);
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
  text-transform: uppercase;
}

.contact-button {
  position: relative;
  display: inline-flex;
  min-width: 170px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 1.4rem;
  border: 1px solid #051e33;
  background: #051e33;
  color: #fff;
  font-family: var(--contact-heading);
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 24px;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-button:hover {
  border-color: #c9962e;
  background: #c9962e;
  color: #051e33;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(7, 29, 58, 0.22);
}

.contact-location-layout {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  align-items: stretch;
  gap: 30px;
  margin-top: 60px;
}

.contact-location-tabs {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
}

.contact-location-tab {
  display: block;
  width: 100%;
  padding: 20px 10px 20px 25px;
  border-left: 4px solid var(--contact-line);
  background: transparent;
  color: rgba(20, 20, 20, 0.18);
  text-align: left;
  transition: color 0.25s ease, border-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.3s ease;
}

.contact-location-tab:hover,
.contact-location-tab.is-active {
  border-left-color: var(--contact-accent);
  color: var(--contact-accent);
  transform: none;
}

.contact-location-tab span {
  display: block;
  margin: 15px 0 10px;
  font-family: var(--contact-heading);
  font-size: 30px;
  font-weight: 400;
  line-height: 40px;
  text-transform: uppercase;
}

.contact-location-tab small {
  display: block;
  color: currentColor;
  font-family: var(--contact-body);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 28px;
}

.contact-location-map {
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  background: var(--contact-soft);
}

.contact-location-map img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  opacity: 0.88;
  transition: opacity 0.35s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-location-map img.is-changing {
  opacity: 0.12;
  transform: scale(1.03);
}

@keyframes contactWipe {
  from {
    transform: scaleY(1);
  }
  to {
    transform: scaleY(0);
  }
}

@keyframes contactLineReveal {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes contactHeroZoom {
  from {
    opacity: 0.85;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1.02);
  }
}

@media (max-width: 1100px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-form-layout {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    max-width: none;
    min-height: 0;
  }

  .contact-emergency > img {
    aspect-ratio: 16 / 10;
    min-height: 420px;
  }

  .contact-location-layout {
    grid-template-columns: 1fr;
  }

  .contact-location-tabs {
    display: flex;
  }

  .contact-location-tab {
    border-top: 4px solid var(--contact-line);
    border-left: 0;
  }

  .contact-location-tab:hover,
  .contact-location-tab.is-active {
    border-top-color: var(--contact-accent);
    transform: translateY(-2px);
  }
}

@media (max-width: 767px) {
  .contact-hero {
    min-height: 320px;
    padding: 110px 0 54px;
  }

  .contact-section {
    margin: 64px 0;
  }

  .contact-title {
    margin-bottom: 38px;
  }

  .contact-title h2 {
    font-size: 30px;
  }

  .contact-title p {
    font-size: 15px;
    line-height: 25px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-info-card {
    min-height: 220px;
  }

  .contact-webflow-form {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-field input,
  .contact-field textarea {
    min-height: 54px;
    padding-left: 18px;
    padding-right: 18px;
    font-size: 16px;
    line-height: 18px;
  }

  .contact-submit-wrap {
    width: 100%;
  }

  .contact-emergency > img {
    min-height: 480px;
  }

  .contact-emergency__card {
    left: 10px;
    right: 10px;
    bottom: 10px;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .contact-location-tabs {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .contact-location-tabs::-webkit-scrollbar {
    display: none;
  }

  .contact-location-tab {
    flex: 0 0 78%;
    padding: 10px 10px 16px;
  }

  .contact-location-tab span {
    margin-top: 0;
    font-size: 20px;
    line-height: 30px;
  }

  .contact-location-tab small {
    font-size: 16px;
    line-height: 26px;
  }

  .contact-location-map,
  .contact-location-map img {
    min-height: 320px;
  }
}

@media (max-width: 479px) {
  .contact-container {
    padding: 0 14px;
  }

  .contact-hero__title {
    font-size: 34px;
  }

  .contact-info-card h3,
  .contact-emergency__card h3 {
    font-size: 20px;
    line-height: 30px;
  }
}

.jz-contact [data-reveal] {
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  .contact-hero__media img {
    animation: none;
  }

  .contact-hero__wipe {
    display: none;
  }

  .jz-contact [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
