/* =========================================================
   CLAIRVO REVIEWS PAGE CSS
   Mirrors homepage header behavior
   ========================================================= */

/* ---------- Typography ---------- */
.cr-section h1,
.cr-section h2,
.cr-section h3 {
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
  font-weight: 700;
}

.cr-section,
.cr-section p,
.cr-section li,
.cr-section a,
.cr-section div,
.cr-section span {
  font-family: "Open Sans", "Roboto", Arial, sans-serif;
}

/* ---------- Page shell ---------- */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
  background: #eef8f8 !important;
}

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 ---------- */
.cr-section {
  padding: 76px 0;
  position: relative;
}

.cr-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.cr-light {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #f7f8fa;
}

.cr-light .cr-container,
.cr-hero .cr-container {
  max-width: 1380px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.cr-section-intro {
  max-width: 760px;
  margin: 0 auto 28px 0;
}

/* ---------- Eyebrows ---------- */
.cr-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;
}

.cr-eyebrow-dark {
  color: #00cccc;
  border-color: rgba(0, 204, 204, .25);
  background: rgba(255, 255, 255, .04);
}

/* ---------- Headings / copy ---------- */
.cr-section h1,
.cr-section h2,
.cr-section h3 {
  color: #12223A;
  margin-top: 0;
}

.cr-cta-band h2 {
  color: #fff !important;
}

.cr-section h1 {
  max-width: 10ch;
  font-size: clamp(3.1rem, 5.2vw, 5.25rem);
  line-height: .92;
  letter-spacing: -0.05em;
  margin: 10px 0 16px;
}

.cr-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 14px 0 12px;
}

.cr-section h3 {
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.cr-lead,
.cr-copy-intro,
.cr-cta-band p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #4b5563;
  max-width: 860px;
  margin: 0;
}

/* ---------- Hero ---------- */
.cr-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;
}

.cr-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;
}

.cr-hero-copy {
  max-width: 980px;
  margin: 0 auto;
}

.cr-pill-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 28px auto 0;
}

.cr-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);
}

.cr-hero-actions {
  margin-top: 18px;
}

/* ---------- Team ---------- */
.cr-team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.cr-team-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
  text-align: center;
}

.cr-team-card p {
  color: #667085;
  margin: 0;
}

.cr-team-photo {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef8f8;
  border: 1px solid #dbe4ea;
  color: #12223A;
  font-weight: 700;
  font-size: 1.2rem;
}

/* ---------- Reviews shell ---------- */
.cr-reviews-shell {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.cr-reviews-note {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 16px 18px;
  color: #475467;
  line-height: 1.65;
  margin-bottom: 18px;
}

.cr-reviews-content {
  min-height: 120px;
}

/* ---------- Cards ---------- */
.cr-card-grid {
  display: grid;
  gap: 22px;
}

.cr-card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cr-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
}

.cr-card p {
  color: #475467;
  line-height: 1.72;
  margin: 0;
}

.cr-step {
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #00b8b8;
  margin-bottom: 14px;
  line-height: 1;
}

/* ---------- Buttons ---------- */
.cr-btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cr-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;
}

.cr-btn:hover {
  transform: translateY(-1px);
  text-decoration: none !important;
}

.cr-btn-primary {
  background: #00cccc;
  color: #12223A !important;
  box-shadow: 0 10px 24px rgba(0, 204, 204, .18);
}

.cr-btn-secondary {
  background: #fff;
  color: #12223A !important;
  border: 1px solid rgba(18, 34, 58, .16);
}

.cr-btn-outline-light {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .22);
}

/* ---------- CTA band ---------- */
.cr-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);
}

.cr-cta-band p {
  color: #cbd5e1 !important;
}

.cr-cta-band .cr-btn-row {
  justify-content: flex-end;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .cr-team-grid,
  .cr-card-grid-3,
  .cr-pill-row,
  .cr-cta-band {
    grid-template-columns: 1fr 1fr;
  }

  .cr-cta-band {
    grid-template-columns: 1fr;
  }

  .cr-cta-band .cr-btn-row {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .cr-section {
    padding: 52px 0;
  }

  .cr-container,
  .cr-light .cr-container,
  .cr-hero .cr-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .cr-hero {
    padding-top: 16px;
    padding-bottom: 52px;
  }

  .cr-section h1 {
    max-width: none;
    font-size: clamp(2.45rem, 10vw, 3.9rem);
    line-height: .95;
  }

  .cr-team-grid,
  .cr-card-grid-3,
  .cr-pill-row {
    grid-template-columns: 1fr;
  }

  .cr-btn-row {
    flex-direction: column;
  }

  .cr-btn {
    width: 100%;
  }

  .cr-team-card,
  .cr-card,
  .cr-reviews-shell,
  .cr-cta-band {
    padding: 22px;
  }

  .cr-cta-band {
    border-radius: 26px;
    padding: 28px 22px;
  }
}
