/*
 * Euro-Chem — industrial catalogue.
 * Inter, measured rules, white space, navy and material photography.
 * All assets remain local. No animated entrances or decorative dependencies.
 */

/* 01. Tokens -------------------------------------------------------------- */
:root {
    --navy-950: #07172c;
    --navy-900: #0b1f3a;
    --navy-700: #12325c;
    --ink: #202a35;
    --paper: #fff;
    --warm-50: #f6f5f2;
    --warm-100: #e9e6df;
    --gray-600: #56616e;
    --line: #d6dbe0;
    --line-dark: #34465b;
    --steel-50: #f0f3f5;
    --steel-100: #e3e9ed;
    --accent: #1e5aa8;
    --accent-hover: #123f78;
    --signal: #bca47b; /* Decorative registration marks, never small text. */
    --on-dark-muted: #c3cdd8;
    --radius: 4px;
    --shadow: 0 12px 28px -18px rgba(11, 31, 58, .22);
    --container: 1248px;
    --gutter: clamp(1.25rem, 4vw, 3.5rem);
    --section: clamp(4rem, 8vw, 7.5rem);
    --space-1: .5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-6: 3rem;
    --space-8: 4rem;
    --ease: cubic-bezier(.2, .65, .3, 1);
    --duration: 180ms;
}

/* 02. Base and accessibility --------------------------------------------- */
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font: 400 1.0625rem/1.7 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
button, input, textarea, select {
    font: inherit;
}
a {
    color: var(--accent);
    text-underline-offset: .22em;
    text-decoration-thickness: 1px;
}
a:hover {
    color: var(--accent-hover);
}
/* A two-colour ring remains visible on light, navy and photographic surfaces. */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    box-shadow: 0 0 0 3px var(--paper);
}
::selection {
    color: var(--paper);
    background: var(--navy-700);
}
.screen-reader-text, .skip-link {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    overflow: hidden;
    width: 1px;
    height: 1px;
    white-space: nowrap;
}
.skip-link:focus {
    position: fixed;
    clip: auto;
    clip-path: none;
    width: auto;
    height: auto;
    top: 1rem;
    left: 1rem;
    z-index: 100000;
    padding: .75rem 1rem;
    background: var(--paper);
    color: var(--navy-900);
}

/* 03. Type and editorial headings ---------------------------------------- */
h1, h2, h3 {
    margin: 0 0 .65em;
    color: var(--navy-900);
    text-wrap: balance;
    overflow-wrap: break-word;
}
h1 {
    font-size: clamp(2.625rem, 5.7vw, 5rem);
    font-weight: 760;
    line-height: 1.04;
    letter-spacing: -.052em;
}
h2 {
    font-size: clamp(2rem, 3.5vw, 3.125rem);
    font-weight: 720;
    line-height: 1.12;
    letter-spacing: -.04em;
}
h3 {
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -.025em;
}
p {
    margin: 0 0 1.15em;
}
.lead {
    max-width: 42rem;
    font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
    line-height: 1.6;
    letter-spacing: -.018em;
}
.eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 1.5rem;
    color: var(--gray-600);
    font-size: .6875rem;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
}
.eyebrow::before {
    content: "";
    width: 2rem;
    height: 2px;
    flex: 0 0 auto;
    background: var(--signal);
}
.eyebrow > span {
    font-variant-numeric: tabular-nums;
}
.section-heading {
    max-width: 49rem;
    margin-bottom: var(--space-6);
}
.section-heading h2:last-child, .section-heading p:last-child {
    margin-bottom: 0;
}
/* Without an eyebrow label the gold rule sits tight above the headline. */
.section-heading > h2:first-child::before {
    content: "";
    display: block;
    width: 2rem;
    height: 2px;
    margin-bottom: 1.25rem;
    background: var(--signal);
}
.prose .section-heading {
    margin-bottom: var(--space-4);
}
.page-heading::before {
    content: "";
    display: block;
    width: 3rem;
    height: 2px;
    margin-bottom: 1.25rem;
    background: var(--signal);
}
.page-heading h1 {
    margin-bottom: 0;
}

/* 04. Layout ------------------------------------------------------------- */
.container {
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
}
.section {
    padding-block: var(--section);
}
.section[id] {
    scroll-margin-top: 1rem;
}
.section--warm {
    background: var(--warm-50);
}
.section--navy {
    color: var(--paper);
    background: var(--navy-900);
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
}
.section--navy h2, .section--navy h3 {
    color: var(--paper);
}
.section--navy .eyebrow {
    color: var(--on-dark-muted);
}
.section-action {
    display: flex;
    justify-content: flex-end;
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    border-top: 1px solid var(--line);
}
.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    padding-block: 0;
}
/* Copy follows the container; media occupies a full half of the section.
 * Both tracks use the available page width, accounting for the scrollbar. */
.split__content {
    grid-area: 1 / 1 / 2 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.split > *, .split__content > *, .cta > *, .cards > *, .post-grid > * {
    min-width: 0;
}
.split .prose {
    grid-column: 1;
    padding-block: clamp(3rem, 6vw, 6rem);
    padding-inline-end: clamp(2.5rem, 5vw, 5rem);
}
.split--reverse .prose {
    grid-column: 2;
    padding-inline: clamp(2.5rem, 5vw, 5rem) 0;
}
.prose {
    max-width: 49rem;
    overflow-wrap: break-word;
}
.prose > :last-child {
    margin-bottom: 0;
}
.prose > :is(h2, h3):not(:first-child) {
    margin-top: 1.5em;
}
.prose li + li {
    margin-top: .5rem;
}

/* 05. Header and navigation ---------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: var(--paper);
    background: var(--navy-900);
    border-top: 3px solid var(--navy-700);
    border-bottom: 1px solid var(--line-dark);
}
body.admin-bar .site-header {
    top: 32px;
}
.site-header__inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.brand, .custom-logo-link {
    flex-shrink: 0;
    color: var(--paper);
    font-weight: 700;
    text-decoration: none;
}
.brand a {
    color: inherit;
    text-decoration: none;
}
.custom-logo {
    max-height: 52px;
    width: auto;
}
.nav, .nav__list {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
}
.nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .75rem 0;
    color: var(--on-dark-muted);
    font-size: .75rem;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: .075em;
    text-decoration: none;
    text-transform: uppercase;
}
.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: .2rem;
    height: 1px;
    background: var(--signal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration) var(--ease);
}
.nav a:hover, .nav a[aria-current="page"],
.nav .current-menu-item > a, .nav .current_page_item > a {
    color: var(--paper);
}
.nav a:hover::after, .nav a[aria-current="page"]::after,
.nav .current-menu-item > a::after, .nav .current_page_item > a::after {
    transform: scaleX(1);
}
/* Custom anchor items (#o-nas, #kontakt) share the home URL; only the page item is current. */
.nav .menu-item-type-custom.current-menu-item:not(.lang-item) > a {
    color: var(--on-dark-muted);
}
.nav .menu-item-type-custom.current-menu-item:not(.lang-item) > a::after {
    transform: scaleX(0);
}
.nav .menu-item-type-custom.current-menu-item:not(.lang-item) > a:hover::after {
    transform: scaleX(1);
}
.nav__list .lang-item > a {
    padding: .5rem .875rem;
    border: 1px solid #6f7e90;
    border-radius: 2px;
    color: var(--paper);
}
.nav__list .lang-item > a::after {
    display: none;
}
.nav-toggle {
    display: none;
    min-width: 48px;
    min-height: 48px;
    padding: .625rem;
    border: 1px solid #6f7e90;
    border-radius: 2px;
    color: var(--paper);
    background: transparent;
    cursor: pointer;
}
.nav-toggle > span:not(.screen-reader-text) {
    display: block;
    width: 24px;
    height: 1px;
    margin: 5px auto;
    background: currentColor;
}
.nav-toggle[aria-expanded="true"] {
    background: var(--navy-700);
    border-color: var(--paper);
}

/* 06. Photographic hero -------------------------------------------------- */
.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-height: clamp(38rem, 78svh, 52rem);
    overflow: hidden;
    color: var(--paper);
    background: var(--navy-900);
}
.hero__image, .hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.hero__image {
    z-index: -3;
    object-fit: cover;
    object-position: 58% center;
}
/* The dark field extends behind the entire copy column, including on white photos. */
.hero__overlay {
    z-index: -2;
    background: linear-gradient(90deg, rgba(7, 23, 44, .96) 0%, rgba(7, 23, 44, .87) 40%, rgba(7, 23, 44, .72) 68%, rgba(7, 23, 44, .24) 100%);
}
.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 0 70%;
    border-left: 1px solid rgba(255, 255, 255, .1);
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 6rem 6rem;
    pointer-events: none;
}
.hero__content {
    padding-block: clamp(4rem, 7vw, 7rem);
}
.hero__copy {
    max-width: 55rem;
    padding-left: clamp(1.5rem, 3vw, 3rem);
    border-left: 1px solid rgba(255, 255, 255, .3);
}
.hero .eyebrow {
    color: var(--paper);
    margin-bottom: 2rem;
}
.hero h1 {
    max-width: 18ch;
    margin-bottom: 1.75rem;
    color: var(--paper);
}
.hero .lead {
    max-width: 35rem;
    margin-bottom: 0;
    color: var(--paper);
    font-size: clamp(1rem, 1.4vw, 1.1875rem);
    line-height: 1.7;
}

/* 07. Controls ----------------------------------------------------------- */
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2.5rem;
}
.btn, .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    min-height: 52px;
    padding: .875rem 1.375rem;
    border: 1px solid transparent;
    border-radius: 2px;
    font: 650 .8125rem/1.5 Inter, system-ui, sans-serif;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: color var(--duration) var(--ease), background-color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.btn::after {
    content: "";
    width: .45rem;
    height: .45rem;
    flex: 0 0 auto;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
}
.btn--primary, .wpcf7-submit {
    color: var(--paper);
    background: var(--navy-900);
}
.btn--primary:hover, .wpcf7-submit:hover {
    color: var(--paper);
    background: var(--navy-700);
}
.hero .btn--primary, .section--navy .btn--primary {
    color: var(--navy-900);
    background: var(--paper);
}
.hero .btn--primary:hover, .section--navy .btn--primary:hover {
    color: var(--navy-900);
    background: var(--warm-100);
}
.btn--ghost {
    color: var(--paper);
    border-color: rgba(255, 255, 255, .7);
    background: transparent;
}
.btn--ghost:hover {
    color: var(--navy-900);
    background: var(--paper);
    border-color: var(--paper);
}
.btn--ghost-dark {
    margin-top: 1rem;
    color: var(--navy-900);
    border-color: var(--navy-900);
    background: transparent;
}
.btn--ghost-dark:hover {
    color: var(--paper);
    background: var(--navy-900);
}

/* 08. Material photography ------------------------------------------------ */
.split__media {
    position: relative;
    grid-area: 1 / 2 / 2 / 3;
    align-self: stretch;
    min-height: clamp(360px, 42vw, 620px);
    overflow: hidden;
}
.split__media::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 3rem;
    height: 2px;
    background: var(--signal);
}
.split__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}
.split--reverse .split__media {
    grid-column: 1;
}
.split--reverse .split__media::after {
    right: auto;
    left: 0;
}
.stat-panel {
    padding: clamp(2rem, 5vw, 4rem);
    color: var(--paper);
    background: var(--navy-900);
    border-top: 3px solid var(--signal);
    border-radius: var(--radius);
}
.stat-panel strong {
    display: block;
    margin-bottom: 1rem;
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 720;
    line-height: 1;
    letter-spacing: -.06em;
}
.split .stat-panel {
    grid-area: 1 / 1 / 2 / 2;
    margin-block: clamp(3rem, 6vw, 6rem);
    margin-inline-start: max(var(--gutter), calc(100% - var(--container) / 2));
}

/* 09. Product cards: overview + native specification disclosure ----------- */
.cards, .post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 1.5rem;
}
.card {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
}
.product-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: 27rem;
    overflow: hidden;
    border-top: 3px solid var(--navy-900);
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.product-card--eclipse {
    background: var(--steel-50);
    border-top-color: #546372;
}
.product-card__watermark {
    position: absolute;
    z-index: -1;
    right: -1rem;
    bottom: -1.25rem;
    width: clamp(180px, 16vw, 220px);
    height: clamp(180px, 16vw, 220px);
    color: var(--navy-900);
    opacity: .055;
    pointer-events: none;
}
.product-card--eclipse .product-card__watermark {
    opacity: .07;
}
.product-card__watermark svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}
.product-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1.5rem;
}
.product-card__family {
    color: var(--gray-600);
    font-size: .6875rem;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem .55rem;
    border: 1px solid var(--line);
    border-radius: 2px;
    color: var(--navy-900);
    background: var(--warm-50);
    font-size: .6875rem;
    font-weight: 650;
    line-height: 1.5;
    letter-spacing: 0;
}
.product-card h3 {
    margin-bottom: 1.75rem;
    font-size: clamp(2rem, 3vw, 2.625rem);
    font-weight: 720;
    line-height: 1.1;
    letter-spacing: -.045em;
    text-wrap: wrap;
}
.product-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.125rem 1.5rem;
    margin: 0 0 1.5rem;
    font-variant-numeric: tabular-nums;
}
.product-specs--preview {
    min-height: 9.5rem;
    margin-bottom: 2rem;
    align-content: start;
}
.product-specs__item {
    min-width: 0;
    padding-top: .75rem;
    border-top: 1px solid var(--line);
}
.product-specs dt {
    margin-bottom: .375rem;
    color: var(--gray-600);
    font-size: .75rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.product-specs dd {
    margin: 0;
    color: var(--navy-900);
    font-size: 1rem;
    font-weight: 650;
    line-height: 1.45;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
}
.details {
    margin-top: auto;
    border-top: 1px solid var(--line);
}
.details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 56px;
    padding: .75rem 0;
    color: var(--navy-900);
    font-size: .8125rem;
    font-weight: 650;
    line-height: 1.5;
    list-style: none;
    cursor: pointer;
}
.details summary::-webkit-details-marker {
    display: none;
}
.details summary:hover > span:first-child {
    text-decoration: underline;
    text-underline-offset: .25em;
}
.details__toggle {
    position: relative;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border: 1px solid #778391;
    border-radius: 50%;
    background: var(--paper);
    transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
}
.details__toggle::before, .details__toggle::after {
    content: "";
    position: absolute;
    top: calc(50% - .5px);
    left: calc(50% - 5px);
    width: 10px;
    height: 1px;
    background: currentColor;
}
.details__toggle::after {
    transform: rotate(90deg);
}
.details[open] .details__toggle {
    color: var(--paper);
    background: var(--navy-900);
    border-color: var(--navy-900);
}
.details[open] .details__toggle::after {
    transform: rotate(0);
}
.details__body {
    padding-top: 1rem;
    font-size: .9375rem;
    line-height: 1.65;
    overflow-wrap: break-word;
}
.details__body > :last-child {
    margin-bottom: 0;
}
.product-card__teaser {
    color: var(--gray-600);
}
.product-family-intro {
    max-width: none;
    margin-top: var(--space-8);
    padding-top: var(--space-4);
    border-top: 1px solid var(--line);
}
.product-family-intro h3 {
    font-size: clamp(1.5rem, 2.3vw, 2rem);
}
.product-family-intro p {
    max-width: 49rem;
}

/* 10. Why Euro-Chem: numbered navy panels -------------------------------- */
.tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.tile {
    position: relative;
    isolation: isolate;
    min-width: 0;
    min-height: 21rem;
    padding: clamp(1.25rem, 2vw, 2rem);
    overflow: hidden;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: #122840;
}
/* A short gold rule replaces numbering; the title sits directly under it. */
.tile::before {
    content: "";
    display: block;
    width: 2rem;
    height: 2px;
    margin-bottom: 1rem;
    background: var(--signal);
}
.tile__icon {
    position: absolute;
    z-index: -1;
    right: -.75rem;
    bottom: -.75rem;
    width: 10.5rem;
    height: 10.5rem;
    color: var(--paper);
    opacity: .1;
    pointer-events: none;
}
.tile__icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1;
    stroke-linecap: square;
    stroke-linejoin: miter;
}
.tile h3 {
    max-width: 21ch;
    margin-bottom: 1rem;
    font-size: 1.0625rem;
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -.02em;
    text-wrap: wrap;
}
.tile p {
    position: relative;
    margin: 0;
    color: var(--on-dark-muted);
    font-size: .875rem;
    line-height: 1.7;
}

/* 11. Contact and forms -------------------------------------------------- */
.cta {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(3rem, 8vw, 8rem);
    align-items: start;
}
.cta > .prose {
    padding-top: 1rem;
}
.form-card {
    padding: clamp(1.5rem, 3vw, 3rem);
    border: 1px solid var(--line);
    border-top: 3px solid var(--navy-900);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
}
.wpcf7-form label {
    display: block;
    margin-bottom: .5rem;
    color: var(--navy-900);
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.5;
}
.wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.wpcf7-form textarea, .wpcf7-form select {
    width: 100%;
    min-height: 48px;
    margin-top: .5rem;
    padding: .75rem;
    border: 1px solid #7b8792;
    border-radius: 2px;
    color: var(--ink);
    background: #fcfcfb;
    font: 400 1rem/1.5 Inter, system-ui, sans-serif;
}
.wpcf7-form textarea {
    min-height: 10rem;
    height: 12rem;
    resize: vertical;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus, .wpcf7-form select:focus {
    border-color: var(--navy-700);
}
.wpcf7-form > p {
    min-width: 0;
    margin-bottom: 1rem;
}
/* Math check (CF7 quiz) */
.wpcf7-quiz-label {
    display: block;
    margin-bottom: .4rem;
    font-weight: 600;
}
.wpcf7-form input.wpcf7-quiz {
    max-width: 10rem;
}
/* Mandatory consent checkbox */
.wpcf7-acceptance .wpcf7-list-item {
    display: block;
    margin: 0;
}
.wpcf7-acceptance .wpcf7-list-item label {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .35rem .75rem;
    align-items: start;
    margin: 0;
    color: var(--gray-600);
    font-size: .8125rem;
    font-weight: 400;
    line-height: 1.55;
}
.wpcf7-acceptance input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    margin: .2rem 0 0;
    accent-color: var(--navy-900);
}
.wpcf7-acceptance a {
    color: var(--navy-900);
}
.wpcf7-not-valid-tip {
    color: #a32020;
    font-size: .875rem;
}
.wpcf7-response-output {
    margin: 1rem 0 0 !important;
    padding: 1rem !important;
    border-radius: 2px;
    font-size: .9375rem;
}
.form-legal {
    margin: 1.25rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    color: var(--gray-600);
    font-size: .75rem;
    line-height: 1.65;
}
/* Merged contact section: copy + company details on navy, form card on white. */
.section--contact {
    background: var(--navy-950);
}
.section--contact .cta {
    align-items: stretch;
}
.section--contact .cta__copy {
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
}
.section--contact .lead {
    color: var(--paper);
}
.section--contact .cta__copy > p {
    color: var(--on-dark-muted);
}
.contact-details {
    margin-top: auto;
    padding-top: var(--space-4);
    border-top: 1px solid var(--line-dark);
}
.contact-details h3 {
    margin-bottom: 1.25rem;
    color: var(--on-dark-muted);
    font-size: .6875rem;
    font-weight: 650;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.contact-details__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2.5rem;
    color: var(--on-dark-muted);
    font-size: .9375rem;
    line-height: 1.75;
}
.contact-details__grid p {
    margin: 0;
}
.contact-details strong {
    color: var(--paper);
    font-size: 1.0625rem;
}
.contact-details__mail {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--paper);
    font-weight: 600;
}
.contact-details__mail:hover {
    color: var(--warm-100);
}
@media (max-width: 719px) {
    .contact-details__grid {
        grid-template-columns: 1fr;
    }
}
.contact-details__label {
    color: var(--on-dark-muted);
    font-size: .6875rem;
    font-weight: 650;
    letter-spacing: .12em;
    text-transform: uppercase;
}
/* Embedded Google map beneath the contact grid. */
.contact-map {
    margin-top: var(--space-6);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: var(--navy-900);
    overflow: hidden;
}
.contact-map iframe {
    display: block;
    width: 100%;
    height: clamp(18rem, 40vw, 26rem);
    border: 0;
    filter: saturate(.85);
}
.contact-map--gated iframe {
    display: none;
}
.contact-map--gated.is-loaded iframe {
    display: block;
}
.contact-map--gated.is-loaded .contact-map__consent {
    display: none;
}
.contact-map__consent {
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 1rem;
    min-height: clamp(18rem, 40vw, 26rem);
    padding: 2rem;
    color: var(--on-dark-muted);
    text-align: center;
}
.contact-map__consent p {
    margin: 0;
    max-width: 32rem;
}
.contact-map__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--line-dark);
}
.contact-map__address {
    margin: 0;
    color: var(--paper);
    font-weight: 600;
}
.section--contact .form-card {
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .45);
}

/* 12. News, articles and page mastheads ---------------------------------- */
.news-card {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    overflow: hidden;
}
.news-card img {
    width: 100%;
    height: 100%;
    min-height: 18rem;
    object-fit: cover;
}
.news-card--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.news-card--featured > img {
    min-height: clamp(280px, 28vw, 400px);
}
.news-card > div {
    min-width: 0;
    padding: clamp(1.5rem, 3vw, 3rem);
    overflow-wrap: break-word;
}
.news-card > div:only-child {
    grid-column: 1 / -1;
}
.news-card h2, .news-card h3 {
    margin-bottom: 1rem;
    font-size: clamp(1.375rem, 2vw, 1.875rem);
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -.03em;
}
.news-card h2 a {
    color: var(--navy-900);
    text-decoration: none;
}
.news-card h2 a:hover {
    text-decoration: underline;
}
.news-card p {
    font-size: .9375rem;
    line-height: 1.7;
}
.news-card > div > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--navy-900);
    font-size: .8125rem;
    font-weight: 650;
}
/* Listing cards: equal height per row, "read more" pinned to the bottom. */
.post-grid {
    align-items: stretch;
}
.post-grid .news-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
}
.post-grid .news-card > div {
    display: flex;
    flex-direction: column;
}
.post-grid .news-card > div > a {
    margin-top: auto;
}
.post-grid .news-card p {
    margin-bottom: 1.5rem;
}
.post-grid .news-card img {
    aspect-ratio: 16 / 10;
    min-height: 0;
    height: auto;
    object-fit: cover;
}
.page-hero {
    position: relative;
    padding-block: clamp(4rem, 7vw, 7rem);
    color: var(--on-dark-muted);
    background: var(--navy-900);
    border-bottom: 1px solid var(--line-dark);
}
.page-hero > .container::before {
    content: "";
    display: block;
    width: 3rem;
    height: 2px;
    margin-bottom: 2rem;
    background: var(--signal);
}
.page-hero h1 {
    max-width: 20ch;
    color: var(--paper);
}
.page-hero h2, .page-hero h3 {
    color: var(--paper);
}
.page-hero p {
    max-width: 49rem;
}
.page-hero .eyebrow {
    color: var(--on-dark-muted);
}
.page-hero__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: end;
}
.page-hero > .page-hero__layout::before {
    display: none;
}
.page-hero__layout h1 {
    margin-bottom: 0;
}
.page-hero__intro {
    min-width: 0;
    padding-left: 2rem;
    border-left: 1px solid var(--line-dark);
    font-size: .9375rem;
    line-height: 1.75;
}
.page-hero__intro h2 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    line-height: 1.3;
    letter-spacing: -.02em;
}
.page-hero__intro > :last-child {
    margin-bottom: 0;
}
/* Post masthead: title on navy, featured image overlapping into the article. */
.page-hero--lead-image {
    padding-bottom: calc(clamp(4rem, 7vw, 7rem) + 4rem);
}
.single-media {
    position: relative;
    margin-top: -4rem;
}
.single-image {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: var(--radius);
}
/* Masthead with a photographic background (ACF header_image / post thumbnail). */
.page-hero--media {
    isolation: isolate;
    display: grid;
    align-items: end;
    min-height: clamp(22rem, 46svh, 34rem);
    overflow: hidden;
}
.page-hero__image, .page-hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.page-hero__image {
    z-index: -2;
    object-fit: cover;
}
.page-hero__overlay {
    z-index: -1;
    background: linear-gradient(90deg, rgba(7, 23, 44, .94) 0%, rgba(7, 23, 44, .78) 45%, rgba(7, 23, 44, .35) 100%);
}
.page-hero--media > .container {
    position: relative;
}
.back-link {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}
.page-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 0;
    margin: 3rem 0 0;
    list-style: none;
}
.page-numbers :is(a, span) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: .5rem .875rem;
    border: 1px solid var(--line);
    font-size: .875rem;
    text-decoration: none;
}
.page-numbers .current {
    color: var(--paper);
    background: var(--navy-900);
}

/* 13. Catalogue tables --------------------------------------------------- */
.family + .family {
    margin-top: var(--space-8);
}
.family__heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .875rem 1.25rem;
    margin-bottom: 1.5rem;
}
.family__heading h2 {
    margin: 0;
    font-size: clamp(1.75rem, 2.8vw, 2.5rem);
}
.family__heading .badge {
    margin-left: auto;
}
.spec-table {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    scrollbar-color: #728094 var(--steel-50);
    scrollbar-width: thin;
}
.spec-table table {
    width: 100%;
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--ink);
    background: var(--paper);
    font-size: .875rem;
    line-height: 1.55;
    font-variant-numeric: tabular-nums;
}
.spec-table th, .spec-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}
.spec-table thead th {
    color: var(--paper);
    background: var(--navy-900);
    border-bottom-color: var(--navy-900);
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.5;
}
.spec-table tbody tr {
    --row-surface: var(--paper);
    background: var(--row-surface);
}
.spec-table tbody tr:nth-child(even) {
    --row-surface: var(--warm-50);
}
.spec-table tbody th, .spec-table tbody td {
    background: var(--row-surface);
}
.spec-table tbody th:first-child, .spec-table tbody td:first-child {
    color: var(--navy-900);
    font-weight: 700;
    white-space: nowrap;
}
/* Opaque sticky cells are essential: row content must never show through. */
.spec-table tr > :first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    border-right: 1px solid var(--line);
}
.spec-table thead tr > :first-child {
    z-index: 2;
    border-right-color: var(--line-dark);
}
.spec-table tbody tr:last-child > * {
    border-bottom: 0;
}
.table-note, .catalog-footer {
    margin-top: .875rem;
    color: var(--gray-600);
    font-size: .8125rem;
    line-height: 1.65;
}
.catalog-footer {
    margin-block: 1.5rem 0;
}
.catalog-cards {
    margin-top: var(--space-8);
    padding-top: var(--space-4);
    border-top: 1px solid var(--line);
}

/* 14. Footer ------------------------------------------------------------- */
.site-footer {
    padding-top: clamp(3.5rem, 6vw, 6rem);
    color: var(--on-dark-muted);
    background: var(--navy-950);
    border-top: 3px solid var(--navy-700);
    font-size: .875rem;
    line-height: 1.8;
}
.site-footer a, .site-footer strong {
    color: var(--paper);
}
.site-footer a:hover {
    color: var(--on-dark-muted);
}
.site-footer .custom-logo-link {
    display: inline-block;
    margin-bottom: 1.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
}
.footer-grid nav {
    padding-left: 2rem;
    border-left: 1px solid var(--line-dark);
}
.footer-grid ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .125rem 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-grid nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-block: .5rem;
    text-decoration: none;
}
.footer-grid nav a:hover {
    text-decoration: underline;
}
.legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .75rem 2rem;
    margin-top: clamp(3rem, 5vw, 5rem);
    padding-block: 1.5rem;
    border-top: 1px solid var(--line-dark);
    font-size: .6875rem;
    line-height: 1.7;
}
.legal p {
    margin: 0;
}
.legal p:last-child {
    flex-shrink: 0;
}
.legal__links {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .6rem;
    white-space: nowrap;
}
.legal__links a {
    color: var(--on-dark-muted);
    text-decoration-color: var(--line-dark);
}
.legal__links a:hover {
    color: var(--paper);
}

/* 15. Responsive layouts ------------------------------------------------- */
@media (min-width: 720px) {
    .wpcf7-form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 1rem;
    }
    .wpcf7-form > p:nth-last-child(-n+6), .wpcf7-form > .wpcf7-response-output {
        grid-column: 1 / -1;
    }
}
@media (max-width: 1099px) {
    .tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tile {
        min-height: 19rem;
        padding: 2rem;
    }
    .tile h3 {
        max-width: 25ch;
    }
    .tile p {
        max-width: 34ch;
    }
}
@media (max-width: 999px) {
    .site-header__inner {
        min-height: 76px;
    }
    .nav-toggle {
        display: block;
    }
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100dvh - 126px);
        overflow-y: auto;
        padding: 1.25rem var(--gutter) 2rem;
        background: var(--navy-900);
        border-bottom: 1px solid var(--line-dark);
    }
    .nav.is-open {
        display: block;
    }
    .nav__list {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }
    .nav__list > li + li {
        border-top: 1px solid var(--line-dark);
    }
    .nav a {
        display: flex;
        min-height: 52px;
        padding-block: 1rem;
        font-size: .8125rem;
    }
    .nav__list .lang-item > a {
        display: inline-flex;
        min-height: 44px;
        margin-top: 1rem;
    }
    .cta, .page-hero__layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .page-hero__intro {
        max-width: 49rem;
        padding: 2rem 0 0;
        border-left: 0;
        border-top: 1px solid var(--line-dark);
    }
    .hero__copy {
        max-width: 44rem;
    }
    .hero__overlay {
        background: linear-gradient(90deg, rgba(7, 23, 44, .94), rgba(7, 23, 44, .78) 75%, rgba(7, 23, 44, .55));
    }
    .product-card__meta {
        align-items: flex-start;
        flex-direction: column;
        min-height: 4rem;
    }

}
@media (max-width: 899px) {
    .split, .split__content {
        grid-template-columns: minmax(0, 1fr);
    }
    .split__content, .split__media, .split .stat-panel {
        grid-area: auto / 1;
    }
    .split .prose {
        grid-column: 1;
        padding-inline: 0;
    }
    .split__media {
        height: 60vw;
        min-height: 0;
    }
    .split .stat-panel {
        margin: 0 var(--gutter) 3rem;
    }
}
@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}
@media (max-width: 719px) {
    body {
        font-size: 1rem;
        line-height: 1.7;
    }
    .cards, .post-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        min-height: 0;
    }
    .hero__content {
        padding-block: 4rem 4.5rem;
    }
    .hero__copy {
        max-width: none;
        padding-left: 1.125rem;
    }
    .hero h1 {
        max-width: 18ch;
        font-size: clamp(2.375rem, 7.6vw, 3.5rem);
    }
    .hero__image {
        object-position: 62% center;
    }
    .hero__overlay {
        background: linear-gradient(90deg, rgba(7, 23, 44, .94), rgba(7, 23, 44, .78));
    }
    .hero::after {
        display: none;
    }
    .actions {
        gap: .75rem;
        margin-top: 2rem;
    }
    .actions .btn {
        flex: 1 1 13rem;
    }
    .section-heading {
        margin-bottom: 2rem;
    }
    .section-action {
        justify-content: stretch;
    }
    .section-action .btn {
        width: 100%;
    }
    .product-card {
        min-height: 0;
    }
    .product-card__meta {
        flex-direction: row;
        align-items: center;
        min-height: 0;
    }
    .product-specs--preview {
        min-height: 0;
    }

    .news-card {
        grid-template-columns: 1fr;
    }
    .news-card img {
        height: auto;
        min-height: 0;
        aspect-ratio: 3 / 2;
        object-fit: cover;
    }
    .news-card--featured > img {
        min-height: 280px;
    }
    .family__heading {
        gap: .75rem 1rem;
    }
    .family__heading .badge {
        margin-left: 0;
    }
    .spec-table th, .spec-table td {
        padding: .875rem 1rem;
    }
    .footer-grid {
        gap: 2.5rem;
    }
    .footer-grid nav {
        padding: 1.5rem 0 0;
        border-left: 0;
        border-top: 1px solid var(--line-dark);
    }
    .legal {
        flex-direction: column;
        gap: .75rem;
    }
}
@media (max-width: 600px) {
    /* WordPress makes its mobile admin bar absolute at this breakpoint. */
    body.admin-bar .site-header {
        top: 0;
    }
    .tiles {
        grid-template-columns: 1fr;
    }
    .tile {
        min-height: 16rem;
        padding: 1.75rem;
    }
    .tile::before {
        margin-bottom: 1rem;
    }
    .tile h3 {
        font-size: 1.125rem;
    }
    .tile p {
        max-width: 35ch;
    }
}
@media (max-width: 359px) {
    .product-specs {
        grid-template-columns: 1fr;
    }
    .hero__copy {
        padding-left: 0;
        border-left: 0;
    }
}

/* 16. Interaction, motion and print -------------------------------------- */
@media (hover: hover) and (pointer: fine) {
    .product-card:hover {
        transform: translateY(-3px);
        border-color: #8491a0;
        border-top-color: var(--navy-900);
        box-shadow: 0 18px 36px -24px rgba(11, 31, 58, .35);
    }
    .spec-table tbody tr:hover {
        --row-surface: var(--steel-100);
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
    .product-card:hover {
        transform: none;
    }
}
@media (forced-colors: active) {
    .hero__image, .hero__overlay, .hero::after,
    .product-card__watermark, .tile__icon {
        display: none;
    }
    .details__toggle::before, .details__toggle::after {
        background: ButtonText;
    }
}
@media print {
    .site-header, .site-footer, .nav, .nav-toggle, .actions, .form-card,
    .product-card__watermark, .tile__icon, .hero__image, .hero__overlay {
        display: none !important;
    }
    body {
        font-size: 10pt;
    }
    .section, .page-hero, .hero__content {
        padding-block: 1.5rem;
    }
    .hero {
        min-height: 0;
    }
    .hero, .page-hero, .section--navy, .tile, .product-card,
    .spec-table thead th, .spec-table tbody th, .spec-table tbody td {
        color: #000;
        background: #fff;
        box-shadow: none;
    }
    h1, h2, h3, p, a, .eyebrow, .hero h1, .hero .lead, .page-hero h1,
    .page-hero h2, .section--navy h2, .section--navy h3, .tile p {
        color: #000 !important;
    }
    .spec-table {
        overflow: visible;
    }
    .spec-table table {
        min-width: 0;
        font-size: 8pt;
    }
    .spec-table th, .spec-table td {
        padding: .5rem;
    }
    .spec-table tr > :first-child {
        position: static;
    }
    .card, .tile, tr {
        break-inside: avoid;
    }
    a {
        text-decoration: none;
    }
}
