@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Montserrat:wght@500;600;700&display=swap');

:root {
  --cmk-blue: #2b5896;
  --cmk-blue-dark: #104263;
  --cmk-blue-ink: #142f55;
  --cmk-copper: #c97536;
  --cmk-gold: #f2c587;
  --cmk-orange: #e88f00;
  --cmk-ink: #1e1e1e;
  --cmk-text: #403c3a;
  --cmk-muted: #5a5b5b;
  --cmk-line: #e3e6ea;
  --cmk-soft: #f7f8fa;
  --cmk-white: #ffffff;
  --cmk-shadow: 0 18px 48px rgba(20, 47, 85, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--cmk-soft);
}

body {
  margin: 0;
  background: var(--cmk-soft);
  color: var(--cmk-text);
  font-family: Inter, Arial, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.contact-page {
  min-height: 100vh;
  background: var(--cmk-soft);
}

.contact-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px max(16px, calc((100vw - 1180px) / 2));
  background: var(--cmk-orange);
  color: rgba(30, 30, 30, 0.88);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.contact-topbar a {
  color: var(--cmk-blue-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-topbar span {
  display: block;
}

.contact-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(16, 66, 99, 0.12);
  background: var(--cmk-white);
  box-shadow: 0 8px 24px rgba(16, 66, 99, 0.08);
}

.contact-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(1180px, calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto;
}

.contact-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.contact-brand img {
  display: block;
  width: auto;
  max-width: min(190px, 44vw);
  height: 64px;
  object-fit: contain;
}

.contact-nav__links {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: 0;
  font-family: Montserrat, Inter, Arial, sans-serif;
}

.contact-nav__links a {
  color: var(--cmk-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.contact-nav__links a:hover,
.contact-nav__links a[aria-current='page'] {
  color: var(--cmk-blue-dark);
}

.contact-nav__more {
  position: relative;
  flex: 0 0 auto;
}

.contact-nav__more summary {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--cmk-ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
  white-space: nowrap;
}

.contact-nav__more summary::-webkit-details-marker {
  display: none;
}

.contact-nav__more summary::after {
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentcolor;
  border-bottom: 2px solid currentcolor;
  content: '';
  transform: translateY(-2px) rotate(45deg);
}

.contact-nav__more:hover summary,
.contact-nav__more[open] summary {
  color: var(--cmk-blue-dark);
}

.contact-nav__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 210px;
  overflow: hidden;
  border: 1px solid rgba(16, 66, 99, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(20, 47, 85, 0.16);
}

.contact-nav__menu a {
  padding: 12px 16px;
  color: var(--cmk-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.contact-nav__menu a:hover {
  background: rgba(43, 88, 150, 0.08);
  color: var(--cmk-blue-dark);
}

.contact-header__meta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  font-family: Montserrat, Inter, Arial, sans-serif;
}

.contact-phone,
.contact-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.contact-phone {
  color: var(--cmk-ink);
}

.contact-phone:hover {
  color: var(--cmk-blue-dark);
}

.contact-header__cta {
  padding: 0 18px;
  border: 3px solid var(--cmk-blue-dark);
  background: var(--cmk-blue-dark);
  color: var(--cmk-white);
  transition: background 180ms ease, color 180ms ease;
}

.contact-header__cta:hover {
  background: var(--cmk-white);
  color: var(--cmk-blue-dark);
}

.contact-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  color: var(--cmk-white);
}

.contact-hero::before,
.contact-hero::after {
  position: absolute;
  inset: 0;
  content: '';
}

.contact-hero::before {
  background-image: url('https://www.cmkconstructioninc.com/wp-content/uploads/2026/05/cmk_kitchen_hd_b9398ec1.webp');
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.contact-hero::after {
  background:
    linear-gradient(90deg, rgba(16, 30, 48, 0.82) 0%, rgba(16, 30, 48, 0.56) 46%, rgba(16, 30, 48, 0.14) 100%),
    linear-gradient(0deg, rgba(16, 30, 48, 0.2), rgba(16, 30, 48, 0.2));
}

.contact-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: min(1180px, calc(100% - 40px));
  min-height: 430px;
  margin: 0 auto;
  padding: 72px 0 80px;
}

.contact-kicker {
  margin: 0 0 14px;
  color: var(--cmk-gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-hero h1,
.contact-chat-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.02;
}

.contact-hero__lede,
.contact-chat-hero__lede {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.7;
}

.contact-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.contact-proof span {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 10px 12px;
  color: var(--cmk-white);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.contact-options {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: -54px auto 0;
  padding-bottom: 54px;
}

.contact-options__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin: 0 0 18px;
  color: var(--cmk-white);
}

.contact-options__intro h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.15;
}

.contact-options__intro p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

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

.contact-card {
  display: grid;
  min-height: 292px;
  gap: 15px;
  align-content: start;
  border: 1px solid rgba(43, 88, 150, 0.16);
  border-radius: 8px;
  background: var(--cmk-white);
  padding: 24px;
  color: var(--cmk-text);
  box-shadow: var(--cmk-shadow);
}

.contact-card__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: rgba(43, 88, 150, 0.1);
  color: var(--cmk-blue-dark);
  font-size: 18px;
  font-weight: 900;
}

.contact-card h3 {
  margin: 0;
  color: var(--cmk-ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.18;
}

.contact-card p {
  margin: 0;
  color: var(--cmk-muted);
  font-size: 14px;
  line-height: 1.6;
}

.contact-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: end;
  min-height: 48px;
  margin-top: auto;
  border-radius: 8px;
  background: var(--cmk-blue-dark);
  padding: 0 16px;
  color: var(--cmk-white);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-card__action:hover {
  background: var(--cmk-copper);
  color: var(--cmk-white);
  transform: translateY(-1px);
}

.contact-card--call .contact-card__action {
  background: var(--cmk-copper);
}

.contact-card--call .contact-card__action:hover {
  background: var(--cmk-blue-dark);
}

.contact-support {
  background: var(--cmk-white);
  padding: 66px 0;
}

.contact-support__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.contact-support__copy h2 {
  margin: 0;
  color: var(--cmk-ink);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.08;
}

.contact-support__copy p {
  margin: 18px 0 0;
  color: var(--cmk-muted);
  font-size: 17px;
  line-height: 1.75;
}

.contact-support__list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-support__list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--cmk-text);
  line-height: 1.55;
}

.contact-support__list span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: var(--cmk-gold);
  color: var(--cmk-blue-ink);
  font-size: 14px;
  font-weight: 900;
}

.contact-support__media {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 54px rgba(20, 47, 85, 0.16);
}

.contact-support__media img {
  display: block;
  width: 100%;
  height: min(430px, 48vw);
  min-height: 280px;
  object-fit: cover;
}

.contact-footer {
  background: #1a1a1a;
  color: var(--cmk-white);
}

.contact-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.8fr));
  gap: 30px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0;
}

.contact-footer h2,
.contact-footer h3,
.contact-footer p {
  margin: 0;
}

.contact-footer h2 {
  font-size: 22px;
  font-weight: 900;
}

.contact-footer h3 {
  margin-bottom: 12px;
  color: var(--cmk-gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-footer p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

.contact-footer a {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
}

.contact-footer a:hover {
  color: var(--cmk-gold);
}

.contact-chat-hero {
  background:
    linear-gradient(90deg, rgba(16, 30, 48, 0.94), rgba(16, 66, 99, 0.88)),
    url('https://www.cmkconstructioninc.com/wp-content/uploads/2026/05/designshowroom_8c1e2319.webp') center / cover;
  color: var(--cmk-white);
}

.contact-chat-hero__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 58px;
}

.contact-chat-main {
  padding: 0 0 62px;
}

.frame-shell {
  width: min(960px, calc(100% - 40px));
  margin: 38px auto 0;
  overflow: hidden;
  border: 1px solid rgba(43, 88, 150, 0.16);
  border-radius: 8px;
  background: var(--cmk-white);
  box-shadow: var(--cmk-shadow);
}

.frame-shell iframe {
  display: block;
  background: var(--cmk-white);
}

.contact-chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: min(960px, calc(100% - 40px));
  margin: 18px auto 0;
}

.contact-chat-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  background: var(--cmk-blue-dark);
  padding: 0 18px;
  color: var(--cmk-white);
  font-weight: 800;
  text-decoration: none;
}

.contact-chat-actions a:last-child {
  border: 1px solid rgba(16, 66, 99, 0.2);
  background: var(--cmk-white);
  color: var(--cmk-blue-dark);
}

@media (max-width: 1050px) {
  .contact-nav__links {
    gap: 14px;
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .contact-nav {
    min-height: 76px;
  }

  .contact-brand img {
    height: 56px;
  }

  .contact-nav__links {
    display: none;
  }

  .contact-support__inner,
  .contact-footer__inner {
    grid-template-columns: 1fr;
  }

  .contact-support__media img {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .contact-topbar {
    display: block;
    padding: 8px 14px;
  }

  .contact-nav {
    width: min(100% - 28px, 1180px);
    gap: 12px;
  }

  .contact-brand img {
    max-width: min(160px, 48vw);
    height: 50px;
  }

  .contact-header__meta {
    gap: 8px;
  }

  .contact-header__cta {
    display: none;
  }

  .contact-phone {
    min-height: 38px;
    font-size: 12px;
  }

  .contact-hero,
  .contact-hero__inner {
    min-height: 390px;
  }

  .contact-hero__inner {
    width: min(100% - 28px, 1180px);
    padding: 54px 0 88px;
  }

  .contact-hero h1,
  .contact-chat-hero h1 {
    font-size: 38px;
  }

  .contact-hero__lede,
  .contact-chat-hero__lede {
    font-size: 16px;
  }

  .contact-proof {
    gap: 8px;
  }

  .contact-proof span {
    font-size: 12px;
  }

  .contact-options {
    width: min(100% - 28px, 1180px);
    margin-top: -48px;
  }

  .contact-options__intro {
    display: block;
  }

  .contact-options__intro p {
    margin-top: 8px;
  }

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

  .contact-card {
    min-height: 0;
    padding: 22px;
  }

  .contact-support {
    padding: 50px 0;
  }

  .contact-support__inner,
  .contact-footer__inner,
  .contact-chat-hero__inner,
  .frame-shell,
  .contact-chat-actions {
    width: min(100% - 28px, 1180px);
  }

  .contact-support__media img {
    height: 300px;
  }

  .contact-chat-hero__inner {
    padding: 54px 0 44px;
  }

  .contact-chat-main {
    padding: 0 0 48px;
  }
}
