:root {
  --aa-charcoal: #414042;
  --aa-text: #333333;
  --aa-navy: #0b2335;
  --aa-gold: #f3b22d;
  --aa-teal: #00aeae;
  --aa-blue: #3ba6ca;
  --aa-orange: #f2732e;
  --aa-bg: #f5f5f5;
  --aa-border: #d9d9d9;
  --aa-focus: #005fcc;
  --lp-width: 940px;
}


/* =========================================================
   BASE
   ========================================================= */

html {
  font-size: 100%;
}

body {
  margin: 0;
  color: var(--aa-text);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
}

img {
  max-width: 100%;
  height: auto;
}

.lp-container {
  max-width: calc(var(--lp-width) + 24px);
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 9999;
  transform: translateY(-120%);
  padding: .75rem 1rem;
  background: #fff;
  color: #000;
  border: 2px solid #000;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(.5rem);
}

a,
button,
input,
select,
textarea {
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--aa-focus);
}


/* =========================================================
   COVERAGE ALERT
   ========================================================= */

.coverage-alert {
  min-height: 30px;
  display: flex;
  align-items: center;
  background: var(--aa-gold);
  color: var(--aa-navy);
  font-size: .875rem;
  font-weight: 700;
}

.coverage-alert__icon {
  display: inline-block;
  margin-right: .35rem;
  font-size: .7em;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #d5d5d5;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.site-logo,
.footer-logo {
  display: block;
  width: 287px;
  max-width: 100%;
}


/* =========================================================
   MAIN
   ========================================================= */

.landing-main {
  position: relative;
  min-height: 1467px;
  overflow: hidden;
  background: var(--aa-bg);
}

.landing-main__inner {
  position: relative;
  z-index: 2;
  padding-top: 62px;
  padding-bottom: 25px;
}


/* =========================================================
   INTRO
   ========================================================= */

.intro-copy {
  max-width: 470px;
}

.intro-copy h1 {
  margin: 0 0 1rem;
  color: var(--aa-charcoal);
  font-size: clamp(2rem, 2.7vw, 2.4rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.02em;
}

.intro-copy p {
  margin-bottom: 1.1rem;
  font-size: 1.125rem;
  line-height: 1.25;
}

.phone-link {
  color: inherit;
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.phone-link:hover {
  color: #000;
}

/* =========================================================
   FORM COLUMN
   ========================================================= */

.form-column {
  display: flex;
  justify-content: flex-end;
}

.lead-card {
  width: 100%;
  max-width: 449px;
  min-height: 1380px;
  padding: 25px;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 7px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .16);
}

.lead-card h2 {
  max-width: 410px;
  margin: 0 0 1.55rem;
  color: var(--aa-charcoal);
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
}

.form-intro,
.required-note {
  margin-bottom: 1rem;
  font-size: .875rem;
}

.required-note {
  color: #666;
}


/* =========================================================
   FORM ELEMENTS
   ========================================================= */

.form-label {
  margin-bottom: .35rem;
  color: #222;
  font-size: .875rem;
  font-weight: 400;
}

.form-control,
.form-select {
  min-height: 50px;
  border: 1px solid var(--aa-border);
  border-radius: 4px;
  color: #222;
  background-color: #fff;
  font-size: .95rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--aa-focus);
  box-shadow: 0 0 0 .2rem rgba(0, 95, 204, .2);
}

.form-control::placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-width: 2px;
}

.invalid-feedback {
  font-size: .8125rem;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.btn-submit {
  min-width: 200px;
  min-height: 50px;
  margin-top: .2rem;
  padding: .7rem 1.75rem;
  border-radius: 999px;
  background: var(--aa-gold);
  color: #14212b;
  font-weight: 700;
}

.btn-submit:hover,
.btn-submit:focus-visible {
  background: #e2a326;
  color: #000;
}


/* =========================================================
   CONSENT
   ========================================================= */

.consent-copy {
  margin: 1.25rem -9px 0;
  font-size: .8125rem;
  line-height: 1.28;
}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.hero-image-wrap {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: min(68.4vw, 985px);
  height: 575px;
  overflow: hidden;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}


/* =========================================================
   COUNTY BAND
   ========================================================= */

.county-band {
  display: flex;
  min-height: 120px;
  align-items: center;
  background: var(--aa-charcoal);
  color: #fff;
}

.county-band__inner {
  text-align: center;
}

.county-band p {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.2;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: 50px 0 50px;
  background: #fff;
  color: var(--aa-navy);
}

.footer-logo {
  margin-bottom: 2rem;
}

.footer-copy {
  max-width: 940px;
  font-size: .75rem;
  line-height: 1.35;
}

.footer-copy p {
  margin-bottom: 1rem;
}

.ltr-content {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 991.98px) {

  .landing-main {
    min-height: auto;
    overflow: visible;
  }

  .landing-main__inner {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .intro-copy {
    max-width: none;
  }

  .form-column {
    justify-content: flex-start;
  }

  .lead-card {
    max-width: 100%;
    min-height: 0;
  }

  .hero-image-wrap {
    position: relative;
    width: 100%;
    height: auto;
  }

  .hero-image-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}


@media (max-width: 575.98px) {

  .coverage-alert {
    padding: .4rem 0;
    line-height: 1.25;
  }

  .site-header {
    min-height: 72px;
  }

  .site-logo {
    width: 245px;
  }

  .landing-main__inner {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .intro-copy h1 {
    font-size: 2rem;
  }

  .intro-copy p {
    font-size: 1rem;
  }

  .lead-card {
    padding: 20px;
  }

  .lead-card h2 {
    font-size: 1.35rem;
  }

  .btn-submit {
    width: 100%;
  }

  .consent-copy {
    margin-left: 0;
    margin-right: 0;
  }

  .county-band {
    min-height: 96px;
  }

  .site-footer {
    padding-top: 40px;
  }
}


/* =========================================================
   PERSIAN / FARSI RTL
   ========================================================= */

html[lang="fa"] {
  direction: rtl;
}

html[lang="fa"] body {
  direction: rtl;
  text-align: right;
}


/* ---------------------------------------------------------
   SKIP LINK
   --------------------------------------------------------- */

html[lang="fa"] .skip-link {
  left: auto;
  right: 1rem;
}


/* ---------------------------------------------------------
   COVERAGE ALERT
   --------------------------------------------------------- */

html[lang="fa"] .coverage-alert,
html[lang="fa"] .coverage-alert__inner {
  direction: rtl;
  text-align: right;
}

html[lang="fa"] .coverage-alert__icon {
  margin-right: 0;
  margin-left: .35rem;
}


/* ---------------------------------------------------------
   MAIN DESKTOP LAYOUT

   RTL direction reverses Bootstrap flex flow.

   English:
   [ intro ] [ form ]

   Persian:
   [ form ] [ intro ]
   --------------------------------------------------------- */

@media (min-width: 992px) {

  html[lang="fa"] .main-content-row {
    direction: rtl;
  }

  html[lang="fa"] .form-column {
    justify-content: flex-end;
  }

  html[lang="fa"] .intro-copy {
    margin-right: 0;
    margin-left: auto;
  }

}


/* ---------------------------------------------------------
   INTRO COPY
   --------------------------------------------------------- */

html[lang="fa"] .intro-copy,
html[lang="fa"] .intro-copy h1,
html[lang="fa"] .intro-copy p {
  direction: rtl;
  text-align: right;
}

html[lang="fa"] .phone-link {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}


/* ---------------------------------------------------------
   HERO IMAGE
   --------------------------------------------------------- */

html[lang="fa"] .hero-image-wrap {
  left: auto;
  right: 0;
}


/* ---------------------------------------------------------
   FORM CARD
   --------------------------------------------------------- */

html[lang="fa"] .lead-card {
  direction: rtl;
  text-align: right;
}

html[lang="fa"] .lead-card h2,
html[lang="fa"] .form-intro,
html[lang="fa"] .required-note {
  direction: rtl;
  text-align: right;
}


/* ---------------------------------------------------------
   LABELS
   --------------------------------------------------------- */

html[lang="fa"] .form-label {
  display: block;
  width: 100%;
  direction: rtl;
  text-align: right;
}


/* ---------------------------------------------------------
   FORM FIELDS
   --------------------------------------------------------- */

html[lang="fa"] .form-control,
html[lang="fa"] .form-select {
  direction: rtl;
  text-align: right;
}

/* Move Bootstrap select arrow to the left */

html[lang="fa"] .form-select {
  background-position: left .75rem center;
  padding-right: .75rem;
  padding-left: 2.25rem;
}

/* Keep phone, email and ZIP values LTR */

html[lang="fa"] input[type="tel"],
html[lang="fa"] input[type="email"],
html[lang="fa"] #zip {
  direction: ltr;
  text-align: left;
}


/* ---------------------------------------------------------
   ADDRESS ROW
   --------------------------------------------------------- */

html[lang="fa"] .address-row {
  direction: rtl;
}


/* ---------------------------------------------------------
   VALIDATION
   --------------------------------------------------------- */

html[lang="fa"] .invalid-feedback,
html[lang="fa"] #form-error-summary {
  direction: rtl;
  text-align: right;
}


/* ---------------------------------------------------------
   BUTTON
   --------------------------------------------------------- */

html[lang="fa"] .btn-submit {
  direction: rtl;
}


/* ---------------------------------------------------------
   CONSENT COPY
   --------------------------------------------------------- */

html[lang="fa"] .consent-copy {
  direction: rtl;
  text-align: right;
}


/* ---------------------------------------------------------
   COUNTY BAND
   Approved Persian design keeps this centered
   --------------------------------------------------------- */

html[lang="fa"] .county-band,
html[lang="fa"] .county-band__inner,
html[lang="fa"] .county-band p {
  direction: rtl;
  text-align: center;
}


/* ---------------------------------------------------------
   HEADER / FOOTER LOGOS - RTL
   --------------------------------------------------------- */

html[lang="fa"] .site-header .site-logo,
html[lang="fa"] .site-footer .footer-logo {
  margin-left: auto;
  margin-right: 0;
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

html[lang="fa"] .site-footer,
html[lang="fa"] .footer-copy,
html[lang="fa"] .footer-copy p {
  direction: rtl;
  text-align: right;
}

html[lang="fa"] .ltr-content {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}


/* ---------------------------------------------------------
   FIX MIXED PERSIAN + ENGLISH TEXT
   Helps prevent Medicare, Medi-Cal, HMO D-SNP, punctuation,
   etc. from appearing in the wrong visual order.
   --------------------------------------------------------- */

html[lang="fa"] .coverage-alert__inner,
html[lang="fa"] .intro-copy h1,
html[lang="fa"] .intro-copy p,
html[lang="fa"] .lead-card h2,
html[lang="fa"] .form-intro,
html[lang="fa"] .required-note,
html[lang="fa"] .consent-copy,
html[lang="fa"] .county-band p,
html[lang="fa"] .footer-copy p,
html[lang="fa"] .form-label {
  unicode-bidi: plaintext;
}


/* ---------------------------------------------------------
   MODAL
   --------------------------------------------------------- */

html[lang="fa"] .modal-content {
  direction: rtl;
  text-align: right;
}

html[lang="fa"] .modal-header {
  direction: rtl;
}

html[lang="fa"] .modal-title,
html[lang="fa"] .modal-body {
  direction: rtl;
  text-align: right;
  unicode-bidi: plaintext;
}

html[lang="fa"] .modal-footer {
  justify-content: flex-start;
}

html[lang="fa"] .modal-header .btn-close {
  margin: -.5rem auto -.5rem -.5rem;
}


/* ---------------------------------------------------------
   MOBILE RTL
   --------------------------------------------------------- */

@media (max-width: 991.98px) {

  html[lang="fa"] .main-content-row {
    direction: rtl;
  }

  html[lang="fa"] .form-column {
    justify-content: flex-start;
  }

  html[lang="fa"] .hero-image-wrap {
    right: auto;
    left: auto;
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

}