.cnf-testimony-page {
  --cnf-testimony-ink: #13362e;
  --cnf-testimony-green: #176b5a;
  --cnf-testimony-dark: #0c3d34;
  --cnf-testimony-gold: #d6b16d;
  --cnf-testimony-cream: #fbf7ee;
  --cnf-testimony-border: #d8e2dc;
  --cnf-testimony-muted: #60716b;
  background: #fbfaf7;
  color: var(--cnf-testimony-ink);
}

.cnf-testimony-page__hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 122px) 0 clamp(74px, 8vw, 108px);
  background:
    radial-gradient(circle at 86% 8%, rgba(214, 177, 109, .24), transparent 24%),
    linear-gradient(120deg, #f7efe0 0%, #eef3ec 62%, #e4eee8 100%);
}

.cnf-testimony-page__hero::after {
  position: absolute;
  right: -130px;
  bottom: -270px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(23, 107, 90, .13);
  border-radius: 50%;
  content: "";
}

.cnf-testimony-page__hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  gap: clamp(42px, 8vw, 112px);
  align-items: end;
}

.cnf-testimony-page__hero .cnf-eyebrow {
  color: var(--cnf-testimony-green);
}

.cnf-testimony-page__hero h1 {
  max-width: 850px;
  margin: 18px 0 24px;
  color: var(--cnf-testimony-ink);
  font-family: var(--cnf-serif, Georgia, serif);
  font-size: clamp(3rem, 6vw, 5.9rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .96;
}

.cnf-testimony-page__hero p {
  max-width: 720px;
  margin: 0;
  color: var(--cnf-testimony-muted);
  font-size: clamp(1.03rem, 1.4vw, 1.18rem);
  line-height: 1.7;
}

.cnf-testimony-page__quiet-link {
  display: grid;
  gap: 7px;
  padding: 25px 0 6px 27px;
  border-left: 1px solid rgba(23, 107, 90, .28);
  color: var(--cnf-testimony-ink);
  text-decoration: none;
}

.cnf-testimony-page__quiet-link span {
  color: var(--cnf-testimony-muted);
  font-size: .78rem;
}

.cnf-testimony-page__quiet-link strong {
  font-family: var(--cnf-serif, Georgia, serif);
  font-size: 1.35rem;
  line-height: 1.2;
}

.cnf-testimony-page__hero .cnf-button {
  justify-self: start;
}

.cnf-testimony-page__content {
  padding: clamp(52px, 7vw, 96px) 0 clamp(80px, 9vw, 132px);
}

.cnf-testimony-experience {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(310px, .58fr);
  gap: 24px;
  align-items: start;
}

.cnf-testimony-form-wrap {
  padding: clamp(28px, 4.5vw, 58px);
  border: 1px solid var(--cnf-testimony-border, #d8e2dc);
  border-radius: 30px;
  background: #fff;
  color: var(--cnf-testimony-ink, #13362e);
  box-shadow: 0 26px 80px rgba(19, 54, 46, .08);
}

.cnf-testimony-form-head > span,
.cnf-testimony-list-head > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cnf-testimony-green, #176b5a);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.cnf-testimony-form-head > span::before,
.cnf-testimony-list-head > span::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.cnf-testimony-form-head h2,
.cnf-testimony-list-head h2 {
  max-width: 690px;
  margin: 15px 0 13px;
  color: var(--cnf-testimony-ink, #13362e);
  font-family: var(--cnf-serif, Georgia, serif);
  font-size: clamp(2.25rem, 4vw, 3.55rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
}

.cnf-testimony-form-head p,
.cnf-testimony-list-head p {
  max-width: 700px;
  margin: 0;
  color: var(--cnf-testimony-muted, #60716b);
  line-height: 1.7;
}

.cnf-testimony-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.cnf-testimony-form label {
  display: grid;
  gap: 9px;
  margin: 0;
}

.cnf-testimony-spam-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.cnf-testimony-field > span {
  color: var(--cnf-testimony-ink, #13362e);
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.4;
}

.cnf-testimony-field > span small {
  margin-left: 5px;
  color: #87958f;
  font-size: .65rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cnf-testimony-form input,
.cnf-testimony-form select,
.cnf-testimony-form textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid #cfdad5;
  border-radius: 14px;
  padding: 14px 16px;
  background: #fbfcfa;
  color: var(--cnf-testimony-ink, #13362e);
  font: inherit;
  line-height: 1.45;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.cnf-testimony-form textarea {
  min-height: 210px;
  resize: vertical;
}

.cnf-testimony-form input::placeholder,
.cnf-testimony-form textarea::placeholder {
  color: #87958f;
}

.cnf-testimony-form input:focus,
.cnf-testimony-form select:focus,
.cnf-testimony-form textarea:focus {
  border-color: var(--cnf-testimony-green, #176b5a);
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(23, 107, 90, .12);
}

.cnf-testimony-field-full,
.cnf-testimony-checkbox,
.cnf-testimony-privacy,
.cnf-testimony-form button {
  grid-column: 1 / -1;
}

.cnf-testimony-checkbox {
  display: flex !important;
  gap: 12px !important;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid #e0e7e3;
  border-radius: 14px;
  background: #f7faf8;
  cursor: pointer;
}

.cnf-testimony-checkbox input {
  flex: 0 0 auto;
  width: 20px;
  min-height: 20px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--cnf-testimony-green, #176b5a);
}

.cnf-testimony-checkbox span {
  color: #53655f;
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.5;
}

.cnf-testimony-privacy {
  margin: -3px 0 0;
  color: #6b7a75;
  font-size: .78rem;
  line-height: 1.55;
}

.cnf-testimony-privacy strong {
  color: var(--cnf-testimony-ink, #13362e);
}

.cnf-testimony-form button {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px 0 26px;
  background: var(--cnf-testimony-green, #176b5a);
  color: #fff;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(23, 107, 90, .2);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.cnf-testimony-form button span:last-child {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  font-size: 1.15rem;
}

.cnf-testimony-form button:hover {
  transform: translateY(-2px);
  background: #105c4d;
}

.cnf-testimony-care {
  position: sticky;
  top: 112px;
  overflow: hidden;
  padding: clamp(30px, 3vw, 42px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(214, 177, 109, .2), transparent 34%),
    var(--cnf-testimony-dark, #0c3d34);
  color: #fff;
  box-shadow: 0 26px 70px rgba(12, 61, 52, .16);
}

.cnf-testimony-care__eyebrow {
  color: #e4c98f;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cnf-testimony-care h2 {
  margin: 15px 0 14px;
  color: #fff;
  font-family: var(--cnf-serif, Georgia, serif);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.04;
}

.cnf-testimony-care > p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: .94rem;
  line-height: 1.65;
}

.cnf-testimony-care ol {
  display: grid;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.cnf-testimony-care li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.cnf-testimony-care li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.cnf-testimony-care li > span {
  color: #e4c98f;
  font-size: .67rem;
  font-weight: 850;
}

.cnf-testimony-care strong {
  color: #fff;
  font-size: .88rem;
}

.cnf-testimony-care li p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .64);
  font-size: .8rem;
  line-height: 1.5;
}

.cnf-testimony-notice {
  margin-top: 22px;
  padding: 15px 17px;
  border-radius: 14px;
  font-weight: 700;
}

.cnf-testimony-notice--success {
  border: 1px solid #a7d9b9;
  background: #e6f7eb;
  color: #175f34;
}

.cnf-testimony-notice--warning,
.cnf-testimony-notice--error {
  border: 1px solid #efc2b9;
  background: #fff0ed;
  color: #8d2d20;
}

.cnf-testimony-list-wrap {
  color: var(--cnf-testimony-ink, #13362e);
}

.cnf-testimony-list-head {
  max-width: 790px;
  margin-bottom: 38px;
}

.cnf-testimony-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cnf-testimony-card {
  position: relative;
  min-height: 290px;
  padding: 30px;
  border: 1px solid var(--cnf-testimony-border, #d8e2dc);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(19, 54, 46, .06);
}

.cnf-testimony-card::before {
  display: block;
  margin-bottom: 22px;
  color: var(--cnf-testimony-gold, #d6b16d);
  content: "“";
  font-family: var(--cnf-serif, Georgia, serif);
  font-size: 4rem;
  line-height: .5;
}

.cnf-testimony-card > span {
  color: var(--cnf-testimony-green, #176b5a);
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cnf-testimony-card h3 {
  margin: 12px 0 10px;
  color: var(--cnf-testimony-ink, #13362e);
  font-family: var(--cnf-serif, Georgia, serif);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.12;
}

.cnf-testimony-card p {
  color: var(--cnf-testimony-muted, #60716b);
  line-height: 1.65;
}

.cnf-testimony-card small {
  display: block;
  margin-top: 18px;
  color: var(--cnf-testimony-green, #176b5a);
  font-weight: 800;
}

.cnf-testimony-empty {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 78px);
  border: 1px solid var(--cnf-testimony-border, #d8e2dc);
  border-radius: 30px;
  background: linear-gradient(135deg, #fff 0%, #f5f8f4 100%);
  text-align: center;
  box-shadow: 0 24px 70px rgba(19, 54, 46, .07);
}

.cnf-testimony-empty > span {
  color: var(--cnf-testimony-gold, #d6b16d);
  font-size: 2rem;
}

.cnf-testimony-empty h3 {
  margin: 14px 0 12px;
  color: var(--cnf-testimony-ink, #13362e);
  font-family: var(--cnf-serif, Georgia, serif);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.cnf-testimony-empty p {
  max-width: 590px;
  margin: 0 auto;
  color: var(--cnf-testimony-muted, #60716b);
  line-height: 1.7;
}

.cnf-testimony-empty a {
  display: inline-flex;
  margin-top: 25px;
  color: var(--cnf-testimony-green, #176b5a);
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 960px) {
  .cnf-testimony-page__hero-inner,
  .cnf-testimony-experience {
    grid-template-columns: 1fr;
  }

  .cnf-testimony-care {
    position: static;
  }

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

@media (max-width: 640px) {
  .cnf-testimony-page__hero {
    padding: 60px 0 68px;
  }

  .cnf-testimony-page__hero h1 {
    font-size: clamp(2.6rem, 13.5vw, 4.05rem);
  }

  .cnf-testimony-page__quiet-link {
    padding-left: 20px;
  }

  .cnf-testimony-page__content {
    padding: 34px 0 70px;
  }

  .cnf-testimony-form-wrap,
  .cnf-testimony-care,
  .cnf-testimony-card {
    padding: 25px 20px;
    border-radius: 22px;
  }

  .cnf-testimony-form,
  .cnf-testimony-list {
    grid-template-columns: 1fr;
  }

  .cnf-testimony-form {
    gap: 17px;
    margin-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cnf-testimony-form button,
  .cnf-testimony-form input,
  .cnf-testimony-form select,
  .cnf-testimony-form textarea {
    transition: none;
  }
}
