:root {
  --dark: #111318;
  --dark-2: #1a1d24;
  --graphite: #262b35;
  --text: #222936;
  --muted: #667085;
  --light: #f5f7fb;
  --blue-light: #eef6ff;
  --red-light: #fff1f2;
  --white: #ffffff;
  --red: #d71920;
  --red-dark: #a90f15;
  --blue: #0f63c8;
  --blue-dark: #0b4ea2;
  --blue-soft: #2f80ed;
  --green: #47a447;
  --border: #e4e7ec;
  --shadow: 0 20px 50px rgba(17, 19, 24, 0.14);
  --radius: 22px;
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Arial, Helvetica, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p + p { margin-top: 14px; }
.container { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 10px; z-index: 999; }
.skip-link:focus { left: 8px; }
.topbar { background: var(--dark); color: rgba(255,255,255,0.82); font-size: 14px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 9px 0; }
.topbar strong { color: var(--white); font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.95); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(228,231,236,0.85); }
.nav { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; gap: 26px; }
.brand { display: flex; align-items: center; min-width: 205px; }
.brand-logo { width: 176px; height: auto; display: block; }
.menu { display: flex; align-items: center; gap: 22px; color: #3c4452; font-size: 15px; font-weight: 650; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--blue); }
.mobile-menu { display: none; background: rgba(255,255,255,0.98); border-top: 1px solid rgba(228,231,236,0.85); border-bottom: 1px solid rgba(228,231,236,0.85); }
.mobile-menu-inner { display: flex; gap: 9px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.mobile-menu-inner::-webkit-scrollbar { display: none; }
.mobile-menu a { flex: 0 0 auto; padding: 8px 12px; border-radius: 999px; background: var(--blue-light); color: var(--blue-dark); font-size: 13px; font-weight: 800; white-space: nowrap; }
.mobile-menu a.contact-chip { background: var(--red-light); color: var(--red-dark); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; border-radius: 999px; font-weight: 800; border: 1px solid transparent; transition: 0.2s ease; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 14px 30px rgba(215,25,32,0.25); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-secondary { background: var(--white); color: var(--dark); border-color: rgba(255,255,255,0.28); }
.btn-secondary:hover { color: var(--blue); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--dark); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-blue { background: var(--blue); color: var(--white); box-shadow: 0 12px 26px rgba(15,99,200,0.22); }
.btn-blue:hover { background: var(--blue-dark); transform: translateY(-1px); }
.hero { background: radial-gradient(circle at 76% 18%, rgba(15,99,200,0.30), transparent 32%), radial-gradient(circle at 18% 78%, rgba(215,25,32,0.18), transparent 34%), linear-gradient(135deg, #151821 0%, #202631 47%, #101217 100%); color: var(--white); padding: 78px 0 58px; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 90%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 42px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 13px; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.08); border-radius: 999px; color: rgba(255,255,255,0.86); font-size: 14px; font-weight: 700; margin-bottom: 22px; }
.dot { width: 9px; height: 9px; background: var(--blue-soft); border-radius: 50%; box-shadow: 0 0 0 6px rgba(47,128,237,0.18); }
h1 { font-size: clamp(38px, 5.2vw, 68px); line-height: 1.03; letter-spacing: -2.4px; margin-bottom: 22px; }
.hero p { font-size: 19px; color: rgba(255,255,255,0.78); max-width: 680px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 690px; }
.hero-badge { border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08); border-radius: 18px; padding: 15px; min-height: 88px; position: relative; overflow: hidden; }
.hero-badge::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--blue); opacity: 0.9; }
.hero-badge strong { display: block; font-size: 20px; line-height: 1.1; margin-bottom: 5px; }
.hero-badge span { color: rgba(255,255,255,0.72); font-size: 13px; }
.hero-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); box-shadow: 0 28px 70px rgba(0,0,0,0.26); border-radius: 30px; padding: 26px; backdrop-filter: blur(18px); }
.report-card { background: var(--white); color: var(--dark); border-radius: 24px; overflow: hidden; }
.report-head { background: var(--dark); color: var(--white); padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 3px solid var(--blue); }
.report-head span { font-size: 13px; color: rgba(255,255,255,0.68); }
.report-body { padding: 22px; }
.meter-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); align-items: center; }
.meter-row:last-child { border-bottom: 0; }
.meter-row b { color: var(--dark); }
.status { padding: 6px 10px; border-radius: 999px; background: var(--blue-light); color: var(--blue-dark); font-size: 12px; font-weight: 800; }
.status.warn { background: #fff1f1; color: var(--red); }
.chart { height: 130px; background: linear-gradient(to top, rgba(15,99,200,0.12), transparent), repeating-linear-gradient(to right, transparent 0 43px, rgba(17,19,24,0.06) 44px), repeating-linear-gradient(to top, transparent 0 31px, rgba(17,19,24,0.06) 32px); border: 1px solid var(--border); border-radius: 18px; margin: 6px 0 18px; position: relative; overflow: hidden; }
.chart::before { content: ""; position: absolute; left: -10%; bottom: 26px; width: 120%; height: 54px; background: linear-gradient(90deg, transparent, rgba(15,99,200,0.82), rgba(215,25,32,0.72), transparent); clip-path: polygon(0 80%, 10% 65%, 20% 72%, 30% 42%, 40% 55%, 50% 28%, 60% 44%, 70% 20%, 80% 38%, 90% 18%, 100% 34%, 100% 100%, 0 100%); opacity: 0.85; }
.section { padding: 82px 0; }
.section.light { background: var(--light); }
.section.dark { background: radial-gradient(circle at 14% 10%, rgba(15,99,200,0.24), transparent 30%), radial-gradient(circle at 90% 88%, rgba(215,25,32,0.16), transparent 34%), var(--dark); color: var(--white); }
.section-head { max-width: 780px; margin-bottom: 38px; }
.section-kicker { color: var(--red); font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; margin-bottom: 10px; }
.section-kicker.blue { color: var(--blue); }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.12; letter-spacing: -1.3px; color: var(--dark); margin-bottom: 14px; }
h3 { line-height: 1.25; }
.dark h2, .dark h3 { color: var(--white); }
.section-head p { color: var(--muted); font-size: 18px; }
.dark .section-head p { color: rgba(255,255,255,0.72); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: 0 10px 32px rgba(17,19,24,0.05); transition: 0.2s ease; position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--blue); opacity: 0; transition: 0.2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(15,99,200,0.22); }
.card:hover::after { opacity: 1; }
.icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-light); color: var(--blue); margin-bottom: 18px; font-weight: 900; font-size: 18px; }
.card h3 { font-size: 22px; margin-bottom: 10px; color: var(--dark); }
.card p { color: var(--muted); margin-bottom: 17px; }
.list { display: grid; gap: 8px; list-style: none; color: #465062; font-size: 15px; }
.list li { display: flex; gap: 9px; align-items: flex-start; }
.list li::before { content: "✓"; color: var(--blue); font-weight: 900; flex: 0 0 auto; }
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 42px; align-items: center; }
.feature-panel { background: var(--white); border: 1px solid var(--border); border-radius: 30px; padding: 28px; box-shadow: var(--shadow); }
.feature-row { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.feature-row:last-child { border-bottom: 0; }
.feature-num { width: 44px; height: 44px; border-radius: 15px; background: var(--red); color: var(--white); display: grid; place-items: center; font-weight: 900; }
.feature-row h3 { font-size: 20px; color: var(--dark); margin-bottom: 4px; }
.feature-row p { color: var(--muted); }
.industry { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.13); border-radius: 18px; padding: 18px; color: rgba(255,255,255,0.82); min-height: 104px; position: relative; overflow: hidden; }
.industry::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--blue); }
.industry strong { display: block; color: var(--white); font-size: 18px; margin-bottom: 4px; }
.process { counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden; min-height: 230px; }
.step::before { counter-increment: step; content: "0" counter(step); display: inline-flex; width: 48px; height: 48px; border-radius: 16px; background: var(--blue); color: var(--white); align-items: center; justify-content: center; font-weight: 900; margin-bottom: 22px; }
.step h3 { color: var(--dark); font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.notice { margin-top: 26px; padding: 22px; border-radius: var(--radius); background: #f8fbff; border: 1px solid rgba(15,99,200,0.22); color: #344054; border-left: 5px solid var(--blue); }
.notice strong { color: var(--dark); }
.cta-band { background: radial-gradient(circle at 12% 18%, rgba(15,99,200,0.24), transparent 32%), radial-gradient(circle at 88% 20%, rgba(215,25,32,0.24), transparent 35%), linear-gradient(135deg, #111318, #202631); border-radius: 34px; padding: 44px; color: var(--white); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: center; box-shadow: var(--shadow); }
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.74); font-size: 18px; }
.cta-box { background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.16); border-radius: 24px; padding: 24px; }
.contact-line { display: block; color: var(--white); font-weight: 900; font-size: 24px; margin: 6px 0 14px; }
.knowledge-strip { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; background: linear-gradient(135deg, #ffffff, #f8fbff); border: 1px solid rgba(15,99,200,0.18); border-left: 5px solid var(--blue); border-radius: 26px; padding: 28px; box-shadow: 0 14px 34px rgba(17,19,24,0.06); }
.knowledge-strip .label { color: var(--blue); font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; margin-bottom: 7px; }
.knowledge-strip h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.knowledge-strip p { color: var(--muted); max-width: 760px; }
.article-hero { padding: 62px 0 48px; background: linear-gradient(135deg, #f8fbff, #ffffff); border-bottom: 1px solid var(--border); }
.article-hero .container { max-width: 930px; }
.breadcrumbs { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.breadcrumbs a { color: var(--blue); font-weight: 700; }
.article-meta { color: var(--muted); font-size: 14px; margin-top: -10px; margin-bottom: 18px; }
.content-wrap { max-width: 930px; margin: 0 auto; }
.content { font-size: 18px; }
.content h2 { margin-top: 42px; font-size: clamp(28px, 3.2vw, 38px); }
.content h3 { margin-top: 28px; font-size: 24px; color: var(--dark); }
.content p { color: #344054; margin: 14px 0; }
.content ul, .content ol { margin: 14px 0 22px 24px; color: #344054; }
.content li { margin-bottom: 8px; }
.content a { color: var(--blue); font-weight: 800; }
.content table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px; }
.content th, .content td { border: 1px solid var(--border); padding: 12px; text-align: left; vertical-align: top; }
.content th { background: var(--blue-light); color: var(--dark); }
.faq-list { display: grid; gap: 14px; margin-top: 22px; }
details { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 20px; }
details[open] { border-color: rgba(15,99,200,0.28); box-shadow: 0 10px 26px rgba(15,99,200,0.06); }
summary { cursor: pointer; font-weight: 900; color: var(--dark); list-style: none; display: flex; justify-content: space-between; gap: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 12px; }
.site-footer { background: #0d0f13; color: rgba(255,255,255,0.72); padding: 38px 0; border-top: 3px solid var(--blue); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 30px; align-items: start; }
.site-footer strong { color: var(--white); }
.site-footer a { color: rgba(255,255,255,0.82); }
.site-footer a:hover { color: var(--white); }
.footer-links { display: grid; gap: 8px; margin-top: 10px; }
.mobile-cta { display: none; position: fixed; bottom: 14px; left: 14px; right: 14px; z-index: 70; box-shadow: 0 16px 36px rgba(215,25,32,0.28); }
.cookie-banner { position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 100; display: none; background: rgba(255,255,255,0.98); border: 1px solid var(--border); border-left: 5px solid var(--blue); border-radius: 22px; box-shadow: 0 24px 70px rgba(17,19,24,0.20); padding: 18px; max-width: 920px; margin: 0 auto; gap: 18px; align-items: center; justify-content: space-between; }
.cookie-banner.is-visible { display: flex; }
.cookie-content { max-width: 650px; }
.cookie-content strong { display: block; color: var(--dark); font-size: 17px; margin-bottom: 4px; }
.cookie-content p { color: var(--muted); font-size: 14px; line-height: 1.45; }
.cookie-content a { color: var(--blue); font-weight: 800; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; }
.cookie-actions .btn { padding: 10px 15px; font-size: 14px; }
@media (max-width: 980px) {
  .menu { display: none; }
  .mobile-menu { display: block; }
  .hero-grid, .split, .cta-band, .knowledge-strip { grid-template-columns: 1fr; }
  .grid-3, .process { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .topbar-inner { align-items: flex-start; flex-direction: column; gap: 3px; }
  .brand-logo { width: 148px; }
  .nav .btn { display: none; }
  .hero { padding: 56px 0 38px; }
  .hero-badges, .grid-2, .grid-3, .grid-4, .process { grid-template-columns: 1fr; }
  .hero-card { padding: 14px; }
  .section { padding: 58px 0; }
  .cta-band { padding: 28px; border-radius: 26px; }
  h1 { letter-spacing: -1.3px; }
  .mobile-cta { display: inline-flex; }
  .cookie-banner { left: 12px; right: 12px; bottom: 82px; align-items: flex-start; flex-direction: column; }
  .cookie-actions { width: 100%; justify-content: stretch; }
  .cookie-actions .btn { flex: 1 1 140px; }
}


/* Services overview page */
.service-overview { padding-top: 64px; }
.service-intro-box { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: linear-gradient(135deg, #ffffff, #f8fbff); border: 1px solid rgba(15,99,200,0.18); border-left: 5px solid var(--blue); border-radius: 26px; padding: 28px; box-shadow: 0 14px 34px rgba(17,19,24,0.06); margin-bottom: 42px; }
.service-label { display: inline-block; color: var(--blue); font-weight: 900; text-transform: uppercase; letter-spacing: 0.10em; font-size: 12px; margin-bottom: 8px; }
.service-intro-box h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.service-intro-box p { color: var(--muted); max-width: 850px; }
.service-group { margin-top: 42px; }
.service-group-head { margin-bottom: 22px; max-width: 820px; }
.service-group-head span { display: inline-block; color: var(--red); font-weight: 900; text-transform: uppercase; letter-spacing: 0.10em; font-size: 12px; margin-bottom: 8px; }
.service-group-head h2 { font-size: clamp(25px, 3vw, 36px); margin-bottom: 8px; }
.service-group-head.compact h2 { font-size: clamp(23px, 2.6vw, 32px); }
.service-group-head.left { margin-bottom: 16px; }
.service-grid { align-items: stretch; }
.service-card { display: flex; flex-direction: column; }
.service-card .list { margin-bottom: 20px; }
.service-card .btn { margin-top: auto; align-self: flex-start; }
.service-card.compact-card p { margin-bottom: 20px; }
.service-card.compact-card .icon { width: auto; min-width: 48px; padding-left: 12px; padding-right: 12px; font-size: 13px; letter-spacing: 0.03em; }
.service-detail-split { align-items: start; }
.service-list-large { margin-top: 18px; font-size: 16px; }
.service-mini-panel .feature-row p { margin-bottom: 0; }
@media (max-width: 980px) {
  .service-intro-box { grid-template-columns: 1fr; }
}

/* HERO – prawa grafika zamiast starego raportu pomiarowego.
   Kontener trzyma proporcję, a obraz wypełnia kontener przez object-fit: cover. */
.hero .hero-grid > .hero-visual {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1000 / 680;
  justify-self: end;
  align-self: center;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(15,99,200,0.16);
  box-shadow: 0 22px 54px rgba(17,19,24,0.14);
  background: #f8fbff;
}

.hero .hero-grid > .hero-visual > img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent;
}

/* awaryjnie: stare style raportu nie mogą wpływać na nową grafikę */
.hero .hero-grid > .hero-visual.hero-card,
.hero .hero-grid > .hero-visual-card {
  padding: 0 !important;
  backdrop-filter: none !important;
}

@media (max-width: 980px) {
  .hero .hero-grid > .hero-visual {
    max-width: 100%;
    justify-self: stretch;
    aspect-ratio: 1000 / 560;
  }
}

@media (max-width: 680px) {
  .hero .hero-grid > .hero-visual {
    aspect-ratio: 1000 / 620;
    border-radius: 20px;
  }
}

/* Miniatury przykładowych artykułów na stronie głównej */
.blog-card-photo {
  padding-top: 0;
}

.blog-thumb-link {
  display: block;
  margin: -26px -26px 18px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}

.blog-thumb {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.35s ease;
  background: #f4f7fb;
}

.blog-card-photo:hover .blog-thumb {
  transform: scale(1.03);
}

.blog-card-title-link {
  color: var(--dark);
  text-decoration: none;
}

.blog-card-title-link:hover {
  color: var(--blue);
}

/* Miniaturka w bloku Strefy wiedzy MetrixLab */
.knowledge-strip-photo {
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 360px);
  gap: 24px;
}

.knowledge-copy {
  min-width: 0;
}

.knowledge-actions {
  margin-top: 18px;
}

.knowledge-thumb-link {
  display: block;
  align-self: stretch;
  text-decoration: none;
}

.knowledge-thumb {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(15,99,200,0.12);
  box-shadow: 0 10px 22px rgba(17,19,24,0.08);
  background: #f4f7fb;
}

@media (max-width: 980px) {
  .blog-thumb {
    height: 210px;
  }

  .knowledge-strip-photo {
    grid-template-columns: 1fr;
  }

  .knowledge-thumb {
    min-height: 220px;
  }
}

@media (max-width: 680px) {
  .blog-thumb-link {
    margin: -26px -26px 16px;
  }

  .blog-thumb {
    height: 190px;
  }

  .knowledge-thumb {
    min-height: 180px;
  }
}



/* Klikalne zdjęcie i tytuł w kafelkach usług */
.service-thumb-link {
  display: block;
}

.service-title-link {
  color: var(--dark);
  text-decoration: none;
}

.service-title-link:hover {
  color: var(--blue);
}


.footer-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.58);
  font-size: 14px;
}


/* =========================================================
   EMKA Pomiary – poprawka responsywności / anty-overflow
   ========================================================= */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  position: relative;
}

main,
section,
.container,
.article-hero,
.content-wrap,
.content,
.service-overview,
.service-group,
.service-grid,
.service-detail-split,
.service-intro-box,
.knowledge-strip,
.cta-band,
.feature-panel,
.card,
.notice,
.faq-list,
details {
  max-width: 100%;
}

.container,
.hero-grid,
.split,
.grid-2,
.grid-3,
.grid-4,
.process,
.service-grid,
.service-detail-split,
.service-intro-box,
.knowledge-strip,
.cta-band,
.footer-grid,
.feature-row,
.meter-row,
.cookie-banner,
.cookie-content,
.cookie-actions,
.nav,
.topbar-inner {
  min-width: 0;
}

.container > *,
.hero-grid > *,
.split > *,
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.process > *,
.service-grid > *,
.service-detail-split > *,
.service-intro-box > *,
.knowledge-strip > *,
.cta-band > *,
.footer-grid > *,
.feature-row > *,
.meter-row > * {
  min-width: 0;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
a,
li,
td,
th,
summary,
strong,
span {
  overflow-wrap: anywhere;
}

.content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu {
  max-width: 100%;
  overflow: hidden;
}

.mobile-menu-inner {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    min-width: 0;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    max-width: 148px;
  }

  .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .hero-actions .btn,
  .card .btn,
  .service-card .btn,
  .cta-box .btn,
  .knowledge-strip .btn {
    width: 100%;
  }

  .cta-band,
  .service-intro-box,
  .knowledge-strip,
  .feature-panel,
  .card,
  .notice,
  details {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-line {
    font-size: clamp(21px, 6vw, 24px);
    overflow-wrap: anywhere;
  }

  .content ul,
  .content ol {
    margin-left: 18px;
  }
}

@supports not (overflow-x: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}
