:root {
  --ccs-contact-brand-purple: #80608f;
  --ccs-contact-plum: #4c3658;
  --ccs-contact-ink: #202536;
  --ccs-contact-muted: #667083;
  --ccs-contact-paper: #fffaf6;
  --ccs-contact-line: #eadfe8;
  --ccs-contact-white: #ffffff;
  --ccs-contact-mint: #7d9a83;
  --ccs-contact-shadow: 0 24px 60px rgba(76, 54, 88, 0.13);
}

body.ccs-contact-template-page {
  background: linear-gradient(115deg, #fffaf6 0%, #fbf3f8 52%, #f1faf7 100%) !important;
}

body.ccs-contact-template-page #header,
body.ccs-contact-template-page header#header,
body.ccs-contact-template-page #masthead,
body.ccs-contact-template-page header#masthead,
body.ccs-contact-template-page .site-header,
body.ccs-contact-template-page header.site-header,
body.ccs-contact-template-page .main-header,
body.ccs-contact-template-page .elementor-location-header,
body.ccs-contact-template-page .wp-site-blocks > header,
body.ccs-contact-template-page .wp-block-template-part > header,
body.ccs-contact-template-page .av_header_top,
body.ccs-contact-template-page .header_bg,
body.ccs-contact-template-page .main_menu {
  display: none !important;
}

body.ccs-contact-template-page #main {
  padding-top: 0 !important;
}

.ccs-contact-page,
.ccs-contact-page * {
  box-sizing: border-box;
}

.ccs-contact-page {
  width: 100% !important;
  min-height: 100vh;
  max-width: none !important;
  margin: 0 !important;
  color: var(--ccs-contact-ink);
  background: linear-gradient(115deg, #fffaf6 0%, #fbf3f8 52%, #f1faf7 100%);
  font-family: Inter, Arial, sans-serif !important;
}

.ccs-contact-page h1,
.ccs-contact-page h2,
.ccs-contact-page p {
  margin-top: 0;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.ccs-contact-page a {
  color: inherit;
  text-decoration: none;
}

.ccs-contact-nav {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px max(28px, calc((100vw - 1180px) / 2 + 28px));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(120, 96, 136, 0.12);
  backdrop-filter: blur(12px);
}

.ccs-contact-logo {
  display: block;
  width: 156px;
  height: auto;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ccs-contact-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #5c6372;
  font-size: 14px;
  font-weight: 700;
}

.ccs-contact-nav-links a:not(.ccs-contact-button),
.ccs-contact-nav-links a:not(.ccs-contact-button):visited {
  color: #5c6372 !important;
  text-decoration: none !important;
}

.ccs-contact-button,
.ccs-contact-button:visited,
.ccs-contact-button:hover,
.ccs-contact-button:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  color: var(--ccs-contact-white) !important;
  background: var(--ccs-contact-brand-purple) !important;
  border: 1px solid var(--ccs-contact-brand-purple) !important;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(120, 96, 136, 0.22);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
}

.ccs-contact-hero {
  max-width: 1180px;
  margin: 44px auto 0;
  padding: 0 28px;
}

.ccs-contact-hero-frame {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid rgba(120, 96, 136, 0.13);
  border-radius: 8px;
  background: var(--ccs-contact-plum);
  box-shadow: var(--ccs-contact-shadow);
}

.ccs-contact-hero-frame img {
  display: block;
  width: 100%;
  height: 310px;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover;
  object-position: center 43%;
  opacity: 0.78;
  border: 0 !important;
  box-shadow: none !important;
}

.ccs-contact-hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(76, 54, 88, 0.62) 0%, rgba(76, 54, 88, 0.12) 62%),
    linear-gradient(180deg, rgba(32, 37, 54, 0) 48%, rgba(32, 37, 54, 0.22) 100%);
}

.ccs-contact-hero-title {
  position: absolute;
  left: clamp(26px, 5vw, 58px);
  bottom: clamp(24px, 5vw, 46px);
  z-index: 1;
  color: var(--ccs-contact-white);
}

.ccs-contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.ccs-contact-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--ccs-contact-mint);
  border-radius: 999px;
}

.ccs-contact-page h1 {
  margin-bottom: 0;
  color: var(--ccs-contact-white);
  font-family: Nunito, Inter, sans-serif !important;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 900;
  line-height: 0.98;
}

.ccs-contact-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 52px 28px 72px;
}

.ccs-contact-intro {
  margin-bottom: 30px;
}

.ccs-contact-intro h2 {
  margin-bottom: 16px;
  color: var(--ccs-contact-plum);
  font-family: Nunito, Inter, sans-serif !important;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.08;
}

.ccs-contact-intro p {
  max-width: 880px;
  margin-bottom: 0;
  color: #5e6675;
  font-size: 17px;
  line-height: 1.75;
}

.ccs-contact-intro a {
  color: var(--ccs-contact-brand-purple) !important;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.ccs-contact-form-panel {
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(120, 96, 136, 0.16);
  border-radius: 8px;
  box-shadow: var(--ccs-contact-shadow);
}

.ccs-contact-form-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ccs-contact-line);
}

.ccs-contact-form-panel-heading h2 {
  margin-bottom: 0;
  color: var(--ccs-contact-plum);
  font-family: Nunito, Inter, sans-serif !important;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.08;
}

.ccs-contact-form-panel-heading span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--ccs-contact-brand-purple);
  background: #f3e9f5;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

#ccs-contact-hubspot-form {
  min-height: 420px;
}

#ccs-contact-hubspot-form form {
  font-family: Inter, Arial, sans-serif !important;
}

#ccs-contact-hubspot-form input,
#ccs-contact-hubspot-form textarea,
#ccs-contact-hubspot-form select,
.ccs-contact-form-panel input,
.ccs-contact-form-panel textarea,
.ccs-contact-form-panel select {
  min-height: 44px !important;
  border-color: #d9ccd9 !important;
  border-radius: 6px !important;
  background: #fbfaf9 !important;
}

#ccs-contact-hubspot-form input[type="submit"],
#ccs-contact-hubspot-form .hs-button,
.ccs-contact-form-panel input[type="submit"],
.ccs-contact-form-panel button[type="submit"] {
  min-height: 46px !important;
  padding: 0 24px !important;
  color: var(--ccs-contact-white) !important;
  background: var(--ccs-contact-brand-purple) !important;
  border: 0 !important;
  border-radius: 6px !important;
  box-shadow: 0 14px 30px rgba(120, 96, 136, 0.22) !important;
  font-weight: 800 !important;
}

.ccs-contact-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px max(28px, calc((100vw - 1180px) / 2 + 28px));
  color: #697386;
  background: var(--ccs-contact-white);
  border-top: 1px solid rgba(120, 96, 136, 0.12);
  font-size: 14px;
}

.ccs-contact-footer strong {
  color: var(--ccs-contact-plum);
}

.ccs-contact-footer-links {
  display: flex;
  gap: 18px;
  font-weight: 700;
}

.ccs-contact-footer-links a,
.ccs-contact-footer-links a:visited {
  color: #697386 !important;
  text-decoration: none !important;
}

@media (max-width: 760px) {
  .ccs-contact-nav {
    padding: 18px 20px;
  }

  .ccs-contact-nav-links {
    display: none;
  }

  .ccs-contact-logo {
    width: 124px;
  }

  .ccs-contact-hero {
    margin-top: 24px;
    padding: 0 20px;
  }

  .ccs-contact-hero-frame,
  .ccs-contact-hero-frame img {
    min-height: 260px;
    height: 260px;
  }

  .ccs-contact-content {
    padding: 36px 20px 52px;
  }

  .ccs-contact-intro p {
    font-size: 16px;
  }

  .ccs-contact-form-panel-heading {
    display: block;
  }

  .ccs-contact-form-panel-heading span {
    margin-top: 12px;
  }

  .ccs-contact-footer {
    display: block;
    padding: 24px 20px;
    line-height: 1.7;
  }

  .ccs-contact-footer-links {
    margin-top: 10px;
  }
}
