:root {
    --wine: #971934;
    --wine-2: #b32350;
    --wine-soft: #f8edf1;
    --cream: #fbf7f2;
    --cream-2: #fffaf5;
    --text: #211d1e;
    --muted: #6f6768;
    --line: #eadfd5;
    --gold: #c9a263;
    --shadow: 0 18px 48px rgba(72, 38, 26, .11);
    --radius: 18px;
    --serif: 'Montserrat', Arial, sans-serif;
    --sans: 'Montserrat', Arial, sans-serif;
    --sentinel: 'Sentinel';
}

* {
    box-sizing: border-box;
}

html {
    height: auto;
    scroll-behavior: smooth;
}

body.h-100 {
    height: auto !important;
}

body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(180deg, #fff 0%, #fbf7f2 45%, #fff 100%);
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}

#mainContainer {
    width: 100%;
    height: auto !important;
    background: transparent;
}

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

a,
a:hover {
    color: inherit;
    text-decoration: none;
}

.page {
    overflow: hidden;
}

.page .container {
    width: min(1120px, calc(100% - 44px));
    max-width: none;
    margin-inline: auto;
    padding-right: 0;
    padding-left: 0;
}

.header {
    position: relative;
    z-index: 5;
    padding: 26px 0 18px;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--wine);
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.02em;
    white-space: nowrap;
}

.menu {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    color: #30292b;
    font-size: 14px;
    font-weight: 600;
}

.hero {
    position: relative;
    min-height: 600px;
    padding: 58px 0 64px;
    background:
        radial-gradient(circle at 92% 40%, rgba(246, 225, 205, .78), transparent 32%),
        linear-gradient(90deg, #fff 0%, #fff 46%, rgba(255, 255, 255, .88) 57%, rgba(255, 255, 255, .48) 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto auto;
    width: 58%;
    height: 100%;
    background: url('../assets/uvodni-fotka.png') right center / cover no-repeat;
    opacity: .22;
    pointer-events: none;
    mask-image: linear-gradient(90deg, transparent 0%, black 28%, black 100%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
    gap: 64px;
    align-items: center;
}

.hero-copy {
    padding-top: 12px;
}

.hero h1 {
    max-width: 620px;
    margin: 0 0 24px;
    font-family: var(--sentinel);
    font-size: clamp(29.4px, 3.78vw, 49px);
    font-weight: 500;
    line-height: .98;
    letter-spacing: -.055em;
}

.lead {
    max-width: 520px;
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.6;
}

.download-card {
    width: min(455px, 100%);
    padding: 24px 30px 18px;
    border: 2px solid rgba(151, 25, 52, .18);
    border-radius: 20px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 22px 58px rgba(72, 38, 26, .16), 0 0 0 7px rgba(151, 25, 52, .045);
    text-align: center;
}

.download-card strong {
    display: block;
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.35;
}

.store-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.store-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    border-radius: 9px;
    background: #050505;
    color: #fff;
    font-weight: 700;
    letter-spacing: -.02em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}

.store-btn:hover {
    color: #fff;
}

.store-btn svg {
    width: 30px;
    height: 30px;
    flex: none;
}

.store-btn span {
    display: block;
    text-align: left;
    line-height: 1.02;
}

.store-btn small {
    display: block;
    color: #f7f7f7;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0;
    opacity: .92;
}

.download-note {
    margin: 14px 0 0;
    color: #9b8f8a;
    font-size: 12px;
}

.hero-phones {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 24px;
    min-height: 520px;
}

.hero-phones::before {
    content: "";
    position: absolute;
    inset: 54px -38px 16px;
    z-index: 0;
    border-radius: 30px;
    background:
        linear-gradient(90deg, rgba(255, 250, 245, .78) 0%, rgba(255, 250, 245, .54) 38%, rgba(255, 250, 245, .18) 100%),
        url('../images/content/ml-app/hero-background-vinice.jpg') center / cover no-repeat;
    opacity: .68;
    filter: saturate(.88) contrast(.96);
    box-shadow: 0 18px 44px rgba(72, 38, 26, .10);
    pointer-events: none;
}

.hero-phones .phone {
    z-index: 1;
}

.phone {
    position: relative;
    width: 255px;
    padding: 6px;
    flex: 0 0 auto;
    border-radius: 34px;
    background: #121212;
    box-shadow: 0 20px 34px rgba(30, 20, 20, .24), inset 0 0 0 1px #2e2e2e;
}

.phone::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    z-index: 2;
    width: 74px;
    height: 18px;
    transform: translateX(-50%);
    border-radius: 0 0 14px 14px;
    background: #111;
}

.phone img {
    width: 100%;
    height: auto;
    border-radius: 28px;
    background: #fff;
    aspect-ratio: 944 / 2048;
    object-fit: cover;
    object-position: top center;
}

.phone.secondary {
    width: 232px;
    margin-bottom: 4px;
}

.section {
    padding: 58px 0;
}

.section.soft {
    border-block: 1px solid rgba(234, 223, 213, .48);
    background: rgba(255, 248, 242, .72);
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin: 0 0 32px;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.03em;
    text-align: center;
}

.section-title::before,
.section-title::after {
    content: "";
    width: 58px;
    height: 1px;
    background: var(--gold);
    opacity: .7;
}

.section-title.no-lines::before,
.section-title.no-lines::after {
    display: none;
}

.plain-title {
    margin: 0 0 28px;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.03em;
    text-align: center;
}

.eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #c0996a;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .32em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 950px;
    margin: 0 auto;
}

.stat-card {
    min-height: 132px;
    padding: 22px 18px 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 10px 25px rgba(73, 38, 22, .05);
    text-align: center;
}

.icon-round {
    display: grid;
    width: 39px;
    height: 39px;
    margin: 0 auto 10px;
    place-items: center;
    border-radius: 50%;
    background: var(--wine-soft);
    color: var(--wine);
}

.icon-round img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.stat-card strong {
    display: block;
    color: var(--wine);
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.stat-card span {
    display: block;
    margin-top: 7px;
    color: #766d6d;
    font-size: 13px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.benefit-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    align-items: center;
    min-height: 142px;
    padding: 24px 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 10px 24px rgba(73, 38, 22, .05);
}

.benefit-card h3,
.mini-feature h3,
.app-card h3,
.audience-card h3 {
    margin: 0 0 7px;
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.22;
    letter-spacing: -.025em;
}

.benefit-card p,
.mini-feature p,
.app-card p,
.audience-card p {
    margin: 0;
    color: #5d5555;
    font-size: 14px;
    line-height: 1.55;
}

.benefit-icon {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border-radius: 50%;
    background: var(--wine-soft);
    color: var(--wine);
}

.benefit-icon img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.trip-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
    gap: 68px;
    align-items: center;
}

.trip-copy h2 {
    margin: 0 0 20px;
    font-family: var(--sentinel);
    font-size: 48px;
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.045em;
}

.trip-copy > p {
    max-width: 520px;
    margin: 0 0 44px;
    color: #5f5858;
    font-size: 18px;
    line-height: 1.7;
}

.mini-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.mini-feature {
    text-align: center;
}

.mini-feature .line-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    color: var(--wine);
}

.mini-feature .line-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.trip-phones {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 22px;
}

.trip-phones .phone {
    width: 224px;
}

.trip-phones .phone.secondary {
    width: 210px;
    margin-bottom: 5px;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.app-card {
    min-height: 382px;
    padding: 17px 12px 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 10px 22px rgba(73, 38, 22, .045);
    text-align: center;
}

.app-card h3 {
    min-height: 42px;
    color: var(--wine);
    font-size: 15px;
    font-weight: 700;
}

.app-card .shot-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 214px;
    margin: 4px 0 14px;
    overflow: hidden;
}

.app-card img {
    width: auto;
    height: 316px;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .12));
}

.app-card p {
    font-size: 13px;
    line-height: 1.45;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.audience-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 22px rgba(73, 38, 22, .05);
    text-align: center;
}

.audience-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.audience-card div {
    padding: 19px 20px 23px;
}

.audience-card h3 {
    font-size: 20px;
}

.bottom-cta {
    padding: 28px 0 34px;
    background: #fff;
}

.cta-panel {
    position: relative;
    display: grid;
    grid-template-columns: 1.55fr minmax(350px, 455px) .25fr;
    gap: 28px;
    align-items: center;
    min-height: 178px;
    padding: 34px 46px;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, #781f2c 0%, #bd1f43 100%);
    color: #fff;
    box-shadow: 0 18px 46px rgba(91, 10, 30, .22);
}

.cta-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(120, 31, 44, .96) 0%, rgba(151, 25, 52, .90) 45%, rgba(189, 31, 67, .58) 67%, rgba(189, 31, 67, .16) 100%),
        url('../assets/fotka-paticka.png') right center / 54% auto no-repeat;
}

.cta-panel > * {
    position: relative;
    z-index: 1;
}

.cta-panel h2 {
    margin: 0 0 10px;
    font-family: var(--sentinel);
    font-size: 35px;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.035em;
}

.cta-panel .download-card {
    width: 100%;
    padding: 20px 22px 16px;
    color: var(--text);
}

.cta-download {
    justify-self: end;
    margin-right: 14px;
}

.cta-panel .download-card strong {
    font-size: 16px;
}

.cta-panel .download-note {
    color: #9b8f8a;
}

@media (max-width: 1050px) {
    .menu {
        gap: 22px;
    }

    .hero-grid,
    .trip-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .hero {
        padding-top: 38px;
    }

    .hero-copy {
        display: grid;
        justify-items: center;
        text-align: center;
    }

    .hero-phones {
        min-height: auto;
    }

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

    .benefits-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-panel {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .cta-download {
        justify-self: start;
        margin-right: 0;
    }

    .cta-panel::before {
        background:
            linear-gradient(90deg, rgba(189, 31, 67, .97), rgba(189, 31, 67, .78)),
            url('../assets/fotka-paticka.png') right center / cover no-repeat;
    }
}

@media (max-width: 760px) {
    .page .container {
        width: min(calc(100% - 28px), 1120px);
    }

    .header {
        padding: 16px 0;
    }

    .nav {
        align-items: flex-start;
    }

    .brand {
        font-size: 21px;
    }

    .menu {
        display: none;
    }

    .hero {
        padding: 32px 0 46px;
    }

    .hero::before {
        width: 100%;
        opacity: .13;
        mask-image: none;
    }

    .hero h1 {
        font-size: 42px;
        line-height: 1.02;
    }

    .lead {
        font-size: 16px;
    }

    .download-card {
        padding: 20px 16px 16px;
    }

    .store-row {
        grid-template-columns: 1fr;
    }

    .hero-phones {
        gap: 12px;
        align-items: center;
    }

    .hero-phones::before {
        inset: 28px -14px 8px;
        border-radius: 20px;
        opacity: .56;
    }

    .phone {
        width: 46vw;
        max-width: 220px;
        padding: 5px;
        border-radius: 28px;
    }

    .phone::before {
        top: 8px;
        width: 58px;
        height: 14px;
    }

    .phone img {
        border-radius: 23px;
    }

    .phone.secondary {
        width: 42vw;
        max-width: 200px;
    }

    .section {
        padding: 42px 0;
    }

    .section-title {
        gap: 14px;
        font-size: 26px;
    }

    .section-title::before,
    .section-title::after {
        width: 34px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-card {
        min-height: 120px;
        padding: 18px 10px;
    }

    .stat-card strong {
        font-size: 26px;
    }

    .benefit-card {
        grid-template-columns: 56px 1fr;
        gap: 14px;
        padding: 20px 18px;
    }

    .benefit-icon {
        width: 50px;
        height: 50px;
    }

    .benefit-icon img {
        width: 32px;
        height: 32px;
    }

    .trip-copy h2 {
        font-size: 36px;
        text-align: left;
    }

    .trip-copy > p {
        margin-bottom: 30px;
        font-size: 16px;
    }

    .mini-features {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .trip-phones {
        gap: 12px;
    }

    .trip-phones .phone {
        width: 45vw;
        max-width: 205px;
    }

    .trip-phones .phone.secondary {
        width: 42vw;
        max-width: 190px;
    }

    .app-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .app-card {
        min-height: 372px;
    }

    .audience-card img {
        height: 150px;
    }

    .cta-panel {
        padding: 28px 22px;
        border-radius: 16px;
    }

    .cta-panel h2 {
        font-size: 28px;
    }

    .cta-download {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 460px) {
    .hero h1 {
        font-size: 24.5px;
    }

    .stats-grid,
    .app-grid {
        grid-template-columns: 1fr;
    }

    .app-card .shot-wrap {
        height: 220px;
    }

    .app-card img {
        height: 320px;
    }
}
