:root {
    --background: #1c364a;
    --panel: #fff015;
    --panel-text: #1c364a;
    --white: #ffffff;
    --soft-white: rgba(255, 255, 255, 0.82);
    --line: rgba(28, 54, 74, 0.72);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    background: var(--background);
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

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

.page-shell {
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 26px 18px 24px;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.brand-logo {
    width: clamp(94px, 18vw, 132px);
    height: auto;
    display: block;
    object-fit: contain;
    margin: 18px 0 18px;
    /* transform: rotate(-90deg); */
    transform-origin: center;
}

.brand-name {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0;
}

.brand-location {
    margin: 8px 0 18px;
    color: var(--soft-white);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.directory-panel {
    width: min(100%, 464px);
    margin: 0 auto;
    padding: 26px 16px 30px;
    background: var(--panel);
    color: var(--panel-text);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.2);
}

.directory-panel h1 {
    margin: 0;
    font-size: clamp(24px, 5vw, 30px);
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0;
}

.directory-line {
    width: 100%;
    height: 2px;
    margin: 20px 0 27px;
    background: var(--line);
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 14px;
}

.directory-item {
    min-width: 0;
    min-height: 86px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    color: var(--panel-text);
    text-align: center;
    outline-offset: 8px;
    transition: transform 180ms ease, color 180ms ease;
}

.directory-item:hover,
.directory-item:focus-visible {
    color: #0f2738;
    transform: translateY(-3px);
}

.directory-item i {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(32px, 7vw, 42px);
    line-height: 1;
}

.directory-item span {
    width: 100%;
    display: block;
    font-size: clamp(10px, 2.3vw, 12px);
    font-weight: 800;
    line-height: 1.16;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.site-footer {
    width: 100%;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: #172f41;
}

.footer-inner {
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 28px 18px 26px;
    text-align: center;
}

.footer-hotel,
.footer-phone,
address {
    margin: 0;
}

.footer-hotel {
    font-size: 16px;
    font-weight: 700;
}

address {
    margin-top: 8px;
    color: var(--soft-white);
    font-style: normal;
    font-size: 14px;
    line-height: 1.55;
}

.footer-phone {
    margin-top: 5px;
    color: var(--soft-white);
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    margin-top: 21px;
}

.website-link {
    justify-self: start;
    color: var(--panel);
    font-size: 14px;
}

.website-link:hover,
.website-link:focus-visible,
.social-links a:hover,
.social-links a:focus-visible {
    color: var(--white);
}

.social-links {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    color: var(--panel);
    font-size: 18px;
}

.social-links a {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline-offset: 5px;
}

@media (max-width: 520px) {
    .page-shell {
        padding: 22px 14px 20px;
    }

    .brand-name {
        max-width: 330px;
    }

    .directory-panel {
        padding: 23px 13px 27px;
    }

    .directory-grid {
        gap: 26px 10px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .website-link,
    .social-links {
        grid-column: auto;
        justify-self: center;
    }
}

@media (max-width: 360px) {
    .directory-item {
        min-height: 82px;
    }

    .directory-item i {
        height: 42px;
    }

    address {
        font-size: 13px;
    }
}
