@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap");


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --navy: #082f4e;
    --gold: #d1a23a;
    --ink: #173653;
    --white: #ffffff;
    --light: #f7f8f9;
    --border: #d9e0e5;
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    color: var(--ink);
    background: var(--white);

    font-family:
        Futura,
        "Century Gothic",
        "Trebuchet MS",
        "Open Sans",
        Arial,
        sans-serif;

    line-height: 1.6;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
}

main {
    display: block;

    margin: 0;
    padding: 0;
}


/* =========================================================
   PAGE BASE
   ========================================================= */

.home-page {
    border-top: 5px solid #202627;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;

    width: 100%;
    height: 128px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 38px;

    padding: 10px 4.1vw;

    background: var(--white);
    border-bottom: 1px solid #e7eaed;
}


/* =========================================================
   HEADER LOGO
   ========================================================= */

.brand {
    position: relative;

    width: 215px;
    height: 104px;
    flex: 0 0 215px;

    display: block;

    overflow: hidden;

    text-decoration: none;
}

.brand img {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 650px;
    height: auto;
    max-width: none;

    transform: translate(-50%, -50%);
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.site-header nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;

    margin-right: 11vw;
}

.site-header nav a {
    position: relative;

    display: inline-block;

    padding: 9px 0;

    color: var(--navy);

    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;

    transition: color 0.2s ease;
}

.site-header nav a:hover {
    color: var(--gold);
}

.site-header nav a.active {
    color: var(--navy);
}

.site-header nav a.active::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: -11px;
    left: 0;

    height: 4px;

    background: var(--gold);
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.menu-toggle {
    display: none;

    padding: 6px;

    border: 0;
    background: transparent;

    color: var(--navy);

    font-size: 28px;
    line-height: 1;

    cursor: pointer;
}


/* =========================================================
   HOME HERO
   ========================================================= */

.reference-hero {
    position: relative;

    width: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: var(--navy);
}

.reference-hero > img {
    width: 100%;
    height: auto;

    margin: 0;

    object-fit: cover;
}

.reference-actions {
    position: absolute;
    left: 2.25%;
    bottom: 7.5%;

    display: grid;
    grid-template-columns: repeat(3, 235px);
    gap: 22px;
}

.reference-actions a {
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 22px;

    border: 2px solid rgba(255, 255, 255, 0.45);
    background: #0a3252;
    box-shadow:
        inset 0 0 0 2px rgba(0, 0, 0, 0.2),
        0 3px 8px rgba(0, 0, 0, 0.3);

    color: var(--white);

    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    text-transform: uppercase;
}

.reference-actions a:first-child {
    border-color: #e7c66f;
    background: #d6aa42;
}

.reference-actions span {
    font-size: 22px;
}


/* =========================================================
   STATISTICS
   ========================================================= */

.home-statistics {
    margin: 0;
    padding: 48px 3.5vw 46px;

    background: var(--white);
}

.home-statistics-inner {
    width: 100%;
    max-width: 1450px;

    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));

    margin: 0 auto;
}

.statistic-item {
    position: relative;

    min-width: 0;

    padding: 0 18px;

    text-align: center;
}

.statistic-item:not(:last-child)::after {
    content: "";

    position: absolute;
    top: 12px;
    right: 0;
    bottom: 2px;

    width: 1px;

    background: var(--border);
}

.statistic-icon {
    position: relative;

    width: 100%;
    height: 82px;

    margin: 0 auto 7px;

    overflow: hidden;
}

.statistic-icon img {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 300px;
    height: 169px;
    max-width: none;

    object-fit: contain;

    transform: translate(-50%, -50%);
}

.statistic-number {
    display: block;

    margin: 0 0 6px;

    color: #063769;

    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}

.statistic-item p {
    margin: 0;

    color: #123e6d;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.38;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}


/* =========================================================
   SPECIALIZATIONS
   ========================================================= */

.home-specializations {
    margin: 0;
    padding: 24px 3.5vw 56px;

    background: var(--white);
}

.home-specializations-inner {
    width: 100%;
    max-width: 1450px;

    margin: 0 auto;
}

.specializations-heading {
    margin: 0 0 30px;

    text-align: center;
}

.specializations-heading h2 {
    margin: 0;

    color: #14395e;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
}

.specializations-heading span {
    width: 55px;
    height: 3px;

    display: block;

    margin: 12px auto 0;

    background: var(--gold);
}

.specializations-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.specialization-card {
    min-height: 205px;

    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: start;
    gap: 18px;

    padding: 28px 24px;

    border: 1px solid var(--border);
    border-radius: 3px;
    background: var(--white);
}

.specialization-icon {
    width: 82px;
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--navy);
}

.specialization-icon svg {
    width: 72px;
    height: 72px;

    fill: currentColor;
}

.specialization-copy {
    min-width: 0;
}

.specialization-copy h3 {
    margin: 0 0 12px;

    color: #15395d;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.specialization-copy p {
    margin: 0;

    color: #263f5a;

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   PROFILO HERO
   ========================================================= */

.profilo-page main {
    min-height: 0;

    margin: 0;
    padding: 0;
}

.profilo-hero {
    position: relative;

    width: 100%;
    aspect-ratio: 1920 / 340;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: var(--navy);
}

.profilo-hero img {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: auto;
    max-width: none;

    margin: 0;

    transform: translateY(-34.259%);
}


/* =========================================================
   PROFILO CONTENT
   ========================================================= */

.profilo-content {
    margin: 0;
    padding: 35px 5vw 52px;

    background: var(--white);
}

.profilo-content-inner {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;
}

.profilo-content p {
    margin: 0 0 17px;

    color: var(--ink);

    font-size: 16px;
    line-height: 1.65;
}

.profilo-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   FOOTER
   ========================================================= */

.reference-footer {
    min-height: 310px;

    display: grid;
    grid-template-columns: 42% 33% 25%;
    gap: 0;

    margin: 0;
    padding: 0;

    color: var(--white);
    background: var(--navy);
}

.reference-footer > div {
    position: relative;

    min-width: 0;
}


/* =========================================================
   FOOTER CONTACT
   ========================================================= */

.footer-contact {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;

    padding: 30px 30px 28px 38px;
}

.footer-contact-inner {
    width: 100%;
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-wordmark {
    width: max-content;

    margin: 0 0 26px 20px;

    color: var(--white);

    line-height: 0.95;
    letter-spacing: 0.19em;
    text-align: center;
}

.footer-wordmark strong {
    display: block;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    font-weight: 500;
}

.wordmark-dots {
    display: flex;
    justify-content: center;
    gap: 11px;

    margin: 0 0 16px;
}

.wordmark-dots i {
    width: 7px;
    height: 7px;

    display: block;

    border-radius: 50%;
    background: var(--white);
}

.footer-contact-list {
    display: grid;
    gap: 10px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-contact-list li {
    min-width: 0;

    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    align-items: center;
    gap: 13px;

    color: var(--white);

    font-size: 17px;
    line-height: 1.25;
}

.footer-contact-list svg {
    width: 31px;
    height: 31px;

    overflow: visible;

    fill: none;
    stroke: var(--gold);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-contact-list a {
    color: var(--white);

    text-decoration: none;
    overflow-wrap: anywhere;
}

.footer-contact-list a:hover {
    text-decoration: underline;
}


/* =========================================================
   FOOTER SOCIAL
   ========================================================= */

.footer-follow {
    display: flex;
    flex-direction: column;
    align-items: center;

    overflow: hidden;

    margin: 50px 0 34px;
    padding: 31px 34px 26px;

    border-left: 6px solid var(--gold);
}

.footer-follow h4 {
    margin: 0 0 34px;

    color: var(--gold);

    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
}

.footer-social-images {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(82px, 1fr));
    align-items: center;
    justify-items: center;
    gap: 14px;

    margin: 0;
}

.footer-social-images a {
    position: relative;

    width: 82px;
    height: 82px;

    display: block;

    overflow: hidden;
}

.footer-social-images img {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 328px;
    height: 185px;
    max-width: none;

    object-fit: contain;

    transform: translate(-50%, -50%);
}

.footer-social-images a:nth-child(2) {
    width: 62px;
    height: 82px;
}

.footer-social-images a:nth-child(2) img {
    width: 248px;
    height: 140px;
}

.footer-social-images a:nth-child(3) {
    width: 100px;
    height: 86px;
}

.footer-social-images a:nth-child(3) img {
    width: 350px;
    height: 197px;
}


/* =========================================================
   FOOTER ECOSYSTEM
   ========================================================= */

.footer-ecosystem {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    margin: 44px 0 32px;
    padding: 65px 42px 35px 45px;

    border-left: 6px solid var(--gold);
}

.reference-footer h4 {
    margin: 0 0 30px;

    color: var(--gold);

    font-size: 19px;
    font-weight: 400;
}

.footer-ecosystem h4 {
    width: 100%;

    text-align: left;
}

.footer-ecosystem a {
    margin: 0 0 20px;

    color: var(--white);

    font-size: 16px;
    text-decoration: underline;
}


/* =========================================================
   MEDIUM DESKTOP
   ========================================================= */

@media (max-width: 1200px) {

    .site-header {
        gap: 25px;

        padding-right: 3vw;
        padding-left: 3vw;
    }

    .brand {
        width: 185px;
        height: 94px;
        flex-basis: 185px;
    }

    .brand img {
        width: 550px;
    }

    .site-header nav {
        gap: 13px;

        margin-right: 2vw;
    }

    .site-header nav a {
        font-size: 15px;
    }

    .statistic-item {
        padding-right: 10px;
        padding-left: 10px;
    }

    .statistic-number {
        font-size: 34px;
    }

    .statistic-item p {
        font-size: 10px;
    }

    .specialization-card {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 13px;

        padding-right: 16px;
        padding-left: 16px;
    }

    .specialization-icon {
        width: 70px;
        height: 70px;
    }

    .specialization-icon svg {
        width: 62px;
        height: 62px;
    }

    .specialization-copy h3 {
        font-size: 16px;
    }

    .footer-contact-list li {
        font-size: 15px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .site-header nav {
        gap: 11px;

        margin-right: 0;
    }

    .site-header nav a {
        font-size: 14px;
    }

    .reference-actions {
        grid-template-columns: repeat(3, 190px);
        gap: 12px;
    }

    .reference-actions a {
        height: 48px;

        padding: 0 15px;

        font-size: 12px;
    }

    .home-statistics-inner {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 38px;
    }

    .statistic-item:nth-child(4)::after {
        display: none;
    }

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

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

    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-contact-inner {
        max-width: 760px;
    }

    .footer-contact-list li {
        font-size: 17px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .site-header {
        height: 92px;

        padding: 7px 5vw;
    }

    .brand {
        width: 150px;
        height: 74px;
        flex-basis: 150px;
    }

    .brand img {
        width: 450px;
    }

    .menu-toggle {
        display: block;

        margin-left: auto;
    }

    .site-header nav {
        position: absolute;
        top: 92px;
        right: 0;
        left: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        margin: 0;
        padding: 20px 5vw;

        background: var(--white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.13);
    }

    .site-header nav.open {
        display: flex;
    }

    .site-header nav a {
        padding: 13px 0;

        font-size: 16px;

        border-bottom: 1px solid #e8ecef;
    }

    .site-header nav a.active::after {
        right: auto;
        bottom: 5px;

        width: 42px;
        height: 3px;
    }

    .reference-hero > img {
        width: 155%;
        max-width: none;

        transform: translateX(-1%);
    }

    .reference-actions {
        position: static;

        grid-template-columns: 1fr;
        gap: 10px;

        padding: 16px;
    }

    .reference-actions a {
        width: 100%;
        height: 50px;
    }

    .home-statistics {
        padding: 42px 5vw;
    }

    .home-statistics-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 38px;
    }

    .statistic-item:nth-child(odd)::after {
        display: block;
    }

    .statistic-item:nth-child(even)::after,
    .statistic-item:last-child::after {
        display: none;
    }

    .statistic-item:last-child {
        grid-column: 1 / -1;
    }

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

    .specialization-card {
        min-height: 0;

        grid-template-columns: 82px minmax(0, 1fr);

        padding: 24px 20px;
    }

    .specialization-icon {
        width: 82px;
        height: 82px;
    }

    .specialization-icon svg {
        width: 70px;
        height: 70px;
    }

    .profilo-content {
        padding: 30px 6vw 44px;
    }

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

    .footer-contact {
        padding: 32px 24px;
    }

    .footer-wordmark {
        margin-right: auto;
        margin-left: auto;
    }

    .footer-contact-list {
        width: 100%;
        max-width: 680px;

        margin: auto;
    }

    .footer-follow {
        margin: 0 25px;
        padding: 34px 12px 38px;

        border-top: 4px solid var(--gold);
        border-left: 0;
    }

    .footer-social-images {
        max-width: 500px;
    }

    .footer-ecosystem {
        align-items: center;

        margin: 0 25px;
        padding: 32px 15px;

        border-top: 4px solid var(--gold);
        border-left: 0;
    }

    .footer-ecosystem h4 {
        text-align: center;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .site-header {
        height: 84px;
    }

    .brand {
        width: 132px;
        height: 67px;
        flex-basis: 132px;
    }

    .brand img {
        width: 350px;
    }

    .site-header nav {
        top: 84px;
    }

    .home-statistics {
        padding-right: 3vw;
        padding-left: 3vw;
    }

    .statistic-icon {
        height: 68px;
    }

    .statistic-icon img {
        width: 255px;
        height: 144px;
    }

    .statistic-number {
        font-size: 31px;
    }

    .statistic-item p {
        font-size: 9px;
    }

    .specializations-heading h2 {
        font-size: 22px;
    }

    .specialization-card {
        grid-template-columns: 65px minmax(0, 1fr);
        gap: 14px;

        padding: 20px 16px;
    }

    .specialization-icon {
        width: 65px;
        height: 65px;
    }

    .specialization-icon svg {
        width: 58px;
        height: 58px;
    }

    .specialization-copy h3 {
        font-size: 16px;
    }

    .specialization-copy p {
        font-size: 12px;
    }

    .profilo-hero {
        height: 112px;
        aspect-ratio: auto;
    }

    .profilo-hero img {
        left: 50%;

        width: 632px;

        transform:
            translateX(-50%)
            translateY(-34.259%);
    }

    .profilo-content {
        padding: 26px 7vw 38px;
    }

    .profilo-content p {
        font-size: 14px;
    }

    .footer-contact-list li {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 10px;

        font-size: 14px;
    }

    .footer-contact-list svg {
        width: 27px;
        height: 27px;
    }

    .footer-wordmark strong {
        font-size: 26px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .footer-social-images {
        gap: 4px;
    }

    .footer-social-images a {
        transform: scale(0.82);
    }

}