/* "5 Logo Tests" free PDF guide section (logo pages). No modal: copy + form
   on the left, the guide cover on the right; stacked on phones.
   Colours match the site CTA (midnight / turquoise / lavender). The section
   gradient comes from .cta-section in style.css. Everything here is scoped
   to this section. */

.lgv1-guide-cta {
  padding: clamp(64px, 8vw, 104px) 20px;
  overflow: hidden;
}

.logo-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Copy ─────────────────────────────────────────────────────────────── */
.logo-guide__copy {
  grid-column: 1;
  grid-row: 1;
  text-align: left;
}

/* .cta-section centres its label and intro; this layout aligns to one edge. */
.logo-guide__copy .section-label,
.logo-guide__copy h2,
.logo-guide__copy .section-intro {
  text-align: inherit;
}

body.page-logo-design .cta-section.lgv1-guide-cta .section-label {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--turquoise, #21bfcf);
}

body.page-logo-design .cta-section.lgv1-guide-cta h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3.3vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

body.page-logo-design .cta-section.lgv1-guide-cta h2 em {
  color: var(--turquoise, #21bfcf);
}

body.page-logo-design .cta-section.lgv1-guide-cta .section-intro {
  max-width: 540px;
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.74);
}

/* "7 minutes" "5 tests" pills, then the sentence. */
.logo-guide__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 18px 0 26px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.86);
}

.logo-guide__pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(33, 191, 207, 0.45);
  background: rgba(33, 191, 207, 0.14);
  color: var(--turquoise, #21bfcf);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.logo-guide__stats-text {
  font-weight: 500;
}

/* ── Cover ────────────────────────────────────────────────────────────── */
.logo-guide__book {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: min(100%, 520px);
}

/* Soft turquoise glow behind the cover. */
.logo-guide__book::before {
  content: "";
  position: absolute;
  inset: -14% -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 191, 207, 0.26) 0%, transparent 64%);
  pointer-events: none;
}

/* The cover at its own shape (no letterbox bars) and no border. */
.logo-guide__book img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 34px 70px rgba(8, 10, 36, 0.5);
}

/* ── Form (sits directly on the section, no card) ─────────────────────── */
.logo-guide-form {
  max-width: 460px;
}

.logo-guide__cue {
  margin: 0 0 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
}

.logo-guide-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.logo-guide-form__label {
  display: block;
  margin: 0;
}

.logo-guide-form__field {
  width: 100%;
  box-sizing: border-box;
  min-height: 50px;
  padding: 13px 16px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-family: "Inter", sans-serif;
  color: var(--ink, #14142a);
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.logo-guide-form__field::placeholder {
  color: #9a9ab2;
}

.logo-guide-form__field:focus {
  border-color: var(--turquoise, #21bfcf);
  box-shadow: 0 0 0 3px rgba(33, 191, 207, 0.3);
}

.logo-guide-form__submit {
  margin-top: 4px;
  min-height: 52px;
  padding: 14px 20px;
  border: none;
  border-radius: 10px;
  font-size: 15.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  color: #fff;
  background: var(--green, #16a34a);
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.logo-guide-form__submit:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.45);
}

.logo-guide-form__submit:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}

.logo-guide-form__submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.logo-guide-form__foot {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  color: rgba(255, 255, 255, 0.66);
}

.logo-guide-form__pricing {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.logo-guide-form__pricing:hover {
  border-bottom-color: #fff;
}

.logo-guide-form__error {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  color: #fff;
  background: rgba(239, 68, 68, 0.22);
  border: 1px solid rgba(239, 68, 68, 0.5);
  display: none;
}

.logo-guide-form__error.is-visible {
  display: block;
}

/* Sent: the card shows the confirmation instead of the fields. */
.logo-guide-form__success {
  display: none;
  padding: 10px 4px;
  text-align: center;
}

.logo-guide-form__success.is-visible {
  display: block;
}

.logo-guide-form__success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--green, #16a34a);
  color: #fff;
  font-size: 24px;
  line-height: 48px;
  font-weight: 700;
}

.logo-guide-form__success-title {
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 17px;
  color: #fff;
}

.logo-guide-form__success-msg {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.logo-guide-form.is-sent .logo-guide-form__fields {
  display: none;
}

.lgv1-guide-cta .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Tablets and phones: cover on top, then the copy and the form ─────── */
@media (max-width: 860px) {
  .logo-guide {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .logo-guide__copy {
    grid-column: 1;
    grid-row: 2;
    text-align: center;
  }

  body.page-logo-design .cta-section.lgv1-guide-cta .section-intro {
    margin-left: auto;
    margin-right: auto;
  }

  .logo-guide__stats {
    justify-content: center;
  }

  .logo-guide-form {
    margin: 0 auto;
    text-align: left;
  }

  .logo-guide__cue,
  .logo-guide-form__foot {
    text-align: center;
  }

  .logo-guide__book {
    grid-column: 1;
    width: min(72%, 320px);
  }
}

/* Variant (custom logo in 60 page): no cover — copy on the left, the form on
   the right; stacked on tablets and phones. */
.logo-guide--form-right {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}
.logo-guide--form-right .logo-guide__copy { grid-column: 1; grid-row: 1; }
.logo-guide--form-right .logo-guide__form-col { grid-column: 2; grid-row: 1; width: 100%; }
.logo-guide--form-right .logo-guide-form { max-width: 440px; margin-left: auto; }
@media (max-width: 860px) {
  .logo-guide--form-right { grid-template-columns: 1fr; }
  .logo-guide--form-right .logo-guide__copy { grid-row: 1; }
  .logo-guide--form-right .logo-guide__form-col { grid-column: 1; grid-row: 2; }
  .logo-guide--form-right .logo-guide-form { margin: 0 auto; }
}
