/* ==========================================================================
   Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background-color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #333;
}

img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  margin-bottom: 10px;
}

h1 {
  font-size: 38px;
  line-height: 44px;
  margin-top: 20px;
}

h2 {
  font-size: 32px;
  line-height: 36px;
  margin-top: 20px;
}

h3 {
  font-size: 24px;
  line-height: 30px;
  margin-top: 20px;
}

h4 {
  font-size: 18px;
  line-height: 24px;
  margin-top: 10px;
}

h5 {
  font-size: 14px;
  line-height: 20px;
  margin-top: 10px;
}

h6 {
  font-size: 12px;
  line-height: 18px;
  margin-top: 10px;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 10px;
  padding-left: 40px;
}

/* ==========================================================================
   Custom Variables
   ========================================================================== */

:root {
  --orange-accent: #aa5908;
  --sheer-maroon: #311128cf;
  --white-text: #ebebeb;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */

.w-layout-blockcontainer {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.w-layout-layout {
  display: grid;
  grid-row-gap: 20px;
  grid-column-gap: 20px;
  grid-auto-columns: 1fr;
  justify-content: center;
  padding: 20px;
}

.w-layout-cell {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

/* Two-column grid used for services and biz info layouts */
.layout-grid {
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
  background-color: #f9f9f9;
  padding: 8px;
  position: relative;
}

.container-navlinks {
  max-width: 1264px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-link {
  color: #55034b;
  text-transform: uppercase;
  padding: 16px 24px;
  font-weight: 500;
  text-decoration: none;
}

.nav-link:hover {
  background-color: var(--orange-accent);
  color: #fff;
}

.nav-link.cta {
  color: #fff;
  background-color: #55044c;
}

.nav-link.cta:hover {
  background-color: var(--orange-accent);
}

.menu-button {
  display: none;
  cursor: pointer;
  background-color: #fafafa;
  border: none;
  padding: 4px 8px;
  align-items: center;
  justify-content: center;
}

.menu-button.is-open {
  background-color: #e7e7e7;
}

.icon {
  color: #55034b;
  display: block;
}

.easi-gov-logo {
  margin-top: 6px;
}

/* ==========================================================================
   Containers
   ========================================================================== */

.container {
  background-color: #f8f8f8e6;
  width: 100%;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px 18px;
}

.container.hero {
  background-color: #f8f8f8e6;
  margin-top: 64px;
  margin-bottom: 0;
  padding-top: 16px;
  padding-bottom: 16px;
  max-width: 1280px;
}

.container.about {
  grid-column-gap: 11px;
  grid-row-gap: 11px;
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 26px 24px 16px;
  display: flex;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-without-image {
  margin-top: auto;
  padding-top: 32px;
  padding-bottom: 42px;
}

.hero-wrapper-two {
  grid-column-gap: 15px;
  grid-row-gap: 15px;
  color: #f3f3f3;
  text-align: center;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  max-width: 1150px;
  margin: 40px auto 42px;
  padding-bottom: 0;
  display: flex;
}

.business-title {
  color: #55034b;
  font-family: Merriweather, serif;
  font-size: 64px;
  line-height: 1.2;
}

.hero-blurb {
  color: #55034b;
  font-family: Montserrat, sans-serif;
  font-size: 20px;
  font-weight: 500;
}

.hero-blurb.small {
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
}

.hero-button-block {
  grid-column-gap: 16px;
  grid-row-gap: 12px;
  margin-top: 16px;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
}

.hero-button-block.external-sources {
  margin: 0 auto;
  width: 100%;
  max-width: 800px;
}

.button-hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  background-color: #55034b;
  padding: 12px 25px;
  font-size: 12px;
  line-height: 20px;
  transition: all 0.2s;
  text-decoration: none;
}

.button-hero-cta.even-width {
  width: 30%;
  text-align: center;
}

.button-hero-cta:hover {
  color: #fff;
  background-color: #aa5908;
}

.button-hero-cta:active {
  background-color: #43464d;
}

/* ==========================================================================
   Background
   ========================================================================== */

.background {
  background-image:
    linear-gradient(#ffffff40, #ffffff40),
    url("https://easigov.com/images/ethan-wright-petroglyphs-abq.jpg");
  background-position:
    0 0,
    0 0;
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
  background-attachment: scroll, fixed;
  font-family: Montserrat, sans-serif;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h3 {
  color: #55034b;
  margin-top: 20px;
  margin-bottom: 10px;
  font-family: Merriweather, serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
}

.section-heading {
  color: #55034b;
  text-align: left;
  text-transform: none;
  margin-top: 12px;
  margin-bottom: 20px;
  font-family: Merriweather, serif;
  font-weight: 400;
  text-decoration: none;
}

.section-heading.transition-services {
  text-align: center;
  margin-bottom: 36px;
}

.featured-text {
  color: #55034b;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
}

.about-paragraph {
  color: #2d0b23;
  font-size: 18px;
  line-height: 22px;
}

.text-blurb {
  color: #55034b;
  text-align: center;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
}

.text-blurb.sub {
  margin-top: 18px;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
}

.text-center {
  text-align: center;
}

.perk {
  color: #ffecfd;
  text-align: center;
  max-width: 278px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section-services {
  margin-top: 64px;
}

.section-about {
  margin-top: 70px;
  margin-bottom: 70px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.section-biz-info {
  margin-bottom: 98px;
}

.section-contact {
  margin-bottom: 80px;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services-container {
  background-color: #f8f8f8e6;
  margin-top: 0;
  margin-bottom: 60px;
  padding: 30px 20px 56px;
}

.service-cell {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  background-color: #55034b;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding: 16px 12px;
}

.quick-stack {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.featured-text-container {
  grid-column-gap: 11px;
  grid-row-gap: 11px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 28px;
  display: flex;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-container {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  background-color: #fff;
  border-radius: 8px;
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  max-width: 420px;
  margin-top: 48px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px;
  display: flex;
}

.contact-wes-header {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  display: flex;
}

.contact-card-text {
  color: #55034b;
  text-align: left;
  margin-bottom: 0;
}

.contact-card-text.name {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 700;
}

.contact-info-div {
  width: auto;
}

.wes-links {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 0;
  padding: 8px 9px 8px 7px;
  display: flex;
  text-decoration: none;
}

.wes-links:hover {
  background-color: #00000008;
}

.contact-link {
  color: #8d96db;
}

/* ==========================================================================
   About
   ========================================================================== */

.san-pedro-office {
  border-radius: 8px;
  flex: 0 auto;
  max-width: 50%;
  margin-right: 13px;
}

.text-container {
  grid-column-gap: 4px;
  grid-row-gap: 4px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.pic-with-blurb {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  flex-flow: row;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

/* ==========================================================================
   Business Info
   ========================================================================== */

.biz-info-stack {
  color: #55034b;
  width: 100%;
  padding-left: 8px;
  padding-right: 8px;
}

.biz-info-subheading {
  color: #55034b;
  margin-top: 0;
}

.biz-details {
  color: #2d0b23;
}

.hours {
  color: #55034b;
}

/* ==========================================================================
   Misc
   ========================================================================== */

.office-location {
  grid-column-gap: 4px;
  grid-row-gap: 4px;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.woohoo-banner {
  background-color: #f8f8f8e6;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 64px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.holiday-closure-banner {
  background-color: #55034b;
  padding: 16px 0;
  margin-top: 0;
  width: 100%;
}

.holiday-closure-text {
  color: #ffffff;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  font-family: Montserrat, sans-serif;
}

.holiday-closure-text strong {
  font-weight: 600;
}

.img {
  max-width: 120px;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.w-form-formradioinput--inputType-custom {
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 12px;
  height: 12px;
}

.form-flex-div {
  grid-column-gap: 12px;
  grid-row-gap: 12px;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.form-flex-div.networking {
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 14px;
}

.form-field {
  color: #55034b;
  flex: 1;
}

.heard-thru {
  grid-column-gap: 12px;
  grid-row-gap: 5px;
  flex-flow: wrap;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.submit-button {
  background-color: #55034b;
  margin-top: 19px;
  padding: 15px 24px;
}

.submit-button:hover {
  background-color: var(--orange-accent);
}

.radio-button-field {
  padding: 8px 13px 8px 25px;
}

.radio-button-field:hover {
  color: #960684;
}

.person-and-title {
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 10px;
  display: flex;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer-section {
  background-color: var(--sheer-maroon);
  padding-top: 15px;
  padding-bottom: 15px;
}

.copyright-text {
  color: #ffecfd;
  text-align: center;
}

.social-links {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  display: flex;
}

/* ==========================================================================
   DACA Page Styles
   ========================================================================== */

.daca-button-container {
  display: flex;
  gap: 20px;
  margin: 24px 0;
  align-items: center;
}

.daca-bilingual-box {
  background-color: transparent;
  padding: 0;
  margin: 24px 0;
  border: none;
}

.daca-contact-header {
  margin-bottom: 16px;
}

.daca-section-heading {
  color: #55034b;
  margin: 0;
}

.daca-support-description {
  font-size: 18px;
  color: #333;
  margin-top: 12px;
}

.daca-contact-info {
  max-width: 600px;
  margin: 32px auto 0;
  text-align: center;
}

.daca-language-indicator {
  font-size: 16px;
  color: #55034b;
  margin-bottom: 24px;
  font-family: Montserrat, sans-serif;
}

.daca-contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.daca-contact-item {
  grid-column-gap: 12px;
  grid-row-gap: 12px;
  color: #55034b;
  text-align: left;
  justify-content: flex-start;
  align-items: center;
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  transition: background-color 0.2s;
  border-radius: 4px;
  width: 100%;
  max-width: 400px;
}

.daca-contact-item:hover {
  background-color: rgba(85, 3, 75, 0.1);
}

.daca-contact-item img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.daca-contact-label {
  font-weight: 600;
  color: #55034b;
  margin-right: 8px;
  font-family: Montserrat, sans-serif;
}

.daca-contact-value {
  color: #8d96db;
  font-family: Montserrat, sans-serif;
}

.daca-contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media screen and (max-width: 991px) {
  .w-layout-blockcontainer {
    max-width: 728px;
  }

  .container {
    max-width: 728px;
  }

  .container.hero {
    max-width: 1100px;
  }

  .hero-wrapper-two {
    max-width: 1000px;
  }

  .hero-blurb {
    width: 80%;
    line-height: 24px;
  }

  /* Mobile navigation */
  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #f9f9f9;
    z-index: 100;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .menu-button {
    display: flex;
  }

  .nav-link {
    color: #55044c;
    background-color: #f9f9f9;
  }

  .icon {
    color: #930a84;
  }

  .container-navlinks {
    padding-left: 6px;
    padding-right: 6px;
  }
}

@media screen and (max-width: 767px) {
  .w-layout-blockcontainer {
    max-width: none;
  }

  .hero-without-image {
    padding: 60px 15px;
  }

  .hero-wrapper-two {
    grid-column-gap: 27px;
    grid-row-gap: 27px;
    margin-top: 22px;
  }

  .button-hero-cta,
  .button-hero-cta.even-width {
    width: 100%;
    padding: 24px 40px;
    font-size: 14px;
  }

  .hero-button-block {
    flex-flow: column;
    min-width: 420px;
    max-width: 100%;
  }

  .about-paragraph {
    text-align: center;
    margin-top: 10px;
    font-size: 20px;
    line-height: 24px;
  }

  .hero-blurb {
    margin-left: 8px;
    margin-right: 8px;
  }

  .contact-container {
    width: 100%;
  }

  .san-pedro-office {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
  }

  .pic-with-blurb {
    flex-flow: column;
    justify-content: flex-start;
    align-items: center;
  }

  .biz-info-stack {
    grid-column-gap: 35px;
    grid-row-gap: 35px;
  }

  .biz-details {
    font-size: 16px;
    line-height: 24px;
  }

  .form-flex-div {
    flex-flow: column;
    align-items: stretch;
  }

  .form-flex-div.networking {
    align-items: stretch;
  }

  .submit-button {
    width: 100%;
    margin-top: 16px;
    padding: 12px 32px;
  }

  .radio-button-label {
    font-size: 16px;
  }

  .layout-grid {
    grid-template-columns: 1fr;
  }

  .daca-contact-grid {
    grid-template-columns: 1fr;
  }

  .daca-contact-item {
    max-width: 100%;
    padding: 16px;
  }

  .daca-contact-links {
    padding: 0 16px;
  }
}

@media screen and (max-width: 479px) {
  .container {
    max-width: none;
  }

  .container.hero {
    margin-top: 0;
  }

  .button-hero-cta {
    min-width: 80vw;
  }

  .hero-button-block {
    flex-flow: column;
    min-width: auto;
  }

  .section-heading {
    text-align: center;
    text-transform: none;
    font-size: 24px;
    font-weight: 400;
    line-height: 30px;
  }

  .about-paragraph {
    text-align: center;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 20px;
  }

  .hero-blurb {
    width: 100%;
    margin-left: 8px;
    margin-right: 8px;
    font-size: 18px;
  }

  .hero-blurb.small {
    width: 90%;
    font-size: 16px;
  }

  .text-blurb.sub {
    font-size: 14px;
  }

  .business-title {
    font-size: 44px;
  }

  .featured-text {
    margin-top: 11px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .contact-card-text {
    font-size: 18px;
  }

  .contact-container {
    grid-column-gap: 8px;
    grid-row-gap: 8px;
    flex-flow: column;
  }

  .nav-menu {
    background-color: var(--sheer-maroon);
  }

  .wes-links {
    justify-content: center;
    align-items: center;
  }

  .person-and-title {
    justify-content: flex-start;
    align-items: center;
  }

  .client-heading {
    text-align: center;
  }
}
