

/* Version 5: polished free-template form override */
.free-template-page {
  background: #F8F6F1;
}

.free-template-hero.clean {
  padding: 74px 0 58px;
  background:
    linear-gradient(135deg, rgba(31,41,55,.98), rgba(17,24,39,.98)),
    #1F2937;
  color: #fff;
}

.free-template-hero.clean h1 {
  max-width: 760px;
}

.free-template-hero.clean .lead {
  max-width: 760px;
  color: rgba(255,255,255,.78);
}

.free-template-hero.clean .eyebrow {
  color: #C2AE8A;
}

.free-template-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: center;
}

.free-template-note {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 24px;
  padding: 24px;
}

.free-template-note strong,
.free-template-note span {
  display: block;
}

.free-template-note strong {
  color: #C2AE8A;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 12px;
}

.free-template-note span {
  padding: 11px 0;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);
  font-weight: 700;
}

.free-form-section {
  background: #F8F6F1;
}

.free-form-wrap.polished {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
}

.polished-card {
  border-radius: 30px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(31,41,55,.08);
  box-shadow: 0 24px 70px rgba(31,41,55,.10);
}

.polished-card .request-panel-header {
  padding: 34px 38px 24px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF8F2 100%);
  border-bottom: 1px solid rgba(31,41,55,.08);
}

.polished-card .request-panel-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 14px 0 8px;
  letter-spacing: -0.04em;
}

.polished-card .request-panel-header p {
  max-width: 680px;
  font-size: 16px;
  line-height: 1.65;
  color: #5B6472;
  margin: 0;
}

.clean-form {
  padding: 34px 38px 38px;
  display: grid !important;
  gap: 22px !important;
}

.clean-form .form-grid-two {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

.clean-form .field {
  display: flex !important;
  flex-direction: column !important;
  gap: 9px !important;
}

.clean-form .field label {
  display: block !important;
  font-size: 13px !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 800 !important;
  color: #1F2937 !important;
}

.clean-form input,
.clean-form select,
.clean-form textarea {
  display: block !important;
  width: 100% !important;
  min-height: 52px;
  box-sizing: border-box !important;
  border: 1px solid rgba(31,41,55,.14) !important;
  border-radius: 16px !important;
  background: #FFFFFF !important;
  color: #1F2937 !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  padding: 14px 16px !important;
  box-shadow: 0 1px 0 rgba(31,41,55,.04);
}

.clean-form textarea {
  min-height: 132px;
  resize: vertical;
}

.clean-form input:focus,
.clean-form select:focus,
.clean-form textarea:focus {
  outline: none !important;
  border-color: #C2AE8A !important;
  box-shadow: 0 0 0 4px rgba(194,174,138,.22) !important;
}

.clean-form .form-footer-row {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
  padding-top: 4px;
}

.clean-form .form-submit {
  width: auto !important;
  min-width: 156px;
  padding: 13px 20px !important;
  border-radius: 999px !important;
  font-size: 15px !important;
}

.clean-form .form-footer-row p {
  margin: 0 !important;
  max-width: 480px;
  color: #6B7280;
  font-size: 13px;
  line-height: 1.5;
}

.resource-panel {
  display: grid;
  gap: 18px;
}

.resource-card {
  background: #fff;
  border: 1px solid rgba(31,41,55,.09);
  box-shadow: 0 20px 60px rgba(31,41,55,.08);
}

.polished-side {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 28px;
}

.resource-card.dark {
  background: #1F2937;
  color: #fff;
  border-radius: 24px;
  padding: 28px;
}

.resource-card.dark p {
  color: rgba(255,255,255,.76);
}

.number-list {
  counter-reset: item;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}

.number-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  color: #4B5563;
  font-weight: 650;
}

.number-list li::before {
  counter-increment: item;
  content: counter(item);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(194,174,138,.22);
  color: #1F2937;
  font-weight: 900;
}

.text-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1F2937;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid #C2AE8A;
  padding-bottom: 3px;
}

.text-cta.light {
  color: #fff;
  border-bottom-color: #C2AE8A;
}

@media (max-width: 980px) {
  .free-template-hero-inner,
  .free-form-wrap.polished {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 720px) {
  .clean-form .form-grid-two {
    grid-template-columns: 1fr !important;
  }

  .polished-card .request-panel-header,
  .clean-form {
    padding-left: 24px;
    padding-right: 24px;
  }
}
