:root {
    --ink: #071827;
    --navy: #0c2f46;
    --sea: #0d7490;
    --foam: #e9f4f2;
    --mist: #f5f7f5;
    --sand: #dca75a;
    --line: #d5dfdf;
    --panel: #ffffff;
    --text: #102430;
    --muted: #586c75;
    --dark: var(--ink);
    --blue: var(--sea);
    --ocean: #1596a8;
    --yellow: var(--sand);
    --soft: var(--mist);
    --border: var(--line);
    --shadow: 0 20px 58px rgba(3, 24, 38, .1);
}

body {
    background:
        linear-gradient(180deg, #ffffff 0, var(--mist) 620px),
        var(--mist);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
    letter-spacing: 0;
}

::selection {
    background: rgba(13, 116, 144, .2);
}

.container {
    width: min(1240px, calc(100% - 48px));
}

.hero {
    position: relative;
    min-height: min(850px, calc(100vh - 86px));
    isolation: isolate;
    border-radius: 0;
    padding: clamp(92px, 13vw, 168px) 0 74px;
    background:
        linear-gradient(90deg, rgba(4, 18, 29, .93) 0%, rgba(4, 18, 29, .74) 42%, rgba(4, 18, 29, .22) 76%, rgba(4, 18, 29, .1) 100%),
        linear-gradient(180deg, rgba(2, 24, 39, .08), rgba(2, 24, 39, .75)),
        url("../images/surf-hero-v2.png") center / cover no-repeat;
}

.hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    height: 188px;
    background: linear-gradient(180deg, transparent, rgba(245, 247, 245, .98));
    content: "";
}

.hero-grid {
    grid-template-columns: 1fr;
    max-width: 810px;
    gap: 32px;
    align-content: end;
}

.eyebrow {
    min-height: 32px;
    margin-bottom: 22px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 6px;
    background: rgba(255, 255, 255, .14);
    color: #fff4db;
    letter-spacing: .11em;
}

h1,
.section h2,
.section-head h2,
.card h3,
.catalog-body h3,
.page-box h1 {
    letter-spacing: 0;
    text-wrap: balance;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 22px;
    font-size: clamp(44px, 7vw, 88px);
    line-height: .96;
}

.hero p {
    max-width: 640px;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.55;
}

.hero-actions {
    gap: 10px;
    margin-top: 32px;
}

.btn {
    min-height: 50px;
    border-radius: 7px;
    border-color: rgba(255, 255, 255, .35);
    font-size: 14px;
    font-weight: 800;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.btn:hover,
.catalog-filter:hover,
.card a:hover,
.catalog-body a:hover {
    transform: translateY(-1px);
}

.btn.primary {
    background: var(--sand);
    color: #15202a;
    box-shadow: 0 16px 38px rgba(3, 24, 38, .18);
}

.btn.light {
    border-color: var(--line);
}

.hero-card {
    width: min(100%, 690px);
    min-height: 0;
    display: block;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    background: rgba(255, 255, 255, .15);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
    text-align: left;
    backdrop-filter: blur(14px);
}

.hero-card > div {
    display: grid;
    grid-template-columns: minmax(140px, .42fr) 1fr;
    gap: 18px;
    align-items: center;
}

.hero-card > div:not(:has(.cover)) {
    grid-template-columns: auto 1fr;
}

.hero-card img.cover {
    height: 176px;
    margin: 0;
    border-radius: 6px;
}

.hero-card-logo {
    width: 104px;
    margin: 0;
}

.hero-card strong {
    color: #fff;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.05;
}

.hero-card span {
    margin-top: 8px;
    color: rgba(255, 255, 255, .82);
    font-weight: 600;
    line-height: 1.45;
}

.hero-card .btn {
    min-height: 42px;
}

.section {
    padding: clamp(54px, 7vw, 88px) 0;
}

.section[style*="background"] {
    border-block: 1px solid var(--line);
    background: var(--foam) !important;
}

.section-head {
    align-items: flex-start;
    margin-bottom: 30px;
}

.section h2,
.section-head h2 {
    max-width: 760px;
    margin-bottom: 13px;
    font-size: clamp(29px, 3.6vw, 52px);
    line-height: 1.02;
}

.section-head p,
.card p,
.catalog-body p,
.empty {
    color: var(--muted);
}

.cards,
.catalog-grid {
    gap: 16px;
}

.card,
.catalog-card,
.gallery-card {
    min-height: 0;
    border-radius: 8px;
    border-color: var(--line);
    box-shadow: 0 14px 42px rgba(3, 24, 38, .08);
}

.card {
    padding: 16px;
}

.card-image,
.catalog-main-photo,
.catalog-thumb,
.gallery-modal-box {
    border-radius: 6px;
}

.card-image {
    height: 204px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--navy), var(--sea));
}

.card h3 {
    margin-top: 12px;
    font-size: clamp(21px, 2vw, 28px);
    line-height: 1.12;
}

.card a,
.catalog-body a {
    color: var(--sea);
    font-weight: 800;
}

.split .card[style] {
    border-left: 3px solid rgba(13, 116, 144, .3);
}

.page-box {
    max-width: 1080px;
    border-radius: 8px;
    border-color: var(--line);
    padding: clamp(28px, 5vw, 68px);
    box-shadow: 0 18px 62px rgba(3, 24, 38, .08);
}

.page-box h1 {
    max-width: 900px;
    font-size: clamp(37px, 5.5vw, 72px);
    line-height: .98;
}

.page-box .lead {
    max-width: 790px;
    font-size: clamp(17px, 2vw, 21px);
}

.content-body {
    max-width: 820px;
    font-size: 17px;
}

.page-box > img[style],
.page-box > .catalog-main-photo.large,
.page-box .content-body + img {
    border-radius: 7px !important;
}

.pill,
.catalog-price,
.catalog-featured-tag,
.catalog-filter {
    border-radius: 6px;
}

.pill,
.catalog-price {
    background: var(--foam);
}

.catalog-filter {
    background: rgba(255, 255, 255, .8);
}

.catalog-filter.active,
.catalog-filter:hover,
.gallery-close {
    border-color: var(--sand);
    background: var(--sand);
}

.catalog-main-photo {
    height: 300px;
}

.catalog-main-photo.large {
    border-radius: 7px;
}

.gallery-grid {
    gap: 14px;
}

.gallery-card img {
    height: 260px;
}

.gallery-card span {
    font-weight: 800;
}

.gallery-close {
    border-radius: 7px;
}

.empty {
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
}

body .site-header {
    border-bottom: 1px solid rgba(213, 223, 223, .9);
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 10px 40px rgba(3, 24, 38, .05);
}

body .header-top {
    width: min(1240px, calc(100% - 48px));
    min-height: 84px;
}

body .brand-logo {
    width: 58px;
    height: 58px;
}

body .brand-text strong {
    letter-spacing: 0;
}

body .nav-row {
    border-top: 1px solid rgba(213, 223, 223, .7);
    background: transparent;
}

body .nav-row-inner {
    width: min(1240px, calc(100% - 48px));
}

body .main-nav a {
    min-height: 42px;
    border-radius: 6px;
    color: #46616b;
    transition: background .18s ease, color .18s ease;
}

body .main-nav a:hover,
body .main-nav a.is-active {
    background: var(--foam);
    color: var(--ink);
}

body .site-footer {
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: var(--ink);
}

body .footer-container,
body .footer-bottom {
    width: min(1240px, calc(100% - 48px));
}

body .footer-mark,
body .footer-panel-button {
    border-radius: 7px;
}

@media (max-width: 920px) {
    .container,
    body .header-top,
    body .footer-container,
    body .footer-bottom {
        width: min(100% - 24px, 1240px);
    }

    .hero {
        min-height: auto;
        padding-top: 76px;
        background-position: 58% center;
    }

    .hero-card > div,
    .hero-card > div:not(:has(.cover)) {
        grid-template-columns: 1fr;
    }

    body .nav-row-inner {
        width: 100%;
    }

    body .menu-toggle,
    body .nav-row-inner {
        border-radius: 8px;
    }
}

@media (max-width: 560px) {
    .hero {
        min-height: 720px;
        background-position: 64% center;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-card {
        padding: 14px;
    }

    .hero-card img.cover {
        height: 192px;
    }

    .card-image,
    .gallery-card img {
        height: 214px;
    }
}
