:root {
    --page-bg: #0d0f11;
    --surface: #15181c;
    --surface-raised: #1b1e22;
    --surface-soft: #20242a;
    --text-main: #f4f1eb;
    --text-muted: #aaa49d;
    --text-soft: #d3cec6;
    --gold: #ffae4f;
    --gold-hover: #ff8a00;
    --copper: #60472d;
    --red: #e14747;
    --green: #65bd72;
    --blue: #82aeda;
    --line: #34383e;
    --line-soft: #25292e;
    --sidebar-width: 296px;
    --topbar-height: 70px;
    --content-width: 1180px;
}

* {
    box-sizing: border-box;
    letter-spacing: 0;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
    background: var(--page-bg);
}

body.modern-page {
    min-width: 320px;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--page-bg);
    background-image: url("images/bg/bg-mid.jpg");
    background-repeat: no-repeat;
    background-position: center 860px;
    background-size: 100% auto;
    color: var(--text-main);
    font-family: "Segoe UI", "PT Sans", Tahoma, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    transition: padding-left 220ms ease;
}

body.modern-page.sidebar-active {
    padding-left: var(--sidebar-width);
}

body.modern-page.modal-open {
    overflow: hidden;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

img {
    max-width: 100%;
}

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

.reading-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 3000;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.reading-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left center;
}

.container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

header {
    position: sticky;
    top: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--topbar-height);
    margin: 0;
    padding: 0 clamp(18px, 4vw, 52px);
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(13, 15, 17, 0.94);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.header-left {
    min-width: 0;
    gap: 14px;
}

.page-title {
    overflow: hidden;
    color: var(--text-main);
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hamburger-btn,
.close-btn,
.npc-modal-close,
.image-lightbox-close,
.back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: transparent;
    color: var(--gold);
    cursor: pointer;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.hamburger-btn {
    font-size: 22px;
}

.hamburger-btn:hover,
.close-btn:hover,
.npc-modal-close:hover,
.image-lightbox-close:hover,
.back-to-top:hover {
    border-color: var(--gold);
    background: rgba(255, 174, 79, 0.08);
    color: #ffffff;
}

.lang-switch {
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #111316;
}

.lang-btn {
    min-width: 48px;
    min-height: 34px;
    padding: 5px 12px;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.lang-btn:hover {
    border: 0;
    color: #ffffff;
}

.lang-btn.active {
    border: 0;
    background: var(--gold);
    color: #30281f;
    box-shadow: none;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 calc(var(--sidebar-width) * -1 - 14px);
    z-index: 1200;
    display: flex;
    width: var(--sidebar-width);
    height: 100vh;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    border: 0;
    border-right: 1px solid var(--copper);
    background: #111315;
    box-shadow: 18px 0 48px rgba(0, 0, 0, 0.45);
    transition: left 220ms ease;
}

.sidebar.open {
    left: 0;
}

.sidebar-brand {
    display: flex;
    min-height: 92px;
    align-items: center;
    justify-content: center;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line-soft);
    background: #0c0e10;
}

.sidebar-brand img {
    display: block;
    width: 204px;
    height: auto;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px 10px;
    border: 0;
}

.sidebar-header h3 {
    margin: 0;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.close-btn {
    width: 34px;
    height: 34px;
    border-color: transparent;
    color: var(--text-muted);
    font-size: 24px;
}

.section-search {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 14px 8px;
}

.section-search-icon {
    position: absolute;
    left: 13px;
    z-index: 1;
    color: var(--gold);
    font-size: 22px;
    line-height: 1;
    pointer-events: none;
}

.section-search input {
    width: 100%;
    height: 42px;
    padding: 8px 38px 8px 40px;
    border: 1px solid var(--line);
    border-radius: 4px;
    outline: 0;
    background: #0d0f11;
    color: var(--text-main);
    font-size: 14px;
}

.section-search input::placeholder {
    color: #7e7c79;
}

.section-search input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 174, 79, 0.08);
}

.section-search-clear {
    position: absolute;
    right: 5px;
    display: none;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
}

.section-search.has-value .section-search-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.search-status {
    min-height: 24px;
    padding: 0 18px 8px;
    color: var(--text-muted);
    font-size: 12px;
}

.sidebar-nav {
    padding: 0 10px 24px;
}

.sidebar a:not(.sidebar-brand) {
    position: relative;
    display: flex;
    min-height: 44px;
    align-items: center;
    margin: 2px 0;
    padding: 9px 12px;
    overflow: hidden;
    border: 0;
    border-left: 2px solid transparent;
    border-radius: 0 4px 4px 0;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.sidebar a:not(.sidebar-brand):hover {
    background: rgba(255, 255, 255, 0.045);
    color: #ffffff;
}

.sidebar a.active {
    border-left-color: var(--gold);
    background: rgba(255, 174, 79, 0.09);
    color: var(--gold);
}

.sidebar a.search-hidden {
    display: none;
}

.sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    border: 0;
    background: rgba(0, 0, 0, 0.72);
    cursor: default;
}

.sidebar-backdrop.show {
    display: block;
}

.hero {
    position: relative;
    display: flex;
    min-height: 420px;
    height: 62svh;
    max-height: 620px;
    align-items: stretch;
    overflow: hidden;
    border-bottom: 1px solid var(--copper);
    background-color: #111315;
    background-image: url("images/bg/bg-top.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.hero::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    background: rgba(3, 5, 7, 0.32);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(100%, var(--content-width));
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin: 0 auto;
    padding: 40px clamp(24px, 5vw, 72px);
}

.hero-logo {
    display: block;
    width: 270px;
    height: auto;
    margin: 0 0 8px;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5));
}

.hero-kicker {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 620px;
    margin: 0;
    color: #ffffff;
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.08;
    text-transform: none;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.75);
}

.hero-launch {
    margin: 14px 0 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.85);
}

.hero-facts {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 700;
}

.hero-facts span {
    padding: 10px 18px 0 0;
}

.hero-facts span + span {
    position: relative;
    padding-left: 18px;
}

.hero-facts span + span::before {
    position: absolute;
    left: 0;
    color: var(--copper);
    content: "/";
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 4px;
    background: rgba(13, 15, 17, 0.58);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.hero-button:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.hero-button-primary {
    border-color: var(--gold);
    background: var(--gold);
    color: #30281f;
}

.hero-button-primary:hover {
    background: transparent;
    color: var(--gold);
}

.hero-characters {
    position: absolute;
    right: 2%;
    bottom: 0;
    z-index: 1;
    display: block;
    width: auto;
    max-width: 48%;
    height: 96%;
    object-fit: contain;
    object-position: right bottom;
    pointer-events: none;
    filter: drop-shadow(-20px 18px 28px rgba(0, 0, 0, 0.36));
}

.hero-next {
    position: absolute;
    right: 28px;
    bottom: 22px;
    z-index: 3;
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: #ffffff;
    font-size: 22px;
    text-decoration: none;
}

.hero-next:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.content-context {
    position: sticky;
    top: var(--topbar-height);
    z-index: 850;
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 10px;
    padding: 8px clamp(20px, 5vw, 56px);
    border-bottom: 1px solid var(--line-soft);
    background: rgba(17, 19, 21, 0.96);
    color: var(--text-muted);
    font-size: 13px;
}

.content-context-mark {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 12px rgba(255, 174, 79, 0.65);
}

#content-ru,
#content-en {
    width: min(100%, var(--content-width));
    margin: 0 auto;
    padding: 34px clamp(20px, 5vw, 54px) 0;
}

.launch-date {
    display: none;
}

.content-section {
    padding: 18px 0 52px;
    border-bottom: 1px solid var(--line-soft);
}

.content-section:last-child {
    border-bottom: 0;
}

.content-section.search-hidden {
    display: none;
}

h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    padding: 0 0 14px;
    scroll-margin-top: calc(var(--topbar-height) + 58px);
    border: 0;
    border-bottom: 1px solid var(--copper);
    color: var(--text-main);
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: 28px;
    line-height: 1.25;
}

h3 {
    margin: 34px 0 16px;
    color: var(--text-main);
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: 21px;
    line-height: 1.3;
}

.section-anchor {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border: 1px solid transparent;
    border-radius: 4px;
    color: #777c82;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    opacity: 0;
    transition: opacity 150ms ease, color 150ms ease, border-color 150ms ease;
}

h2:hover .section-anchor,
.section-anchor:focus-visible {
    opacity: 1;
}

.section-anchor:hover {
    border-color: var(--line);
    color: var(--gold);
}

p {
    color: var(--text-soft);
}

.content-section > p {
    max-width: 900px;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

li {
    padding: 11px 0;
    border-bottom: 1px solid var(--line-soft);
    color: var(--text-soft);
}

li:last-child {
    border-bottom: 0;
}

li strong,
p strong {
    color: #ffffff;
}

.content-section > ul {
    border-top: 1px solid var(--line-soft);
}

.nested-list {
    margin: 7px 0 0;
    padding-left: 18px;
    border-left: 2px solid var(--copper);
}

.nested-list li {
    padding: 6px 0;
    border: 0;
    color: var(--text-muted);
    font-size: 15px;
}

.icon-check {
    color: var(--green);
}

.icon-cross {
    color: var(--red);
}

code {
    padding: 2px 6px;
    border: 1px solid #354252;
    border-radius: 3px;
    background: #171d24;
    color: var(--blue);
    font-size: 14px;
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.rate-item {
    display: flex;
    min-height: 112px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: rgba(27, 30, 34, 0.92);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.rate-item:hover {
    transform: translateY(-2px);
    border-color: var(--copper);
    background: var(--surface-soft);
}

.rate-value {
    color: var(--gold);
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin: 0 0 24px;
}

.feature-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(27, 30, 34, 0.9);
    box-shadow: none;
}

.feature-card h4 {
    margin: 0 0 14px;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid var(--line);
    color: var(--gold);
    font-size: 17px;
    line-height: 1.4;
}

.feature-card p:first-child {
    margin-top: 0;
}

.feature-card li {
    padding: 7px 0;
    border-color: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 14px;
}

.clickable {
    min-height: 126px;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.clickable:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    background: var(--surface-soft);
    box-shadow: none;
}

.ability-layout,
.announcement-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 28px;
    align-items: start;
    margin: 0;
}

.ability-copy,
.announcement-copy {
    min-width: 0;
}

.ability-copy p:first-child,
.announcement-copy p:first-child {
    margin-top: 0;
}

.ability-preview,
.announcement-preview {
    margin: 0;
}

.ability-preview img,
.announcement-preview img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--copper);
    border-radius: 5px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
    cursor: zoom-in;
}

.ability-preview figcaption,
.announcement-preview figcaption {
    margin-top: 9px;
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
}

.table-scroll {
    width: 100%;
    margin: 18px 0;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: rgba(21, 24, 28, 0.92);
}

.info-table {
    width: 100%;
    min-width: 620px;
    margin: 0;
    overflow: visible;
    border: 0;
    border-collapse: collapse;
    border-radius: 0;
    background: transparent;
}

.ability-table {
    min-width: 420px;
    max-width: none;
}

.info-table th,
.info-table td {
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    color: var(--text-soft);
    text-align: left;
    vertical-align: top;
}

.info-table th {
    background: #22201c;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
}

.info-table tbody tr:last-child td {
    border-bottom: 0;
}

.info-table tbody tr:hover td {
    background: rgba(130, 174, 218, 0.04);
}

.footer {
    margin: 34px 0 0;
    padding: 54px 24px 62px;
    border: 0;
    border-top: 1px solid var(--copper);
    background-color: #0b0d0f;
    background-image: url("images/footer/bg.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
}

.btn-back {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    background: rgba(13, 15, 17, 0.66);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: none;
}

.btn-back:hover {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: none;
}

.npc-modal {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 18px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.86);
    opacity: 1;
}

.npc-modal.show {
    display: flex;
}

.npc-modal-content {
    position: relative;
    width: min(100%, 960px);
    max-width: 960px;
    margin: auto;
    padding: 30px;
    border: 1px solid var(--copper);
    border-radius: 6px;
    background: #111315;
    color: var(--text-main);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}

.npc-modal-content h2 {
    padding-right: 44px;
}

.npc-modal-close,
.image-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    color: var(--text-muted);
    font-size: 26px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.gallery img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: none;
    cursor: zoom-in;
}

.gallery img:hover {
    border-color: var(--gold);
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2400;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 52px 24px 24px;
    background: rgba(0, 0, 0, 0.94);
}

.image-lightbox.show {
    display: flex;
}

.image-lightbox-content {
    display: flex;
    width: min(100%, 1280px);
    max-height: calc(100vh - 90px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.image-lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 130px);
    border: 1px solid var(--copper);
    object-fit: contain;
}

.image-lightbox-content figcaption {
    min-height: 24px;
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    border-color: var(--copper);
    background: rgba(17, 19, 21, 0.94);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 1099px) {
    body.modern-page.sidebar-active {
        padding-left: 0;
    }

    .hero-content {
        width: 100%;
    }

    .hero-characters {
        right: -8%;
        max-width: 54%;
        opacity: 0.78;
    }
}

@media (max-width: 900px) {
    .rates-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ability-layout,
    .announcement-layout {
        grid-template-columns: 1fr;
    }

    .ability-preview,
    .announcement-preview {
        width: min(100%, 680px);
    }
}

@media (max-width: 720px) {
    :root {
        --topbar-height: 62px;
    }

    header {
        min-height: var(--topbar-height);
        padding: 0 14px;
    }

    .page-title {
        font-size: 16px;
    }

    .hamburger-btn {
        width: 38px;
        height: 38px;
    }

    .lang-btn {
        min-width: 42px;
        min-height: 32px;
        padding: 4px 9px;
    }

    .hero {
        min-height: 500px;
        height: auto;
        max-height: none;
        background-position: 63% center;
    }

    .hero::before {
        background: rgba(3, 5, 7, 0.57);
    }

    .hero-content {
        min-height: 500px;
        padding: 42px 22px 54px;
    }

    .hero-logo {
        width: 220px;
    }

    .hero h1 {
        max-width: 420px;
        font-size: 34px;
    }

    .hero-launch {
        max-width: 440px;
        font-size: 16px;
    }

    .hero-characters {
        right: -23%;
        max-width: 76%;
        height: 86%;
        opacity: 0.36;
    }

    .hero-next {
        right: 18px;
        bottom: 16px;
    }

    .content-context {
        min-height: 38px;
        padding: 7px 18px;
    }

    #content-ru,
    #content-en {
        padding: 24px 18px 0;
    }

    .content-section {
        padding: 16px 0 42px;
    }

    h2 {
        font-size: 24px;
    }

    .section-anchor {
        opacity: 1;
    }

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

    .npc-modal {
        padding: 20px 10px;
    }

    .npc-modal-content {
        padding: 22px 16px;
    }

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

@media (max-width: 480px) {
    .page-title {
        max-width: 138px;
    }

    .hero-content {
        padding-right: 18px;
        padding-left: 18px;
    }

    .hero-actions {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
    }

    .hero-button {
        width: 100%;
    }

    .rates-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .rate-item {
        min-height: 98px;
        padding: 14px;
    }

    .feature-card {
        padding: 17px;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
