.tg-chrome-container {
    width: min(1200px, calc(100% - 80px));
    margin-inline: auto;
}

.tg-header {
    position: relative;
    z-index: 30;
    height: 66px;
    background: #fcfbf8;
    border-bottom: 1px solid #e8e7e1;
    color: #07252e;
}

.tg-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.tg-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 27px;
    font-weight: 400;
    letter-spacing: -1px;
    line-height: 1;
    white-space: nowrap;
}

.tg-logo-mark {
    flex: 0 0 auto;
}

.tg-desktop-nav {
    display: flex;
    align-self: stretch;
    align-items: center;
    gap: 29px;
    margin-left: 38px;
    margin-right: auto;
    font-size: 12px;
    font-weight: 600;
}

.tg-desktop-nav a {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.tg-desktop-nav a[aria-current='page']::after,
.tg-desktop-nav .tg-services-trigger[aria-current='true']::after {
    position: absolute;
    content: '';
    bottom: 15px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #075961;
}

.tg-desktop-nav a:hover {
    color: #087c82;
}

.tg-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 41px;
    padding: 11px 16px;
    border: 1px solid #03444b;
    border-radius: 7px;
    background: linear-gradient(110deg, #04515b, #003c44);
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .045);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.tg-services-dropdown {
    position: relative;
    height: 100%;
}

.tg-services-trigger { gap: 6px; }

.tg-services-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    z-index: 1;
    width: 320px;
    padding: 10px;
    border: 1px solid #dfe6f1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 32, 75, .16);
    visibility: hidden;
    opacity: 0;
    transform: translateX(-50%);
    transition: opacity .15s ease, visibility .15s ease;
}

.tg-services-dropdown:hover .tg-services-menu,
.tg-services-dropdown:focus-within .tg-services-menu {
    visibility: visible;
    opacity: 1;
}

.tg-desktop-nav .tg-services-menu a {
    display: block;
    height: auto;
    padding: 11px 13px;
    border-radius: 6px;
    color: #061849;
    font-size: 13px;
    line-height: 1.35;
}

.tg-desktop-nav .tg-services-menu a:hover,
.tg-desktop-nav .tg-services-menu a:focus-visible {
    color: #075961;
    background: #f1f6f7;
}

.tg-header-cta:hover,
.tg-mobile-menu .tg-mobile-cta:hover {
    background: #086770;
}

.tg-header a:focus-visible,
.tg-footer a:focus-visible,
.tg-mobile-menu summary:focus-visible {
    outline: 2px solid #38a2a4;
    outline-offset: 5px;
}

.tg-mobile-menu {
    display: none;
}

.tg-footer {
    position: relative;
    color: #e9f4f1;
    background: linear-gradient(110deg, #063c44, #00353c);
    padding: 20px 0 9px;
}

.tg-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .65fr 1.15fr 1.05fr;
    gap: 52px;
    align-items: start;
}

.tg-footer .tg-logo {
    margin: 0 0 11px;
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -.7px;
}

.tg-footer-brand p {
    margin: 0;
    color: #e4efed;
    font-size: 12px;
    line-height: 1.6;
}

.tg-footer-connect {
    display: flex;
    gap: 16px;
    margin-top: 15px;
}

.tg-footer-connect a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 28px;
    font-size: 16px;
    line-height: 1;
}

.tg-footer-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.tg-footer h2 {
    margin: 1px 0 8px;
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}

.tg-footer nav > a {
    display: block;
    width: fit-content;
    color: #e2eeeb;
    font-size: 11.5px;
    line-height: 1.38;
}

.tg-footer a:hover {
    color: #99ddda;
}

.tg-footer-contact address,
.tg-footer-contact > a {
    display: flex;
    gap: 10px;
    margin: 0 0 8px;
    font-size: 11.5px;
    line-height: 1.45;
    font-style: normal;
}

.tg-footer-contact .tg-footer-icon {
    width: 14px;
    height: 14px;
    margin-top: 1px;
}

.tg-footer-contact span {
    overflow-wrap: anywhere;
}

.tg-footer-legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
    min-height: 28px;
    margin-top: 13px;
    padding-top: 8px;
    border-top: 1px solid rgba(218, 241, 235, .18);
    color: #c7dcd7;
    font-size: 10.5px;
    line-height: 1.4;
}

.tg-footer-legal > span {
    flex: 0 0 auto;
}

.tg-footer-legal nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px 18px;
}

.tg-footer .tg-footer-legal nav > a {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.tg-footer .tg-footer-legal nav > a:hover {
    color: #99ddda;
}

.tg-skip-link {
    position: absolute;
    top: 8px;
    left: 20px;
    z-index: 50;
    padding: 12px 18px;
    border-radius: 6px;
    color: #fff;
    background: #034b54;
    transform: translateY(-160%);
}

.tg-skip-link:focus { transform: translateY(0); }

@media (max-width: 1150px) {
    .tg-chrome-container { width: calc(100% - 64px); }
    .tg-header-inner { gap: 22px; }
    .tg-desktop-nav { gap: 21px; margin-left: 8px; }
    .tg-logo { font-size: 24px; }
    .tg-header-cta { padding-inline: 12px; font-size: 11px; }
    .tg-footer-grid { gap: 30px; grid-template-columns: 1.25fr .65fr 1.2fr 1.15fr; }
}

@media (max-width: 940px) {
    .tg-desktop-nav, .tg-header-cta { display: none; }
    .tg-header { height: 68px; }
    .tg-mobile-menu { display: block; }
    .tg-mobile-menu summary { display: flex; align-items: center; gap: 10px; padding: 10px 0 10px 10px; cursor: pointer; list-style: none; font-size: 13px; font-weight: 600; }
    .tg-mobile-menu summary::-webkit-details-marker { display: none; }
    .tg-mobile-menu nav { position: absolute; top: calc(100% - 1px); left: 0; right: 0; display: grid; gap: 3px; padding: 18px 32px 24px; background: #fcfbf8; border-bottom: 1px solid #d9e5e1; box-shadow: 0 12px 16px rgba(0, 46, 52, .08); }
    .tg-mobile-menu nav a { display: block; padding: 12px 4px; font-size: 15px; }
    .tg-mobile-menu nav a[aria-current='page'] { color: #087379; }
    .tg-mobile-menu nav a:hover { color: #087379; }
    .tg-mobile-menu nav { max-height: calc(100dvh - 68px); overflow-y: auto; }
    .tg-mobile-menu .tg-mobile-services summary { justify-content: space-between; padding: 12px 4px; font-size: 15px; font-weight: 400; }
    .tg-mobile-services[open] summary span { transform: rotate(180deg); }
    .tg-mobile-service-links { padding: 4px 10px; border: 1px solid #dfe6f1; border-radius: 10px; background: #fff; }
    .tg-mobile-menu .tg-mobile-service-links a { padding: 11px 8px; color: #061849; font-size: 13px; line-height: 1.4; }
    .tg-mobile-menu .tg-mobile-cta { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 14px 16px; border-radius: 6px; background: #034b54; color: #fff; }
    .tg-footer { padding: 32px 0; }
    .tg-footer-grid { grid-template-columns: 1.1fr 1fr; gap: 32px 52px; }
    .tg-footer nav > a { font-size: 13px; line-height: 1.7; }
    .tg-footer-contact address, .tg-footer-contact > a, .tg-footer-brand p { font-size: 13px; }
    .tg-footer h2 { font-size: 15px; margin-bottom: 10px; }
    .tg-footer-legal { margin-top: 24px; font-size: 11px; }
}

@media (max-width: 540px) {
    .tg-chrome-container { width: calc(100% - 40px); }
    .tg-header { height: 64px; }
    .tg-logo { font-size: 23px; gap: 7px; }
    .tg-header .tg-logo-mark { width: 25px; height: 30px; }
    .tg-mobile-menu nav { padding-inline: 20px; }
    .tg-footer-grid { grid-template-columns: .8fr 1.2fr; gap: 28px 24px; }
    .tg-footer-brand, .tg-footer-contact { grid-column: 1 / -1; }
    .tg-footer .tg-logo { margin-bottom: 12px; }
    .tg-footer-brand p br { display: none; }
    .tg-footer nav > a { line-height: 1.5; padding-block: 5px; }
    .tg-footer-connect { margin-top: 12px; }
    .tg-footer-legal { align-items: flex-start; flex-direction: column; gap: 12px; padding-top: 16px; }
    .tg-footer-legal nav { justify-content: flex-start; gap: 10px 18px; }
}
