/* Contact typography follows the quote page scale. */
.contact-page {
  --contact-space: clamp(24px, 2.5vw, 36px);
  --contact-small: 12px;
  --contact-label: 13px;
  --contact-body: 14px;
  --contact-heading: clamp(28px, 2.4vw, 34px);
  --contact-title: clamp(38px, 5vw, 76px);
  font-family: "Manrope", sans-serif;
  font-size: var(--contact-body);
  line-height: 1.7;
}
.contact-page main .catalog-wrap {
  width: min(1440px, calc(100% - 64px));
}
body.contact-page .site-footer.footer {
  margin-top: 0 !important;
}
.contact-page :is(h1, h2) {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500 !important;
}
.contact-page .catalog-kicker {
  font-size: var(--contact-small);
  line-height: 1.5;
  letter-spacing: 0.12em;
}
.contact-page .catalog-button,
.contact-page .catalog-text-link {
  font-size: var(--contact-label);
  line-height: 1.6;
}
.contact-page main {
  background: var(--cat-paper);
  color: var(--cat-ink);
}
.contact-page .page-header h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin: 0;
  color: #000;
  text-wrap: balance;
}
.contact-page .page-header .breadcrumb {
  font-size: 11px;
  letter-spacing: 0.08em;
}
.contact-page .page-header {
  background-image:
    linear-gradient(90deg, rgba(26, 31, 34, 0.58), rgba(26, 31, 34, 0.28)),
    url("../img/contact-showroom-ai.jpg");
  background-position: center;
  background-size: cover;
}
.contact-page main p {
  color: var(--cat-muted);
}
.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 80px;
  align-items: center;
  padding-block: 52px 72px;
  border-bottom: 1px solid var(--cat-line);
}
.contact-hero h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(52px, 5.4vw, 86px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin: 0 0 26px;
}
.contact-hero h2 em {
  font-weight: 500;
  color: var(--cat-gold);
}
.contact-lead {
  max-width: 460px;
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
}
.contact-direct {
  background: var(--cat-ink);
  padding: 36px;
  color: var(--cat-paper);
}
.contact-direct .catalog-kicker {
  margin-bottom: 18px;
}
.contact-direct h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 38px;
  line-height: 1.12;
  font-weight: 500;
  color: var(--cat-paper);
  margin: 0 0 16px;
}
.contact-page .contact-direct p {
  color: #d7d1c7;
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 24px;
}
.contact-direct .catalog-button {
  width: 100%;
}
.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding-block: var(--contact-space);
}
.contact-heading {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: var(--contact-heading);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.contact-details {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border-top: 1px solid var(--cat-line);
  padding: 16px 0;
}
.contact-icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  border: 1px solid var(--cat-line);
  border-radius: 50%;
  color: var(--cat-gold);
  font-size: 14px;
}
.contact-details-body {
  min-width: 0;
  flex: 1;
}
.contact-details h3 {
  font-family: Manrope, sans-serif;
  font-size: var(--contact-small);
  font-weight: 600 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 2px 0 10px;
  color: var(--cat-muted);
}
.contact-address {
  display: block;
  color: var(--cat-ink);
  font-size: var(--contact-body);
  line-height: 1.9;
  text-decoration: none;
}
.contact-address:hover {
  color: var(--cat-gold);
}
.contact-page .contact-people {
  display: grid;
  gap: 12px;
}
.contact-page .contact-person {
  display: grid;
  gap: 5px;
  justify-items: start;
}
.contact-page .contact-person-name {
  font-size: var(--contact-label);
  font-weight: 600;
  color: var(--cat-ink);
}
.contact-page .contact-person-phone {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
  color: var(--cat-gold);
  white-space: nowrap;
}
.contact-email {
  font-size: var(--contact-body);
  font-weight: 500;
  color: var(--cat-ink);
  overflow-wrap: anywhere;
}
.contact-email:hover {
  color: var(--cat-gold);
}
.contact-map-link {
  display: inline-flex;
  gap: 10px;
  margin-top: 10px;
  color: var(--cat-ink);
  font-size: var(--contact-label);
  border-bottom: 1px solid var(--cat-gold);
  padding-bottom: 4px;
}
.contact-form-panel {
  border: 1px solid var(--cat-line);
  padding: 24px;
  align-self: start;
}
.contact-form-panel .contact-heading {
  font-size: var(--contact-heading);
  margin-bottom: 14px;
}
.contact-form-note {
  font-size: var(--contact-body);
  line-height: 1.9;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cat-line);
}
.contact-form-note a {
  color: var(--cat-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.contact-field {
  min-width: 0;
}
.contact-field-wide {
  grid-column: 1/-1;
}
.contact-field label {
  display: block;
  font-size: var(--contact-label);
  font-weight: 600;
  color: var(--cat-ink);
  margin-bottom: 6px;
}
.contact-field input,
.contact-field select,
.contact-field textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--cat-line);
  border-radius: 0;
  background: transparent;
  color: var(--cat-ink);
  padding: 10px 12px;
  font:
    400 var(--contact-body)/1.7 Manrope,
    sans-serif;
  min-height: 44px;
}
.contact-field textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #8b867e;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: 2px solid var(--cat-gold);
  outline-offset: 2px;
}
.contact-select-wrap {
  position: relative;
}
.contact-select-wrap .contact-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.contact-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--cat-line);
  border-radius: 4px;
  background: #fffdf8;
  color: #1a1f22;
  font:
    400 14px/1.7 "Manrope",
    sans-serif;
  text-align: left;
  cursor: pointer;
}
.contact-select-trigger[data-placeholder] {
  color: #696760;
}
.contact-select-trigger:is(:hover, [aria-expanded="true"]) {
  border-color: #c08d4e;
  background: #faf5ee;
}
.contact-select-trigger > svg {
  flex-shrink: 0;
  color: #8b653c;
}
.contact-select-options {
  position: absolute;
  inset: calc(100% + 6px) 0 auto;
  z-index: 20;
  max-height: none;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid #ddc8ad;
  border-radius: 6px;
  background: #fffdf8;
  box-shadow: 0 12px 28px rgba(50, 43, 30, 0.14);
}
.contact-select-options [role="option"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 3px;
  color: #1a1f22;
  font-size: 14px;
  cursor: pointer;
}
.contact-select-options [data-active] {
  background: #f0e5d6;
}
.contact-select-options [aria-selected="true"] {
  background: #c08d4e;
  font-weight: 600;
}
.contact-page main .contact-select-error {
  margin: 8px 0 0;
  color: #983c26;
  font-size: 13px;
}
.contact-other-subject {
  margin-top: 14px;
}
.contact-form-panel .catalog-button {
  width: 100%;
  margin-top: 16px;
}
.contact-form-panel .catalog-button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}
.contact-location {
  padding-bottom: var(--contact-space);
}
.contact-location-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}
.contact-location-head .contact-heading {
  margin-bottom: 0;
}
.contact-location iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 1px solid var(--cat-line);
}
.contact-page a:focus-visible,
.contact-page button:focus-visible {
  outline: 2px solid var(--cat-gold);
  outline-offset: 4px;
}
@media (max-width: 991.98px) {
  .contact-page main .catalog-wrap {
    width: calc(100% - 40px);
  }
  .contact-hero {
    gap: 32px;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
  .contact-content {
    gap: 24px;
  }
  .contact-direct {
    padding: 28px;
  }
  .contact-form-panel {
    padding: 24px;
  }
  .contact-fields {
    grid-template-columns: 1fr;
  }
  .contact-hero h2 {
    font-size: 64px;
  }
}
@media (max-width: 767.98px) {
  .contact-page main .catalog-wrap {
    width: calc(100% - 32px);
  }
  .contact-hero {
    grid-template-columns: 1fr;
    padding-block: 30px 40px;
    gap: 30px;
  }
  .contact-hero h2 {
    font-size: 52px;
  }
  .contact-lead {
    font-size: 14px;
  }
  .contact-direct {
    padding: 28px;
  }
  .contact-direct h2 {
    font-size: 34px;
  }
  .contact-content {
    grid-template-columns: 1fr;
    padding-block: 24px;
    gap: 24px;
  }
  .contact-heading,
  .contact-form-panel .contact-heading {
    margin-bottom: 14px;
  }
  .contact-details {
    gap: 16px;
    padding-block: 16px;
  }
  .contact-form-panel {
    padding: 24px;
  }
  .contact-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-location {
    padding-bottom: 24px;
  }
  .contact-location-head {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }
  .contact-location iframe {
    height: 260px;
  }
}
@media (max-width: 575.98px) {
  .contact-fields {
    grid-template-columns: 1fr;
  }
  .contact-form-panel {
    padding: 22px;
  }
  .contact-direct {
    padding: 26px;
  }
  .contact-email {
    font-size: 14px;
  }
  .contact-page .contact-person-phone {
    font-size: 16px;
  }
}

/* Navigation, topbar and footer use the same scale as the quote page. */
.contact-page .bg-dark.p-0 .text-body {
  font-size: var(--contact-label);
  line-height: 1.6;
  color: #d7d1c7 !important;
}
@media (max-width: 767.98px) {
  .contact-page .page-header h1 {
    overflow-wrap: break-word;
  }
  .contact-page .contact-field input,
  .contact-page .contact-field select,
  .contact-page .contact-field textarea {
    font-size: 16px;
  }
}

/* Shared showroom image and brush treatment at the compact contact scale. */
.contact-page .page-header {
  background-image: url("../img/about-ai/hero-showroom.webp");
  background-position: center 52%;
  background-size: cover;
  background-repeat: no-repeat;
  padding-block: 24px;
  min-height: 200px;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.contact-banner-card {
  position: relative;
  isolation: isolate;
  width: fit-content;
  max-width: 100%;
  padding: 18px 24px;
}
.contact-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.contact-banner-actions {
  position: relative;
  isolation: isolate;
  flex: 0 1 520px;
  min-width: 0;
  padding: 18px 24px;
}
.contact-banner-card::before,
.contact-banner-actions::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #eadbc7;
  clip-path: polygon(
    1% 8%,
    24% 3%,
    52% 6%,
    78% 0,
    99% 5%,
    98% 36%,
    100% 67%,
    98% 94%,
    73% 98%,
    46% 94%,
    21% 100%,
    0 93%,
    2% 63%,
    0 32%
  );
}
.contact-page .page-header .breadcrumb {
  font-size: 10px;
  gap: 0;
}
.contact-page .page-header .breadcrumb a {
  color: #243029;
}
.contact-page .page-header .breadcrumb [aria-current] {
  color: #243029;
}
.contact-page .page-header .breadcrumb-item + .breadcrumb-item::before {
  color: #243029;
}
.contact-banner-card a:focus-visible {
  outline: 2px solid #655039;
  outline-offset: 4px;
}
.contact-page main .contact-banner-lead {
  max-width: 520px;
  margin: 0 0 16px;
  color: #1a1f22;
  font-size: 14px;
  line-height: 1.7;
}
.contact-banner-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid #c08d4e;
  border-radius: 4px;
  background: #c08d4e;
  color: #1a1f22;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  transition:
    background-color 0.18s,
    border-color 0.18s;
}
.contact-banner-whatsapp:hover {
  background: #d0a36b;
  border-color: #d0a36b;
  color: #1a1f22;
}
.contact-banner-whatsapp i {
  font-size: 18px;
}
@media (max-width: 479.98px) {
  .contact-banner-whatsapp {
    width: 100%;
  }
}
@media (max-width: 767.98px) {
  .contact-page .page-header {
    min-height: 180px;
    padding-block: 20px;
    margin-bottom: 0;
    background-position: 58% center;
  }
  .contact-banner-inner {
    padding-inline: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .contact-banner-actions {
    flex: none;
    width: 100%;
    padding: 18px 20px;
  }
  .contact-banner-card {
    padding: 20px 24px;
  }
}
