:root {
    --color-ink: #202124;
    --color-muted: #686b73;
    --color-brand: #d30f24;
    --color-panel: rgba(255, 255, 255, .9);
    --color-line: rgba(32, 33, 36, .12);
    --shadow-panel: 0 24px 70px rgba(22, 24, 29, .16);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--color-ink);
    background-color: #f4f5f7;
    background-position: center;
    background-size: cover;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

.page-shell {
    min-height: calc(100vh - 72px);
    display: grid;
    place-items: center;
    padding: 48px 20px 28px;
}

.container {
    width: min(920px, 100%);
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-panel);
    box-shadow: var(--shadow-panel);
    backdrop-filter: blur(14px);
}

.header {
    display: grid;
    gap: 26px;
    justify-items: center;
    text-align: center;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(330px, 80vw);
    padding: 8px 10px;
    text-decoration: none;
}

.brand__logo {
    display: block;
    width: 100%;
    height: auto;
}

.header__copy {
    max-width: 720px;
}

.header h1,
.header h2 {
    margin: 0;
    letter-spacing: 0;
}

.header h1 {
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 1.04;
    font-weight: 800;
}

.header h2 {
    margin-top: 14px;
    color: var(--color-muted);
    font-size: clamp(1rem, 2.4vw, 1.45rem);
    line-height: 1.45;
    font-weight: 500;
}

.contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 16px;
    width: min(680px, 100%);
    margin: 0;
    padding: 14px 18px;
    border-block: 1px solid var(--color-line);
    color: #33363b;
    font-style: normal;
    font-weight: 700;
}

.contact__phone {
    color: var(--color-brand);
    text-decoration: none;
    white-space: nowrap;
}

.contact__phone:hover {
    text-decoration: underline;
}

.timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 2vw, 18px);
    margin-top: clamp(30px, 6vw, 54px);
}

.timer__item {
    width: clamp(64px, 14vw, 112px);
    min-height: 92px;
    display: grid;
    place-items: center;
    gap: 6px;
    padding: 16px 8px 14px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: #fff;
}

.timer__data {
    min-height: 1.1em;
    color: var(--color-brand);
    font-size: clamp(1.8rem, 5vw, 3rem);
    line-height: 1;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.timer__type {
    color: var(--color-muted);
    font-size: .78rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.timer__separator {
    color: var(--color-brand);
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    font-weight: 800;
    transform: translateY(-10px);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: clamp(28px, 5vw, 44px);
}

.social-links__link {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--color-line);
    border-radius: 50%;
    background: #fff;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.social-links__link:hover {
    border-color: rgba(211, 15, 36, .45);
    box-shadow: 0 10px 24px rgba(211, 15, 36, .14);
    transform: translateY(-2px);
}

.icon,
.icon img {
    display: block;
}

.icon img {
    width: 20px;
    height: 20px;
}

.footer {
    min-height: 72px;
    display: grid;
    place-items: center;
    padding: 18px 20px;
    color: var(--color-muted);
    font-size: .88rem;
    text-align: center;
}

@media (max-width: 640px) {
    .page-shell {
        padding-top: 24px;
    }

    .container {
        padding: 28px 18px;
    }

    .timer {
        gap: 6px;
    }

    .timer__item {
        width: 66px;
        min-height: 82px;
        padding-inline: 4px;
    }

    .timer__type {
        font-size: .68rem;
    }

    .contact {
        display: grid;
        gap: 8px;
    }
}

@media (max-width: 520px) {
    .timer {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .timer__item {
        width: auto;
        min-width: 0;
    }

    .timer__separator {
        display: none;
    }
}
