/*-- -------------------------- -->
<---     Defaults               -->
<--- -------------------------- -*/
@media only screen and (min-width: 0em){
    :root{
        --primary: #fff;
        --secondary: #0E6585;
        --secondaryDark: #0B4F6C;
        --secondaryDarker: #083B51;
        --secondaryTint: #E8F1F4;
        --ink: #16242B;
        --muted: #56666E;
        --cream: #F6F8F9;
        --sage: #D6E0E4;
        --gold: #F2B134;
        --forest: #06303F;
        --forestDark: #042431;
        --headingFont: "Fraunces", Georgia, "Times New Roman", serif;
        --bodyFont: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
        --bodyFontSize: 1.5rem;
        --headerFontSize: clamp(1.724rem, 3.9vw, 2.5rem);
        --headerPadding: clamp(7rem, 5vw, 11rem);
    }
    body {
        font-family: var(--bodyFont);
        color: var(--ink);
        background-color: #fff;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    a {
        color: var(--secondaryDark);
        font-size: var(--bodyFontSize);
    }
    ul {
        list-style-type: none;
    }
    p {
        font-size: var(--bodyFontSize);
        color: var(--ink);
    }
    h1, h2, h3, h4 {
        font-family: var(--headingFont);
        font-weight: 600;
        line-height: 1.15;
        color: var(--ink);
    }
    h1 {
        font-size: var(--headerFontSize);
    }
    h2 {
        font-size: 1.9rem;
    }
    h3 {
        font-size: 1.7rem;
    }
    h4 {
        font-size: 1.5rem;
    }
}

/* Reset Margins */
@media only screen and (min-width: 0rem) {
    body,
    html {
      margin: 0;
      padding: 0;
      overflow-x: hidden;
    }
}

/*-- -------------------------- -->
<---     Navigation             -->
<--- -------------------------- -*/

#header-element {
    background-color: #fff;
    border-bottom: 1px solid var(--sage);
    box-shadow: 0 0.25rem 1.25rem rgba(6, 48, 63, 0.06);
}

#header-element a {
    text-decoration: none;
}

/*-- -------------------------- -->
<---     Base Navigation        -->
<--- -------------------------- -*/
@media only screen and (min-width: 0){
    #header-element{
        width: 100%;
        box-sizing: border-box;
        padding: 0 1.5rem;
        position: fixed;
        z-index: 10000;
        top: 0;
        left: 0;
    }
    .header-container{
        width: 100%;
        max-width: 75rem;
        min-height: 4.75rem;
        margin: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1.5rem;
    }
    .header-nav{
        flex: 1;
    }
    .logo{
        height: 3.25rem;
        margin: 0 auto 0 0;
        padding: 0;
        display: flex;
        align-items: center;
        flex: none;
        z-index: 100;
    }
    .logo img {
        width: auto;
        height: 100%;
        max-width: 13rem;
        object-fit: contain;
    }
    .ul-nav{
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: clamp(0.25rem, 0.8vw, 0.75rem);
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .li-nav{
        padding: 1.25rem 0;
    }
    .li-nav:first-child,
    .li-nav.li-nav-cta{
        margin-left: auto;
    }
    .a-nav{
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.5;
        display: block;
        padding: 0.5rem 0.875rem;
        border-radius: 999px;
        color: var(--ink);
        transition: background-color 0.2s ease, color 0.2s ease;
    }
    .a-nav:hover{
        background-color: var(--secondaryTint);
        color: var(--secondaryDark);
    }
    .a-nav:focus-visible{
        outline: 3px solid var(--secondary);
        outline-offset: 2px;
    }
    .dropdown-label:hover{
        background-color: transparent;
        color: var(--ink);
    }
    .a-nav.a-nav-cta{
        background-color: var(--secondaryDark);
        color: #fff;
        font-weight: 700;
        padding: 0.7rem 1.5rem;
    }
    .a-nav.a-nav-cta:hover{
        background-color: var(--secondaryDarker);
        color: #fff;
    }
    .toggle-button{
        display: none;
    }

    /*Dropdown*/
    .dropdown {
        position: relative;
    }

    .dropdown-row {
        display: flex;
        align-items: center;
        gap: 0;
    }
    .dropdown-row .dropdown-label{
        padding-right: 0.25rem;
    }

    .dropdown-toggle {
        flex: none;
        width: 1.75rem;
        height: 1.75rem;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2316242B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
        cursor: pointer;
        transition: transform 0.25s ease, background-color 0.2s ease;
    }

    .dropdown-toggle:hover {
        background-color: var(--secondaryTint);
    }

    .dropdown.open .dropdown-toggle {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        flex-wrap: wrap;
        width: max-content;
        max-width: min(54rem, 90vw);
        max-height: 70vh;
        overflow-y: auto;
        box-sizing: border-box;
        gap: 0.5rem;
        background: #fff;
        border: 1px solid var(--sage);
        border-radius: 1rem;
        padding: 0.75rem;
        margin: 0;
        list-style: none;
        box-shadow: 0 1.25rem 3rem rgba(6, 48, 63, 0.16);
        z-index: 10000;
    }

    .dropdown-label {
        cursor: default;
    }

    .dropdown-menu li a {
        display: block;
        padding: 0.7rem 0.95rem;
        border-radius: 0.625rem;
        font-size: 1rem;
        font-weight: 500;
        color: var(--ink);
        text-decoration: none;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .dropdown-menu li a:hover {
        background-color: var(--secondaryTint);
        color: var(--secondaryDark);
    }
    .dropdown-group {
        flex: 0 0 13.5rem;
        min-width: 0;
    }
    .dropdown-group-links {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .dropdown-menu .dropdown-group-title {
        display: block;
        padding: 0.7rem 0.95rem;
        border-radius: 0.625rem;
        font-size: 1rem;
        font-weight: 700;
        color: var(--ink);
        text-decoration: none;
    }
    .dropdown-menu a:focus-visible {
        outline: 3px solid var(--secondary);
        outline-offset: -3px;
    }
    .dropdown.open .dropdown-menu {
        display: flex;
    }
}

/*-- -------------------------- -->
<---     Mobile Navigation      -->
<--- -------------------------- -*/
@media only screen and (max-width: 63.9375rem) {
    .header-container{
        min-height: 4.25rem;
    }
    .logo{
        height: 2.75rem;
        margin-right: auto;
        padding: 0;
    }
    .logo img {
        height: 100%;
        width: auto;
        max-width: 11rem;
    }
    .toggle-button {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2.75rem;
        height: 2.75rem;
        padding: 0;
        background: none;
        border: none;
        border-radius: 0.75rem;
        cursor: pointer;
    }

    .hamburger {
        display: block;
        width: 1.5rem;
        height: .15rem;
        border-radius: 1rem;
        background-color: var(--ink);
        position: relative;
        transition: background-color 0.3s ease;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        display: block;
        width: 100%;
        height: 0.15rem;
        border-radius: 1rem;
        background-color: var(--ink);
        position: absolute;
        transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
    }

    .hamburger::before {
        top: -0.5rem;
    }

    .hamburger::after {
        top: 0.5rem;
    }

    .toggle-button.open .hamburger {
        background-color: transparent;
    }

    .toggle-button.open .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .toggle-button.open .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 4.25rem);
        overflow-y: auto;
        background-color: #fff;
        padding: 0.5rem 1.5rem 1.5rem;
        box-sizing: border-box;
        border-bottom: 1px solid var(--sage);
        box-shadow: 0 1.5rem 2.5rem rgba(6, 48, 63, 0.12);
        transition: opacity 0.3s ease;
        opacity: 0;
        visibility: hidden;
    }

    .header-nav.open {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .ul-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .li-nav{
        padding: 0;
        border-bottom: 1px solid var(--sage);
    }

    .li-nav:first-child,
    .li-nav.li-nav-cta{
        margin-left: 0;
    }

    .li-nav.li-nav-cta{
        border-bottom: none;
        padding-top: 1.25rem;
    }

    .a-nav{
        padding: 1rem 0;
        border-radius: 0;
        font-size: 1.0625rem;
    }

    .a-nav:hover{
        background-color: transparent;
    }

    .a-nav.a-nav-cta{
        text-align: center;
        padding: 0.9rem 1.4rem;
    }

    .dropdown-row {
        justify-content: space-between;
    }

    .dropdown-toggle {
        width: 2.75rem;
        height: 2.75rem;
        background-size: 0.8rem;
    }

    .toggle-button.open ~ .header-nav {
        display: block;
    }

    .dropdown-menu{
        position: static;
        transform: none;
        flex-direction: column;
        flex-wrap: nowrap;
        width: auto;
        max-width: none;
        max-height: none;
        border: none;
        border-radius: 0.75rem;
        box-shadow: none;
        background-color: var(--cream);
        padding: 0.5rem;
        margin: 0 0 1rem;
        touch-action: manipulation;
        pointer-events: auto;
    }
    .dropdown-group {
        flex: none;
        width: 100%;
    }
    .dropdown-group-links {
        padding-left: 0.75rem;
    }
}

/*-- -------------------------- -->
<---     Desktop Dropdown Hover -->
<--- -------------------------- -*/
@media only screen and (min-width: 64rem) and (hover: hover) and (pointer: fine) {
    .dropdown:hover .dropdown-menu {
        display: flex;
    }

    .dropdown:hover .dropdown-toggle {
        transform: rotate(180deg);
    }
}

/*-- -------------------------- -->
<---    Footer                  -->
<--- -------------------------- -*/
@media only screen and (min-width: 0){
    #footer-element{
        position: relative;
        width: 100%;
        box-sizing: border-box;
        margin-top: 5rem;
        background-color: var(--forest);
        color: #fff;
    }
    .footer-links{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 75rem;
        margin: 0 auto;
        box-sizing: border-box;
        padding: clamp(3rem, 6vw, 4.5rem) 1.5rem clamp(2.5rem, 5vw, 3.5rem);
        gap: 2.25rem;
    }
    .footer-links li{
        list-style-type: none;
    }
    .footer-links a{
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-size: 1rem;
        transition: color 0.2s ease;
    }
    .footer-links a:hover{
        color: var(--gold);
    }
    .footer-links p{
        color: rgba(255, 255, 255, 0.75);
        font-size: 1rem;
        line-height: 1.7;
    }
    .logo-and-information{
        width: 100%;
        max-width: 34rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .logo-and-information img{
        display: block;
        width: 15rem;
        max-width: 100%;
        height: auto;
    }
    .logo-and-information p{
        margin: 1.25rem 0 0;
    }
    .about-company{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .about-company .footer-heading{
        font-family: var(--headingFont);
        font-size: 1.375rem;
        font-weight: 600;
        line-height: 1.2;
        color: #fff;
        margin: 0 0 1rem;
    }
    .ol-footer{
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem 2rem;
    }
    .li-footer{
        padding: 0.4rem 0;
    }
    .copyright{
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.25rem 1.5rem;
        background-color: var(--forestDark);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .copyright p{
        margin: 0;
        font-size: 0.9375rem;
        color: rgba(255, 255, 255, 0.6);
    }
}

@media only screen and (max-width: 63.9375rem){
    .logo-and-information img {
        width: 13rem;
    }
}

/*-- -------------------------- -->
<---     Random Elements      -->
<--- -------------------------- -*/
@media only screen and (min-width: 0){
    .breadcrumbs {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    .breadcrumbs picture{
        display: flex;
    }
    .breadcrumbs img{
        width: 0.625rem;
        height: 0.625rem;
        opacity: 0.55;
    }
    .breadcrumbs-referring-page{
        font-size: 0.9375rem;
        font-weight: 600;
        color: var(--secondaryDark);
        text-decoration: none;
    }
    .breadcrumbs-referring-page:hover{
        text-decoration: underline;
    }
    .breadcrumbs-current-page{
        font-size: 0.9375rem;
        color: var(--muted);
        text-decoration: none;
    }
    .breadcrumbs-hero{
        justify-content: center;
        margin-bottom: 1rem;
    }
    .breadcrumbs-hero .breadcrumbs-referring-page{
        color: var(--gold);
    }
    .breadcrumbs-hero .breadcrumbs-referring-page:focus-visible{
        outline: 3px solid #fff;
        outline-offset: 3px;
    }
    .breadcrumbs-hero .breadcrumbs-current-page{
        color: #C9DDE4;
    }
    .breadcrumbs-hero img{
        filter: invert(1);
        opacity: 0.6;
    }
}

/*-- -------------------------- -->
<---     Photo Placeholder      -->
<--- -------------------------- -*/
@media only screen and (min-width: 0){
    .photo-placeholder{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        aspect-ratio: 4 / 3;
        background-color: var(--cream);
        border-bottom: 0.375rem solid var(--sage);
        box-sizing: border-box;
    }
    .photo-placeholder span{
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        padding: 0.45rem 0.95rem;
        border-radius: 999px;
        background-color: rgba(255, 255, 255, 0.85);
        color: var(--muted);
        font-size: 0.8125rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
    .photo-placeholder span::before{
        content: "";
        width: 1rem;
        height: 1rem;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B636B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center / contain no-repeat;
    }
}

/*-- -------------------------- -->
<---          Info Pills          -->
<--- -------------------------- -*/
@media only screen and (min-width: 0){
    .pill-row{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.375rem;
    }
    .pill-row strong{
        margin-right: 0.125rem;
    }
    .pill{
        display: inline-flex;
        align-items: center;
        padding: 0.2rem 0.75rem;
        border: 1px solid transparent;
        border-radius: 999px;
        font-size: 0.8125rem;
        font-weight: 600;
        line-height: 1.4;
        white-space: nowrap;
    }
    .pill-type{
        background-color: var(--cream);
        border-color: var(--sage);
        color: var(--ink);
    }
    .pill-service{
        background-color: var(--secondaryTint);
        border-color: #C9DDE4;
        color: var(--secondaryDark);
    }
    li:has(> .pill-row) > svg{
        margin-top: 0.35rem;
    }
}