

/* =========================================================
   БАЗА
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: #293b32;

    background: #ebe2d4;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

button {
    font-family: inherit;
}

a {
    text-decoration: none;
}

:root {

    --green: #40594b;
    --green-dark: #263d31;
    --green-deep: #1e3329;

    --cream: #f4eee3;
    --cream-light: #fbf8f2;
    --cream-dark: #e4d9c8;

    --terracotta: #b8795e;
    --terracotta-light: #d49a81;

    --text: #293b32;
    --muted: #7c837d;

    --white: #fffdf9;

    --border: rgba(57, 78, 66, .13);

    --shadow:
        0 30px 80px rgba(42, 52, 44, .14);

    --container: 1240px;
}


/* =========================================================
   ОБЩИЙ ФОН
========================================================= */

body::before {

    content: "";

    position: fixed;

    inset: 0;

    z-index: -3;

    background-image:

        linear-gradient(
            rgba(244, 238, 227, .84),
            rgba(244, 238, 227, .84)
        ),

        url("../images/ivlev.jpg");

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;
}


body::after {

    content: "";

    position: fixed;

    inset: 0;

    z-index: -2;

    pointer-events: none;

    background:
        linear-gradient(
            135deg,
            rgba(52, 77, 64, .08),
            rgba(184, 121, 94, .04)
        );
}


/* =========================================================
   ОБЩИЕ ЭЛЕМЕНТЫ
========================================================= */

.container {

    width:
        min(
            calc(100% - 50px),
            var(--container)
        );

    margin: 0 auto;
}


.section {
    padding: 110px 0;
}


.eyebrow {

    color: var(--terracotta);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.title {

    margin-top: 14px;

    color: var(--green-dark);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(48px, 6vw, 82px);

    font-weight: 400;

    line-height: .94;

    letter-spacing: -4px;
}


.title em {

    color: var(--terracotta);

    font-style: italic;
}


.text {

    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   КНОПКИ
========================================================= */

.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 56px;

    padding:
        0 26px;

    border-radius: 100px;

    border: none;

    font-size: 11px;

    font-weight: 800;

    cursor: pointer;

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}


.button-primary {

    background: var(--green);

    color: white;

    box-shadow:
        0 15px 35px
        rgba(54, 79, 67, .22);
}


.button-primary:hover {

    background: var(--green-dark);

    transform: translateY(-3px);

    box-shadow:
        0 20px 45px
        rgba(54, 79, 67, .28);
}


.button-light {

    background:
        rgba(255,255,255,.55);

    color: var(--green-dark);

    border:
        1px solid
        rgba(66,93,80,.16);
}


.button-light:hover {

    background: white;

    transform: translateY(-2px);
}


/* =========================================================
   HEADER
========================================================= */

header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

    padding:
        16px 0;

    background:
        rgba(244,238,227,.78);

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

    border-bottom:
        1px solid
        rgba(55,73,63,.08);
}


.header-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.logo {

    color: var(--green-dark);

    font-family: Georgia, serif;

    font-size: 25px;

    font-weight: bold;

    letter-spacing: 1px;
}


.logo span {
    color: var(--terracotta);
}


nav {

    display: flex;

    gap: 30px;
}


nav a {

    color: #69746d;

    font-size: 11px;

    transition: .2s;
}


nav a:hover {
    color: var(--green-dark);
}


.header-button {

    min-height: 44px;

    padding:
        0 20px;

    border: none;

    border-radius: 100px;

    background: var(--green);

    color: white;

    font-size: 10px;

    font-weight: 800;

    cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.hero {

    min-height: 850px;

    padding:
        155px 0 90px;
}


.hero-grid {

    display: grid;

    grid-template-columns:
        1.05fr .95fr;

    gap: 70px;

    align-items: center;
}


.hero-kicker {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 25px;

    color: var(--green);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.hero-kicker::before {

    content: "";

    width: 30px;

    height: 1px;

    background: var(--terracotta);
}


.hero-title {

    color: var(--green-dark);

    font-family: Georgia, serif;

    font-size:
        clamp(67px, 9vw, 116px);

    font-weight: 400;

    line-height: .83;

    letter-spacing: -7px;
}


.hero-title em {

    color: var(--terracotta);

    font-style: italic;
}


.hero-subtitle {

    max-width: 560px;

    margin-top: 32px;

    color: #69746d;

    font-size: 16px;

    line-height: 1.8;
}


.hero-subtitle strong {

    color: var(--green-dark);

    font-weight: 700;
}


.hero-actions {

    display: flex;

    gap: 10px;

    margin-top: 30px;
}


.hero-note {

    margin-top: 13px;

    color: #8c918b;

    font-size: 9px;
}


/* =========================================================
   HERO APP CARD
========================================================= */

.hero-app {

    position: relative;

    max-width: 480px;

    margin: auto;
}


.app-card {

    padding: 32px;

    background:
        rgba(250,247,240,.84);

    backdrop-filter: blur(25px);

    -webkit-backdrop-filter: blur(25px);

    border:
        1px solid
        rgba(255,255,255,.75);

    box-shadow: var(--shadow);

    transform: rotate(1deg);
}


.app-card-inner {
    transform: rotate(-1deg);
}


.app-top {

    display: flex;

    justify-content: space-between;

    padding-bottom: 17px;

    border-bottom:
        1px solid
        var(--border);
}


.app-brand {

    color: var(--green);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;
}


.online {

    color: #71907a;

    font-size: 8px;

    font-weight: 700;
}


.app-question {

    margin-top: 27px;

    color: var(--green-dark);

    font-family: Georgia, serif;

    font-size: 34px;

    line-height: 1.05;
}


.app-question span {

    color: var(--terracotta);

    font-style: italic;
}


.products {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 20px;
}


.product {

    padding:
        8px 10px;

    background: #e5dccd;

    color: #667069;

    font-size: 9px;
}


.ai-result {

    margin-top: 23px;

    padding: 20px;

    background:
        rgba(255,255,255,.42);

    border:
        1px dashed
        rgba(66,93,80,.24);
}


.ai-result-top {

    display: flex;

    justify-content: space-between;

    color: #7c837c;

    font-size: 8px;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.result-dish {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 15px;
}


.result-emoji {

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #e1d7c7;

    font-size: 22px;
}


.result-name {

    color: var(--green-dark);

    font-family: Georgia, serif;

    font-size: 16px;
}


.result-meta {

    margin-top: 3px;

    color: #8a8d88;

    font-size: 8px;
}


.floating-note {

    position: absolute;

    right: -28px;

    bottom: 25px;

    padding:
        18px 20px;

    background: var(--green);

    color: white;

    box-shadow:
        0 20px 45px
        rgba(40,60,50,.22);
}


.floating-note strong {

    display: block;

    font-family: Georgia, serif;

    font-size: 21px;

    font-weight: 400;
}


.floating-note span {

    display: block;

    margin-top: 4px;

    color: rgba(255,255,255,.56);

    font-size: 8px;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   DARK SECTION
========================================================= */

.relatable {

    padding: 80px 0;

    background: var(--green);

    color: white;
}


.relatable-grid {

    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 80px;

    align-items: center;
}


.relatable-title {

    font-family: Georgia, serif;

    font-size:
        clamp(40px,5vw,65px);

    font-weight: 400;

    line-height: .98;

    letter-spacing: -3px;
}


.relatable-title em {

    color: #d59a81;

    font-style: italic;
}


.relatable-text {

    color: rgba(255,255,255,.63);

    font-size: 14px;

    line-height: 1.8;
}


.situations {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 9px;

    margin-top: 25px;
}


.situation {

    padding: 20px;

    background:
        rgba(255,255,255,.06);

    border:
        1px solid
        rgba(255,255,255,.09);
}


.situation-icon {
    font-size: 20px;
}


.situation p {

    margin-top: 9px;

    color: rgba(255,255,255,.72);

    font-family: Georgia, serif;

    font-size: 15px;

    line-height: 1.25;
}


/* =========================================================
   HOW
========================================================= */

.how-grid {

    display: grid;

    grid-template-columns:
        .75fr 1.25fr;

    gap: 90px;
}


.how-intro {

    position: sticky;

    top: 110px;

    align-self: start;
}


.steps {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;
}


/* =========================================================
   4 ФОТО-БЛОКА
========================================================= */

.step {

    position: relative;

    min-height: 285px;

    padding: 28px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    justify-content: flex-start;

    background-color: #40594b;

    border:
        1px solid
        rgba(255,255,255,.18);

    color: white;

    transition:
        .3s,
        opacity .6s ease,
        transform .6s ease;

    isolation: isolate;
}


/* ФОТО */

.step::before {

    content: "";

    position: absolute;

    inset: 0;

    z-index: -2;

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    transform: scale(1.01);

    transition: transform .5s ease;
}


/* Затемнение фото */

.step::after {

    content: "";

    position: absolute;

    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            180deg,
            rgba(22,36,29,.18) 0%,
            rgba(22,36,29,.48) 48%,
            rgba(18,31,25,.82) 100%
        );

    transition: background .3s ease;
}


/* =========================================================
   ФОТО ДЛЯ КАЖДОГО ИЗ 4 БЛОКОВ
========================================================= */

.step:nth-child(1)::before {
    background-image: url("../images/photo1.jpg");
}

.step:nth-child(2)::before {
    background-image: url("../images/photo2.jpg");
}

.step:nth-child(3)::before {
    background-image: url("../images/photo3.jpg");
}

.step:nth-child(4)::before {
    background-image: url("../images/photo4.jpg");
}


/* =========================================================
   ТЕКСТ НА ФОТО
========================================================= */

.step-number {

    position: relative;

    z-index: 2;

    color: rgba(255,255,255,.88);

    font-family: Georgia, serif;

    font-size: 25px;

    text-shadow:
        0 2px 12px rgba(0,0,0,.35);
}


.step-icon {

    position: relative;

    z-index: 2;

    margin-top: 42px;

    font-size: 27px;

    filter:
        drop-shadow(
            0 2px 8px rgba(0,0,0,.3)
        );
}


.step h3 {

    position: relative;

    z-index: 2;

    margin-top: 17px;

    color: white;

    font-family: Georgia, serif;

    font-size: 21px;

    font-weight: 400;

    line-height: 1.15;

    text-shadow:
        0 2px 15px rgba(0,0,0,.5);
}


.step p {

    position: relative;

    z-index: 2;

    margin-top: 8px;

    color: rgba(255,255,255,.86);

    font-size: 11px;

    line-height: 1.65;

    text-shadow:
        0 2px 10px rgba(0,0,0,.5);
}


/* Эффект при наведении */

.step:hover {

    transform: translateY(-6px);

    box-shadow:
        0 25px 55px
        rgba(42,52,44,.25);
}


.step:hover::before {

    transform: scale(1.06);
}


.step:hover::after {

    background:
        linear-gradient(
            180deg,
            rgba(22,36,29,.12) 0%,
            rgba(22,36,29,.45) 48%,
            rgba(18,31,25,.86) 100%
        );
}


/* =========================================================
   BENEFITS
========================================================= */

.benefits-section {

    background:
        rgba(229,220,205,.66);
}


.benefits-head {

    max-width: 720px;

    margin-bottom: 55px;
}


.benefits {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 12px;
}


.benefit {

    min-height: 270px;

    padding: 34px;

    background:
        rgba(250,247,240,.82);

    border:
        1px solid
        rgba(66,93,80,.1);

    transition: .3s;
}


.benefit:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow);
}


.benefit-icon {

    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #e4dacc;

    font-size: 22px;
}


.benefit h3 {

    margin-top: 28px;

    color: var(--green-dark);

    font-family: Georgia, serif;

    font-size: 23px;

    font-weight: 400;
}


.benefit p {

    margin-top: 9px;

    color: #818780;

    font-size: 11px;

    line-height: 1.7;
}


/* =========================================================
   DEMO
========================================================= */

.app-section {
    padding: 115px 0;
}


.app-demo {

    display: grid;

    grid-template-columns: 1fr 1fr;

    overflow: hidden;

    background:
        rgba(250,247,240,.82);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    border:
        1px solid
        rgba(255,255,255,.7);

    box-shadow: var(--shadow);
}


.upload {
    padding: 50px;
}


.upload h3 {

    color: var(--green-dark);

    font-family: Georgia, serif;

    font-size: 32px;

    font-weight: 400;
}


.upload > p {

    max-width: 400px;

    margin-top: 9px;

    color: #828781;

    font-size: 12px;

    line-height: 1.7;
}


.upload-box {

    min-height: 310px;

    margin-top: 28px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px dashed
        rgba(66,93,80,.3);

    background:
        rgba(255,255,255,.3);

    text-align: center;
}


.upload-icon {
    font-size: 35px;
}


.upload-box h4 {

    margin-top: 15px;

    color: var(--green-dark);

    font-family: Georgia, serif;

    font-size: 21px;

    font-weight: 400;
}


.upload-box p {

    max-width: 280px;

    margin: 7px auto 0;

    color: #898d87;

    font-size: 10px;

    line-height: 1.6;
}


.upload-button {

    min-height: 48px;

    margin-top: 18px;

    padding:
        0 20px;

    border: none;

    border-radius: 100px;

    background: var(--green);

    color: white;

    font-size: 10px;

    font-weight: 700;

    cursor: pointer;
}


#photoInput {
    display: none;
}


.result {

    padding: 50px;

    background:
        rgba(229,220,205,.72);
}


.result-title {

    color: var(--green-dark);

    font-family: Georgia, serif;

    font-size: 31px;
}


.result-label {

    margin-bottom: 7px;

    color: var(--terracotta);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.dishes {

    display: grid;

    gap: 8px;

    margin-top: 25px;
}


.dish {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 12px;

    background:
        rgba(255,255,255,.55);

    border:
        1px solid
        rgba(66,93,80,.09);

    transition: .25s;
}


.dish:hover {

    transform: translateX(5px);

    background: white;
}


.dish-icon {

    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #ddd3c3;

    font-size: 25px;
}


.dish-name {

    color: var(--green-dark);

    font-family: Georgia, serif;

    font-size: 16px;
}


.dish-meta {

    margin-top: 4px;

    color: #898d87;

    font-size: 8px;
}


/* =========================================================
   DOWNLOAD
========================================================= */

.download-section {

    padding: 110px 0;
}


.download-box {

    position: relative;

    overflow: hidden;

    padding:
        80px 70px;

    background:
        var(--green-dark);

    color: white;

    box-shadow: var(--shadow);
}


.download-box::before {

    content: "";

    position: absolute;

    width: 450px;

    height: 450px;

    left: -230px;

    bottom: -280px;

    border-radius: 50%;

    background:
        rgba(185,120,93,.16);
}


.download-box::after {

    content: "";

    position: absolute;

    width: 400px;

    height: 400px;

    right: -220px;

    top: -230px;

    border-radius: 50%;

    border:
        1px solid
        rgba(255,255,255,.1);
}


.download-content {

    position: relative;

    z-index: 2;

    max-width: 950px;
}


.download-title {

    margin-top: 15px;

    font-family: Georgia, serif;

    font-size:
        clamp(46px,6vw,76px);

    font-weight: 400;

    line-height: .94;

    letter-spacing: -4px;
}


.download-title em {

    color: #d39a81;

    font-style: italic;
}


.download-intro {

    max-width: 700px;

    margin-top: 25px;

    color:
        rgba(255,255,255,.63);

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================================
   FILE CARD
========================================================= */

.file-card {

    margin-top: 40px;

    padding: 30px;

    background:
        rgba(255,255,255,.075);

    border:
        1px solid
        rgba(255,255,255,.12);

    backdrop-filter: blur(15px);

    -webkit-backdrop-filter: blur(15px);
}


.file-card-top {

    display: flex;

    align-items: center;

    gap: 15px;
}


.file-icon {

    width: 54px;

    height: 54px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        rgba(211,154,129,.17);

    color: #d9a087;

    font-size: 23px;
}


.file-title {

    color: white;

    font-family: Georgia, serif;

    font-size: 23px;
}


.file-subtitle {

    margin-top: 4px;

    color:
        rgba(255,255,255,.42);

    font-size: 9px;
}


.file-description {

    max-width: 760px;

    margin-top: 23px;

    color:
        rgba(255,255,255,.65);

    font-size: 12px;

    line-height: 1.75;
}


.file-trust {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 8px;

    margin-top: 22px;
}


.trust-item {

    padding: 16px;

    background:
        rgba(255,255,255,.045);

    border:
        1px solid
        rgba(255,255,255,.07);
}


.trust-icon {

    color: #d39a81;

    font-size: 18px;
}


.trust-item strong {

    display: block;

    margin-top: 9px;

    color: rgba(255,255,255,.86);

    font-family: Georgia, serif;

    font-size: 14px;

    font-weight: 400;
}


.trust-item span {

    display: block;

    margin-top: 5px;

    color: rgba(255,255,255,.4);

    font-size: 8px;

    line-height: 1.5;
}


/* =========================================================
   MAIN DOWNLOAD BUTTON
========================================================= */

.download-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 11px;

    min-height: 60px;

    margin-top: 25px;

    padding:
        0 29px;

    border: none;

    border-radius: 100px;

    background:
        #d39a81;

    color: white;

    font-size: 11px;

    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 14px 35px
        rgba(0,0,0,.16);

    transition: .3s;
}


.download-button:hover {

    background:
        #dfaa91;

    transform: translateY(-3px);

    box-shadow:
        0 18px 42px
        rgba(0,0,0,.25);
}


.download-button span {
    font-size: 18px;
}


.file-note {

    margin-top: 10px;

    color:
        rgba(255,255,255,.31);

    font-size: 8px;
}


/* =========================================================
   INSTALLATION
========================================================= */

.instruction {

    margin-top: 38px;

    padding-top: 32px;

    border-top:
        1px solid
        rgba(255,255,255,.1);
}


.instruction-title {

    color: white;

    font-family: Georgia, serif;

    font-size: 25px;

    font-weight: 400;
}


.instruction-list {

    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 9px;

    margin-top: 22px;
}


.instruction-step {

    display: flex;

    gap: 14px;

    padding: 18px;

    background:
        rgba(255,255,255,.045);

    border:
        1px solid
        rgba(255,255,255,.06);
}


.instruction-number {

    flex: 0 0 auto;

    width: 31px;

    height: 31px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(211,154,129,.16);

    color:
        #d39a81;

    font-size: 10px;

    font-weight: 800;
}


.instruction-step p {

    color:
        rgba(255,255,255,.64);

    font-size: 10px;

    line-height: 1.6;
}


.instruction-step strong {

    color:
        rgba(255,255,255,.9);

    font-weight: 700;
}


.instruction-final {

    margin-top: 10px;

    padding: 18px;

    background:
        rgba(211,154,129,.1);

    border:
        1px solid
        rgba(211,154,129,.16);

    color:
        #e1ad96;

    font-family: Georgia, serif;

    font-size: 15px;

    text-align: center;
}


/* =========================================================
   WHY FILE
========================================================= */

.why-file {

    margin-top: 32px;

    padding: 25px;

    background:
        rgba(255,255,255,.045);

    border:
        1px solid
        rgba(255,255,255,.07);
}


.why-file-title {

    color: white;

    font-family: Georgia, serif;

    font-size: 20px;

    font-weight: 400;
}


.why-file p {

    margin-top: 10px;

    color:
        rgba(255,255,255,.52);

    font-size: 10px;

    line-height: 1.75;
}


/* =========================================================
   FAQ
========================================================= */

.faq {

    max-width: 900px;

    margin: 50px auto 0;
}


.faq-item {

    border-bottom:
        1px solid
        rgba(66,93,80,.15);
}


.faq-question {

    width: 100%;

    min-height: 65px;

    padding:
        15px 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border: none;

    background: none;

    color: var(--green-dark);

    text-align: left;

    font-family: Georgia, serif;

    font-size: 18px;

    font-weight: 400;

    cursor: pointer;
}


.plus {

    color: var(--terracotta);

    font-size: 24px;

    transition: .3s;
}


.answer {

    max-height: 0;

    overflow: hidden;

    color: #7d837d;

    font-size: 12px;

    line-height: 1.7;

    transition:
        max-height .35s ease;
}


.answer-inner {
    padding-bottom: 22px;
}


.faq-item.open .answer {
    max-height: 250px;
}


.faq-item.open .plus {
    transform: rotate(45deg);
}


/* =========================================================
   FOOTER
========================================================= */

footer {

    padding:
        70px 0
        calc(25px + env(safe-area-inset-bottom));

    background:
        rgba(29,48,40,.98);

    color: white;
}


.footer-grid {

    display: grid;

    grid-template-columns:
        1fr 2fr;

    gap: 80px;
}


.footer-logo {

    font-family: Georgia, serif;

    font-size: 29px;

    font-weight: bold;

    letter-spacing: 1px;
}


.footer-logo span {
    color: #d39a81;
}


.footer-description {

    max-width: 280px;

    margin-top: 13px;

    color:
        rgba(255,255,255,.43);

    font-size: 10px;

    line-height: 1.7;
}


.footer-columns {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 30px;
}


.footer-heading {

    margin-bottom: 14px;

    color:
        rgba(255,255,255,.34);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.footer-column {

    display: flex;

    flex-direction: column;

    gap: 8px;
}


.footer-column a {

    color:
        rgba(255,255,255,.65);

    font-size: 10px;

    transition: .2s;
}


.footer-column a:hover {
    color: white;
}


.footer-info {

    color:
        rgba(255,255,255,.55);

    font-size: 10px;

    line-height: 1.65;
}


.footer-divider {

    height: 1px;

    margin:
        50px 0 20px;

    background:
        rgba(255,255,255,.1);
}


.footer-bottom {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    flex-wrap: wrap;
}


.copyright,
.legal {

    color:
        rgba(255,255,255,.3);

    font-size: 8px;
}


/* =========================================================
   MOBILE DOWNLOAD
========================================================= */

.mobile-download {

    display: none;

    position: fixed;

    left: 12px;
    right: 12px;

    bottom:
        calc(
            12px + env(safe-area-inset-bottom)
        );

    z-index: 200;

    padding: 8px;

    border-radius: 17px;

    background:
        rgba(31,52,43,.94);

    backdrop-filter: blur(16px);

    -webkit-backdrop-filter: blur(16px);

    box-shadow:
        0 15px 40px
        rgba(0,0,0,.22);
}


.mobile-download a {

    width: 100%;

    min-height: 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background: #d39a81;

    color: white;

    font-size: 11px;

    font-weight: 800;
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes spin {

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    nav {
        display: none;
    }


    .hero-grid {

        grid-template-columns: 1fr;
    }


    .hero-app {

        margin-top: 20px;
    }


    .relatable-grid {

        grid-template-columns: 1fr;
    }


    .how-grid {

        grid-template-columns: 1fr;
    }


    .how-intro {

        position: static;
    }


    .benefits {

        grid-template-columns:
            1fr 1fr;
    }


    .app-demo {

        grid-template-columns: 1fr;
    }


    .footer-grid {

        grid-template-columns: 1fr;
    }

}


/* =========================================================
   ANDROID / MOBILE
========================================================= */

@media (max-width: 650px) {

    :root {
        --container: 100%;
    }


    body {

        padding-bottom:
            78px;
    }


    .container {

        width:
            calc(100% - 32px);
    }


    .section {

        padding:
            78px 0;
    }


    header {

        padding:
            13px 0;
    }


    .logo {

        font-size: 22px;
    }


    .header-button {
        display: none;
    }


    .hero {

        min-height: auto;

        padding:
            120px 0 75px;
    }


    .hero-grid {

        gap: 45px;
    }


    .hero-title {

        font-size:
            clamp(57px,17vw,92px);

        letter-spacing:
            -5px;
    }


    .hero-subtitle {

        font-size: 14px;

        line-height: 1.75;
    }


    .hero-actions {

        flex-direction: column;

        gap: 9px;
    }


    .hero-actions .button {

        width: 100%;

        min-height: 56px;
    }


    .hero-app {

        width: 100%;
    }


    .app-card {

        padding: 22px;

        transform: none;
    }


    .app-card-inner {
        transform: none;
    }


    .app-question {

        font-size: 29px;
    }


    .floating-note {

        right: -3px;

        bottom: 15px;

        padding:
            14px 16px;
    }


    .relatable {

        padding:
            70px 0;
    }


    .relatable-grid {

        gap: 40px;
    }


    .situations {

        grid-template-columns: 1fr;
    }


    .steps {

        grid-template-columns: 1fr;
    }


    /* =====================================================
       МОБИЛЬНЫЕ ФОТО-БЛОКИ
    ===================================================== */

    .step {

        min-height: 330px;

        padding: 25px;

        justify-content: flex-end;

        border-radius: 0;
    }


    .step-number {

        position: absolute;

        top: 25px;

        left: 25px;

        font-size: 24px;
    }


    .step-icon {

        margin-top: 0;

        font-size: 29px;
    }


    .step h3 {

        margin-top: 13px;

        font-size: 23px;
    }


    .step p {

        font-size: 11px;

        max-width: 95%;
    }


    .benefits {

        grid-template-columns: 1fr;
    }


    .benefit {

        min-height: auto;

        padding: 28px;
    }


    .app-section {

        padding:
            80px 0;
    }


    .upload,
    .result {

        padding:
            28px 20px;
    }


    .upload-box {

        min-height: 280px;
    }


    .download-section {

        padding:
            80px 0;
    }


    .download-box {

        padding:
            60px 18px;
    }


    .download-title {

        font-size:
            clamp(45px,13vw,68px);

        letter-spacing:
            -3px;
    }


    .download-intro {

        font-size: 12px;
    }


    .file-card {

        padding: 20px;
    }


    .file-trust {

        grid-template-columns: 1fr;
    }


    .download-button {

        width: 100%;

        min-height: 60px;
    }


    .instruction-list {

        grid-template-columns: 1fr;
    }


    .instruction-step {

        padding: 16px;
    }


    .why-file {

        padding: 20px;
    }


    .faq {

        margin-top: 35px;
    }


    .faq-question {

        font-size: 16px;

        line-height: 1.35;
    }


    .footer-columns {

        grid-template-columns:
            1fr 1fr;
    }


    .mobile-download {

        display: block;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 390px) {

    .container {

        width:
            calc(100% - 24px);
    }


    .hero-title {

        font-size: 54px;
    }


    .footer-columns {

        grid-template-columns: 1fr;
    }


    .product {

        font-size: 8px;
    }

}


/* =========================================================
   TOUCH DEVICES
========================================================= */

@media (hover: none) {

    .button:hover,
    .button-primary:hover,
    .button-light:hover,
    .download-button:hover,
    .step:hover,
    .benefit:hover,
    .dish:hover {

        transform: none;
    }


    .step:hover::before {

        transform: scale(1.01);
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    * {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

}



/* Updated design */
:root {
  --green: #345b49;
  --green-dark: #193d2d;
  --green-deep: #143425;
  --cream: #f5f3ed;
  --cream-light: #fcfbf8;
  --cream-dark: #e6e8df;
  --terracotta: #ba7253;
  --terracotta-light: #dca187;
  --muted: #5f6d64;
  --shadow: 0 24px 64px rgba(25,61,45,.12);
}
body { background: var(--cream); font-size: 16px; }
body::before { background-image: linear-gradient(90deg,rgba(245,243,237,.95),rgba(245,243,237,.81) 45%,rgba(245,243,237,.9)),url("../images/ivlev.jpg"); }
header { background: rgba(252,251,248,.88); border-color: rgba(25,61,45,.1); padding: 18px 0; }
nav { gap: 28px; }
nav a { font-size: 14px; color: #526258; }
.header-button { font-size: 14px; padding: 0 24px; border-radius: 12px; }
.hero { min-height: 810px; padding: 164px 0 100px; }
.hero-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; }
.hero-title { font-size: clamp(64px,7.5vw,104px); letter-spacing: -.065em; line-height: .98; }
.hero-kicker,.eyebrow { font-size: 12px; letter-spacing: .16em; }
.hero-kicker { margin-bottom: 24px; }
.hero-subtitle { max-width: 530px; font-size: 17px; line-height: 1.7; margin-top: 26px; }
.hero-actions { gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.button { font-size: 14px; border-radius: 14px; padding: 0 24px; min-height: 56px; }
.button-primary { box-shadow: 0 8px 24px rgba(25,61,45,.14); }
.button-light { background: rgba(255,255,255,.7); }
.hero-note { font-size: 12px; color: #657167; margin-top: 18px; }
.hero-app { width: 100%; max-width: 430px; }
.app-card { padding: 32px; background: rgba(252,251,248,.95); border: 1px solid rgba(25,61,45,.1); border-radius: 24px; transform: rotate(1.5deg); }
.app-card-inner { transform: rotate(-1.5deg); }
.app-brand,.online { font-size: 12px; }
.app-brand { letter-spacing: .13em; }
.online { color: #526b5c; }
.app-question { font-size: 36px; line-height: 1.08; letter-spacing: -.03em; }
.products { gap: 7px; }
.product { font-size: 12px; background: #e8ede5; color: #45604e; border-radius: 8px; padding: 9px 11px; }
.ai-result { background: white; border: 1px solid #e2e8df; border-radius: 16px; padding: 20px; }
.ai-result-top { font-size: 12px; letter-spacing: .06em; }
.result-emoji { border-radius: 12px; background: #f2eee4; flex-shrink: 0; }
.result-name { font-size: 18px; }
.result-meta { font-size: 12px; color: #647268; line-height: 1.5; }
.floating-note { right: -16px; bottom: -22px; border-radius: 16px; padding: 18px 24px; box-shadow: 0 12px 28px rgba(25,61,45,.18); }
.floating-note strong { font-size: 28px; }
.floating-note span { font-size: 12px; color: #dce7df; }
.section { padding: 100px 0; }
.title { font-size: clamp(43px,5vw,68px); line-height: 1.06; letter-spacing: -.045em; }
.text,.relatable-text { font-size: 16px; }
.relatable { background: #294b3a; }
.relatable-title { line-height: 1.08; letter-spacing: -.04em; }
.relatable-text { color: #d3ded5; }
.situation { border-radius: 14px; }
.situation p { font-size: 18px; color: #f1f5ef; line-height: 1.35; }
.steps { gap: 16px; }
.step { border-radius: 18px; min-height: 310px; padding: 26px; }
.step h3 { font-size: 24px; line-height: 1.2; }
.step p { font-size: 14px; line-height: 1.65; color: #f0f4ee; }
.benefits { gap: 18px; }
.benefit { border-radius: 18px; background: rgba(255,255,255,.72); border: 1px solid #dce3d9; box-shadow: none; }
.benefit-icon { border-radius: 14px; }
.benefit p { font-size: 16px; line-height: 1.7; }
.benefit h3 { font-size: 25px; }
.app-demo { border-radius: 24px; overflow: hidden; border: 1px solid #dce3d9; box-shadow: 0 18px 48px rgba(25,61,45,.06); }
.upload > p,.upload-box p { font-size: 16px; }
.upload-box { border-radius: 16px; background: rgba(255,255,255,.6); }
.upload-button { font-size: 14px; border-radius: 12px; min-height: 48px; }
.result-label { font-size: 12px; }
.dish { border-radius: 14px; }
.dish-icon { border-radius: 12px; flex-shrink: 0; }
.dish-name { font-size: 19px; }
.dish-meta { font-size: 14px; }
.download-box { border-radius: 28px; padding: 72px 64px; }
.download-title { line-height: 1.06; letter-spacing: -.045em; }
.download-intro,.file-description { font-size: 16px; color: #d7e3da; }
.file-card,.instruction,.why-file { border-radius: 18px; }
.file-icon { border-radius: 14px; }
.file-subtitle,.trust-item span,.file-note,.why-file p { font-size: 14px; color: #d1dfd5; line-height: 1.65; }
.trust-item strong { font-size: 16px; }
.trust-item { border-radius: 12px; }
.download-button { border-radius: 14px; font-size: 16px; min-height: 60px; }
.instruction-step { border-radius: 14px; }
.instruction-step p { font-size: 16px; }
.instruction-number { flex-shrink: 0; }
.instruction-final { font-size: 16px; border-radius: 12px; }
.faq { max-width: 940px; }
.faq-item { border: 1px solid #dce3d9; border-radius: 14px; background: rgba(255,255,255,.7); margin-bottom: 12px; padding: 0 24px; }
.faq-question { font-size: 21px; line-height: 1.35; min-height: 78px; gap: 16px; }
.answer { font-size: 16px; color: #57685c; }
.faq-item.open .answer { max-height: 600px; }
.plus { flex-shrink: 0; }
footer { background: rgba(230,233,224,.92); }
.footer-description,.footer-column a,.footer-info { font-size: 14px; line-height: 1.75; }
.footer-heading,.copyright,.legal { font-size: 12px; }
.mobile-download { background: rgba(252,251,248,.95); }
.mobile-download a { border-radius: 12px; font-size: 14px; }
:is(a,button):focus-visible { outline: 3px solid #ba7253; outline-offset: 5px; }
:is(#how,#benefits,#app,#download,#faq) { scroll-margin-top: 100px; }
@media (max-width:1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { min-height: auto; padding-top: 140px; }
  .hero-title { font-size: clamp(64px,10vw,100px); }
  .hero-app { max-width: 460px; }
  .how-grid { gap: 44px; }
  .footer-bottom { flex-wrap: wrap; gap: 12px; }
}
@media (max-width:650px) {
  .hero { padding: 112px 0 80px; }
  .hero-title { font-size: clamp(49px,13.6vw,80px); line-height: 1.02; letter-spacing: -.065em; }
  .hero-kicker { font-size: 12px; letter-spacing: .1em; }
  .hero-subtitle { font-size: 16px; }
  .hero-note { font-size: 12px; line-height: 1.6; }
  .app-card { padding: 24px; transform: none; border-radius: 20px; }
  .app-card-inner { transform: none; }
  .app-question { font-size: 32px; }
  .floating-note { right: 12px; bottom: -25px; }
  .section { padding: 72px 0; }
  .title { font-size: clamp(39px,10.3vw,60px); }
  .relatable { padding: 64px 0; }
  .relatable-title { font-size: 43px; }
  .step { border-radius: 18px; }
  .step p { font-size: 14px; }
  .download-section { padding: 64px 0; }
  .download-box { border-radius: 22px; padding: 44px 20px; }
  .download-title { font-size: clamp(37px,10vw,60px); }
  .download-intro { font-size: 16px; }
  .file-card { padding: 20px; }
  .file-card-top { gap: 14px; }
  .file-title { font-size: 24px; }
  .instruction-step p { font-size: 15px; }
  .faq-item { padding: 0 18px; }
  .faq-question { font-size: 19px; }
  .footer-columns { grid-template-columns: 1fr; gap: 26px; }
  .product { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
