* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #14264a;
    background: #eef5fb;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
    color: #ffffff;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 17px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: inherit;
    font-size: 10px;
    line-height: 1.05;
    letter-spacing: 0.08em;
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 22px;
}

.main-nav {
    display: flex;
    gap: 19px;
    margin-left: auto;
    font-size: 11px;
}

.main-nav a {
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: #45d2fa;
    border-bottom-color: #45d2fa;
}

.search-icon {
    padding: 0;
    border: 0;
    color: #ffffff;
    background: transparent;
    font-size: 23px;
    cursor: pointer;
}

.contact-hero {
    position: relative;
    min-height: 310px;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 78% 43%, #1c9fe7 0, #07528d 18%, transparent 45%),
        linear-gradient(105deg, #03142f 0%, #06295b 50%, #061a42 100%);
}

.hero-scene {
    position: absolute;
    top: 0;
    right: 0;
    width: 61%;
    height: 100%;
    opacity: 0.78;
    background:
        radial-gradient(circle at 68% 27%, #a9f2ff 0 2%, transparent 3%),
        radial-gradient(circle at 66% 38%, #369ee1 0 18%, transparent 19%),
        radial-gradient(circle at 78% 56%, #07579c 0 30%, transparent 31%),
        linear-gradient(145deg, transparent 0 41%, #0d6db9 42% 45%, transparent 46%),
        linear-gradient(145deg, #061a3f, #138fd2 53%, #031735);
}

.hero-scene::before {
    content: "";
    position: absolute;
    right: 5%;
    bottom: 0;
    width: 48%;
    height: 91%;
    background: linear-gradient(145deg, transparent 0 27%, #101925 28% 100%);
    clip-path: polygon(40% 0, 64% 9%, 80% 31%, 100% 100%, 0 100%, 24% 42%);
}

.hero-scene::after {
    content: "";
    position: absolute;
    right: 20%;
    bottom: 0;
    width: 68%;
    height: 27%;
    opacity: 0.82;
    background: repeating-linear-gradient(90deg, #071426 0 12px, #204b72 13px 17px);
    clip-path: polygon(0 36%, 100% 0, 100% 100%, 0 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #03142f 0%, #03142fdf 34%, #03142f44 73%, #03142f11 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: 310px;
    flex-direction: column;
    justify-content: center;
    padding-top: 32px;
}

.eyebrow {
    margin: 0;
    color: #5ed8fb;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.eyebrow.blue {
    color: #167dd8;
}

.hero-content h1 {
    margin: 10px 0 12px;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 0.96;
    letter-spacing: -1.5px;
}

.hero-content h1 span {
    color: #16a9f1;
}

.hero-content p:not(.eyebrow) {
    max-width: 430px;
    margin: 0;
    color: #d9eafa;
    font-size: 13px;
    line-height: 1.45;
}

.contact-details {
    position: relative;
    z-index: 3;
    margin-top: -22px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid #dce6f0;
    border-radius: 7px;
    background: #ffffff;
    box-shadow: 0 8px 22px #183b6b18;
}

.detail-card {
    display: flex;
    gap: 12px;
    min-height: 94px;
    align-items: flex-start;
    padding: 16px;
    border-right: 1px solid #e1e9f1;
}

.detail-card:last-child {
    border-right: 0;
}

.detail-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border: 5px solid #e8f3ff;
    border-radius: 50%;
    color: #087bea;
    background: #ffffff;
    box-shadow: 0 0 0 1px #b9dcff;
    font-size: 17px;
}

.detail-card h3 {
    margin: 1px 0 5px;
    font-size: 12px;
}

.detail-card p,
.detail-card a,
.muted-note {
    display: block;
    margin: 0;
    color: #687a92;
    font-size: 9px;
    line-height: 1.35;
}

.detail-card a {
    margin-top: 7px;
    color: #087bea;
    font-weight: 800;
}

.muted-note {
    margin-top: 6px;
}

.message-section {
    padding: 26px 0 28px;
}

.message-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.message-card,
.office-panel {
    border: 1px solid #dbe6f0;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 4px 13px #183b6b0c;
}

.message-card {
    padding: 18px;
}

.message-card h2,
.faq-section h2 {
    margin: 5px 0;
    font-size: 23px;
}

.intro-text,
.faq-intro {
    margin: 0 0 14px;
    color: #687a92;
    font-size: 10px;
    line-height: 1.4;
}

.contact-form {
    display: grid;
    gap: 9px;
}

.contact-form label {
    position: relative;
    display: block;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 11px 12px 11px 34px;
    border: 1px solid #d9e4ef;
    border-radius: 5px;
    outline: none;
    color: #465b76;
    background: #ffffff;
    font-size: 10px;
}

.contact-form textarea {
    min-height: 86px;
    padding-top: 12px;
    resize: vertical;
}

.field-icon {
    position: absolute;
    top: 10px;
    left: 11px;
    z-index: 1;
    color: #667a95;
    font-size: 14px;
}

.message-field .field-icon {
    top: 12px;
}

.send-button {
    min-height: 35px;
    border: 0;
    border-radius: 5px;
    color: #ffffff;
    background: #087bea;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.office-panel {
    overflow: hidden;
}

.office-image {
    display: flex;
    height: 136px;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 24px;
    color: #ffffff;
    background:
        linear-gradient(180deg, transparent 50%, #061a42aa),
        linear-gradient(135deg, #96cbe7 0 28%, #edf5ee 29% 48%, #5481a3 49% 100%);
}

.office-image span {
    padding: 9px 16px;
    border: 1px solid #ffffff88;
    background: #061a42aa;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.office-info {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 13px 16px;
    color: #ffffff;
    background: linear-gradient(105deg, #031b46, #07529a);
}

.office-info .detail-icon {
    color: #ffffff;
    background: #087bea;
    box-shadow: 0 0 0 1px #55c9ff;
}

.office-info h3 {
    margin: 3px 0 4px;
    font-size: 14px;
}

.office-info p:not(.eyebrow) {
    margin: 0;
    color: #d5e8fa;
    font-size: 9px;
    line-height: 1.4;
}

.map-placeholder {
    position: relative;
    height: 157px;
    overflow: hidden;
    background:
        linear-gradient(28deg, transparent 0 45%, #ffffffaa 46% 48%, transparent 49%),
        linear-gradient(108deg, transparent 0 50%, #ffffffbb 51% 53%, transparent 54%),
        repeating-linear-gradient(15deg, #dcebd8 0 28px, #eef4e5 29px 44px);
}

.map-placeholder::before,
.map-placeholder::after {
    content: "";
    position: absolute;
    opacity: 0.75;
    background: #a7d2ee;
}

.map-placeholder::before {
    top: -20%;
    left: 30%;
    width: 5px;
    height: 150%;
    transform: rotate(24deg);
}

.map-placeholder::after {
    top: 45%;
    left: -5%;
    width: 110%;
    height: 4px;
    transform: rotate(-13deg);
}

.map-road {
    position: absolute;
    z-index: 1;
    height: 3px;
    background: #ffffffcc;
}

.road-one {
    top: 55%;
    left: -5%;
    width: 110%;
    transform: rotate(10deg);
}

.road-two {
    top: 20%;
    left: 9%;
    width: 90%;
    transform: rotate(45deg);
}

.road-three {
    top: 68%;
    left: 18%;
    width: 80%;
    transform: rotate(-35deg);
}

.map-label {
    position: absolute;
    z-index: 2;
    color: #55718d;
    font-size: 8px;
}

.university {
    top: 64%;
    left: 12%;
}

.capitol {
    top: 55%;
    right: 9%;
}

.map-pin {
    position: absolute;
    top: 48%;
    left: 55%;
    z-index: 3;
    color: #e83535;
    font-size: 29px;
    line-height: 1;
    text-shadow: 0 1px 3px #555;
}

.map-tooltip {
    position: absolute;
    top: 17%;
    left: 43%;
    z-index: 3;
    padding: 7px 9px;
    border-radius: 5px;
    color: #30445e;
    background: #ffffff;
    box-shadow: 0 2px 8px #183b6b33;
    font-size: 8px;
}

.map-controls {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 3;
    display: grid;
    border: 1px solid #ccd8e1;
    border-radius: 4px;
    overflow: hidden;
}

.map-controls button {
    width: 25px;
    height: 25px;
    border: 0;
    border-bottom: 1px solid #ccd8e1;
    color: #405571;
    background: #ffffff;
    cursor: pointer;
}

.map-controls button:last-child {
    border-bottom: 0;
}

.faq-section {
    padding: 0 0 29px;
}

.faq-section h2 {
    margin-top: 5px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 12px;
}

.faq-grid details {
    border: 1px solid #dce6ef;
    border-radius: 5px;
    background: #ffffff;
}

.faq-grid summary {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    color: #263b5a;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.faq-grid summary::-webkit-details-marker {
    display: none;
}

.faq-grid summary::after {
    content: "+";
    color: #14264a;
    font-size: 17px;
    font-weight: 400;
}

.faq-grid details[open] summary::after {
    content: "−";
}

.faq-grid details p {
    margin: 0;
    padding: 0 12px 12px;
    color: #687a92;
    font-size: 9px;
    line-height: 1.4;
}

.community-banner {
    color: #ffffff;
    background:
        radial-gradient(circle at 76% 50%, #1164a855, transparent 34%),
        linear-gradient(105deg, #031936, #063e80);
}

.community-content {
    display: flex;
    min-height: 112px;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.community-content h2 {
    margin: 5px 0;
    font-size: 23px;
}

.community-content p:not(.eyebrow) {
    max-width: 600px;
    margin: 0;
    color: #c8daf0;
    font-size: 11px;
    line-height: 1.4;
}

.banner-button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 22px;
    border-radius: 5px;
    color: #ffffff;
    background: #087bea;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.site-footer {
    padding: 27px 0 35px;
    color: #ffffff;
    background: #031634;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 0.8fr 1.5fr;
    gap: 35px;
}

.footer-intro p {
    color: #9db2d1;
    font-size: 10px;
}

.footer-intro small {
    color: #8ca2c1;
    font-size: 9px;
}

.footer-grid h4 {
    margin: 0 0 10px;
    font-size: 11px;
}

.footer-grid > div:not(:first-child) a {
    display: block;
    margin: 6px 0;
    color: #afc1da;
    font-size: 10px;
}

.social-icons {
    color: #ffffff;
    font-size: 17px !important;
}

.subscribe-form {
    display: flex;
}

.subscribe-form input {
    width: 130px;
    padding: 8px;
    border: 0;
    font-size: 9px;
}

.subscribe-form button {
    padding: 0 9px;
    border: 0;
    color: #ffffff;
    background: #087bea;
    font-size: 9px;
    cursor: pointer;
}

@media (max-width: 850px) {
    .main-nav {
        display: none;
    }

    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-card:nth-child(2) {
        border-right: 0;
    }

    .detail-card:nth-child(-n + 2) {
        border-bottom: 1px solid #e1e9f1;
    }

    .message-grid {
        grid-template-columns: 1fr;
    }

    .community-content {
        display: block;
        padding: 24px 0;
    }

    .banner-button {
        margin-top: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .contact-hero,
    .hero-content {
        min-height: 390px;
    }

    .details-grid,
    .faq-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .detail-card,
    .detail-card:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid #e1e9f1;
    }

    .detail-card:last-child {
        border-bottom: 0;
    }
}