:root {
  --red: #d71920;
  --red-dark: #b90f17;
  --ink: #17191c;
  --muted: #696b70;
  --line: #e1e2e4;
  --paper: #ffffff;
  --soft: #f7f7f7;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

.site-header { position: relative; z-index: 30; height: 112px; background: rgba(255,255,255,.98); box-shadow: 0 8px 22px rgba(0,0,0,.10); }
.top-contact { height: 32px; display: flex; justify-content: flex-end; align-items: center; gap: 30px; font-size: 12px; color: #35363a; }
.top-contact a { display: inline-flex; align-items: center; gap: 8px; }
.top-contact span { color: var(--red); font-size: 15px; }
.nav-row { height: 80px; display: flex; align-items: center; position: relative; }
.brand-logo { width: 220px; height: 74px; flex: 0 0 220px; display: block; }
.brand-logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.main-nav { margin-left: auto; display: flex; align-items: stretch; height: 100%; gap: 3px; }
.main-nav a { min-width: 75px; padding: 0 12px; display: grid; place-items: center; position: relative; font-size: 12px; line-height: 1.1; font-weight: 700; text-transform: uppercase; text-align: center; }
.main-nav a::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 12px; height: 3px; border-radius: 3px; background: var(--red); transform: scaleX(0); transition: transform .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.header-cta { min-width: 184px; height: 48px; margin-left: 20px; padding-inline: 22px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; background: linear-gradient(135deg, var(--red), #ba1118); color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; box-shadow: 0 6px 14px rgba(215,25,32,.22); }
.header-cta:hover { background: var(--red-dark); }
.menu-toggle { display: none; }

.hero { --hero-height: clamp(540px, 36.46vw, 700px); height: var(--hero-height); min-height: 0; position: relative; overflow: hidden; isolation: isolate; background: #0b1115; color: #fff; }
.hero-picture { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(7,12,16,.97) 0%, rgba(7,12,16,.90) 25%, rgba(7,12,16,.58) 43%, rgba(7,12,16,.16) 64%, rgba(7,12,16,.08) 100%), linear-gradient(0deg, rgba(0,0,0,.30), transparent 52%); }
.hero-inner { height: 100%; min-height: 0; padding: 68px 55% 86px 42px; display: flex; flex-direction: column; justify-content: center; animation: hero-in .75s ease both; }
.hero-inner > * { flex-shrink: 0; }
@keyframes hero-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow { margin: 0 0 10px; color: #f3bfc1; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { max-width: 600px; margin: 0; font-size: clamp(36px, 3.65vw, 52px); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; text-shadow: 0 2px 12px rgba(0,0,0,.24); }
.hero h1 span { display: block; }
.hero-text { max-width: 540px; margin: 17px 0 0; font-size: 15px; line-height: 1.48; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px; margin-top: 24px; }
.hero-actions .button { min-height: 52px; padding-block: 10px; line-height: 1.25; }
.button { min-height: 47px; padding: 0 24px; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid transparent; font-size: 12px; font-weight: 700; text-transform: uppercase; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: #fff; box-shadow: 0 8px 18px rgba(215,25,32,.2); }
.button-primary:hover { background: var(--red-dark); }
.button-ghost { border-color: rgba(255,255,255,.75); color: #fff; background: rgba(0,0,0,.12); }
.button-ghost:hover { background: rgba(255,255,255,.12); }
.slider-arrow { position: absolute; z-index: 3; top: 50%; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(15,18,21,.62); box-shadow: 0 5px 16px rgba(0,0,0,.24); backdrop-filter: blur(5px); line-height: 1; cursor: pointer; transform: translateY(-50%); transition: background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.slider-arrow:hover { border-color: var(--red); background: var(--red); box-shadow: 0 7px 18px rgba(215,25,32,.28); }
.slider-arrow-left { left: 24px; }
.slider-arrow-right { right: 24px; }
.slider-arrow svg, .service-arrow svg { width: 18px; height: 18px; display: block; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.slider-dots { position: absolute; left: 50%; bottom: 19px; transform: translateX(-50%); display: flex; gap: 12px; }
.slider-dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255,255,255,.78); }
.slider-dots button.is-active { background: var(--red); }

.section { padding: 48px 0; }
.section-tight { padding: 12px 0 28px; }
.section-heading { margin-bottom: 28px; text-align: center; }
.section-heading p { margin: 0 0 7px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.section-heading h2 { margin: 0; font-size: clamp(28px, 2.5vw, 36px); line-height: 1.1; letter-spacing: -.025em; }
.section-heading.compact { margin-bottom: 22px; }
.section-heading.compact p { font-size: 13px; }

.services { background: #fff; }
.service-carousel { position: relative; }
.service-viewport { margin: -8px 0 -14px; padding: 8px 0 14px; overflow: hidden; }
.service-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 5); align-items: stretch; gap: 14px; animation: services-in .42s ease both; }
@keyframes services-in { from { opacity: .72; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.service-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid #d9dbde; border-radius: 8px; background: #fff; box-shadow: 0 6px 20px rgba(24,25,27,.04); transition: transform .2s ease, box-shadow .2s ease; scroll-margin-top: 118px; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(24,25,27,.10); }
.service-image { width: 100%; height: 168px; flex: 0 0 168px; display: block; object-fit: cover; object-position: center; border-bottom: 1px solid #d9dbde; background: #dfe3e5; }
.service-image-mnamky { object-position: 77% center; }
.service-image-autoservis { object-position: 61% center; }
.service-body { min-height: 164px; flex: 1; padding: 16px 16px 17px; display: flex; flex-direction: column; }
.service-body h3 { margin: 0; font-size: 18px; line-height: 1.15; }
.service-body p { margin: 12px 0 14px; color: var(--muted); font-size: 12px; line-height: 1.42; }
.service-more, .news-body a { margin-top: auto; color: var(--red); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.service-arrow { position: absolute; z-index: 3; top: 50%; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(23,25,28,.84); box-shadow: 0 5px 16px rgba(0,0,0,.2); line-height: 1; cursor: pointer; transform: translateY(-50%); transition: background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.service-arrow:hover { border-color: var(--red); background: var(--red); box-shadow: 0 7px 18px rgba(215,25,32,.25); }
.service-arrow-left { left: -20px; }
.service-arrow-right { right: -20px; }

.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.benefit { padding: 0 24px; display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 14px; border-right: 1px solid var(--line); }
.benefit:first-child { padding-left: 12px; }
.benefit:last-child { border-right: 0; padding-right: 12px; }
.benefit-icon { width: 64px; height: 64px; color: var(--red); }
.benefit-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { margin: 0 0 7px; font-size: 13px; line-height: 1.2; }
.benefit p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }

.news { position: relative; overflow: hidden; padding-top: 28px; }
.section-ornament { position: absolute; z-index: -1; top: 145px; width: 110px; height: 180px; opacity: .55; }
.section-ornament::before, .section-ornament::after { content: ""; position: absolute; width: 82px; height: 82px; border: 18px solid #f0f1f2; transform: rotate(45deg); }
.section-ornament::before { top: 0; }
.section-ornament::after { top: 86px; }
.ornament-left { left: -59px; }.ornament-right { right: -59px; transform: scaleX(-1); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 24px; }
.news-grid.has-fallback { display: block; }
.news-card { min-width: 0; min-height: 410px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #d9dbde; border-radius: 8px; background: #fff; box-shadow: 0 6px 20px rgba(24,25,27,.04); transition: transform .2s ease, box-shadow .2s ease; }
.news-card:not(.news-card-loading):hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(24,25,27,.10); }
.news-image { width: 100%; aspect-ratio: 16 / 9; min-height: 0; overflow: hidden; border-bottom: 1px solid #d9dbde; background: #e6e8ea; }
.news-image img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transition: transform .35s ease; }
.news-card:hover .news-image img { transform: scale(1.025); }
.news-body { min-height: 0; flex: 1; padding: 20px 19px 18px; display: flex; flex-direction: column; }
.news-body > span { color: var(--red); font-size: 10px; line-height: 1.2; font-weight: 800; text-transform: uppercase; }
.news-body h3 { margin: 12px 0 0; font-size: 17px; line-height: 1.25; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.news-body p { margin: 11px 0 16px; color: var(--muted); font-size: 12px; line-height: 1.5; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.news-status { max-width: 720px; margin: 0 auto 18px; padding: 17px 20px; border: 1px solid #ead9da; border-radius: 7px; color: #55585c; background: #fff7f7; text-align: center; font-size: 13px; line-height: 1.5; }
.news-skeleton { position: relative; overflow: hidden; background: #eceeef; }
.news-skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent); animation: news-shimmer 1.35s infinite; }
.skeleton-line { width: 100%; height: 11px; margin-bottom: 12px; display: block; border-radius: 4px; }
.skeleton-short { width: 31%; height: 9px; }
.skeleton-title { height: 42px; margin-top: 3px; }
.skeleton-medium { width: 72%; }
@keyframes news-shimmer { to { transform: translateX(100%); } }
.center-action { margin-top: 24px; text-align: center; }
.button-outline { min-width: 320px; min-height: 40px; border-color: var(--red); color: var(--red); background: #fff; }
.button-outline:hover { background: var(--red); color: #fff; }

.contact-strip { padding: 17px 0 16px; background: linear-gradient(90deg, #fff8f8, #fff, #fff8f8); border-top: 1px solid #f4e8e9; }
.contact-strip h2 { margin: 0 0 14px; color: var(--red); text-align: center; font-size: 16px; letter-spacing: .1em; text-transform: uppercase; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.contact-item { min-height: 57px; padding: 2px 28px; display: flex; align-items: center; gap: 15px; border-right: 1px solid #c7c9cb; }
.contact-item:last-child { border-right: 0; }
.contact-symbol { min-width: 42px; color: var(--red); font-size: 38px; line-height: 1; text-align: center; }
.contact-item strong, .contact-item small { display: block; }
.contact-item strong { margin-bottom: 5px; font-size: 13px; }
.contact-item small { color: #3f4145; font-size: 10px; line-height: 1.35; }

.site-footer { background: radial-gradient(circle at 20% 0, #363a3d 0, #202326 30%, #17191b 100%); color: #e5e6e7; }
.footer-grid { padding: 31px 48px 34px; display: grid; grid-template-columns: 1.18fr 1fr .95fr .9fr; gap: 60px; }
.brand-logo-dark { width: 185px; height: 62px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 4px; background-color: #fff; background-size: calc(100% - 18px) auto; box-shadow: 0 5px 15px rgba(0,0,0,.2); filter: none; }
.brand-logo-dark img { padding: 9px; }
.footer-brand > p { max-width: 200px; margin: 0; font-size: 11px; line-height: 1.45; }
.site-footer h3 { margin: 9px 0 17px; color: #fff; font-size: 11px; text-transform: uppercase; }
.site-footer p, .site-footer li, .site-footer a { font-size: 10px; line-height: 1.5; }
.site-footer p { margin: 0 0 7px; }
.footer-hours p, .footer-hours strong { font-size: 9px; line-height: 1.55; }
.footer-hours p + p { margin-top: 10px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { position: relative; margin-bottom: 5px; padding-left: 13px; }
.site-footer li::before { content: ""; position: absolute; left: 0; top: .58em; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.footer-links { display: grid; gap: 7px; }
.two-columns { grid-template-columns: 1fr 1fr; column-gap: 22px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { background: linear-gradient(90deg, #c8131a, #e31c24, #bd1017); }
.footer-bottom .container { min-height: 34px; padding-inline: 48px; display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: 9px; }
.footer-bottom a, .footer-bottom button { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.footer-bottom a:hover, .footer-bottom button:hover { opacity: .82; }
.footer-legal-links { display: flex; align-items: center; gap: 18px; }
.footer-legal-links button { padding: 0; border: 0; background: transparent; cursor: pointer; font-size: inherit; }

.legal-page { min-height: 100vh; background: #f5f6f7; color: var(--ink); }
.legal-header { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 7px 22px rgba(0,0,0,.07); }
.legal-nav { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.legal-nav .brand-logo { height: 78px; }
.legal-back { min-height: 42px; padding: 0 18px; border: 1px solid #d7d9dc; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; transition: border-color .18s ease, color .18s ease; }
.legal-back:hover { color: var(--red); border-color: var(--red); }
.legal-hero { padding: 58px 0 56px; color: #fff; background: radial-gradient(circle at 80% 30%, rgba(215,25,32,.38), transparent 25%), linear-gradient(125deg, #111518, #262a2e); }
.legal-kicker { margin: 0 0 10px; color: #f4bfc1; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.legal-hero h1 { max-width: 820px; margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -.035em; }
.legal-hero p { max-width: 720px; margin: 18px 0 0; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.6; }
.legal-content { padding: 46px 0 64px; }
.legal-card { max-width: 900px; margin: 0 auto; padding: 46px 52px; border: 1px solid #e0e2e4; border-radius: 10px; background: #fff; box-shadow: 0 12px 34px rgba(27,29,31,.06); }
.legal-meta { margin: 0 0 34px; padding: 14px 17px; border-left: 4px solid var(--red); background: #fff5f5; color: #55585c; font-size: 13px; line-height: 1.55; }
.legal-card section { scroll-margin-top: 28px; }
.legal-card section + section { margin-top: 34px; padding-top: 32px; border-top: 1px solid #eceeef; }
.legal-card h2 { margin: 0 0 13px; font-size: 23px; line-height: 1.22; letter-spacing: -.015em; }
.legal-card h3 { margin: 23px 0 9px; font-size: 16px; line-height: 1.35; }
.legal-card p, .legal-card li { color: #4d5054; font-size: 14px; line-height: 1.72; }
.legal-card p { margin: 0 0 12px; }
.legal-card ul { margin: 10px 0 0; padding-left: 21px; }
.legal-card li + li { margin-top: 7px; }
.legal-card a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.legal-card strong { color: var(--ink); }
.legal-note { padding: 16px 18px; border-radius: 6px; background: #f5f6f7; }
.legal-footer { padding: 24px 0; color: rgba(255,255,255,.78); background: #181b1e; font-size: 11px; }
.legal-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legal-footer a { color: #fff; font-weight: 700; }
.legal-footer button { padding: 0; border: 0; color: #fff; background: transparent; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.cookie-table-wrap { margin: 18px 0; overflow-x: auto; border: 1px solid #e0e2e4; border-radius: 7px; }
.cookie-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.cookie-table th, .cookie-table td { padding: 12px 13px; border-bottom: 1px solid #e7e8ea; vertical-align: top; text-align: left; font-size: 12px; line-height: 1.5; }
.cookie-table th { color: var(--ink); background: #f5f6f7; }
.cookie-table tr:last-child td { border-bottom: 0; }
.legal-cookie-settings { min-height: 42px; padding: 0 18px; border: 1px solid var(--red); border-radius: 5px; color: #fff; background: var(--red); font-weight: 700; cursor: pointer; }

/* Vlastná cookie lišta a Consent Mode v2 */
#soffy-consent-root [hidden] { display: none !important; }
.cookie-modal-open { overflow: hidden; }
.cookie-banner { position: fixed; z-index: 10000; left: 20px; right: 20px; bottom: 20px; max-width: 1180px; margin-inline: auto; padding: 22px 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(460px, 1fr); align-items: center; gap: 26px; color: #fff; background: #1c1f22; box-shadow: 0 18px 54px rgba(0,0,0,.34); }
.cookie-banner-copy h2, .cookie-modal h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.15; }
.cookie-banner-copy > p:not(.cookie-kicker) { margin: 0 0 8px; color: rgba(255,255,255,.82); font-size: 13px; line-height: 1.55; }
.cookie-kicker { margin: 0 0 7px; color: #f28b8f; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cookie-banner-copy a, .cookie-detail-link a { color: #fff; font-size: 11px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions, .cookie-modal-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.cookie-button { min-height: 46px; padding: 9px 12px; border: 1px solid transparent; border-radius: 5px; font-size: 11px; line-height: 1.2; font-weight: 800; cursor: pointer; }
.cookie-button-primary { border-color: var(--red); color: #fff; background: var(--red); }
.cookie-button-dark { border-color: #686d72; color: #fff; background: #34383c; }
.cookie-button-light { border-color: #cfd2d5; color: #202326; background: #fff; }
.cookie-button:hover { filter: brightness(.94); }
.cookie-close { position: absolute; top: 8px; right: 11px; width: 34px; height: 34px; padding: 0; border: 0; color: rgba(255,255,255,.82); background: transparent; font-size: 27px; line-height: 1; cursor: pointer; }
.cookie-modal-backdrop { position: fixed; z-index: 10010; inset: 0; padding: 24px; display: grid; place-items: center; background: rgba(10,12,14,.72); overflow-y: auto; }
.cookie-modal { position: relative; width: min(760px, 100%); max-height: calc(100vh - 48px); padding: 30px; overflow-y: auto; border-radius: 10px; color: var(--ink); background: #fff; box-shadow: 0 22px 70px rgba(0,0,0,.35); }
.cookie-modal .cookie-kicker { color: var(--red); }
.cookie-modal .cookie-close { color: #4b4e52; }
.cookie-modal-intro { margin: 0 0 20px; color: #5c5f63; font-size: 13px; line-height: 1.55; }
.cookie-category { padding: 17px 0; border-top: 1px solid #e3e5e7; display: grid; grid-template-columns: minmax(0, 1fr) 180px; align-items: center; gap: 24px; }
.cookie-category h3 { margin: 0 0 6px; font-size: 16px; }
.cookie-category p { margin: 0; color: #5b5e62; font-size: 12px; line-height: 1.55; }
.cookie-category code, .cookie-table code { padding: 1px 4px; border-radius: 3px; color: #303236; background: #f0f1f2; font-size: .95em; }
.cookie-switch { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-size: 11px; font-weight: 700; cursor: pointer; }
.cookie-switch input { position: absolute; opacity: 0; pointer-events: none; }
.cookie-switch-track { position: relative; width: 46px; height: 26px; flex: 0 0 46px; border-radius: 999px; background: #b6babd; transition: background .18s ease; }
.cookie-switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.22); transition: transform .18s ease; }
.cookie-switch input:checked + .cookie-switch-track { background: var(--red); }
.cookie-switch input:checked + .cookie-switch-track::after { transform: translateX(20px); }
.cookie-switch input:focus-visible + .cookie-switch-track { outline: 3px solid rgba(215,25,32,.28); outline-offset: 2px; }
.cookie-switch-required { color: #2d7a3e; cursor: default; }
.cookie-detail-link { margin: 8px 0 20px; }
.cookie-detail-link a { color: var(--red); }

@media (max-width: 1080px) {
  .main-nav a { min-width: 64px; padding-inline: 7px; font-size: 10px; }
  .header-cta { min-width: 160px; margin-left: 10px; }
  .brand-logo { width: 182px; flex-basis: 182px; }
  .hero-inner { padding-right: 48%; }
  .service-track { grid-auto-columns: calc((100% - 28px) / 3); }
  .service-image { height: 220px; flex-basis: 220px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .benefit:nth-child(2) { border-right: 0; }
  .news-grid { gap: 14px; }
  .contact-item { padding-inline: 14px; }
  .footer-grid { gap: 34px; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 76px; }
  .container { width: min(100% - 32px, var(--container)); }
  .site-header { position: sticky; top: 0; height: 76px; }
  .top-contact { display: none; }
  .nav-row { height: 76px; }
  .brand-logo { width: 164px; height: 68px; flex-basis: 164px; }
  .menu-toggle { width: 42px; height: 42px; margin-left: auto; padding: 10px; border: 1px solid #ddd; border-radius: 5px; display: flex; flex-direction: column; justify-content: center; gap: 5px; background: #fff; }
  .menu-toggle span { width: 100%; height: 2px; background: var(--ink); }
  .header-cta { display: none; }
  .main-nav { position: absolute; top: 76px; left: -16px; right: -16px; height: auto; margin: 0; padding: 8px 18px 18px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: #fff; box-shadow: 0 14px 26px rgba(0,0,0,.13); }
  .main-nav.is-open { display: flex; }
  .main-nav a { min-height: 43px; border-bottom: 1px solid #eee; font-size: 11px; }
  .main-nav a::after { display: none; }
  .hero { --hero-height: 570px; }
  .hero-picture { opacity: 1; object-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(9,13,16,.96), rgba(9,13,16,.61) 72%, rgba(9,13,16,.35)), linear-gradient(0deg, rgba(8,12,15,.83), transparent 65%); }
  .hero-inner { height: 100%; min-height: 0; padding: 54px 48px 84px; justify-content: center; }
  .hero h1 { font-size: clamp(35px, 6vw, 41px); }
  .hero-text { max-width: 500px; }
  .slider-arrow { width: 36px; height: 36px; }
  .slider-arrow svg { width: 16px; height: 16px; }
  .slider-arrow-left { left: 10px; }.slider-arrow-right { right: 10px; }
  .service-track { grid-auto-columns: calc((100% - 14px) / 2); }
  .service-image { height: 230px; flex-basis: 230px; }
  .service-arrow-left { left: -7px; }
  .service-arrow-right { right: -7px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .benefit { padding-inline: 14px; grid-template-columns: 58px 1fr; }
  .benefit-icon { width: 52px; height: 52px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card { max-width: 580px; width: 100%; min-height: 0; margin-inline: auto; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); row-gap: 12px; }
  .contact-item:nth-child(2) { border-right: 0; }
  .footer-grid { padding-inline: 12px; grid-template-columns: repeat(2, 1fr); }
  .cookie-banner { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 26px, var(--container)); }
  .brand-logo { width: 150px; flex-basis: 150px; background-size: contain; }
  .hero { --hero-height: 620px; }
  .hero-picture { object-position: 62% center; }
  .hero-inner { height: 100%; min-height: 0; padding: 46px 34px 88px; justify-content: center; }
  .hero-eyebrow { font-size: 10px; }
  .hero h1 { font-size: 34px; }
  .hero-text { font-size: 14px; }
  .hero-actions { margin-top: 20px; flex-direction: column; align-items: stretch; gap: 10px; }
  .button { width: 100%; }
  .section { padding-block: 40px; }
  .section-heading { margin-bottom: 21px; }
  .section-heading h2 { font-size: 29px; }
  .service-track { grid-auto-columns: 100%; }
  .service-image { height: 240px; flex-basis: 240px; }
  .benefit-grid { grid-template-columns: 1fr; gap: 18px; }
  .benefit { min-height: 86px; padding: 0 4px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .benefit:first-child, .benefit:last-child { padding-inline: 4px; }
  .benefit:last-child { border-bottom: 0; }
  .news-image { min-height: 0; }
  .news-body { min-height: 205px; }
  .button-outline { min-width: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-item { padding: 8px 10px 14px; border-right: 0; border-bottom: 1px solid #ddd; }
  .contact-item:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; padding: 28px 8px; }
  .footer-bottom .container { padding: 9px 0; flex-direction: column; gap: 5px; text-align: center; }
  .footer-legal-links { flex-wrap: wrap; justify-content: center; gap: 7px 14px; }
  .legal-nav { min-height: 76px; }
  .legal-nav .brand-logo { width: 156px; height: 68px; flex-basis: 156px; }
  .legal-back { min-height: 38px; padding-inline: 13px; font-size: 10px; }
  .legal-hero { padding: 42px 0; }
  .legal-content { padding: 28px 0 44px; }
  .legal-card { padding: 30px 22px; }
  .legal-card h2 { font-size: 21px; }
  .legal-footer .container { flex-direction: column; text-align: center; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 23px 16px 16px; grid-template-columns: 1fr; gap: 16px; }
  .cookie-banner-copy h2, .cookie-modal h2 { padding-right: 28px; font-size: 21px; }
  .cookie-actions, .cookie-modal-actions { grid-template-columns: 1fr; }
  .cookie-modal-backdrop { padding: 10px; align-items: start; }
  .cookie-modal { max-height: calc(100vh - 20px); padding: 25px 18px 20px; }
  .cookie-category { grid-template-columns: 1fr; gap: 12px; }
  .cookie-switch { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-height: 650px) and (min-width: 821px) {
  .hero-inner { padding-top: 44px; padding-bottom: 70px; }
  .hero h1 { font-size: 40px; }
  .hero-text { margin-top: 13px; font-size: 14px; }
  .hero-actions { margin-top: 18px; }
}
