/* ==========================================================================
   HayWay Group Česká republika — informační web
   Barevnost a typografie vychází z firemního logotypu.
   ========================================================================== */

:root {
    /* Barvy */
    --ink: #14140f;
    --ink-soft: #55554b;
    --ink-faint: #7d7d71;
    --paper: #faf8f3;
    --paper-warm: #f2eee4;
    --green: #1f3d2b;
    --green-deep: #162c1f;
    --green-light: #2f5c40;
    --brass: #9c7c42;
    --line: #ddd6c6;
    --line-soft: #e9e3d6;
    --white: #fff;

    /* Písmo */
    --display: "Playfair Display", "Times New Roman", Georgia, serif;
    --body: "Inter", -apple-system, "Segoe UI", Arial, sans-serif;

    /* Rozměry */
    --container: min(1180px, calc(100vw - 64px));
    --narrow: 720px;
    --radius: 4px;
    --ease: cubic-bezier(.22, .68, .3, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 18px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--green); color: var(--paper); }

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

.section { padding-block: 110px; }
.section--tight { padding-block: 88px; }

.skip-link {
    position: fixed;
    z-index: 999;
    top: 12px;
    left: 12px;
    padding: 14px 22px;
    background: var(--ink);
    border-radius: var(--radius);
    color: var(--paper);
    font-size: 16px;
    text-decoration: none;
    transform: translateY(-200%);
    transition: transform .2s;
}
.skip-link:focus { transform: none; }

:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */

h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 500;
    letter-spacing: -.015em;
    line-height: 1.15;
    text-wrap: balance;
}

/* Playfair sází číslice jako minuskové — na webu chceme verzálkové. */
.facts__grid strong,
.service__number,
h1, h2, h3, h4 {
    font-variant-numeric: lining-nums proportional-nums;
}

h1 {
    margin: 0;
    font-size: clamp(40px, 5.2vw, 60px);
    line-height: 1.08;
}

h2 {
    margin: 0;
    font-size: clamp(31px, 3.6vw, 42px);
}

h3 {
    margin: 0;
    font-size: 23px;
    line-height: 1.3;
}

p { margin: 0 0 20px; }
p:last-child { margin-bottom: 0; }

.lead {
    max-width: 60ch;
    color: var(--ink-soft);
    font-size: 20px;
    line-height: 1.65;
}

.kicker {
    display: block;
    margin: 0 0 20px;
    color: var(--brass);
    font-family: var(--body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.section-intro { max-width: 660px; margin-bottom: 56px; }
.section-intro p { margin-top: 22px; }

/* --------------------------------------------------------------------------
   Hlavička
   -------------------------------------------------------------------------- */

.site-header {
    position: sticky;
    z-index: 60;
    top: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line-soft);
    transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 1px 16px rgba(20, 20, 15, .07); }

.site-header__inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-block: 16px;
}

.brand { display: inline-flex; align-items: center; }
.brand img { width: auto; height: 46px; }

.primary-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-left: auto;
}

.primary-nav > a {
    position: relative;
    padding-block: 6px;
    color: var(--ink);
    font-size: 17px;
    text-decoration: none;
    transition: color .2s;
}
.primary-nav > a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s var(--ease);
}
.primary-nav > a:hover { color: var(--brass); }
.primary-nav > a:hover::after,
.primary-nav > a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header-side {
    display: flex;
    align-items: center;
    gap: 26px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--ink-faint);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .06em;
}
.lang-switch a { text-decoration: none; transition: color .2s; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.is-active { color: var(--ink); font-weight: 600; }
.lang-switch i { width: 1px; height: 14px; background: var(--line); }

.nav-lang { display: none; }
.menu-toggle { display: none; }

/* --------------------------------------------------------------------------
   Tlačítka
   -------------------------------------------------------------------------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 30px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s;
}

.button--primary { background: var(--green); color: var(--paper); }
.button--primary:hover { background: var(--green-deep); }

.button--outline {
    background: transparent;
    border-color: var(--ink);
    color: var(--ink);
}
.button--outline:hover { background: var(--ink); color: var(--paper); }

.button--light { background: var(--paper); color: var(--green-deep); }
.button--light:hover { background: var(--white); }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--brass);
    color: var(--ink);
    font-size: 17px;
    text-decoration: none;
    transition: color .2s, border-color .2s;
}
.text-link:hover { color: var(--brass); }
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover span { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 640px;
    padding-block: 96px 72px;
    background: var(--green-deep);
    color: var(--paper);
    isolation: isolate;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
}
.hero::before {
    background: url("../images/hero-semitrailer-v2.jpg") center 58% / cover no-repeat;
}
.hero::after {
    background: linear-gradient(100deg,
        rgba(12, 20, 14, .93) 0%,
        rgba(14, 24, 17, .82) 34%,
        rgba(16, 28, 19, .42) 66%,
        rgba(16, 28, 19, .28) 100%);
}

.hero__inner { max-width: 700px; }
.hero .kicker { color: rgba(250, 248, 243, .72); }
.hero h1 { color: var(--paper); }
.hero__text {
    max-width: 54ch;
    margin: 26px 0 0;
    color: rgba(250, 248, 243, .84);
    font-size: 20px;
    line-height: 1.65;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
    margin-top: 40px;
}
.hero .button--outline { border-color: rgba(250, 248, 243, .5); color: var(--paper); }
.hero .button--outline:hover { background: var(--paper); border-color: var(--paper); color: var(--green-deep); }

/* Fakta pod heroem */
.facts {
    background: var(--green);
    color: var(--paper);
}
.facts__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(250, 248, 243, .15);
}
.facts__grid > div {
    padding: 34px 30px;
    background: var(--green);
}
.facts__grid strong {
    display: block;
    font-family: var(--display);
    font-size: 30px;
    font-weight: 500;
    letter-spacing: -.01em;
    line-height: 1.1;
}
.facts__grid span {
    display: block;
    margin-top: 10px;
    color: rgba(250, 248, 243, .68);
    font-size: 16px;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   O nás
   -------------------------------------------------------------------------- */

.about { background: var(--paper); }

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: start;
}
.about__body p { color: var(--ink-soft); }
.about__body .text-link { margin-top: 12px; }

.about__figure { margin: 72px 0 0; }
.about__figure img {
    width: 100%;
    border-radius: var(--radius);
}
.about__figure figcaption {
    margin-top: 16px;
    color: var(--ink-faint);
    font-size: 15px;
}

/* --------------------------------------------------------------------------
   Služby
   -------------------------------------------------------------------------- */

.services { background: var(--paper-warm); }

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

.service {
    display: flex;
    flex-direction: column;
    padding: 40px 36px 38px;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
}
.service__number {
    display: block;
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    color: var(--brass);
    font-family: var(--display);
    font-size: 22px;
}
/* Sjednocená výška nadpisů, aby popisy karet začínaly na stejné lince. */
.service h3 { min-height: 2.6em; margin-bottom: 16px; }
.service > p {
    margin: 0 0 26px;
    color: var(--ink-soft);
    font-size: 17px;
}
.service ul {
    margin: auto 0 0;
    padding: 0;
    list-style: none;
}
.service li {
    position: relative;
    padding: 10px 0 10px 22px;
    border-top: 1px solid var(--line-soft);
    font-size: 16px;
}
.service li::before {
    content: "";
    position: absolute;
    top: 1.15em;
    left: 0;
    width: 9px;
    height: 1px;
    background: var(--brass);
}

/* --------------------------------------------------------------------------
   Spolupráce
   -------------------------------------------------------------------------- */

.cooperation {
    background: var(--green);
    color: var(--paper);
}
.cooperation__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 76px;
    align-items: stretch;
}
.cooperation .kicker { color: rgba(250, 248, 243, .7); }
.cooperation .lead { color: rgba(250, 248, 243, .82); margin-top: 24px; }

.cooperation__list {
    margin: 40px 0 40px;
    padding: 0;
    list-style: none;
}
.cooperation__list li {
    padding: 24px 0;
    border-top: 1px solid rgba(250, 248, 243, .2);
}
.cooperation__list li:last-child { border-bottom: 1px solid rgba(250, 248, 243, .2); }
.cooperation__list strong {
    display: block;
    margin-bottom: 6px;
    font-family: var(--display);
    font-size: 21px;
    font-weight: 500;
}
.cooperation__list span {
    color: rgba(250, 248, 243, .72);
    font-size: 17px;
}
.cooperation__figure {
    margin: 0;
    min-height: 460px;
}
.cooperation__figure img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    border-radius: var(--radius);
    object-fit: cover;
    /* Panorama v úzkém sloupci — držíme v záběru tahač, ne jen návěs. */
    object-position: 74% center;
}

/* --------------------------------------------------------------------------
   Pro logistiku
   -------------------------------------------------------------------------- */

.networks { background: var(--paper); }
.networks__inner { max-width: var(--narrow); }
.networks p { color: var(--ink-soft); }
.networks .lead { margin-top: 22px; }

.networks__names {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 34px 0 22px;
    padding: 0;
    list-style: none;
}
.networks__names li {
    padding: 12px 24px;
    background: var(--paper-warm);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    font-size: 17px;
    font-weight: 500;
}
.networks__note {
    color: var(--ink-faint);
    font-size: 15px;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */

.contact { background: var(--paper-warm); }

.contact__grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 64px;
    align-items: start;
}

.contact-details dl { margin: 0; }
.contact-details dl > div {
    padding: 20px 0;
    border-top: 1px solid var(--line);
}
.contact-details dl > div:last-child { border-bottom: 1px solid var(--line); }
.contact-details dt {
    margin-bottom: 5px;
    color: var(--ink-faint);
    font-size: 15px;
    letter-spacing: .04em;
}
.contact-details dd { margin: 0; font-size: 18px; }
.contact-details dd a { text-decoration: none; border-bottom: 1px solid var(--brass); }
.contact-details dd a:hover { color: var(--brass); }

/* Formulář */
.quote-form {
    padding: 48px 52px 52px;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
}
.quote-form > h3 { margin-bottom: 8px; }
.quote-form__note { color: var(--ink-soft); font-size: 17px; }

.form-alert {
    margin: 28px 0 0;
    padding: 16px 20px;
    border-left: 3px solid;
    border-radius: var(--radius);
    font-size: 17px;
}
.form-alert--success { background: #eef4ef; border-color: var(--green-light); color: #234a32; }
.form-alert--error { background: #fbf0ed; border-color: #a8503f; color: #7b3527; }

.quote-form form { margin-top: 32px; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 28px;
}
.form-grid__full { grid-column: 1 / -1; }

.form-grid label > span {
    display: block;
    margin-bottom: 8px;
    color: var(--ink-soft);
    font-size: 16px;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    padding: 13px 15px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    font-size: 17px;
    transition: border-color .2s, box-shadow .2s;
}
.form-grid textarea { min-height: 130px; resize: vertical; }
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
    outline: 0;
    border-color: var(--green-light);
    box-shadow: 0 0 0 3px rgba(47, 92, 64, .12);
}
.form-grid ::placeholder { color: #a5a599; }

/* Kontrola proti spamu */
.captcha {
    margin-top: 28px;
    padding: 20px 22px;
    background: var(--paper-warm);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
}
.captcha label {
    display: block;
    margin-bottom: 10px;
    font-size: 17px;
}
.captcha label > span {
    display: block;
    margin-bottom: 6px;
    color: var(--ink-soft);
    font-size: 16px;
}
.captcha input {
    width: 130px;
    padding: 12px 15px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    font-size: 17px;
    transition: border-color .2s, box-shadow .2s;
}
.captcha input:focus {
    outline: 0;
    border-color: var(--green-light);
    box-shadow: 0 0 0 3px rgba(47, 92, 64, .12);
}
.captcha small {
    display: block;
    margin-top: 10px;
    color: var(--ink-faint);
    font-size: 15px;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 28px 0;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.6;
    cursor: pointer;
}
.consent input {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin-top: 3px;
    accent-color: var(--green);
}
.consent a { color: var(--ink); }

.quote-form .button { width: 100%; }
.quote-form .button:disabled { opacity: .6; cursor: wait; }

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* --------------------------------------------------------------------------
   Patička
   -------------------------------------------------------------------------- */

.site-footer {
    background: var(--ink);
    color: rgba(250, 248, 243, .68);
    font-size: 17px;
}

.site-footer__main {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 56px;
    padding-block: 72px 56px;
}
.site-footer__brand img {
    width: auto;
    height: 92px;
    filter: invert(1);
}
.site-footer__brand p { margin: 26px 0 0; max-width: 34ch; }

.footer-col h4 {
    margin: 0 0 20px;
    color: var(--paper);
    font-family: var(--body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--paper); }
.footer-col address { font-style: normal; line-height: 1.7; }

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 32px;
    padding-block: 26px;
    border-top: 1px solid rgba(250, 248, 243, .14);
    color: rgba(250, 248, 243, .55);
    font-size: 15px;
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: rgba(250, 248, 243, .8); text-decoration: none; }
.site-footer__bottom a:hover { color: var(--paper); }

/* --------------------------------------------------------------------------
   Informační lišta o cookies
   -------------------------------------------------------------------------- */

.cookie-note {
    position: fixed;
    z-index: 90;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px 28px;
    max-width: 760px;
    margin-inline: auto;
    padding: 20px 24px;
    background: var(--ink);
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(20, 20, 15, .25);
    color: rgba(250, 248, 243, .82);
    font-size: 16px;
    line-height: 1.55;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.cookie-note.is-visible { opacity: 1; transform: none; }
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0; }
.cookie-note a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.cookie-note button {
    flex: 0 0 auto;
    padding: 12px 26px;
    background: var(--paper);
    border: 0;
    border-radius: var(--radius);
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s;
}
.cookie-note button:hover { background: #fff; }

/* --------------------------------------------------------------------------
   Právní stránka
   -------------------------------------------------------------------------- */

.legal { padding-block: 88px 96px; }
.legal__inner { max-width: var(--narrow); }
.legal h1 { margin-bottom: 28px; }
.legal h2 {
    margin: 48px 0 14px;
    font-size: 26px;
}
.legal p, .legal li { color: var(--ink-soft); }
.legal a { color: var(--ink); }
.legal__updated { margin-top: 48px; color: var(--ink-faint); font-size: 16px; }

/* Přehled cookies — na úzkých displejích posouváme tabulku, ne celou stránku. */
.legal-table-wrap {
    margin: 24px 0 28px;
    overflow-x: auto;
}
.legal-table {
    width: 100%;
    min-width: 460px;
    border-collapse: collapse;
    font-size: 16px;
    text-align: left;
}
.legal-table th,
.legal-table td {
    padding: 14px 16px;
    border: 1px solid var(--line);
    vertical-align: top;
}
.legal-table th {
    background: var(--paper-warm);
    color: var(--ink);
    font-weight: 600;
}
.legal-table td { color: var(--ink-soft); }
.legal-table code {
    font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
    font-size: 15px;
    color: var(--ink);
}

/* --------------------------------------------------------------------------
   Animace při odkrývání
   -------------------------------------------------------------------------- */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: calc(var(--reveal-delay, 0) * 1ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responzivita
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
    :root { --container: min(100% - 48px, 920px); }
    .primary-nav { gap: 24px; }
    .primary-nav > a { font-size: 16px; }
    .about__grid, .cooperation__grid { gap: 48px; }
    .services__grid { gap: 20px; }
    .service { padding: 34px 28px; }
    .quote-form { padding: 40px 36px 44px; }
    .contact__grid { gap: 44px; }
}

@media (max-width: 900px) {
    :root { --container: min(100% - 40px, 720px); }
    .section { padding-block: 80px; }
    .section--tight { padding-block: 68px; }

    .site-header__inner { min-height: 76px; }
    .brand img { height: 40px; }
    .header-side .lang-switch { display: none; }

    .menu-toggle {
        display: grid;
        place-content: center;
        gap: 6px;
        width: 48px;
        height: 48px;
        padding: 0;
        background: transparent;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        cursor: pointer;
    }
    .menu-toggle span {
        width: 20px;
        height: 1.5px;
        background: var(--ink);
        transition: transform .25s, opacity .25s;
    }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

    .primary-nav {
        position: fixed;
        inset: 76px 0 0;
        z-index: 50;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        margin: 0;
        padding: 24px 32px 48px;
        background: var(--paper);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity .28s, visibility .28s, transform .28s;
    }
    .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .primary-nav > a {
        padding: 18px 0;
        border-bottom: 1px solid var(--line-soft);
        font-family: var(--display);
        font-size: 26px;
    }
    .primary-nav > a::after { display: none; }

    .nav-lang {
        display: flex;
        gap: 12px;
        margin-top: 32px;
    }
    .nav-lang a {
        min-width: 76px;
        padding: 12px 20px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        color: var(--ink-soft);
        font-size: 16px;
        text-align: center;
        text-decoration: none;
    }
    .nav-lang a.is-active { background: var(--green); border-color: var(--green); color: var(--paper); }

    .hero { min-height: 560px; padding-block: 80px 64px; }
    .hero::before { background-position: 68% center; }

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

    .about__grid, .cooperation__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
    .about__figure { margin-top: 56px; }
    .cooperation__figure { order: -1; min-height: 0; }
    .cooperation__figure img { min-height: 300px; }
    .services__grid { grid-template-columns: 1fr; gap: 20px; }
    .service h3 { min-height: 0; }
    .service ul { margin-top: 0; }

    .site-footer__main { grid-template-columns: 1fr 1fr; gap: 44px; }
    .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    :root { --container: calc(100% - 32px); }
    html { scroll-padding-top: 88px; }
    body { font-size: 17px; }
    .section { padding-block: 64px; }
    .section--tight { padding-block: 56px; }

    .site-header__inner { min-height: 68px; }
    .brand img { height: 34px; }
    .primary-nav { inset: 68px 0 0; padding-inline: 24px; }
    .menu-toggle { width: 44px; height: 44px; }

    .hero { min-height: 520px; padding-block: 64px 52px; }
    .hero__text { font-size: 18px; }
    .hero__actions { flex-direction: column; align-items: stretch; margin-top: 34px; }
    .hero .button { width: 100%; }

    .lead { font-size: 18px; }
    .facts__grid { grid-template-columns: 1fr; }
    .facts__grid > div { padding: 26px 24px; }

    .cookie-note {
        right: 12px;
        bottom: 12px;
        left: 12px;
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
        padding: 18px 20px;
        font-size: 15px;
    }
    .cookie-note button { width: 100%; }

    .service { padding: 30px 24px 28px; }
    .quote-form { padding: 32px 24px 36px; }
    .form-grid { grid-template-columns: 1fr; gap: 20px; }
    .form-grid__full { grid-column: auto; }

    .networks__names li { padding: 10px 18px; font-size: 16px; }

    .site-footer__main { grid-template-columns: 1fr; gap: 40px; padding-block: 56px 44px; }
    .site-footer__brand img { height: 78px; }
    .site-footer__bottom { flex-direction: column; align-items: flex-start; }

    .legal { padding-block: 64px 72px; }
    .legal h2 { margin-top: 38px; font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
    .js [data-reveal] { opacity: 1; transform: none; }
}
