:root {
    --screen-width: 1080px;
    --screen-height: 1920px;

    --color-red: #d00000;
    --color-red-dark: #a90000;
    --color-blue: #35a8e0;
    --color-green: #228b22;
    --color-light-bg: #eeeeee;
    --color-white: #ffffff;
    --color-text: #666666;
    --color-text-dark: #333333;

    --header-height: 105px;
    --hero-height: 440px;
    --wave-height: 78px;
    --footer-height: 104px;

    --content-padding-x: 36px;
    --content-padding-top: 24px;
    --content-padding-bottom: 36px;

    --welcome-padding-x: 48px;
    --welcome-padding-y: 36px;
    --welcome-title-size: 62px;
    --welcome-text-size: 34px;

    --nav-card-height: 272px;
    --nav-card-gap: 18px;
    --nav-bar-width: 34px;
    --nav-image-width: 300px;
    --nav-content-padding-x: 42px;
    --nav-link-size: 34px;
    --nav-link-gap: 18px;
    --nav-square-size: 28px;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: #222222;
    color: var(--color-text);
    font-family: Arial, Helvetica, sans-serif;
}

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

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

a {
    color: inherit;
}

.stele {
    position: relative;
    width: var(--screen-width);
    min-height: var(--screen-height);
    margin: 0 auto;
    overflow: hidden;
    background: var(--color-light-bg);
}

.site-header {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: var(--header-height);
    padding: 0 72px 0 170px;
    background: var(--color-red);
}

.logo-wrap {
    position: absolute;
    left: 26px;
    top: 8px;
    z-index: 10;
    width: 122px;
}

.logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.28));
}

.claim {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: var(--color-white);
    font-size: 35px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.claim-script {
    width: 300px;
    height: auto;
}

.hero {
    position: relative;
    width: 100%;
    height: var(--hero-height);
    overflow: hidden;
    background: #cccccc;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-wave {
    position: relative;
    z-index: 2;
    width: 100%;
    height: var(--wave-height);
    margin-top: calc(var(--wave-height) * -1);
    overflow: hidden;
    line-height: 0;
    background: transparent;
    pointer-events: none;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

.main-content {
    width: 100%;
    min-height: calc(var(--screen-height) - var(--header-height) - var(--hero-height) + var(--wave-height) - var(--footer-height));
    padding: var(--content-padding-top) var(--content-padding-x) var(--content-padding-bottom);
}

.welcome-card,
.content-view,
.loading-card,
.message-card {
    width: 100%;
    background: var(--color-white);
}

.welcome-card {
    margin: 0 0 34px;
    padding: var(--welcome-padding-y) var(--welcome-padding-x);
}

.welcome-card h1 {
    margin: 0 0 28px;
    color: var(--color-red);
    font-size: var(--welcome-title-size);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: 0.01em;
}

.welcome-card p {
    max-width: 930px;
    margin: 0 0 34px;
    color: var(--color-text);
    font-size: var(--welcome-text-size);
    font-weight: 400;
    line-height: 1.28;
    letter-spacing: 0.01em;
}

.welcome-card p:last-child {
    margin-bottom: 0;
}

.navigation-sections {
    display: grid;
    gap: var(--nav-card-gap);
    width: 100%;
}

.nav-card {
    display: grid;
    grid-template-columns: var(--nav-bar-width) var(--nav-image-width) 1fr;
    width: 100%;
    min-height: var(--nav-card-height);
    background: var(--color-white);
}

.nav-card-bar {
    width: 100%;
    height: 100%;
    background: var(--section-color);
}

.nav-card-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #dddddd;
}

.nav-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.nav-card-image-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 62px;
    padding: 8px 16px 10px;
    background: rgba(0, 0, 0, 0.34);
    pointer-events: none;
}

.nav-card-image-title-text {
    display: block;
    width: 100%;
    color: #ffffff;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.nav-card-content {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 24px var(--nav-content-padding-x);
}

.nav-list {
    display: grid;
    gap: var(--nav-link-gap);
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list li {
    margin: 0;
    padding: 0;
}

.nav-list button {
    display: grid;
    grid-template-columns: var(--nav-square-size) 1fr;
    align-items: center;
    gap: 22px;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 0;
    color: var(--section-color);
    font: inherit;
    font-size: var(--nav-link-size);
    font-weight: 400;
    line-height: 1.15;
    text-align: left;
    text-decoration: none;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.nav-list button::before {
    content: "";
    display: block;
    width: var(--nav-square-size);
    height: var(--nav-square-size);
    background: var(--section-color);
}

.nav-list button:active {
    opacity: 0.72;
    transform: translateX(4px);
}

.loading-card,
.message-card {
    padding: 42px 48px;
    color: var(--color-text-dark);
    font-size: 34px;
    line-height: 1.35;
}

.content-view {
    padding: 0;
}

.content-header {
    padding: 34px 48px 30px;
    border-left: 22px solid var(--current-section-color, var(--color-red));
}

.content-kicker {
    margin: 0 0 8px;
    color: var(--current-section-color, var(--color-red));
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.content-header h1 {
    margin: 0;
    color: var(--color-text-dark);
    font-size: 58px;
    font-weight: 400;
    line-height: 1.08;
}

.content-body {
    padding: 0 48px 52px;
}

.content-image {
    width: calc(100% + 96px);
    max-width: none;
    height: 340px;
    margin: 0 -48px 36px;
    object-fit: cover;
    object-position: center;
}

.text-content {
    color: var(--color-text-dark);
    font-size: 30px;
    line-height: 1.42;
}

.text-content h1,
.text-content h2,
.text-content h3 {
    color: var(--color-red);
    font-weight: 400;
    line-height: 1.15;
}

.text-content h2 {
    margin-top: 42px;
    font-size: 42px;
}

.text-content h3 {
    font-size: 34px;
}

.text-content p {
    margin: 0 0 24px;
}

.text-content ul,
.text-content ol {
    margin: 0 0 28px;
    padding-left: 38px;
}

.text-content a {
    color: var(--color-red);
    font-weight: 700;
    word-break: break-word;
}

.section-title {
    margin: 42px 0 24px;
    color: var(--color-red);
    font-size: 42px;
    font-weight: 400;
    line-height: 1.15;
}

.card-list {
    display: grid;
    gap: 24px;
    width: 100%;
}

.data-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    padding: 24px;
    background: #f8f8f8;
    border-left: 14px solid var(--current-section-color, var(--color-red));
}

.data-card.no-image {
    grid-template-columns: 1fr;
}

.data-card-image {
    width: 220px;
    height: 160px;
    object-fit: cover;
    background: #dddddd;
}

.data-card h2,
.data-card h3 {
    margin: 0 0 12px;
    color: var(--color-text-dark);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.12;
}

.card-meta {
    margin: 0 0 12px;
    color: var(--current-section-color, var(--color-red));
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.card-text {
    margin: 0;
    color: var(--color-text);
    font-size: 26px;
    line-height: 1.32;
}

.card-details {
    display: none;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #dddddd;
    color: var(--color-text-dark);
    font-size: 26px;
    line-height: 1.36;
}

.data-card.is-open .card-details {
    display: block;
}

.touch-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    margin-top: 20px;
    padding: 14px 24px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    background: var(--current-section-color, var(--color-red));
    border: 0;
    cursor: pointer;
}

.download-grid,
.gallery-grid {
    display: grid;
    gap: 18px;
}

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

.download-link,
.external-note {
    display: block;
    min-height: 82px;
    padding: 20px 24px;
    color: var(--color-text-dark);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.24;
    text-decoration: none;
    background: #f8f8f8;
    border-left: 12px solid var(--current-section-color, var(--color-red));
}

.external-note {
    color: #777777;
}

.gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    background: #dddddd;
}

.embed-wrapper {
    position: relative;
    margin-top: 28px;
    background: #f8f8f8;
    border-left: 14px solid var(--current-section-color, var(--color-red));
}

.embed-box {
    min-height: 260px;
    padding: 34px;
    color: var(--color-text-dark);
    font-size: 28px;
    line-height: 1.35;
}

.embed-box iframe {
    width: 100%;
    min-height: 680px;
    border: 0;
}

.embed-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--color-text-dark);
    font-size: 28px;
    background: rgba(248, 248, 248, 0.92);
}

.site-footer {
    position: sticky;
    bottom: 0;
    z-index: 20;
    width: 100%;
    height: var(--footer-height);
    background: linear-gradient(180deg, #b90000 0%, #e00000 48%, #c40000 100%);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 16px 36px;
}

.footer-button {
    width: 100%;
    min-height: 68px;
    color: #ffffff;
    font: inherit;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.1;
    background: rgba(255, 255, 255, 0.16);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.footer-button-home {
    background: rgba(255, 255, 255, 0.28);
}

.footer-button:disabled {
    opacity: 0.35;
    cursor: default;
}

[hidden] {
    display: none !important;
}

@media (max-width: 1079px) {
    .stele {
        transform: scale(calc(100vw / 1080));
        transform-origin: top center;
    }

    body {
        min-height: calc(1920px * (100vw / 1080));
        overflow-x: hidden;
    }
}
