/* b:1977a9ea */
/* Лендінг «Вологовбираючий килимок» — аудиторія 35+:
   великий шрифт, високий контраст, великі кнопки, спокійна гама під колір товару. */

:root {
    --bg: #fbf8f3;
    --surface: #ffffff;
    --tint: #f2f6f7;
    --ink: #202e35;
    --muted: #51626a;
    --line: #e0e7ea;
    --brand: #324a57;
    --brand-2: #5e7a8a;
    --accent: #d1340b;
    --accent-hover: #b12a08;
    --ok: #248036;
    --bad: #a9322b;
    --mark: #ffe2aa;
    --radius: 16px;
    --shadow: 0 6px 24px rgba(32, 46, 53, .08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    padding-bottom: 84px; /* місце під липку кнопку на телефоні */
}

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

h1, h2, h3 {
    font-family: "Montserrat", Arial, sans-serif;
    line-height: 1.2;
    margin: 0 0 16px;
    color: var(--ink);
    text-wrap: balance;
}
h1 { font-size: 30px; font-weight: 800; }
h2 { font-size: 27px; font-weight: 800; text-align: center; margin-bottom: 28px; }
h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
p { margin: 0 0 14px; }
a { color: var(--brand); }

mark {
    background: linear-gradient(transparent 55%, var(--mark) 55%);
    color: inherit;
    padding: 0 2px;
}

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 820px; }
.nowrap { white-space: nowrap; }
.mt { margin-top: 26px; }

/* ---------- верхня смужка ---------- */
.topbar {
    background: var(--brand);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    padding: 9px 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 10px;
}
.topbar__dot { opacity: .6; }

/* ---------- кнопки ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 14px 28px;
    border: 0;
    border-radius: 14px;
    background: var(--accent);
    color: #ffffff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(209, 52, 11, .28);
    transition: background .15s, transform .15s;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn--wide { width: 100%; }

/* ---------- перший екран ---------- */
.hero { padding: 20px 0 32px; }
.hero__grid { display: grid; gap: 22px; }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.badge-sale {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent);
    color: #ffffff;
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 800;
    font-size: 26px;
    line-height: 1;
    padding: 12px 14px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.lead { font-size: 19px; color: var(--muted); }
.hint { margin: 12px 0 0; font-size: 16px; color: var(--muted); text-align: center; }

.checks { list-style: none; padding: 0; margin: 0 0 20px; }
.checks li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 10px;
    font-weight: 600;
}
.checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* ---------- ціна ---------- */
.price {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin: 0 0 18px;
}
.price > div {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px 14px;
}
.price__label { display: block; font-size: 15px; color: var(--muted); }
.price__old s { font-size: 22px; color: var(--muted); font-weight: 600; }
.price__new { border-color: var(--accent) !important; border-width: 2px !important; }
.price__new b {
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.15;
    white-space: nowrap;
}

/* ---------- гарантії ---------- */
.trust { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 14px;
    padding-top: 22px;
    padding-bottom: 22px;
}
.trust__item { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); line-height: 1.35; }
.trust__item b { display: block; color: var(--ink); font-size: 16px; }
.trust__item svg, .feat svg {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 9px;
    border-radius: 12px;
    background: var(--tint);
    fill: none;
    stroke: var(--brand);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- секції ---------- */
.sect { padding: 48px 0; }
.sect--tint { background: var(--tint); }

.cards3 { display: grid; gap: 16px; }
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 20px;
    box-shadow: var(--shadow);
}
.card p { color: var(--muted); margin: 0; }
.card__num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8e6e0;
    color: var(--bad);
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 800;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
}

.split { display: grid; gap: 24px; align-items: center; }
.split__img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split__text h2 { text-align: left; }
.split__text p { color: var(--muted); }
.split__strip { border-radius: 12px; margin: 22px 0 8px; }
.caption { font-size: 15px; font-style: italic; }

/* ---------- відео ---------- */
.video {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: #000000;
    cursor: pointer;
    box-shadow: var(--shadow);
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 84px;
    height: 84px;
    margin: -42px 0 0 -42px;
    border-radius: 50%;
    background: var(--accent);
    display: grid;
    place-items: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}
.video__play svg { width: 40px; height: 40px; fill: #ffffff; margin-left: 4px; }

/* ---------- переваги ---------- */
.feats { display: grid; gap: 16px; }
.feat {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--line);
}
.feat svg { margin-bottom: 12px; }
.feat p { color: var(--muted); margin: 0; }

/* ---------- порівняння ---------- */
.compare {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.compare__row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-top: 1px solid var(--line);
}
.compare__row > div { padding: 14px 10px; font-size: 16px; line-height: 1.35; }
.compare__row > div:first-child { font-weight: 700; }
.compare__head { border-top: 0; background: var(--brand); }
.compare__head > div { color: #ffffff; font-weight: 700; font-size: 15px; }
.compare__head .compare__our { background: var(--accent); }
.compare__our { background: #fdf5f1; }
.no { color: var(--bad); }
.yes { color: var(--ok); font-weight: 700; }

/* ---------- характеристики ---------- */
.specs { margin: 0; }
.specs > div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; }

/* ---------- кроки ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 22px 20px 20px 84px;
    border: 1px solid var(--line);
}
.steps p { margin: 0; color: var(--muted); }
.steps__n {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--brand);
    color: #ffffff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 22px;
    font-weight: 800;
    display: grid;
    place-items: center;
}

/* ---------- питання ---------- */
.faq details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-bottom: 12px;
}
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 56px 18px 20px;
    font-weight: 700;
    position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    font-weight: 400;
    color: var(--brand);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* ---------- форма ---------- */
.order { background: var(--brand); padding: 48px 0; color: #ffffff; }
.order__grid { display: grid; gap: 24px; align-items: center; }
.order__media img { border-radius: var(--radius); width: 100%; }
.order__media { display: none; } /* на телефоні форма — одразу, без фото над нею */
.order__box {
    background: var(--surface);
    color: var(--ink);
    border-radius: 20px;
    padding: 26px 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}
.order__box h2 { font-size: 25px; margin-bottom: 18px; }
.form__field { display: block; margin-bottom: 14px; }
.form__field span { display: block; font-weight: 700; margin-bottom: 6px; }
.form input[type="text"], .form input[type="tel"] {
    width: 100%;
    min-height: 60px;
    padding: 12px 16px;
    font: inherit;
    font-size: 19px;
    color: var(--ink);
    background: #ffffff;
    border: 2px solid #bdcacf;
    border-radius: 12px;
}
.form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(50, 74, 87, .18); }
.form__note { margin: 12px 0 0; font-size: 15px; color: var(--muted); text-align: center; }

/* ---------- футер ---------- */
.footer { padding: 32px 0 24px; font-size: 14px; color: var(--muted); text-align: center; line-height: 1.6; }
.footer a { color: inherit; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }

/* ---------- липка кнопка (телефон) ---------- */
.sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
    transform: translateY(110%);
    transition: transform .25s;
}
.sticky.is-on { transform: none; }
.sticky__price { display: flex; flex-direction: column; line-height: 1.15; }
.sticky__price s { font-size: 15px; color: var(--muted); }
.sticky__price b { font-family: "Montserrat", Arial, sans-serif; font-size: 22px; color: var(--accent); white-space: nowrap; }
.sticky .btn { flex: 1; min-height: 54px; font-size: 19px; }

/* ---------- планшет і комп'ютер ---------- */
@media (min-width: 720px) {
    body { font-size: 19px; }
    h1 { font-size: 40px; }
    h2 { font-size: 34px; }
    .trust__grid { grid-template-columns: repeat(4, 1fr); }
    .cards3 { grid-template-columns: repeat(3, 1fr); }
    .feats { grid-template-columns: repeat(3, 1fr); }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .steps li { padding: 84px 22px 22px; }
    .compare__row > div { padding: 16px 18px; font-size: 17px; }
}

@media (min-width: 960px) {
    body { padding-bottom: 0; }
    .hero { padding: 40px 0 56px; }
    .hero__grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
    h1 { font-size: 46px; }
    .split { grid-template-columns: 1fr 1fr; gap: 56px; }
    .split--rev .split__img { order: 2; }
    .sect { padding: 72px 0; }
    .order { padding: 72px 0; }
    .order__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
    .order__media { display: block; }
    .order__box { padding: 36px 34px; }
    .btn--wide { font-size: 21px; }
    .sticky { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .sticky, .btn { transition: none; }
}
