/*
 * Site chrome – header (nav), skip link, footer, back-to-top.
 * Single source of truth: load css/site-chrome.css on every page; avoid duplicating these rules inline.
 */

.skip-link {
    position: absolute;
    top: -50px;
    left: 16px;
    background: #ffae42;
    color: #072638;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
    z-index: 1001;
    border-radius: 4px;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 14px;
}

/* Navigation */
nav {
    background-color: #072638;
    padding: 14px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
    font-size: 13px;
    line-height: 1.2;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.nav-brand {
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
    letter-spacing: -0.3px;
    opacity: 1;
}

.nav-brand .brand-name {
    color: #ffffff;
}

.nav-brand .brand-location {
    color: #ffae42;
}

.nav-brand:hover .brand-name {
    color: #ffffff;
}

.nav-brand:hover .brand-location {
    color: #ffae42;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0;
    padding: 0;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 500;
    opacity: 0.8;
    transition: all 0.2s ease;
    letter-spacing: 0.2px;
}

nav a:hover {
    opacity: 1;
    color: #ffae42;
}

nav a.nav-cta {
    display: inline-block;
    padding: 5px 12px;
    background: #ffae42;
    color: #072638;
    font-weight: 600;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 1;
}
nav a.nav-cta:hover {
    background: #ffc266;
    color: #072638;
    opacity: 1;
}

/* Accessibility: focus visible */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #ffae42;
    outline-offset: 2px;
}

/* Footer */
footer {
    background-color: #072638;
    color: #ffffff;
    padding: 35px 20px;
    font-size: 13px;
    line-height: 1.5;
}
footer p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}
.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.2;
}

.footer-brand .brand-name {
    color: #ffffff;
}

.footer-brand .brand-location {
    color: #ffae42;
}

.footer-content {
    text-align: right;
    flex: 1;
}

.footer-tagline {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
    color: #ffae42;
    letter-spacing: 0.2px;
}
.footer-legal {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.5;
    opacity: 0.85;
}

.footer-copyright {
    margin-top: 10px;
    opacity: 0.7;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}
.footer-legal a:hover {
    color: #ffae42;
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-content {
        text-align: center;
    }
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #072638;
    color: #fff;
    border: 2px solid #ffae42;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: #ffae42;
    color: #072638;
    transform: translateY(-2px);
}
.back-to-top:focus-visible {
    outline: 2px solid #ffae42;
    outline-offset: 2px;
}
