:root {
    --font-ui: 'Manrope', 'Segoe UI', sans-serif;
    --font-display: 'Prata', 'Georgia', serif;

    --ink: #02162f;
    --ink-soft: #1f4265;
    --sea-deep: #04244f;
    --sea-core: #0a4b90;
    --sea-bright: #28a8e1;
    --sea-foam: #d9f3ff;
    --sun: #ffc60a;
    --sun-soft: #ffe488;
    --line: rgba(7, 58, 111, 0.28);

    --bg: #d9eefb;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: rgba(255, 255, 255, 0.95);

    --shadow-lg: 0 26px 70px rgba(3, 36, 81, 0.2);
    --shadow-md: 0 14px 36px rgba(7, 48, 93, 0.16);

    --radius-lg: 26px;
    --radius-md: 16px;

    --container: min(1180px, calc(100vw - 2.4rem));
    --topbar-height: 96px;
}

html[data-theme='dark'] {
    --ink: #e6f5ff;
    --ink-soft: #a6c9e4;
    --sea-deep: #021531;
    --sea-core: #0a2f62;
    --sea-bright: #1485c5;
    --sea-foam: #0a2143;
    --sun: #ffcc2f;
    --sun-soft: #ffe17f;
    --line: rgba(132, 186, 229, 0.24);

    --bg: #03152d;
    --surface: rgba(8, 35, 70, 0.62);
    --surface-strong: rgba(7, 41, 80, 0.9);

    --shadow-lg: 0 28px 66px rgba(0, 0, 0, 0.34);
    --shadow-md: 0 16px 38px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.62;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% -8%, rgba(97, 193, 236, 0.36), transparent 44%),
        radial-gradient(circle at 88% -18%, rgba(60, 154, 214, 0.28), transparent 52%),
        linear-gradient(180deg, #e8f6ff 0%, #d5ebf8 60%, #e3f2fb 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.28;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    left: -16vmax;
    bottom: -25vmax;
    width: 62vmax;
    height: 62vmax;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle at 35% 35%, rgba(5, 119, 173, 0.28), rgba(5, 119, 173, 0));
    z-index: -1;
}

a {
    color: var(--sea-core);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover {
    color: #0e63af;
}

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

.container {
    width: var(--container);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    z-index: 1000;
    padding: 0.56rem 0.88rem;
    border-radius: 10px;
    background: #ffffff;
    color: var(--ink);
    border: 1px solid var(--line);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 120;
    padding: 0.55rem 0;
    backdrop-filter: blur(16px);
    background: linear-gradient(180deg, rgba(238, 250, 255, 0.97), rgba(238, 250, 255, 0.9));
    border-bottom: 1px solid var(--line);
}

html[data-theme='dark'] .topbar {
    background: linear-gradient(180deg, rgba(5, 30, 58, 0.92), rgba(5, 30, 58, 0.72));
}

.topbar__inner {
    min-height: var(--topbar-height);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    min-width: fit-content;
}

.brand__logo {
    width: clamp(156px, 20vw, 218px);
    height: auto;
    filter: drop-shadow(0 10px 24px rgba(3, 51, 100, 0.25));
}

.brand__logo--footer {
    width: clamp(148px, 18vw, 186px);
}

.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.nav__link {
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    transition: color 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

.nav__link:hover {
    color: var(--sea-core);
    background: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.nav__link--active {
    color: #ffffff;
    background: linear-gradient(120deg, #0b4e95, #1b87ca);
    box-shadow: 0 10px 20px rgba(5, 81, 145, 0.28);
}

.topbar__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.topbar__phone {
    text-decoration: none;
    color: var(--sea-core);
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    padding: 0.56rem 0.86rem;
    font-size: 0.86rem;
    font-weight: 700;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    color: var(--ink);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.icon-btn__lines,
.icon-btn__lines::before,
.icon-btn__lines::after {
    display: block;
    width: 17px;
    height: 2px;
    border-radius: 4px;
    background: currentColor;
    position: absolute;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.icon-btn__lines::before,
.icon-btn__lines::after {
    content: '';
    left: 0;
}

.icon-btn__lines::before {
    transform: translateY(-5px);
}

.icon-btn__lines::after {
    transform: translateY(5px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.74rem 1.18rem;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    color: #031534;
    background: linear-gradient(118deg, var(--sun), var(--sun-soft));
    box-shadow: 0 12px 24px rgba(231, 180, 13, 0.32);
}

.btn--soft {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(14, 89, 159, 0.28);
}

.btn--app {
    color: #f5fbff;
    background: linear-gradient(120deg, #0a4a8d, #0f79bc);
    border-color: rgba(154, 215, 249, 0.38);
    box-shadow: 0 10px 22px rgba(7, 73, 133, 0.28);
}

.app-links {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.62rem;
    align-items: center;
}

.app-links--hero {
    margin-top: 0.88rem;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 0;
    border-radius: 10px;
    width: 136px;
    min-height: 46px;
    padding: 3px 8px;
    border: 1px solid rgba(137, 199, 243, 0.26);
    background: rgba(9, 35, 62, 0.35);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-badge:hover {
    transform: translateY(-1px);
    opacity: 0.98;
}

.store-badge img {
    display: block;
    max-height: 40px;
    width: auto;
}

.onepage {
    display: block;
    overflow: clip;
}

#hero,
#services,
#routes,
#app,
#about,
#contacts {
    scroll-margin-top: calc(var(--topbar-height) + 22px);
}

[data-scene] {
    opacity: 0.8;
    transform: translateY(12px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

[data-scene].is-active {
    opacity: 1;
    transform: translateY(0);
}

.eyebrow {
    margin: 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 800;
    color: #0c6fb6;
}

.sea-hero {
    position: relative;
    padding: clamp(2.5rem, 5vw, 4.6rem) 0 clamp(4rem, 8vw, 6.8rem);
    background:
        radial-gradient(90% 120% at 0% 0%, rgba(167, 225, 251, 0.5), transparent 70%),
        radial-gradient(80% 110% at 100% 0%, rgba(70, 176, 226, 0.28), transparent 70%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.44), rgba(216, 238, 251, 0.24));
}

.sea-hero::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    height: 112px;
    pointer-events: none;
    opacity: 0.3;
    background:
        linear-gradient(180deg, rgba(9, 87, 142, 0), rgba(9, 87, 142, 0.5)),
        repeating-linear-gradient(
            90deg,
            rgba(9, 76, 132, 0.56) 0 22px,
            rgba(9, 76, 132, 0) 22px 42px
        );
    clip-path: polygon(
        0% 100%, 0% 76%, 8% 76%, 10% 58%, 12% 76%, 18% 76%, 20% 66%, 22% 76%,
        32% 76%, 35% 52%, 37% 76%, 44% 76%, 47% 62%, 50% 76%, 60% 76%, 64% 57%,
        67% 76%, 76% 76%, 80% 64%, 84% 76%, 100% 76%, 100% 100%
    );
}

.sea-hero::after {
    content: '';
    position: absolute;
    left: -5%;
    right: -5%;
    bottom: -46px;
    height: 92px;
    border-radius: 50%;
    background:
        radial-gradient(44% 120% at 16% 0%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0)),
        radial-gradient(40% 120% at 50% 0%, rgba(76, 169, 219, 0.28), rgba(76, 169, 219, 0)),
        radial-gradient(40% 120% at 84% 0%, rgba(9, 112, 175, 0.34), rgba(9, 112, 175, 0));
    pointer-events: none;
}

.sea-hero__mist {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.sea-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    transform: translateY(var(--parallax-y, 0px));
}

.sea-orb--a {
    width: 420px;
    height: 420px;
    left: -140px;
    top: 8%;
    background: radial-gradient(circle at center, rgba(88, 184, 230, 0.34), rgba(88, 184, 230, 0));
}

.sea-orb--b {
    width: 340px;
    height: 340px;
    right: -80px;
    top: 6%;
    background: radial-gradient(circle at center, rgba(15, 127, 195, 0.26), rgba(15, 127, 195, 0));
}

.sea-orb--c {
    width: 300px;
    height: 300px;
    right: 20%;
    top: 36%;
    background: radial-gradient(circle at center, rgba(255, 226, 124, 0.2), rgba(255, 226, 124, 0));
}

.sea-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.6rem, 4vw, 3rem);
    align-items: center;
}

.sea-hero__copy {
    transform: translateY(var(--parallax-y, 0px));
    padding: clamp(1rem, 2vw, 1.35rem);
    border-radius: 20px;
    border: 1px solid rgba(8, 89, 148, 0.2);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(236, 248, 255, 0.85));
    box-shadow: var(--shadow-md);
}

.sea-hero__title {
    margin: 0.68rem 0 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 2.2vw + 1.2rem, 3.4rem);
    line-height: 1.14;
    letter-spacing: 0.01em;
    max-width: 18ch;
}

.sea-hero__title span {
    color: #0a4f8e;
}

.sea-hero__lead {
    margin: 1rem 0 0;
    color: var(--ink);
    max-width: 64ch;
}

.sea-hero__actions {
    margin-top: 1.35rem;
    display: flex;
    gap: 0.66rem;
    flex-wrap: wrap;
}

.signal-row {
    margin-top: 1.2rem;
    padding-top: 0.95rem;
    border-top: 1px dashed rgba(9, 89, 151, 0.34);
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1.2rem;
}

.signal-row p {
    margin: 0;
    color: var(--ink);
    font-size: 0.92rem;
}

.signal-row strong {
    color: var(--sea-core);
    margin-right: 0.22rem;
}

.odessa-tags {
    margin: 0.95rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.46rem;
}

.odessa-tags li {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: #083f74;
    border-radius: 999px;
    border: 1px solid rgba(20, 120, 182, 0.26);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.34rem 0.72rem;
}

.sea-hero__brand {
    margin: 0;
    display: grid;
    gap: 0.8rem;
    justify-items: center;
    transform: translateY(var(--parallax-y, 0px));
}

.sea-hero__brand img {
    width: clamp(300px, 42vw, 640px);
    height: auto;
    filter: drop-shadow(0 24px 34px rgba(4, 51, 96, 0.3));
}

.sea-hero__brand figcaption {
    margin: 0;
    max-width: 42ch;
    text-align: center;
    color: var(--ink);
    font-size: 0.9rem;
}

.sea-section {
    position: relative;
    padding: clamp(3.6rem, 9vw, 6.8rem) 0;
}

.sea-divider {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 120px;
    pointer-events: none;
    background:
        radial-gradient(50% 130% at 12% 0%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0)),
        radial-gradient(48% 130% at 50% 0%, rgba(75, 177, 226, 0.24), rgba(75, 177, 226, 0)),
        radial-gradient(52% 130% at 88% 0%, rgba(8, 111, 174, 0.3), rgba(8, 111, 174, 0));
}

.sea-divider--reverse {
    transform: scaleX(-1);
}

.section-head {
    max-width: 72ch;
}

.section-head h2 {
    margin: 0.62rem 0 0;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 1.5vw + 1.1rem, 2.5rem);
    line-height: 1.2;
}

.section-head p {
    margin: 0.95rem 0 0;
    color: var(--ink);
}

.sea-section--stream {
    background:
        linear-gradient(180deg, rgba(240, 251, 255, 0.72), rgba(229, 245, 255, 0.36));
}

.harbor-emblems {
    margin-top: 1.3rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.harbor-emblem {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 14px;
    border: 1px solid rgba(11, 96, 160, 0.24);
    background: rgba(255, 255, 255, 0.72);
    padding: 0.7rem 0.82rem;
    color: var(--sea-deep);
    box-shadow: var(--shadow-md);
}

.harbor-emblem__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(130deg, rgba(14, 106, 170, 0.16), rgba(31, 165, 224, 0.18));
    color: #0e66ad;
    flex-shrink: 0;
}

.harbor-emblem__icon svg {
    width: 20px;
    height: 20px;
}

.harbor-emblem p {
    margin: 0;
    font-weight: 700;
    font-size: 0.9rem;
}

.stream-lines {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.78rem;
}

.stream-line {
    transform: translateY(var(--parallax-y, 0px));
    padding: 1rem 0.2rem 1rem 1.4rem;
    border-left: 2px solid rgba(15, 112, 177, 0.35);
    border-bottom: 1px solid rgba(5, 86, 145, 0.16);
    position: relative;
}

.stream-line::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 1.22rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(120deg, #0f7ec1, #53c1ef);
    box-shadow: 0 0 0 4px rgba(55, 168, 226, 0.2);
}

.stream-line h3 {
    margin: 0;
    font-size: 1.05rem;
    color: var(--sea-deep);
}

.stream-line p {
    margin: 0.4rem 0 0;
    color: var(--ink);
    max-width: 66ch;
}

.sea-section--routes {
    background:
        radial-gradient(68% 120% at 80% 20%, rgba(94, 188, 231, 0.18), rgba(94, 188, 231, 0)),
        linear-gradient(180deg, rgba(223, 244, 255, 0.2), rgba(214, 236, 249, 0.5));
}

.route-compass {
    margin-top: 1.22rem;
    border: 1px dashed rgba(8, 105, 168, 0.32);
    border-radius: 14px;
    padding: 0.66rem 0.82rem 0.66rem 2.8rem;
    background: rgba(255, 255, 255, 0.58);
    position: relative;
}

.route-compass::before {
    content: '';
    position: absolute;
    left: 0.86rem;
    top: 50%;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    transform: translateY(-50%);
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.8) 0 26%, transparent 28%),
        conic-gradient(
            from 0deg,
            rgba(15, 119, 184, 0.8) 0 25%,
            rgba(15, 119, 184, 0.2) 25% 50%,
            rgba(15, 119, 184, 0.8) 50% 75%,
            rgba(15, 119, 184, 0.2) 75% 100%
        );
    box-shadow: inset 0 0 0 2px rgba(10, 96, 164, 0.38);
}

.route-compass p {
    margin: 0;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 600;
}

.route-flow {
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 1.5rem;
    position: relative;
}

.route-flow::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg, rgba(17, 118, 182, 0.1), rgba(17, 118, 182, 0.45), rgba(17, 118, 182, 0.1));
    transform: translateY(-50%);
    pointer-events: none;
}

.route-flow li {
    transform: translateY(var(--parallax-y, 0px));
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    padding: 0.3rem;
}

.route-flow span {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1rem;
    font-weight: 800;
    color: #f4fbff;
    background: linear-gradient(140deg, #0a4d90, #1293d2);
    box-shadow: 0 10px 22px rgba(7, 77, 132, 0.28);
}

.route-flow p {
    margin: 0.16rem 0 0;
    color: var(--ink);
}

.sea-section--about {
    background: linear-gradient(180deg, rgba(221, 242, 253, 0.56), rgba(238, 249, 255, 0.64));
}

.sea-section--app {
    background:
        radial-gradient(68% 120% at 15% 15%, rgba(37, 155, 218, 0.16), rgba(37, 155, 218, 0)),
        linear-gradient(180deg, rgba(233, 247, 255, 0.78), rgba(222, 241, 253, 0.58));
}

.app-panel {
    margin-top: 1.4rem;
    border: 1px solid rgba(8, 98, 164, 0.24);
    border-radius: var(--radius-lg);
    padding: clamp(1.02rem, 2vw, 1.4rem);
    background:
        linear-gradient(158deg, rgba(255, 255, 255, 0.84), rgba(219, 239, 252, 0.68));
    box-shadow: var(--shadow-lg);
}

.app-panel p {
    margin: 0;
    color: var(--ink);
    max-width: 66ch;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
    gap: clamp(1.2rem, 4vw, 2.6rem);
    align-items: start;
}

.about-copy,
.about-notes {
    transform: translateY(var(--parallax-y, 0px));
}

.about-copy h2 {
    margin: 0.64rem 0 0;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 1.4vw + 1.1rem, 2.25rem);
    line-height: 1.22;
}

.about-copy p {
    margin: 0.92rem 0 0;
    color: var(--ink);
}

.about-notes {
    margin-top: 1.1rem;
    display: grid;
    gap: 0.85rem;
}

.about-notes p {
    margin: 0;
    padding: 0.84rem 0.94rem;
    border: 1px solid rgba(13, 105, 166, 0.24);
    border-radius: 13px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-md);
}

.odessa-postmarks {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.52rem;
}

.odessa-postmarks li {
    margin: 0;
    border-radius: 999px;
    border: 1px solid rgba(15, 109, 174, 0.28);
    background: rgba(255, 255, 255, 0.7);
    color: #0a5f9d;
    padding: 0.38rem 0.76rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.sea-section--contacts {
    padding-bottom: clamp(5.4rem, 12vw, 8rem);
    background:
        radial-gradient(68% 120% at 16% 90%, rgba(24, 125, 190, 0.2), rgba(24, 125, 190, 0)),
        linear-gradient(180deg, rgba(231, 247, 255, 0.62), rgba(219, 239, 252, 0.86));
}

.contact-wave {
    margin-top: 1.3rem;
    padding: clamp(1.05rem, 2vw, 1.4rem);
    border: 1px solid rgba(11, 92, 158, 0.26);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(232, 246, 255, 0.7));
    box-shadow: var(--shadow-lg);
    transform: translateY(var(--parallax-y, 0px));
}

.contact-wave p {
    margin: 0;
    padding: 0.62rem 0;
    color: var(--ink);
    border-bottom: 1px solid rgba(7, 92, 154, 0.16);
}

.contact-wave p:last-child {
    border-bottom: none;
}

.contact-wave strong {
    color: var(--sea-deep);
}

.footer {
    position: relative;
    padding: clamp(2rem, 4vw, 2.8rem) 0 clamp(1.4rem, 2.4vw, 2rem);
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(10, 45, 87, 0.08), rgba(10, 45, 87, 0.16));
}

.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 1.5rem;
}

.footer__note {
    margin: 0.82rem 0 0;
    color: var(--ink);
    max-width: 58ch;
}

.footer__fineprint {
    margin: 0.6rem 0 0;
    color: var(--ink);
    opacity: 0.9;
    font-size: 0.9rem;
}

.footer__title {
    margin: 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
    color: #0c6aad;
}

.footer__links {
    display: grid;
    gap: 0.48rem;
    align-content: start;
}

.footer__links a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
}

html[data-theme='dark'] .sea-hero__copy {
    border: 1px solid rgba(116, 181, 227, 0.28);
    background: linear-gradient(150deg, rgba(7, 35, 66, 0.9), rgba(6, 31, 58, 0.82));
}

.footer__links a:hover {
    color: var(--sea-core);
}

.mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    display: none;
    gap: 0.58rem;
    padding: 0.74rem 0.9rem calc(0.74rem + env(safe-area-inset-bottom, 0));
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(229, 246, 255, 0.95), rgba(229, 246, 255, 0.88));
    backdrop-filter: blur(12px);
}

.mobile-cta .btn {
    flex: 1;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

[data-parallax] {
    transform: translateY(var(--parallax-y, 0px));
}

@media (max-width: 1100px) {
    .sea-hero__grid {
        grid-template-columns: 1fr;
    }

    .sea-hero__brand {
        justify-items: start;
    }

    .sea-hero__brand figcaption {
        text-align: left;
    }

    .route-flow {
        grid-template-columns: 1fr;
    }

    .route-flow::before {
        display: none;
    }

    .about-layout {
        grid-template-columns: 1fr;
    }

    .harbor-emblems {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 920px) {
    .topbar__inner {
        min-height: 84px;
    }

    .icon-btn {
        display: inline-flex;
    }

    .nav {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(100% + 0.35rem);
        padding: 0.75rem;
        border-radius: 18px;
        border: 1px solid var(--line);
        background: var(--surface-strong);
        box-shadow: var(--shadow-md);
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

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

    .nav__link {
        text-align: center;
    }

    body.nav-open {
        overflow: hidden;
    }

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

@media (max-width: 760px) {
    .sea-hero {
        padding-top: 1.8rem;
    }

    .sea-hero__title {
        max-width: 100%;
    }

    .sea-hero__actions .btn {
        width: 100%;
    }

    .app-links .btn {
        width: 100%;
    }

    .app-links .store-badge {
        width: 136px;
    }

    .odessa-tags li,
    .odessa-postmarks li {
        width: 100%;
        text-align: center;
    }

    .route-compass {
        padding-left: 2.5rem;
    }

    .route-flow li {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .route-flow span {
        width: 58px;
        height: 58px;
        font-size: 0.9rem;
    }

    .mobile-cta {
        display: flex;
    }

    body.has-mobile-cta {
        padding-bottom: 84px;
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ===== Restyle V2: high-contrast marine glass ===== */
:root {
    --font-ui: 'Sora', 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', 'Georgia', serif;

    --ink: #f0f8ff;
    --ink-soft: #c7ddf0;
    --sea-deep: #041a34;
    --sea-core: #1d8fda;
    --sea-bright: #3ec7ff;
    --sea-foam: #0c2746;
    --sun: #ffd12b;
    --sun-soft: #ffe57f;
    --line: rgba(137, 199, 243, 0.34);

    --bg: #07182e;
    --surface: rgba(9, 33, 61, 0.72);
    --surface-strong: rgba(12, 39, 70, 0.9);
}

html[data-theme='dark'] {
    --ink: #f0f8ff;
    --ink-soft: #bfd9ee;
    --sea-deep: #031428;
    --sea-core: #2195de;
    --sea-bright: #45cdff;
    --sea-foam: #0a223d;
    --sun: #ffd12b;
    --sun-soft: #ffe57f;
    --line: rgba(137, 199, 243, 0.34);

    --bg: #051427;
    --surface: rgba(6, 28, 53, 0.75);
    --surface-strong: rgba(8, 34, 62, 0.92);
}

body {
    color: var(--ink);
    background:
        radial-gradient(circle at 12% -14%, rgba(58, 175, 246, 0.28), transparent 46%),
        radial-gradient(circle at 86% -22%, rgba(20, 124, 195, 0.36), transparent 52%),
        linear-gradient(180deg, #07182e 0%, #082243 52%, #0b2f57 100%);
}

body::before {
    opacity: 0.16;
    background-image: radial-gradient(rgba(168, 215, 245, 0.3) 1px, transparent 1px);
}

body::after {
    opacity: 0.7;
    background: radial-gradient(circle at 35% 35%, rgba(28, 142, 214, 0.35), rgba(28, 142, 214, 0));
}

.topbar {
    background: linear-gradient(180deg, rgba(5, 23, 42, 0.92), rgba(5, 23, 42, 0.76));
    border-bottom: 1px solid var(--line);
}

.nav__link {
    color: #d9ebf9;
    background: rgba(10, 34, 60, 0.22);
}

.nav__link:hover {
    color: #f6fbff;
    background: rgba(42, 149, 219, 0.22);
}

.nav__link--active {
    color: #0b1a2d;
    background: linear-gradient(120deg, #ffd12b, #ffe57f);
    box-shadow: 0 12px 24px rgba(255, 207, 57, 0.24);
}

.icon-btn,
.topbar__phone {
    color: #dff1ff;
    border-color: var(--line);
    background: rgba(9, 35, 62, 0.7);
}

a {
    color: #56c8ff;
}

a:hover {
    color: #91ddff;
}

.btn--primary {
    color: #12243a;
    background: linear-gradient(118deg, #ffd12b, #ffe57f);
    box-shadow: 0 14px 28px rgba(255, 208, 48, 0.34);
}

.btn--soft {
    color: #f1f8ff;
    background: rgba(15, 51, 87, 0.7);
    border-color: rgba(139, 204, 246, 0.44);
}

.btn--app {
    color: #f5fbff;
    background: linear-gradient(120deg, #0d67a8, #18a3e1);
    border-color: rgba(154, 215, 249, 0.52);
    box-shadow: 0 12px 24px rgba(9, 101, 165, 0.35);
}

.sea-hero {
    background:
        radial-gradient(90% 120% at 0% 0%, rgba(52, 170, 242, 0.24), transparent 70%),
        radial-gradient(80% 110% at 100% 0%, rgba(24, 127, 197, 0.26), transparent 70%),
        linear-gradient(180deg, rgba(7, 27, 48, 0.84), rgba(9, 42, 73, 0.72));
}

.sea-hero::before {
    opacity: 0.54;
}

.sea-hero__copy {
    border: 1px solid rgba(130, 195, 240, 0.34);
    background: linear-gradient(154deg, rgba(7, 31, 58, 0.82), rgba(7, 39, 70, 0.72));
    box-shadow: 0 24px 52px rgba(2, 14, 28, 0.45);
}

.eyebrow {
    color: #8bd8ff;
}

.sea-hero__title {
    color: #f2f9ff;
    text-shadow: 0 2px 18px rgba(2, 13, 25, 0.45);
}

.sea-hero__title span {
    color: #ffe27a;
}

.sea-hero__lead,
.signal-row p,
.section-head p,
.stream-line p,
.route-compass p,
.route-flow p,
.app-panel p,
.about-copy p,
.about-notes p,
.contact-wave p,
.footer__note,
.footer__fineprint,
.footer__links a,
.sea-hero__brand figcaption {
    color: var(--ink-soft);
}

.odessa-tags li,
.odessa-postmarks li {
    color: #dff2ff;
    border-color: rgba(127, 199, 243, 0.38);
    background: rgba(8, 39, 70, 0.78);
}

.sea-section--stream,
.sea-section--routes,
.sea-section--app,
.sea-section--about,
.sea-section--contacts {
    background: transparent;
}

.section-head h2,
.about-copy h2,
.stream-line h3,
.footer__title,
.contact-wave strong {
    color: #f5fbff;
}

.harbor-emblem,
.route-compass,
.app-panel,
.about-notes p,
.contact-wave {
    border-color: rgba(128, 197, 240, 0.32);
    background: linear-gradient(152deg, rgba(8, 35, 64, 0.8), rgba(11, 48, 82, 0.72));
    box-shadow: 0 18px 34px rgba(2, 13, 24, 0.36);
}

.harbor-emblem__icon {
    background: linear-gradient(130deg, rgba(26, 146, 221, 0.24), rgba(66, 195, 255, 0.22));
    color: #8fdcff;
}

.stream-line {
    border-left: 2px solid rgba(107, 190, 240, 0.5);
    border-bottom: 1px solid rgba(88, 167, 214, 0.24);
}

.stream-line::before {
    box-shadow: 0 0 0 4px rgba(55, 168, 226, 0.28);
}

.route-flow span {
    color: #0b1b31;
    background: linear-gradient(140deg, #ffd12b, #ffe57f);
    box-shadow: 0 12px 24px rgba(255, 211, 62, 0.28);
}

.footer {
    border-top: 1px solid rgba(132, 198, 242, 0.24);
    background: linear-gradient(180deg, rgba(6, 24, 44, 0.72), rgba(6, 24, 44, 0.92));
}

.mobile-cta {
    border-top: 1px solid rgba(132, 198, 242, 0.28);
    background: linear-gradient(180deg, rgba(7, 29, 53, 0.94), rgba(7, 29, 53, 0.88));
}

@media (max-width: 920px) {
    .nav {
        background: rgba(8, 35, 62, 0.95);
        border-color: rgba(136, 201, 244, 0.32);
    }
}

/* Decorative media accents */
.sea-hero__grid,
.sea-section > .container,
.about-layout {
    position: relative;
    z-index: 3;
}

.decor {
    position: absolute;
    margin: 0;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

.decor img {
    display: block;
    width: 100%;
    height: auto;
}

.sea-hero {
    overflow: hidden;
}

.sea-hero__copy {
    position: relative;
    overflow: visible;
}

.sea-hero__copy::after {
    content: '';
    position: absolute;
    top: clamp(-16px, -1.5vw, -8px);
    right: clamp(-14px, -1.2vw, -6px);
    width: clamp(56px, 6.2vw, 92px);
    aspect-ratio: 1 / 1;
    background: url('../img/decor-lifebuoy.png') center / contain no-repeat;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.26));
    opacity: 0.92;
    pointer-events: none;
    z-index: 4;
}

.decor--hero-wave {
    left: -8%;
    right: -8%;
    bottom: -20px;
    height: clamp(110px, 17vw, 210px);
    border-radius: 36px;
    overflow: hidden;
    opacity: 0.2;
}

.decor--hero-wave img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1) contrast(1.03);
    mix-blend-mode: screen;
}

.sea-section--about,
.sea-section--contacts {
    overflow: hidden;
}

.decor--about-wave {
    width: clamp(220px, 34vw, 430px);
    right: -7%;
    top: 8%;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0.22;
    transform: rotate(-4deg) translateY(var(--parallax-y, 0px));
}

.decor--about-wave img {
    filter: saturate(1.14);
    mix-blend-mode: screen;
}

.about-notes p {
    position: relative;
    padding-left: 2.75rem;
}

.about-notes p::before {
    content: '';
    position: absolute;
    left: 0.84rem;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    background: url('../img/decor-lifebuoy.png') center / contain no-repeat;
    opacity: 0.9;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.22));
    pointer-events: none;
}

.contact-wave {
    position: relative;
    overflow: visible;
}

.contact-wave::after {
    content: '';
    position: absolute;
    right: clamp(10px, 1.8vw, 24px);
    bottom: clamp(-16px, -1.4vw, -8px);
    width: clamp(48px, 5.4vw, 78px);
    aspect-ratio: 1 / 1;
    background: url('../img/decor-lifebuoy.png') center / contain no-repeat;
    opacity: 0.86;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
    pointer-events: none;
}

@media (max-width: 920px) {
    .decor--hero-wave {
        opacity: 0.15;
    }

    .decor--about-wave {
        opacity: 0.16;
        right: -12%;
        top: 2%;
    }
}

@media (max-width: 760px) {
    .decor--hero-wave {
        height: 90px;
        bottom: -16px;
        opacity: 0.12;
    }

    .decor--about-wave {
        display: none;
    }

    .sea-hero__copy::after {
        width: 54px;
        right: -10px;
        top: -12px;
    }

    .about-notes p {
        padding-left: 2.5rem;
    }

    .about-notes p::before {
        left: 0.72rem;
        width: 18px;
        height: 18px;
    }

    .contact-wave::after {
        width: 44px;
        right: 8px;
        bottom: -12px;
    }
}

/* Artifact hotfix: remove conflicting layered waves/dividers */
.sea-hero::before,
.sea-hero::after,
.sea-divider,
.decor--hero-wave,
.decor--about-wave {
    content: none !important;
    display: none !important;
}

.sea-hero {
    overflow: clip;
    padding-bottom: clamp(3rem, 6vw, 4.8rem) !important;
}

.sea-section--stream {
    border-top: none !important;
}

/* Hero desktop composition: logo left, wider text block, styled overlap */
@media (min-width: 1101px) {
    .sea-hero__grid {
        grid-template-columns: minmax(0, 0.5fr) minmax(0, 1.5fr);
        gap: clamp(0.85rem, 2vw, 1.6rem);
    }

    .sea-hero__brand {
        order: 1;
        justify-items: end;
        margin-right: clamp(-56px, -3.6vw, -24px);
        position: relative;
        z-index: 6;
        transform: translateX(clamp(28px, 3.2vw, 54px)) translateY(var(--parallax-y, 0px));
    }

    .sea-hero__brand img {
        width: clamp(320px, 41vw, 680px);
    }

    .sea-hero__copy {
        order: 2;
        width: 100%;
        max-width: 1120px;
        margin-left: clamp(-52px, -3.6vw, -20px);
        padding: clamp(1.18rem, 2.1vw, 1.8rem) clamp(1.2rem, 2.4vw, 2rem);
        position: relative;
        z-index: 4;
    }
}

@media (max-width: 1100px) {
    .sea-hero__copy {
        order: 1;
        width: 100%;
        margin-left: 0;
    }

    .sea-hero__brand {
        order: 2;
        margin-right: 0;
        transform: translateY(var(--parallax-y, 0px));
    }
}

/* Hero content aligned to the right */
.sea-hero__copy {
    text-align: right;
}

.sea-hero__copy .sea-hero__title,
.sea-hero__copy .sea-hero__lead {
    margin-left: auto;
    margin-right: 0;
}

.sea-hero__copy .sea-hero__actions,
.sea-hero__copy .app-links {
    justify-content: flex-end;
}

/* Footer sections in three columns */
@media (min-width: 921px) {
    .footer__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    }

    .footer__links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: clamp(0.8rem, 1.5vw, 1.3rem);
        row-gap: 0.48rem;
        align-content: start;
    }
}

.footer__title {
    grid-column: 1 / -1;
}

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

@media (max-width: 560px) {
    .footer__links {
        grid-template-columns: 1fr;
    }
}

/* Water motifs and motivational accents */
.sea-hero__motto {
    margin: 0.9rem 0 0;
    margin-left: auto;
    max-width: 52ch;
    padding: 0.62rem 0.86rem;
    border-radius: 12px;
    border: 1px solid rgba(136, 200, 242, 0.28);
    background: linear-gradient(150deg, rgba(12, 47, 82, 0.56), rgba(10, 40, 70, 0.34));
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.motivation-tide {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.56rem;
}

.motivation-tide li {
    margin: 0;
    padding: 0.58rem 0.7rem;
    border-radius: 12px;
    border: 1px solid rgba(132, 198, 242, 0.3);
    background:
        radial-gradient(120% 140% at 12% 0%, rgba(94, 193, 238, 0.24), rgba(94, 193, 238, 0)),
        linear-gradient(155deg, rgba(8, 35, 64, 0.78), rgba(9, 43, 76, 0.62));
    color: var(--ink-soft);
    font-size: 0.87rem;
    line-height: 1.45;
    text-align: left;
}

.section-head h2::after {
    content: '';
    display: block;
    width: clamp(120px, 18vw, 220px);
    height: 7px;
    margin-top: 0.68rem;
    border-radius: 999px;
    background:
        radial-gradient(90% 160% at 20% 50%, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0)),
        linear-gradient(90deg, rgba(68, 185, 235, 0.82), rgba(23, 126, 192, 0.48), rgba(11, 78, 138, 0.18));
    box-shadow: 0 0 0 1px rgba(115, 192, 240, 0.2);
}

.sea-section {
    overflow: hidden;
}

.sea-section::before,
.sea-section::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.sea-section::before {
    right: -96px;
    top: clamp(12px, 3vw, 52px);
    width: clamp(170px, 22vw, 360px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background:
        radial-gradient(closest-side, rgba(102, 194, 236, 0.2), rgba(102, 194, 236, 0)),
        radial-gradient(closest-side, rgba(36, 136, 205, 0.18), rgba(36, 136, 205, 0));
    filter: blur(0.5px);
}

.sea-section::after {
    left: -96px;
    bottom: clamp(8px, 2.2vw, 38px);
    width: clamp(160px, 24vw, 380px);
    height: clamp(70px, 10vw, 150px);
    border-radius: 999px;
    background:
        radial-gradient(120% 220% at 50% 0%, rgba(145, 214, 247, 0.24), rgba(145, 214, 247, 0)),
        linear-gradient(180deg, rgba(38, 145, 214, 0.22), rgba(38, 145, 214, 0));
}

@media (max-width: 900px) {
    .motivation-tide {
        grid-template-columns: 1fr;
    }
}

/* Hero polish: cleaner composition */
.sea-hero__copy::after {
    display: none !important;
}

@media (min-width: 1101px) {
    .sea-hero__grid {
        grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
        gap: clamp(1rem, 2vw, 1.8rem);
        align-items: end;
    }

    .sea-hero__brand {
        margin-right: clamp(-24px, -1.6vw, -10px);
        transform: translateX(clamp(10px, 1.3vw, 24px)) translateY(var(--parallax-y, 0px));
    }

    .sea-hero__brand img {
        width: clamp(280px, 31vw, 500px);
    }

    .sea-hero__copy {
        max-width: 940px;
        margin-left: clamp(-22px, -1.4vw, -8px);
        border-radius: 24px;
    }

    .sea-hero__copy .sea-hero__title {
        font-size: clamp(2rem, 1.6vw + 1.2rem, 3rem);
        line-height: 1.1;
        max-width: 15ch;
    }

    .sea-hero__copy .sea-hero__lead {
        max-width: 56ch;
    }

    .sea-hero__motto {
        margin-top: 0.72rem;
        max-width: 44ch;
        padding: 0.3rem 0;
        border: none;
        background: transparent;
        font-size: 0.9rem;
        opacity: 0.9;
    }
}

/* Hero full rebuild: balanced two-column layout */
.sea-hero {
    padding: clamp(2.4rem, 5vw, 4.4rem) 0 clamp(3rem, 6vw, 5rem) !important;
}

.sea-hero__grid {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(1.2rem, 2.4vw, 2.2rem);
    align-items: center;
}

.sea-hero__brand {
    order: 1;
    margin: 0;
    justify-items: center;
    transform: translateY(var(--parallax-y, 0px));
    z-index: 2;
}

.sea-hero__brand img {
    width: clamp(290px, 30vw, 500px);
}

.sea-hero__copy {
    order: 2;
    width: 100%;
    max-width: 900px;
    margin: 0;
    margin-left: auto;
    padding: clamp(1.2rem, 2.3vw, 1.95rem) clamp(1.2rem, 2.6vw, 2.2rem);
    border-radius: 26px;
    text-align: right;
    position: relative;
    z-index: 3;
}

.sea-hero__copy .sea-hero__title {
    font-size: clamp(2rem, 1.8vw + 1.15rem, 3.15rem);
    line-height: 1.08;
    max-width: 13.2ch;
    margin-left: auto;
}

.sea-hero__copy .sea-hero__lead {
    max-width: 52ch;
    margin-left: auto;
}

.sea-hero__copy .sea-hero__actions,
.sea-hero__copy .app-links {
    justify-content: flex-end;
}

.sea-hero__copy::after {
    display: none !important;
}

@media (max-width: 1100px) {
    .sea-hero__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .sea-hero__copy {
        order: 1;
        max-width: none;
        margin: 0;
        text-align: left;
    }

    .sea-hero__copy .sea-hero__title,
    .sea-hero__copy .sea-hero__lead {
        margin-left: 0;
        max-width: 100%;
    }

    .sea-hero__copy .sea-hero__actions,
    .sea-hero__copy .app-links {
        justify-content: flex-start;
    }

    .sea-hero__brand {
        order: 2;
        justify-items: start;
        transform: translateY(var(--parallax-y, 0px));
    }

    .sea-hero__brand img {
        width: clamp(250px, 62vw, 360px);
    }
}
