/* Castor — site stylesheet. Calm, product-first, Apple-like. No external fonts or frameworks. */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --tile: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --hair: #d2d2d7;
  --hair-soft: #e8e8ed;
  --accent: #b8202b;          /* Castor red (logo 2026) */
  --accent-ink: #9e1b25;
  --accent-soft: #fbeaeb;
  --ok: #1d7a3a;
  --green-bg: #eaf6ee;        /* service notes */
  --green-ink: #1d6b3a;
  --blue-bg: #eef4fd;         /* availability notes */
  --blue-ink: #1d4f91;
  --radius: 22px;
  --radius-sm: 12px;
  --max: 1200px;
  --nav-h: 64px;
  --ease: cubic-bezier(.28, .11, .32, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Inter, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.47; letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }  /* never let component display rules override the hidden attribute */
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; letter-spacing: inherit; }
:focus-visible { outline: 3px solid rgba(184, 32, 43, .45); outline-offset: 2px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 200; background: var(--text); color: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 8px; text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.thin { font-weight: 400; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(255, 255, 255, .84);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 0 22px; height: 100%; display: flex; align-items: center; gap: 32px; }
.nav-logo { display: flex; align-items: center; flex: none; }
.nav-logo img { height: 40px; width: auto; border-radius: 4px; }
.nav-links { display: flex; align-items: center; gap: 30px; margin: 0 auto; padding: 0; list-style: none; }
.nav-links a { display: block; color: rgba(29, 29, 31, .86); font-size: 15px; font-weight: 500; letter-spacing: -0.01em; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.nav-tools { display: flex; align-items: center; gap: 14px; flex: none; }
.lang { display: inline-flex; background: var(--bg-alt); border-radius: 980px; padding: 3px; }
.lang a { font-size: 13px; font-weight: 600; color: var(--muted); padding: 5px 10px; border-radius: 980px; }
.lang a:hover { text-decoration: none; color: var(--text); }
.lang a[aria-current="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 7px; cursor: pointer; color: var(--text); }
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 980px; border: 1px solid transparent; cursor: pointer;
  font-size: 17px; font-weight: 500; padding: 12px 22px; line-height: 1.1;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-secondary:hover { background: var(--accent-soft); }
.btn-ghost { background: var(--bg-alt); color: var(--text); }
.btn-ghost:hover { background: var(--hair-soft); }
.btn-sm { font-size: 14px; padding: 9px 16px; }
.link-more { font-size: 15px; font-weight: 500; color: var(--accent); white-space: nowrap; }
.link-more::after { content: " ›"; }
.more-row { margin: 26px 0 0; }

/* ---------- Page heads and sections ---------- */
.eyebrow { color: var(--accent); font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.page-head { padding: 56px 0 30px; }
.page-title { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; margin: 0; }
.page-lead { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.36; color: var(--muted); max-width: 820px; margin: 14px 0 0; letter-spacing: -0.015em; }
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section-tight { padding: 8px 0 88px; }
.section-title { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.07; font-weight: 700; letter-spacing: -0.03em; margin: 0 0 12px; }
.section-lead { font-size: clamp(18px, 1.8vw, 22px); color: var(--muted); max-width: 760px; margin: 0 0 36px; line-height: 1.36; letter-spacing: -0.015em; }

/* ---------- Home: hero ---------- */
.hero { padding: 56px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-title { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.03; font-weight: 700; letter-spacing: -0.04em; margin: 0; }
.hero-lead { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.38; color: var(--muted); margin: 18px 0 30px; max-width: 620px; letter-spacing: -0.015em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { background: var(--tile); border-radius: 32px; aspect-ratio: 5 / 4; display: flex; align-items: center; justify-content: center; padding: 40px; }
.hero-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.hero-media.hero-photo { padding: 0; overflow: hidden; }
.hero-media.hero-photo img { object-fit: cover; mix-blend-mode: normal; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }

/* ---------- Home: catalogue teaser ---------- */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.cat-tile {
  display: flex; flex-direction: column; background: #fff; border-radius: 18px; padding: 16px 18px 18px; color: var(--text);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cat-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, .07); text-decoration: none; }
.cat-img { position: relative; aspect-ratio: 4 / 3; margin-bottom: 12px; }
.cat-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }  /* tall photos must not stretch the tile */
.cat-img > .placeholder { position: absolute; inset: 0; margin: auto; width: 40%; height: 40%; }
.cat-name { font-weight: 600; font-size: 17px; line-height: 1.25; letter-spacing: -0.015em; }
.cat-picks { margin: 0 0 22px; background: var(--bg-alt); padding: 14px; border-radius: 24px; }
button.cat-tile { font: inherit; color: inherit; text-align: left; cursor: pointer; width: 100%; border: 0; }
.cat-pick[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--accent); }
.cat-current { margin: 4px 0 18px; }
.cat-back { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; color: var(--accent); cursor: pointer; }
.cat-back:hover { text-decoration: underline; }
.cat-current-name { font-size: 32px; letter-spacing: -0.02em; margin: 6px 0 0; }
.footer p strong { font-weight: 600; color: inherit; }
.cat-n { font-size: 13px; color: var(--muted); margin-top: 3px; }
.teaser-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 30px; }

/* PDF downloads */
.pdf-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pdf-link {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--hair); border-radius: 14px;
  padding: 9px 14px; color: var(--text); font-size: 14px; font-weight: 500; line-height: 1.25;
  transition: border-color .2s var(--ease);
}
.pdf-link:hover { border-color: var(--accent); text-decoration: none; }
.pdf-link svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.pdf-size { display: block; font-size: 12px; color: var(--faint); font-weight: 400; }
.toolbar-pdf { margin-left: auto; }
.toolbar-pdf .pdf-link { padding: 6px 12px; font-size: 13px; }
.toolbar-pdf .pdf-link svg { width: 18px; height: 18px; }

/* Brand logo wall */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.logo-tile {
  display: flex; align-items: center; justify-content: center; height: 88px; background: var(--bg-alt); border-radius: 16px; padding: 16px 20px;
  transition: background .2s var(--ease), transform .3s var(--ease);
}
.logo-tile:hover { background: var(--hair-soft); transform: translateY(-2px); text-decoration: none; }
.logo-tile img { max-height: 42px; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.logo-tile .wordmark { font-weight: 700; font-size: 17px; color: var(--text); text-align: center; }

/* Service + events teasers */
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.teaser { background: #fff; border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.teaser h2 { font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -0.03em; margin: 0 0 10px; line-height: 1.1; }
.teaser > p { margin: 0; }
.teaser-actions { margin: auto 0 0; display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; padding-top: 22px; }

/* Contact band */
.contact-band { background: var(--text); color: #fff; padding: 72px 0; }
.band-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.contact-band h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; margin: 0 0 10px; line-height: 1.08; }
.contact-band p { color: rgba(255, 255, 255, .72); margin: 0; font-size: 19px; line-height: 1.4; }
.band-actions { display: grid; gap: 4px; justify-items: start; }
.band-big { color: #fff; font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.02em; }
.band-big:hover { color: #fff; }
.band-actions p { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.contact-band .link-more { color: #fff; }

/* Notes: green = service, blue = availability; red stays reserved for actions and badges */
.note { margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.note-service { background: var(--green-bg); color: var(--green-ink); }
.note-info { background: var(--blue-bg); color: var(--blue-ink); }

/* ---------- Catalogue ---------- */
.catalog { padding: 8px 0 80px; }
.search { position: relative; max-width: 720px; margin: 0 0 20px; }
.search svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.search input {
  width: 100%; height: 56px; padding: 0 20px 0 50px; font: inherit; font-size: 19px; color: var(--text);
  background: var(--bg-alt); border: 1px solid transparent; border-radius: 16px; outline: none;
  transition: background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.section.alt .search input { background: #fff; border-color: var(--hair-soft); }
.search input::placeholder { color: var(--faint); }
.search input:focus { background: #fff; border-color: var(--hair); box-shadow: 0 0 0 4px rgba(184, 32, 43, .12); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.chip {
  border: 1px solid transparent; background: var(--bg-alt); color: var(--text); border-radius: 980px;
  padding: 8px 16px; font-size: 14px; cursor: pointer; white-space: nowrap; transition: background .2s var(--ease), color .2s var(--ease);
}
.chip:hover { background: var(--hair-soft); }
.chip[aria-pressed="true"] { background: var(--text); color: #fff; }
.chip .n { color: var(--faint); margin-left: 5px; font-size: 12px; }
.chip[aria-pressed="true"] .n { color: rgba(255, 255, 255, .6); }

.toolbar { display: flex; align-items: center; gap: 12px 14px; flex-wrap: wrap; margin: 4px 0 26px; }
.select { position: relative; }
.select select {
  appearance: none; -webkit-appearance: none; font: inherit; font-size: 14px; color: var(--text);
  background: #fff; border: 1px solid var(--hair); border-radius: 980px; padding: 8px 36px 8px 16px; cursor: pointer;
}
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.count { font-size: 14px; color: var(--muted); }
.reset { background: none; border: 0; color: var(--accent); font-size: 14px; cursor: pointer; padding: 0; }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 22px; }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--tile); border-radius: var(--radius);
  overflow: hidden; color: var(--text); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(0, 0, 0, .08); }
.card-media { position: relative; aspect-ratio: 4 / 3; margin: 26px 26px 6px; }
.card-media > img, .card-media > .card-logo { position: absolute; inset: 0; width: 100%; height: 100%; }  /* fixed frame for any image ratio */
.card-media > .placeholder { position: absolute; inset: 0; margin: auto; }
.card-media img { object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.card-range .card-logo img { max-width: 72%; max-height: 46%; }
.card-logo .wordmark { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.card-body { padding: 14px 22px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-brand { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.card-name { font-size: 21px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.19; margin: 0; }
.card-name a { color: var(--text); }
.card-name a:hover { text-decoration: none; }
.card-type { font-size: 14px; color: var(--muted); margin: 0; }
.card-foot { margin-top: auto; padding-top: 12px; }
.card-link::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 1; font-size: 11px; font-weight: 600; letter-spacing: .01em;
  background: #fff; color: var(--accent); border-radius: 980px; padding: 4px 10px; box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}
.badge.grey { color: var(--muted); }
.card-range .badge { color: var(--blue-ink); }
.placeholder { width: 56%; height: 56%; color: #c7c7cc; }
.empty { text-align: center; padding: 56px 0; color: var(--muted); }

/* ---------- Brands ---------- */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 16px; }
.brand-tile {
  display: flex; flex-direction: column; gap: 6px; background: var(--bg-alt); border-radius: 18px; padding: 22px; color: var(--text);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.brand-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, .07); text-decoration: none; }
.brand-logo { height: 42px; display: flex; align-items: center; margin-bottom: 8px; }
.brand-logo img { max-height: 42px; max-width: 170px; object-fit: contain; mix-blend-mode: multiply; }
.brand-logo .wordmark { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.brand-name { font-weight: 600; font-size: 17px; }
.brand-role { font-size: 13px; color: var(--accent); }
.brand-meta { font-size: 13px; color: var(--muted); margin-top: auto; }

.brand-hero { padding: 32px 0 40px; }
.brand-hero .brand-logo { height: 60px; margin-bottom: 18px; }
.brand-hero .brand-logo img { max-height: 60px; max-width: 260px; }
.brand-tagline { font-size: clamp(20px, 2vw, 24px); font-weight: 600; letter-spacing: -0.02em; margin: 10px 0 0; line-height: 1.3; }
.brand-about { font-size: 19px; color: var(--muted); max-width: 820px; margin: 12px 0 16px; letter-spacing: -0.015em; line-height: 1.42; }
.pill { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 980px; padding: 5px 12px; margin: 0 8px 8px 0; }
.pill.grey { color: var(--muted); background: var(--bg-alt); }

/* Overview (range) brand pages */
.ov-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.ov-media { background: var(--tile); border-radius: 28px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 40px; }
.ov-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ov-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 20px; align-items: start; }
.ov-group { background: #fff; border-radius: 20px; padding: 24px 26px 12px; }
.ov-group h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin: 0 0 4px; }
.ov-lines { list-style: none; margin: 0; padding: 0; }
.ov-lines li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--hair-soft); }
.ov-lines li:last-child { border-bottom: 0; }
.ov-lines strong { font-size: 17px; font-weight: 600; }
.ov-lines strong a { color: var(--text); }
.ov-lines span { color: var(--muted); font-size: 15px; line-height: 1.4; }
.ov-grid + .note, .ov-groups + .note { max-width: 760px; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; margin-top: 28px; }
.why-tile { background: var(--bg-alt); border-radius: 18px; padding: 28px; }
.section.alt .why-tile { background: #fff; }
.why-tile svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 14px; }
.why-tile h3 { font-size: 21px; margin: 0 0 6px; letter-spacing: -0.02em; }
.why-tile p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Service ---------- */
.service-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--hair-soft); font-size: 17px; }
.checklist li:last-child { border-bottom: 0; }
.checklist svg { width: 20px; height: 20px; flex: none; color: var(--ok); margin-top: 3px; }
.callout { background: var(--green-bg); border-radius: var(--radius); padding: 30px; }
.callout h3 { font-size: 24px; margin: 0 0 8px; letter-spacing: -0.02em; color: var(--green-ink); }
.callout p { color: var(--text); margin: 0 0 18px; }
.callout .person { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(29, 107, 58, .18); font-size: 15px; }
.callout .person strong { display: block; }

/* ---------- Events ---------- */
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.team-photo { margin: 0; border-radius: 22px; overflow: hidden; background: var(--bg-alt); }
.team-photo img { display: block; width: 100%; height: auto; }
.team-photo-sec { padding-bottom: 0; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-bottom: 12px; }
.news-card { background: var(--bg-alt); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.news-img { display: block; aspect-ratio: 4 / 3; background: #fff; }
.news-img { overflow: hidden; }
.news-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.news-img.fit img { object-fit: contain; padding: 0 8%; box-sizing: border-box; }
.news-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-body time { font-size: 14px; color: var(--muted, #6e6e73); }
.news-body h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; margin: 0; }
.news-body p { margin: 0; font-size: 15px; line-height: 1.5; }
.news-body .link-more { margin-top: auto; padding-top: 6px; }
.event { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center; background: var(--bg-alt); border-radius: 18px; padding: 18px 22px; }
.section.alt .event { background: #fff; }
.event-date { text-align: center; }
.event-date .d { display: block; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; white-space: nowrap; }
.event-date .m { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.event-name { font-weight: 600; margin: 0; }
.event-where { color: var(--muted); font-size: 15px; margin: 2px 0 0; }
.event-tag { font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 980px; padding: 4px 10px; white-space: nowrap; }
.event-tag.grey { color: var(--muted); background: #fff; }
.section.alt .event-tag.grey { background: var(--bg-alt); }
.events.compact { margin-top: 10px; gap: 8px; }
.teaser .events.compact .event { background: var(--bg-alt); grid-template-columns: 80px 1fr; padding: 12px 16px; gap: 14px; }
.events.compact .event-date .d { font-size: 20px; }
.events.compact .event-name { font-size: 15px; line-height: 1.3; }
.events.compact .event-where { font-size: 13px; }
.events.compact .event-tag { display: none; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.quote { font-size: 24px; line-height: 1.35; letter-spacing: -0.02em; margin: 0 0 8px; font-weight: 500; }
.quote-by { color: var(--muted); font-size: 15px; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat { background: var(--bg-alt); border-radius: 18px; padding: 24px; }
.section.alt .stat { background: #fff; }
.stat .v { display: block; font-size: 40px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.stat .l { color: var(--muted); font-size: 15px; }
.downloads { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.downloads a { font-size: 15px; }
.downloads-title { font-size: 15px; margin: 36px 0 8px; color: var(--muted); font-weight: 600; }

/* ---------- Contact ---------- */
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.office { background: var(--bg-alt); border-radius: var(--radius); padding: 30px; }
.office h3 { font-size: 24px; margin: 0 0 14px; letter-spacing: -0.02em; }
.office .big { font-size: 21px; font-weight: 600; display: block; color: var(--text); }
.office .big:hover { color: var(--accent); text-decoration: none; }
.office p { margin: 0 0 14px; font-size: 15px; }
.office .addr { color: var(--muted); }
.office .addr strong { color: var(--text); font-weight: 600; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 28px 0 56px; }
.team-group { margin: 0 0 28px; }
.team-group h3 { font-size: 15px; color: var(--muted); font-weight: 600; margin: 0 0 10px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 12px; }
.person-card { border: 1px solid var(--hair-soft); border-radius: 16px; padding: 18px; font-size: 15px; background: #fff; }
.person-card strong { display: block; font-size: 17px; }
.person-card .role { color: var(--muted); display: block; margin-bottom: 8px; }
.person-card a { display: block; }
.person-card { display: flex; gap: 16px; align-items: flex-start; }
.person-photo { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #f0edec; }
.person-info { min-width: 0; overflow-wrap: anywhere; }

/* ---------- Product detail ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { margin: 0 6px; }
.pd { padding: 28px 0 64px; }
.pd-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.pd-media { position: relative; background: var(--tile); border-radius: 28px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 40px; }
.pd-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pd-media .placeholder { width: 40%; height: 40%; }
.pd-brand { font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); margin: 0 0 6px; }
.pd-brand a { color: inherit; }
.pd-title { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.035em; margin: 0; font-weight: 700; }
.pd-type { font-size: 21px; color: var(--muted); margin: 8px 0 0; letter-spacing: -0.015em; }
.pd-summary { font-size: 19px; line-height: 1.42; margin: 22px 0 26px; }
.pd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 18px; }
.pd-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 15px; }
.pd-cols { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.pd-h2 { font-size: 32px; letter-spacing: -0.03em; margin: 0 0 18px; }
.privacy-h { margin-top: 36px; }
.specs { margin: 0; border-top: 1px solid var(--hair); }
.specs div { display: grid; grid-template-columns: 42% 58%; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hair-soft); }
.specs dt { color: var(--muted); font-size: 15px; }
.specs dd { margin: 0; font-size: 15px; font-weight: 500; }
.disclaimer { font-size: 12px; color: var(--faint); margin-top: 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); color: var(--muted); font-size: 12px; padding: 36px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--hair); }
.footer h4 { color: var(--text); font-size: 12px; margin: 0 0 8px; font-weight: 600; }
.footer .footer-h-gap { margin-top: 14px; }
.footer p { margin: 0 0 6px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; }

/* ---------- Modal + gate ---------- */
dialog { border: 0; padding: 0; border-radius: 24px; width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 48px); color: var(--text); box-shadow: 0 30px 80px rgba(0, 0, 0, .25); }
dialog::backdrop { background: rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal { position: relative; padding: 30px; }
.modal h2 { margin: 0 0 6px; font-size: 28px; letter-spacing: -0.03em; }
.modal .lead { color: var(--muted); margin: 0 0 20px; font-size: 15px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--bg-alt); cursor: pointer; font-size: 18px; line-height: 1; color: var(--muted); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 16px; color: var(--text); background: #fff; border: 1px solid var(--hair); border-radius: var(--radius-sm); padding: 11px 13px; width: 100%;
}
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(184, 32, 43, .14); }
.form-note { font-size: 12px; color: var(--faint); margin: 4px 0 0; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-thanks { padding: 8px 0 4px; }
.form-thanks .t { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--text); margin: 0 0 6px; }
.form-thanks p { margin: 0 0 18px; color: var(--muted); }
.gate { position: fixed; inset: 0; z-index: 300; display: flex; overflow-y: auto; overscroll-behavior: contain; padding: 16px; background: rgba(245, 245, 247, .72); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); }
.gate-card { margin: auto; background: #fff; border-radius: 26px; max-width: 520px; width: 100%; padding: 34px; box-shadow: 0 30px 80px rgba(0, 0, 0, .14); text-align: center; }
.gate-card img { height: 40px; width: auto; margin: 0 auto 18px; border-radius: 4px; }
.gate-card h2 { font-size: 26px; letter-spacing: -0.03em; margin: 0 0 10px; }
.gate-card p { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.gate-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
html.gate-open body { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .card-media img, .brand-tile, .cat-tile, .logo-tile { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-inner { gap: 20px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 14px; }
}
@media (max-width: 860px) {
  /* Two rows: logo + tools on top, the menu always visible below (wraps instead of hiding behind the burger) */
  .nav { height: auto; }
  .nav-inner { flex-wrap: wrap; height: auto; gap: 0 12px; padding-top: 10px; padding-bottom: 6px; }
  .nav-tools { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    order: 3; flex: 0 0 100%; margin: 8px 0 0; padding: 6px 0 0; border-top: 1px solid var(--hair-soft);
    flex-wrap: wrap; justify-content: center; gap: 2px 18px;
  }
  .nav-links a { font-size: 14px; padding: 6px 0; }
  .nav-links.open { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links.open a { font-size: 17px; padding: 12px 0; border-bottom: 1px solid var(--hair-soft); }
  .nav-links.open a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--hair-soft); }
  :root { --nav-h: 108px; }
}
@media (max-width: 980px) {
  .hero-grid, .teaser-grid, .band-grid, .ov-grid, .service-grid, .about-grid, .pd-grid, .pd-cols { grid-template-columns: 1fr; }
  .hero-grid, .ov-grid { gap: 32px; }
  .pd-grid { gap: 28px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .toolbar-pdf { margin-left: 0; width: 100%; }
}
@media (max-width: 640px) {
  :root { --nav-h: 100px; }
  body { font-size: 16px; }
  .nav-logo img { height: 34px; }
  .page-head { padding: 36px 0 22px; }
  .hero { padding: 32px 0 56px; }
  .hero-media { padding: 24px; border-radius: 24px; }
  .section { padding: 60px 0; }
  .section-tight { padding-bottom: 60px; }
  .catalog { padding-bottom: 56px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-tile { padding: 12px 12px 14px; }
  .cat-name { font-size: 15px; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .logo-tile { height: 64px; padding: 10px; }
  .logo-tile img { max-height: 30px; }
  .card { border-radius: 18px; }
  .card-media { margin: 14px 14px 2px; }
  .search input { font-size: 16px; height: 52px; }
  .card-body { padding: 10px 14px 16px; }
  .card-name { font-size: 17px; }
  .card-type { font-size: 13px; }
  .card-foot { display: none; }
  .badge { top: 8px; left: 8px; font-size: 10px; padding: 3px 8px; }
  .chip { padding: 7px 13px; font-size: 13px; }
  .teaser { padding: 24px; }
  .event { grid-template-columns: 72px 1fr; padding: 16px; gap: 14px; }
  .event-tag { grid-column: 2; justify-self: start; }
  .form { grid-template-columns: 1fr; }
  .nav-tools .btn-sm { display: none; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .stat .v { font-size: 32px; }
  .contact-band { padding: 56px 0; }
}

/* ---------- Print (web pages; the PDF catalogue has its own layout in catalog_print.py) ---------- */
@media print {
  .nav, .footer, .gate, dialog, .chips, .toolbar, .search, .pd-actions, .skip, .card-foot, .contact-band { display: none !important; }
  .section, .catalog, .pd { padding: 16px 0; }
  .card, .pd-media { break-inside: avoid; }
  .card-media img, .pd-media img { mix-blend-mode: normal; }
  .card, .card-media, .pd-media { background: #fff; }
  a { color: inherit; }
}

/* =====================================================================================================
   CASTOR_WEB2 – look of the current www.castor.cz (Honza, 27 Oct 2026): Montserrat, Castor red #c13a49,
   dark-maroon text, white header with the red logo box, uppercase light section titles, pill buttons,
   white product cards with a red bar, red stats band, dark-maroon footer. Content is unchanged.
   ===================================================================================================== */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --font: "Montserrat", Arial, sans-serif;
  --text: #3c0000;              /* castor.cz body text */
  --muted: #6f5557;
  --faint: #9a8789;
  --hair: #e3d9da;
  --hair-soft: #efe8e8;
  --bg-alt: #fafafa;
  --tile: #ffffff;
  --accent: #c13a49;            /* castor.cz red */
  --accent-ink: #ad3442;
  --accent-strong: #b81b2d;     /* stats band, hero box */
  --accent-soft: #faf0f1;
  --maroon: #490109;            /* footer */
  --radius: 6px;
  --radius-sm: 4px;
  --nav-h: 88px;
  --shadow: 0 0 20px rgba(0, 0, 0, .10);
}
body { font-size: 16px; line-height: 1.65; letter-spacing: normal; }
a { color: var(--accent); }
:focus-visible { outline-color: rgba(193, 58, 73, .45); }

/* header: white bar with shadow, red logo box hanging from the top edge */
.nav { background: rgba(255, 255, 255, .96); border-bottom: 0; box-shadow: var(--shadow); -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav-inner { align-items: stretch; gap: 36px; }
.nav-logo { align-items: flex-start; }
.nav-logo img { height: 68px; width: auto; border-radius: 0; }
.nav-links { gap: 34px; }
.nav-links li { display: flex; align-items: center; }
.nav-links a { position: relative; color: #090000; font-size: 16px; font-weight: 400; letter-spacing: normal; border-bottom: 0; padding: 8px 0; }
.nav-links a::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 3px; background: var(--accent); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::before, .nav-links a[aria-current="page"]::before { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-tools { align-items: center; }
.lang { background: transparent; border: 1px solid var(--hair); }
.lang a { color: var(--muted); }
.lang a[aria-current="true"] { background: var(--accent); color: #fff; box-shadow: none; }

/* buttons: pills like castor.cz */
.btn { border-radius: 9999px; font-weight: 700; font-size: 16px; padding: 13px 28px; }
.btn-sm { font-size: 14px; padding: 9px 18px; }
.btn-primary { background: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-secondary { border-color: var(--accent); color: var(--accent); }
.btn-secondary:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: #fff; border-color: var(--hair); color: var(--text); }
.btn-onred { background: transparent; color: #fff; border-color: #fff; }
.btn-onred:hover { background: #fff; color: var(--accent-strong); }
.btn-white { background: #fff; color: var(--accent-strong); border-color: #fff; }
.btn-white:hover { background: transparent; color: #fff; }
.link-more { font-weight: 600; }

/* titles: uppercase, light, letter-spaced, red */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.section-title, .page-title {
  font-weight: 300; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); line-height: 1.2;
  font-size: clamp(26px, 3vw, 36px);
}
.page-title { font-size: clamp(28px, 3.4vw, 40px); }
.section-lead, .page-lead { font-size: 17px; line-height: 1.6; letter-spacing: normal; }
.page-head { background: var(--bg-alt); padding: 44px 0 34px; margin-bottom: 26px; border-bottom: 1px solid var(--hair-soft); }
.section-title::after, .page-title::after { content: ""; display: block; width: 56px; height: 3px; background: var(--accent); margin-top: 14px; }
.section { padding: 76px 0; }

/* home hero: full-width photo, translucent red box (castor.cz) */
.hero.hero-cz { position: relative; padding: 0; min-height: 600px; display: flex; align-items: center; overflow: hidden; background: #e9e9e9; }
.hero-cz .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.hero-cz .container { position: relative; width: 100%; display: flex; justify-content: flex-end; padding-top: 64px; padding-bottom: 64px; }
.hero-box { background: rgba(184, 27, 45, .86); color: #fff; padding: 48px 52px 52px; max-width: 600px; }
.hero-box .eyebrow { color: rgba(255, 255, 255, .85); }
.hero-box .hero-title { color: #fff; text-transform: uppercase; font-weight: 700; letter-spacing: .01em; line-height: 1.2; font-size: clamp(28px, 3vw, 38px); }
.hero-box .hero-lead { color: #fff; font-size: 18px; line-height: 1.6; margin: 18px 0 30px; }
.hero-box .hero-cta { gap: 12px; }

/* stats: red band with big white numbers */
.stats-band { background: rgba(184, 27, 45, .92); color: #fff; padding: 46px 0 50px; }
.stats-band .stats-row { margin: 0; gap: 20px; }
.stats-band .stat { background: transparent; text-align: center; padding: 0; border-radius: 0; }
.stats-band .stat .v { font-size: clamp(40px, 4.4vw, 60px); font-weight: 700; letter-spacing: 0; color: #fff; }
.stats-band .stat .l { color: #fff; font-size: 15px; letter-spacing: .04em; }

/* "Why Castor" over the faded team photo */
.why-cz { background: #f4eeee url("../img/why-bg.jpg") center 30% / cover no-repeat; }
.why-cz .why-tile, .section.alt.why-cz .why-tile { background: transparent; padding: 10px 6px; text-align: center; }
.why-cz .why-tile svg { width: 56px; height: 56px; margin: 0 auto 16px; display: block; }
.why-cz .why-tile p { color: var(--text); }
.why-tile svg { color: var(--accent); }

/* tiles and cards: white, soft shadow, red bar */
.section.alt { background: var(--bg-alt); }
.cat-picks { background: transparent; padding: 0; }
.cat-tile { background: #fff; border-radius: var(--radius-sm); box-shadow: 0 4px 4px rgba(0, 0, 0, .06), 0 0 18px rgba(0, 0, 0, .05);
  border-bottom: 3px solid var(--accent); text-align: center; align-items: center; }
.cat-tile:hover { box-shadow: var(--shadow); }
.cat-name { font-weight: 600; font-size: 15px; color: var(--text); }
.card { background: #fff; border-radius: var(--radius-sm); box-shadow: 0 4px 4px rgba(0, 0, 0, .06), 0 0 18px rgba(0, 0, 0, .05); border-bottom: 3px solid var(--accent); }
.card:hover { box-shadow: var(--shadow); }
.card-brand { color: var(--accent); letter-spacing: .06em; }
.card-name { font-weight: 700; font-size: 18px; letter-spacing: normal; }
.card-type { color: var(--muted); }
.badge { border-radius: 9999px; }
.logo-tile { background: transparent; border-radius: 0; }
.logo-tile:hover { background: transparent; }
.brand-tile { background: #fff; border-radius: var(--radius-sm); box-shadow: 0 4px 4px rgba(0, 0, 0, .06), 0 0 18px rgba(0, 0, 0, .05); }
.brand-role { color: var(--accent); }
.chip { background: #fff; border-color: var(--hair); }
.chip:hover { border-color: var(--accent); background: #fff; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.search input { border-radius: 9999px; background: #fff; border-color: var(--hair); }
.search input:focus { box-shadow: 0 0 0 4px rgba(193, 58, 73, .12); }
.pdf-link { border-radius: 9999px; }
.teaser, .ov-group, .office, .stat, .why-tile, .event, .person-card { border-radius: var(--radius); }
.teaser { box-shadow: 0 0 18px rgba(0, 0, 0, .05); }
.teaser h2 { font-weight: 300; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-size: clamp(22px, 2.2vw, 28px); }
.event-date .d { color: var(--accent); }

/* news cards: light pink like castor.cz */
.news-card { background: #faf6f6; border-radius: var(--radius-sm); }
.news-body h3 { color: var(--accent); font-weight: 700; font-size: 18px; }
.news-body time { color: var(--faint); }

/* product detail */
.crumbs a { color: var(--muted); }
.pd-media, .ov-media, .hero-media { border-radius: var(--radius-sm); background: #f4f4f4; }
.pd-brand { color: var(--accent); }
.pd-title { font-weight: 300; letter-spacing: 0; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.15; }
.pd-h2 { font-weight: 300; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-size: 26px; }
.specs { border-top-color: var(--hair); }
.ov-group h3 { color: var(--accent); }
.brand-tagline { font-weight: 600; }

/* contact band + footer: dark maroon like castor.cz */
.contact-band { background: var(--maroon); }
.contact-band h2 { font-weight: 300; text-transform: uppercase; letter-spacing: .08em; }
.contact-band p { color: rgba(255, 255, 255, .78); }
.footer { background: #3a0007; color: rgba(255, 255, 255, .72); font-size: 13px; }
.footer h4 { color: #fff; text-transform: uppercase; letter-spacing: .1em; font-weight: 400; font-size: 13px; }
.footer a { color: rgba(255, 255, 255, .78); }
.footer a:hover { color: #fff; }
.footer p strong { color: #fff; }
.footer-grid { border-bottom-color: rgba(255, 255, 255, .16); }

/* gate + dialogs */
.gate { background: rgba(60, 0, 0, .35); }
.gate-card, dialog { border-radius: 6px; }
.gate-card h2, .modal h2 { color: var(--accent); font-weight: 600; }
.gate-card img { border-radius: 0; }

/* responsive */
@media (max-width: 1180px) { .nav-links { gap: 20px; } .nav-links a { font-size: 15px; } }
@media (max-width: 860px) {
  .nav-inner { align-items: center; padding-top: 0; }
  .nav-logo img { height: 54px; }
  .nav-links a::before { display: none; }
  :root { --nav-h: 112px; }
}
@media (max-width: 980px) {
  .hero.hero-cz { min-height: 0; display: block; }
  .hero-cz .hero-bg { position: static; height: 300px; }
  .hero-cz .container { padding: 0; }
  .hero-box { max-width: none; width: 100%; background: var(--accent-strong); padding: 34px 22px 38px; }
}
@media (max-width: 640px) {
  .nav-logo img { height: 46px; }
  .hero-cz .hero-bg { height: 220px; }
  .stats-band { padding: 34px 0; }
}
@media print {
  .stats-band, .why-cz { background: #fff; color: var(--text); }
  .stats-band .stat .v, .stats-band .stat .l { color: var(--text); }
}
/* web2 step 2 */
.cat-img { width: 100%; }
.stats-band .stat .v { white-space: nowrap; font-size: clamp(34px, 4vw, 56px); }
/* web2 step 3 */
button.cat-tile { text-align: center; border: 0; border-bottom: 3px solid var(--accent); }
.why-cz .section-title { text-align: center; }
.why-cz .section-title::after { margin-left: auto; margin-right: auto; }
/* web2 step 4 (2 Nov 2026) */
.page-banner { height: 150px; background: #eef0f2 url("../img/page-banner.jpg") center / cover no-repeat; }
.page-head { background: #fff; border-bottom: 0; margin-bottom: 0; padding: 40px 0 26px; }
.crumbs { padding-top: 22px; }
.cat-pdf { margin: 26px 0 8px; }
.brand-tile-logo { align-items: center; justify-content: center; height: 128px; padding: 22px 26px; }
.brand-tile-logo .brand-logo { height: 64px; margin: 0; justify-content: center; width: 100%; }
.brand-tile-logo .brand-logo img { max-height: 60px; max-width: 100%; }
.brand-tile-logo:hover { box-shadow: var(--shadow); }
@media (max-width: 860px) {
  /* burger menu like castor.cz */
  .nav-inner { flex-wrap: wrap; min-height: 64px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; order: 3; flex: 0 0 100%; margin: 6px 0 0; padding: 4px 0 10px; border-top: 1px solid var(--hair-soft); }
  .nav-links.open li { display: block; }
  .nav-links.open a { font-size: 17px; padding: 13px 0; border-bottom: 1px solid var(--hair-soft); }
  .nav-toggle { display: inline-flex; color: var(--accent); }
  :root { --nav-h: 64px; }
  .page-banner { height: 90px; }
}
@media (max-width: 640px) {
  .brand-tile-logo { height: 100px; padding: 16px; }
  .brand-tile-logo .brand-logo img { max-height: 46px; }
}
/* web2 step 4b */
@media (max-width: 860px) { .nav { background: #fff; } }
/* web2 step 5 (2 Nov 2026) */
/* 2) slightly bigger type */
body { font-size: 17px; }
.nav-links a { font-size: 17px; }
.section-lead, .page-lead { font-size: 19px; }
.eyebrow { font-size: 14px; }
.hero-box .hero-lead { font-size: 19px; }
.btn { font-size: 17px; }
.btn-sm { font-size: 15px; }
.link-more { font-size: 16px; }
.cat-name { font-size: 16px; }
.card-brand { font-size: 13px; }
.card-name { font-size: 20px; }
.card-type { font-size: 15px; }
.news-body h3 { font-size: 19px; }
.news-body p, .news-body time { font-size: 16px; }
.why-tile h3 { font-size: 21px; }
.why-tile p, .why-cz .why-tile p { font-size: 16px; }
.checklist li { font-size: 18px; }
.crumbs { font-size: 14px; }
.pd-summary { font-size: 20px; }
.pd-type { font-size: 22px; }
.pd-links { font-size: 16px; }
.specs dt, .specs dd { font-size: 16px; }
.note { font-size: 15.5px; }
.person-card { font-size: 16px; }
.person-card strong { font-size: 18px; }
.office p { font-size: 16px; }
.event-where { font-size: 16px; }
.events.compact .event-name { font-size: 16px; }
.ov-lines strong { font-size: 18px; }
.ov-lines span { font-size: 16px; }
.brand-about { font-size: 20px; }
.footer { font-size: 14px; }
.footer h4 { font-size: 14px; }
.stats-band .stat .l { font-size: 16px; }
.teaser-text { margin: 12px 0 0; }
.teaser > p.teaser-text { margin-top: 12px; }

/* 3) "Proč Castor": keep the heads in view */
.why-cz { background-position: center 10%; }

/* 5) page strip photos from castor.cz */
.page-banner { height: clamp(110px, 12.5vw, 220px); background-position: center; background-size: cover; background-color: #f1f1f1; }
.pb-catalog { background-image: url("../img/banner-katalog.jpg"); }
.pb-service, .pb-default { background-image: url("../img/banner-servis.jpg"); }
.pb-brands, .pb-events { background-image: url("../img/banner-onas.jpg"); }
.pb-about, .pb-contact { background-image: url("../img/banner-kontakt.jpg"); background-position: center 30%; }

/* 6) motion */
.nav { transition: height .3s var(--ease), box-shadow .3s var(--ease); }
.nav-logo img { transition: height .3s var(--ease); }
@media (min-width: 861px) {
  .nav.scrolled { height: 68px; }
  .nav.scrolled .nav-logo img { height: 54px; }
  .nav.scrolled .nav-links a::before { top: -6px; }
}
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-cz .hero-slides .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transition: opacity 1.4s ease; transform: scale(1.06); }
.hero-cz .hero-slides .hero-bg.is-on { opacity: 1; animation: kenburns 14s ease-out forwards; }
.hero-cz .hero-slides .hero-bg[data-side="left"] { object-position: 70% 35%; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.0); } }
.hero-cz[data-side="left"] .container { justify-content: flex-start; }
.hero-box { transition: opacity .45s ease, transform .45s ease; }
.hero-box.swap { opacity: 0; transform: translateY(14px); }
.hero-box { animation: boxin .9s cubic-bezier(.2, .8, .2, 1) backwards; }
@keyframes boxin { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }

.rv { opacity: 0; transform: translateY(28px); transition: opacity .75s cubic-bezier(.2, .8, .2, 1), transform .75s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.card:hover, .cat-tile:hover, .brand-tile:hover, .news-card:hover { transform: translateY(-5px); }
.cat-tile .cat-img img, .news-img img { transition: transform .6s var(--ease); }
.cat-tile:hover .cat-img img, .news-card:hover .news-img img { transform: scale(1.06); }
.logo-tile img { transition: transform .35s var(--ease), filter .35s var(--ease); filter: grayscale(.35); }
.logo-tile:hover img { transform: scale(1.08); filter: none; }
.btn { transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(184, 27, 45, .22); }
.link-more::after { display: inline-block; transition: transform .25s var(--ease); }
.link-more:hover::after { transform: translateX(4px); }
.why-cz .why-tile svg { transition: transform .4s var(--ease); }
.why-cz .why-tile:hover svg { transform: scale(1.15) rotate(-6deg); }

/* team carousel on the home page */
.team-home { padding-bottom: 60px; overflow: hidden; }
.tm-viewport { overflow: hidden; margin-top: 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tm-track { display: flex; gap: 26px; width: max-content; list-style: none; margin: 0; padding: 16px 0; animation: tmscroll 55s linear infinite; }
.tm-viewport:hover .tm-track { animation-play-state: paused; }
@keyframes tmscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tm { flex: none; width: 210px; text-align: center; background: #fff; border-radius: 6px; padding: 22px 16px 20px; box-shadow: 0 0 18px rgba(0, 0, 0, .06); border-bottom: 3px solid var(--accent); }
.tm img { width: 118px; height: 118px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; transition: transform .4s var(--ease); }
.tm:hover img { transform: scale(1.06); }
.tm b { display: block; font-size: 16px; color: var(--text); line-height: 1.3; }
.tm span { display: block; font-size: 14px; color: var(--muted); line-height: 1.35; margin-top: 4px; }
.news-home .news-grid { margin-top: 8px; }

@media (max-width: 980px) {
  .hero-slides { position: relative; height: 300px; }
  .hero-cz[data-side="left"] .container { justify-content: flex-start; }
}
@media (max-width: 640px) { .hero-slides { height: 220px; } .tm { width: 170px; } .tm img { width: 96px; height: 96px; } }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .hero-box, .hero-cz .hero-slides .hero-bg.is-on { animation: none; }
  .tm-track { animation: none; }
  .tm-viewport { overflow-x: auto; }
}
/* web2 step 5b */
.link-more::after { content: "\00a0›"; }
/* web2 step 6 (2 Nov 2026): service teaser – both paragraphs in one font and colour */
.teaser > p.teaser-text { color: var(--text); font-size: 17px; line-height: 1.65; margin: 0 0 12px; }
/* web2 step 7 (2 Nov 2026): approved strip photos – O nás = team at the Zlín eye festival (without the outer two people), Kontakt = team at the CASTOR CZ stand */
.pb-about { background-image: url("../img/banner-onas-tym.jpg"); background-position: center 45%; height: clamp(140px, 16vw, 300px); }
.pb-contact { background-image: url("../img/banner-kontakt-stanek.jpg"); background-position: center 45%; height: clamp(140px, 16vw, 300px); }
/* web2 step 8 (2 Nov 2026, approved): O nás + Kontakt – photo head in Castor red (duotone), title and lead in white;
   O nás = technician adjusting a slit lamp (castor.cz servis.jpg), Kontakt = whole team (team-castor.jpg). The plain strip is not used there. */
.pb-about, .pb-contact { display: none; }
.pb-about ~ main .page-head, .pb-contact ~ main .page-head { position: relative; overflow: hidden; padding: 82px 0 68px; background-repeat: no-repeat; background-size: cover; }
.pb-about ~ main .page-head { background-image: url("../img/head-onas-servis-grey.jpg"); background-position: center 40%; }
.pb-contact ~ main .page-head { background-image: url("../img/head-kontakt-tym-grey.jpg"); background-position: center 28%; }
.pb-about ~ main .page-head::before, .pb-contact ~ main .page-head::before { content: ""; position: absolute; inset: 0; background: rgba(160, 18, 36, .80); mix-blend-mode: multiply; }
.pb-about ~ main .page-head::after, .pb-contact ~ main .page-head::after { content: ""; position: absolute; inset: 0; background: rgba(184, 27, 45, .25); }
.pb-about ~ main .page-head .container, .pb-contact ~ main .page-head .container { position: relative; z-index: 1; }
.pb-about ~ main .page-head .page-title, .pb-contact ~ main .page-head .page-title { color: #fff; }
.pb-about ~ main .page-head .page-title::after, .pb-contact ~ main .page-head .page-title::after { background: #fff; }
.pb-about ~ main .page-head .page-lead, .pb-contact ~ main .page-head .page-lead { color: rgba(255, 255, 255, .95); }
.pb-about ~ main .page-head + *, .pb-contact ~ main .page-head + * { margin-top: 36px; }
@media (max-width: 640px) { .pb-about ~ main .page-head, .pb-contact ~ main .page-head { padding: 48px 0 40px; } }
/* web2 step 9 (2 Nov 2026): every section page (Katalog, Servis, Dodavatelé, Novinky, O nás, Kontakt) opens with the same
   photo head in Castor red (duotone, title + lead in white), all the same height. Product and supplier detail pages keep a thin strip, also in red. */
body:has(main > .page-head:first-child) .page-banner { display: none; }
main > .page-head:first-child { position: relative; overflow: hidden; min-height: 300px; display: flex; align-items: center;
  padding: 52px 0 46px; margin: 0; background: #8a8a8a center / cover no-repeat; }
main > .page-head:first-child .container { position: relative; z-index: 1; width: 100%; }
main > .page-head:first-child::before { content: ""; position: absolute; inset: 0; background: rgba(160, 18, 36, .80); mix-blend-mode: multiply; }
main > .page-head:first-child::after { content: ""; position: absolute; inset: 0; background: rgba(184, 27, 45, .25); }
main > .page-head:first-child .page-title { color: #fff; }
main > .page-head:first-child .page-title::after { background: #fff; }
main > .page-head:first-child .page-lead { color: rgba(255, 255, 255, .95); }
main > .page-head:first-child + * { margin-top: 36px; }
.pb-catalog ~ main > .page-head:first-child, .pb-default ~ main > .page-head:first-child { background-image: url("../img/head-katalog-grey.jpg"); background-position: center 55%; }
.pb-service ~ main > .page-head:first-child { background-image: url("../img/head-servis-grey.jpg"); background-position: center 40%; }
.pb-brands ~ main > .page-head:first-child { background-image: url("../img/head-dodavatele-grey.jpg"); background-position: center 62%; }
.pb-events ~ main > .page-head:first-child { background-image: url("../img/head-novinky-grey.jpg"); background-position: center 18%; }
.pb-about ~ main > .page-head:first-child { background-image: url("../img/head-onas-grey.jpg"); background-position: right top; padding: 52px 0 46px; }
.pb-contact ~ main > .page-head:first-child { background-image: url("../img/head-kontakt-tym-grey.jpg"); background-position: center 28%; padding: 52px 0 46px; }
/* thin strip on product / supplier detail pages: same photos, same red tone */
.page-banner { position: relative; height: 120px; background-size: cover; background-repeat: no-repeat; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(160, 18, 36, .80); mix-blend-mode: multiply; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: rgba(184, 27, 45, .25); }
.pb-catalog, .pb-default { background-image: url("../img/head-katalog-grey.jpg"); background-position: center 55%; }
.pb-brands { background-image: url("../img/head-dodavatele-grey.jpg"); background-position: center 62%; }
@media (max-width: 640px) {
  main > .page-head:first-child { min-height: 220px; padding: 40px 0 34px; }
  .pb-about ~ main > .page-head:first-child { background-position: 84% top; }
  .page-banner { height: 80px; }
}
/* web2 step 9b: O nás – text kept left of the technician */
.pb-about ~ main > .page-head:first-child .page-lead { max-width: 560px; }
/* web2 step 10 (2 Nov 2026): katalog/servis/dodavatele/novinky heads rebuilt as wide centred composites */
.pb-catalog ~ main > .page-head:first-child, .pb-default ~ main > .page-head:first-child,
.pb-service ~ main > .page-head:first-child, .pb-brands ~ main > .page-head:first-child,
.pb-events ~ main > .page-head:first-child { background-position: center center; }
/* web2 step 11 (2 Nov 2026): Dodavatelé = device line-up, Novinky = video still with the person right of the text (like O nás) */
.pb-events ~ main > .page-head:first-child .page-lead { max-width: 560px; }
@media (max-width: 640px) { .pb-events ~ main > .page-head:first-child { background-position: 62% center; } }
/* web2 step 12 (2 Nov 2026): Dodavatelé/Novinky/O nás share one look – subject right, blurred left, same tone */
.pb-brands ~ main > .page-head:first-child .page-lead { max-width: 560px; }
@media (max-width: 640px) { .pb-brands ~ main > .page-head:first-child { background-position: 68% center; } }
/* web2 step 13 (2 Nov 2026): Katalog + Servis same look as Dodavatelé/Novinky/O nás (subject right, blurred left, one tone) */
.pb-catalog ~ main > .page-head:first-child .page-lead, .pb-default ~ main > .page-head:first-child .page-lead,
.pb-service ~ main > .page-head:first-child .page-lead { max-width: 560px; }
@media (max-width: 640px) {
  .pb-catalog ~ main > .page-head:first-child, .pb-default ~ main > .page-head:first-child { background-position: 64% center; }
  .pb-service ~ main > .page-head:first-child { background-position: 70% center; }
}
/* web2 step 14 (2 Nov 2026): Kontakt same look as the other sections (team right of the text, blurred left) */
.pb-contact ~ main > .page-head:first-child { background-image: url("../img/head-kontakt-side-grey.jpg"); background-position: center center; }
.pb-contact ~ main > .page-head:first-child .page-lead { max-width: 560px; }
@media (max-width: 640px) { .pb-contact ~ main > .page-head:first-child { background-position: 64% center; } }
/* web2 step 15 (2 Nov 2026): mobile polish + no green */
:root { --green-bg: #f6f1f1; --green-ink: #2b2b2b; --ok: #b81b2d; --blue-bg: #f6f1f1; --blue-ink: #2b2b2b; }
.note-service, .note-info { background: #f6f1f1; color: #2b2b2b; border-left: 3px solid #b81b2d; border-radius: 0 12px 12px 0; }
.callout { background: #f6f1f1; border-top: 3px solid #b81b2d; }
.callout h3 { color: #b81b2d; }
@media (max-width: 640px) {
  main > .page-head:first-child .page-title { font-size: 24px; letter-spacing: .06em; line-height: 1.25; }
  main > .page-head:first-child .page-lead { font-size: 15px; }
  .page-banner { height: 10px; background: #b81b2d !important; }
  .page-banner::before, .page-banner::after { display: none; }
}
/* web2 step 16 (3 Nov 2026): O nás with the castor.cz content – same fonts/sizes as the rest of the web */
.about-phil-grid, .about-quality-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.about-phil .quote { margin: 26px 0 14px; }
.about-values, .quality-card { background: #fff; border-radius: var(--radius); padding: 30px; border-top: 3px solid var(--accent); }
.about-values h3 { margin: 0 0 14px; }
.about-why .why-tile { background: var(--bg-alt); }
.quality-card svg { width: 30px; height: 30px; color: var(--accent); }
.quality-cert { margin: 10px 0 0; }
.quality-cert strong { display: block; color: var(--accent); }
@media (max-width: 860px) { .about-phil-grid, .about-quality-grid { grid-template-columns: 1fr; gap: 32px; } }
/* web2 step 17 (3 Nov 2026): related brand link; O nás – philosophy centred */
.brand-related { margin: 10px 0 0; font-weight: 600; }
.brand-related a { color: var(--accent); }
.about-phil-grid { grid-template-columns: 1fr; justify-items: center; gap: 36px; }
.about-phil-grid > div:first-child { text-align: center; max-width: 860px; }
.about-phil-grid > div:first-child .section-title::after { margin-left: auto; margin-right: auto; }
.about-values { width: 100%; max-width: 860px; }
.about-values h3 { text-align: center; }
.about-values .checklist { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
@media (max-width: 640px) { .about-values .checklist { grid-template-columns: 1fr; } }

/* step 20: header shrink without layout shift – the space the nav gives up is kept as margin,
   so the page below never moves and the menu cannot bounce/blink near the threshold */
.nav { margin-bottom: 0; transition: height .3s var(--ease), margin-bottom .3s var(--ease), box-shadow .3s var(--ease); }
@media (min-width: 861px) {
  .nav.scrolled { margin-bottom: calc(var(--nav-h) - 68px); }
}

/* web2 step 22 (3 Nov 2026): O nás – philosophy, variant B (red quote card + icon tiles) */
.about-phil-b .section-title { text-align: center; }
.about-phil-b .section-title::after { margin-left: auto; margin-right: auto; }
.phil-card { position: relative; overflow: hidden; margin: 36px 0 64px; padding: 56px 64px 44px; border-radius: 28px; color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #8f1720 100%); }
.phil-card::before { content: "\201C"; position: absolute; left: 40px; top: 10px; font: 700 140px/1 Georgia, serif; color: rgba(255, 255, 255, .15); }
.phil-card::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 0 0 40px rgba(255, 255, 255, .04), 0 0 0 90px rgba(255, 255, 255, .03); pointer-events: none; }
.phil-card blockquote { position: relative; margin: 0 0 30px; max-width: 900px; }
.phil-card blockquote p { margin: 0; font-size: 27px; line-height: 1.42; font-weight: 500; letter-spacing: -0.02em; }
.phil-card figcaption { position: relative; display: flex; align-items: center; gap: 14px; }
.phil-card figcaption img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .6); }
.phil-card figcaption span { font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .85); }
.phil-card figcaption b { display: block; font-size: 15px; color: #fff; }
.phil-vt { text-align: center; font-size: 26px; margin: 0 0 28px; }
.phil-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.phil-tile { background: var(--bg-alt); border-radius: 20px; padding: 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease); }
.phil-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, .08); background: #fff; }
.phil-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.phil-ic svg { width: 26px; height: 26px; }
.phil-tile p { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.4; }
@media (max-width: 860px) {
  .phil-card { padding: 44px 24px 28px; margin: 28px 0 44px; }
  .phil-card::before { left: 14px; top: 0; font-size: 110px; }
  .phil-card blockquote p { font-size: 20px; }
  .phil-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .phil-tile { padding: 20px; }
}
@media (max-width: 560px) { .phil-grid { grid-template-columns: 1fr; } .phil-tile { display: flex; align-items: center; gap: 16px; padding: 16px 18px; } .phil-ic { flex: none; margin: 0; width: 46px; height: 46px; } .phil-tile p { font-size: 16px; } }

/* web2 step 27 (4 Nov 2026): Servis – remote support (TeamViewer QuickSupport) */
.remote-sec { padding-bottom: 0; }
.remote-card { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center;
  padding: 40px 48px; border-radius: 28px; color: #fff; background: linear-gradient(135deg, var(--accent) 0%, #8f1720 100%); }
.remote-card::after { content: ""; position: absolute; right: -140px; top: -140px; width: 400px; height: 400px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 0 0 40px rgba(255, 255, 255, .04), 0 0 0 90px rgba(255, 255, 255, .03); pointer-events: none; }
.remote-card > * { position: relative; z-index: 1; }
.remote-main { display: flex; gap: 24px; align-items: flex-start; }
.remote-ic { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28); color: #fff; }
.remote-ic svg { width: 34px; height: 34px; }
.remote-eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.remote-title { margin: 0 0 10px; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.remote-text { margin: 0 0 18px; max-width: 640px; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .92); }
.remote-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; color: rgba(255, 255, 255, .92); }
.remote-steps li { display: flex; align-items: center; gap: 10px; }
.remote-steps li span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--accent);
  font-size: 13px; font-weight: 800; }
.remote-steps a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.remote-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.remote-btn { display: inline-flex; align-items: center; gap: 12px; padding: 18px 30px; border-radius: 999px; background: #fff; color: var(--accent);
  font-size: 18px; font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); transition: transform .25s var(--ease), box-shadow .25s var(--ease); white-space: nowrap; }
.remote-btn svg { width: 22px; height: 22px; }
.remote-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0, 0, 0, .24); color: var(--accent-ink); background: #fff; }
.remote-note { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .75); text-align: center; }
@media (max-width: 860px) {
  .remote-card { grid-template-columns: 1fr; gap: 26px; padding: 30px 22px; border-radius: 22px; }
  .remote-main { flex-direction: column; gap: 16px; }
  .remote-steps { flex-direction: column; gap: 10px; }
  .remote-cta { align-items: stretch; }
  .remote-btn { justify-content: center; }
}

/* web2 step 28 (4 Nov 2026): new CASTOR | 30 LET logo is wider – menu stays on one line */
.nav-links a { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1180px) {
  .nav-inner { gap: 18px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 14px; }
}
@media (min-width: 861px) and (max-width: 1000px) {
  .nav-inner { gap: 12px; padding: 0 14px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 13px; }
  .nav-logo img, .nav.scrolled .nav-logo img { height: 44px; }
  .nav .btn-sm { padding-left: 14px; padding-right: 14px; }
}
