/* =========================================================
   CLAIRVO CONTACT PAGE CSS
   Mirrors homepage header behavior and centers the hero block
   ========================================================= */

/* ---------- Typography ---------- */
.cc-section h1,
.cc-section h2,
.cc-section h3 {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-weight: 700;
}

.cc-section,
.cc-section p,
.cc-section li,
.cc-section a,
.cc-section div,
.cc-section span {
  font-family: "Open Sans", "Roboto", Arial, sans-serif;
}

/* ---------- Page shell ---------- */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
  background: #eef8f8 !important;
}

/* Let the theme/global CSS control the header exactly like homepage */
body.page .site-main,
body.page .entry-content,
body.page .ct-content-area,
body.page .content-area {
  background: transparent !important;
}

.page .entry-header,
.entry-header,
.page-title,
h1.page-title {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* ---------- Sections ---------- */
.cc-section {
  padding: 76px 0;
  position: relative;
}

.cc-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.cc-light {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #f7f8fa;
}

.cc-light .cc-container,
.cc-hero .cc-container {
  max-width: 1380px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.cc-section-intro {
  max-width: 760px;
  margin: 0 auto 28px 0;
}

/* ---------- Eyebrows ---------- */
.cc-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1;
}

.cc-eyebrow-dark {
  color: #00cccc;
  border-color: rgba(0, 204, 204, .25);
  background: rgba(255, 255, 255, .04);
}

/* ---------- Headings / copy ---------- */
.cc-section h1,
.cc-section h2,
.cc-section h3 {
  color: #12223A;
  margin-top: 0;
}

.cc-cta-band h2 {
  color: #fff !important;
}

.cc-section h1 {
  max-width: 11ch;
  font-size: clamp(3.1rem, 5.2vw, 5.25rem);
  line-height: .92;
  letter-spacing: -0.05em;
  margin: 10px 0 16px;
}

.cc-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 14px 0 12px;
}

.cc-section h3 {
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.cc-lead,
.cc-cta-band p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #4b5563;
  max-width: 860px;
  margin: 0;
}

/* ---------- Hero ---------- */
.cc-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  padding: 20px 0 72px;
  overflow: hidden;
  background: transparent;
}

.cc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(0, 204, 204, 0.10), transparent 26%),
    linear-gradient(180deg, #eef8f8 0%, #f7fbfb 100%);
  z-index: -1;
}

.cc-hero-copy {
  max-width: 980px;
  margin: 0 auto;
}

.cc-pill-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 28px auto 0;
}

.cc-pill {
  min-height: 84px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 18px 20px;
  color: #475467;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

/* ---------- Contact cards ---------- */
.cc-card-grid {
  display: grid;
  gap: 22px;
}

.cc-card-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cc-card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cc-contact-card,
.cc-info-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
}

.cc-contact-card p,
.cc-info-card p {
  color: #475467;
  line-height: 1.72;
  margin: 0;
}

.cc-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f7f8fa;
  border: 1px solid #e5e7eb;
  font-size: 24px;
  margin-bottom: 14px;
}

.cc-card-kicker,
.cc-step {
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #00b8b8;
  line-height: 1;
  margin-bottom: 14px;
}

.cc-contact-line {
  margin-top: 8px !important;
  font-weight: 700;
}

.cc-contact-line a,
.cc-inline-link a {
  color: #12223A;
  text-decoration: none;
}

.cc-inline-link {
  margin-top: 12px !important;
}

/* ---------- CTA ---------- */
.cc-btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 700;
  line-height: 1.1;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.cc-btn:hover {
  transform: translateY(-1px);
  text-decoration: none !important;
}

.cc-btn-primary {
  background: #00cccc;
  color: #12223A !important;
  box-shadow: 0 10px 24px rgba(0, 204, 204, .18);
}

.cc-btn-outline-light {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .22);
}

.cc-cta-band {
  background: #12223A;
  color: #fff;
  border-radius: 34px;
  padding: 40px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 24px;
  align-items: center;
  box-shadow: 0 20px 60px rgba(18, 34, 58, .16);
}

.cc-cta-band p {
  color: #cbd5e1 !important;
}

.cc-cta-band .cc-btn-row {
  justify-content: flex-end;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .cc-card-grid-2,
  .cc-card-grid-3,
  .cc-pill-row,
  .cc-cta-band {
    grid-template-columns: 1fr;
  }

  .cc-cta-band .cc-btn-row {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .cc-section {
    padding: 52px 0;
  }

  .cc-container,
  .cc-light .cc-container,
  .cc-hero .cc-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .cc-hero {
    padding-top: 16px;
    padding-bottom: 52px;
  }

  .cc-section h1 {
    max-width: none;
    font-size: clamp(2.45rem, 10vw, 3.9rem);
    line-height: .95;
  }

  .cc-btn-row {
    flex-direction: column;
  }

  .cc-btn {
    width: 100%;
  }

  .cc-contact-card,
  .cc-info-card,
  .cc-cta-band {
    padding: 22px;
  }

  .cc-cta-band {
    border-radius: 26px;
    padding: 28px 22px;
  }
}
