/* uslugiggs.gig.eu – main stylesheet
   No inline styles anywhere (strict Content-Security-Policy, see .htaccess). */

/* ---------- Fonts (self-hosted Poppins, latin + latin-ext for Polish) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/poppins-400-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: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/poppins-400-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; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/poppins-500-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: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/poppins-500-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; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/poppins-600-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: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/poppins-600-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; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/poppins-700-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: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/poppins-700-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; }

/* ---------- Tokens (palette of the previous site: teal #006375, GIG lime #8dc63f, ink #2c3e50) ---------- */
:root {
  --teal: #006375;           /* buttons, links: 7:1 on white */
  --teal-dark: #004b59;
  --teal-soft: #e6f1f3;
  --lime: #8dc63f;           /* GIG logo green (decoration only) */
  --lime-dark: #4d7a12;
  --ink: #2c3e50;            /* headings and text */
  --text: #3a4a5a;
  --muted: #5d6b79;
  --line: #dfe5ea;
  --bg-soft: #f5f7f8;
  --white: #fff;
  --footer: #1f2d3a;
  --radius: 0;               /* GIG-PIB logo is angular: no rounded corners */
  --shadow: 0 0.25rem 1.25rem rgb(44 62 80 / 0.08);
  --wrap: 75rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 5.5rem;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0 0 0.75em; text-wrap: balance; font-weight: 600; }
h1 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 1.03rem + 0.35vw, 1.3rem); }
p, ul, ol, dl { margin: 0 0 1.1em; }
p { text-wrap: pretty; }
a { color: var(--teal); text-underline-offset: 0.15em; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
strong { color: var(--ink); font-weight: 600; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; inset-inline-start: 1rem; inset-block-start: -10rem; z-index: 100;
  padding: 0.75rem 1.25rem; background: var(--ink); color: var(--white); font-weight: 600;
}
.skip-link:focus { inset-block-start: 1rem; color: var(--white); }
[hidden] { display: none !important; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.lead { font-size: 1.1em; color: var(--ink); }
.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 3rem; padding: 0.7rem 1.5rem;
  font: inherit; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; text-transform: uppercase; letter-spacing: 0.02em; font-size: 0.95rem;
  color: var(--white); background: var(--teal);
  border: 2px solid var(--teal); border-radius: var(--radius);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { color: var(--white); background: var(--teal-dark); border-color: var(--teal-dark); }
.btn--ghost { color: var(--teal); background: var(--white); }
.btn--ghost:hover { color: var(--white); }
.btn--light { color: var(--ink); background: var(--white); border-color: var(--white); text-transform: none; }
.btn--light:hover { color: var(--ink); background: var(--teal-soft); border-color: var(--teal-soft); }
.btn--outline-light { color: var(--white); background: transparent; border-color: var(--white); }
.btn--outline-light:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-block-start: 1.5rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #dfe6ec; font-size: 0.8125rem; }
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1.5rem; padding-block: 0.4rem; }
.topbar__claim { margin: 0; font-weight: 500; letter-spacing: 0.02em; }
.topbar__contact { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.topbar__contact li { display: inline-flex; align-items: center; gap: 0.4em; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 0.4em; color: var(--white); text-decoration: none; }
.topbar__contact a:hover { color: var(--lime); text-decoration: underline; }
.topbar__contact .ico { color: var(--lime); }
@media (max-width: 52rem) {
  .topbar__claim, .topbar__hours { display: none !important; }
  .topbar__inner { justify-content: center; }
}

/* ---------- Header + navigation (one <nav>, popover when it does not fit; see main.js) ---------- */
.site-header { position: sticky; inset-block-start: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); padding-block: 0.5rem; }
.header-inner > * { flex-shrink: 0; white-space: nowrap; }
.site-logo { display: flex; align-items: center; }
.site-logo img { width: auto; height: clamp(3.25rem, 2.7rem + 1.8vw, 4.25rem); }

.menu-button {
  anchor-name: --menu-button;
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.5rem 0.9rem;
  font: inherit; font-weight: 600; color: var(--ink); background: var(--white);
  border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.menu-button:hover { border-color: var(--teal); }

.site-menu {
  position: fixed; inset: auto;
  inset-block-start: 7.5rem;
  inset-block-start: anchor(--menu-button bottom);
  inset-inline-end: 1rem;
  inline-size: min(85dvw, 22rem); max-inline-size: calc(100dvw - 2rem);
  block-size: fit-content; max-block-size: calc(100dvh - 6rem);
  margin: 0.5rem 0 0; padding: 0.5rem; overflow: auto; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.site-menu[hidden] { display: none; }
.site-menu a {
  display: block; padding: 0.75rem 1rem;
  color: var(--ink); font-weight: 600; text-decoration: none; white-space: normal;
}
.site-menu a:hover { background: var(--teal-soft); color: var(--teal); }
.site-menu a[aria-current="page"] { color: var(--teal); box-shadow: inset 4px 0 0 var(--teal); }
.site-menu .site-menu__cta a { margin-block-start: 0.25rem; color: var(--white); background: var(--teal); text-transform: uppercase; }
.site-menu .site-menu__cta a:hover { color: var(--white); background: var(--teal-dark); }
.site-menu .site-menu__cta a[aria-current="page"] { box-shadow: none; text-decoration: underline; text-underline-offset: 0.3em; }
.site-menu::backdrop { background: rgb(31 45 58 / 0.25); }
/* collapsed (phone) menu: category pages only – they list every service */
.submenu { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .site-menu { transition: opacity 0.18s, translate 0.18s, display 0.18s, overlay 0.18s; transition-behavior: allow-discrete; }
  .site-menu:not(:popover-open) { opacity: 0; translate: 0 -0.5rem; }
  @starting-style { .site-menu:popover-open { opacity: 0; translate: 0 -0.5rem; } }
}

.site-header.is-wide .menu-button { display: none; }
.site-header.is-wide .site-menu {
  position: static; display: flex; align-items: center; gap: 0.15rem;
  inline-size: auto; max-inline-size: none; block-size: auto; max-block-size: none;
  overflow: visible; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none;
  opacity: 1; translate: none; transition: none;
}
.site-header.is-wide .site-menu::backdrop { display: none; }
.site-header.is-wide .site-menu > li > a { padding: 0.6rem 0.8rem; text-transform: uppercase; font-size: 0.875rem; letter-spacing: 0.02em; white-space: nowrap; }
.site-header.is-wide .site-menu > li > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--lime); }
.site-header.is-wide .site-menu .site-menu__cta a { margin: 0 0 0 0.75rem; }
.site-header.is-wide .site-menu .site-menu__cta a[aria-current="page"] { box-shadow: none; }
/* wide: dropdown with the services of a category (hover or keyboard focus) */
.site-header.is-wide .has-sub { position: relative; }
.site-header.is-wide .has-sub > a { display: flex; align-items: center; gap: 0.35rem; }
.site-header.is-wide .has-sub > a::after { content: ""; width: 0.4rem; height: 0.4rem; margin-block-start: -0.2rem; border: solid currentColor; border-width: 0 2px 2px 0; rotate: 45deg; opacity: 0.6; }
.site-header.is-wide .submenu {
  position: absolute; inset-block-start: 100%; inset-inline-start: 0; z-index: 60;
  display: block; visibility: hidden; opacity: 0;
  inline-size: 21rem; margin: 0; padding: 0.4rem; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-block-start: 3px solid var(--teal); box-shadow: var(--shadow);
}
.site-header.is-wide .submenu a { padding: 0.5rem 0.75rem; font-size: 0.875rem; font-weight: 500; line-height: 1.4; }
.site-header.is-wide .submenu a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--teal); }
.site-header.is-wide .has-sub:hover > .submenu,
.site-header.is-wide .has-sub:focus-within > .submenu { visibility: visible; opacity: 1; }
.site-header.is-wide .has-sub.is-closed > .submenu { visibility: hidden; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .site-header.is-wide .submenu { transition: opacity 0.15s, visibility 0.15s; }
}
.is-measuring, .is-measuring * { transition: none !important; }

@media (forced-colors: active) {
  .site-menu a[aria-current="page"] { text-decoration: underline; }
}

/* ---------- Hero (home): light topographic map as on the previous site ---------- */
.hero { position: relative; isolation: isolate; background: var(--bg-soft); border-block-end: 1px solid var(--line); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgb(255 255 255 / 0.9) 25%, rgb(255 255 255 / 0.55) 75%); }
.hero__content { padding-block: clamp(3.5rem, 10vw, 7.5rem); text-align: center; }
.hero h1 { max-width: 46rem; margin: 0 auto 0.6em; text-transform: uppercase; letter-spacing: 0.02em; font-size: clamp(1.5rem, 1.05rem + 2.1vw, 2.6rem); line-height: 1.35; }
.badge {
  display: inline-block; margin: 0 0 1.75rem; padding: 0.3rem 0.9rem;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); background: var(--lime);
}
.hero .btn-row { justify-content: center; margin-block-start: 1.5rem; }
.hero-search { position: relative; max-width: 34rem; margin-inline: auto; }
.hero-search input {
  inline-size: 100%; min-height: 3.5rem; padding: 0.75rem 1rem 0.75rem 3.1rem;
  font: inherit; font-size: 1rem; color: var(--white); background: var(--teal);
  border: 2px solid var(--teal); border-radius: var(--radius); box-shadow: var(--shadow);
}
.hero-search input::placeholder { color: #d4e7eb; opacity: 1; }
.hero-search input:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.hero-search__ico { position: absolute; inset-block: 0; inset-inline-start: 1rem; display: flex; align-items: center; color: var(--white); pointer-events: none; }
.hero-search__ico .ico { width: 1.3rem; height: 1.3rem; }
.intro { max-width: 52rem; text-align: center; }
.intro .lead { margin: 0; }

/* ---------- Page title band (subpages): teal with the map texture ---------- */
.page-title { position: relative; isolation: isolate; color: var(--white); background: var(--teal-dark); }
.page-title__bg { position: absolute; inset: 0; z-index: -1; background: url("/assets/img/mapa-tlo-960.webp") center / cover; opacity: 0.14; mix-blend-mode: luminosity; }
.page-title .wrap { padding-block: clamp(2.25rem, 6vw, 4rem); }
.page-title h1 { color: var(--white); max-width: 56rem; margin-block-end: 0.4em; font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.5rem); }
.page-title__lead { max-width: 52rem; margin: 0; font-size: 1.05rem; color: #e4f0f2; }
.page-title__lead a { color: var(--white); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 1rem; padding: 0; list-style: none; font-size: 0.875rem; }
.breadcrumbs li + li::before { content: "›"; margin-inline-end: 0.35rem; opacity: 0.8; }
.breadcrumbs a { color: var(--white); }
.breadcrumbs a:hover { color: var(--lime); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section--alt { background: var(--bg-soft); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section__head { max-width: 46rem; margin-block-end: 2rem; }
.eyebrow { margin-block-end: 0.4rem; color: var(--teal); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 60rem) { .split { grid-template-columns: 1fr 1fr; } }
.search-status { min-height: 1.75em; margin: 0; color: var(--muted); }
.search-status:empty { min-height: 0; }

/* Service cards */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.service-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color 0.2s, translate 0.2s; }
.service-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.25rem 1.25rem; border-block-start: 3px solid var(--lime); }
.service-card h2, .service-card h3 { margin-block-end: 0.5em; font-size: 1.05rem; line-height: 1.4; }
.service-card h2 a, .service-card h3 a { color: var(--ink); text-decoration: none; }
.service-card h2 a::after, .service-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.service-card p { font-size: 0.9rem; line-height: 1.65; }
.service-card__cats { margin: auto 0 0; padding-block-start: 0.5rem; color: var(--teal); font-size: 0.75rem !important; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.service-card:hover { border-color: var(--teal); }
.service-card:hover h2 a, .service-card:hover h3 a { color: var(--teal); }
.service-card:focus-within { outline: 3px solid var(--lime); outline-offset: 3px; }
.service-card a:focus-visible { outline: none; }
@media (prefers-reduced-motion: no-preference) { .service-card:hover { translate: 0 -3px; } }
.no-results { max-width: 40rem; margin-block-start: 1rem; }

/* Category tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.cat-tile { position: relative; display: flex; flex-direction: column; padding: clamp(1.25rem, 3vw, 1.75rem); background: var(--white); border: 1px solid var(--line); border-block-start: 4px solid var(--teal); box-shadow: var(--shadow); }
.cat-tile h3 a { color: var(--ink); text-decoration: none; }
.cat-tile h3 a::after { content: ""; position: absolute; inset: 0; }
.cat-tile:hover h3 a { color: var(--teal); }
.cat-tile:focus-within { outline: 3px solid var(--lime); outline-offset: 3px; }
.cat-tile a:focus-visible { outline: none; }
.cat-tile p { font-size: 0.95rem; }
.cat-tile__count { display: flex; align-items: center; gap: 0.4rem; margin: auto 0 0; color: var(--teal); font-weight: 600; }

/* ---------- Service page: article + aside ---------- */
.with-aside { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 62rem) {
  .with-aside { grid-template-columns: minmax(0, 1fr) 20rem; }
  .aside { position: sticky; inset-block-start: calc(var(--header-h) + 1rem); }
}
.prose { min-width: 0; }
.prose h2 { margin-block-start: 2rem; padding-block-start: 0.25rem; }
.prose h2:first-child, .prose .toc + h2, .prose .lead + h2 { margin-block-start: 0; }
.prose h3 { margin-block-start: 1.5rem; }
.prose ul, .prose ol { padding-inline-start: 1.35rem; }
.prose li { margin-block-end: 0.4em; }
.prose li::marker { color: var(--teal); }
.prose ul ul, .prose ol ul { margin-block: 0.4em 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

.toc { margin-block-end: 2.25rem; padding: 1.1rem 1.25rem; background: var(--teal-soft); }
.toc h2 { margin: 0 0 0.6rem; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.toc ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.toc li { margin: 0; }
.toc a { display: inline-block; padding: 0.3rem 0.8rem; font-size: 0.875rem; font-weight: 500; text-decoration: none; background: var(--white); border: 1px solid var(--line); }
.toc a:hover { border-color: var(--teal); }

.aside { display: grid; gap: 1.25rem; }
.aside-card { padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-block-start: 4px solid var(--teal); box-shadow: var(--shadow); }
.aside-card h2 { font-size: 1.1rem; margin-block-end: 0.9rem; }
.aside-card--plain { border-block-start-color: var(--lime); box-shadow: none; }
.people { margin: 0 0 1.25rem; padding: 0; list-style: none; display: grid; gap: 1rem; }
.person p, .person-card p { display: flex; align-items: center; gap: 0.5rem; margin: 0; font-size: 0.9rem; overflow-wrap: anywhere; }
.person p .ico, .person-card p .ico { color: var(--teal); }
.person__name { font-weight: 600; color: var(--ink); font-size: 0.95rem !important; margin-block-end: 0.15rem !important; }
.aside-card .btn { font-size: 0.85rem; padding-inline: 1rem; white-space: normal; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.chips a { display: inline-block; padding: 0.2rem 0.6rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; color: var(--teal); background: var(--teal-soft); }
.chips a:hover { color: var(--white); background: var(--teal); }
.related { margin: 0; padding: 0; list-style: none; font-size: 0.9rem; line-height: 1.45; }
.related li { border-block-start: 1px solid var(--line); }
.related a { display: block; padding: 0.55rem 0; text-decoration: none; color: var(--ink); }
.related a:hover { color: var(--teal); text-decoration: underline; }

/* Figures, tables, columns from the old pages */
.prose figure { margin: 1.75rem 0; }
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.25rem; margin-block: 1.75rem; }
.figures figure { margin: 0; }
.figure__link { display: block; }
.prose figure img { width: 100%; border: 1px solid var(--line); }
.prose figcaption { margin-block-start: 0.5rem; font-size: 0.85rem; line-height: 1.55; color: var(--muted); }
.table-wrap { overflow-x: auto; margin-block: 1rem 1.5rem; }
.table-wrap table { inline-size: 100%; border-collapse: collapse; font-size: 0.925rem; }
.table-wrap td, .table-wrap th { padding: 0.55rem 0.8rem; border: 1px solid var(--line); vertical-align: top; text-align: start; }
.table-wrap tr:nth-child(odd) td { background: var(--bg-soft); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.25rem; }

/* Check list */
.checklist { margin: 0 0 1.5rem; padding: 0 !important; list-style: none; }
.checklist > li { position: relative; padding-inline-start: 2.1rem; margin-block-end: 0.85rem; }
.checklist > li::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 0.25em;
  width: 1.35rem; height: 1.35rem;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 0.85rem no-repeat;
}

/* Contact */
.contact-card { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line); border-block-start: 4px solid var(--teal); }
.contact-card .btn { font-size: 1rem; text-transform: none; white-space: normal; overflow-wrap: anywhere; }
.contact-list { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.75rem; }
.contact-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.contact-list .ico { margin-block-start: 0.3em; color: var(--teal); }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.person-card { display: grid; gap: 0.3rem; align-content: start; padding: 1.25rem; background: var(--white); border: 1px solid var(--line); border-block-start: 3px solid var(--lime); }
.person-card .person__svc { display: block; margin-block-start: 0.5rem; padding-block-start: 0.6rem; border-block-start: 1px solid var(--line); font-size: 0.85rem; line-height: 1.5; color: var(--muted); }

/* CTA band */
.cta-band { color: var(--white); background: linear-gradient(120deg, var(--teal-dark), var(--teal) 65%, #0b7d8f); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: clamp(2.5rem, 6vw, 3.5rem); }
.cta-band h2 { color: var(--white); margin-block-end: 0.3em; }
.cta-band p { margin: 0; max-width: 40rem; }
.cta-band .btn-row { margin: 0; }
.cta-band .btn--light { overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { color: #d5dde4; background: var(--footer); font-size: 0.9rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--lime); }
.footer-grid { display: grid; gap: 2rem; padding-block: 3rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { color: var(--white); font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; margin-block-end: 1rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-block-end: 0.5rem; }
.footer-logo { display: inline-block; margin-block-end: 1.25rem; padding: 0.75rem 1rem; background: var(--white); }
.footer-logo img { width: auto; height: 4rem; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact .ico { margin-block-start: 0.3em; color: var(--lime); }
.bottom-bar { border-block-start: 1px solid rgb(255 255 255 / 0.12); font-size: 0.85rem; }
.bottom-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; padding-block: 1.25rem; }
.bottom-bar p { margin: 0; }
.bottom-bar ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.bottom-bar li { margin: 0; }

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound__code {
  display: block; margin-block-end: 0.5rem;
  font-size: clamp(6rem, 4rem + 12vw, 11rem); font-weight: 700; line-height: 1;
  color: var(--teal);
  background: linear-gradient(120deg, var(--teal-dark), var(--teal) 50%, var(--lime));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.notfound p { max-width: 36rem; margin-inline: auto; }
.notfound .btn-row { justify-content: center; }
.notfound__links { margin-block-start: 2.5rem; }
.notfound__links h2 { font-size: 1.1rem; }
.notfound__links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.notfound__links a { display: inline-block; padding: 0.4rem 0.9rem; text-decoration: none; font-weight: 500; border: 1px solid var(--line); }
.notfound__links a:hover { border-color: var(--teal); }
@media (prefers-reduced-motion: no-preference) {
  .notfound__code { animation: float-in 0.7s ease-out both; }
  @keyframes float-in { from { opacity: 0; translate: 0 1rem; } }
}

/* ---------- Lightbox (photos on service pages, see main.js) ---------- */
.figure__link { cursor: zoom-in; }
.lightbox {
  inline-size: 100dvw; block-size: 100dvh; max-inline-size: none; max-block-size: none;
  margin: 0; padding: 3.5rem clamp(0.5rem, 6vw, 5rem) 1rem; border: 0;
  color: #e9eef2; background: rgb(15 24 32 / 0.96); overflow: hidden;
}
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgb(15 24 32 / 0.6); }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; min-block-size: 0; margin: 0; flex: 1; inline-size: 100%; }
.lightbox__figure img { max-inline-size: 100%; max-block-size: calc(100dvh - 10rem); inline-size: auto; block-size: auto; object-fit: contain; background: var(--white); box-shadow: 0 0.5rem 2rem rgb(0 0 0 / 0.4); }
.lightbox__figure figcaption { max-inline-size: 52rem; font-size: 0.9rem; line-height: 1.5; text-align: center; }
.lightbox__counter { margin: 0.5rem 0 0; font-size: 0.8rem; letter-spacing: 0.05em; opacity: 0.8; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; inline-size: 3rem; block-size: 3rem; padding: 0;
  color: var(--white); background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.3); cursor: pointer;
}
.lightbox__btn:hover { background: var(--teal); border-color: var(--teal); }
.lightbox__btn .ico { width: 1.5rem; height: 1.5rem; }
.lightbox__close { inset-block-start: 0.5rem; inset-inline-end: 0.5rem; }
.lightbox__prev, .lightbox__next { inset-block-start: 50%; translate: 0 -50%; }
.lightbox__prev { inset-inline-start: 0.5rem; }
.lightbox__next { inset-inline-end: 0.5rem; }
@media (max-width: 40rem) {
  .lightbox__prev, .lightbox__next { inset-block-start: auto; inset-block-end: 0.5rem; translate: none; }
  .lightbox { padding-block-end: 4rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: lb-in 0.18s ease-out; }
  @keyframes lb-in { from { opacity: 0; } }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .cta-band, .site-footer, .skip-link, .toc, .aside-card--plain { display: none !important; }
  .page-title { color: #000; background: none; }
  .page-title h1, .page-title__lead { color: #000; }
  .page-title__bg, .hero__media { display: none; }
  .with-aside { display: block; }
}
