:root {
    --ace-blue-grey: #5E738A;
    --ace-text: #263746;
    --ace-light: #f5f7f9;
    --ace-border: #d7dee4;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    color: var(--ace-text);
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

.ace-header {
    width: 100%;
    background: var(--ace-blue-grey);
    color: #ffffff;
}

.ace-header-inner {
    width: min(1200px, 94%);
    margin: 0 auto;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.ace-logo {
    display: block;
    width: 110px;
    height: 60px;
    object-fit: contain;
}

.ace-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 22px;
}

.ace-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.ace-nav a:hover,
.ace-nav a:focus {
    text-decoration: underline;
}

.ace-main {
    width: min(1200px, 94%);
    margin: 0 auto;
    padding: 34px 0 10px;
}

.ace-intro {
    text-align: center;
    max-width: 1050px;
    margin: 0 auto 36px;
}

h1 {
    margin: 0 0 20px;
    color: var(--ace-blue-grey);
    font-size: clamp(1.75rem, 4vw, 2.65rem);
    line-height: 1.18;
}

h2 {
    margin: 0 auto;
    max-width: 1000px;
    font-size: clamp(1.05rem, 2.3vw, 1.35rem);
    line-height: 1.5;
    font-weight: 500;
}

h3 {
    color: var(--ace-blue-grey);
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    margin: 0 0 17px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ace-border);
}

.directory-section {
    margin: 0 0 34px;
    padding: 24px;
    background: var(--ace-light);
    border: 1px solid var(--ace-border);
    border-radius: 6px;
}

.directory-list {
    margin: 0;
    padding: 0;
    list-style: none;
    columns: 3 260px;
    column-gap: 36px;
}

.directory-list li {
    break-inside: avoid;
    margin: 0 0 9px;
}

.directory-list a {
    color: #315d82;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.directory-list a:hover,
.directory-list a:focus {
    text-decoration: underline;
}

.ace-content {
    max-width: 900px;
    margin: 0 auto;
}

.ace-content p {
    margin: 0 0 18px;
}

.contact-card {
    max-width: 760px;
    margin: 25px auto;
    padding: 25px;
    background: var(--ace-light);
    border: 1px solid var(--ace-border);
    border-radius: 6px;
}

.contact-card label {
    display: block;
    font-weight: 600;
    margin: 0 0 6px;
}

.contact-card input,
.contact-card textarea {
    width: 100%;
    padding: 11px;
    margin: 0 0 17px;
    border: 1px solid #aeb8c1;
    border-radius: 4px;
    font: inherit;
}

.contact-card textarea {
    min-height: 150px;
    resize: vertical;
}

.ace-button {
    display: inline-block;
    padding: 11px 24px;
    border: 0;
    border-radius: 4px;
    background: var(--ace-blue-grey);
    color: #ffffff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.ace-button:hover,
.ace-button:focus {
    opacity: .9;
}

.ace-footer {
    background-color: var(--ace-blue-grey);
    color: #ffffff;
    padding: 28px 15px;
    margin-top: 40px;
    width: 100%;
}

.ace-footer-inner {
    width: min(1200px, 94%);
    margin: 0 auto;
    text-align: center;
}

.ace-footer p {
    margin: 0 0 10px;
    text-align: center;
}

.ace-footer p:last-child {
    margin-bottom: 0;
}

.ace-footer a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.ace-footer a:hover,
.ace-footer a:focus {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .ace-header-inner {
        min-height: auto;
        padding: 10px 0 14px;
        flex-direction: column;
        align-items: center;
    }

    .ace-nav {
        justify-content: center;
    }

    .ace-main {
        padding-top: 25px;
    }

    .directory-section {
        padding: 18px;
    }

    .directory-list {
        columns: 1;
    }
}
