/* Contact page — Figma Silver-Contact Us EN (135:437). Not the home contact block. */

.contact-page.site-main {
  margin: 0;
  padding: 0;
  max-width: none;
}

.contact-page-layout {
  --contact-hero-eyebrow: 24px;
  --contact-hero-title: 96px;
  --contact-hero-desc: 28px;
  --contact-form-label: 24px;
  --contact-form-input: 24px;
  --contact-form-submit: 30px;
  --contact-info-eyebrow: 24px;
  --contact-info-title: 72px;
  --contact-info-label: 22px;
  --contact-info-text: 24px;
  --contact-inset: var(--silver-inset-x);

  width: 100%;
  background: #fff;
}

/* —— Hero banner —— */
.contact-hero {
  position: relative;
  width: 100%;
  min-height: 718px;
  overflow: hidden;
  background: #121211;
}

.contact-hero__media,
.contact-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.contact-hero__media {
  position: absolute;
  inset: 0;
}

.contact-hero__image {
  object-fit: cover;
  object-position: center;
}

.contact-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(18, 18, 17, 0.35) 0%,
    rgba(18, 18, 17, 0.55) 45%,
    rgba(18, 18, 17, 0.72) 100%
  );
}

.contact-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  text-align: center;
}

.contact-hero__eyebrow {
  margin: 0 0 20px;
  font-family: var(--font-konnect);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.85);
}

.contact-hero__title {
  margin: 0 0 24px;
  font-family: var(--font-konnect);
  font-size: var(--contact-hero-title);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
}

.contact-hero__title-line {
  display: inline;
}

.contact-hero__title-accent {
  color: var(--color-gold, #f0d29f);
}

.contact-hero__description {
  max-width: 820px;
  margin: 0;
  font-family: var(--font-konnect);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

/* —— Quote form —— */
.contact-page-form {
  padding: 80px var(--silver-inset-x) 72px;
  background: #fff;
}

.contact-page-form__inner {
  margin: 0 auto;
}

.contact-notice {
  margin-bottom: 24px;
  padding: 14px 18px;
  font-family: var(--font-konnect);
  font-size: 16px;
  line-height: 1.4;
  border-radius: 4px;
}

.contact-notice--success {
  color: #0a0a0a;
  background: #e8f5e9;
  border: 1px solid #81c784;
}

.contact-notice--error {
  color: #0a0a0a;
  background: #ffebee;
  border: 1px solid #e57373;
}

.contact-page-form__form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-page-form__row {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-page-form__row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 62px;
}

.contact-page-form__field {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 0;
}

.contact-page-form__label {
  font-family: "Manrope", var(--font-konnect), sans-serif;
  font-size: var(--contact-form-label);
  font-weight: 600;
  line-height: 1.2;
  color: #0a0a0a;
}

.contact-page-form__input,
.contact-page-form__select,
.contact-page-form__textarea {
  width: 100%;
  min-height: 65px;
  padding: 14px 22px;
  border: 1.3px solid #121211;
  border-radius: 0;
  background: #fff;
  color: #0a0a0a;
  font-family: "Inter", sans-serif;
  font-size: var(--contact-form-input);
  font-weight: 400;
  line-height: 1.4;
  box-sizing: border-box;
}

.contact-page-form__input::placeholder,
.contact-page-form__textarea::placeholder {
  color: #0a0a0a;
  opacity: 1;
}

.contact-page-form__input:focus,
.contact-page-form__select:focus,
.contact-page-form__textarea:focus {
  outline: none;
  border-color: var(--color-gold, #f0d29f);
}

.contact-page-form__select-wrap {
  position: relative;
}

.contact-page-form__select {
  appearance: none;
  padding-right: 48px;
  cursor: pointer;
}

.contact-page-form__select--country {
  background-color: #f3f3f5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230a0a0a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-left: 52px;
}

.contact-page-form__select-flag {
  position: absolute;
  top: 50%;
  left: 20px;
  z-index: 1;
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
}

.contact-page-form__phone {
  display: grid;
  grid-template-columns: 127px minmax(0, 1fr);
  gap: 10px;
}

.contact-page-form__phone-prefix {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 20px 14px;
  border: 1.3px solid #121211;
  background: #f3f3f5;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  font-size: var(--contact-form-input);
  color: #0a0a0a;
  white-space: nowrap;
}

.contact-page-form__textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-page-form__submit {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 80px;
  margin-top: 8px;
  padding: 18px 36px;
  border: none;
  border-radius: 0;
  background: var(--color-gold, #f0d29f);
  color: #fff;
  font-family: var(--font-konnect);
  font-size: var(--contact-form-submit);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.contact-page-form__submit-icon {
  width: 24px;
  height: 24px;
}

.contact-page-form__submit:hover {
  opacity: 0.92;
}

/* —— Contact info —— */
.contact-info {
  padding: 72px var(--silver-inset-x) 80px;
  background: #FAFAF8;
  margin-bottom: 88px;
}

.contact-info__inner {
  max-width: none;
  margin: 0 auto;
  text-align: center;
}

.contact-info__eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-konnect);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.3;
  color: #121211;
}

.contact-info__title {
  margin: 0 0 45px;
  font-family: var(--font-konnect);
  font-size: 56px;
  font-weight: 800;
  color: #121211;
  text-transform: uppercase;
}

.contact-info__title-line {
  display: inline;
}

.contact-info__title-accent {
  color: var(--color-gold, #f0d29f);
}

.contact-info__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  background: #fff;
  border-top: 1.02px solid #0000000D;
  width: 76%;
  margin: auto;
}

.contact-info__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 65px 0 50px;
  text-align: center;
}

.contact-info__card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 58%;
  background: rgba(18, 18, 17, 0.12);
  transform: translateY(-50%);
}

.contact-info__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 81px;
  height: 81px;
  margin: 0 auto 28px;
  padding: 4px;
  border: 1px solid var(--color-gold, #f0d29f);
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
  color: var(--color-gold, #f0d29f);
  flex-shrink: 0;
}

.contact-info__icon::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #121211;
}

.contact-info__icon svg {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
}

.contact-info__label {
  margin: 0 0 12px;
  font-family: var(--font-konnect);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  color: var(--color-gold, #f0d29f);
  text-transform: uppercase;
}

.contact-info__text {
  max-width: 280px;
  margin: 0;
  font-family: var(--font-konnect);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  color: #121211;
}

.contact-info__text a {
  color: inherit;
  text-decoration: none;
}

.contact-info__text a:hover {
  text-decoration: underline;
}

/* —— Map —— */
.contact-map {
  width: 100%;
  background: #ececeb;
}

.contact-map__embed {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.contact-map__embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* —— Desktop title lines inline —— */
@media (min-width: 993px) {
  .contact-hero__title-line,
  .contact-info__title-line {
    display: inline;
  }

  .contact-hero__title-line + .contact-hero__title-line::before,
  .contact-info__title-line + .contact-info__title-line::before {
    content: " ";
  }
}

/* —— Mobile Figma Silver-Contact Us EN_Mobile (588:1599) — 402px frame —— */
@media (max-width: 992px) {
  .contact-page-layout {
    --contact-hero-eyebrow: 12px;
    --contact-hero-title: 32px;
    --contact-hero-desc: 12px;
    --contact-form-label: 13px;
    --contact-form-input: 13px;
    --contact-form-submit: 15px;
    --contact-info-eyebrow: 11px;
    --contact-info-title: 20px;
    --contact-info-label: 12px;
    --contact-info-text: 13px;  }

  /* Hero ~389px band (402px artboard) */
  .contact-hero {
    min-height: min(96.8vw, 389px);
  }

  .contact-hero__image {
    object-position: center 42%;
  }

  .contact-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(18, 18, 17, 0.4) 0%,
      rgba(18, 18, 17, 0.62) 50%,
      rgba(18, 18, 17, 0.78) 100%
    );
  }

  .contact-hero__content {
    justify-content: center;
    min-height: inherit;
    padding: 0 var(--contact-inset) 0;
  }

  .contact-hero__eyebrow {
    margin-bottom: 8px;
    font-weight: 300;
    letter-spacing: 0.02em;
  }

  .contact-hero__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
    line-height: 1.08;
  }

  .contact-hero__title-line {
    display: block;
  }

  .contact-hero__title-line + .contact-hero__title-line::before {
    content: none;
  }

  .contact-hero__description {
    max-width: none;
    font-weight: 300;
    line-height: 1.45;
  }

  /* Form — single column, 372px content */
  .contact-page-form {
    padding: 32px var(--contact-inset) 40px;
  }

  .contact-page-form__inner,
  .contact-info__inner {
    max-width: none;
  }

  .contact-notice {
    margin-bottom: 16px;
    padding: 12px 14px;
    font-size: 13px;
  }

  .contact-page-form__form {
    gap: 12px;
  }

  .contact-page-form__row,
  .contact-page-form__row--split {
    gap: 12px;
  }

  .contact-page-form__row--split {
    grid-template-columns: 1fr;
  }

  .contact-page-form__field {
    gap: 6px;
  }

  .contact-page-form__input,
  .contact-page-form__select,
  .contact-page-form__textarea,
  .contact-page-form__phone-prefix {
    min-height: 44px;
    padding: 10px 12px;
    border-width: 1px;
  }

  .contact-page-form__select--country {
    padding-left: 40px;
    background-position: right 12px center;
    background-size: 10px 6px;
  }

  .contact-page-form__select-flag {
    left: 12px;
    font-size: 14px;
  }

  .contact-page-form__phone {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 8px;
  }

  .contact-page-form__textarea {
    min-height: 88px;
  }

  .contact-page-form__submit {
    gap: 10px;
    min-height: 48px;
    margin-top: 4px;
    padding: 12px 20px;
    letter-spacing: 0.06em;
  }

  .contact-page-form__submit-icon {
    width: 18px;
    height: 18px;
  }

  /* Contact info — stacked title + cards */
  .contact-info {
    padding: 40px var(--contact-inset) 48px;
  }

  .contact-info__inner {
    margin: 0 auto;
  }

  .contact-info__eyebrow {
    margin-bottom: 8px;
    font-weight: 400;
  }

  .contact-info__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
    font-weight: 400;
    line-height: 1.3;
  }

  .contact-info__title-line {
    display: block;
    font-weight: 400;
  }

  .contact-info__title-line.contact-info__title-accent {
    font-weight: 700;
  }

  .contact-info__title-line + .contact-info__title-line::before {
    content: none;
  }

  .contact-info__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-info__card {
    padding: 20px 0 24px;
  }

  .contact-info__card:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    width: min(100%, 280px);
    height: 1px;
    transform: translateX(-50%);
  }

  .contact-info__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    padding: 3px;
  }

  .contact-info__icon::before {
    inset: 3px;
  }

  .contact-info__icon svg {
    width: 20px;
    height: 20px;
  }

  .contact-info__label {
    margin-bottom: 8px;
    letter-spacing: 0.08em;
  }

  .contact-info__text {
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.4;
  }

  /* Map */
  .contact-map__embed {
    height: 240px;
  }
}

@media (max-width: 430px) {
  .contact-page-layout {  }

  .contact-hero__content {
    padding-inline: var(--contact-inset);
  }

  .contact-hero__description {
    max-width: 100%;
  }
}
