@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;500;600;700;800&display=swap');

/* ============================================================
   OROSEIMETEO · DESIGN SYSTEM COMUNE
   Base grafica condivisa da tutte le pagine
   ============================================================ */

:root {
    --om-blue: #116f9a;
    --om-blue-dark: #223746;
    --om-blue-deep: #152b39;
    --om-cyan: #1c9ec2;

    --om-text: #2d3c46;
    --om-muted: #6f7880;
    --om-muted-2: #8b9297;

    --om-bg: #ffffff;
    --om-soft: #f4f4f4;
    --om-soft-2: #f8f8f8;

    --om-line: #dddddd;
    --om-line-strong: #cfcfcf;

    --om-green: #2f9a5b;
    --om-green-soft: #edf7f0;
    --om-red: #c84d52;
    --om-red-soft: #fff1f1;
    --om-amber: #c98b28;

    --om-radius: 5px;
    --om-radius-sm: 3px;
    --om-container: 1320px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: #fff;
}

body {
    margin: 0;
    font-family: "Roboto Condensed", Arial, Helvetica, sans-serif;
    color: var(--om-text);
    background: #fff;
    font-size: 18px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

img {
    display: block;
    max-width: 100%;
}

svg {
    display: block;
}

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

button {
    color: inherit;
}

.site-shell {
    min-height: 100vh;
    overflow-x: hidden;
    background: #fff;
}

.container {
    width: min(var(--om-container), calc(100% - 56px));
    margin-inline: auto;
}

.icon {
    width: 24px;
    height: 24px;
}

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

/* ============================================================
   BARRA RETE
   ============================================================ */

.network-bar {
    background: #f2f2f2;
    border-bottom: 1px solid #dedede;
}

.network-bar-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #58636a;
    font-size: 15px;
}

.network-place {
    font-weight: 600;
}

.network-state {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #39704d;
    font-weight: 700;
}

.network-state i {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #39ad6a;
}

.network-state.warning {
    color: #9a6b22;
}

.network-state.warning i {
    background: var(--om-amber);
}

/* ============================================================
   HEADER / BRAND
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 9000;
    background: rgba(255, 255, 255, .985);
    border-bottom: 1px solid #dddddd;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-inner {
    position: relative;
    z-index: 9001;
    min-height: 108px;
    display: flex;
    align-items: center;
    gap: 38px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: max-content;
}

.brand-crest {
    width: 58px;
    height: 70px;
    flex: 0 0 58px;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-copy strong {
    color: var(--om-cyan);
    font-size: 37px;
    line-height: .96;
    letter-spacing: -.8px;
    font-weight: 700;
    white-space: nowrap;
}

.brand-copy strong > span {
    color: var(--om-blue-dark);
}

.brand-copy small {
    display: block;
    margin-top: 8px;
    color: #5f666c;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
}

/* ============================================================
   NAVIGAZIONE DESKTOP
   ============================================================ */

.main-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    color: #344753;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.main-nav > a,
.nav-dropdown-summary {
    position: relative;
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    list-style: none;
    cursor: pointer;
}

.nav-dropdown-summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown-summary::marker {
    display: none;
    content: "";
}

.main-nav > a::after,
.nav-dropdown-group.is-active > .nav-dropdown-summary::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 3px;
    height: 2px;
    background: var(--om-blue);
    transition: right .18s ease;
}

.main-nav > a:hover,
.main-nav > a.is-active,
.nav-dropdown-summary:hover,
.nav-dropdown-group.is-active > .nav-dropdown-summary {
    color: var(--om-blue);
}

.main-nav > a:hover::after,
.main-nav > a.is-active::after,
.nav-dropdown-group.is-active > .nav-dropdown-summary::after {
    right: 0;
}

.nav-dropdown-group {
    position: relative;
}

.nav-dropdown-chevron {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .18s ease;
    opacity: .75;
}

.nav-dropdown-group[open] .nav-dropdown-chevron {
    transform: rotate(225deg) translate(-1px, -1px);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 7px);
    left: 50%;
    z-index: 9100;
    width: max-content;
    min-width: 240px;
    display: none;
    padding: 8px;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .10);
    transform: translateX(-50%);
}

.nav-dropdown-group[open] .nav-dropdown-menu,
.nav-dropdown-group:hover .nav-dropdown-menu {
    display: grid;
    gap: 1px;
}

.nav-dropdown-menu a {
    position: relative;
    padding: 11px 12px;
    border-radius: 2px;
    color: #465760;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: #f2f2f2;
    color: var(--om-blue);
}

.nav-dropdown-menu a.is-active {
    background: #f1f1f1;
    color: var(--om-blue);
    font-weight: 700;
}

.menu-toggle {
    display: none;
    margin-left: auto;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    background: #f5f5f5;
    color: #314856;
    cursor: pointer;
}

.menu-icon {
    width: 30px;
    height: 30px;
}

/* ============================================================
   ELEMENTI GLOBALI DI PAGINA
   ============================================================ */

.eyebrow,
.page-kicker,
.section-kicker {
    display: block;
    color: var(--om-blue);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.section {
    padding: 58px 0;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin: 0 0 26px;
}

.section-heading h2,
.page-hero h1 {
    margin: 6px 0 0;
    color: var(--om-blue-dark);
    font-weight: 700;
    letter-spacing: -.5px;
}

.section-heading h2 {
    font-size: clamp(34px, 3vw, 44px);
    line-height: 1.08;
}

.section-heading p {
    max-width: 650px;
    margin: 0;
    color: var(--om-muted);
    font-size: 17px;
    line-height: 1.55;
    text-align: right;
}

.page-hero {
    padding: 64px 0 52px;
    background: #fff;
    border-bottom: 1px solid var(--om-line);
}

.page-hero h1 {
    font-size: clamp(44px, 5vw, 62px);
    line-height: 1.02;
}

.page-hero p {
    max-width: 900px;
    margin: 16px 0 0;
    color: var(--om-muted);
    font-size: 19px;
    line-height: 1.6;
}

.content-card,
.source-card {
    border: 1px solid var(--om-line);
    border-radius: var(--om-radius);
    background: #fff;
}

.btn,
.button,
.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 17px;
    border: 1px solid var(--om-line-strong);
    border-radius: 4px;
    background: #fff;
    color: var(--om-blue);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.btn:hover,
.button:hover,
.primary-link:hover {
    background: #f5f5f5;
}

.station-status,
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #efefef;
    color: #5f6b72;
    font-size: 13px;
    font-weight: 700;
}

.station-status.online,
.status-badge.online {
    background: var(--om-green-soft);
    color: #2c8450;
}

.station-status.offline,
.status-badge.offline {
    background: var(--om-red-soft);
    color: #bf4449;
}

/* ============================================================
   REPORT · COMPONENTI COMUNI
   ============================================================ */

.report-view-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.report-view-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--om-line);
    border-radius: 999px;
    background: #fff;
    color: #53656f;
    font-size: 15px;
    font-weight: 600;
}

.report-view-switch a:hover,
.report-view-switch a.is-active {
    border-color: #bfc7cb;
    background: #f3f3f3;
    color: var(--om-blue);
}

.report-month-control select {
    width: 100%;
    min-height: 48px;
    padding: 0 40px 0 13px;
    border: 1px solid var(--om-line-strong);
    border-radius: 4px;
    background: #fff;
    color: var(--om-blue-dark);
    font: inherit;
    font-size: 16px;
}

/* ============================================================
   NAV · SCOPRI / NEW
   ============================================================ */

.nav-discover-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.nav-new-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 20px;
    padding: 0 7px;
    border: 1px solid rgba(22, 139, 180, .22);
    border-radius: 999px;
    background: #eef9fc;
    color: #168bb4;
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .06em;
}

.nav-new-badge i {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #20a9d0;
    box-shadow: 0 0 0 0 rgba(32, 169, 208, .35);
    animation: navNewPulse 1.7s ease-out infinite;
}

.nav-discover-group .nav-dropdown-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.nav-sub-new {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: #eef9fc;
    color: #168bb4;
    font-size: 8px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .05em;
}

@keyframes navNewPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(32, 169, 208, .38);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(32, 169, 208, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(32, 169, 208, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-new-badge i {
        animation: none;
    }
}

/* ============================================================
   FOOTER · UNICA SORGENTE DI STILE
   ============================================================ */

.footer {
    margin-top: 54px;
    border-top: 1px solid #d8d8d8;
    background: #fff;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(300px, 1.15fr) minmax(0, 3fr);
    gap: 52px;
    align-items: start;
    padding: 46px 0 38px;
}

.footer-brand-block {
    min-width: 0;
}

.footer-brand {
    gap: 14px;
}

.footer-brand .brand-crest {
    width: 58px;
    height: 70px;
    flex-basis: 58px;
}

.footer-brand .brand-copy strong {
    font-size: 34px;
}

.footer-brand .brand-copy small {
    display: block;
    margin-top: 7px;
    font-size: 14px;
}

.footer-brand-block p {
    max-width: 410px;
    margin: 22px 0 0;
    color: #666f74;
    font-size: 17px;
    line-height: 1.64;
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 30px;
    min-width: 0;
}

.footer-links {
    min-width: 0;
}

.footer-links h4,
.footer-support h4 {
    margin: 3px 0 14px;
    color: #4f5c63;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.footer-links a {
    display: block;
    margin: 8px 0;
    color: #5f6d74;
    font-size: 16px;
    line-height: 1.48;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.footer-links a:hover {
    color: var(--om-blue);
}

/* --- supporto / social / store --- */

.footer-support {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(390px, 1.2fr) minmax(230px, .75fr);
    gap: 34px;
    align-items: end;
    margin-top: 2px;
    padding-top: 30px;
    border-top: 1px solid var(--om-line);
}

.footer-social-box,
.footer-app-box,
.footer-support-box {
    min-width: 0;
}

.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #d7e1e7;
    border-radius: 999px;
    background: #f8fbfc;
    color: var(--om-blue);
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    transition:
        background-color .18s ease,
        border-color .18s ease,
        color .18s ease,
        transform .18s ease;
}

.social-link:hover {
    background: #eef7fb;
    border-color: #bfd5e0;
    color: #0f6b93;
    transform: translateY(-1px);
}

.footer-app-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.footer-store-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    text-decoration: none;
}

.footer-store-badge {
    display: block;
    width: auto;
    height: 44px;
    max-width: none;
    object-fit: contain;
}

/* Google Play: completamente locale, niente immagine esterna */

.footer-store-link--google {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    height: 44px;
    padding: 0 14px 0 12px;
    border: 1px solid #363636;
    border-radius: 8px;
    background: #000 !important;
    color: #fff !important;
    line-height: 1;
    text-decoration: none !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
    transition:
        background-color .18s ease,
        transform .18s ease;
}

.footer-store-link--google:hover {
    background: #111 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.footer-googleplay-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 27px;
    flex: 0 0 24px;
}

.footer-googleplay-icon svg {
    display: block;
    width: 24px;
    height: 27px;
}

.footer-googleplay-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    color: #fff !important;
    text-align: left;
    line-height: 1;
}

.footer-googleplay-copy small {
    display: block;
    margin: 0 0 3px;
    color: #fff !important;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .075em;
    line-height: 1;
    white-space: nowrap;
}

.footer-googleplay-copy strong {
    display: block;
    margin: 0;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1;
    white-space: nowrap;
}

.footer-support-box .support-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    padding: 0 16px;
    border-radius: 5px;
    background: var(--om-blue);
    color: #fff;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
}

.footer-support-box .support-button:hover {
    background: #0e6289;
}

.footer-bottom {
    background: #283d4a;
    color: #e4e7e9;
}

.footer-bottom > .container {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 15px;
    line-height: 1.55;
}

/* ============================================================
   TORNA SU
   ============================================================ */

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 8500;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: #1497c4;
    font-family: inherit;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 7px 20px rgba(12, 75, 105, .24);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease,
        background-color .2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #0c7fa8;
}

.back-to-top:focus-visible {
    outline: 3px solid rgba(20, 151, 196, .28);
    outline-offset: 4px;
}

.back-to-top span {
    display: block;
    transform: translateY(-1px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1240px) {
    .main-nav {
        gap: 14px;
        font-size: 15px;
    }

    .brand-copy strong {
        font-size: 33px;
    }

    .brand-copy small {
        display: none;
    }

    .footer-main {
        grid-template-columns: minmax(260px, .95fr) minmax(0, 2.3fr);
        gap: 38px;
    }

    .footer-nav-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 26px;
    }

    .footer-support {
        grid-template-columns: 1fr 1.3fr 1fr;
        gap: 26px;
    }
}

@media (max-width: 1040px) {
    .header-inner {
        min-height: 98px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 9002;
        display: none;
        max-height: calc(100vh - 140px);
        overflow: auto;
        padding: 18px 38px 28px;
        border-bottom: 1px solid #d6d6d6;
        background: #fff;
        box-shadow: 0 18px 30px rgba(0, 0, 0, .10);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        white-space: normal;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav > a,
    .nav-dropdown-summary {
        min-height: 58px;
        padding: 0 7px;
        border-bottom: 1px solid #e4e4e4;
        font-size: 19px;
        font-weight: 600;
    }

    .main-nav > a::after,
    .nav-dropdown-group.is-active > .nav-dropdown-summary::after {
        display: none;
    }

    .nav-dropdown-group {
        width: 100%;
    }

    .nav-dropdown-summary {
        justify-content: space-between;
    }

    .nav-dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        padding: 3px 0 10px 22px;
        border: 0;
        border-bottom: 1px solid #e4e4e4;
        border-radius: 0;
        background: #f4f4f4;
        box-shadow: none;
        transform: none;
    }

    .nav-dropdown-group:hover .nav-dropdown-menu {
        display: none;
    }

    .nav-dropdown-group[open] .nav-dropdown-menu {
        display: grid;
    }

    .nav-dropdown-menu a {
        padding: 13px 12px;
        border-bottom: 1px solid #dfdfdf;
        border-radius: 0;
        font-size: 17px;
        white-space: normal;
    }

    .nav-dropdown-menu a:last-child {
        border-bottom: 0;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand-block {
        max-width: 720px;
    }

    .footer-brand-block p {
        max-width: 650px;
    }

    .footer-nav-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-top: 28px;
        border-top: 1px solid var(--om-line);
    }

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

    .footer-support-box {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    body {
        font-size: 17px;
    }

    .container {
        width: calc(100% - 32px);
    }

    .network-bar-inner {
        min-height: 38px;
        font-size: 14px;
    }

    .network-place {
        display: none;
    }

    .network-state {
        margin-left: auto;
    }

    .header-inner {
        min-height: 108px;
        gap: 14px;
    }

    .brand {
        gap: 12px;
    }

    .brand-crest {
        width: 50px;
        height: 62px;
        flex-basis: 50px;
    }

    .brand-copy strong {
        font-size: 32px;
    }

    .brand-copy small {
        display: block;
        margin-top: 6px;
        font-size: 13px;
    }

    .menu-toggle {
        width: 56px;
        height: 56px;
    }

    .main-nav {
        padding: 16px 30px 26px;
    }

    .section {
        padding: 44px 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
        margin-bottom: 22px;
    }

    .section-heading p {
        max-width: none;
        font-size: 17px;
        text-align: left;
    }

    .page-hero {
        padding: 46px 0 38px;
    }

    .page-hero h1 {
        font-size: 40px;
    }

    .page-hero p {
        font-size: 18px;
    }

    .footer {
        margin-top: 44px;
    }

    .footer-main {
        gap: 24px;
        padding: 34px 0 28px;
    }

    .footer-brand {
        gap: 13px;
    }

    .footer-brand .brand-crest {
        width: 54px;
        height: 66px;
        flex-basis: 54px;
    }

    .footer-brand .brand-copy strong {
        font-size: 32px;
    }

    .footer-brand .brand-copy small {
        margin-top: 6px;
        font-size: 14px;
    }

    .footer-brand-block p {
        max-width: none;
        margin-top: 20px;
        font-size: 17px;
        line-height: 1.62;
    }

    .footer-nav-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 22px;
        padding-top: 26px;
    }

    .footer-nav-observatory {
        grid-column: 1;
        grid-row: 1;
    }

    .footer-nav-forecast {
        grid-column: 2;
        grid-row: 1;
    }

    .footer-nav-environment {
        grid-column: 1;
        grid-row: 2;
    }

    .footer-nav-discover {
        grid-column: 2;
        grid-row: 2;
    }

    .footer-nav-data {
        grid-column: 1 / -1;
        grid-row: 3;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 22px;
    }

    .footer-nav-data h4 {
        grid-column: 1 / -1;
    }

    .footer-links h4,
    .footer-support h4 {
        margin-bottom: 12px;
        font-size: 16px;
    }

    .footer-links a {
        margin: 7px 0;
        font-size: 16px;
        line-height: 1.48;
    }

    .footer-support {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 26px;
    }

    .footer-support-box {
        grid-column: auto;
    }

    .social-link {
        min-height: 42px;
        font-size: 16px;
    }

    .footer-store-badge {
        height: 44px;
    }

    .footer-store-link--google {
        height: 44px;
    }

    .footer-googleplay-copy strong {
        font-size: 16px;
    }

    .footer-support-box .support-button {
        min-height: 44px;
        font-size: 16px;
    }

    .footer-bottom > .container {
        padding: 15px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        font-size: 14px;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 44px;
        height: 44px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        width: calc(100% - 26px);
    }

    .header-inner {
        min-height: 102px;
    }

    .brand-crest {
        width: 45px;
        height: 57px;
        flex-basis: 45px;
    }

    .brand-copy strong {
        font-size: 28px;
    }

    .brand-copy small {
        font-size: 12px;
    }

    .main-nav {
        padding-left: 22px;
        padding-right: 22px;
    }

    .main-nav > a,
    .nav-dropdown-summary {
        min-height: 56px;
        font-size: 18px;
    }

    .nav-dropdown-menu a {
        font-size: 16px;
    }

    .report-view-switch {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .report-view-switch a {
        width: 100%;
    }

    .footer-main {
        gap: 22px;
        padding: 32px 0 26px;
    }

    .footer-brand .brand-crest {
        width: 50px;
        height: 62px;
        flex-basis: 50px;
    }

    .footer-brand .brand-copy strong {
        font-size: 30px;
    }

    .footer-brand .brand-copy small {
        font-size: 13px;
    }

    .footer-brand-block p {
        font-size: 17px;
        line-height: 1.62;
    }

    .footer-nav-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 18px;
        padding-top: 24px;
    }

    .footer-links h4,
    .footer-support h4 {
        font-size: 16px;
        letter-spacing: .045em;
    }

    .footer-links a {
        font-size: 16px;
    }

    .footer-nav-data {
        column-gap: 18px;
    }

    .footer-app-badges {
        gap: 9px;
    }

    .social-link {
        font-size: 16px;
    }

    .footer-store-badge {
        height: 42px;
    }

    .footer-store-link--google {
        height: 42px;
        padding: 0 13px 0 11px;
    }

    .footer-googleplay-copy small {
        font-size: 7.5px;
    }

    .footer-googleplay-copy strong {
        font-size: 15px;
    }

    .footer-bottom > .container {
        font-size: 14px;
        line-height: 1.58;
    }
}
