/* ─── Consultation popup keyframes ────────────────────────────────────────── */
@keyframes cc-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes cc-modal-in {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

/* ─── Backdrop ─────────────────────────────────────────────────────────────── */
.cc-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 26, 14, 0.62);
  backdrop-filter: blur(6px);
  animation: cc-fade-in 180ms ease;
}

.cc-popup-backdrop[hidden] {
  display: none;
}

/* ─── Dialog ───────────────────────────────────────────────────────────────── */
.cc-dialog {
  position: relative;
  max-width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  box-shadow: rgba(10, 26, 14, 0.45) 0 40px 100px;
  animation: cc-modal-in 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
  width: 801px;
  border-radius: 12px;
}

/* ─── Header ───────────────────────────────────────────────────────────────── */
.cc-header {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 48px 48px 36px;
  text-align: center;
  color: #000;
  border-bottom: 1px solid #e91e63;
}

.cc-header__gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 130% at 85% -10%, rgba(233, 30, 99, 0.22), transparent 58%);
  pointer-events: none;
}

.cc-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  z-index: 2;
  color: #000;
  border: 1px solid #000;
}

.cc-close:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* ─── Back button (meeting view) ───────────────────────────────────────────── */
.cc-back {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  z-index: 2;
  color: #000;
  border: 1px solid #000;
}

.cc-back[hidden] {
  display: none;
}

.cc-back:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* ─── Views ────────────────────────────────────────────────────────────────── */
.cc-view[hidden] {
  display: none;
}

/* In meeting mode, collapse the header down to just the control buttons. */
.cc-meeting-active .cc-header {
  padding: 30px 48px;
  border-bottom: 1px solid var(--cs-hairline, #e0e0e0);
}

.cc-meeting-active .cc-badge,
.cc-meeting-active .cc-header__title,
.cc-meeting-active .cc-header__desc {
  display: none;
}

/* ─── Meeting (HubSpot) embed ──────────────────────────────────────────────── */
.cc-view--meeting {
  padding: 8px 8px 16px;
}

.cc-view--meeting .meetings-iframe-container {
  min-height: 680px;
}

.cc-view--meeting .meetings-iframe-container iframe {
  width: 100% !important;
  min-height: 680px;
  border: 0;
}

.cc-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid #e91e63;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: #e91e63;
  color: #fff;
}

.cc-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #fff;
  box-shadow: rgba(233, 30, 99, 0.2) 0 0 0 4px;
}

.cc-header__title {
  position: relative;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: #000;
}

.cc-header__desc {
  position: relative;
  margin: 0 auto;
  max-width: 500px;
  font-size: 15px;
  line-height: 1.6;
  color: #000;
}

/* ─── Cards row ────────────────────────────────────────────────────────────── */
.cc-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 40px 40px 26px;
}

/* ─── Card ─────────────────────────────────────────────────────────────────── */
.cc-card {
  position: relative;
  flex: 1 1 0;
  min-width: 262px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--cs-hairline, #e0e0e0);
  box-shadow: rgba(10, 26, 14, 0.05) 0 2px 10px;
  transform: translateY(0);
  transition: transform 220ms cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 220ms, border-color 200ms;
  padding: 30px 20px 28px;
  border-radius: 12px;
}

.cc-card:hover {
  transform: translateY(-3px);
  box-shadow: rgba(10, 26, 14, 0.12) 0 8px 24px;
  border-color: #e91e63;
}

.cc-card__popular {
  position: absolute;
  top: -11px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e91e63;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: rgba(233, 30, 99, 0.3) 0 6px 16px;
  border: 1px solid #e91e63;
}

.cc-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cc-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 220ms;
}

.cc-card__icon--filled {
  color: #fff;
  background: #e91e63;
}

.cc-card__icon--outline {
  color: #e91e63;
  background: rgb(253, 231, 239);
}

.cc-card:hover .cc-card__icon {
  transform: scale(1.08);
}

.cc-card__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e91e63;
}

.cc-card__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  line-height: 1.12;
  color: var(--cs-ink, #111);
}

.cc-card__desc {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.55;
  color: #000;
}

.cc-card__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.cc-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  color: var(--cs-ink-soft, #555);
}

.cc-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 999px;
  background: rgb(253, 231, 239);
  color: #e91e63;
  flex-shrink: 0;
  margin-top: 1px;
}

.cc-card__cta {
  margin-top: auto;
}

.cc-btn {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  padding: 16px;
  transition: background 160ms, color 160ms, border-color 160ms;
  border: 1px solid #e91e63;
  background: #e91e63;
  color: #fff;
  box-sizing: border-box;
}

.cc-btn:hover {
  background: #c2185b;
  border-color: #c2185b;
  color: #fff;
}

/* ─── Footer trust bar ─────────────────────────────────────────────────────── */
.cc-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  padding: 4px 36px 30px;
}

.cc-trust__item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #000;
}

.cc-trust__item svg {
  color: #e91e63;
  flex-shrink: 0;
}

/* ─── Trigger button ───────────────────────────────────────────────────────── */
.cc-trigger {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 13px;
  border: none;
  cursor: pointer;
  border-radius: 0 12px 12px 0;
  background: #e91e63;
  color: #fff;
  box-shadow: rgba(10, 26, 14, 0.18) 3px 4px 18px;
  transition: background 160ms, transform 200ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.cc-trigger:hover {
  background: #c2185b;
  transform: translateY(-50%) translateX(3px);
}

.cc-trigger__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ─── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .cc-header {
    padding: 36px 24px 28px;
  }

  .cc-header__title {
    font-size: 28px;
  }

  .cc-cards {
    padding: 24px 20px 20px;
    flex-direction: column;
  }

  .cc-card {
    min-width: 0;
  }

  .cc-trust {
    padding: 4px 20px 24px;
    flex-direction: column;
    align-items: center;
  }

  .cc-meeting-active .cc-header {
    padding: 24px;
  }

  .cc-view--meeting .meetings-iframe-container,
  .cc-view--meeting .meetings-iframe-container iframe {
    min-height: 560px;
  }
}
