/*
Child Specific styles
These are new styles not overrides. Overrides should live in style.css
*/

/* Root */

:root {
    --site-min-width: 425px;
    --site-max-width: 1500px;

    --header-height: 9rem;

    --header-background-color: rgba(250, 250, 250, 0.90);
    --header-background-opacity: 1;

	--nav-height: 2rem;
    --nav-background-color: rgba(64, 141, 200, 0.8);
    --nav-background-opacity: 1;

    --side-padding: max(1rem, calc( ( 100% - 1500px ) / 2 ));
    --left-padding: max(1rem, calc( ( 100% - 1500px ) / 2 ));
    --right-padding: max(1rem, calc( ( 100% - 1500px ) / 2 ));
    --side-padding-flush: max(0rem, calc( ( 100% - 1500px ) / 2 ));

    --footer-height: 12rem;
}

/* layout testing 
#md-lang,
#md-se-habla,
#md-logo,
#md-header-contact,
.msa-switch-container
{
    background-color: rgba(0,0,0,0.1);
}
/* end layout testing */

/* == Page Titles == */
h1.md-page-title {
	font-family: "AzoSansMd", "Lucida Grande", Verdana, sans-serif;
}

h2 {
    color: var(--msa-teal);
}

h3 {
    color: var(--msa-blue);
    font-size: 1.125rem;
}

h4 {
    color: var(--msa-purple);
    font-size: 1rem;
}

/* == text colors == */
.msa-txt-blue { color: var(--msa-blue); }
.msa-txt-black { color: var(--msa-black); }
.msa-txt-white { color: var(--msa-white); }
.msa-txt-magenta { color: var(--msa-magenta); }
.msa-txt-purple { color: var(--msa-purple); }
.msa-txt-teal { color: var(--msa-teal); }
.msa-txt-orange { color: var(--msa-orange); }
.msa-txt-light-blue { color: var(--msa-light-blue); }

/* == buttons == */
.msa-orange-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.msa-orange-button a {
    display: inline-block;
    font-size: 1.25rem;
    line-height: 1em;
    font-weight: bold;
    text-decoration: none;
    padding: 0.5rem 1rem;
    color: var(--msa-white);
    background-color: var(--msa-orange);
    border: 2px solid #fff;
    transition: all 0.2s;
}
.msa-orange-button a:hover {
    filter:saturate(120%);
}

.msa-stripe-button {
	display: inline-block;
	font-family: "AzoSans", "Lucida Grande", Verdana, sans-serif;
	text-decoration: none;
	padding: 0.5em 1em;
	border-radius: 2em;
	background-color: var(--msa-orange);
	border: 1px solid var(--msa-blue);
	color:  var(--msa-white);
	transition: 0.3s;
    cursor: pointer;
	font-size: 1em;
}
.msa-stripe-button:hover {
	background-color: var(--msa-magenta);
}

/* floating get started */
#get-started-button {
    position: fixed;
    bottom: 2.625rem;
/*    left: var(--left-padding); 
    left: 50%;
    transform: translateX(-50%); */
    right: var(--right-padding);
    display: block;
    text-align: center;
    width: 10rem;
    height: 2rem;
    z-index: 300;
}
#get-started-button a {
    display: inline-block;
    font-size: 1.25rem;
    line-height: 1em;
    font-weight: bold;
    text-decoration: none;
    padding: 0.5rem 1rem;
    color: var(--msa-white);
    background-color: var(--msa-orange);
    box-shadow: 0 0.125rem 0.5rem 0 rgba(0,0,0,0.5);
    border: 2px solid #fff;
    transition: all 0.2s;
    z-index: 300;
}
#get-started-button a:hover {
    filter:saturate(120%);
    transform: translate( 0 , -0.125rem );
    box-shadow: 0 0.25rem 0.5rem 0.125rem rgba(0,0,0,0.3);
}

/* == sections == */
section.msa-no-margin {
	position: relative;
	display: block;
	width: 100%;
	max-width: 1500px;
	margin: 0 auto;
	padding: 0;
}

section.msa-wide-block {
    margin: 0;
    padding: 0 var(--side-padding);
    max-width: unset;
}
section.msa-wide-flush {
    margin: 0;
    padding: 0 var(--side-padding-flush);
    max-width: unset;
}


/* == Hero == */
section.msa-hero {
    position: relative;
    background-color: var(--msa-light-gray);
    margin: 0;
    padding: 2rem calc( 2rem + var(--side-padding) );
    width: 100%;
    height: 20rem;
    max-width: unset;
    overflow: hidden;
}
.msa-hero-title {
    font-size: 2rem;
    line-height: 1em;
    font-weight: bold;
    z-index: 20;
}

.msa-hero-text {
    display: block;
    width: 35rem;
    font-size: 1.75rem;
    font-weight: bold;
    line-height: 1.5em;
    margin: 1.5rem 0 1.5rem 1.5rem;
    padding: 0;
    text-align: justify;
    z-index: 20;
}

.msa-hero-img {
    position: absolute;
    bottom: 0;
    right: calc( var(--right-padding) - 4rem );
    width: auto;
    height: 16rem;
    z-index: 10;
}

/* Tablet & Mobile */
@media (max-width: 768px) {
    section.msa-hero {
       height: unset;
       padding-bottom: 7rem;
    }
    .msa-hero-title {
        text-align: center;
    }
    .msa-hero-title span {
        display: block;
        margin-bottom: 0.25rem;
    }
    .msa-hero-text {
    display: block;
    width: 100%;
    margin-left: 0;
    }
    .msa-hero-img {
        position: absolute;
        bottom: 0;
        right: calc( var(--right-padding) - 3rem );
        width: auto;
        height: 8rem;
        z-index: 10;
    }
}


/* == switch == */
.msa-switch {
    position: relative;
    z-index: 10;
    padding: 1.5rem;
}
.msa-switch::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--msa-orange);
    opacity: 0.15;
}
.msa-switch-benefits-title {
    font-size: 1.5rem;
    padding: 1rem;

    line-height: 1em;
    font-weight: bold;
    color: var(--msa-teal);
}
.msa-switch-benefits {
    font-size: 1.25rem;
    line-height: 1em;
    margin: 0 0 1.5rem 1.5rem;
    padding: 0;
    list-style: none;
}
.msa-switch-benefits li {
    padding: 0;
    margin: 0 0 1rem 1.5rem;
}
.msa-switch-benefits li::before {
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  content: "\f00c";
  margin-right: 0.5rem;
}
.msa-switch-benefits li:nth-child(1):before { color: var(--msa-magenta);}
.msa-switch-benefits li:nth-child(2):before { color: var(--msa-blue);}
.msa-switch-benefits li:nth-child(3):before { color: var(--msa-orange);}
.msa-switch-benefits li:nth-child(4):before { color: var(--msa-teal);}

.msa-switch .msa-orange-button {
    position: relative;
}

/* Tablet */
@media (max-width: 768px) {
    .msa-switch-container {
        width: 27rem;
        margin: 0 auto;
    }
}

/* Mobile */
@media (max-width: 500px) {
    .msa-switch-container {
        width: 100%;
        margin: 0;
    }
        .msa-switch-benefits {
        font-size: 1.125rem;
    }
}

/* ==why == */
.msa-why {
    position: relative;
    padding: 1.5rem;
    z-index: 10;
}
.msa-why::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--msa-teal);
    opacity: 0.1;
}

.msa-why-title {
	font-family: "AzoSansMd", sans-serif;
	font-weight: normal;
    font-size: 1.25rem;
}
.msa-why .msa-text {
    font-size: 0.75rem;
}
.msa-why h3 {
    padding: 0;
    margin: 0.5rem 0 0 0;
}
.msa-why p {
    padding: 0;
    margin: 0;
}

/* Tablet */
@media (max-width: 768px) {
    .msa-why-title {
    font-size: 1.25rem;
        text-align: center;
    }
    .msa-why .msa-text,
    .msa-why .msa-text p {
        text-align: center;
    }
}


/* == services == */

section.msa-our-services {
    padding: 1rem var(--side-padding);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
section.msa-our-services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--msa-magenta);
    opacity: 0.1;
}

.msa-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 2rem;
    font-size: 0.75rem;
}
.msa-services h3 {
    padding: 0;
    margin: 0 0 0 0;
    color: var(--msa-magenta);
}
.msa-services p {
    padding: 0;
    margin: 0.25rem 0 0 0;
}

.msa-services-title {
	font-family: "AzoSansMd", sans-serif;
	font-style: italic;
    text-transform: uppercase;
    font-size: 1.75rem;
    color: var(--msa-magenta);
}

/* Blog */
/* pagination */
.pagination,
.prev-next {
	display: flex;
	justify-content: center;
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: center;
	line-height: 1;
	z-index: 100;
}
.page-numbers,
.prev-next a {
	display: inline-block;
	padding: 0.25rem 0.5rem;
	margin: 0 0.5rem;
	border: 1px solid var(--msa-purple);
	color: var(--msa-purple);
	border-radius: 0;
	background: transparent;
	text-decoration: none !important;
	transition: 0.2s;
}
.page-numbers.current {
	background: var(--msa-light-purple);
	color: var(--msa-white);
}
.page-numbers:hover,
.page-numbers.current:hover,
.prev-next a:hover {
	background: var(--msa-purple);
	color: var(--msa-white);
}

/* Tablet */
@media (max-width: 768px) {
    .msa-services {
        grid-template-columns: repeat(2, 1fr);
    }
    .msa-services h3 {
        text-align: center;

}
.msa-services p {
        text-align: center;

}
}

/* Mobile */
@media (max-width: 600px) {
    .msa-services {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* == language Switcher == */
#md-lang {
    position: fixed;
    top: 1rem;
    right: var(--right-padding);
    width: 10rem;
    display: none; /* flex */
    flex-direction: row;
    justify-content: flex-end;
    gap: 1rem;
    z-index: 100;
}

#md-lang a {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    font-size: 0.5rem;
    text-decoration: none;
    width: 2.25rem;
    height: 2.5rem;
    cursor: pointer;
}

#md-lang-en {
    background-image: url('https://mystatagentaz.com/wp-content/uploads/2026/03/us-flag.svg');
    background-repeat: no-repeat;
    background-position: center 0.125rem;
    background-size: contain;
    font-weight: bold;
}

#md-lang-es {
    background-image: url('https://mystatagentaz.com/wp-content/uploads/2026/03/mexico-flag.svg');
    background-repeat: no-repeat;
    background-position: center 0;
    background-size: contain;
    font-weight: normal;
}

#md-se-habla {
    position: fixed;
    top: 5rem;
    right: var(--right-padding);
    width: 10rem;
    font-size: 0.75rem;
    font-weight: bold;
    display: block;
    text-align: right;
    z-index: 100;
}

/* mobile language switcher */
@media screen and (max-width: 768px ){
    #md-lang {
    gap: 2rem;
    }

    #md-lang a {
        width: 2rem;
        height: 2rem;
    }

}

/* == Contact Header == */
#md-header-contact {
    position: fixed;
    top: 1rem;
    left: var(--left-padding);
    width: 22rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
    font-size: 0.75rem;
    z-index: 120;
}

#md-header-contact div {
    height: 1rem;
}

div#md-ha-email { color: var(--msa-teal); }
div#md-ha-email::before {
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  content: "\f0e0";
  margin-right: 0.5rem;
}

div#md-ha-phone { color: var(--msa-purple); }
div#md-ha-phone::before {
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  content: "\f3cf";
  margin-right: 0.5rem;
}

div#md-ha-address { color: var(--msa-blue); }
div#md-ha-address::before {
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  content: "\f3c5";
  margin-right: 0.5rem;
}

/* mobile: hide contact header */
@media screen and (max-width: 768px ){
    #md-header-contact {
        display: none;
    }
}

/* == Contact footer == */
#md-footer-contact {
    position: absolute;
    top: 1rem;
    right: var(--right-padding);
    width: 18rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.5rem;
    font-size: 0.75rem;
    z-index: 120;
}

#md-footer-contact div {
    height: 1rem;
    text-align: right;
}

div#md-fa-email { color: var(--msa-teal); }
div#md-fa-email::after {
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  content: "\f0e0";
  margin-left: 0.5rem;
}

div#md-fa-phone { color: var(--msa-purple); }
div#md-fa-phone::after {
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  content: "\f3cf";
  margin-left: 0.5rem;
}

div#md-fa-address { color: var(--msa-blue); }
div#md-fa-address::after {
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  content: "\f3c5";
  margin-left: 0.5rem;
}

/* mobile: hide contact header */
@media screen and (max-width: 768px ){
    #md-footer-contact {
        display: none;
    }
    .md-f-c-mobile-hide {
        display: none;
    }
}
