/* ==========================================
   Free Silver Guide
========================================== */


/* ==========================================
   Guide Hero
========================================== */

.guide-hero {
  background: var(--navy);
  color: #fff;
  min-height: 680px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.guide-hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -180px;
  top: -180px;
  border: 1px solid rgba(194, 154, 67, 0.18);
  border-radius: 50%;
}

.guide-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -80px;
  border: 1px solid rgba(194, 154, 67, 0.1);
  border-radius: 50%;
}

.guide-hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 90px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: 90px;
  padding-bottom: 90px;
}

.guide-hero-copy {
  max-width: 700px;
}

.guide-hero .eyebrow {
  color: var(--gold);
}

.guide-hero h1 {
  margin: 16px 0 26px;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.2vw, 5.2rem);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.guide-hero h1 span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.54em;
  line-height: 1.15;
  margin-top: 18px;
  max-width: 650px;
}

.guide-hero-intro {
  max-width: 650px;
  margin: 0 0 14px;
  font-size: 1.1rem;
  line-height: 1.65;
  color: #fff;
}

.guide-hero-description {
  max-width: 650px;
  margin: 0 0 34px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.68);
}


/* ==========================================
   General Silver Image
========================================== */

.guide-hero-image {
  width: 100%;
}

.guide-image-frame {
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  padding: 18px;
  position: relative;
}

.guide-image-frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(194, 154, 67, 0.16);
  pointer-events: none;
}

.guide-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 35px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.015)
    );
}

.guide-image-placeholder span {
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.guide-image-placeholder strong {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.1;
}

.guide-image-placeholder small {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  line-height: 1.5;
}

/* =====================================================
   FREE SILVER GUIDE HERO IMAGE
   ===================================================== */

.guide-hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.guide-image-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.guide-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================
   Inside the Guide
========================================== */

.guide-inside {
  padding-top: 110px;
  padding-bottom: 110px;
}

.guide-inside .section-head {
  max-width: 760px;
  margin-bottom: 55px;
}

.guide-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(13, 15, 17, 0.12);
  border: 1px solid rgba(13, 15, 17, 0.12);
}

.guide-point {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 24px;
  align-items: start;
  padding: 38px;
  background: var(--off-white);
}

.guide-point-number {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1;
}

.guide-point p {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.45;
}

.guide-prepared {
  max-width: 720px;
  margin: 35px 0 0;
  color: var(--steel);
  font-size: 0.78rem;
  line-height: 1.7;
}

.guide-hero-cta {
  margin-top: 30px;
}


/* ==========================================
   Guide Request
========================================== */

.guide-request {
  padding-top: 110px;
  padding-bottom: 110px;
}

.guide-request-head {
  max-width: 720px;
  margin-bottom: 50px;
}

.guide-request .section-head h2 {
  color: #fff;
}

.guide-request .section-head p {
  color: rgba(255, 255, 255, 0.62);
}

.guide-request .eyebrow {
  color: var(--gold);
}


/* ==========================================
   Guide Form Container
========================================== */

.guide-form-wrap {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 52px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.guide-form {
  width: 100%;
}


/* ==========================================
   Guide Form Fields
========================================== */

.guide-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 24px;
}

.guide-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.guide-field label {
  display: block;
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.guide-field label strong {
  color: var(--gold);
  font-weight: 600;
}

.guide-field .optional-tag {
  color: var(--steel);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}


/* ==========================================
   Guide Form Inputs
========================================== */

.guide-field input {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid rgba(13, 15, 17, 0.18);
  border-radius: 0;
  background: #fff;
  color: var(--navy);
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.4;
  outline: none;
  box-sizing: border-box;
  appearance: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.guide-field input::placeholder {
  color: rgba(13, 15, 17, 0.4);
}

.guide-field input:hover {
  border-color: rgba(13, 15, 17, 0.3);
}

.guide-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(194, 154, 67, 0.1);
}


/* ==========================================
   Guide Field Errors
========================================== */

.guide-field-error {
  display: none;
  margin-top: 7px;
  color: #963232;
  font-size: 0.72rem;
  line-height: 1.5;
}

.guide-field.has-error input {
  border-color: #963232;
}

.guide-field.has-error .guide-field-error {
  display: block;
}


/* ==========================================
   Consent
========================================== */

.guide-consent {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(13, 15, 17, 0.1);
}

.guide-consent + .guide-consent {
  margin-top: 0;
  padding-top: 18px;
  border-top: 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  cursor: pointer;
}

.checkbox-label input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.checkbox-box {
  position: relative;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  border: 1px solid rgba(13, 15, 17, 0.3);
  background: #fff;
  box-sizing: border-box;
}

.checkbox-label input:checked + .checkbox-box {
  background: var(--gold);
  border-color: var(--gold);
}

.checkbox-label input:checked + .checkbox-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label input:focus-visible + .checkbox-box {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.checkbox-text {
  color: var(--steel);
  font-size: 0.78rem;
  line-height: 1.65;
}

.checkbox-text a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkbox-text strong {
  color: var(--gold);
}


/* ==========================================
   Privacy Validation
========================================== */

#guidePrivacyError {
  display: none;
  margin: 10px 0 0 31px;
  color: #963232;
  font-size: 0.72rem;
  line-height: 1.5;
}

.required-consent.has-error #guidePrivacyError {
  display: block;
}


/* ==========================================
   Guide Form Footer
========================================== */

.guide-form-footer {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(13, 15, 17, 0.1);
}

.guide-form-footer .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
}

.guide-form-footer .btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.guide-form-footer .btn-primary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}


/* ==========================================
   Privacy Note
========================================== */

.guide-form-note {
  margin: 15px 0 0;
  color: var(--steel);
  font-size: 0.7rem;
  line-height: 1.6;
}

.guide-form-note a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}


/* ==========================================
   Form Message
========================================== */

.guide-form-message {
  display: none;
  margin-top: 20px;
  padding: 14px 16px;
  font-size: 0.8rem;
  line-height: 1.5;
}

.guide-form-message.is-error {
  display: block;
  background: rgba(150, 50, 50, 0.07);
  border-left: 3px solid #963232;
  color: #713030;
}

.guide-form-message.is-success {
  display: block;
  background: rgba(70, 110, 70, 0.07);
  border-left: 3px solid #537453;
  color: #385738;
}


/* ==========================================
   Important Information
========================================== */

.guide-disclosure {
  background: #f0eee8;
  padding: 55px 0;
}

.guide-disclosure-inner {
  max-width: 900px;
  margin: 0 auto;
}

.guide-disclosure .eyebrow {
  color: var(--gold);
}

.guide-disclosure p {
  color: var(--steel);
  font-size: 0.76rem;
  line-height: 1.75;
  margin: 0;
}


/* ==========================================
   Responsive
========================================== */

@media (max-width: 900px) {

  .guide-hero-inner {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .guide-hero-image {
    max-width: 560px;
  }

  .guide-points {
    grid-template-columns: 1fr;
  }

  .guide-form-wrap {
    padding: 42px 36px;
  }

}


@media (max-width: 700px) {

  .guide-hero {
    min-height: auto;
  }

  .guide-hero-inner {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .guide-hero h1 {
    font-size: 3rem;
  }

  .guide-form-wrap {
    padding: 32px 24px;
  }

  .guide-fields {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .guide-form-footer .btn {
    width: 100%;
  }

  .guide-point {
    padding: 30px 24px;
  }

}


@media (max-width: 480px) {

  .guide-hero h1 {
    font-size: 2.55rem;
  }

  .guide-hero-intro {
    font-size: 1rem;
  }

  .guide-form-wrap {
    padding: 26px 20px;
  }

  .checkbox-label {
    gap: 10px;
  }

  .checkbox-text {
    font-size: 0.74rem;
  }

}