@media (min-width: 1280px) {
  .page-template-template-homepage .hero-homepage {
    margin-top: -145px;
  }
}
@media (max-width: 768px) {
  .page-template-template-homepage .hero-homepage .picture-wrapper {
    width: 100%;
  }
}
.page-template-template-homepage .hero-homepage .picture-wrapper picture img {
  object-position: center;
}
@media (min-width: 768px) {
  .page-template-template-homepage .hero-homepage .picture-wrapper picture img {
    width: 95%;
  }
}
.page-template-template-homepage .hero-homepage .hero-inner {
  padding: 0;
}
@media (max-width: 768px) {
  .page-template-template-homepage .hero-homepage .hero-inner .hero-content {
    padding: 40px 20px 60px;
  }
}
@media (max-width: 768px) {
  .page-template-template-homepage .hero-homepage .hero-inner .hero-content a {
    width: 100%;
    font-size: 16px;
    letter-spacing: 2px;
    padding: 22px 5px;
  }
}
.page-template-template-homepage .hero-homepage .hero-inner .hero-content::after {
  display: none;
}
.page-template-template-homepage .hero-tagline, .page-template-template-homepage .hero-subtitle {
  font-family: "Barlow", serif;
  font-size: 22px;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 35px;
  line-height: 2.1875rem;
}
.page-template-template-homepage .hero-tagline strong, .page-template-template-homepage .hero-subtitle strong {
  color: red;
  font-weight: 500;
  background: yellow;
  padding-left: 7px;
  margin-right: 2px;
}
.page-template-template-homepage .hero-tagline span, .page-template-template-homepage .hero-subtitle span {
  color: red;
  background-color: yellow;
}
.page-template-template-homepage .hero-title {
  font-size: 3.3rem !important;
  font-family: "Barlow", serif;
  font-size: 40px;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 56px;
  line-height: 3.5rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .page-template-template-homepage .hero-title {
    font-size: 40px;
    font-size: 2.5rem;
    line-height: 52px;
    line-height: 3.25rem;
  }
}
@media (min-width: 1280px) {
  .page-template-template-homepage .hero-title {
    font-size: 58px;
    font-size: 3.625rem;
    line-height: 76px;
    line-height: 4.75rem;
    margin-bottom: 20px;
  }
}
.page-template-template-homepage .hero-title span {
  color: red;
  background-color: yellow;
}
.page-template-template-homepage .cta-after-text {
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 30px;
  line-height: 1.875rem;
  margin-top: 15px;
}
@media (min-width: 768px) {
  .page-template-template-homepage .cta-after-text {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 34px;
    line-height: 2.125rem;
    margin-top: 20px;
  }
}
@media (min-width: 1280px) {
  .page-template-template-homepage .cta-after-text {
    font-size: 20px;
    font-size: 1.25rem;
    line-height: 41px;
    line-height: 2.5625rem;
  }
}

@media (min-width: 1280px) {
  .page-template .hero-internal,
  .page-template-default .hero-internal {
    margin-top: -145px;
  }
}
.page-template .hero-internal .picture-wrapper,
.page-template-default .hero-internal .picture-wrapper {
  grid-row: 1/3;
}
@media (min-width: 1280px) {
  .page-template .hero-internal .picture-wrapper,
  .page-template-default .hero-internal .picture-wrapper {
    grid-row: 1/5;
  }
}
.page-template .hero-internal .picture-wrapper img,
.page-template-default .hero-internal .picture-wrapper img {
  object-fit: cover;
}
.page-template .hero-internal .hero-content,
.page-template-default .hero-internal .hero-content {
  grid-row: 2/4;
}
@media (min-width: 768px) {
  .page-template .hero-internal .hero-content,
  .page-template-default .hero-internal .hero-content {
    font-size: 40px;
    font-size: 2.5rem;
    line-height: 52px;
    line-height: 3.25rem;
    margin-bottom: 20px;
  }
}
@media (min-width: 1280px) {
  .page-template .hero-internal .hero-content,
  .page-template-default .hero-internal .hero-content {
    grid-row: 3/4;
  }
}
.page-template .hero-internal .hero-content .hero-title,
.page-template-default .hero-internal .hero-content .hero-title {
  font-family: "Barlow", serif;
  font-size: 40px;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 56px;
  line-height: 3.5rem;
  letter-spacing: 2px;
}
@media (min-width: 768px) {
  .page-template .hero-internal .hero-content .hero-title,
  .page-template-default .hero-internal .hero-content .hero-title {
    font-size: 40px;
    font-size: 2.5rem;
    line-height: 52px;
    line-height: 3.25rem;
    margin-bottom: 20px;
  }
}
@media (min-width: 1280px) {
  .page-template .hero-internal .hero-content .hero-title,
  .page-template-default .hero-internal .hero-content .hero-title {
    font-size: 58px;
    font-size: 3.625rem;
    line-height: 76px;
    line-height: 4.75rem;
    margin-bottom: 20px;
  }
}
.page-template .page-container,
.page-template-default .page-container {
  margin-top: 30px;
}
@media (min-width: 1280px) {
  .page-template .page-container,
  .page-template-default .page-container {
    margin-top: 60px;
  }
}
@media (max-width: 768px) {
  .page-template .page-container .main-content figure.alignleft,
  .page-template-default .page-container .main-content figure.alignleft {
    width: 100%;
  }
}
.page-template .page-container .widget .widget-title,
.page-template-default .page-container .widget .widget-title {
  margin-bottom: 30px;
}
.page-template .page-container .widget ul.menu li,
.page-template-default .page-container .widget ul.menu li {
  margin-bottom: 30px;
}

@media (min-width: 1280px) {
  .error404 .hero-internal {
    margin-top: -145px;
  }
}
.error404 .page-container__inner {
  padding: 50px 20px 10px;
}
@media (min-width: 1280px) {
  .error404 .page-container__inner {
    padding: 80px 80px 40px;
  }
}
.error404 .page-container__inner .text-center {
  margin-bottom: 20px;
}

.page-template-template-contact .hero-contact {
  padding: 0px;
}
@media (min-width: 1280px) {
  .page-template-template-contact .hero-contact {
    margin-top: -145px;
  }
}
@media (max-width: 768px) {
  .page-template-template-contact .hero-contact .picture-wrapper {
    display: none;
  }
}
@media (max-width: 768px) {
  .page-template-template-contact .hero-contact .hero-content {
    grid-column: 1/4;
    grid-row: 1/4;
  }
}
.page-template-template-contact .form-title {
  font-size: 28px;
  font-size: 1.75rem;
  line-height: 40px;
  line-height: 2.5rem;
  letter-spacing: 1px;
}
@media (min-width: 768px) {
  .page-template-template-contact .form-title {
    font-size: 60px;
    font-size: 3.75rem;
    line-height: 70px;
    line-height: 4.375rem;
    letter-spacing: 4px;
  }
}
@media (min-width: 1280px) {
  .page-template-template-contact .form-title {
    font-size: 65px;
    font-size: 4.0625rem;
    line-height: 75px;
    line-height: 4.6875rem;
    letter-spacing: 4px;
  }
}
.page-template-template-contact .title b {
  font-weight: 900;
}
.page-template-template-contact .page-container {
  margin-top: 50px;
}
@media (min-width: 1280px) {
  .page-template-template-contact .page-container {
    margin-top: 100px;
  }
}
.page-template-template-contact .page-container.networks {
  margin-top: 30px;
}
@media (min-width: 1280px) {
  .page-template-template-contact .page-container.networks {
    margin-top: 40px;
  }
}
@media (max-width: 767px) {
  .page-template-template-contact .page-container.networks .title {
    display: none;
  }
}
.page-template-template-contact .page-container.networks ul {
  justify-content: center;
}
.page-template-template-contact .page-container.networks ul li {
  margin-right: 25px;
}
@media (max-width: 767px) {
  .page-template-template-contact .site-footer {
    margin-top: 0px !important;
  }
}

@media (min-width: 1280px) {
  .page-template-template-practice-areas .page-container .main-content {
    grid-column: 1/13;
  }
}
@media (min-width: 1280px) {
  .page-template-template-practice-areas .cases-covered__inner {
    padding: 130px 40px 160px 40px;
  }
}
.page-template-template-practice-areas .practice-areas-grid li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.page-template-template-practice-areas .practice-areas-grid li a:hover .icon * {
  fill: var(--primaryColor);
}
.page-template-template-practice-areas .practice-areas-grid li a:hover .name {
  color: var(--primaryColor);
}
.page-template-template-practice-areas .practice-areas-grid li .icon {
  width: 120px;
}
.page-template-template-practice-areas .practice-areas-grid li .name {
  font-size: 20px;
  font-size: 1.25rem;
  line-height: 46px;
  line-height: 2.875rem;
  letter-spacing: 3px;
}

.page-template-template-case-results .results-grid {
  gap: 0 30px;
}
.page-template-template-case-results .results-grid li {
  box-sizing: border-box;
  flex: 0 0 calc(50% - 15px);
}
.page-template-template-case-results .results-grid li .amount {
  color: var(--btnColor);
}

/* INDEX
1.0 GLOBALS
    1.1 MENU
    1.2 FOOTER
2.0 HOMEPAGE BANNER */
/* 1.0 GLOBALS */
/* 1.1 MENU */
.top {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.lang-banner {
  z-index: 1;
}
.lang-banner span,
.lang-banner a {
  display: block;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  background-color: var(--textColor);
  color: #fff;
  padding: 10px;
  font-size: 20px;
  font-size: 1.25rem;
  line-height: 32px;
  line-height: 2rem;
  font-weight: bold;
  transition: all 0.1s ease;
}
.lang-banner a:hover {
  background-color: var(--primaryColor);
  color: #FFF;
}

header.site-header.sticky {
  position: sticky;
  top: 52px;
  padding: 20px;
  z-index: 1000;
  align-items: center;
}
@media (max-width: 1280px) {
  header.site-header.sticky {
    top: 100px;
    padding: 15px 10px;
  }
}
header.site-header.sticky .site-logo {
  width: 285px;
  margin-bottom: -30px;
}
@media (max-width: 1280px) {
  header.site-header.sticky .site-logo {
    width: 250px;
    margin-bottom: 0px;
  }
}
header.site-header.sticky.open {
  max-height: 420px;
  overflow-y: scroll;
}
header.site-header.sticky.open .site-logo {
  filter: invert(100%) hue-rotate(180deg);
}
@media (max-width: 1280px) {
  header.site-header.sticky:not(.open) {
    background-color: #fff;
  }
}
@media (min-width: 1280px) {
  header.site-header.sticky.bgColor {
    background-color: #FFF;
  }
}
header.site-header .phone-number a {
  color: var(--primaryColor);
}
header.site-header .phone-number a:hover {
  color: var(--btnColor);
}
header.site-header .phone-number a strong {
  color: red;
  text-transform: uppercase;
}
header.site-header .phone-number a .phonespan {
  color: red;
}

.site-nav ul li.mexican-flag a::after {
  content: url("../assets/mexican-flag.svg");
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 3px 8px;
  width: 16px;
  height: auto;
}
.site-nav ul li.usa-flag a::after {
  content: url("../assets/usa-flag.svg");
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 3px 8px;
  width: 16px;
  height: auto;
}

/* 1.2 FOOTER */
.site-footer {
  margin-top: 50px;
}
.site-footer__inner {
  grid-auto-rows: minmax(80px, auto);
}
.site-footer__bottom p {
  text-align: center;
  color: #FFF !important;
}
@media (max-width: 767px) {
  .site-footer .footer-bottom {
    margin-top: 10px;
  }
}
.site-footer .locations {
  grid-column: span 3;
  grid-row: 4/5;
}
.site-footer .locations .item .map {
  width: 100%;
  height: 270px;
  position: relative;
  margin-top: 0px;
}
.site-footer .locations .item .map iframe {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}
.site-footer .contact-info {
  grid-column: span 3;
  grid-row: 5/6;
  margin: 0 15px;
  margin-top: -80px;
  z-index: 100;
  padding: 50px 20px;
  list-style: none;
  background-color: var(--bgColor);
}
.site-footer .contact-info .item .name {
  margin-bottom: 25px;
}
.site-footer .contact-info .item .info {
  margin-bottom: 15px;
}
.site-footer .contact-info .item .info br {
  display: none;
}
.site-footer .contact-info .item .info a {
  color: var(--btnColor);
}
.site-footer .contact-info .item .info .label {
  font-weight: 700;
  margin-bottom: 0px;
}
.site-footer .contact-info .item .info .label.directions {
  display: block;
  margin-top: 20px;
  color: var(--btnColor);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.site-footer .social-networks {
  padding-left: 0px;
  grid-column: 1/4;
  grid-row: 6/7;
  margin-top: 30px;
  margin-bottom: 0px;
  display: flex;
  justify-content: center;
}
.site-footer .social-networks li {
  margin-right: 20px;
}
@media (min-width: 768px) {
  .site-footer {
    margin-top: 60px;
  }
  .site-footer .locations {
    grid-column: 1/7;
    display: grid;
    grid-template-columns: subgrid;
  }
  .site-footer .locations .item {
    display: grid;
    grid-column: 1/7;
    grid-template-columns: subgrid;
  }
  .site-footer .locations .item .map {
    grid-column: 4/7;
    grid-row: 1/4;
    margin-top: 0;
  }
  .site-footer .locations .item .map iframe {
    width: calc(100% + 60px);
    margin-left: -60px;
  }
  .site-footer .contact-info {
    grid-column: 2/7;
    margin-left: 0;
    margin-right: -30px;
    padding: 70px 50px;
  }
  .site-footer .contact-info li {
    font-size: 25px;
    font-size: 1.5625rem;
    line-height: 35px;
    line-height: 2.1875rem;
    letter-spacing: 8px;
  }
}
@media (min-width: 1280px) {
  .site-footer {
    margin-top: 80px;
  }
  .site-footer .locations .item .map {
    grid-column: 2/7;
    height: 550px;
  }
  .site-footer .locations .item .map iframe {
    height: 100%;
    margin-left: 0px;
    width: 100%;
  }
  .site-footer .contact-info {
    grid-column: 5/12;
    grid-row: 4/5;
    height: fit-content;
    margin-right: 0px;
    z-index: 100;
    padding: 50px;
    margin-top: 70px;
  }
  .site-footer .contact-info li {
    margin-bottom: 90px;
  }
  .site-footer .social-networks {
    margin-top: 50px;
    grid-column: 2/12;
    grid-row: 5/6;
    display: flex;
  }
  .site-footer .social-networks li {
    margin-right: 30px;
  }
}

.banner.homepage-banner picture img,
.banner.homepage-banner picture video,
.banner.homepage-banner .video-wrapper img,
.banner.homepage-banner .video-wrapper video {
  object-position: 50% 80%;
}

body[data-color-scheme=color-scheme-1],
:root {
  --primaryColor: #9197AE;
  --primaryColorRGB: 145, 151, 174;
  --secondaryColor: #EFF6EE;
  --secondaryColorRGB: 239, 246, 238;
  --tertiaryColor: #8F0016;
  --tertiaryColorRGB: 143, 0, 22;
  --btnColor: #DD0426;
  --textColor: #273043;
  --bgColor: #E9EAEF;
}

body[data-color-scheme=color-scheme-2],
:root {
  --primaryColor: #5D7BE4;
  --primaryColorRGB: 93, 123, 228;
  --secondaryColor: #EDEFF2;
  --secondaryColorRGB: 237, 239, 242;
  --tertiaryColor: #353044;
  --tertiaryColorRGB: 53, 48, 68;
  --btnColor: #159BEA;
  --textColor: #273043;
  --bgColor: #E9EAEF;
}

body[data-color-scheme=color-scheme-3],
:root {
  --primaryColor: #338abe;
  --primaryColorRGB: 51, 138, 190;
  --secondaryColor: #EDEFF2;
  --secondaryColorRGB: 237, 239, 242;
  --tertiaryColor: #353044;
  --tertiaryColorRGB: 53, 48, 68;
  --btnColor: #5D7BE4;
  --textColor: #353044;
  --bgColor: #E9EAEF;
}

a {
  color: var(--btnColor);
}
a:hover {
  color: var(--primaryColor);
}

:not(.wp-admin) h1, :not(.wp-admin) .h1 {
  font-size: 40px;
  font-size: 2.5rem;
  line-height: 52px;
  line-height: 3.25rem;
  margin-bottom: 50px;
  font-weight: 500;
  letter-spacing: 5px;
}
@media (min-width: 768px) {
  :not(.wp-admin) h1, :not(.wp-admin) .h1 {
    font-size: 50px;
    font-size: 3.125rem;
    line-height: 62px;
    line-height: 3.875rem;
    margin-bottom: 60px;
  }
}
@media (min-width: 1280px) {
  :not(.wp-admin) h1, :not(.wp-admin) .h1 {
    font-size: 68px;
    font-size: 4.25rem;
    line-height: 82px;
    line-height: 5.125rem;
    margin-bottom: 70px;
  }
}
