body:has(.contact-main) { overflow-x: clip; }
.contact-main {
  overflow-x: clip;
  --contact-ink: #102a36;
  --contact-muted: #385762;
  --contact-link: #0b5e67;
  --contact-line: #c5d2d4;
  background: #fff;
  color: var(--contact-ink);
  padding: clamp(48px, 6vw, 88px) max(24px, calc((100% - 1120px) / 2)) clamp(64px, 8vw, 110px);
  font-family: 'DM Sans', Arial, sans-serif;
}

.contact-hero {
  position: relative;
  max-width: 740px;
  padding-bottom: clamp(32px, 4vw, 56px);
}

.contact-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: min(1120px, calc(100vw - 48px));
  height: 1px;
  background: var(--contact-line);
}

@media (max-width: 440px) {
  .contact-hero::after { width: calc(100vw - 40px); }
}

.contact-hero .contact-kicker {
  margin: 0 0 14px;
  color: var(--contact-link);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}

.contact-hero h1,
.contact-hero h2,
.contact-columns h2,
.contact-ordering h2 {
  font-family: Manrope, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -.035em;
}

.contact-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
}

.contact-hero h2 {
  margin: 0 0 12px;
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.28;
}

.contact-main p,
.contact-columns ul,
.contact-columns dt {
  color: var(--contact-muted);
  line-height: 1.6;
}

.contact-main p { margin: 0; }
.contact-hero > p:last-child { max-width: 64ch; font-size: 17px; }

.contact-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(28px, 6vw, 82px);
  background: #071525;
  color: #fff;
  margin-inline: calc(-1 * max(24px, (100vw - 1120px) / 2));
  padding: clamp(30px, 4vw, 48px) max(24px, calc((100vw - 1120px) / 2)) clamp(38px, 5vw, 62px);
}

.contact-columns h2,
.contact-ordering h2 {
  margin: 0 0 16px;
  font-size: clamp(23px, 2.4vw, 30px);
  line-height: 1.2;
}

.contact-columns dl { margin: 0; }
.contact-columns dl div { padding: 12px 0; border-bottom: 1px solid var(--contact-line); }
.contact-columns dl div:first-child { padding-top: 0; }
.contact-columns dt { margin-bottom: 3px; font-size: 14px; }
.contact-columns dd { margin: 0; overflow-wrap: anywhere; }
.contact-columns ul { margin: 12px 0 0; padding-inline-start: 21px; }
.contact-columns li + li { margin-top: 4px; }
.contact-main a { color: var(--contact-link); text-underline-offset: 4px; }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid #0b303b;
  color: #0b303b;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.contact-actions a { background: #fff; color: #0b303b; }
.contact-actions a:hover { text-decoration: underline; }
.contact-main a:focus-visible { outline: 3px solid #007078; outline-offset: 4px; }

.contact-ordering {
  background: #fff;
  border-top: 1px solid var(--contact-line);
  padding-top: clamp(22px, 4vw, 40px);
}

.contact-ordering h2 { margin-bottom: 10px; }
.contact-ordering a { display: inline-block; margin-top: 14px; color: #000; font-weight: 700; }

@media (max-width: 700px) {
  .contact-columns { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
  .contact-main { padding-inline: 20px; }
  .contact-columns { margin-inline: -20px; padding-inline: 20px; }
  .contact-actions a { width: 100%; }
}


.contact-columns p,
.contact-columns ul,
.contact-columns dt { color: #d7e4ea; }
.contact-columns dd,
.contact-columns h2 { color: #fff; }
.contact-columns dl a { color: #fff; }
.contact-columns dl div { border-color: #526675; }

/* Clearer hierarchy between section headings and supporting details. */
.contact-main .contact-columns h2,
.contact-main .contact-ordering h2 {
  font-size: clamp(27px, 2.6vw, 34px);
  line-height: 1.2;
  letter-spacing: -.025em;
  margin-bottom: 22px;
}
.contact-columns h2::before,
.contact-ordering h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 16px;
  background: #a2d34f;
}
.contact-columns dt {
  color: #b2c4d0;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
}
.contact-columns dd {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}
.contact-columns dl div { padding-block: 14px; }
.contact-columns dl div:first-child { padding-top: 0; }
.contact-columns ul { margin-top: 16px; }
.contact-columns li + li { margin-top: 6px; }
.contact-ordering { padding-top: clamp(30px, 4vw, 44px); }
.contact-main .contact-ordering h2 { margin-bottom: 12px; }
@media (max-width: 700px) {
  .contact-main .contact-columns h2,
  .contact-main .contact-ordering h2 { font-size: 27px; margin-bottom: 18px; }
}

/* Interactive quick quote builder on Contact page */
.contact-quick-form { display: grid; gap: 14px; margin-top: 18px; }
.contact-quick-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-quick-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #d7e4ea; min-width: 0; }
.contact-quick-form input,
.contact-quick-form select,
.contact-quick-form textarea {
  width: 100%; box-sizing: border-box; min-height: 44px; padding: 10px 12px;
  border: 1px solid #3c5468; border-radius: 6px; background: #0e2036; color: #fff;
  font: 400 14px/1.45 'DM Sans', Arial, sans-serif;
}
.contact-quick-form input::placeholder,
.contact-quick-form textarea::placeholder { color: #8ba3b5; }
.contact-quick-form textarea { min-height: 82px; resize: vertical; }
.contact-quick-form :is(input, select, textarea):focus-visible { outline: 2px solid #a2d34f; outline-offset: 2px; border-color: #a2d34f; }
.contact-quick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.contact-quick-actions button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 10px 18px; border-radius: 6px; border: 1px solid transparent;
  font: 700 14px/1.3 'DM Sans', Arial, sans-serif; cursor: pointer; transition: background .18s ease, opacity .18s ease;
}
.contact-quick-actions button[data-ch="whatsapp"] { background: #16c784; color: #052014; }
.contact-quick-actions button[data-ch="whatsapp"]:hover { background: #12b174; }
.contact-quick-actions button[data-ch="email"] { background: #fff; color: #0b2028; }
.contact-quick-actions button[data-ch="email"]:hover { background: #e8f1f4; }
.contact-quick-actions button[data-ch="copy"] { background: transparent; color: #fff; border-color: #668094; }
.contact-quick-actions button[data-ch="copy"]:hover { background: rgba(255,255,255,.08); }
.contact-quick-status { min-height: 20px; margin: 2px 0 0; font-size: 13px; color: #9be8c9; }
.contact-quick-status:empty { display: none; }
@media (max-width: 600px) {
  .contact-quick-row { grid-template-columns: 1fr; }
  .contact-quick-actions { display: grid; grid-template-columns: 1fr; }
  .contact-quick-actions button { width: 100%; }
}
