/*-- -------------------------- -->
<---     Defaults               -->
<--- -------------------------- -*/
@media only screen and (min-width: 0em){
    :root{
        --primary: #fff;
        --secondary: #2F7A68;
        --secondaryDark: #1F5C4E;
        --secondaryDarker: #164539;
        --secondaryTint: #E8F3EF;
        --ink: #1E2A2B;
        --muted: #5E6B6A;
        --cream: #FBF7F2;
        --sage: #B9D8CC;
        --gold: #F0913A;
        --forest: #173B33;
        --forestDark: #102B25;
        --headingFont: "Fraunces", Georgia, "Times New Roman", serif;
        --bodyFont: "Figtree", -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: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid rgba(47, 122, 104, 0.18);
}

#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: 5rem;
        margin: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1.5rem;
    }
    .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-end;
        align-items: center;
        gap: clamp(1.25rem, 2.2vw, 2.25rem);
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .li-nav{
        padding: 1.75rem 0;
    }
    .a-nav{
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.5;
        letter-spacing: 0.01em;
        display: block;
        position: relative;
        color: var(--ink);
        transition: color 0.2s ease;
    }
    .a-nav::after{
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -0.35rem;
        height: 2px;
        border-radius: 2px;
        background-color: var(--secondary);
        transform: scaleX(0);
        transition: transform 0.25s ease;
    }
    .a-nav:hover{
        color: var(--secondaryDark);
    }
    .a-nav:hover::after{
        transform: scaleX(1);
    }
    .a-nav.a-nav-cta{
        background-color: var(--secondaryDark);
        color: #fff;
        padding: 0.65rem 1.4rem;
        border-radius: 999px;
        box-shadow: 0 0.5rem 1.25rem rgba(31, 92, 78, 0.25);
        transition: background-color 0.2s ease, transform 0.2s ease;
    }
    .a-nav.a-nav-cta::after{
        display: none;
    }
    .a-nav.a-nav-cta:hover{
        background-color: var(--secondaryDarker);
        color: #fff;
        transform: translateY(-1px);
    }
    .toggle-button{
        display: none;
    }

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

    .dropdown-row {
        display: flex;
        align-items: center;
        gap: 0.2rem;
    }

    .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='%231E2A2B' 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%);
        min-width: 31rem;
        max-height: 70vh;
        overflow-y: auto;
        box-sizing: border-box;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.15rem;
        background: #fff;
        border: 1px solid #DCEBE5;
        border-radius: 1rem;
        padding: 0.75rem;
        margin: 0;
        list-style: none;
        box-shadow: 0 1.25rem 3rem rgba(23, 59, 51, 0.14);
        z-index: 10000;
    }

    .dropdown-label {
        cursor: default;
    }

    .dropdown-menu li a {
        display: block;
        padding: 0.7rem 0.95rem;
        border-radius: 0.6rem;
        font-size: 1rem;
        font-weight: 600;
        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.open .dropdown-menu {
        display: grid;
    }
}

/*-- -------------------------- -->
<---     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 #DCEBE5;
        box-shadow: 0 1.5rem 2.5rem rgba(23, 59, 51, 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 #E9F2EE;
    }

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

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

    .a-nav::after{
        display: none;
    }

    .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;
        min-width: 0;
        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;
    }
}

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

    .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-element::before{
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--gold) 0%, #F7B978 50%, var(--secondary) 100%);
        pointer-events: none;
    }
    .footer-links{
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        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: 3rem;
    }
    .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: #F7B978;
    }
    .footer-links p{
        color: rgba(255, 255, 255, 0.75);
        font-size: 1rem;
        line-height: 1.7;
    }
    .logo-and-information{
        flex: 0 1 26rem;
    }
    .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: flex-start;
    }
    .about-company .footer-heading{
        font-family: var(--headingFont);
        font-size: 1.5rem;
        font-weight: 600;
        line-height: 1.2;
        color: #fff;
        margin: 0 0 1rem;
    }
    .ol-footer{
        margin: 0;
        padding: 0;
    }
    .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){
    .footer-links{
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2.5rem;
    }
    .logo-and-information{
        flex: none;
        width: 100%;
        max-width: 26rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .logo-and-information img {
        width: 13rem;
    }
    .about-company{
        align-items: center;
    }
    .copyright{
        text-align: center;
    }
}

/*-- -------------------------- -->
<---     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;
    }
}

/*-- -------------------------- -->
<---     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:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 120' preserveAspectRatio='none'%3E%3Cpath fill='%23B9D8CC' d='M0 70 Q50 30 100 55 T200 45 T300 60 T400 40 V120 H0Z'/%3E%3Cpath fill='%238FC2B2' d='M0 90 Q70 60 140 80 T280 75 T400 80 V120 H0Z'/%3E%3C/svg%3E") bottom center / 100% 45% no-repeat,
            linear-gradient(180deg, #E8F3EF 0%, #FBF7F2 100%);
    }
    .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='%235E6B6A' 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.65rem;
        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: #FDEEDD;
        border-color: #F5CFA3;
        color: #9A4B12;
    }
    .pill-service{
        background-color: var(--secondaryTint);
        border-color: #D3E6DE;
        color: var(--secondaryDark);
    }
    .pill-method{
        background-color: #F5EFE6;
        border-color: #E5D9C7;
        color: #6B5536;
    }
    li:has(> .pill-row) > svg{
        margin-top: 0.35rem;
    }
}