:root {
    --merco-navy: #082f49;
    --merco-navy-2: #0b3c5d;
    --merco-teal: #0f766e;
    --merco-teal-soft: #d8f3f1;
    --merco-gold: #f59e0b;
    --merco-orange: #f97316;
    --merco-ink: #102a43;
    --merco-muted: #5f7182;
    --merco-bg: #f3fbfb;
    --merco-white: #ffffff;
    --merco-line: rgba(8, 47, 73, .12);
    --shadow: 0 24px 80px rgba(8, 47, 73, .12);
    --shadow-soft: 0 14px 40px rgba(8, 47, 73, .09);
    --radius-xl: 34px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--merco-ink);
    background: linear-gradient(180deg, #eef9fa 0%, #ffffff 42%, #f8fcfd 100%);
    line-height: 1.55;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(100% - 32px, var(--container)); margin: 0 auto; }
.narrow { width: min(100% - 32px, 860px); }
.section-pad { padding: clamp(92px, 8vw, 128px) 0; }
.section-pad.compact { padding: clamp(74px, 6.5vw, 98px) 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.screen-reader-text { position: absolute; left: -9999px; }

section[id] { scroll-margin-top: 108px; }
.services, .advantages, .process, .faq { position: relative; }
.services::before, .advantages::before, .process::before, .faq::before { content: ""; position: absolute; left: 50%; top: 0; width: min(100% - 32px, var(--container)); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(8,47,73,.12), transparent); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244, 251, 252, .78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(8, 47, 73, .08);
    transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 14px 40px rgba(8, 47, 73, .10); background: rgba(255,255,255,.9); }
.header-inner { display: flex; align-items: center; gap: 14px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 50px; height: 50px; border-radius: 15px; object-fit: cover; box-shadow: 0 8px 18px rgba(8, 47, 73, .12); }
.brand-text { display: flex; flex-direction: column; line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: var(--merco-navy); }
.brand-text strong { font-size: 18px; letter-spacing: .14em; }
.brand-text em { font-size: 10px; color: var(--merco-teal); font-style: normal; letter-spacing: .28em; margin-top: 4px; }
.primary-nav { margin-left: auto; }
.menu { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 700; color: var(--merco-navy); }
.menu a { position: relative; white-space: nowrap; }
.menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: linear-gradient(90deg, var(--merco-teal), var(--merco-gold)); transition: right .2s ease; }
.menu a:hover::after { right: 0; }
.header-cta { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 16px; border-radius: 999px; background: var(--merco-navy); color: #fff; font-size: 13px; line-height: 1.1; font-weight: 850; white-space: nowrap; box-shadow: 0 10px 24px rgba(8,47,73,.16); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--merco-line); border-radius: 14px; background: #fff; margin-left: auto; padding: 11px; }
.nav-toggle span { display: block; height: 2px; background: var(--merco-navy); margin: 5px 0; border-radius: 999px; }

.header-contacts { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.contact-pill { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 11px; border-radius: 999px; border: 1px solid rgba(8,47,73,.10); background: rgba(255,255,255,.82); color: var(--merco-navy); font-size: 12px; line-height: 1; font-weight: 850; white-space: nowrap; box-shadow: 0 8px 20px rgba(8,47,73,.07); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.contact-pill:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(8,47,73,.14); background: #fff; }
.contact-pill::before { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 900; flex: 0 0 20px; }
.contact-pill-phone::before { content: "☎"; background: var(--merco-navy); }
.contact-pill-viber::before { content: "V"; background: #7360f2; }
.contact-pill-telegram::before { content: "T"; background: #229ed9; }
.contact-pill-whatsapp::before { content: "W"; background: #25d366; }
.contact-pill-email::before { content: "@"; background: var(--merco-gold); }
.header-contacts .contact-pill-email { display: none; }
.footer-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.footer-contact-actions .contact-pill { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; box-shadow: none; }
.footer-contact-actions .contact-pill:hover { background: rgba(255,255,255,.14); }
.footer-social-list { margin-top: 14px; }

.hero { position: relative; overflow: hidden; padding-top: clamp(96px, 8vw, 132px); }
.hero::before,
.hero::after { content: ""; position: absolute; border-radius: 999px; filter: blur(8px); opacity: .78; pointer-events: none; }
.hero::before { width: 420px; height: 420px; background: radial-gradient(circle, rgba(245,158,11,.28), transparent 66%); right: -120px; top: 40px; }
.hero::after { width: 520px; height: 520px; background: radial-gradient(circle, rgba(15,118,110,.20), transparent 66%); left: -180px; bottom: -120px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 56px; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 13px; color: var(--merco-teal); font-weight: 850; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; line-height: 1.35; padding: 7px 0; }
.eyebrow::before { content: ""; flex: 0 0 24px; width: 24px; height: 8px; border-radius: 0; background: radial-gradient(circle at 4px 4px, var(--merco-gold) 0 4px, transparent 4.4px), radial-gradient(circle at 20px 4px, var(--merco-teal) 0 4px, transparent 4.4px); box-shadow: none; }
h1, h2, h3 { color: var(--merco-navy); line-height: 1.08; margin: 0; }
h1 { font-size: clamp(42px, 6vw, 76px); letter-spacing: -.055em; margin-top: 18px; }
h2 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -.045em; }
h3 { font-size: 22px; letter-spacing: -.025em; }
p { color: var(--merco-muted); margin: 0; }
.hero-text { font-size: 19px; max-width: 680px; margin: 24px 0 0; color: #486274; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 15px 24px; border-radius: 999px; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; border: 1px solid transparent; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--merco-gold), var(--merco-orange)); box-shadow: 0 18px 34px rgba(249, 115, 22, .26); }
.btn-outline { background: rgba(255,255,255,.66); color: var(--merco-navy); border-color: var(--merco-line); }
.trust-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.trust-points span { padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--merco-line); color: var(--merco-navy); font-size: 14px; font-weight: 750; }
.hero-visual { position: relative; min-height: 610px; display: grid; place-items: center; }
.logo-orbit { position: relative; width: min(100%, 590px); aspect-ratio: 1; border-radius: 44% 56% 48% 52%; background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(215,242,244,.68)); box-shadow: var(--shadow); display: grid; place-items: center; overflow: hidden; }
.logo-orbit::before, .logo-orbit::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.logo-orbit::before { width: 82%; height: 82%; background: conic-gradient(from 130deg, rgba(15,118,110,.18), rgba(245,158,11,.32), rgba(249,115,22,.26), rgba(8,47,73,.12), rgba(15,118,110,.18)); filter: blur(2px); }
.logo-orbit::after { width: 68%; height: 68%; background: rgba(255,255,255,.80); }
.logo-orbit img { position: relative; z-index: 2; width: 92%; border-radius: 34px; box-shadow: 0 18px 54px rgba(8,47,73,.11); }

.hero-slogan-card {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 4;
    width: min(72%, 390px);
    transform: translate(-50%, -34%);
    display: grid;
    gap: 8px;
    text-align: center;
    padding: 18px 22px;
    border-radius: 28px;
    background: rgba(255,255,255,.84);
    border: 1px solid rgba(255,255,255,.78);
    box-shadow: 0 18px 52px rgba(8,47,73,.12);
    backdrop-filter: blur(8px);
}
.hero-slogan-card strong {
    color: var(--merco-navy);
    font-size: clamp(22px, 2.2vw, 34px);
    line-height: 1.05;
    letter-spacing: -.03em;
}
.hero-slogan-card span {
    color: var(--merco-teal);
    font-size: clamp(13px, 1.3vw, 17px);
    line-height: 1.35;
    font-weight: 800;
}

.bubble { position: absolute; z-index: 3; border-radius: 50%; display: block; background: var(--merco-teal); box-shadow: 0 10px 26px rgba(15,118,110,.2); }
.bubble-a { width: 22px; height: 22px; left: 12%; top: 26%; }
.bubble-b { width: 16px; height: 16px; right: 18%; top: 16%; background: var(--merco-gold); }
.bubble-c { width: 34px; height: 34px; right: 12%; bottom: 24%; background: var(--merco-navy); }
.hero-card { position: absolute; z-index: 3; display: grid; gap: 2px; padding: 18px 20px; border-radius: 22px; background: rgba(255,255,255,.92); box-shadow: var(--shadow-soft); border: 1px solid rgba(255,255,255,.82); }
.hero-card strong { color: var(--merco-navy); font-size: 18px; }
.hero-card span { color: var(--merco-muted); font-size: 13px; }
.hero-card-one { left: 0; top: 22%; }
.hero-card-two { right: 5%; bottom: 16%; }

.split-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.pain-list { display: grid; gap: 14px; }
.pain-item { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; background: var(--merco-navy); border-radius: 24px; padding: 22px; box-shadow: 0 16px 40px rgba(8,47,73,.16); }
.pain-item:nth-child(2) { background: linear-gradient(135deg, var(--merco-teal), #0a5f68); }
.pain-item:nth-child(3) { background: linear-gradient(135deg, #0b3c5d, #0f766e); }
.pain-item span { color: rgba(255,255,255,.65); font-size: 32px; font-weight: 900; }
.pain-item p { color: #fff; font-size: 17px; }
.split-section > div:first-child .eyebrow, .segment-copy .eyebrow, .faq-grid > div:first-child .eyebrow { margin-bottom: 14px; }
.split-section > div:first-child h2, .segment-copy h2, .faq-grid > div:first-child h2 { margin-top: 18px; }
.section-head { max-width: 820px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: 22px; }
.section-head p { margin-top: 22px; font-size: 18px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card, .advantage-grid article, .steps article, .content-card, .lead-form-wrap, .calculator-box, .faq-list details { background: rgba(255,255,255,.86); border: 1px solid var(--merco-line); box-shadow: var(--shadow-soft); border-radius: var(--radius-lg); }
.service-card { padding: 28px; position: relative; overflow: hidden; min-height: 230px; }
.service-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -48px; top: -48px; border-radius: 44% 56% 48% 52%; background: linear-gradient(135deg, rgba(245,158,11,.20), rgba(15,118,110,.16)); }
.service-number { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 16px; background: var(--merco-teal-soft); color: var(--merco-teal); font-weight: 900; margin-bottom: 26px; }
.service-card h3 { margin-bottom: 12px; }

.segments { background: var(--merco-navy); position: relative; overflow: hidden; }
.segments::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 18%, rgba(245,158,11,.22), transparent 28%), radial-gradient(circle at 12% 88%, rgba(15,118,110,.32), transparent 30%); }
.segment-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(42px, 5vw, 68px); align-items: center; }
.segment-copy h2, .segment-copy p { color: #fff; }
.segment-copy p { color: rgba(255,255,255,.74); margin: 22px 0 34px; }
.segment-list { display: grid; gap: 12px; }
.segment-list a { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #fff; font-size: clamp(18px, 1.9vw, 25px); font-weight: 850; transition: background .2s ease, transform .2s ease; }
.segment-list a:hover { transform: translateX(4px); background: rgba(255,255,255,.15); }
.segment-list a::after { content: "→"; color: var(--merco-gold); }
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.advantage-grid article { padding: 28px; }
.advantage-grid h3 { margin-bottom: 12px; }
.calculator-box { display: grid; grid-template-columns: .84fr 1.16fr; gap: 38px; padding: 38px; align-items: start; background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(220,244,246,.84)); }
.calculator-box h2 { margin-top: 22px; }
.calculator-box p { margin-top: 20px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps article { padding: 26px; }
.steps span { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--merco-teal), var(--merco-navy)); color: #fff; font-weight: 900; margin-bottom: 20px; }
.steps h3 { margin-bottom: 10px; }
.faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 48px; }
.faq-list { display: grid; gap: 14px; }
.faq-list details { padding: 22px 28px 22px 30px; }
.faq-list summary { cursor: pointer; font-weight: 850; color: var(--merco-navy); font-size: 18px; }
.faq-list p { margin-top: 12px; }
.lead { background: linear-gradient(135deg, #f8fcfd, #eaf8f8); }
.lead-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 46px; align-items: center; }
.lead-copy h2 { margin-top: 22px; }
.lead-copy p { margin-top: 20px; font-size: 18px; }
.lead-benefits { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.lead-benefits li { position: relative; padding-left: 34px; color: var(--merco-navy); font-weight: 750; }
.lead-benefits li::before { content: "✓"; position: absolute; left: 0; top: -2px; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--merco-teal); color: #fff; font-size: 14px; }
.lead-form-wrap { padding: 30px; }

.merco-lead-form, .merco-calc-form { display: grid; gap: 14px; }
.merco-form-title { margin-bottom: 4px; }
.merco-form-title strong { display: block; color: var(--merco-navy); font-size: 24px; letter-spacing: -.02em; }
.merco-form-title span { display: block; color: var(--merco-muted); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-field { display: grid; gap: 7px; }
.form-field label { color: var(--merco-navy); font-weight: 800; font-size: 14px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid rgba(8,47,73,.14); border-radius: 16px; min-height: 50px; background: #fff; padding: 13px 14px; color: var(--merco-ink); outline: none; transition: border .2s ease, box-shadow .2s ease; }
.form-field textarea { min-height: 104px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--merco-teal); box-shadow: 0 0 0 4px rgba(15,118,110,.10); }
.form-consent { display: flex; gap: 10px; color: var(--merco-muted); font-size: 13px; }
.form-consent input { margin-top: 4px; }
.form-note { color: var(--merco-muted); font-size: 13px; }
.form-message { padding: 12px 14px; border-radius: 14px; font-weight: 750; }
.form-message.ok { color: #0f5132; background: #d1e7dd; }
.form-message.error { color: #842029; background: #f8d7da; }
.merco-honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
.calc-result { padding: 16px; border: 1px dashed rgba(15,118,110,.35); border-radius: 18px; background: rgba(216,243,241,.45); color: var(--merco-navy); font-weight: 800; }

.site-footer { background: #061f31; color: #fff; padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr .9fr; gap: 36px; }
.footer-brand img { box-shadow: none; }
.site-footer p { color: rgba(255,255,255,.68); margin-top: 16px; max-width: 340px; }
.site-footer h3 { color: #fff; margin-bottom: 14px; font-size: 18px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-list a { color: rgba(255,255,255,.72); }
.footer-list a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 46px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.58); font-size: 14px; }
.sticky-lead { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: inline-flex; align-items: center; justify-content: center; min-width: 88px; height: 52px; padding: 0 18px; border-radius: 999px; background: linear-gradient(135deg, var(--merco-gold), var(--merco-orange)); color: #fff; font-weight: 900; box-shadow: 0 18px 40px rgba(249,115,22,.36); }
.content-card { padding: 34px; margin-bottom: 20px; }
.entry-content { margin-top: 18px; }
.entry-content > * + * { margin-top: 1em; }

@media (max-width: 1280px) {
    .header-contacts .contact-pill span { display: none; }
    .header-contacts .contact-pill { width: 38px; padding-left: 0; padding-right: 0; }
}
@media (max-width: 980px) {
    .header-cta { display: none; }
    .header-contacts { order: 3; margin-left: auto; }
    .nav-toggle { display: block; order: 4; margin-left: 0; }
    .primary-nav { order: 5; }
    .primary-nav { position: fixed; inset: 88px 16px auto 16px; background: rgba(255,255,255,.98); border: 1px solid var(--merco-line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); display: none; }
    .primary-nav.is-open { display: block; }
    .menu { display: grid; gap: 16px; font-size: 18px; }
    .hero-grid, .split-section, .segment-grid, .calculator-box, .faq-grid, .lead-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 82px; }
    .hero-visual { min-height: 480px; }
    .service-grid, .advantage-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .container { width: min(100% - 22px, var(--container)); }
    .section-pad { padding: 72px 0; }
    .section-pad.compact { padding: 58px 0; }
    .header-inner { min-height: 64px; }
    .brand img { width: 44px; height: 44px; }
    .brand-text strong { font-size: 16px; }
    .brand-text em { font-size: 10px; letter-spacing: .22em; }
    .header-inner { gap: 10px; }
    .header-contacts { gap: 6px; margin-left: auto; }
    .contact-pill { min-height: 34px; }
    .header-contacts .contact-pill { width: 34px; }
    .primary-nav { inset: 68px 10px auto 10px; }
    h1 { font-size: clamp(38px, 13vw, 52px); }
    h2 { font-size: clamp(30px, 9vw, 42px); }
    .hero-actions, .btn { width: 100%; }
    .hero-visual { min-height: 360px; }
    .logo-orbit { width: 100%; }
    .hero-card { display: none; }
    .hero-slogan-card {
        width: min(78%, 340px);
        padding: 14px 16px;
        transform: translate(-50%, -28%);
        border-radius: 22px;
    }

    .service-grid, .advantage-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .lead-form-wrap, .calculator-box { padding: 22px; }
    .footer-bottom { flex-direction: column; }
    .segment-list a { padding: 18px; }
    .section-head { margin-bottom: 38px; }
    .section-head h2, .calculator-box h2, .lead-copy h2 { margin-top: 16px; }
    .section-head p, .calculator-box p, .lead-copy p { margin-top: 14px; }
    .eyebrow { font-size: 11px; letter-spacing: .11em; gap: 12px; }
}

@media (max-width: 460px) {
    .brand-text { display: none; }
    .brand img { width: 42px; height: 42px; border-radius: 13px; }
    .header-contacts .contact-pill { width: 34px; min-height: 34px; }
    .contact-pill::before { width: 20px; height: 20px; flex-basis: 20px; font-size: 11px; }
    .nav-toggle { width: 42px; height: 42px; }
}

@media (min-width: 981px) and (max-width: 1380px) {
    .brand-text strong { font-size: 16px; letter-spacing: .12em; }
    .brand-text em { font-size: 9px; letter-spacing: .22em; }
    .menu { gap: 14px; font-size: 13px; }
    .header-contacts .contact-pill span { display: none; }
    .header-contacts .contact-pill-phone span { display: inline; }
    .header-contacts .contact-pill { width: 38px; padding-left: 0; padding-right: 0; }
    .header-contacts .contact-pill-phone { width: auto; padding-left: 10px; padding-right: 12px; }
}

/* v1.0.7 — cleaner hero logo block requested by client (legacy, not used in v1.0.8) */
.hero-brand-showcase {
    position: relative;
    width: min(100%, 560px);
    min-height: 430px;
    padding: clamp(34px, 4vw, 52px);
    border-radius: 38px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(232,249,249,.82)),
        radial-gradient(circle at 85% 15%, rgba(245,158,11,.18), transparent 36%),
        radial-gradient(circle at 18% 85%, rgba(15,118,110,.16), transparent 38%);
    border: 1px solid rgba(255,255,255,.88);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-brand-showcase::before,
.hero-brand-showcase::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}
.hero-brand-showcase::before {
    width: 280px;
    height: 280px;
    right: -95px;
    top: -72px;
    background: radial-gradient(circle, rgba(245,158,11,.24), transparent 66%);
}
.hero-brand-showcase::after {
    width: 320px;
    height: 320px;
    left: -135px;
    bottom: -110px;
    background: radial-gradient(circle, rgba(15,118,110,.18), transparent 68%);
}
.hero-brand-mark,
.hero-brand-line,
.hero-brand-slogan,
.hero-brand-note {
    position: relative;
    z-index: 2;
}
.hero-brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    width: fit-content;
}
.hero-brand-mark img {
    width: clamp(88px, 9vw, 126px);
    height: clamp(88px, 9vw, 126px);
    border-radius: 28px;
    object-fit: cover;
    box-shadow: 0 18px 40px rgba(8,47,73,.14);
}
.hero-brand-text strong {
    font-size: clamp(34px, 4vw, 54px);
    letter-spacing: .13em;
}
.hero-brand-text em {
    font-size: clamp(14px, 1.4vw, 19px);
    letter-spacing: .35em;
    margin-top: 9px;
}
.hero-brand-line {
    width: 140px;
    height: 3px;
    margin: 34px 0 28px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--merco-teal), var(--merco-gold), var(--merco-orange));
}
.hero-brand-slogan {
    max-width: 470px;
    color: var(--merco-navy);
    font-size: clamp(24px, 2.35vw, 34px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -.035em;
}
.hero-brand-note {
    max-width: 455px;
    margin-top: 18px;
    color: #486274;
    font-size: clamp(16px, 1.35vw, 19px);
    font-weight: 650;
}

@media (max-width: 980px) {
    .hero-brand-showcase { min-height: 380px; }
}
@media (max-width: 640px) {
    .hero-brand-showcase {
        min-height: auto;
        padding: 26px;
        border-radius: 28px;
    }
    .hero-brand-mark { gap: 14px; }
    .hero-brand-mark img { width: 76px; height: 76px; border-radius: 20px; }
    .hero-brand-text strong { font-size: 26px; letter-spacing: .12em; }
    .hero-brand-text em { font-size: 11px; letter-spacing: .25em; margin-top: 7px; }
    .hero-brand-line { margin: 24px 0 20px; width: 110px; }
    .hero-brand-slogan { font-size: 24px; }
    .hero-brand-note { font-size: 15px; }
}
.hero-brand-mark .brand-text { display: flex !important; }


/* v1.0.8 — hero without logo/photo-overlay, clean business background requested by client */
.hero-visual {
    position: relative;
    min-height: 560px;
    display: grid;
    place-items: center;
}
.hero-photo-card {
    position: relative;
    width: min(100%, 590px);
    min-height: 520px;
    border-radius: 38px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.28)),
        url('../img/merco-hero-background.png') center / cover no-repeat;
    border: 1px solid rgba(255,255,255,.88);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.hero-photo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 18% 18%, rgba(255,255,255,.38), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
    pointer-events: none;
}
.hero-photo-card::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,.42);
    pointer-events: none;
}

@media (max-width: 980px) {
    .hero-photo-card { min-height: 430px; width: min(100%, 620px); }
}
@media (max-width: 640px) {
    .hero-photo-card { min-height: 330px; border-radius: 28px; }
    .hero-visual { min-height: 350px; }
}

/* v1.0.9 — hero based on client's preferred variants: clean business layout with floral accent */
.hero-v109 {
    padding-top: clamp(64px, 6vw, 92px);
    padding-bottom: 0;
    background:
        radial-gradient(circle at 92% 16%, rgba(245,158,11,.16), transparent 30%),
        radial-gradient(circle at 8% 84%, rgba(15,118,110,.12), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(239,249,250,.86));
}
.hero-v109::before,
.hero-v109::after {
    opacity: .38;
}
.hero-showcase {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(390px, 1.05fr);
    align-items: stretch;
    gap: clamp(28px, 5vw, 70px);
    min-height: clamp(560px, 52vw, 700px);
    padding: clamp(42px, 5vw, 70px) clamp(30px, 5vw, 72px) 0;
    border-radius: 0 0 34px 34px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 52%, rgba(255,255,255,.52) 100%),
        radial-gradient(circle at 82% 35%, rgba(15,118,110,.13), transparent 36%),
        radial-gradient(circle at 96% 12%, rgba(245,158,11,.18), transparent 30%);
    border: 1px solid rgba(8,47,73,.08);
    box-shadow: 0 30px 90px rgba(8,47,73,.10);
    overflow: hidden;
}
.hero-showcase::before {
    content: "";
    position: absolute;
    inset: auto -12% -30% 46%;
    height: 72%;
    background: radial-gradient(circle, rgba(15,118,110,.12), transparent 62%);
    pointer-events: none;
}
.hero-showcase::after {
    content: "";
    position: absolute;
    right: 28px;
    top: 22px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 1px solid rgba(15,118,110,.16);
    pointer-events: none;
}
.hero-v109 .hero-copy {
    position: relative;
    z-index: 3;
    align-self: center;
    padding-bottom: clamp(118px, 13vw, 160px);
}
.hero-v109 h1 {
    margin-top: 18px;
    font-size: clamp(48px, 6.8vw, 92px);
    line-height: .96;
    text-transform: uppercase;
    letter-spacing: -.055em;
}
.hero-v109 .hero-slogan {
    margin-top: 18px;
    color: var(--merco-teal);
    font-size: clamp(25px, 3.1vw, 42px);
    line-height: 1.08;
    font-weight: 800;
    max-width: 620px;
    letter-spacing: -.035em;
}
.hero-v109 .hero-text {
    max-width: 610px;
    margin-top: 18px;
    font-size: clamp(16px, 1.35vw, 19px);
    color: #496170;
}
.hero-v109 .btn-primary {
    background: var(--merco-teal);
    box-shadow: 0 18px 34px rgba(15,118,110,.25);
}
.hero-v109 .btn-primary:hover {
    background: #0b625c;
}
.hero-v109 .btn-outline {
    background: rgba(255,255,255,.72);
    border-color: rgba(15,118,110,.36);
    color: var(--merco-teal);
}
.hero-v109 .hero-visual {
    position: relative;
    z-index: 2;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.hero-flower-panel {
    position: relative;
    width: min(100%, 610px);
    min-height: clamp(470px, 42vw, 650px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-flower-panel::before,
.hero-flower-panel::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}
.hero-flower-panel::before {
    width: 78%;
    height: 78%;
    background: rgba(255,255,255,.62);
    filter: blur(10px);
}
.hero-flower-panel::after {
    right: 12%;
    top: 40%;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(245,158,11,.28);
}
.hero-flower-panel img {
    position: relative;
    z-index: 2;
    width: 112%;
    max-width: none;
    transform: translateX(8%) scale(1.08);
    filter: drop-shadow(0 26px 48px rgba(8,47,73,.16));
}
.hero-feature-strip {
    position: absolute;
    left: clamp(24px, 4vw, 54px);
    right: clamp(24px, 4vw, 54px);
    bottom: 0;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(8,47,73,.08);
    box-shadow: 0 -8px 32px rgba(8,47,73,.06);
}
.hero-feature-strip article {
    min-height: 100px;
    display: grid;
    grid-template-columns: 46px 1fr;
    grid-template-areas: "icon title" "icon text";
    align-content: center;
    column-gap: 12px;
    padding: 22px 28px 22px 30px;
    border-right: 1px solid rgba(8,47,73,.08);
}
.hero-feature-strip article:last-child {
    border-right: 0;
}
.feature-icon {
    grid-area: icon;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--merco-teal);
    border: 1px solid rgba(15,118,110,.22);
    background: rgba(216,243,241,.45);
    font-weight: 900;
}
.hero-feature-strip strong {
    grid-area: title;
    color: var(--merco-navy);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.hero-feature-strip p {
    grid-area: text;
    margin-top: 2px;
    color: #557080;
    font-size: 12px;
    line-height: 1.35;
}
.hero-services-bar {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.2fr repeat(4, 1fr);
    align-items: center;
    min-height: 118px;
    margin-top: -1px;
    border-radius: 0 0 28px 28px;
    overflow: hidden;
    background: linear-gradient(135deg, #06253a, #082f49 50%, #0b3c5d);
    box-shadow: 0 28px 70px rgba(8,47,73,.16);
}
.hero-services-title,
.hero-services-bar a {
    min-height: 118px;
    display: flex;
    align-items: center;
    padding: 24px 28px;
    color: rgba(255,255,255,.82);
    border-right: 1px solid rgba(255,255,255,.12);
}
.hero-services-title {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}
.hero-services-title span {
    color: #fff;
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 850;
    letter-spacing: -.04em;
}
.hero-services-title::after {
    content: "";
    display: block;
    width: 78px;
    height: 2px;
    margin-top: 14px;
    background: linear-gradient(90deg, var(--merco-teal), var(--merco-gold));
}
.hero-services-bar a {
    justify-content: center;
    text-align: center;
    font-size: 14px;
    font-weight: 760;
    line-height: 1.25;
    transition: background .2s ease, color .2s ease;
}
.hero-services-bar a:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}

@media (max-width: 980px) {
    .hero-showcase {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 34px 26px 0;
    }
    .hero-v109 .hero-copy {
        padding-bottom: 0;
    }
    .hero-v109 .hero-visual {
        min-height: 330px;
        justify-content: center;
        margin-top: 8px;
    }
    .hero-flower-panel {
        min-height: 330px;
        max-height: 380px;
        overflow: hidden;
    }
    .hero-flower-panel img {
        width: 88%;
        transform: translateX(0) scale(1);
    }
    .hero-feature-strip {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        grid-template-columns: repeat(2, 1fr);
        margin: 18px -26px 0;
    }
    .hero-services-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-services-title {
        grid-column: 1 / -1;
        min-height: 92px;
    }
}
@media (max-width: 640px) {
    .hero-v109 {
        padding-top: 42px;
    }
    .hero-showcase {
        width: min(100% - 22px, var(--container));
        padding: 26px 20px 0;
        border-radius: 26px 26px 0 0;
    }
    .hero-v109 h1 {
        font-size: clamp(40px, 13vw, 58px);
    }
    .hero-v109 .hero-slogan {
        font-size: 25px;
    }
    .hero-v109 .hero-actions .btn {
        width: 100%;
    }
    .hero-v109 .hero-visual {
        min-height: 260px;
    }
    .hero-flower-panel {
        min-height: 260px;
    }
    .hero-flower-panel img {
        width: 104%;
        transform: translateX(8%) scale(1.03);
    }
    .hero-feature-strip {
        grid-template-columns: 1fr;
        margin-left: -20px;
        margin-right: -20px;
    }
    .hero-feature-strip article {
        min-height: 82px;
        padding: 16px 20px;
        border-right: 0;
        border-bottom: 1px solid rgba(8,47,73,.08);
    }
    .hero-services-bar {
        width: min(100% - 22px, var(--container));
        grid-template-columns: 1fr;
        border-radius: 0 0 24px 24px;
    }
    .hero-services-title,
    .hero-services-bar a {
        min-height: 76px;
        padding: 18px 20px;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.10);
        justify-content: flex-start;
        text-align: left;
    }
}


/* v1.1.0 — first-screen visual changed from large logo to clean workspace photo */
.hero-v109 .hero-visual {
    position: relative;
    z-index: 2;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.hero-v109 .hero-photo-card {
    width: min(100%, 640px);
    min-height: clamp(420px, 36vw, 560px);
    border-radius: 34px;
    box-shadow: 0 26px 60px rgba(8,47,73,.12);
    border: 1px solid rgba(255,255,255,.92);
}
.hero-v109 .hero-photo-card::before {
    background:
        linear-gradient(90deg, rgba(255,255,255,.02), rgba(255,255,255,.12)),
        radial-gradient(circle at 18% 18%, rgba(255,255,255,.28), transparent 34%);
}
.hero-v109 .hero-photo-card::after {
    inset: 16px;
    border-radius: 28px;
    border-color: rgba(255,255,255,.55);
}
@media (max-width: 980px) {
    .hero-v109 .hero-photo-card {
        width: min(100%, 620px);
        min-height: 400px;
    }
}
@media (max-width: 640px) {
    .hero-v109 .hero-photo-card {
        min-height: 280px;
        border-radius: 24px;
    }
}


/* v1.1.1 — use the workspace image as the background of the first screen, like the approved example */
.hero-v109 .hero-showcase {
    grid-template-columns: 1fr;
    align-items: center;
    min-height: clamp(560px, 48vw, 690px);
    background:
        linear-gradient(90deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.86) 28%, rgba(255,255,255,.35) 55%, rgba(255,255,255,.12) 100%),
        url('../img/merco-hero-background.png') center center / cover no-repeat;
}
.hero-v109 .hero-copy {
    max-width: min(560px, 48%);
    padding-bottom: clamp(118px, 13vw, 160px);
}
.hero-v109 .hero-text {
    max-width: 520px;
}
.hero-v109 .hero-visual {
    display: none !important;
}
@media (max-width: 980px) {
    .hero-v109 .hero-showcase {
        background:
            linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.82) 40%, rgba(255,255,255,.55) 100%),
            url('../img/merco-hero-background.png') center center / cover no-repeat;
    }
    .hero-v109 .hero-copy {
        max-width: 100%;
    }
}


/* v1.1.2 — make the first screen truly full width/full screen like the approved example */
.hero-v109 > .container {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}
.hero-v109 .hero-showcase {
    width: 100%;
    margin: 0;
    border-radius: 0;
    min-height: clamp(680px, 100vh - 92px, 920px);
    background-position: center right;
}
.hero-v109 .hero-copy {
    padding-left: clamp(28px, 6vw, 88px);
    padding-right: clamp(28px, 3vw, 36px);
    max-width: min(620px, 46%);
}
.hero-v109 .hero-feature-strip {
    left: 0;
    right: 0;
}
.hero-v109 .hero-services-bar {
    width: 100%;
    max-width: none;
    border-radius: 0;
}
@media (max-width: 980px) {
    .hero-v109 .hero-showcase {
        min-height: auto;
    }
    .hero-v109 .hero-copy {
        max-width: 100%;
        padding-left: 26px;
        padding-right: 26px;
    }
}
@media (max-width: 640px) {
    .hero-v109 .hero-showcase {
        width: 100%;
        border-radius: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .hero-v109 .hero-copy {
        padding-left: 20px;
        padding-right: 20px;
    }
    .hero-v109 .hero-services-bar {
        width: 100%;
        border-radius: 0;
    }
}


/* v1.1.3 — extra subtitle under the green slogan on the first screen */
.hero-v109 .hero-subtitle {
    margin-top: 12px;
    margin-bottom: 8px;
    max-width: 620px;
    color: var(--merco-navy);
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.02em;
}
@media (max-width: 640px) {
    .hero-v109 .hero-subtitle {
        font-size: 18px;
        line-height: 1.3;
    }
}


/* v1.1.4 — official social network icons in header and footer */
.social-pill {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    border: 1px solid rgba(8,47,73,.10);
    box-shadow: 0 8px 20px rgba(8,47,73,.07);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    flex: 0 0 40px;
}
.social-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(8,47,73,.14);
    filter: brightness(1.04);
}
.social-pill svg {
    width: 21px;
    height: 21px;
    display: block;
    fill: currentColor;
}
.social-pill span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.social-pill-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-pill-facebook {
    background: #1877F2;
}
.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}
.footer-social-icons .social-pill {
    box-shadow: none;
    border-color: rgba(255,255,255,.16);
}
@media (max-width: 1180px) {
    .header-contacts .social-pill {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }
}
@media (max-width: 760px) {
    .header-contacts .social-pill {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }
    .header-contacts .social-pill svg {
        width: 18px;
        height: 18px;
    }
}


/* v1.1.5 — official icon-only messengers/socials in header and footer */
.contact-pill svg,
.icon-pill svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
    flex: 0 0 20px;
}
.contact-pill::before {
    content: none !important;
}
.contact-pill-phone {
    gap: 10px;
    padding: 8px 14px;
}
.contact-pill-phone svg {
    color: var(--merco-navy);
}
.icon-pill {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(8,47,73,.10);
    box-shadow: 0 8px 20px rgba(8,47,73,.07);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    flex: 0 0 40px;
    color: #fff;
    position: relative;
}
.icon-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(8,47,73,.14);
    filter: brightness(1.04);
}
.icon-pill span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.icon-pill-viber { background: #7360f2; }
.icon-pill-telegram { background: #229ED9; }
.icon-pill-whatsapp { background: #25D366; }
.icon-pill-email { background: linear-gradient(135deg, #f59e0b, #f97316); }
.icon-pill-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.icon-pill-facebook { background: #1877F2; }
.footer-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.footer-phone {
    margin-right: 2px;
}
.footer-contact-actions .icon-pill,
.footer-contact-actions .contact-pill {
    box-shadow: none;
}
@media (max-width: 1180px) {
    .header-contacts .icon-pill {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }
}
@media (max-width: 760px) {
    .header-contacts .icon-pill {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }
    .header-contacts .icon-pill svg,
    .header-contacts .contact-pill svg {
        width: 18px;
        height: 18px;
    }
}


/* v1.1.6 — use the exact provided MERCO wordmark logo sitewide */
.brand {
    gap: 0;
}
.brand img {
    width: auto;
    height: 58px;
    max-width: 320px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
}
.brand-text {
    display: none !important;
}
.footer-brand img {
    height: 52px;
    max-width: 280px;
}
@media (max-width: 1180px) {
    .brand img {
        height: 52px;
        max-width: 280px;
    }
}
@media (max-width: 760px) {
    .brand img {
        height: 42px;
        max-width: 220px;
    }
    .footer-brand img {
        height: 44px;
        max-width: 230px;
    }
}


/* v1.1.7 — theme-native заявки без окремого плагіна */
.merco-honeypot {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    height: 1px !important;
    overflow: hidden !important;
}
.form-message {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 700;
    line-height: 1.4;
}
.form-message.ok {
    color: #065f46;
    background: rgba(16, 185, 129, .12);
    border: 1px solid rgba(16, 185, 129, .22);
}
.form-message.error {
    color: #991b1b;
    background: rgba(239, 68, 68, .12);
    border: 1px solid rgba(239, 68, 68, .22);
}


/* v1.1.9 — прибрали лінію та підняли перший екран вище */
.site-header {
    border-bottom: 0 !important;
}

.hero-v109 {
    padding-top: 0 !important;
}

.hero-v109 .hero-showcase {
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: none !important;
}

.hero-v109.section-pad {
    padding-top: 0 !important;
}

@media (min-width: 981px) {
    .hero-v109 .hero-showcase {
        padding-top: clamp(28px, 3vw, 46px) !important;
    }
}


/* v1.2.0 — сторінка подяки */
.thank-page {
    background:
        radial-gradient(circle at 12% 18%, rgba(15,118,110,.10), transparent 34%),
        radial-gradient(circle at 88% 12%, rgba(245,158,11,.14), transparent 32%),
        linear-gradient(180deg, #f4fbfc 0%, #ffffff 58%, #f7fbfc 100%);
}

.thank-hero {
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    padding: clamp(72px, 8vw, 120px) 0;
}

.thank-card {
    position: relative;
    overflow: hidden;
    max-width: 980px;
    padding: clamp(34px, 6vw, 70px);
    border-radius: 34px;
    background:
        linear-gradient(110deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 58%, rgba(255,255,255,.72) 100%),
        url('../img/merco-hero-background.png') center right / cover no-repeat;
    border: 1px solid rgba(8,47,73,.08);
    box-shadow: 0 30px 90px rgba(8,47,73,.11);
}

.thank-card::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15,118,110,.18), transparent 65%);
    pointer-events: none;
}

.thank-badge {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--merco-teal), #0ea5a0);
    font-size: 38px;
    font-weight: 900;
    box-shadow: 0 18px 38px rgba(15,118,110,.24);
}

.thank-card h1 {
    margin: 12px 0 16px;
    color: var(--merco-navy);
    font-size: clamp(42px, 6vw, 76px);
    line-height: .98;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.thank-lead {
    max-width: 640px;
    margin: 0;
    color: #496170;
    font-size: clamp(17px, 1.5vw, 20px);
}

.thank-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.thank-contact-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
}

.thank-contact-grid a {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(8,47,73,.10);
    color: var(--merco-navy);
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(8,47,73,.07);
}

.thank-contact-grid svg {
    width: 24px;
    height: 24px;
    fill: var(--merco-teal);
    flex: 0 0 24px;
}

.thank-note {
    margin: 22px 0 0;
    color: var(--merco-muted);
    font-weight: 650;
}

@media (max-width: 780px) {
    .thank-contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 540px) {
    .thank-hero {
        padding: 44px 0;
        min-height: auto;
    }
    .thank-card {
        border-radius: 24px;
        padding: 28px 20px;
    }
    .thank-contact-grid {
        grid-template-columns: 1fr;
    }
    .thank-actions .btn {
        width: 100%;
    }
}


/* v1.2.2 — новий перший екран у стилі прикладу клієнта */
.hero-v122 {
    position: relative;
    overflow: hidden;
    padding: clamp(38px, 5vw, 70px) 0 0;
    background:
        radial-gradient(circle at 8% 12%, rgba(15,118,110,.10), transparent 30%),
        radial-gradient(circle at 92% 8%, rgba(245,158,11,.12), transparent 28%),
        linear-gradient(110deg, #fbfefe 0%, #ffffff 44%, #f4f1ed 100%);
}

.hero-v122::before {
    content: "";
    position: absolute;
    right: -12%;
    top: -20%;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15,118,110,.10), transparent 65%);
    pointer-events: none;
}

.hero-v122-wrap {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(470px, 1.05fr);
    align-items: center;
    gap: clamp(32px, 5vw, 76px);
    min-height: clamp(560px, 70vh, 720px);
    padding-bottom: 106px;
}

.hero-v122-copy {
    position: relative;
    z-index: 3;
    padding-left: clamp(0px, 1vw, 10px);
}

.hero-v122 .eyebrow {
    margin-bottom: 22px;
}

.hero-v122 h1 {
    max-width: 690px;
    margin: 0;
    color: var(--merco-navy);
    font-size: clamp(42px, 5.3vw, 76px);
    line-height: .97;
    letter-spacing: -.055em;
    font-weight: 900;
}

.hero-v122 h1 strong,
.hero-v122 h1 em {
    color: var(--merco-teal);
    font-style: normal;
}

.hero-v122-text {
    max-width: 570px;
    margin: 22px 0 0;
    color: #385365;
    font-size: clamp(17px, 1.45vw, 21px);
    line-height: 1.55;
    font-weight: 600;
}

.hero-v122-bullets {
    display: grid;
    gap: 10px;
    margin-top: 22px;
    max-width: 600px;
}

.hero-v122-bullets span {
    position: relative;
    padding-left: 34px;
    color: var(--merco-navy);
    font-weight: 800;
}

.hero-v122-bullets span::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--merco-teal);
    font-size: 13px;
    font-weight: 900;
}

.hero-v122-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-v122 .btn-primary {
    background: var(--merco-teal);
    box-shadow: 0 18px 34px rgba(15,118,110,.23);
}

.hero-v122 .btn-primary:hover {
    background: #0b625c;
}

.hero-v122 .btn-outline {
    background: rgba(255,255,255,.78);
    border-color: rgba(8,47,73,.18);
    color: var(--merco-navy);
}

.hero-phone-btn::before {
    content: "☎";
    margin-right: 8px;
    color: var(--merco-navy);
}

.hero-v122-signature {
    margin: 24px 0 0;
    color: var(--merco-teal);
    font-size: clamp(18px, 1.65vw, 24px);
    font-weight: 750;
    font-style: italic;
    line-height: 1.35;
}

.hero-v122-visual {
    position: relative;
    z-index: 2;
    align-self: stretch;
    min-height: 420px;
    display: flex;
    align-items: center;
}

.hero-v122-visual img {
    width: 100%;
    min-height: clamp(420px, 34vw, 540px);
    object-fit: cover;
    object-position: center;
    border-radius: 34px;
    box-shadow: 0 28px 80px rgba(8,47,73,.15);
    border: 1px solid rgba(255,255,255,.74);
}

.hero-v122-features {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    min-height: 86px;
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(8,47,73,.08);
    box-shadow: 0 20px 50px rgba(8,47,73,.11);
    backdrop-filter: blur(16px);
}

.hero-v122-features article {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    padding: 18px 20px;
    border-right: 1px solid rgba(8,47,73,.08);
}

.hero-v122-features article:last-child {
    border-right: 0;
}

.hero-v122-features span {
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,118,110,.10);
    color: var(--merco-teal);
    font-weight: 900;
    font-size: 23px;
}

.hero-v122-features svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.hero-v122-features strong {
    color: var(--merco-navy);
    font-size: 15px;
    line-height: 1.18;
}

.hero-v122-features p {
    margin: 3px 0 0;
    color: #5f7182;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 650;
}

@media (max-width: 1120px) {
    .hero-v122-wrap {
        grid-template-columns: 1fr;
        padding-bottom: 0;
    }
    .hero-v122-visual {
        min-height: 360px;
    }
    .hero-v122-features {
        position: relative;
        bottom: auto;
        margin-top: 24px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hero-v122-features article:nth-child(2) {
        border-right: 0;
    }
    .hero-v122-features article:nth-child(-n+2) {
        border-bottom: 1px solid rgba(8,47,73,.08);
    }
}

@media (max-width: 640px) {
    .hero-v122 {
        padding-top: 28px;
    }
    .hero-v122-wrap {
        min-height: auto;
        gap: 26px;
    }
    .hero-v122 h1 {
        font-size: clamp(36px, 11vw, 48px);
    }
    .hero-v122-visual img {
        min-height: 340px;
        border-radius: 24px;
    }
    .hero-v122-features {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }
    .hero-v122-features article,
    .hero-v122-features article:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid rgba(8,47,73,.08);
    }
    .hero-v122-features article:last-child {
        border-bottom: 0;
    }
    .hero-v122-actions .btn {
        width: 100%;
    }
}


/* v1.2.3 — ретуш фото на першому екрані + цитата під героєм */
.hero-v122-visual img {
    object-position: center;
}

.hero-quote-band {
    position: relative;
    z-index: 3;
    margin-top: -10px;
    margin-bottom: 24px;
}

.hero-quote-band__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 18px 28px;
    border-radius: 18px;
    background: linear-gradient(90deg, #073861 0%, #0a3f6f 55%, #08335b 100%);
    color: #fff;
    box-shadow: 0 18px 38px rgba(8,47,73,.16);
}

.hero-quote-band__mark {
    color: rgba(255,255,255,.95);
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
}

.hero-quote-band__text {
    margin: 0;
    color: rgba(255,255,255,.98);
    font-size: clamp(16px, 1.35vw, 22px);
    font-weight: 700;
    line-height: 1.45;
}

.hero-quote-band__author {
    margin: 0;
    color: #9be7de;
    font-size: clamp(18px, 1.7vw, 28px);
    font-style: italic;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .hero-quote-band__inner {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 12px;
        padding: 18px 20px;
    }

    .hero-quote-band__mark {
        font-size: 34px;
    }

    .hero-quote-band__author {
        white-space: normal;
    }
}


/* v1.2.4 — перший екран точніше під погоджений приклад */
.hero-v122 {
    padding-top: clamp(22px, 3.2vw, 48px);
    background:
        linear-gradient(105deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.96) 43%, rgba(244,239,233,.96) 100%);
}

.hero-v122-wrap {
    grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
    gap: clamp(28px, 4vw, 58px);
    min-height: clamp(545px, 66vh, 660px);
    padding-bottom: 112px;
}

.hero-v122 .eyebrow {
    color: var(--merco-teal);
    font-weight: 900;
}

.hero-v122 h1 {
    max-width: 710px;
    font-size: clamp(44px, 4.9vw, 72px);
    line-height: .98;
}

.hero-v122 h1 span {
    display: block;
    color: var(--merco-teal);
}

.hero-v122 h1::after {
    content: "";
    display: block;
    width: 86px;
    height: 3px;
    margin-top: 18px;
    border-radius: 999px;
    background: var(--merco-teal);
}

.hero-v122-text {
    max-width: 610px;
    margin-top: 18px;
    color: #2f4b5d;
}

.hero-v122-visual img {
    min-height: clamp(440px, 36vw, 560px);
    border-radius: 0;
    box-shadow: none;
    border: 0;
    object-fit: cover;
    object-position: center;
}

.hero-v122-visual {
    align-self: stretch;
    min-height: 450px;
}

.hero-v122-actions .btn {
    min-height: 52px;
    font-weight: 900;
}

.hero-v122-signature {
    max-width: 540px;
    font-size: clamp(18px, 1.45vw, 23px);
}

.hero-v122-features {
    bottom: 18px;
    border-radius: 20px;
}

.hero-quote-band {
    margin-top: -4px;
}

.hero-quote-band__inner {
    border-radius: 0;
}

@media (max-width: 1120px) {
    .hero-v122-wrap {
        grid-template-columns: 1fr;
        padding-bottom: 0;
    }
    .hero-v122-visual img {
        border-radius: 24px;
    }
    .hero-v122-features {
        bottom: auto;
    }
}

@media (max-width: 640px) {
    .hero-v122 h1 span {
        display: inline;
    }
    .hero-v122 h1 {
        font-size: clamp(34px, 10vw, 46px);
    }
}


/* v1.2.5 — перший екран максимально близько до затвердженого прикладу */
.site-header {
    background: rgba(244, 251, 252, .94) !important;
    box-shadow: none !important;
}

.hero-v122 {
    padding-top: 0 !important;
    background:
        linear-gradient(105deg, #ffffff 0%, #ffffff 44%, #f5f0ea 100%) !important;
}

.hero-v122 .container {
    width: min(100% - 40px, 1280px);
}

.hero-v122-wrap {
    position: relative;
    display: block !important;
    min-height: 640px !important;
    padding: 54px 0 92px !important;
    overflow: visible;
}

.hero-v122-copy {
    width: 49%;
    max-width: 610px;
    padding-left: 0 !important;
    position: relative;
    z-index: 5;
}

.hero-v122 .eyebrow {
    margin-bottom: 18px !important;
    color: var(--merco-teal);
    font-size: 13px;
    letter-spacing: .18em;
    font-weight: 950;
}

.hero-v122 h1 {
    max-width: 610px !important;
    margin: 0 !important;
    color: var(--merco-navy);
    font-size: clamp(46px, 4.15vw, 66px) !important;
    line-height: .98 !important;
    letter-spacing: -.055em;
    font-weight: 950;
}

.hero-v122 h1 span,
.hero-v122 h1 em {
    display: block !important;
}

.hero-v122 h1 span {
    color: var(--merco-teal);
}

.hero-v122 h1 em {
    color: var(--merco-navy);
    font-style: normal;
}

.hero-v122 h1::after {
    width: 74px !important;
    height: 3px !important;
    margin-top: 18px !important;
}

.hero-v122-text {
    max-width: 540px !important;
    margin-top: 18px !important;
    color: #314d5e !important;
    font-size: 17px !important;
    line-height: 1.55 !important;
    font-weight: 650 !important;
}

.hero-v122-bullets {
    margin-top: 18px !important;
    gap: 9px !important;
}

.hero-v122-bullets span {
    font-size: 15px !important;
    line-height: 1.35 !important;
}

.hero-v122-bullets span::before {
    width: 21px !important;
    height: 21px !important;
    top: 0 !important;
}

.hero-v122-actions {
    margin-top: 22px !important;
    gap: 14px !important;
}

.hero-v122-actions .btn {
    min-height: 48px !important;
    padding: 13px 22px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
}

.hero-v122-signature {
    margin-top: 18px !important;
    color: var(--merco-teal) !important;
    font-size: clamp(18px, 1.35vw, 22px) !important;
    line-height: 1.25 !important;
    max-width: 520px !important;
}

.hero-v122-visual {
    position: absolute !important;
    right: 0;
    top: 0;
    bottom: 50px;
    width: 56%;
    min-height: 0 !important;
    display: block !important;
    z-index: 2;
}

.hero-v122-visual::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 -130px;
    width: 260px;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.84) 38%, rgba(255,255,255,0) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-v122-visual img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.hero-v122-features {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    min-height: 78px !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 42px rgba(8,47,73,.10) !important;
    background: rgba(255,255,255,.94) !important;
}

.hero-v122-features article {
    padding: 14px 20px !important;
    grid-template-columns: 46px 1fr !important;
}

.hero-v122-features span {
    width: 42px !important;
    height: 42px !important;
}

.hero-v122-features strong {
    font-size: 14px !important;
}

.hero-v122-features p {
    font-size: 12.5px !important;
}

.hero-quote-band {
    margin-top: 18px !important;
}

@media (max-width: 1120px) {
    .hero-v122-wrap {
        display: grid !important;
        grid-template-columns: 1fr !important;
        min-height: auto !important;
        padding-bottom: 0 !important;
    }

    .hero-v122-copy {
        width: 100%;
        max-width: 100%;
    }

    .hero-v122-visual {
        position: relative !important;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        min-height: 420px !important;
        margin-top: 28px;
    }

    .hero-v122-visual::before {
        display: none;
    }

    .hero-v122-visual img {
        height: auto !important;
        min-height: 420px !important;
        border-radius: 22px !important;
    }

    .hero-v122-features {
        position: relative !important;
        margin-top: 22px !important;
        bottom: auto !important;
    }
}

@media (max-width: 640px) {
    .hero-v122 .container {
        width: min(100% - 28px, 1280px);
    }

    .hero-v122-wrap {
        padding-top: 32px !important;
    }

    .hero-v122 h1 {
        font-size: clamp(34px, 10vw, 46px) !important;
    }

    .hero-v122-visual {
        min-height: 340px !important;
    }

    .hero-v122-visual img {
        min-height: 340px !important;
    }
}


/* v1.2.6 — фото справа зроблено ширшим, щоб було видно чашку */
@media (min-width: 1121px) {
    .hero-v122-copy {
        width: 45% !important;
        max-width: 560px !important;
    }

    .hero-v122-visual {
        width: 62% !important;
        right: 0 !important;
    }

    .hero-v122-visual img {
        object-position: 42% center !important;
    }

    .hero-v122-visual::before {
        inset: 0 auto 0 -92px !important;
        width: 190px !important;
    }
}


/* v1.2.7 — фото у першому екрані зроблено саме фоновим, як у прикладі */
@media (min-width: 1121px) {
    .hero-v122 {
        background:
            linear-gradient(105deg, #ffffff 0%, #ffffff 42%, #f5f0ea 100%) !important;
    }

    .hero-v122-wrap {
        min-height: 640px !important;
        padding-bottom: 104px !important;
    }

    .hero-v122-copy {
        width: 47% !important;
        max-width: 600px !important;
    }

    .hero-v122-visual {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 52px !important;
        width: 64% !important;
        min-height: 0 !important;
        background-image: url('../img/merco-hero-background-photo-exact.png') !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        z-index: 1 !important;
        overflow: hidden !important;
    }

    .hero-v122-visual img {
        display: none !important;
    }

    .hero-v122-visual::before {
        display: block !important;
        content: "" !important;
        position: absolute !important;
        inset: 0 auto 0 -2px !important;
        width: 310px !important;
        background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.94) 28%, rgba(255,255,255,.62) 55%, rgba(255,255,255,0) 100%) !important;
        z-index: 2 !important;
        pointer-events: none !important;
    }

    .hero-v122-visual::after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        background:
            linear-gradient(90deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 44%),
            linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.02)) !important;
        pointer-events: none !important;
        z-index: 1 !important;
    }
}

@media (max-width: 1120px) {
    .hero-v122-visual {
        background-image: url('../img/merco-hero-background-photo-exact.png') !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        border-radius: 22px !important;
    }

    .hero-v122-visual img {
        display: none !important;
    }
}


/* v1.2.8 — перший екран максимально повторює наданий зразок */
@media (min-width: 1121px) {
  .site-header {
    background: #eef7f8 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
  }
  .header-inner {
    min-height: 72px !important;
    gap: 16px !important;
  }
  .brand img {
    width: 46px !important;
    height: 46px !important;
  }
  .brand { margin-right: 8px; }
  .primary-nav a {
    font-size: 13px !important;
    font-weight: 700 !important;
  }
  .header-actions .phone-chip { min-height: 42px !important; }
  .header-actions .cta-chip { min-height: 42px !important; padding: 10px 18px !important; }

  .hero-v122 {
    background: linear-gradient(90deg, #fff 0%, #fff 53%, #f5eee8 100%) !important;
    padding-top: 8px !important;
  }
  .hero-v122 .container {
    width: min(100% - 40px, 1280px) !important;
  }
  .hero-v122-wrap {
    position: relative !important;
    display: block !important;
    min-height: 690px !important;
    padding: 36px 0 112px !important;
  }
  .hero-v122-copy {
    position: relative !important;
    z-index: 4 !important;
    width: 44% !important;
    max-width: 520px !important;
    padding-top: 18px !important;
  }
  .hero-v122 .eyebrow {
    margin-bottom: 14px !important;
    color: var(--merco-teal) !important;
    font-size: 13px !important;
    letter-spacing: .16em !important;
    font-weight: 900 !important;
  }
  .hero-v122 h1 {
    margin: 0 !important;
    max-width: 520px !important;
    font-size: 0 !important;
    line-height: 1 !important;
  }
  .hero-v122 .hero-line {
    display: block;
    font-size: clamp(40px, 3.65vw, 60px);
    line-height: .98;
    font-weight: 950;
    letter-spacing: -.055em;
  }
  .hero-v122 .hero-line--navy { color: var(--merco-navy) !important; }
  .hero-v122 .hero-line--teal { color: var(--merco-teal) !important; }
  .hero-v122 h1::after {
    content: '';
    display: block;
    width: 82px;
    height: 3px;
    border-radius: 999px;
    background: var(--merco-teal);
    margin-top: 18px;
  }
  .hero-v122-text {
    max-width: 448px !important;
    margin-top: 18px !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    color: #324b5b !important;
    font-weight: 500 !important;
  }
  .hero-v122-bullets {
    gap: 10px !important;
    margin-top: 14px !important;
  }
  .hero-v122-bullets span {
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    color: #173042 !important;
  }
  .hero-v122-actions {
    margin-top: 18px !important;
    gap: 12px !important;
  }
  .hero-v122-actions .btn {
    min-height: 46px !important;
    padding: 12px 22px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    border-radius: 999px !important;
  }
  .hero-v122-signature {
    margin-top: 16px !important;
    max-width: 430px !important;
    color: #2b8f89 !important;
    font-size: 18px !important;
    line-height: 1.22 !important;
    font-style: italic !important;
  }
  .hero-v122-visual {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 60% !important;
    bottom: 56px !important;
    background-image: url('../img/merco-hero-right-exact-v128.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 1 !important;
    overflow: hidden !important;
  }
  .hero-v122-visual img { display: none !important; }
  .hero-v122-visual::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 auto 0 -1px !important;
    width: 205px !important;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.92) 22%, rgba(255,255,255,.58) 58%, rgba(255,255,255,0) 100%) !important;
    z-index: 2 !important;
  }
  .hero-v122-features {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(255,255,255,.98) !important;
    box-shadow: 0 12px 28px rgba(8,47,73,.09) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }
  .hero-v122-features article {
    min-height: 88px !important;
    padding: 16px 22px !important;
    grid-template-columns: 52px 1fr !important;
    gap: 12px !important;
  }
  .hero-v122-features span {
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
  }
  .hero-v122-features strong {
    font-size: 14px !important;
    line-height: 1.25 !important;
  }
  .hero-v122-features p {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 1120px) {
  .hero-v122 h1 .hero-line { display: block; }
}


/* v1.2.9 — прибрано обрізання hero-зображення справа */
@media (min-width: 1121px) {
  .hero-v122-visual {
    background-image: none !important;
    width: 61% !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-end !important;
    overflow: visible !important;
  }

  .hero-v122-visual::before {
    width: 165px !important;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.95) 24%, rgba(255,255,255,.62) 62%, rgba(255,255,255,0) 100%) !important;
  }

  .hero-v122-visual img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: right center !important;
    position: relative !important;
    z-index: 1 !important;
  }
}

@media (max-width: 1120px) {
  .hero-v122-visual {
    background-image: none !important;
  }

  .hero-v122-visual img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}


/* v1.3.1 — перший екран зроблений кодом, не цільною картинкою */

.hero-code-v131 {
    position: relative;
    overflow: hidden;
    padding: 0;
    background-color: #ffffff;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.96) 33%, rgba(255,255,255,.82) 46%, rgba(255,255,255,.00) 60%),
        url('../img/merco-hero-clean-photo.png');
    background-repeat: no-repeat;
    background-position: calc(100% + 54px) top;
    background-size: auto 100%;
}

.hero-code-v131__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 7% 78%, rgba(15,118,110,.08), transparent 26%),
        linear-gradient(90deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    z-index: 2;
}

.hero-code-v131__inner {
    position: relative;
    z-index: 3;
    min-height: 650px;
    display: grid;
    grid-template-columns: 43% 57%;
    align-items: stretch;
    padding: 38px 0 102px;
}

.hero-code-v131__copy {
    position: relative;
    z-index: 4;
    align-self: center;
    padding: 10px 0 0;
    max-width: 560px;
}

.hero-code-v131__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: var(--merco-teal);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .16em;
}

.hero-code-v131__eyebrow i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    display: inline-block;
}

.hero-code-v131__eyebrow i:first-child { background: var(--merco-gold); }
.hero-code-v131__eyebrow i:nth-child(2) { background: var(--merco-teal); }

.hero-code-v131 h1 {
    margin: 0;
    color: var(--merco-navy);
    font-size: clamp(42px, 4.05vw, 66px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 950;
}

.hero-code-v131 h1 span,
.hero-code-v131 h1 strong { display: block; }
.hero-code-v131 h1 strong { color: var(--merco-teal); font-weight: 950; }

.hero-code-v131__line {
    width: 74px;
    height: 3px;
    border-radius: 999px;
    margin: 18px 0 0;
    background: var(--merco-teal);
}

.hero-code-v131__text {
    max-width: 485px;
    margin: 18px 0 0;
    color: #334c5b;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
}

.hero-code-v131__checks {
    display: grid;
    gap: 9px;
    margin-top: 16px;
    color: var(--merco-navy);
    font-size: 15px;
    font-weight: 700;
}
.hero-code-v131__checks p {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
}
.hero-code-v131__checks b {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--merco-teal);
    color: #fff;
    font-size: 12px;
    flex: 0 0 22px;
}

.hero-code-v131__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
    margin-top: 20px;
}
.hero-code-v131__btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 850;
    transition: transform .2s ease, box-shadow .2s ease;
}
.hero-code-v131__btn:hover { transform: translateY(-2px); }
.hero-code-v131__btn--primary {
    color: #fff;
    background: var(--merco-teal);
    box-shadow: 0 16px 30px rgba(15,118,110,.22);
}
.hero-code-v131__btn--phone {
    color: var(--merco-navy);
    background: rgba(255,255,255,.80);
    border: 1px solid rgba(8,47,73,.20);
}

.hero-code-v131__signature {
    margin: 18px 0 0;
    color: #2b8f89;
    font-size: 19px;
    line-height: 1.23;
    font-weight: 750;
    font-style: italic;
}

.hero-code-v131__photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 52px;
    width: 60%;
    z-index: 1;
}

.hero-code-v131__info-card {
    position: absolute;
    right: calc(8.0% + 200px);
    top: 24%;
    width: min(310px, 34vw);
    min-height: 265px;
    padding: 22px 28px 22px 30px;
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 22px 44px rgba(8,47,73,.16);
    border: 1px solid rgba(255,255,255,.70);
    backdrop-filter: blur(12px);
}
.hero-code-v131__info-card h3 {
    margin: 0 0 4px;
    color: var(--merco-navy);
    font-size: 22px;
    line-height: 1.15;
    font-weight: 900;
}
.hero-code-v131__info-card p {
    margin: 0;
    color: var(--merco-teal);
    font-size: 13px;
    font-weight: 700;
}
.hero-code-v131__info-card .card-line {
    display: block;
    width: 54px;
    height: 3px;
    border-radius: 999px;
    background: var(--merco-teal);
    margin: 13px 0 15px;
}
.hero-code-v131__info-card ul {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
    color: var(--merco-navy);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 750;
}
.hero-code-v131__info-card li {
    display: grid;
    grid-template-columns: 25px 1fr;
    gap: 10px;
    align-items: start;
}
.hero-code-v131__info-card i {
    color: var(--merco-teal);
    font-style: normal;
    font-size: 19px;
    line-height: 1;
    font-weight: 900;
}
.hero-code-v131__info-card .last { margin-top: 8px; }

.hero-code-v131__features {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 86px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    z-index: 6;
    overflow: hidden;
    border-radius: 17px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(8,47,73,.08);
    box-shadow: 0 15px 34px rgba(8,47,73,.10);
}
.hero-code-v131__features article {
    display: grid;
    grid-template-columns: 50px 1fr;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    border-right: 1px solid rgba(8,47,73,.08);
}
.hero-code-v131__features article:last-child { border-right: 0; }
.hero-code-v131__features span {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--merco-teal);
    background: rgba(15,118,110,.10);
    font-size: 23px;
    font-weight: 900;
}
.hero-code-v131__features strong {
    display: block;
    color: var(--merco-navy);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 850;
}
.hero-code-v131__features p {
    margin: 3px 0 0;
    color: #657785;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 650;
}
@media (max-width: 1120px) {
    .hero-code-v131__inner {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 36px 0 26px;
    }

    .hero-code-v131__copy {
        max-width: 100%;
    }

    .hero-code-v131__photo {
        position: relative;
        inset: auto;
        width: 100%;
        min-height: 460px;
        margin-top: 28px;
        border-radius: 24px;
        overflow: hidden;
        background: url('../img/merco-hero-clean-photo.png') calc(100% + 40px) top / cover no-repeat;
    }

    .hero-code-v131__info-card {
        right: 24px;
        top: 36px;
        width: min(310px, calc(100% - 48px));
    }

    .hero-code-v131__features {
        position: relative;
        margin-top: 24px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-code-v131__features article:nth-child(2) {
        border-right: 0;
    }

    .hero-code-v131__features article:nth-child(-n+2) {
        border-bottom: 1px solid rgba(8,47,73,.08);
    }
}

@media (max-width: 640px) {
    .hero-code-v131__inner {
        padding-top: 28px;
    }

    .hero-code-v131 h1 {
        font-size: clamp(34px, 10vw, 46px);
    }

    .hero-code-v131__actions .hero-code-v131__btn {
        width: 100%;
    }

    .hero-code-v131__photo {
        min-height: 430px;
        background-position: 66% center;
    }

    .hero-code-v131__info-card {
        position: relative;
        right: auto;
        top: auto;
        margin: 210px 16px 16px;
        width: auto;
    }

    .hero-code-v131__features {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }

    .hero-code-v131__features article,
    .hero-code-v131__features article:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid rgba(8,47,73,.08);
    }

    .hero-code-v131__features article:last-child {
        border-bottom: 0;
    }
}


/* v1.3.5 — restore full header logo and adjust hero title */
.brand { gap: 0 !important; }
.brand img {
  width: auto !important;
  height: 58px !important;
  max-width: 300px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
@media (max-width: 1180px) {
  .brand img { height: 52px !important; max-width: 270px !important; }
}
@media (max-width: 760px) {
  .brand img { height: 42px !important; max-width: 220px !important; }
}
.hero-code-v131__copy h1 span:last-child:empty { display: none; }
.hero-code-v131__copy h1 { max-width: 620px; }
