/* layout.css — site header, footer, page hero, CTA section */

/* ── Site header ──────────────────────────────────────────────────── */
.site-header {
    position: relative;
    z-index: 20;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(16, 43, 76, 0.1);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--navy);
    text-decoration: none;
}

.brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.brand-name {
    display: flex;
    flex-direction: column;
    font-size: 0.69rem;
    line-height: 1.05;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.brand-name strong {
    font-size: 1.06rem;
    letter-spacing: 0.05em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav a {
    position: relative;
    padding: 10px 16px;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border-radius: 8px;
}

.site-nav a:hover {
    background: rgba(183, 226, 248, 0.3);
}

.site-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 5px;
    left: 16px;
    height: 2px;
    background: var(--blue);
}

/* ── Page hero (used on inner pages like /contact) ────────────────── */
.page-hero {
    position: relative;
    overflow: hidden;
    color: var(--off-white);
    background: var(--navy);
}

.page-hero::after {
    content: "";
    position: absolute;
    top: -190px;
    right: 7%;
    width: 390px;
    height: 390px;
    border: 80px solid rgba(91, 192, 232, 0.14);
    transform: rotate(45deg);
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 100px;
    align-items: end;
    padding-block: 76px 84px;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.1rem);
}

.page-hero-inner > p {
    margin: 0 0 7px;
    color: rgba(248, 249, 250, 0.72);
    font-size: 1.06rem;
}

/* ── CTA band (below home content) ───────────────────────────────── */
.cta-section {
    color: var(--off-white);
    background: var(--navy);
}

.cta-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 100px;
    align-items: center;
    padding-block: 74px;
}

.cta-inner h2 {
    max-width: 680px;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.cta-inner > div:last-child p {
    margin: 0 0 25px;
    color: rgba(248, 249, 250, 0.7);
}

/* ── Site footer ──────────────────────────────────────────────────── */
.site-footer {
    color: rgba(248, 249, 250, 0.67);
    background: var(--navy-deep);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.55fr 0.85fr;
    gap: 80px;
    padding-block: 68px 50px;
}

.brand-light {
    color: var(--off-white);
}

.brand-light img {
    width: 48px;
    height: 48px;
}

.footer-brand p {
    max-width: 390px;
    margin: 20px 0 0;
    font-size: 0.9rem;
}

.site-footer h2 {
    margin: 0 0 17px;
    color: var(--off-white);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-nav {
    display: grid;
    gap: 9px;
}

.footer-nav a {
    width: max-content;
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--blue);
}

.site-footer address {
    font-style: normal;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-block: 20px;
    font-size: 0.74rem;
    border-top: 1px solid rgba(248, 249, 250, 0.12);
}

.footer-bottom p {
    margin: 0;
}
