:root {
    --ocean: #0b6ea8;
    --deep: #083453;
    --ink: #14324a;
    --sky: #e7f6ff;
    --foam: #f4fbff;
    --sand: #fff4df;
    --gold: #f0a202;
    --gold-deep: #c47d00;
    --leaf: #1f9d57;
    --hibiscus: #e23d57;
    --line: rgba(20, 50, 74, 0.12);
    --shadow: 0 18px 40px rgba(8, 52, 83, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(900px 420px at 10% -10%, #d9f3ff 0%, transparent 60%),
        linear-gradient(180deg, #f7fcff 0%, #eef8f4 42%, #fff 100%);
    font-family: "Segoe UI", "Trebuchet MS", sans-serif;
    line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--ocean); }
button, input, select { font: inherit; }
p { margin: 0 0 14px; }

.frame {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.mast {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(8, 52, 83, 0.06);
}
.mast-row {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--deep);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.04em;
    min-width: 0;
}
.brand img {
    width: 54px;
    height: 54px;
    display: block;
}
.brand span { font-size: 20px; }
.menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}
.menu-link {
    color: var(--deep);
    text-decoration: none;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 999px;
}
.menu-link[aria-current="page"] { background: var(--sky); }
.menu-store {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffc53d, var(--gold));
    color: #3b2500;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(240, 162, 2, 0.35);
}
.menu-store[aria-current="page"] {
    outline: 3px solid var(--deep);
    outline-offset: 2px;
}
.ico {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.canvas { padding: 28px 0 64px; }
.banner-wrap, .panel, .sheet, .band, .story, .fact-rail, .checkout, .status-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}
.banner-wrap { position: relative; overflow: hidden; }
.banner-wrap .play-row {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    margin: 0;
    justify-content: center;
    z-index: 2;
}
.banner-wrap img, .shot img, .photo img { display: block; width: 100%; height: auto; }
.intro {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 36px;
    align-items: center;
    padding: 42px 0 10px;
}
h1 {
    margin: 0 0 12px;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 52px;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--deep);
}
.deck { font-size: 20px; color: #35546b; }
.play-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 18px; }
.play-link img { width: auto; height: 64px; }
.icon-card {
    background: var(--sand);
    border-radius: 24px;
    padding: 22px;
}
.icon-card img { width: 168px; height: 168px; display: block; margin: 0 auto 12px; }

.trio, .values, .feature-list, .shot-row, .story-photos, .company-layout, .contact-grid, .store-grid, .foot-grid {
    display: grid;
    gap: 18px;
}
.trio { grid-template-columns: repeat(3, 1fr); margin: 28px 0; }
.card, .value, .feature, .fact {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
}
.card h2, .value h2, .feature h2, .block h2 { margin: 8px 0; font-size: 22px; color: var(--deep); }
.kicker {
    margin: 0 0 6px;
    color: var(--ocean);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 12px;
}
.shot-row { grid-template-columns: 1fr 1fr; margin-top: 18px; }
.shot { margin: 0; }
.shot figcaption, .photo figcaption { padding: 8px 2px 0; color: #4d6578; font-size: 14px; }

.page-head { padding: 12px 0 22px; max-width: 760px; }
.page-head h1 { font-size: 46px; }
.crumbs { margin: 0 0 8px; color: #5d7486; }
.crumbs a { color: #5d7486; text-decoration: none; font-weight: 700; }

.company-layout, .contact-grid, .store-grid { grid-template-columns: 0.78fr 1.22fr; align-items: start; }
.fact-rail, .story, .checkout { padding: 26px; }
.fact { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; background: var(--foam); }
.fact .ico { color: var(--ocean); flex: 0 0 auto; margin-top: 2px; }
.story-photos { grid-template-columns: 160px 300px; align-items: start; margin: 8px 0 18px; }
.story-photos .photo { margin: 0; background: var(--sky); border-radius: 18px; overflow: hidden; }
.story-photos .photo img { width: 100%; height: auto; }
.values { grid-template-columns: repeat(4, 1fr); margin-top: 22px; }
.value .ico { color: var(--leaf); }

.lagoon {
    margin: 8px 0 22px;
    padding: 36px;
    border-radius: 28px;
    color: #f4fbff;
    background:
        linear-gradient(120deg, rgba(8, 52, 83, 0.82), rgba(11, 90, 140, 0.72)),
        url("../../images/banner.webp") center/cover no-repeat;
}
.lagoon h1, .lagoon p { color: #fff; }
.poster { max-width: 560px; margin: 18px 0; border-radius: 20px; overflow: hidden; }
.feature-list { margin-top: 8px; }
.feature { display: grid; grid-template-columns: 42px 1fr; gap: 12px; }
.feature .ico { color: var(--hibiscus); margin-top: 4px; }

.contact-grid { grid-template-columns: 420px 1fr; }
.contact-photo { margin: 0; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-photo img { width: 100%; height: auto; display: block; }

.gem-intro { max-width: 820px; margin-bottom: 22px; }
.store-grid { grid-template-columns: 1.35fr 0.8fr; }
.catalog {
    max-height: 520px;
    overflow: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-right: 4px;
}
.gem-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: center;
    text-align: left;
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 16px;
    padding: 10px;
    cursor: pointer;
}
.gem-card img { width: 48px; height: auto; grid-row: 1 / span 2; }
.gem-card strong { color: var(--deep); }
.gem-card span { color: var(--ocean); font-weight: 800; }
.gem-card.is-picked { border-color: var(--gold-deep); box-shadow: inset 0 0 0 2px var(--gold); background: #fff8e8; }
.checkout { position: sticky; top: 102px; }
.checkout h2 { margin-top: 0; }
.field { margin: 0 0 12px; }
.field span, .pay-label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"] {
    width: 100%;
    border: 1px solid #c9d8e4;
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
}
.pay-option, .pay-static, .agree {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 6px 0;
}
.pay-static { color: #5d7486; }
.currency-row { display: flex; flex-wrap: wrap; gap: 8px; }
.currency-row button, .confirm-btn {
    border: 0;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 800;
    cursor: pointer;
}
.currency-row button { background: var(--sky); color: var(--deep); }
.currency-row button.is-on { background: var(--deep); color: #fff; }
.confirm-btn {
    width: 100%;
    margin-top: 8px;
    background: var(--ocean);
    color: #fff;
    padding: 12px 16px;
}
.form-note {
    background: #fff1f3;
    color: #8d2436;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 12px;
}
.summary { background: var(--foam); border-radius: 14px; padding: 10px 12px; margin-bottom: 12px; }
.delivery { margin-top: 28px; padding: 28px; }
.delivery h2 { margin-top: 0; }

.receipt, .status-card, .fault {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px;
}
.receipt-row, .status-card p { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.receipt-row span { color: #5d7486; }
.status-card { text-align: center; }
.status-card .ico { width: 64px; height: 64px; margin: 0 auto 8px; }
.status-card.ok .ico { color: var(--leaf); }
.status-card.bad .ico, .fault .ico { color: var(--hibiscus); }
.fault { border-left: 8px solid var(--hibiscus); }

.foot {
    background: var(--deep);
    color: #d7ebf8;
    padding: 36px 0;
}
.foot a { color: #fff; text-decoration: none; }
.foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
.foot-brand img { width: 42px; height: 42px; }
.foot-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.foot p { margin: 0 0 6px; }
.copy {
    margin: 22px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(215, 235, 248, 0.25);
    color: #d7ebf8;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 980px) {
    h1 { font-size: 38px; }
    .intro, .trio, .values, .company-layout, .contact-grid, .store-grid, .shot-row, .foot-grid, .story-photos {
        grid-template-columns: 1fr;
    }
    .catalog { grid-template-columns: 1fr; }
    .checkout { position: static; }
    .menu { width: 100%; }
}
