/* Public website. Shared geometry and components; no portal styles. */
:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #626262;
  --yellow: #ffd000;
  --paper: #fff;
  --soft: #f7f7f7;
  --line: #e3e3e3;
  --width: 1180px;
  --radius: 10px;
  --gutter: 32px;
  --section-space: 80px;
  --column-gap: 64px;
  font: 16px/1.7 "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
/* Short public pages keep the compact footer at the viewport bottom. */
body.public-site { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.public-site > .site-header, .public-site > .footer { flex: none; }
.public-site > main { flex: 1 0 auto; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
a, button { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
h1, h2, h3, p { margin: 0 0 24px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 3.8vw, 3.25rem); max-width: 24ch; margin-bottom: 28px; }
h2 { font-size: clamp(1.8rem, 2.65vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p:last-child { margin-bottom: 0; }
main { min-height: 50vh; }
main p { color: var(--muted); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #8a6900; outline-offset: 5px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #8a6900; outline-offset: 3px; }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 30; background: var(--yellow); padding: 10px 20px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.section, .nav, .hero-inner, .footer-top { width: min(var(--width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.section-heading, .section-head { margin-bottom: 48px; }
.section-heading > p:not(.eyebrow), .section-head > p:not(.eyebrow), .panel-copy > p:not(.eyebrow) { max-width: 68ch; font-size: 1.0625rem; }
.eyebrow, .reference-block-label, .reference-list-title { font-size: .8125rem; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 24px; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.hero .eyebrow::before { content: ""; flex: none; width: 23px; height: 2px; background: var(--yellow); }
.muted { color: var(--muted); }
.btn, .service-order { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 52px; padding: 13px 24px; border: 1px solid transparent; border-radius: 6px; background: var(--yellow); color: var(--ink); font-size: .9375rem; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; overflow-wrap: anywhere; transition: background .15s ease; }
.btn:hover, .service-order:hover { background: #edc100; }
.btn-outline { background: transparent; border-color: #999999; }
.btn-outline:hover { background: var(--soft); }
.text-button { min-height: 44px; padding: 8px 0; border: 0; background: none; color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.privacy-link { font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }

/* Header: one optical centreline and one breakpoint for the compact menu. */
.site-header { position: relative; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; min-height: 88px; }
.nav > .brand { justify-self: start; }
.nav > .header-actions { justify-self: end; }
.brand { display: block; flex: none; }
.brand img { width: 110px; height: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: 0; }
.nav-links > a { position: relative; display: flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 600; white-space: nowrap; text-decoration: none; }
.nav-links > a[aria-current=page] { font-weight: 700; }
.nav-links > a[aria-current=page]::after { content: ""; position: absolute; left: 0; bottom: 3px; width: 22px; height: 2px; background: var(--yellow); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.portal-link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 15px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: .8125rem; font-weight: 600; white-space: nowrap; text-decoration: none; transition: background .15s ease; }
.portal-link:hover { background: #edc100; }
.header-phone { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 15px; border-radius: 999px; background: var(--ink); color: var(--yellow); font-size: .875rem; font-weight: 600; white-space: nowrap; text-decoration: none; transition: background .15s ease; }
.header-phone:hover { background: #292929; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 0; border-radius: 6px; background: transparent; }
.nav-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--ink); }

/* Original homepage composition with shared column edges. */
.hero { background: #111111; color: white; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; column-gap: var(--column-gap); row-gap: 0; padding-block: 64px; }
.hero-copy { display: contents; }
.hero-copy > .eyebrow { grid-area: 1 / 1; }
.hero-copy > h1 { grid-area: 2 / 1; }
.hero-copy > .hero-lead { grid-area: 3 / 1; }
.hero-copy > .hero-actions { grid-area: 4 / 1; }
.hero-media { grid-area: 2 / 2 / 5 / 3; }
.hero .eyebrow { color: var(--yellow); }
.hero h1.hero-title { font-size: clamp(2.8rem, 4.4vw, 4rem); line-height: 1.1; margin-bottom: 28px; }
.hero-title > span { display: block; }
.hero-ddd-letter { color: var(--yellow); }
.hero-lead { max-width: 46ch; font-size: 1.0625rem; line-height: 1.8; color: #cccccc; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.hero-direct-contact { flex-basis: 100%; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; }
.hero-direct-contact > span { flex-basis: 100%; font-size: .875rem; color: #bbbbbb; }
.hero-direct-contact > a { display: inline-flex; align-items: center; min-height: 32px; font-size: .9375rem; font-weight: 600; }
.hero-media { min-width: 0; padding: 16px; border: 1px solid rgb(255 255 255 / 12%); border-radius: calc(var(--radius) + 16px); }
.hero-slider { position: relative; aspect-ratio: 1.78; overflow: hidden; border-radius: var(--radius); background: #262626; }
.hero-slider > picture { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.hero-slider > picture.is-active { opacity: 1; }
.hero-slider .hero-slide-mouse { object-position: right center; }
.hero-slider img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.media-caption { display: grid; gap: 6px; padding-top: 20px; }
.media-caption strong { font-size: 1rem; font-weight: 600; }
.media-caption span { max-width: 55ch; font-size: .875rem; line-height: 1.65; color: #bbbbbb; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 32px max(var(--gutter), calc((100% - var(--width)) / 2)); background: var(--soft); color: var(--ink); }
.hero-stat { display: grid; align-content: start; justify-items: start; gap: 10px; min-width: 0; padding-inline: 14px; text-align: left; }
.hero-stat + .hero-stat { border-left: 1px solid var(--line); padding-left: 14px; }
.hero-stat strong { font-size: 1.5rem; font-weight: 600; line-height: 1.25; }
.hero-stat em { font-size: 1rem; font-style: normal; }
.hero-stat > span { max-width: 29ch; color: var(--muted); font-size: .875rem; line-height: 1.6; }
/* Compact original homepage proportions: narrow cards and wider copy. */
.home-services { display: grid; grid-template-columns: minmax(0, 640px) minmax(280px, 340px); justify-content: center; align-items: center; gap: 64px; padding-block: 64px 48px; }
.home-services-copy { display: block; max-width: 640px; }
.home-services-copy h2, .home-services-copy p { max-width: 600px; }
.home-services-action { display: grid; align-content: center; gap: 16px; width: 100%; padding: 28px; border: 1px solid #6d5e22; border-top: 4px solid var(--yellow); border-radius: var(--radius); background: var(--ink); color: white; box-shadow: 0 10px 28px #00000012; }
.home-services-action > strong { justify-self: center; font-size: 1.625rem; font-weight: 600; text-align: center; }
.home-services-action .btn { width: 100%; }
.contact-summary { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 640px); justify-content: center; align-items: center; gap: 64px; padding-block: 48px 64px; border-top: 1px solid var(--line); }
.contact-summary-side { display: block; min-width: 0; }
.contact-summary-side > .eyebrow { margin-bottom: 16px; }
.contact-summary-card { display: grid; justify-items: center; gap: 8px; padding: 24px 20px; border: 1px solid #6d5e22; border-top: 4px solid var(--yellow); border-radius: var(--radius); background: var(--ink); color: white; text-align: center; box-shadow: 0 10px 28px #00000012; }
.contact-summary-card > a:not(.btn) { display: inline-flex; align-items: center; min-height: 28px; color: #eeeeee; font-weight: 600; text-decoration: none; }
.contact-summary-card > span { color: #bbbbbb; font-size: .8125rem; }
.contact-summary-card .btn { margin-top: 12px; }
.contact-summary-media { max-width: 118px; margin: 16px auto 0; }
.contact-summary-content { max-width: 640px; padding: 0; }
.contact-summary-content h2, .contact-summary-content p { max-width: 600px; }
.references-compact { padding-top: 32px; padding-bottom: 64px; border-top: 1px solid rgb(0 0 0 / 8%); }
.reference-logo-intro { margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid rgb(0 0 0 / 8%); }
.references-compact .section-head { margin-bottom: 24px; }
.references-compact .section-head h2 { font-size: 1.25rem; letter-spacing: -.015em; }

/* Selected clients on one row; reference logos loop with manual controls. */
.logo-row { display: flex; align-items: center; gap: 24px; margin: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0 12px; }
.logo-row::-webkit-scrollbar { display: none; }
.logo-cell { flex: 0 0 160px; min-width: 0; height: 96px; display: flex; align-items: center; justify-content: center; overflow: hidden; scroll-snap-align: start; }
.logo-cell img { width: auto; max-width: min(150px, 100%); height: auto; max-height: 72px; object-fit: contain; }
.logo-cell img[alt="Kühne + Nagel"] { max-width: 126px; }
.logo-cell img[alt="Dachser"] { max-width: 116px; }
.logo-cell img[alt="SAG"] { max-width: 126px; }
.logo-cell img[alt="Comp Alfa"] { max-width: 108px; }
.logo-cell img[alt="Hartmann"] { max-width: 130px; }
.logo-cell img[alt="Czech Inn Hotels"] { max-width: 138px; mix-blend-mode: multiply; }
.logo-cell img[alt="Marriott"] { max-width: 100px; }
.logo-cell img[alt="PPM"] { max-height: 64px; }
/* Only crop the white margins in layout; keep the uploaded logo unchanged. */
.logo-cell img[alt="OC Stromovka"] { width: 160px; max-width: 160px; height: 160px; max-height: none; }
.logo-home .logo-cell { flex: 1 0 calc((100% - 120px) / 6); }
.references-compact .section-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.references-compact .section-head h2 { margin-bottom: 0; }
.logo-more-row { display: flex; justify-content: center; margin-top: 20px; }
.logo-more { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; flex: none; font-size: .875rem; white-space: nowrap; text-decoration: none; }
.logo-more:hover { border-color: #bdbdbd; background: var(--soft); }
.logo-more strong { font-size: 1.2rem; }
.logo-carousel { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 16px; }
.logo-carousel.is-ready { grid-template-columns: 44px minmax(0, 1fr) 44px; }
.logo-track { position: relative; min-width: 0; padding-block: 8px; scroll-snap-type: none; }
.logo-arrow { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: var(--ink); color: var(--yellow); transition: background .15s ease, color .15s ease; }
.logo-arrow:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.logo-track:focus-visible, .logo-home:focus-visible { outline: 2px solid #8a6900; outline-offset: 4px; }

/* Services: the expanded copy and heading share a left edge. */
.service-list { width: 100%; max-width: none; }
.service-item { border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.service-item:last-child { border-bottom: 1px solid var(--line); }
.service-item summary { display: grid; grid-template-columns: 140px minmax(0, 1fr) 44px; align-items: center; gap: 32px; padding-block: 24px; cursor: pointer; list-style: none; }
.service-item summary::-webkit-details-marker { display: none; }
.service-item summary picture { width: 140px; height: 105px; overflow: hidden; border-radius: var(--radius); }
.service-item summary img { width: 100%; height: 100%; object-fit: cover; }
.service-item summary > div { min-width: 0; }
.service-item summary h2 { font-size: 1.5rem; margin-bottom: 8px; }
.service-item summary p { margin: 0; font-size: 1rem; }
.details-toggle { width: 44px; height: 44px; position: relative; border: 1px solid var(--line); border-radius: 50%; }
.details-toggle::before, .details-toggle::after { content: ""; position: absolute; width: 14px; height: 2px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--ink); }
.details-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.service-item[open] .details-toggle { background: var(--yellow); border-color: var(--yellow); }
.service-item[open] .details-toggle::after { display: none; }
.service-content { padding: 4px 76px 32px 172px; }
.service-content p { max-width: 68ch; }
.service-detail-copy { margin-bottom: 24px; }
.service-more { display: block; width: fit-content; margin-bottom: 24px; }

/* Secondary pages share heading, rule and closing-action metrics. */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; padding: 0; margin: 32px 0 0; }
.steps > li { display: grid; align-content: start; gap: 12px; border-top: 2px solid var(--yellow); padding-top: 24px; }
.steps strong { font-size: 1rem; }
.steps span { font-size: 1rem; color: var(--muted); }
.b2b-process { margin-block: 48px; }
.deliverables { padding-block: 32px; margin-block: 48px; border-block: 1px solid var(--line); }
.deliverables p { max-width: 68ch; }
.b2b-panel .panel-copy > .b2b-intro-copy { max-width: none; margin-bottom: 0; }
.b2b-panel .deliverables { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; margin-bottom: 0; padding: 32px; border: 0; border-radius: var(--radius); background: var(--soft); }
.b2b-deliverables-copy { min-width: 0; }
.b2b-deliverables-copy > h2 { margin-bottom: 16px; }
.b2b-deliverables-copy > p { max-width: none; margin-bottom: 0; }
.b2b-haccp { max-width: 68ch; margin-top: 24px; padding-left: 20px; border-left: 2px solid var(--yellow); }
.b2b-haccp > h3 { margin-bottom: 8px; font-size: 1rem; letter-spacing: 0; }
.b2b-haccp > p { font-size: .875rem; }
.b2b-action { display: flex; align-items: center; justify-content: flex-end; align-self: stretch; min-width: 0; }
.b2b-panel .b2b-cta { max-width: 100%; margin: 0; }
.b2b-fit strong { display: block; margin-bottom: 8px; }
.b2b-fit p { margin-top: 16px; }
/* Compact closing panels: copy on the left, action centred on the right. */
.page-cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 48px; margin-top: 48px; padding: 28px 32px; border-radius: var(--radius); background: var(--soft); }
.page-cta > h2 { grid-column: 1; grid-row: 1; font-size: 1.625rem; margin-bottom: 0; }
.page-cta > p { grid-column: 1; grid-row: 2; max-width: 75ch; margin-bottom: 0; }
.page-cta > .btn, .page-cta > .service-order, .page-cta > .pricing-action-row { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: end; min-width: 0; max-width: 100%; margin: 0; }
.page-cta .btn, .page-cta .service-order { margin-top: 0; }
.pricing-factors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-block: 48px; }
.pricing-factors article { border-top: 2px solid var(--yellow); padding-top: 24px; }
.pricing-factors h2 { font-size: 1.25rem; margin-bottom: 16px; }
.pricing-action-row { margin-top: 20px; }
.pricing-action-row p { margin-bottom: 0; }
.reference-clients-title { font-size: clamp(2rem, 3.8vw, 3.25rem); margin-bottom: 24px; }
.reference-clients-intro { max-width: none; font-size: 1.0625rem; }
.reference-detail-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; margin-block: 40px 48px; }
.reference-detail-card { border-top: 2px solid var(--yellow); padding-top: 24px; }
.reference-detail-card .eyebrow { margin-bottom: 20px; }
.reference-detail-card h3 { font-size: 1.625rem; margin-bottom: 20px; }
.reference-trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-block: 24px 40px; }
.reference-trust-card { border-top: 1px solid var(--line); padding-top: 24px; }
.reference-trust-card h3 { margin-bottom: 16px; }
.reference-list { display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--muted); }
.reference-list > span { font-size: 1rem; }
.about-page { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: var(--column-gap); row-gap: 0; align-items: start; }
.about-copy { display: contents; }
.about-copy > .eyebrow { grid-area: 1 / 1; }
.about-copy > h1 { grid-area: 2 / 1; }
.about-copy > p:not(.eyebrow) { grid-column: 1; margin-bottom: 24px; }
.about-copy > .person-contact { grid-column: 1; }
.about-visual { grid-area: 2 / 2 / 6 / 3; }
.about-visual { min-width: 0; }
.about-visual img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.about-visual.about-portrait { width: 100%; max-width: 420px; }
.about-visual.about-portrait img { aspect-ratio: 4 / 5; object-fit: contain; }
.image-caption { font-size: .875rem; margin-top: 12px; }
.person-contact { display: grid; justify-items: start; gap: 4px; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 24px; }
.person-contact span { font-size: .875rem; color: var(--muted); margin-bottom: 4px; }
.person-contact a { display: inline-flex; align-items: center; min-height: 32px; }

/* Contact form and contact details. */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--column-gap); align-items: start; }
.contact-info > p:not(.eyebrow) { max-width: 40ch; }
.contact-box { display: grid; justify-items: start; gap: 6px; margin-top: 32px; }
.contact-box > strong { margin-bottom: 4px; }
.contact-box > a { display: inline-flex; align-items: center; min-height: 36px; font-size: 1.125rem; font-weight: 600; text-decoration: none; }
.contact-box > span { font-size: .875rem; color: var(--muted); }
.contact-box > a + span { margin-top: 12px; }
.contact-mouse { display: none; }
.contact-form { min-width: 0; padding: 32px; background: var(--soft); border-radius: var(--radius); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 20px; }
.form-row { min-width: 0; margin-bottom: 24px; }
.form-row label { display: block; font-size: .875rem; font-weight: 600; line-height: 1.5; margin-bottom: 8px; }
input:not([type=checkbox]), select, textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #888888; border-radius: 6px; background: white; color: var(--ink); line-height: 1.5; }
textarea { resize: vertical; min-height: 120px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath fill='none' stroke='%23111' stroke-width='2' d='m2 2 5 5 5-5'/%3E%3C/svg%3E"); background-position: right 14px center; background-repeat: no-repeat; padding-right: 36px; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: .875rem; line-height: 1.6; margin: 0 0 24px; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #8a6900; }
.form-submit { width: 100%; }
.form-submit:disabled { opacity: .7; }
.form-submit[aria-describedby="preview-only-note"] { cursor: not-allowed; }

/* Preserve the original low footer: two aligned lines on desktop. */
.footer { background: #111111; color: white; padding-block: 12px; }
.footer-top { min-height: 56px; display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); align-items: center; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand > a { display: inline-flex; flex: none; padding: 6px 8px; background: #ffffff; border-radius: 6px; }
.footer-brand img { width: 92px; height: auto; }
.footer-brand p { max-width: 420px; margin: 0; color: #bbbbbb; font-size: .8125rem; line-height: 1.35; }
.footer-col { display: flex; justify-content: flex-end; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; font-size: .8125rem; line-height: 1.25; }
.footer-title { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.footer-col > span { color: #bbbbbb; }
.footer-col > a { font-size: .8125rem; font-weight: 600; color: #eee; }
.footer-legal { flex-basis: 100%; display: flex; justify-content: flex-end; align-items: baseline; flex-wrap: wrap; gap: 4px 13px; font-size: .75rem; color: #bbbbbb; }
.footer-legal a, .footer-legal button { min-height: 24px; display: inline-flex; align-items: center; margin: 0; padding: 0; border: 0; font-size: inherit; line-height: inherit; font-weight: 400; color: inherit; }

/* Utility pages and cookie settings. */
.cookie-banner { position: fixed; z-index: 25; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1030px, calc(100% - 32px)); max-height: 85vh; overflow: auto; padding: 18px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 8px 35px #17181418; }
.cookie-banner strong { font-size: 1rem; }
.cookie-banner p { font-size: .875rem; line-height: 1.6; margin: 4px 0 0; }
.cookie-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; flex: none; }
.cookie-actions .btn { min-height: 44px; padding: 10px 16px; font-size: .875rem; }
.legal-copy { max-width: 800px; }
.legal-copy h2 { font-size: 1.5rem; margin-top: 40px; }
.empty-page p { max-width: 60ch; }
.empty-page .text-link { margin-left: 24px; }


.mobile-portal-link { display: none !important; }
.small-note, .form-intro, .form-privacy, .display-choice { font-size: .875rem; line-height: 1.6; }
.form-intro { margin-bottom: 24px; }
.form-privacy { margin-bottom: 24px; }
.form-status { margin-top: 20px; }
.display-choice { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; }
.display-choice input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #8a6900; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; margin-bottom: 32px; color: var(--muted); }
.service-page > .section-head, .service-article { max-width: none; margin-inline: 0; }
.service-article h2 { font-size: 1.625rem; margin-top: 40px; }
.service-article h3 { font-size: 1.125rem; margin-top: 24px; }
.service-article ul { padding-left: 24px; margin-bottom: 24px; color: var(--muted); }
.service-article li + li { margin-top: 8px; }
.service-related { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 32px; }
.hero-media, .home-services-action, .about-visual, .contact-form { min-width: 0; }

/* Full-width introductions follow the same left edge as the page content. */
.page-intro { width: 100%; max-width: none; margin-inline: 0; text-align: left; }
.page-intro > h1 { max-width: none; margin-inline: 0; }
.page-intro > .eyebrow { justify-content: flex-start; }
.page-intro > p:not(.eyebrow) { max-width: none; margin-inline: 0; text-wrap: pretty; }
.b2b-panel > .page-intro { max-width: none; }
.b2b-process > h2 { text-align: left; }
.page-cta { max-width: none; margin-inline: 0; text-align: left; }
.page-cta h2, .page-cta p { margin-inline: 0; }
.pricing-action-row .btn { margin-top: 0; }
.references > .reference-list-title, .references-compact .section-head { text-align: left; }
.service-page .breadcrumbs, .service-related { justify-content: flex-start; }
.service-page > .page-cta { max-width: none; }
.about-page > .page-intro, .contact-page > .page-intro { grid-column: 1 / -1; }
.about-page { row-gap: 0; }
/* Keep the portrait proportionate to the copy and its personal signature. */
.about-page { grid-template-columns: minmax(0, 1fr) 400px; column-gap: 64px; }
.about-page > .page-intro { margin-bottom: 0; }
.about-page .about-copy { font-size: 1.125rem; line-height: 1.8; }
.about-page .about-signature { margin-top: 24px; margin-bottom: 0; color: var(--ink); }
.about-page > .about-credentials { grid-column: 1 / -1; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.about-page .about-visual.about-portrait { max-width: 400px; }
.about-copy { display: block; align-self: start; }
.about-copy > *, .about-visual { grid-area: auto; }
.about-visual { margin-inline: auto; }
.image-caption { text-align: center; }
.contact-page { row-gap: 48px; }
/* Contact keeps the original black information panel beside a light form. */
.contact-page .contact-info { width: 100%; max-width: none; padding: 32px; border: 1px solid #383838; border-top: 4px solid var(--yellow); border-radius: var(--radius); background: var(--ink); color: white; text-align: left; }
.contact-page .contact-info > .eyebrow { margin-bottom: 24px; color: var(--yellow); }
.contact-page .contact-box { margin-top: 0; justify-items: start; gap: 12px; }
.contact-page .contact-box > strong { margin-bottom: 4px; font-size: 1.375rem; line-height: 1.35; }
.contact-page .contact-box > a { max-width: 100%; min-height: 44px; color: white; overflow-wrap: anywhere; }
.contact-page .contact-box > a[href^="tel:"] { color: var(--yellow); font-size: 1.5rem; }
.contact-page .contact-box > span { color: #c6c6c6; }
.contact-page .contact-box > a + span { width: 100%; margin-top: 12px; padding-top: 24px; border-top: 1px solid #454545; }

.contact-page > .page-intro > p:not(.eyebrow) { max-width: none; font-size: 1.0625rem; }
.legal-copy > h1 { margin-inline: 0; text-align: left; }
.empty-page { text-align: left; }
.empty-page > .eyebrow { justify-content: flex-start; }
.empty-page h1, .empty-page p { margin-inline: 0; }

/* Let navigation use a second row before the centred menu meets the actions. */
/* Shared text rows keep descriptions aligned when a column heading wraps. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1001px) {
    .steps { row-gap: 12px; }
    .steps > li { grid-template-rows: subgrid; grid-row: span 2; }
  }
  @media (min-width: 761px) {
    .pricing-factors { row-gap: 16px; }
    .pricing-factors > article { display: grid; grid-template-rows: subgrid; grid-row: span 2; }
    .pricing-factors h2 { margin-bottom: 0; }
  }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps > li { grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding-block: 20px; border-top: 1px solid var(--line); }
}
@media (max-width: 1200px) {
  .nav { display: flex; flex-wrap: wrap; gap: 0 24px; padding-block: 8px; }
  .header-actions { margin-left: auto; }
  .nav-links { order: 3; width: 100%; justify-content: center; margin: 0; }
}
@media (max-width: 1100px) {
  .nav { flex-wrap: wrap; gap: 0 24px; padding-block: 8px; }
  .header-actions { margin-left: auto; }
  .nav-links { order: 3; width: 100%; justify-content: center; margin: 0; }
  .hero-inner { column-gap: 40px; }
  .home-services { grid-template-columns: minmax(0, 1fr) minmax(250px, 320px); gap: 32px; }
  .contact-summary { grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); gap: 32px; }
  .hero-stats { gap: 20px; }
  .hero-stat + .hero-stat { padding-left: 14px; }
  .footer-top { grid-template-columns: 1fr; gap: 10px; }
  .footer-col, .footer-legal { justify-content: flex-start; }
}
@media (max-width: 900px) {
  .b2b-panel .deliverables { grid-template-columns: 1fr; gap: 24px; }
  .b2b-action { padding: 0; justify-content: flex-start; }
  :root { --column-gap: 40px; }
  .hero-inner, .about-page, .contact { grid-template-columns: 1fr; gap: 32px; }
  .about-page { row-gap: 0; }
  .about-visual.about-portrait { margin-top: 32px; }
  .hero-copy, .home-services-copy, .about-copy { display: block; }
  .hero-copy > *, .home-services-copy > *, .about-copy > *, .hero-media, .home-services-action, .about-visual { grid-area: auto; }
  .hero-media, .about-visual { width: 100%; max-width: 650px; margin-inline: auto; }
  .home-services-copy { max-width: 68ch; }
  .home-services-action { width: 100%; }
  .steps { gap: 24px; }
  .logo-home .logo-cell { flex: 0 0 145px; }
  .contact-info { width: 100%; max-width: none; text-align: left; }
  .contact-info > p:not(.eyebrow) { max-width: 60ch; }
  .about-visual img { aspect-ratio: 1.3; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; --section-space: 56px; --column-gap: 32px; }
  h1 { font-size: clamp(2rem, 6.5vw, 2.75rem); }
  h2 { font-size: clamp(1.65rem, 5vw, 2rem); }
  .section-heading, .section-head { margin-bottom: 32px; }
  .contact-page { row-gap: 32px; }
  .nav { min-height: 78px; gap: 0 12px; padding-block: 8px; }
  .brand img { width: 100px; height: auto; }
  .header-actions { order: 1; }
  .header-phone { font-size: .8125rem; padding-inline: 12px; }
  .portal-link { display: none; }
  .js .nav-toggle { display: block; order: 2; }
  .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-top: 8px; }
  .js .nav-links { display: none; }
  .js .nav-open .nav-links { display: flex; }
  .nav-links > .mobile-portal-link { display: flex !important; justify-content: center; margin-block: 8px; padding: 12px 16px; border: 0; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 600; }
  .nav-links > a { min-height: 48px; padding: 10px 4px; border-top: 1px solid var(--line); font-size: 1rem; }
  .nav-links > a[aria-current=page]::after { left: auto; right: 4px; bottom: 22px; }
  .hero-inner { padding-block: 44px; }
  .hero h1.hero-title { font-size: clamp(2.6rem, 9.5vw, 3.75rem); }
  .hero .eyebrow { font-size: .75rem; }
  .hero-lead { font-size: 1rem; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-block: 28px; }
  .hero-stat { padding-inline: 0; }
  .hero-stat + .hero-stat { border: 0; padding-left: 0; }
  .hero-stat strong { font-size: 1.3rem; }
  .cert-lines br { display: none; }
  .home-services, .contact-summary { grid-template-columns: 1fr; gap: 32px; }
  .home-services { padding-block: 48px; }
  .home-services-copy, .contact-summary-content { width: 100%; margin-inline: auto; }
  .contact-summary { padding-block: 40px 48px; }
  .home-services-action { max-width: 340px; padding: 24px; margin-inline: auto; }
  .contact-summary-side { max-width: 340px; width: 100%; margin-inline: auto; }
  .references-compact { padding-bottom: 48px; }
  .reference-detail-list { gap: 32px; margin-block: 40px; }
  .reference-detail-card h3 { font-size: 1.4rem; }
  .reference-trust-grid, .pricing-factors { grid-template-columns: 1fr; gap: 28px; margin-block: 32px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps > li { grid-template-columns: 125px minmax(0, 1fr); gap: 20px; padding-block: 20px; border-top: 1px solid var(--line); }
  .b2b-process, .deliverables { margin-block: 40px; }
  .deliverables { padding-block: 28px; }
  .b2b-panel .deliverables { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .page-cta { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 40px; padding: 24px; }
  .page-cta > .btn, .page-cta > .service-order, .page-cta > .pricing-action-row { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
  .service-item summary { grid-template-columns: 80px minmax(0, 1fr) 44px; gap: 16px; }
  .service-item summary picture { width: 80px; height: 80px; }
  .service-item summary h2 { font-size: 1.125rem; }
  .service-item summary p { font-size: .9375rem; }
  .service-content { padding: 0 0 28px 96px; }
  .contact-form { padding: 24px; }
  .contact-page .contact-info { padding: 24px; }
  .form-grid { gap: 16px; }
  .cookie-banner { display: block; bottom: 10px; padding: 18px; }
  .cookie-actions { margin-top: 16px; }
  .cookie-actions .btn { flex: 1; }
}
@media (max-width: 600px) {
  .contact-summary, .reference-detail-list { grid-template-columns: 1fr; gap: 32px; }
  .contact-summary-side { display: block; }
  .contact-summary-side > *, .contact-summary-content { grid-area: auto; }
  .contact-summary-content { border-left: 0; padding-left: 0; margin-top: 0; }
  .service-item summary { grid-template-columns: 64px minmax(0, 1fr) 44px; gap: 12px; padding-block: 20px; }
  .service-item summary picture { width: 64px; height: 72px; }
  .service-content { padding-left: 0; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .logo-row { gap: 16px; }
  .logo-carousel { gap: 8px; }
  .logo-cell, .logo-home .logo-cell { flex-basis: 140px; }
  .references-compact .section-head { align-items: flex-start; gap: 16px; }
  .footer-brand img { width: 80px; height: auto; }
  .footer-brand p { font-size: .75rem; }
  .footer-col { gap: 6px 12px; font-size: .75rem; }
  .footer-col > a { font-size: .75rem; }
  .footer-legal { gap: 5px 12px; }
}
@media (max-width: 390px) {
  .brand img { width: 84px; height: auto; }
  .nav { gap: 0 8px; }
  .header-phone { padding-inline: 10px; font-size: .75rem; }
  .steps > li { grid-template-columns: 1fr; gap: 8px; }
  .contact-form { padding: 20px; }
  .contact-page .contact-info { padding: 20px; }
  .empty-page .text-link { display: flex; margin: 16px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Price guide: simple rows, readable rates and short notes. */
.pricing > .page-intro { margin-bottom: 36px; }
.pricing-list { display: grid; }
.pricing-item { min-width: 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.pricing-item:last-child { border-bottom: 1px solid var(--line); }
.pricing-item summary { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: center; gap: 28px; padding-block: 26px; cursor: pointer; list-style: none; }
.pricing-item summary::-webkit-details-marker { display: none; }
.pricing-item summary::marker { content: ""; }
.pricing-item summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; border-radius: 4px; }
.pricing-item summary h2 { font-size: 1.375rem; line-height: 1.4; margin: 0; }
.pricing-item .details-toggle { border-color: transparent; background: transparent; }
.pricing-item summary:hover .details-toggle, .pricing-item[open] .details-toggle { background: var(--yellow); border-color: var(--yellow); }
.pricing-item[open] .details-toggle::after { display: none; }
.pricing-content { min-width: 0; padding-block: 0 32px; }
.pricing-breakdown { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: start; }
.pricing-aside { padding-left: 24px; border-left: 2px solid var(--yellow); }
.pricing-aside h3 { margin: 0 0 14px; font-size: 1.125rem; line-height: 1.45; }
.pricing-aside p { margin: 0; font-size: 1rem; line-height: 1.75; }
.pricing-aside p + p { margin-top: 16px; }
.pricing-table { width: 100%; border-collapse: collapse; }
.pricing-table th, .pricing-table td { border-bottom: 1px solid var(--line); padding-block: 14px; vertical-align: top; font-size: 1rem; }
.pricing-table th { padding-right: 20px; font-weight: 400; text-align: left; }
.pricing-table thead th { padding-top: 0; padding-bottom: 12px; font-size: .875rem; color: var(--muted); }
.pricing-table th:last-child, .pricing-table td { width: 1%; padding-right: 0; white-space: nowrap; text-align: right; }
.pricing-table td { font-weight: 600; font-variant-numeric: tabular-nums; }
.pricing-note { margin: 16px 0 0; font-size: .875rem; line-height: 1.65; }
.pricing-other p { max-width: 85ch; margin: 0; }
.pricing > .page-cta { background: var(--ink); }
.pricing > .page-cta > h2 { color: #fff; }
.pricing > .page-cta > p { color: #d3d3d3; }
@media (max-width: 900px) {
  .pricing-breakdown { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 600px) {
  .pricing > .page-intro { margin-bottom: 28px; }
  .pricing-item summary { padding-block: 22px; gap: 16px; }
  .pricing-item summary h2 { font-size: 1.1875rem; }
  .pricing-content { padding-bottom: 28px; }
  .pricing-aside { padding-left: 18px; }
  .pricing-table th { padding-right: 12px; }
  .pricing-table th, .pricing-table td { font-size: .9375rem; padding-block: 12px; }
  .pricing-table thead th { padding-top: 0; font-size: .875rem; }
}

/* Core services are visible without an extra disclosure step. */
.service-static { display: grid; grid-template-columns: 140px minmax(0, 1fr); align-items: start; gap: 32px; padding-block: 24px; }
.service-static > picture { display: block; width: 140px; height: 105px; overflow: hidden; border-radius: var(--radius); }
.service-static > picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.service-static-copy { min-width: 0; }
.service-static h2 { font-size: 1.5rem; margin: 0 0 8px; }
.service-static p { max-width: 85ch; margin: 0 0 12px; }
.service-static .service-more { margin: 0; }
@media (max-width: 760px) {
  .service-static { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; }
  .service-static > picture { width: 80px; height: 80px; }
  .service-static h2 { font-size: 1.125rem; }
}
@media (max-width: 600px) {
  .service-static { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding-block: 20px; }
  .service-static > picture { grid-column: 1; grid-row: 1; width: 64px; height: 72px; }
  .service-static-copy { display: contents; }
  .service-static h2 { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
  .service-static p { grid-column: 1 / -1; grid-row: 2; margin: 0; }
  .service-static .service-more { grid-column: 1 / -1; grid-row: 3; }
}

.b2b-deliverables-copy > p + p { margin-top: 16px; }
