.cg-front {
  --cg-ink: #27243f;
  --cg-muted: #66616f;
  --cg-coral: #d66f55;
  --cg-coral-dark: #bd5d47;
  --cg-peach: #fbf0ea;
  --cg-soft: #fffaf6;
  --cg-line: #eab092;
  background: #fffdfb;
  color: var(--cg-ink);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow: hidden;
}

.cg-front *,
.cg-front *::before,
.cg-front *::after {
  box-sizing: border-box;
}

.cg-front h1,
.cg-front h2,
.cg-front h3,
.cg-front p {
  margin-top: 0;
}

.cg-front h1,
.cg-front h2 {
  color: var(--cg-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

.cg-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.cg-button,
.cg-front .wpforms-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--cg-coral);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(214, 111, 85, 0.22);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cg-button:hover,
.cg-button:focus,
.cg-front .wpforms-submit:hover,
.cg-front .wpforms-submit:focus {
  background: var(--cg-coral-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(214, 111, 85, 0.28);
  text-decoration: none;
}

.cg-button-small {
  min-height: 40px;
  padding: 11px 22px;
  font-size: 14px;
}

.cg-hero {
  min-height: clamp(560px, 76vh, 760px);
  padding: 66px 0 30px;
  background: #fff;
}

.cg-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 42px;
}

.cg-hero-copy {
  padding-top: 16px;
}

.cg-hero h1 {
  max-width: 470px;
  margin-bottom: 18px;
  font-size: clamp(45px, 5vw, 72px);
  line-height: 0.98;
}

.cg-hero p {
  max-width: 410px;
  margin-bottom: 30px;
  color: var(--cg-muted);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.35;
}

.cg-hero-art {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cg-blob {
  position: absolute;
  inset: 55px 35px 30px 0;
  background: var(--cg-peach);
  border-radius: 48% 52% 56% 44% / 45% 46% 54% 55%;
}

.cg-hero-image {
  position: relative;
  z-index: 1;
  width: min(470px, 88%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 48% center;
  border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%;
  filter: drop-shadow(0 26px 38px rgba(52, 40, 34, 0.18));
}

.cg-line-drawing {
  position: absolute;
  width: 138px;
  height: 228px;
  pointer-events: none;
  opacity: 0.9;
}

.cg-line-drawing::before,
.cg-line-drawing::after {
  content: "";
  position: absolute;
  border: 3px solid var(--cg-line);
  border-left: 0;
  border-bottom: 0;
  border-radius: 50%;
  transform: rotate(-27deg);
}

.cg-line-drawing::before {
  width: 116px;
  height: 180px;
  right: 20px;
  bottom: 0;
}

.cg-line-drawing::after {
  width: 42px;
  height: 78px;
  right: 2px;
  top: 8px;
}

.cg-line-drawing-hero {
  right: -18px;
  bottom: 70px;
}

.cg-trust {
  background: #fbf0eb;
  padding: 28px 0;
}

.cg-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.cg-trust-item {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-height: 108px;
  color: var(--cg-ink);
  text-align: center;
}

.cg-trust-item i {
  color: var(--cg-line);
  font-size: 31px;
}

.cg-trust-item strong,
.cg-trust-item span {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.cg-trust-item strong {
  margin-top: 8px;
}

.cg-section {
  position: relative;
  padding: clamp(70px, 8vw, 110px) 0;
}

.cg-section-heading {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.cg-section-heading h2,
.cg-story-copy h2,
.cg-quality h2,
.cg-proof h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.1;
}

.cg-section-heading p,
.cg-story-copy p,
.cg-quality p,
.cg-proof p {
  color: var(--cg-muted);
  font-size: 17px;
  line-height: 1.75;
}

.cg-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(36px, 6vw, 78px);
}

.cg-split-intro {
  margin-top: 6px;
}

.cg-check-list,
.cg-dot-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cg-check-list li,
.cg-dot-list li {
  position: relative;
  margin-bottom: 28px;
  padding-left: 34px;
  color: var(--cg-ink);
  font-size: 17px;
  line-height: 1.45;
}

.cg-check-list li::before,
.cg-dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fac36d;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.35);
}

.cg-photo-card {
  margin: 0;
}

.cg-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(38, 32, 54, 0.18);
}

.cg-story {
  background: #fbf0eb;
}

.cg-story-copy {
  max-width: 520px;
}

.cg-quality {
  background: #fff;
}

.cg-quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 44px;
}

.cg-quality-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.cg-quality-point {
  min-width: 0;
}

.cg-quality-point i {
  display: block;
  margin-bottom: 14px;
  color: var(--cg-line);
  font-size: 25px;
}

.cg-quality-point strong {
  display: block;
  margin-bottom: 7px;
  color: var(--cg-ink);
  font-size: 15px;
  line-height: 1.25;
}

.cg-quality-point span {
  display: block;
  color: var(--cg-muted);
  font-size: 14px;
  line-height: 1.45;
}

.cg-yarn {
  margin: 0;
}

.cg-yarn img {
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  filter: drop-shadow(0 20px 32px rgba(52, 40, 34, 0.15));
}

.cg-proof {
  background: #fbf0eb;
}

.cg-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 42px;
}

.cg-proof-stat {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 36px;
}

.cg-proof-yarn {
  width: 130px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(38, 32, 54, 0.15);
}

.cg-stars {
  color: #e3a33f;
  font-size: 22px;
  letter-spacing: 2px;
  line-height: 1.1;
}

.cg-proof-stat span {
  color: var(--cg-muted);
  font-size: 14px;
}

.cg-review {
  margin: 0;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(38, 32, 54, 0.13);
}

.cg-review strong {
  display: block;
  margin-bottom: 10px;
  color: var(--cg-ink);
}

.cg-review p {
  margin: 14px 0 0;
  color: var(--cg-muted);
  font-size: 15px;
  line-height: 1.65;
}

.cg-trustindex-widget {
  min-width: 0;
  padding: 18px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(38, 32, 54, 0.13);
}

.cg-trustindex-widget > * {
  margin-left: auto;
  margin-right: auto;
}

.cg-trustindex-widget .ti-widget,
.cg-trustindex-widget [class*="ti-widget"] {
  max-width: 100%;
}

.cg-trustindex-widget .cg-review {
  box-shadow: none;
}

.cg-review-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.cg-review-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1b5a7;
}

.cg-review-dots span:first-child {
  background: var(--cg-coral);
}

.cg-process {
  background: #fff;
}

.cg-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  text-align: center;
}

.cg-process-step i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--cg-line);
  border-radius: 50%;
  font-size: 21px;
}

.cg-process-step strong,
.cg-process-step span {
  display: block;
}

.cg-process-step strong {
  margin-bottom: 8px;
  color: var(--cg-ink);
  font-size: 16px;
}

.cg-process-step span {
  color: var(--cg-muted);
  font-size: 14px;
  line-height: 1.5;
}

.cg-contact {
  background: #fffdfb;
}

.cg-line-drawing-contact {
  right: max(28px, calc((100vw - 1120px) / 2 - 20px));
  bottom: 58px;
  transform: scale(1.2);
}

.cg-form-wrap {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(234, 176, 146, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(38, 32, 54, 0.08);
}

.cg-front .wpforms-container {
  margin: 0 auto !important;
  max-width: 920px !important;
}

.cg-front .wpforms-form,
.cg-front .wpforms-field-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
  align-items: start;
}

.cg-front .wpforms-form {
  display: block;
}

.cg-front .wpforms-field {
  padding: 0 !important;
  margin: 0 !important;
}

.cg-front .wpforms-field-textarea,
.cg-front .wpforms-field-checkbox,
.cg-front .wpforms-field-gdpr-checkbox,
.cg-front .wpforms-submit-container,
.cg-front .wpforms-recaptcha-container,
.cg-front .wpforms-field-hcaptcha {
  grid-column: 1 / -1;
}

.cg-front .wpforms-field-large,
.cg-front .wpforms-field-medium,
.cg-front .wpforms-field-small {
  max-width: none !important;
}

.cg-front .wpforms-field-label {
  margin: 0 0 8px !important;
  color: var(--cg-ink) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

.cg-front .wpforms-required-label {
  color: var(--cg-coral) !important;
}

.cg-front .wpforms-field input:not([type="checkbox"]):not([type="radio"]),
.cg-front .wpforms-field textarea,
.cg-front .wpforms-field select {
  width: 100% !important;
  max-width: none !important;
  min-height: 50px !important;
  border: 1px solid #eadfd9 !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: var(--cg-ink) !important;
  box-shadow: none !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  padding: 12px 14px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cg-front .wpforms-field input:not([type="checkbox"]):not([type="radio"]):not(:disabled):not([readonly]),
.cg-front .wpforms-field textarea:not(:disabled):not([readonly]) {
  cursor: text !important;
  pointer-events: auto !important;
}

.cg-front .wpforms-field select:not(:disabled) {
  cursor: pointer !important;
  pointer-events: auto !important;
}

.cg-front .wpforms-field input[type="checkbox"]:not(:disabled),
.cg-front .wpforms-field input[type="radio"]:not(:disabled),
.cg-front .wpforms-field-checkbox label,
.cg-front .wpforms-field-gdpr-checkbox label {
  cursor: pointer !important;
}

.cg-front .wpforms-field input:disabled,
.cg-front .wpforms-field textarea:disabled,
.cg-front .wpforms-field select:disabled {
  cursor: not-allowed !important;
  opacity: 0.68;
}

.cg-front .wpforms-field input:not([type="checkbox"]):not([type="radio"]):focus,
.cg-front .wpforms-field textarea:focus,
.cg-front .wpforms-field select:focus {
  border-color: var(--cg-coral) !important;
  box-shadow: 0 0 0 3px rgba(214, 111, 85, 0.14) !important;
  outline: none !important;
}

.cg-front .wpforms-field textarea {
  min-height: 150px !important;
  resize: vertical;
}

.cg-front .wpforms-field-checkbox,
.cg-front .wpforms-field-gdpr-checkbox {
  margin-top: 2px !important;
}

.cg-front .wpforms-field-checkbox ul,
.cg-front .wpforms-field-gdpr-checkbox ul,
.cg-front .wpforms-field-payment-checkbox ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.cg-front .wpforms-field-checkbox li,
.cg-front .wpforms-field-gdpr-checkbox li,
.cg-front .wpforms-field-payment-checkbox li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin: 0 !important;
}

.cg-front .wpforms-field input[type="checkbox"],
.cg-front .wpforms-field input[type="radio"] {
  flex: 0 0 auto !important;
  width: 18px !important;
  height: 18px !important;
  min-height: 0 !important;
  margin: 3px 0 0 !important;
  accent-color: var(--cg-coral);
}

.cg-front .wpforms-field-checkbox label,
.cg-front .wpforms-field-gdpr-checkbox label {
  color: var(--cg-ink) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.cg-front .wpforms-field-checkbox a,
.cg-front .wpforms-field-gdpr-checkbox a {
  color: var(--cg-coral) !important;
  text-decoration: none;
}

.cg-front .wpforms-field-checkbox a:hover,
.cg-front .wpforms-field-gdpr-checkbox a:hover {
  text-decoration: underline;
}

.cg-front label.wpforms-error,
.cg-front em.wpforms-error {
  margin-top: 7px !important;
  color: #d84c4c !important;
  font-size: 14px !important;
  font-style: normal !important;
  line-height: 1.35 !important;
}

.cg-front .wpforms-submit-container {
  margin-top: 24px !important;
  padding: 0 !important;
  text-align: left;
}

.cg-front .wpforms-submit {
  min-width: 132px;
  border-radius: 999px !important;
}

.cg-form-fallback {
  padding: 32px;
  border: 1px solid #eadfd9;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.cg-instagram-strip {
  padding: 46px 0;
  background: linear-gradient(135deg, #ed6948 0%, #ea4e75 52%, #d84cbd 100%);
  color: #fff;
}

.cg-instagram-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(360px, 1.15fr);
  align-items: center;
  gap: 34px;
}

.cg-instagram-copy {
  display: flex;
  align-items: center;
  gap: 22px;
}

.cg-instagram-copy i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  color: #e75f73;
  background: #fff;
  border-radius: 14px;
  font-size: 38px;
}

.cg-instagram-copy h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(27px, 3vw, 36px);
}

.cg-instagram-copy p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
}

.cg-instagram-copy a {
  display: inline-flex;
  padding: 9px 18px;
  border-radius: 999px;
  background: #fff;
  color: #d94d86;
  font-weight: 700;
  text-decoration: none;
}

.cg-instagram-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cg-instagram-photos img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(38, 32, 54, 0.22);
}

@media (max-width: 991px) {
  .cg-hero {
    min-height: 0;
    padding-top: 44px;
  }

  .cg-hero-grid,
  .cg-split,
  .cg-quality-grid,
  .cg-proof-grid,
  .cg-instagram-grid {
    grid-template-columns: 1fr;
  }

  .cg-hero-copy {
    text-align: center;
  }

  .cg-hero-copy h1,
  .cg-hero-copy p {
    margin-left: auto;
    margin-right: auto;
  }

  .cg-hero-art {
    min-height: 440px;
  }

  .cg-trust-grid,
  .cg-quality-points {
    grid-template-columns: repeat(2, 1fr);
  }

  .cg-proof-stat {
    grid-template-columns: 110px 1fr;
  }

  .cg-instagram-copy {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .cg-shell {
    width: min(100% - 28px, 1120px);
  }

  .cg-hero h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .cg-hero p {
    font-size: 19px;
  }

  .cg-hero-art {
    min-height: 360px;
  }

  .cg-blob {
    inset: 28px 0 18px;
  }

  .cg-trust-grid,
  .cg-quality-points,
  .cg-process-grid,
  .cg-front .wpforms-field-container {
    grid-template-columns: 1fr;
  }

  .cg-trust-item {
    min-height: 92px;
  }

  .cg-section {
    padding: 58px 0;
  }

  .cg-section-heading {
    margin-bottom: 34px;
  }

  .cg-check-list li,
  .cg-dot-list li {
    margin-bottom: 18px;
    font-size: 16px;
  }

  .cg-proof-stat {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cg-proof-yarn {
    justify-self: center;
  }

  .cg-review {
    padding: 24px;
  }

  .cg-line-drawing {
    display: none;
  }

  .cg-instagram-copy {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .cg-instagram-copy i {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    font-size: 31px;
  }

  .cg-instagram-photos {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .cg-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
  }

  .cg-trust-item strong,
  .cg-trust-item span {
    font-size: 13px;
  }

  .cg-instagram-grid {
    gap: 24px;
  }
}
