/* MFI Radiology – Funnel 1 (B2B Dentist Referral) page styles. Shared header/footer/brand styles live in site.css. */

/* ------------------------------------------------------------------ Hero variant of the site banner (blueprint Section 1: headline, supporting copy, primary CTA; photo on the right) */
.page-header--hero .page-header__bg img { object-position: 62% 50%; }
.page-header--hero .page-header__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(204, 32, 39, .55) 0%, rgba(230, 74, 20, .45) 28%, rgba(230, 74, 20, 0) 58%); }
.page-header--hero .page-header__inner { min-height: 465px; padding: 64px 15px 72px; display: flex; align-items: center; }
.page-header--hero .hero__copy { max-width: 640px; }
.page-header--hero h1 { margin: 0 0 18px; text-shadow: 0 2px 18px rgba(0, 0, 0, .18); }
.page-header--hero h1 .h1-sub { font-size: 32px; line-height: 40px; margin-top: 14px; }
.hero__lead { font-size: 18px; line-height: 30px; color: #fff; margin: 0 0 14px; max-width: 580px; }
.hero__actions .btnn { margin-left: 0; }
@media (max-width: 1024px) { .page-header--hero .page-header__inner { min-height: 420px; padding: 56px 20px; } .page-header--hero h1 .h1-sub { font-size: 26px; line-height: 32px; } }
@media (max-width: 767px) {
  .page-header--hero .page-header__inner { min-height: 0; padding: 52px 20px 44px; }
  .page-header--hero .page-header__bg img { object-position: 70% 50%; }
  .page-header--hero .page-header__bg::after { background: linear-gradient(180deg, rgba(204, 32, 39, .78) 0%, rgba(230, 74, 20, .72) 100%); }
  .page-header--hero h1 { margin: 0 0 14px; }
  .page-header--hero h1 .h1-sub { font-size: 22px; line-height: 28px; margin-top: 12px; }
  .hero__lead { font-size: 17px; line-height: 28px; }
  .hero__actions .btnn { display: block; margin: 10px 0 0; }
}

/* ------------------------------------------------------------------ Form (styled like the live site's Gravity Forms: 1px #686E77 border, 3px radius, soft shadow, Roboto 14px #112337; 44px tap height for mobile) */
.form-card { background: #fff; border: 1px solid var(--line-soft); border-radius: 5px; padding: 36px; }
.form-card h3 { margin-bottom: 8px; }
.form-card__intro { margin-bottom: 22px; color: #626a71; }   /* 5.3:1 on white (WCAG AA for small text) */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 4px 20px; }
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--f-text); font-weight: 500; font-size: 14px; line-height: 20px; color: #112337; }
.field .optional { color: #626a71; font-weight: 400; font-size: 13px; }
.field .hint { font-size: 13px; line-height: 18px; margin: 0; color: #626a71; }
.field input, .field select {
  width: 100%; font-family: var(--f-text); font-size: 16px; line-height: 24px; color: #112337; background: #fff;   /* 16px stops iOS zooming on focus */
  border: 1px solid #686e77; border-radius: 3px; padding: 9px 12px; min-height: 44px; box-shadow: 0 1px 4px rgba(18, 25, 97, .08);
  transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.field select { padding-right: 40px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23112337' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 12px center; }
.field input::placeholder { color: #8a9099; }
.field input:focus, .field select:focus { outline: none; border-color: var(--dark); box-shadow: 0 0 0 3px rgba(29, 35, 39, .12); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--error); }
.field__error { font-size: 13px; line-height: 18px; min-height: 18px; color: var(--error); margin: 0; display: block; }
.form-consent { font-size: 13px; line-height: 20px; margin: 18px 0 0; color: #626a71; }
.form-status { display: none; border-radius: 3px; padding: 12px 14px; font-size: 15px; line-height: 22px; margin-top: 16px; }
.form-status[data-state="error"] { display: block; background: #fdecea; color: #7a1c17; border: 1px solid #f3c2be; }
.form-status[data-state="success"] { display: block; background: #e8f5ee; color: #14573a; border: 1px solid #bfe3cf; }
.form-security { font-size: 13px; line-height: 18px; display: flex; gap: 6px; align-items: center; justify-content: center; margin: 12px 0 0; color: #626a71; }
.form-security svg { width: 14px; height: 14px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 480px) { .form-card { padding: 24px 16px; } }
.two-col { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 992px) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 60px; } .two-col--sticky > :first-child { position: sticky; top: calc(var(--header-h) + 24px); } }
.dropcap::first-letter { font-family: var(--f-primary); font-weight: 700; font-size: 62px; line-height: 50px; color: var(--primary); float: left; margin: 4px 10px 0 0; }
.checklist { list-style: none; margin: 0 0 24px; padding: 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.checklist svg { width: 22px; height: 22px; color: var(--primary); flex: none; margin-top: 3px; }
.checklist strong { color: #000; }
.contact-line { border-top: 1px solid var(--line); padding-top: 18px; font-size: 15px; line-height: 26px; }
.contact-line a { font-weight: 700; }
.intro-actions { margin: 4px 0 14px; }

/* ------------------------------------------------------------------ Thank-you */
.thanks { text-align: center; padding: 90px 0; }
.thanks__icon { width: 72px; height: 72px; border-radius: 50%; background: #e8f5ee; color: var(--success); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.thanks__icon svg { width: 36px; height: 36px; }
.thanks h1 { color: #000; font-size: 56px; line-height: 64px; }
.thanks .lead { max-width: 620px; margin: 0 auto 20px; }
.thanks__sub { font-size: 26px; line-height: 32px; }
.thanks__steps { text-align: left; max-width: 560px; margin: 0 auto 30px; padding-left: 22px; }
.thanks__steps li { margin-bottom: 6px; }
.thanks__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 10px; }
@media (max-width: 767px) { .thanks h1 { font-size: 40px; line-height: 46px; } .thanks__actions .btnn { display: block; width: 100%; margin: 8px 0; } }
