:root {
    --bg: #f4f8fb;
    --surface: #ffffff;
    --ink: #082d59;
    --muted: #4d6783;
    --line: #c5d7e8;
    --brand: #082d59;
    --dam: #16a8a2;
    --dam-soft: #e5f8f6;
    --managed: #0f3f70;
    --managed-soft: #eaf2f9;
    --it: #0a5a97;
    --it-soft: #e8f1fa;
    --contact: #119f9a;
    --contact-soft: #e8f8f6;
    --radius: 18px;
    --shadow: 0 20px 45px rgba(8, 33, 62, 0.09);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at 85% 5%, #dff7f5 0%, transparent 42%), var(--bg);
    line-height: 1.55;
}

h1,
h2,
h3 {
    font-family: 'Literata', Georgia, serif;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.container {
    width: min(1140px, 92vw);
    margin: 0 auto;
}

.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(75px);
    opacity: 0.26;
    z-index: -1;
}

.orb-1 {
    width: 360px;
    height: 360px;
    top: -120px;
    left: -60px;
    background: #d3e4f5;
}

.orb-2 {
    width: 320px;
    height: 320px;
    right: -60px;
    bottom: 8%;
    background: #c7f0eb;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(244, 248, 251, 0.9);
    border-bottom: 1px solid rgba(8, 45, 89, 0.14);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    font-weight: 700;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--dam));
    font-size: 0.88rem;
    letter-spacing: 0.04em;
}

.brand-logo {
    max-height: 42px;
    width: auto;
    display: block;
}

.brand-text {
    font-size: 1rem;
}

.menu-toggle {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    border-radius: 999px;
    padding: 0.5rem 0.85rem;
    font: inherit;
}

.site-nav {
    display: none;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.site-nav a {
    text-decoration: none;
    padding: 0.48rem 0.72rem;
    border-radius: 999px;
    font-size: 0.92rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    background: rgba(8, 45, 89, 0.13);
}

.site-nav a.accent-dam.active {
    background: rgba(22, 168, 162, 0.19);
}

.site-nav a.accent-managed.active {
    background: rgba(15, 63, 112, 0.2);
}

.site-nav a.accent-it.active {
    background: rgba(10, 90, 151, 0.2);
}

.site-nav a.accent-contact.active {
    background: rgba(17, 159, 154, 0.2);
}

.site-nav.open {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-bottom: 0.9rem;
}

.hero {
    padding: 4rem 0 2rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 6.6vw, 4.4rem);
    margin: 0 0 1rem;
}

.kicker {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    margin-bottom: 0.8rem;
    color: var(--brand);
    font-weight: 700;
}

.kicker-dam {
    color: var(--dam);
}

.kicker-managed {
    color: var(--managed);
}

.kicker-it {
    color: var(--it);
}

.kicker-contact {
    color: var(--contact);
}

.hero p {
    max-width: 64ch;
    color: var(--muted);
}

.hero-cta,
.button,
button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.05rem;
    border-radius: 12px;
    border: 0;
    text-decoration: none;
    font-weight: 700;
    background: var(--brand);
    color: #fff;
    cursor: pointer;
    transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.2s ease;
}

.button:hover,
.hero-cta:hover,
button.button:hover {
    transform: translateY(-2px);
    opacity: 0.95;
    box-shadow: 0 6px 16px rgba(8, 45, 89, 0.18);
}

.button:focus {
    outline: 2px solid var(--dam);
    outline-offset: 2px;
}

.button.alt {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
}

.button.alt:hover {
    background: rgba(8, 45, 89, 0.06);
}

.grid {
    display: grid;
    gap: 1rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem;
    box-shadow: var(--shadow);
}

.card h3 {
    margin-top: 0.2rem;
}

.card.dam {
    background: var(--dam-soft);
    border-color: #c8e6dd;
}

.card.managed {
    background: var(--managed-soft);
    border-color: #f0ddbe;
}

.card.it {
    background: var(--it-soft);
    border-color: #d2e3f5;
}

.badge-strip {
    margin-top: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    border: 1px dashed rgba(22, 168, 162, 0.44);
    background: rgba(22, 168, 162, 0.1);
    border-radius: 14px;
    padding: 0.6rem 0.8rem;
    color: #0b6663;
    font-size: 0.95rem;
}

.badge-strip img {
    width: 36px;
    height: 36px;
}

.section {
    padding: 2.2rem 0;
}

.section h2 {
    margin-top: 0;
}

.site-footer {
    margin-top: 3rem;
    border-top: 1px solid var(--line);
    background: #fff;
    padding: 2.1rem 0 1rem;
}

.footer-grid {
    display: grid;
    gap: 1.2rem;
}

.footer-title {
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.footer-links {
    margin: 0;
    padding-left: 1rem;
}

.footer-meta {
    border-top: 1px solid var(--line);
    margin-top: 1.2rem;
    padding-top: 0.95rem;
    color: var(--muted);
}

.page-header {
    padding: 3rem 0 1rem;
}

.page-header p {
    color: var(--muted);
    max-width: 66ch;
}

.subpage-grid {
    display: grid;
    gap: 0.75rem;
}

.subpage-grid a {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 0.9rem;
    font-weight: 500;
}

.contact-layout {
    display: grid;
    gap: 1rem;
}

.map-embed {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.85rem;
    background: #edf5fb;
}

.map-embed iframe {
    width: 100%;
    min-height: 220px;
    border: 0;
}

.division-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 0 1rem;
}

.division-choices label {
    border-radius: 999px;
    border: 1px solid var(--line);
    padding: 0.45rem 0.7rem;
    cursor: pointer;
    background: #fff;
    font-size: 0.92rem;
}

.division-choices input {
    margin-right: 0.35rem;
}

.form-grid {
    display: grid;
    gap: 0.72rem;
}

label span {
    display: block;
    font-weight: 600;
    margin-bottom: 0.22rem;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #b9cede;
    border-radius: 10px;
    padding: 0.7rem;
    font: inherit;
    background: #fff;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.form-note,
.form-error {
    font-size: 0.95rem;
    margin-top: 0.6rem;
}

.form-note {
    color: var(--dam);
}

.form-error {
    color: #ac2f34;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease-out;
}

.reveal:nth-child(1).visible {
    animation-delay: 0.05s;
}

.reveal:nth-child(2).visible {
    animation-delay: 0.1s;
}

.reveal:nth-child(3).visible {
    animation-delay: 0.15s;
}

.reveal:nth-child(4).visible {
    animation-delay: 0.2s;
}

.reveal:nth-child(5).visible {
    animation-delay: 0.25s;
}

.button.loading::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.button:hover,
.button:focus {
    box-shadow: 0 4px 12px rgba(8, 45, 89, 0.2);
}

.button:active {
    transform: translateY(0);
}

.accordion-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.1rem;
    background: var(--surface);
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    font-size: 1rem;
    text-align: left;
    color: var(--ink);
    transition: background-color 0.2s ease;
}

.accordion-header:hover {
    background: rgba(8, 45, 89, 0.05);
}

.accordion-header::after {
    content: '+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--brand);
    font-weight: 700;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.open .accordion-header::after {
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(8, 45, 89, 0.02);
}

.accordion-item.open .accordion-body {
    max-height: 1000px;
}

.accordion-body p {
    margin: 0;
    padding: 1.1rem;
    color: var(--muted);
    line-height: 1.6;
}

@media (min-width: 760px) {
    .menu-toggle {
        display: none;
    }

    .site-nav {
        display: flex;
    }

    .hero {
        padding: 5.2rem 0 2.4rem;
    }

    .grid.cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid.cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.25fr 1fr 1fr;
    }

    .contact-layout {
        grid-template-columns: 1.3fr 1fr;
    }

    .subpage-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
