/* =========================================================================
   subhome.eu — teplý přírodní světlý styl
   Fraunces (nadpisy) + Inter (text), terakota akcent + tlumená zeleň
   ========================================================================= */

:root {
    /* paleta */
    --cream:      #faf6ef;
    --cream-deep: #efe6d4;
    --paper:      #fffdf9;
    --ink:        #2b2620;
    --ink-soft:   #5b5246;
    --muted:      #8a8073;
    --line:       #e9e0d2;
    --line-soft:  #f0e9dc;

    --terra:      #c2683e;   /* primární akcent */
    --terra-deep: #a9542f;
    --terra-tint: #f6e7dc;
    --sage:       #6f7a52;   /* sekundární akcent */
    --sage-deep:  #58613f;
    --sage-tint:  #eef0e4;

    --ok:         #4f7a52;
    --err:        #b4452f;

    /* tvar a stín */
    --r-sm: 10px;
    --r:    16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(74, 55, 35, .06);
    --shadow:    0 12px 30px -12px rgba(74, 55, 35, .18);
    --shadow-lg: 0 30px 60px -24px rgba(74, 55, 35, .28);

    --container: 1140px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    font-size: 16.5px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    width: 100%;
}

img { max-width: 100%; display: block; }
a { color: var(--terra-deep); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--terra); }

h1, h2, h3, h4 {
    font-family: "Fraunces", Georgia, "Times New Roman", serif;
    font-weight: 600;
    line-height: 1.12;
    color: var(--ink);
    letter-spacing: -.01em;
}

.container { width: min(100% - 2.6rem, var(--container)); margin-inline: auto; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 999;
    background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* eyebrow / sekční nadpisy */
.eyebrow {
    display: inline-block;
    font-family: "Inter", sans-serif;
    font-size: .76rem; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--sage-deep);
    margin-bottom: .9rem;
}
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section__head { max-width: 46rem; margin-bottom: 2.6rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.section__lead { color: var(--ink-soft); font-size: 1.08rem; margin-top: .8rem; }

/* --------------------------------------------------------------- buttons */
.btn {
    --bg: var(--terra); --fg: #fff; --bd: var(--terra);
    display: inline-flex; align-items: center; gap: .55rem;
    font-weight: 600; font-size: .98rem; white-space: nowrap; line-height: 1.1;
    padding: .82rem 1.5rem; border-radius: 100px;
    background: var(--bg); color: var(--fg);
    border: 1.5px solid var(--bd); cursor: pointer;
    transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
    box-shadow: 0 10px 22px -12px rgba(194, 104, 62, .8);
}
.btn:hover { background: var(--terra-deep); border-color: var(--terra-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(194, 104, 62, .85); }
.btn:active { transform: translateY(0); }
.btn--ghost {
    --bg: transparent; --fg: var(--ink); --bd: var(--line);
    box-shadow: none;
}
.btn--ghost:hover { --bg: var(--paper); --fg: var(--terra-deep); border-color: var(--terra); box-shadow: var(--shadow-sm); }
.btn--sage { --bg: var(--sage); --bd: var(--sage); box-shadow: 0 10px 22px -12px rgba(111, 122, 82, .8); }
.btn--sage:hover { background: var(--sage-deep); border-color: var(--sage-deep); }
.btn--sm { padding: .55rem 1rem; font-size: .9rem; }
.btn .ico { width: 1.05em; height: 1.05em; }

/* --------------------------------------------------------------- topbar */
.topbar { background: var(--ink); color: #d9cfbf; font-size: .86rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; flex-wrap: wrap; }
.topbar__contact { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; color: #e6ddcd; }
.topbar__item:hover { color: #fff; }
.topbar .ico { width: 14px; height: 14px; fill: var(--terra); flex: none; }
.topbar__lang { display: flex; align-items: center; gap: .5rem; }
.lang { color: #b7ac9a; font-weight: 600; letter-spacing: .03em; }
.lang.is-active { color: #fff; }
.lang:hover { color: var(--terra); }
.lang__sep { color: #6b6253; }

/* --------------------------------------------------------------- header / nav */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250, 246, 239, .85);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; }

.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark {
    width: 38px; height: 38px; display: grid; place-items: center;
    background: var(--terra); border-radius: 11px; color: #fff;
    box-shadow: 0 8px 18px -8px rgba(194, 104, 62, .9);
}
.brand__mark svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.brand__name { font-family: "Fraunces", serif; font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; }
.brand__accent { color: var(--terra); }
.brand--footer .brand__name { color: var(--ink); }

.mainnav { display: flex; align-items: center; gap: .35rem; }
.mainnav__link {
    color: var(--ink-soft); font-weight: 600; font-size: .96rem;
    padding: .5rem .85rem; border-radius: 100px; position: relative;
    transition: color .2s var(--ease), background .2s var(--ease);
}
.mainnav__link:hover { color: var(--terra-deep); background: var(--terra-tint); }
.mainnav__link.is-active { color: var(--terra-deep); }
.mainnav__link.is-active::after {
    content: ""; position: absolute; left: 50%; bottom: .15rem; transform: translateX(-50%);
    width: 18px; height: 3px; border-radius: 3px; background: var(--terra);
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(60% 70% at 88% 8%, var(--terra-tint) 0%, transparent 60%),
        radial-gradient(50% 60% at 6% 95%, var(--sage-tint) 0%, transparent 55%),
        linear-gradient(180deg, #fffdf9 0%, var(--cream) 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--paper); border: 1px solid var(--line);
    color: var(--sage-deep); font-weight: 600; font-size: .82rem;
    padding: .4rem .9rem; border-radius: 100px; box-shadow: var(--shadow-sm);
    margin-bottom: 1.4rem;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terra); }
.hero__title { font-size: clamp(2.4rem, 5.6vw, 4rem); font-weight: 600; }
.hero__title em { font-style: italic; color: var(--terra); font-weight: 600; }
.hero__sub { color: var(--ink-soft); font-size: 1.15rem; max-width: 34rem; margin: 1.2rem 0 2rem; }
.hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; }

.hero__media { position: relative; }
.hero__photo {
    border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg);
    border: 6px solid var(--paper); aspect-ratio: 4 / 3.4; background: var(--cream-deep);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__chip {
    position: absolute; left: -1.2rem; bottom: 1.6rem;
    background: var(--paper); border-radius: var(--r); padding: .8rem 1.1rem;
    box-shadow: var(--shadow); border: 1px solid var(--line);
    display: flex; align-items: center; gap: .7rem;
}
.hero__chip .ring { width: 38px; height: 38px; border-radius: 50%; background: var(--sage-tint); color: var(--sage-deep); display: grid; place-items: center; font-family: "Fraunces", serif; font-weight: 700; }
.hero__chip b { display: block; font-size: .95rem; }
.hero__chip small { color: var(--muted); }

/* --------------------------------------------------------------- features */
.features { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 2.2rem 0; }
.feature { display: flex; align-items: center; gap: 1rem; }
.feature__icon { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--terra-tint); color: var(--terra-deep); display: grid; place-items: center; }
.feature__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature b { display: block; font-family: "Fraunces", serif; font-size: 1.05rem; }
.feature span { color: var(--muted); font-size: .94rem; }

/* --------------------------------------------------------------- about */
.about__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__body p + p { margin-top: 1rem; color: var(--ink-soft); }
.about__media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 5px solid var(--paper); aspect-ratio: 5/4; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__quote { font-family: "Fraunces", serif; font-style: italic; font-size: 1.35rem; color: var(--sage-deep); margin-bottom: 1.4rem; line-height: 1.4; }

/* --------------------------------------------------------------- product cards */
.card-grid { display: grid; gap: 1.4rem; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--auto { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.product {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--terra-tint); }
.product__media { aspect-ratio: 4/3; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--cream-deep), var(--sage-tint)); }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product:hover .product__media img { transform: scale(1.05); }
.product__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--terra); opacity: .55; }
.product__ph svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.product__code { position: absolute; top: .7rem; left: .7rem; background: rgba(255,253,249,.92); color: var(--ink-soft); font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: .25rem .55rem; border-radius: 100px; box-shadow: var(--shadow-sm); }
.product__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.product__name { font-family: "Inter", sans-serif; font-weight: 600; font-size: 1rem; line-height: 1.4; color: var(--ink); }
.product__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .6rem .8rem; flex-wrap: wrap; }
.product__price { font-family: "Fraunces", serif; font-weight: 700; font-size: 1.12rem; color: var(--terra-deep); white-space: nowrap; }
.product__price small { font-family: "Inter", sans-serif; font-weight: 500; font-size: .8rem; color: var(--muted); }
.product__price--ask { font-size: .98rem; color: var(--sage-deep); }

/* bestseller varianta s pořadím */
.product--rank .product__rank { position: absolute; top: .7rem; right: .7rem; width: 30px; height: 30px; border-radius: 50%; background: var(--terra); color: #fff; display: grid; place-items: center; font-family: "Fraunces", serif; font-weight: 700; box-shadow: var(--shadow-sm); }

/* --------------------------------------------------------------- category cards (homepage) */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.cat {
    position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 320px;
    display: flex; flex-direction: column; justify-content: flex-end;
    color: #fff; box-shadow: var(--shadow); isolation: isolate;
}
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(43,38,32,0) 30%, rgba(43,38,32,.85) 100%); }
.cat:hover img { transform: scale(1.06); }
.cat__body { padding: 1.5rem; }
.cat__title { color: #fff; font-size: 1.5rem; }
.cat__lead { color: rgba(255,255,255,.85); font-size: .95rem; margin: .4rem 0 1rem; }
.cat__link { display: inline-flex; align-items: center; gap: .4rem; color: #fff; font-weight: 600; }
.cat__link svg { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.cat:hover .cat__link svg { transform: translateX(4px); }

/* --------------------------------------------------------------- catalog page */
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.catalog__nav { position: sticky; top: 100px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.2rem; box-shadow: var(--shadow-sm); }
.catalog__nav h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: .8rem; font-family: "Inter", sans-serif; font-weight: 700; }
.catalog__nav ul { list-style: none; display: flex; flex-direction: column; gap: .2rem; }
.catalog__nav a { display: flex; justify-content: space-between; gap: .5rem; padding: .55rem .7rem; border-radius: var(--r-sm); color: var(--ink-soft); font-weight: 600; }
.catalog__nav a:hover, .catalog__nav a.is-active { background: var(--terra-tint); color: var(--terra-deep); }
.catalog__nav .count { color: var(--muted); font-weight: 600; font-size: .82rem; }

.cat-section { scroll-margin-top: 100px; margin-bottom: 3.4rem; }
.cat-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; margin-bottom: 1.6rem; border-bottom: 2px solid var(--line); }
.cat-section__title { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cat-section__lead { color: var(--ink-soft); margin-top: .4rem; max-width: 44rem; }
.group { margin-bottom: 2.2rem; }
.group__head { display: flex; align-items: baseline; gap: .8rem; margin-bottom: 1rem; flex-wrap: wrap; }
.group__title { font-size: 1.2rem; font-family: "Fraunces", serif; }
.group__note { color: var(--muted); font-size: .86rem; background: var(--sage-tint); color: var(--sage-deep); padding: .15rem .6rem; border-radius: 100px; font-weight: 600; }

/* --------------------------------------------------------------- contact page */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); margin-bottom: 1.4rem; }
.info-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.info-row { display: flex; align-items: center; gap: .9rem; padding: .55rem 0; }
.info-row + .info-row { border-top: 1px solid var(--line-soft); }
.info-row__ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--terra-tint); color: var(--terra-deep); display: grid; place-items: center; }
.info-row__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.info-row small { display: block; color: var(--muted); font-size: .8rem; }
.info-row b { font-weight: 600; }
.billing-box { background: var(--sage-tint); border-radius: var(--r); padding: 1.1rem 1.2rem; }
.billing-box h4 { font-family: "Inter", sans-serif; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sage-deep); margin-bottom: .5rem; }
.billing-box p { color: var(--ink-soft); line-height: 1.7; }
.billing-box strong { color: var(--ink); }
.billing-box p + p { margin-top: .85rem; padding-top: .85rem; border-top: 1px solid rgba(111, 122, 82, .22); }

/* form */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
.field label .req { color: var(--terra); }
.field input, .field textarea {
    font-family: inherit; font-size: 1rem; color: var(--ink);
    padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: var(--r-sm);
    background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 4px var(--terra-tint); }
.field textarea { resize: vertical; min-height: 130px; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.3rem; flex-wrap: wrap; }
.form-note { color: var(--muted); font-size: .85rem; }

.alert { border-radius: var(--r); padding: 1rem 1.2rem; margin-bottom: 1.4rem; font-weight: 500; display: flex; gap: .7rem; align-items: flex-start; }
.alert svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.alert--ok { background: #eaf3ea; color: #2f5b34; border: 1px solid #cfe3cf; }
.alert--err { background: #fbe9e4; color: #8f3320; border: 1px solid #f1cabe; }

/* --------------------------------------------------------------- generic prose (terms) */
.prose { max-width: 50rem; }
.prose h2 { font-size: 1.5rem; margin: 2rem 0 .8rem; }
.prose h3 { font-size: 1.18rem; margin: 1.4rem 0 .5rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { margin: .6rem 0 1rem 1.3rem; }
.prose li { margin-bottom: .35rem; }
.prose a { text-decoration: underline; }

.page-head { background: linear-gradient(180deg, #fffdf9, var(--cream)); border-bottom: 1px solid var(--line); padding: clamp(2.2rem, 5vw, 3.4rem) 0; }
.page-head .eyebrow { color: var(--terra-deep); }
.page-head__title { font-size: clamp(2rem, 4.5vw, 3rem); }
.page-head__lead { color: var(--ink-soft); font-size: 1.1rem; margin-top: .6rem; max-width: 42rem; }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: #c7bdac; margin-top: clamp(3rem, 6vw, 5rem); }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; padding: 3rem 0 2rem; }
.site-footer__grid > * { min-width: 0; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__mark { box-shadow: none; }
.site-footer__tagline { margin-top: 1rem; max-width: 26rem; color: #a99f8e; }
.site-footer__col h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-family: "Inter", sans-serif; font-weight: 700; margin-bottom: 1rem; }
.site-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.site-footer__col a { color: #c7bdac; }
.site-footer__col a:hover { color: var(--terra); }
.site-footer__billing { margin-top: 1.1rem; color: #8f8674; font-size: .88rem; line-height: 1.6; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0; }
.site-footer__bottom p { color: #8f8674; font-size: .86rem; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 940px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__media { order: -1; max-width: 30rem; }
    .about__grid { grid-template-columns: 1fr; }
    .about__media { order: -1; }
    .card-grid--3, .cats { grid-template-columns: repeat(2, 1fr); }
    .catalog { grid-template-columns: 1fr; }
    .catalog__nav { position: static; display: flex; flex-wrap: wrap; gap: .4rem; }
    .catalog__nav ul { flex-direction: row; flex-wrap: wrap; }
    .catalog__nav h3 { width: 100%; }
    .contact { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .nav-toggle { display: flex; }
    .mainnav {
        position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); max-width: 320px;
        flex-direction: column; align-items: stretch; gap: .2rem;
        background: var(--paper); padding: 5.5rem 1.2rem 2rem;
        box-shadow: var(--shadow-lg); transform: translateX(100%); visibility: hidden;
        transition: transform .3s var(--ease), visibility .3s var(--ease); z-index: 90;
    }
    body.nav-open .mainnav { transform: translateX(0); visibility: visible; }
    body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(43,38,32,.4); z-index: 80; }
    .mainnav__link { padding: .85rem 1rem; font-size: 1.05rem; }
    .mainnav__link.is-active::after { display: none; }
    .features__grid { grid-template-columns: 1fr; gap: 1.1rem; }
    .topbar__contact { gap: .9rem; }
    .topbar__item span, .topbar__item { font-size: .8rem; }

    /* patička: jeden sloupec, ať se nic neroztahuje přes šířku displeje */
    .site-footer__grid { grid-template-columns: 1fr; gap: 1.8rem; padding-top: 2.4rem; }
    .site-footer__tagline { max-width: none; }
}

@media (max-width: 540px) {
    .card-grid--3, .cats, .form-grid { grid-template-columns: 1fr; }
    .hero__chip { left: 0; }
    .cat-section__head { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
