:root {
    --color-primary: #007c8c;
    --color-primary-strong: #005f6b;
    --color-primary-soft: #d9eff2;
    --color-secondary: #ffb300;
    --color-secondary-strong: #d99600;
    --color-accent: #ff3136;
    --color-accent-strong: #d9272c;
    --color-bg: #f9f6ef;
    --color-surface: #ffffff;
    --color-surface-soft: #fdfaf4;
    --color-text: #28403f;
    --color-text-soft: #5f7371;
    --color-border: rgba(40, 64, 63, 0.12);
    --color-border-strong: rgba(0, 124, 140, 0.24);
    --color-success-soft: #abc1ab;
    --color-success-strong: #769378;
    --shadow-soft: 0 12px 32px rgba(53, 78, 75, 0.08);
    --shadow-xs: 0 6px 18px rgba(53, 78, 75, 0.06);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 12px;
    --font-heading: "Bailey", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    --font-body: "Montserrat", "Segoe UI", Arial, sans-serif;
    --bs-primary: var(--color-primary);
    --bs-secondary: var(--color-secondary);
    --bs-danger: var(--color-accent);
    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--color-text);
    --bs-body-bg: var(--color-bg);
    --bs-border-color: var(--color-border);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

main {
    min-height: calc(100vh - 13rem);
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-heading h1,
.section-heading h2,
.brand-text strong {
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: 1.1;
}

h1,
.section-heading h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 0.75rem;
}

h2,
.section-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

p,
li,
label,
input,
select,
textarea,
button,
a,
span,
small {
    font-family: var(--font-body);
}

a {
    color: var(--color-primary);
    text-decoration-color: rgba(0, 124, 140, 0.35);
    text-underline-offset: 0.18em;
}

a:hover,
a:focus {
    color: var(--color-primary-strong);
}

.lead {
    font-size: 1.05rem;
    color: var(--color-text-soft);
    max-width: 42rem;
}

.text-muted {
    color: var(--color-text-soft) !important;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
}

.eyebrow::before {
    content: "";
    width: 1.75rem;
    height: 1px;
    background: currentColor;
    opacity: 0.45;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(0, 124, 140, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 61, 69, 0.16);
    backdrop-filter: blur(12px);
}

.site-main {
    display: block;
}

.site-footer {
    background: #13454e;
    color: rgba(255, 255, 255, 0.86);
    padding: 1.5rem 0;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #ffffff;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
    color: #ffffff;
}

.brand-mark:hover,
.brand-mark:focus {
    color: #ffffff;
}

.brand-logo {
    height: 80px;
    width: auto;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-text strong {
    font-size: 1.1rem;
    color: #ffffff;
}

.brand-text small {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.76);
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link.active {
    color: #ffffff;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.24);
}

.navbar-light .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.section-white,
.section-light {
    padding: 4.5rem 0;
}

.section-white {
    background: var(--color-bg);
}

.section-light {
    background: linear-gradient(180deg, rgba(171, 193, 171, 0.16) 0%, rgba(249, 246, 239, 0.95) 100%);
}

.section-heading {
    margin-bottom: 2rem;
}

.narrow {
    max-width: 760px;
}

.narrow-wide {
    max-width: 980px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    height: 52px;
    width: auto;
    display: block;
}

@media (max-width: 767.98px) {
    .section-white,
    .section-light {
        padding: 3.5rem 0;
    }

    .brand-logo {
        height: 56px;
    }

    .brand-text strong {
        font-size: 1rem;
    }
}
