/**
 * AMS Landing Pages - Main Stylesheet
 * 
 * This stylesheet contains all styles for the landing page template.
 * Add your custom styles here.
 * ==========================================================================
 *  -------------------------------------------------
 * LOOK AT VERY BOTTOM FOR CUSTOM IMPLEMENTATIONS
 * OVERRIDES ARE BEING USED BECAUSE IT IS WAY FASTER
 *  -------------------------------------------------
* ==========================================================================
 */

/* Landing Page Hero Section */
:root {
  --xs: 5px;
  --s: 15px;
  --m: 30px;
  --l: 60px;
  --xl: 120px;
  --xxl: 240px;
  --landing-black: #2d2d2d;
}

.search-modal {
  display: none;
}

html {
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--landing-body);
  color: var(--landing-black);
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--landing-heading);
}

h2 {
  font-weight: 400;
}
.container {
  max-width: 1220px;
  margin: 0 auto;
}

.gform_wrapper.gravity-theme {
  background: transparent;
  padding: 0;
  border: 0;
}

/* Hide honeypot field from users but keep it in DOM for bots */
.gfield--type-honeypot {
  display: none;
}

.gform_wrapper.gravity-theme .gform-field-label--type-sub {
  color: #fff;
  opacity: 0.7;
  font-weight: 400;
  display: block;
  margin-top: var(--xs);
  font-size: 14px;
}

.gform_wrapper.gravity-theme .gfield_label {
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
}

.gform_wrapper.gravity-theme .ginput_complex {
  width: 100%;
  display: grid;
  gap: 20px;
  grid-template-columns: auto auto;
}

.gform_wrapper.gravity-theme .ginput_complex .ginput_left,
.gform_wrapper.gravity-theme .ginput_complex .ginput_right {
  flex: 1;
  min-width: 150px;
}

.gform_wrapper.gravity-theme .gfield {
  margin-bottom: 20px;
}

.gform_wrapper.gravity-theme fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.gform_wrapper.gravity-theme input[type="color"],
.gform_wrapper.gravity-theme input[type="date"],
.gform_wrapper.gravity-theme input[type="datetime-local"],
.gform_wrapper.gravity-theme input[type="datetime"],
.gform_wrapper.gravity-theme input[type="email"],
.gform_wrapper.gravity-theme input[type="month"],
.gform_wrapper.gravity-theme input[type="number"],
.gform_wrapper.gravity-theme input[type="password"],
.gform_wrapper.gravity-theme input[type="search"],
.gform_wrapper.gravity-theme input[type="tel"],
.gform_wrapper.gravity-theme input[type="text"],
.gform_wrapper.gravity-theme input[type="time"],
.gform_wrapper.gravity-theme input[type="url"],
.gform_wrapper.gravity-theme input[type="week"],
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea {
  background-color: #fff;
  color: #333;
  border: none;
  border-radius: 4px;
  padding: 12px 15px;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.gform_wrapper.gravity-theme input[type="color"]:focus,
.gform_wrapper.gravity-theme input[type="date"]:focus,
.gform_wrapper.gravity-theme input[type="datetime-local"]:focus,
.gform_wrapper.gravity-theme input[type="datetime"]:focus,
.gform_wrapper.gravity-theme input[type="email"]:focus,
.gform_wrapper.gravity-theme input[type="month"]:focus,
.gform_wrapper.gravity-theme input[type="number"]:focus,
.gform_wrapper.gravity-theme input[type="password"]:focus,
.gform_wrapper.gravity-theme input[type="search"]:focus,
.gform_wrapper.gravity-theme input[type="tel"]:focus,
.gform_wrapper.gravity-theme input[type="text"]:focus,
.gform_wrapper.gravity-theme input[type="time"]:focus,
.gform_wrapper.gravity-theme input[type="url"]:focus,
.gform_wrapper.gravity-theme input[type="week"]:focus,
.gform_wrapper.gravity-theme select:focus,
.gform_wrapper.gravity-theme textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 166, 110, 0.2);
}

.gform_wrapper.gravity-theme textarea {
  resize: vertical;
  min-height: 120px;
}

.gform_wrapper.gravity-theme .gform-button {
  background-color: #d4a574;
  color: #fff;
  border: none;
  padding: 14px 40px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
  display: inline-block;
}

.gform_wrapper.gravity-theme .gform-button:hover {
  background-color: #c4955f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.gform_wrapper.gravity-theme .gform-button:active {
  transform: translateY(0);
}
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"],
select,
textarea {
  color: #000;
  border-radius: var(--border-radius);
  padding: var(--xs) var(--s);
  font-size: 14px;
  border: 0;
  outline: none;
  box-shadow: none;
}

#field_submit,
.gform_wrapper {
  position: relative;
  z-index: 10;
  .gform_submission_error,
  .validation_message {
    color: var(--landing-secondary-color);
    font-weight: 600;
    text-align: center;
    margin-top: var(--xs);
  }
}

.gform_footer {
  display: grid;
  place-items: center;
}

.gform_footer button,
.gform_footer input,
.gform_page_footer button,
.gform_page_footer input,
.button {
  background: var(--landing-secondary-color);
  text-transform: uppercase;
  border-radius: var(--border-radius);
  border: 0;
  padding: var(--s) var(--m);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  position: relative;
  z-index: 10;
  pointer-events: auto;
  cursor: pointer;
  transform: scale(1);
  transition: transform 0.2s ease-in-out;
  &:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease-in-out;
  }
}

.ghost.button {
  background-color: transparent;
  border: 2px solid white;
}

.gfield_required .gfield_required_text {
  color: rgba(255, 255, 255, 0.75);
  font-style: normal;
  font-size: 12px;
  margin-left: var(--xs);
}

.gform_confirmation_message {
  color: #fff;
  font-size: 28px;
  line-height: 1.5;
  text-align: center;
}

a.button,
button,
#gform_submit_button_2 {
  border-radius: 28px;
}

#page-container > * {
  overflow-x: clip !important;
}

.landing-hero--cta.mobile,
.landing-hero--copy.mobile {
  display: none;
}

.landing-hero {
  position: relative;
  overflow: clip;
}
.landing-hero--top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--m) 0;
}
.landing-hero--logo {
  width: 100%;
  max-width: 382px;
  height: auto;
  img,
  picture {
    width: 100%;
    height: auto;
    display: block;
  }
}
.landing-hero--background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  background: rgba(41, 54, 63, 1);
  img,
  picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.5s ease-in-out;
  }
  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 60%,
      rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 2;
  }
}

@media screen and (max-width: 1024px) {
  .landing-hero--background-image {
    display: grid;
    place-items: center;
  }
  .landing-hero--background-image img,
  .landing-hero--background-image picture {
    width: 150%;
    height: 150%;
    object-fit: cover;
    display: block;
    filter: blur(20px);
    background: rgba(17, 21, 30, 1);
    transition: filter 0.5s ease-in-out;
  }
}

/* Form Wrapper Styles */
.landing-hero--form--wrapper {
  width: 100%;
  padding-bottom: var(--l);
}

.landing-hero--form--title {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 10px 0;
  line-height: 1.3;
  text-align: center;
  font-family: var(--landing-body);
}

.landing-hero--form--subtitle {
  color: #fff;
  font-size: 14px;
  opacity: 0.9;
  margin: 0 0 30px 0;
  line-height: 1.5;
  text-align: center;
}

.landing-hero--content--right {
  flex: 1;
  max-width: 264px;
}
.landing-hero--cta {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
  //background-color: var(--landing-secondary-color);
  border-radius: 20px;

  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 24px;

  .landing-hero--cta-text {
    font-weight: 400;
  }

  a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 24px;
  }
}
.landing-hero--inner {
  display: grid;
}
@media screen and (max-width: 1220px) {
  .landing-hero--inner {
    padding: 0 var(--s);
  }
}
.landing-hero--content--top {
  grid-column: 1 / -1;
  grid-row: 1;
  display: grid;
  place-items: center;
  grid-template-rows: repeat(2, auto);
  padding: 20px 0;
  text-align: center;
  h1 {
    margin: 0;
  }
}
.landing-hero--headline {
  display: block;
  text-align: center;
  font-size: 72px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  &::after {
    content: "";
    display: block;
    width: 80%;
    height: 4px;
    background: var(--landing-secondary-color);
    margin: var(--s) auto 0 auto;
  }
}
.landing-hero--subheadline {
  display: block;
  text-align: center;
  font-size: 39px;
  margin-top: var(--s);
  font-weight: 600;
  font-family: var(--landing-body);
  color: #fff;
}
.landing-hero--content {
  display: grid;
  grid-template-rows: auto auto;
  grid-template-columns: calc(60% - var(--l) / 2) calc(40% - var(--l) / 2);
  gap: var(--s) var(--l);
  position: relative;
}
.landing-hero--content--firm {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  z-index: 3;
  display: none;
  align-items: flex-end;
}
.landing-hero--content--right {
  grid-column: 2;
  position: relative;
  z-index: 3;
}

.landing-hero--firm-photo {
  max-width: 100%;
  padding-left: 40px;
  padding-right: 40px;
  height: auto;
  position: relative;
  z-index: 1;
  img,
  picture {
    width: 100%;
    height: auto;
    display: block;
  }
}
.landing-hero--tagline {
  position: relative;
  margin-top: var(--m);
  font-weight: 600;
  font-family: var(--landing-heading);
  font-size: 55px;
  text-transform: uppercase;
  color: white;
}

.landing-hero--copy {
  position: absolute;
  bottom: var(--m);
  left: 0;
  text-align: left;
  font-family: var(--landing-body);
  font-weight: 600;
  font-size: 23px;
  line-height: 36px;
  color: #fff;
  text-shadow:
    0px 0 10px rgba(0, 0, 0, 1),
    0px 0 10px rgba(0, 0, 0, 1),
    0px 0 10px rgba(0, 0, 0, 1);
  z-index: 8;

  img {
    max-width: 100%;
  }
}

.landing-hero--link {
  position: relative;
  margin-bottom: -2rem;
  text-align: center;
  transform: translateY(-1.75rem);
  z-index: 10;

  a.button {
    border-radius: 1rem;
  }
}

@media screen and (max-width: 1023px) {
  .landing-hero--inner {
    padding: 0;
  }
  .landing-hero--content {
    grid-template-columns: auto;
    gap: 0;
  }
  .landing-hero--top {
    padding: var(--s) var(--m);
    margin-bottom: var(--l);
  }
  .landing-hero--content--top {
    grid-column: 1;
    grid-row: 1;
    padding: 0 var(--s);
    margin-bottom: var(--l);
  }
  .landing-hero--content--left {
    grid-column: 1;
    grid-row: 2;
    padding: 0 var(--s);
    display: grid;
    place-items: center;
    text-align: center;
  }
  .landing-hero--copy {
    ul {
      text-align: left;
      margin: 0 auto;
      width: fit-content;

      li {
        width: 90%;
      }
    }
  }
  .landing-hero--content--right {
    grid-column: 1;
    grid-row: 3;
    background: var(--landing-primary-color);
    padding: var(--l) var(--s);
  }
  .landing-hero--form--wrapper {
    width: 100%;
    padding-bottom: 0;
  }
}

@media screen and (max-width: 675px) {
  .landing-hero--top {
    display: grid;
    grid-template-columns: 100%;
    place-items: center;
    text-align: center;
    gap: var(--m);
    margin-bottom: var(--m);
  }
  .landing-hero--logo {
    max-width: calc(100% - var(--s) * 2);
    margin: 0 auto;
  }
  .landing-hero--firm-photo {
    img,
    picture {
      width: 120%;
      height: auto;
      display: block;
      transform: translateX(-67px);
    }
  }
  .landing-hero--tagline {
    padding: 0 var(--xs);
    width: calc(100% - (var(--xs) * 2));
  }
}

@media screen and (max-width: 768px) {
  .landing-hero--top {
    margin-bottom: 20px;
    padding: var(--s) 0;
  }
  .landing-hero--headline {
    margin-left: auto;
    margin-right: auto;
    width: 85%;
    font-size: 28px;
  }
  .landing-hero--subheadline {
    font-size: 20px;
  }
  .landing-hero--tagline {
    font-size: 18px;
    line-height: 1.3;
  }
  .landing-hero--firm-photo {
    img,
    picture {
      width: 110%;
      height: auto;
      display: block;
      transform: translateX(-37px);
    }
  }
}

/*******************************/
/***** ACCOLADE BAR LAYOUT *****/
/*******************************/

.landing-accolade-bar {
  background: var(--landing-tertiary-color);
  padding: var(--m) 0;
}
.landing-accolade-bar--inner {
  display: grid;
  place-items: center;
  text-align: center;
}
@media screen and (max-width: 1220px) {
  .landing-accolade-bar--inner {
    padding: 0 var(--s);
  }
}

.landing-accolade-bar--meta {
  margin-bottom: 30px;
}
.landing-accolade-bar--accolades {
  width: 100%;
  //display: flex;
  //justify-content: space-between;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: space-around;
  align-items: center;
  gap: 3rem;
  //flex-wrap: wrap;
  margin-top: var(--s);
}

.landing-accolade-bar--accolade {
  img,
  picture {
    max-width: 95%;
    height: auto;
  }

  img.vertical {
    max-height: 200px;
    width: auto;

    &.badge-dui {
      max-height: 160px;
    }

    &.badge-state-bar {
      max-height: 160px;
    }
  }
}

@media screen and (max-width: 768px) {
  .landing-accolade-bar--accolades {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: var(--m);
  }
}

/*******************************/
/****** TWO COLUMN LAYOUT ******/
/*******************************/

.landing-two-column {
  padding: var(--xl) 0;
}

@media screen and (max-width: 1220px) {
  .landing-two-column--inner {
    padding: 0 var(--s);
  }
}

.landing-two-column--color-ribbon {
  background: var(--landing-primary-color);
  color: #fff;
  .landing-two-column--meta {
    color: #fff;
  }
  .subheading {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      color: #fff;
    }
  }
  .landing-two-column--title.heading,
  .landing-two-column--subtitle.subheading {
    color: #fff;
  }
  .landing-two-column--copy {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      color: #fff;
      margin-bottom: 0;
    }
    p {
      color: #fff;
      opacity: 0.9;
    }
  }
  .landing-two-column--grid-items {
    h3 {
      color: #fff;
    }
    p {
      color: #fff;
    }
  }
}
.landing-two-column--grid {
  display: grid;
  grid-template-rows: auto auto;
  place-items: start center;
}

.landing-two-column--even {
  grid-template-columns: 1fr 1fr;
}
.landing-two-column--sixty-forty {
  grid-template-columns: 60% 40%;
}
.landing-two-column--forty-sixty {
  grid-template-columns: 40% 60%;
}
.landing-two-column--meta {
  width: 100%;
  grid-column: 1 / -1;
  grid-row: 1;
  text-align: center;
  margin-bottom: var(--m);
  color: var(--landing-primary-color);
}
.landing-two-column--left {
  grid-column: 1;
  grid-row: 2;
  padding: 0 var(--m) 0 0;
}
.landing-two-column--right {
  grid-column: 2;
  grid-row: 2;
  padding: 0 0 0 var(--m);
}

.heading {
  font-size: 70px;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0;
  /* &:has(+ .subheading)::after { */
  &::after {
    content: "";

    display: block;
    width: 280px;
    height: 2px;
    background: var(--landing-secondary-color);
    margin: var(--s) 0 0 auto;
  }
}
.subheading {
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 0;
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: var(--landing-primary-color);
    margin-bottom: 0;
  }
  h1 {
    font-size: 52px;
  }
  h2 {
    font-size: 48px;
  }
  h3 {
    font-size: 32px;
    font-family: var(--landing-body);
    font-weight: 300;
  }
  h4 {
    font-size: 28px;
  }
  h5 {
    font-size: 24px;
  }
  h6 {
    font-size: 20px;
  }
  p {
    margin: 0;
  }
}

.landing-two-column--image {
  img,
  picture {
    max-width: 100%;
    height: auto;
  }
}

.landing-two-column--title.heading:::after {
  margin: var(--s) 0 0 auto;
}
.landing-two-column--subtitle.subheading {
  font-family: var(--landing-body);
  font-weight: 300;
  font-size: 36px;
  line-height: 1.3;
  margin-top: var(--m);
  margin-bottom: 0;
}

.landing-two-column--title.heading,
.landing-two-column--subtitle.subheading {
  text-align: right;
  color: var(--landing-primary-color);
}

.landing-two-column--copy {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: var(--landing-primary-color);
    margin-bottom: 0;
  }
  h1 {
    font-size: 52px;
  }
  h2 {
    font-size: 48px;
  }
  h3 {
    font-size: 32px;
    font-family: var(--landing-body);
    font-weight: 300;
  }
  h4 {
    font-size: 28px;
  }
  h5 {
    font-size: 24px;
  }
  h6 {
    font-size: 20px;
  }
  p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--landing-primary-color);
    opacity: 0.9;
  }
  .button {
    display: grid;
    width: fit-content;
    margin-top: var(--m);
  }
}

.landing-two-column--grid-items {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: var(--m);
  height: 100%;
  place-items: center;
  h3 {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: var(--xs);
    font-family: var(--landing-body);
    font-weight: 600;
    color: var(--landing-primary-color);
  }
  p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 0;
    margin-top: 0;
  }
}

@media screen and (max-width: 1023px) {
  .landing-two-column--grid {
    grid-template-columns: auto;
    gap: var(--l);
  }
  .landing-two-column--meta {
    grid-column: 1;
    margin-bottom: 0;
  }
  .landing-two-column--left,
  .landing-two-column--right {
    grid-column: 1;
    grid-row: auto;
    padding: 0;
    display: block;
  }
  .landing-two-column--title.heading:has(+ .subheading)::after {
    margin: var(--s) auto;
  }
  .landing-two-column--title.heading,
  .landing-two-column--subtitle.subheading {
    text-align: center;
  }
  .landing-two-column--copy {
    text-align: center;
    max-width: 600px;
    display: grid;
    place-items: center;
  }
  .landing-two-column--grid-item {
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .landing-two-column--grid-items {
    grid-template-columns: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  .landing-two-column--headline.heading,
  .landing-two-column--subheading.subheading {
    em {
      display: block;
    }
  }
  .heading {
    font-size: 52px;
  }
}

/*******************************/
/****** ICON GRID LAYOUT ******/
/*******************************/

.landing-icon-grid {
  padding: var(--xl) 0;
  background: var(--landing-primary-color);
  color: #fff;
}
@media screen and (max-width: 1220px) {
  .landing-two-column--inner {
    padding: 0 var(--s);
  }
}
.landing-icon-grid--meta {
  text-align: center;
  margin-bottom: var(--l);
  em {
    font-style: normal;
    font-weight: 400;
    color: var(--landing-secondary-color);
  }
  .heading {
    font-weight: 400;
    letter-spacing: 1px;
  }
}
.landing-icon-grid--grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: var(--xl);
  .horizontal {
    flex-direction: row;
    align-items: flex-start;
    .landing-icon-grid--item--icon {
      margin-right: var(--s);
      margin-bottom: 0;
    }
    .landing-icon-grid--item--title {
      text-align: left;
    }
    .landing-icon-grid--item--description {
      text-align: left;
    }
  }
  .vertical {
    flex-direction: column;
  }
}
@media screen and (max-width: 1180px) {
  .landing-icon-grid--grid {
    grid-template-columns: repeat(2, auto);
    padding: 0 var(--s);
    max-width: 800px;
    margin: 0 auto;
  }
}
.landing-icon-grid--item {
  display: flex;
  align-items: center;
  text-align: center;
}
.landing-icon-grid--item--icon {
  height: 34px;
  width: 34px;
  margin-bottom: var(--s);
}
.landing-icon-grid--item--title {
  font-family: var(--landing-body);
  margin: var(--xs) 0;
}
.landing-icon-grid--item--description {
  margin-top: 0;
  margin-bottom: 0;
}

@media screen and (max-width: 1023px) {
  .landing-icon-grid--meta {
    em {
      display: block;
    }
  }
}

@media screen and (max-width: 768px) {
  .landing-icon-grid--grid {
    grid-template-columns: 100%;
  }
  .landing-icon-grid--item {
    max-width: 600px;
    margin: 0 auto;
  }
}

/*******************************/
/********* CARD LAYOUT *********/
/*******************************/

.landing-cards {
  padding: var(--xl) 0 var(--s);
  background: linear-gradient(
    var(--landing-primary-color) 0%,
    var(--landing-primary-color) calc(100% - 60px - var(--s)),
    #fff calc(100% - 60px - var(--s)),
    #fff 100%
  );
}
@media screen and (max-width: 1220px) {
  .landing-cards--inner {
    padding: 0 var(--s);
  }
}
.landing-cards--meta {
  text-align: center;
  margin-bottom: var(--l);
  color: #fff;
  em {
    font-style: normal;
    font-weight: 400;
    color: var(--landing-secondary-color);
  }
  .heading {
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 0;
  }
  .subheading {
    font-size: 18px;
    opacity: 0.9;
    font-style: italic;
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      color: var(--landing-primary-color);
      margin-bottom: 0;
    }
    h1 {
      font-size: 52px;
    }
    h2 {
      font-size: 48px;
    }
    h3 {
      font-size: 32px;
    }
    h4 {
      font-size: 28px;
    }
    h5 {
      font-size: 24px;
    }
    h6 {
      font-size: 20px;
    }
    p {
      margin: 0;
    }
  }
  .landing-cards--headline.heading:has(+ .subheading)::after {
    display: none;
  }
}
.landing-cards--grid {
  display: grid;
  grid-template-columns: repeat(3, calc(100% / 3 - var(--l) * 2 / 3));
  gap: var(--l);
}
@media screen and (max-width: 1024px) {
  .landing-cards--grid {
    grid-template-columns: 100%;
  }
}
.landing-cards--item {
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto;
  width: 100%;
  position: relative;
}
@media screen and (max-width: 1024px) {
  .landing-cards--item {
    max-width: 600px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 768px) {
  .landing-cards--item {
    max-width: 400px;
  }
}
.landing-cards--item--image {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  img,
  picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 1;
  }
  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 60%,
      rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 2;
  }
}

@media screen and (max-width: 768px) {
  /*
  .android.scrolled-down .landing-hero--cta.mobile {
    top: 25px;
  }
    */

  .landing-cards--item--image {
    height: 450px;
  }
}

.landing-cards--item--content {
  grid-column: 1;
  grid-row: 1;
  padding: var(--s);
  margin-top: auto;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 3;
}
.landing-cards--item--title {
  font-size: 36px;
  font-family: var(--landing-body);
  margin-bottom: 0;
}
.landing-cards--item--description {
  font-size: 18px;
  line-height: 1.5;
}

/*******************************/
/******* FOOTER STYLES *********/
/*******************************/

.landing-footer {
  background: var(--landing-tertiary-color);
  padding: var(--l) 0;
}
.landing-footer--inner {
  display: grid;
  place-items: center;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.landing-footer--logo {
  margin-bottom: var(--l);
  img,
  picture,
  svg {
    max-width: 100%;
    height: auto;
  }
}
.landing-footer--business-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: var(--m);
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 23px;
  text-align: center;
  color: rgba(0, 0, 0, 0.8);
  strong {
    color: var(--landing-primary-color);
    font-weight: 700;
    display: block;
    margin-bottom: var(--xs);
  }
  address {
    font-style: normal;
  }
  a {
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
    &:visited,
    &:active {
      color: rgba(0, 0, 0, 0.8);
    }
    &:hover {
      color: var(--landing-secondary-color);
    }
  }
}
.landing-footer--item {
  display: grid;
  grid-template-rows: 46px auto;
  place-items: start center;
  gap: 10px;

  b {
    color: var(--landing-secondary-color);
  }
}
@media screen and (max-width: 767px) {
  .landing-footer--business-details {
    grid-template-columns: auto;
    gap: var(--l);
  }
  .landing-footer--inner {
    gap: var(--m);
  }
  .landing-footer--logo {
    max-width: calc(100% - var(--s) * 2);
    margin: 0 auto;
  }
}

/*******************************/
/******** ENDCAP STYLES ********/
/*******************************/

.endcap--container {
  width: unset;
  background: #000;
  color: #fff;
  padding: var(--l) var(--xs);
}
.endcap--content {
}
.endcap--ams-logo-wrap {
  width: 300px;
  img {
    width: 100%;
    height: auto;
  }
}

.endcap--links-list {
  display: flex;
  justify-content: center;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 100%;
  li {
    &::after {
      content: " | ";
      color: rgba(255, 255, 255, 0.6);
      display: inline-block;
      padding-left: var(--xs);
      padding-right: var(--xs);
    }
    &:last-child:m {
      content: "";
    }
  }
  a {
    text-decoration: none;
    color: #fff;
    &:visited,
    &:active {
      color: #fff;
    }
    &:hover {
      color: rgba(255, 255, 255, 0.6);
    }
  }
}

#endcap {
  background: #000;
  .endcap--legal {
  }
  .endcap--content {
    display: grid;
    place-items: center;
    text-align: center;
    max-width: 1220px;
    margin: 0 auto;
  }
}

.site-miller {
  .landing-hero--headline {
    font-size: 52px;
    font-weight: 700;
  }
  .landing-hero--subheadline {
    font-size: 24px;
  }
  .landing-hero--copy {
    ul {
      max-width: 85%;
      margin-left: auto;
      margin-right: auto;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      li {
        width: 90%;
        padding-bottom: 3px;
        text-align: left;
      }
    }
  }

  ul {
    /* font-size: 20px; */
    font-weight: 400;
  }

  .landing-footer--logo {
    img {
      max-width: 350px;
    }
  }
}
#landing-hero {
  .landing-hero--content--firm {
    display: flex !important;
    width: 100%;
    justify-content: center;

    .landing-hero--firm-photo {
      transform: translateY(-80px);
    }

    .landing-hero--copy {
      width: 100%;
      padding-bottom: 100px;
      text-align: center;
      ul {
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 440px;
      }
    }

    .landing-hero--content--right {
      display: none;
      /* max-width: 350px; */
    }
  }

  .landing-hero--firm-photo img {
    margin-left: auto;
    margin-right: auto;
    max-width: 50%;
  }

  &.dui {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 80%, #000 100%);

    h1::after {
      background: #ffe297;
    }

    .landing-hero--subheadline {
      font-size: 36px;
      span {
        position: relative;
        display: block;
        color: #ffe297;
      }

      @media (max-width: 1023px) {
        font-size: 22px;
      }
    }

    .landing-hero--copy {
      padding-bottom: unset;
      font-size: 40px;
      color: #ffe297;

      p {
        margin: 0;
        margin-bottom: 20px;
      }
    }

    .landing-hero--firm-photo {
      transform: translateY(10px);
    }
  }

  &.criminal {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 80%, #000 100%);

    h1::after {
      background: #ffe297;
    }

    .landing-hero--subheadline {
      font-size: 36px;
      span {
        position: relative;
        display: block;
        color: #ffe297;
      }

      @media (max-width: 1023px) {
        font-size: 22px;
      }
    }

    .landing-hero--copy {
      padding-bottom: unset;
      font-size: 40px;
      color: #ffe297;

      p {
        margin: 0;
        margin-bottom: 20px;
      }
    }

    .landing-hero--firm-photo {
      transform: translateY(10px);
    }
  }
}

.landing-accolade-bar--accolades {
  width: auto;
  gap: 5rem;
}
.landing-accolade-bar--accolade {
  img.square {
    max-width: 160px;
  }
  img.horizontal {
    max-width: 170px;
  }
}
.section-why {
  h2 {
    font-size: 52px;
  }
  h3 {
    font-size: 32px;
  }
  strong,
  b {
    color: var(--landing-secondary-color);
  }
}

.section-defense {
  .heading {
    font-size: 60px;
  }
  .heading::after {
    display: none;
  }
  .landing-icon-grid--grid {
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .landing-icon-grid--item--title span {
    display: block;
    font-weight: 400;
  }

  .landing-icon-grid--item--text {
    text-align: center;

    ul {
      margin-left: 0;
      padding-left: 1rem;
    }
  }
}

.section-penalties {
  .heading {
    font-size: 60px;
  }
  .heading::after {
    display: none;
  }
  p {
    font-size: 22px;
  }
  .landing-icon-grid--grid {
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .landing-icon-grid--item--title span {
    display: block;
    font-weight: 400;
  }

  .landing-icon-grid--item--text {
    text-align: left;

    ul {
      margin-left: 0;
      padding-left: 1rem;
    }
  }
}

.section-reviews {
  .heading::after {
    display: none;
  }
  .landing-two-column--even {
    grid-template-columns: 1.3fr 1fr;
  }
  .landing-two-column--left {
    grid-column: 2;
  }
  .landing-two-column--right {
    grid-column: 1;
    padding-right: 2rem;
    font-style: italic;

    p:nth-child(odd) {
      margin-bottom: 10px !important;
      font-size: 1.5rem;
      color: var(--landing-secondary-color);
    }
    p:nth-child(even) {
      margin-top: 0;
      margin-bottom: rem(20px) !important;
    }
  }
}

.section-results {
  padding-top: 70px;

  .landing-cards--item,
  .landing-cards--item * {
    overflow: clip;
    border-radius: 30px;
  }
}
.section-resolution {
  .heading::after {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
  }
  .subheading h3 {
    margin-top: 1rem;
    font-size: 40px !important;
  }
  .landing-two-column--grid {
    align-items: center;
  }

  .landing-two-column--grid-item h3 {
    font-size: 1.2rem;
  }
}

.section-time {
  .heading::after {
    display: none;
  }
}

.section-warning {
  p:first-child {
    font-size: 36px;
    &::after {
      content: "";
      display: block;
      width: 50%;
      height: 4px;
      background-color: var(--landing-secondary-color);
      margin-top: 15px;
    }
  }
}

@media (max-width: 1023px) {
  .landing-hero--content--top {
    margin-bottom: 0;
  }

  .section-reviews {
    .landing-two-column--meta {
      grid-column: 1 / -1 !important;
      grid-row: 2;
    }

    .landing-two-column--left {
      grid-column: 1 / -1 !important;
      grid-row: 1;
      text-align: center;

      .landing-two-column--image {
        max-width: 500px;
      }
    }

    .landing-two-column--right {
      grid-column: 1 / -1 !important;
      padding-right: 0;
      grid-row: 3;
    }
  }

  .section-resolution img,
  .section-time img {
    width: 100%;
    max-width: 600px;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .section-penalties .icon-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .site-miller {
    #landing-hero {
      .landing-hero--firm-photo img {
        margin-left: auto;
        margin-right: auto;
        max-width: 75%;
      }
    }
    .landing-hero--cta {
      display: none;
    }
    .landing-hero--cta.mobile {
      position: sticky;
      z-index: 100;
      padding: 0;
      top: 0;
      left: 0;
      width: 100%;
      border-radius: 0;
      font-size: unset;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background: var(--landing-primary-color);

      svg {
        max-width: 24px;
        transform: translateY(2px);
      }

      > .landing-hero--cta-text {
        display: flex;
        align-items: center;
        gap: 10px;
        border: 0;
      }

      .landing-hero--cta--text {
        margin: 0;
        padding: 0;
        font-size: 18px;
      }
      .landing-hero--cta--phone {
        margin: 0;
        padding: 0;

        a {
          margin: 0;
          padding: 0;
          font-size: 18px;
        }
      }
    }

    .landing-hero--logo {
      width: 100%;
      max-width: 100%;
      text-align: center;

      img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 350px;
      }
    }

    .landing-hero--content {
      display: flex;
      flex-direction: column;

      p {
        text-align: center;
      }
    }

    .landing-hero--copy {
      padding-left: 20px;
      padding-right: 20px;
      font-size: 18px;

      li {
        width: 100%;
      }
    }

    .landing-hero--firm-photo {
      padding: 0;

      img {
        width: 100%;
        transform: translateX(20px);
      }
    }

    .landing-hero--content--right {
      max-width: 100% !important;
    }

    .landing-accolade-bar--accolades .item-2 {
      grid-row: 2;
      grid-column: 1 / -1;
    }

    .landing-icon-grid--inner.container {
      padding-left: 20px;
      padding-right: 20px;
    }

    .section-defense {
      .landing-icon-grid--grid {
        .landing-icon-grid--item--icon {
          min-height: 30px;
        }
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
      }
    }

    .section-penalties {
      .landing-icon-grid--grid {
        grid-template-columns: 1fr;
      }
    }
  }
}

@media (max-width: 600px) {
  .site-miller {
    .landing-hero--logo {
      img {
        max-width: 300px;
      }
    }
    .landing-hero--headline {
      font-size: 36px;
    }
    .landing-hero--subheadline {
      font-size: 22px;
    }
    .landing-hero--content,
    .landing-hero--content--firm {
      display: flex;
      flex-direction: column;
    }

    .landing-hero--button.button {
      font-size: 14px;
    }

    .section-badges .landing-accolade-bar--accolades {
      gap: 3vw;
    }

    .section-defense {
      .landing-icon-grid--headline.heading {
        font-size: 42px;
      }
      .landing-icon-grid--grid {
        grid-template-columns: 1fr;
        gap: 30px;
      }
    }
  }
}
