*,
*::before,
*::after {
    box-sizing: border-box;
}

h1 {

    color: #000;
    /* H1 */
    font-family: Sanchez;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

h2 {

    color: #000;
    /* H2 */
    font-family: Sanchez;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

h3 {

    color: #000;
    /* H3 */
    font-family: Sanchez;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

h4 {

    color: #000;
    /* H4 */
    font-family: Sanchez;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

p {
        /* p */
    font-family: Prompt;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.btn {
    --circle-size: 24px;
    --circle-target-size: 220px;
    --circle-scale: calc(var(--circle-target-size) / var(--circle-size));

    position: relative;
    overflow: hidden;
    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: 190px;
    height: 60px;

    border: 1px solid transparent;
    border-radius: 999px;

    background: #A2C8A3;
    color: #506E52;

    font-family: Prompt, sans-serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;

    user-select: none;
    text-decoration: none;

    transition:
        color .75s ease,
        background-color .35s ease,
        border-radius .35s ease,
        border-color .35s ease,
        transform .12s ease;
}

.phone-link,
.email-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.phone-link:hover,
.email-link:hover {
    color: #fff;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn::before {
    content: "";

    position: absolute;
    left: 50%;
    top: 50%;

    width: var(--circle-size);
    aspect-ratio: 1;

    border-radius: 50%;
    background: #506E52;

    transform: translate(-50%, -50%) scale(0);
    transform-origin: center;

    transition:
        transform .75s cubic-bezier(.22,1,.36,1),
        opacity .25s ease;

    z-index: 1;
}

.btn:hover {
    color: #A2C8A3;
}

.btn:hover::before {
    transform:
        translate(-50%, -50%)
        scale(var(--circle-scale));
}

.btn:active {
    transform: scale(.96);

    border: 1px solid #000;
    background: rgba(94, 99, 102, .78);
    color: #fff;
}

.btn:active::before {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}


body {
    --wide-screen-gutter: max(100px, calc((100vw - 1720px) / 2));

    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
    margin: 0;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

.navigation,
.hero,
.your-advisors,
.contact-us,
.choose-us,
.footer {
    width: 100%;
    max-width: 100%;
}

body > *,
.navigation > *,
.advisor-hero > *,
.contact-us > *,
.choose-us > *,
.footer > * {
    min-width: 0;
}

h1,
h2,
h3,
h4,
p {
    overflow-wrap: anywhere;
}

img {
    max-width: 100%;
    height: auto;
}

/* Navigation Section*/
.navigation {
    display: flex;
    width: 100%;
    max-width: 100%;
    height: 112px;
    max-height: 112px;
    padding: 10px 80px;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

.navigation > .text-logo {
    width: 128px;
    height: auto;
    flex: 0 0 auto;
}

.menu_and_contact {
    display: flex;
    padding: 16px 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 11px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    border: 1px solid transparent;
    border-radius: 50%;
    background: #A2C8A3;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 0;
    flex: 0 0 auto;
    background: #506E52;
    transition: transform .25s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.menu {
    display: flex;
    width: 585px;
    padding: 10px 42px 10px 10px;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
    transition-duration: 0.4s;
}

.menu h3:hover {
    text-decoration: underline;
    cursor: pointer;

} 

.menu a {
    color: #000;
    font-family: Sanchez;
    font-size: 24px;
    text-decoration: none;
}

.menu a:hover,
.menu a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* Hero Section*/
.hero {
    height: 785px;
    align-self: stretch;
    border-radius: 16px;
    background: url('assets/Hero Image.png') lightgray 50% / cover no-repeat;
}

.hero-text {
    
    
    display: flex;
    width: 680px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;

    border-radius: 16px;
    border: 1px solid #FFFDFD;
    opacity: 0.81;
    background: var(--Tertiary-Color, #C49799);

    position: relative;
    top: 230px;
    left: 117px;
    padding: 24px;
    max-width: calc(100% - 48px);
}

/* Advisors Section*/
.your-advisors {
    display: flex;
    padding: 100px;
    flex-direction: column;
    align-items: flex-start;
    gap: 80px;
}

.your-advisor-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 720px;
}

.advisor-hero {
    display: flex;
    align-items: flex-start;
    gap: 56px;
    align-self: stretch;
    min-width: 0;
    max-width: 1400px;
}

.business-type {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
    min-width: 0;
    transition: transform .25s ease;
}

.business-type > img {
    transition:
        box-shadow .25s ease,
        transform .25s ease;
}

.business-type .business-text h2 {
    transition: color .25s ease;
}

@media (hover: hover) {
    .business-type:hover,
    .business-type:focus-within {
        transform: translateY(-6px);
    }

    .business-type:hover > img,
    .business-type:focus-within > img {
        transform: scale(1.02);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
    }

    .business-type:hover .business-text h2,
    .business-type:focus-within .business-text h2 {
        color: #506E52;
    }
}

.business-text {
    display: flex;
    width: 300px;
    flex-direction: column;
    align-items: flex-start;
    gap: 29px;
}


.contact-us {
    display: grid;
    grid-template-columns: minmax(0, 800px) minmax(560px, 680px);
    padding: 160px 100px;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    align-self: stretch;
    background: var(--Tertiary-Color, #C49799);
}

.contact-us-text {
    display: flex;
    width: 800px;
    flex-direction: column;
    align-items: flex-start;
    gap: 53px;
    max-width: 800px;
}

.contact-us-text p {
    color: var(--Shadow, rgba(23, 25, 26, 0.78));
}

.contact-us-boxes {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    max-width: 680px;
}

.box {
    display: flex;
    width: 100%;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;

    border-radius: 16px;
    background: rgba(162, 200, 163, 0.80);

    transition:
        box-shadow .25s ease,
        transform .25s ease;
    max-width: 100%;
}

.box:hover {
    transform: translateY(-4px);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.08);
}

.box .btn {
    border-color: #506E52;
    background: #C49799;
    color: #17191A;
}

.box .btn::before {
    background: #506E52;
}

.box .btn:hover {
    border-color: #506E52;
    color: #FFFDFD;
}

.box .btn:active {
    border-color: #17191A;
    background: #506E52;
    color: #FFFDFD;
}

/* Why choose us*/

.choose-us {
    display: flex;
    padding: 256px 126px;
    justify-content: center;
    align-items: center;
    gap: 80px;
    align-self: stretch;
}

.quote {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 80px;
    flex: 1 0 0;
    max-width: 800px;
}

.quote p {
    color: var(--Muted, rgba(94, 99, 102, 0.78));

}

.splitter {
    display: flex;
    width: 4px;
    height: 266px;
    padding: 16px 0;
    flex-direction: column;
    align-items: center;
    background: var(--Primary-Color, #A2C8A3);
}

/* Footer */
.footer {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    padding: 80px 100px;
    justify-content: center;
    align-items: flex-start;
    gap: 120px;
    background: var(--Primary-Color, #A2C8A3);
}

.footer-legal {
    display: flex;
    grid-column: 1 / -1;
    width: 100%;
    flex: 1 0 100%;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 16px;
    padding-top: 32px;
    border-top: 2px solid rgba(23, 25, 26, .45);
}

.footer-legal nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 28px;
}

.footer-legal a {
    color: #17191A;
    font-family: Prompt;
    font-size: 16px;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.footer-legal a:hover {
    color: #FFFDFD;
}

/* Legal documents */
.legal-page {
    width: 100%;
    padding: 96px max(24px, calc((100vw - 980px) / 2)) 128px;
    background: #FFFDFD;
}

.legal-header {
    padding-bottom: 56px;
    border-bottom: 2px solid #A2C8A3;
}

.legal-header h1 {
    margin: 14px 0 20px;
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.05;
}

.legal-header p {
    max-width: 760px;
    margin: 0;
    color: rgba(23, 25, 26, .72);
}

.legal-content {
    display: grid;
    min-width: 0;
    gap: 48px;
    padding-top: 64px;
}

.legal-content section {
    min-width: 0;
    scroll-margin-top: 24px;
}

.legal-content h2 {
    margin: 0 0 18px;
}

.legal-content h3 {
    margin: 32px 0 12px;
    font-family: Sanchez;
    font-size: 24px;
    font-weight: 400;
}

.legal-content p,
.legal-content li,
.legal-content address {
    color: rgba(23, 25, 26, .8);
    font-family: Prompt;
    font-size: 18px;
    line-height: 1.65;
}

.legal-content address {
    font-style: normal;
}

.legal-content ul {
    display: grid;
    gap: 10px;
    padding-left: 24px;
}

.legal-content a {
    color: #506E52;
    font-weight: 600;
}

.legal-note {
    padding: 24px;
    border-left: 4px solid #506E52;
    background: rgba(162, 200, 163, .28);
}

.legal-table-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 28px 0;
    overflow-x: auto;
    border: 1px solid rgba(23, 25, 26, .2);
    border-radius: 12px;
}

.legal-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
    font-family: Prompt;
    font-size: 14px;
    line-height: 1.45;
}

.legal-table th,
.legal-table td {
    padding: 16px;
    border-right: 1px solid rgba(23, 25, 26, .14);
    border-bottom: 1px solid rgba(23, 25, 26, .14);
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    color: #17191A;
    background: #A2C8A3;
    font-weight: 600;
}

.legal-table tbody tr:nth-child(even) {
    background: rgba(162, 200, 163, .13);
}

.legal-table th:last-child,
.legal-table td:last-child {
    border-right: 0;
}

.legal-table tbody tr:last-child td {
    border-bottom: 0;
}


.services {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch; 
}

.company-details {
    display: flex;
    width: 311px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    flex-shrink: 0;
    align-self: stretch;
}

.list {
    display: flex;
    width: 280px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
}

.service-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.info {
    display: flex;
    width: 280px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
}


/* Footer link text hover animation */
.footer .list p,
.footer .list a {
    position: relative;
    display: inline-block;
    color: #17191AC7;
    cursor: pointer;
    font-family: Prompt;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    text-decoration: none;
    transition: color .35s ease, transform .2s ease;
}

.footer .list p::after,
.footer .list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: currentColor;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.footer .list p:hover,
.footer .list a:hover {
    color: #fff;
    transform: translateY(-1px);
}

.footer .list p:hover::after,
.footer .list a:hover::after {
    transform: scaleX(1);
}

.footer .list p:active,
.footer .list a:active {
    transform: scale(.98);
}

.footer h2,
.footer h4, 
.footer p {
    margin: 0;
}

/* Services page */
.services-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
    width: 100%;
    min-height: 620px;
    background: #C49799;
}

.services-hero-copy,
.services-hero-note {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 96px 100px;
}

.services-hero-copy {
    border-right: 1px solid rgba(23, 25, 26, .2);
}

.services-hero-copy h1 {
    max-width: 760px;
    margin: 8px 0 24px;
    font-size: clamp(48px, 5.4vw, 84px);
    line-height: 1.05;
}

.services-hero-copy > p:not(.services-kicker) {
    max-width: 690px;
}

.services-hero-note {
    gap: 24px;
    background: rgba(255, 253, 253, .18);
}

.services-hero-note h2 {
    max-width: 520px;
}

.services-kicker {
    margin: 0;
    color: #506E52;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.text-link {
    margin-top: 28px;
    color: #000;
    font-family: Prompt;
    font-size: 18px;
    font-weight: 600;
    text-underline-offset: 5px;
}

.services-page {
    width: 100%;
    padding: 120px 100px 140px;
}

.services-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
    gap: 80px;
    align-items: end;
    max-width: 1500px;
    margin: 0 auto 72px;
}

.services-intro h2 {
    margin: 12px 0 0;
    font-size: clamp(38px, 4vw, 64px);
}

.services-intro > p {
    margin: 0;
    color: rgba(23, 25, 26, .78);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 1500px;
    margin: 0 auto;
}

.service-card {
    display: flex;
    min-height: 600px;
    padding: 36px;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgba(23, 25, 26, .18);
    border-radius: 16px;
    background: #FFFDFD;
    transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:target {
    outline: 3px solid #506E52;
    outline-offset: 5px;
    scroll-margin-top: 24px;
}

.service-card--green {
    background: rgba(162, 200, 163, .8);
}

.service-card--rose {
    background: rgba(196, 151, 153, .55);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(23, 25, 26, .12);
}

.service-number {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid #506E52;
    border-radius: 50%;
    color: #506E52;
    font-family: Prompt;
    font-weight: 600;
}

.service-card h3 {
    min-height: 86px;
    margin: 32px 0 16px;
    font-size: 30px;
}

.service-card p {
    margin: 0 0 24px;
    color: rgba(23, 25, 26, .78);
    font-size: 19px;
}

.service-card ul {
    display: grid;
    gap: 12px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
    font-family: Prompt;
    font-size: 17px;
}

.service-card li {
    position: relative;
    padding-left: 22px;
}

.service-card li::before {
    content: "";
    position: absolute;
    top: .55em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #506E52;
}

.service-card .btn {
    margin-top: auto;
}

.service-image-break {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
    min-height: 390px;
    margin: 32px 0;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(162, 200, 163, .8);
}

.service-image-break img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
}

.service-image-break figcaption {
    display: flex;
    padding: clamp(40px, 6vw, 88px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.service-image-break h3 {
    max-width: 700px;
    margin: 16px 0 0;
    font-size: clamp(32px, 4vw, 58px);
    line-height: 1.1;
}

.service-image-break--reverse {
    grid-template-columns: minmax(0, 1.3fr) minmax(240px, .7fr);
    background: rgba(196, 151, 153, .55);
}

.service-image-break--reverse img {
    grid-column: 2;
}

.service-image-break--reverse figcaption {
    grid-column: 1;
    grid-row: 1;
}

.services-final-cta {
    display: flex;
    width: 100%;
    padding: 120px 32px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #C49799;
}

.services-final-cta h2 {
    margin: 16px 0;
    font-size: clamp(38px, 4vw, 64px);
}

.services-final-cta > p:not(.services-kicker) {
    max-width: 680px;
    margin: 0 0 32px;
}

/* Company details page */
.company-page {
    width: 100%;
}

.company-hero {
    display: flex;
    min-height: 620px;
    padding: 100px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: #C49799;
}

.company-hero h1 {
    max-width: 900px;
    margin: 16px 0 24px;
    font-size: clamp(48px, 6vw, 88px);
    line-height: 1.03;
}

.company-hero > p:not(.services-kicker) {
    max-width: 680px;
}

.company-section-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
}

.company-section-nav a {
    padding: 12px 18px;
    border: 1px solid rgba(23, 25, 26, .55);
    border-radius: 999px;
    color: #17191A;
    font-family: Prompt;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.company-section-nav a:hover {
    color: #fff;
    background: #506E52;
}

.company-section {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    min-height: 720px;
    column-gap: 100px;
    row-gap: 72px;
    padding: 140px 100px;
    align-items: center;
    scroll-margin-top: 24px;
}

.company-about-image {
    grid-column: 1 / -1;
    width: 100%;
    height: clamp(380px, 38vw, 580px);
    margin: 24px 0 0;
    overflow: hidden;
    border-radius: 16px;
}

.company-about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-careers-image {
    width: 100%;
    max-width: 560px;
    height: 640px;
    margin: 0;
    justify-self: end;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(196, 151, 153, .55);
}

.company-careers-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-section h2 {
    max-width: 700px;
    margin: 16px 0 0;
    font-size: clamp(38px, 4.4vw, 68px);
    line-height: 1.08;
}

.company-copy {
    display: flex;
    max-width: 720px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.company-copy p {
    margin: 0;
    color: rgba(23, 25, 26, .78);
    font-size: 20px;
}

.company-panel {
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    background: rgba(162, 200, 163, .8);
}

.company-careers-content {
    display: flex;
    max-width: 720px;
    flex-direction: column;
    align-items: flex-start;
}

.company-careers-content .company-copy {
    margin-top: 40px;
}

.company-email-button {
    margin-top: 12px;
}

/* Responsive layout */
@media (min-width: 1720px) {
    .navigation,
    .your-advisors,
    .contact-us,
    .choose-us,
    .footer {
        padding-inline: var(--wide-screen-gutter);
    }

    .hero-text {
        top: 230px;
        left: var(--wide-screen-gutter);
    }

    .navigation {
        justify-content: flex-start;
        gap: 16px;
    }

    .menu_and_contact {
        margin-left: auto;
        padding-right: 0;
        gap: 32px;
    }

    .menu {
        width: auto;
        padding-right: 0;
    }

    .advisor-hero {
        width: 100%;
        max-width: none;
        justify-content: space-between;
        gap: clamp(64px, 4vw, 88px);
    }

    .advisor-hero > h2 {
        flex: 0 0 220px;
    }

    .business-type {
        flex: 1 1 0;
        max-width: 380px;
    }

    .business-type > img,
    .business-text {
        width: 100%;
    }
}

@media (max-width: 1280px) {
    .navigation {
        padding-inline: 40px;
        gap: 32px;
    }

    .menu {
        width: auto;
        padding-right: 20px;
        gap: 24px;
    }

    .your-advisors {
        padding: 80px 56px;
        gap: 64px;
    }

    .advisor-hero {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .advisor-hero > h2 {
        grid-column: 1 / -1;
    }

    .business-text {
        width: 100%;
    }

    .contact-us {
        padding: 120px 56px;
        gap: 56px;
    }

    .contact-us-text,
    .contact-us-boxes {
        min-width: 0;
    }

    .box {
        width: 100%;
    }

    .choose-us {
        padding: 180px 56px;
        gap: 56px;
    }

    .footer {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 72px 56px;
        gap: 64px;
    }

    .company-details,
    .list,
    .info {
        width: 100%;
    }

    .services-hero-copy,
    .services-hero-note {
        padding: 80px 56px;
    }

    .services-page {
        padding: 100px 56px 120px;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .contact-us {
        grid-template-columns: 1fr;
    }

    .contact-us-boxes {
        max-width: 760px;
    }

    .company-section {
        gap: 56px;
        padding-inline: 56px;
    }
}

@media (max-width: 820px) {
    .navigation {
        height: auto;
        max-height: none;
        min-height: 100px;
        padding: 12px 24px;
        gap: 16px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .navigation > img {
        width: 54px;
    }

    .navigation > .text-logo {
        width: 104px;
        margin-right: auto;
    }

    .menu-toggle {
        display: flex;
    }

    .menu_and_contact {
        display: none;
        width: 100%;
        padding: 0;
        border-top: 1px solid rgba(23, 25, 26, .2);
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .menu_and_contact.is-open {
        display: flex;
    }

    .menu {
        width: 100%;
        padding: 10px 0;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .menu h3 {
        width: 100%;
        margin: 0;
        padding: 12px 4px;
        border-bottom: 1px solid rgba(23, 25, 26, .12);
    }

    .menu a {
        width: 100%;
        padding: 12px 4px;
        border-bottom: 1px solid rgba(23, 25, 26, .12);
        font-size: 20px;
    }

    .menu_and_contact .btn {
        width: 100%;
        margin-bottom: 8px;
    }

    .hero {
        min-height: 620px;
        height: calc(100svh - 154px);
        max-height: 785px;
        display: flex;
        align-items: flex-end;
        background-position: center;
        padding: 32px 24px;
    }

    .hero-text {
        position: static;
        width: min(649px, 100%);
        max-width: none;
    }

    .your-advisors {
        padding: 72px 32px;
        gap: 56px;
    }

    .advisor-hero {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .business-type {
        gap: 28px;
    }

    .business-type > img {
        width: min(300px, 100%);
    }

    .contact-us {
        padding: 88px 32px;
    }

    .contact-us-text {
        width: 100%;
    }

    .contact-us-boxes {
        width: 100%;
    }

    .choose-us {
        padding: 112px 32px;
        align-items: flex-start;
        flex-direction: column;
        gap: 48px;
    }

    .splitter {
        width: 100%;
        height: 4px;
        padding: 0 16px;
    }

    .quote {
        gap: 48px;
    }

    .footer {
        padding: 64px 32px;
        gap: 56px 32px;
    }

    .services-hero {
        grid-template-columns: 1fr;
    }

    .services-hero-copy {
        border-right: 0;
        border-bottom: 1px solid rgba(23, 25, 26, .2);
    }

    .services-hero-copy,
    .services-hero-note {
        padding: 72px 32px;
    }

    .services-intro {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-image-break,
    .service-image-break--reverse {
        grid-template-columns: 1fr;
        margin-block: 24px;
    }

    .service-image-break img,
    .service-image-break--reverse img {
        grid-column: 1;
        grid-row: 1;
        min-height: 320px;
        max-height: 440px;
    }

    .service-image-break figcaption,
    .service-image-break--reverse figcaption {
        grid-column: 1;
        grid-row: 2;
        padding: 48px 32px;
    }

    .service-card {
        min-height: auto;
    }

    .service-card h3 {
        min-height: 0;
    }

    .company-hero {
        min-height: 540px;
        padding: 80px 32px;
    }

    .company-section {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 88px 32px;
    }

    .company-careers-image {
        max-width: 460px;
        height: 520px;
        justify-self: center;
    }
}

@media (max-width: 560px) {
    body {
        --mobile-gutter: clamp(16px, 5vw, 24px);
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 20px;
    }

    p {
        font-size: 18px;
    }

    .navigation {
        column-gap: 10px;
        padding-inline: var(--mobile-gutter);
    }

    .company-hero {
        min-height: 500px;
        padding: 64px var(--mobile-gutter);
    }

    .company-hero h1 {
        font-size: 42px;
    }

    .company-section {
        gap: 36px;
        padding: 72px var(--mobile-gutter);
    }

    .company-about-image {
        height: 320px;
        margin-top: 12px;
    }

    .company-careers-image {
        height: 420px;
    }

    .company-careers-content .company-copy {
        margin-top: 28px;
    }

    .company-section-nav {
        gap: 8px;
        margin-top: 28px;
    }

    .company-section-nav a {
        padding: 9px 13px;
        font-size: 14px;
    }

    .company-copy p {
        font-size: 18px;
    }


    .navigation > img {
        width: 44px;
    }

    .navigation > .text-logo {
        width: clamp(88px, 27vw, 104px);
        min-width: 0;
        margin-block: 0;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
    }

    .menu {
        gap: 0;
    }

    .menu h3 {
        font-size: 16px;
    }

    .hero {
        min-height: 580px;
        height: auto;
        padding: 72px var(--mobile-gutter) 24px;
    }

    .hero-text {
        padding: 16px;
    }

    .your-advisors,
    .contact-us {
        padding: 64px var(--mobile-gutter);
    }

    .your-advisors {
        gap: 48px;
    }

    .advisor-hero {
        gap: 48px;
    }

    .business-type {
        gap: 24px;
    }

    .contact-us-text {
        gap: 32px;
    }

    .box {
        padding: 20px;
        gap: 24px;
    }

    .choose-us {
        padding: 80px var(--mobile-gutter);
        gap: 36px;
    }

    .quote {
        gap: 36px;
    }

    .footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 48px var(--mobile-gutter);
        gap: 40px 24px;
    }

    .footer-legal {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-legal nav {
        justify-content: flex-start;
    }

    .legal-page {
        padding: 64px var(--mobile-gutter) 88px;
    }

    .footer .service-contacts {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: start;
        gap: 20px;
        padding-bottom: 32px;
        border-bottom: 1px solid rgba(23, 25, 26, .2);
    }

    .footer .service-contacts > img {
        width: 48px;
    }

    .footer .company-details {
        grid-column: 1 / -1;
        padding-top: 8px;
    }

    .footer .company-details .list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
    }

    .footer h2 {
        font-size: 19px;
    }

    .footer p {
        font-size: 14px;
        line-height: 1.45;
    }

    .footer .list a {
        font-size: 14px;
        line-height: 1.45;
    }

    .footer .services,
    .footer .company-details {
        gap: 12px;
    }

    .footer .list,
    .footer .info {
        gap: 7px;
    }

    .services-hero-copy,
    .services-hero-note,
    .services-page {
        padding: 64px var(--mobile-gutter);
    }

    .services-hero-copy h1 {
        font-size: 42px;
    }

    .service-card {
        padding: 28px 24px;
    }

    .service-card h3 {
        font-size: 26px;
    }

    .service-card .btn {
        width: 100%;
    }

    .services-final-cta {
        padding: 80px var(--mobile-gutter);
    }
}

@media (max-width: 380px) {
    .navigation > img {
        width: 40px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
        padding: 9px;
    }

    .footer {
        grid-template-columns: 1fr;
    }

    .footer .service-contacts,
    .footer .company-details {
        grid-column: auto;
    }

    .footer .company-details .list {
        grid-template-columns: 1fr;
    }
}
