/* ==========================================================================
   Delta Cert — consolidated design system
   Brand blue remains #0e78d4. Deeper blue is used for text and primary actions
   so that white-on-blue combinations meet WCAG AA.
   ========================================================================== */

:root {
    --blue-600: #0e78d4;
    --blue-700: #0b63af;
    --blue-800: #084d8a;
    --blue-900: #072f52;
    --navy: #061f36;
    --ink: #0c2438;
    --body: #29465f;
    --muted: #52657a;
    --line: #d3e3f0;
    --line-strong: #b6d2e8;
    --sky: #e8f3fc;
    --sky-2: #f4f9fd;
    --sky-3: #dceefa;
    --white: #ffffff;
    --warn-bg: #fff8e6;
    --warn-line: #e8c987;
    --warn-ink: #6b4a12;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 8px rgba(7, 47, 82, 0.06);
    --shadow: 0 18px 44px rgba(7, 47, 82, 0.1);
    --shadow-lg: 0 30px 70px rgba(7, 47, 82, 0.16);
    --font-sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --container: 1180px;
    --header-height: 82px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

a {
    color: var(--blue-700);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--blue-900);
}

:focus-visible {
    outline: 3px solid var(--blue-600);
    outline-offset: 3px;
    border-radius: 3px;
}

::selection {
    background: var(--sky-3);
    color: var(--ink);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 0.5em;
    color: var(--ink);
    font-weight: 650;
    line-height: 1.16;
}

h1,
h2 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.018em;
}

h1 {
    font-size: clamp(2.55rem, 5.2vw, 4.5rem);
    line-height: 1.04;
}

h2 {
    font-size: clamp(1.9rem, 3.3vw, 2.85rem);
}

h3 {
    font-size: 1.22rem;
    line-height: 1.3;
}

p {
    margin: 0 0 1em;
}

ul,
ol {
    margin: 0 0 1em;
    padding-left: 1.25em;
}

li + li {
    margin-top: 0.35em;
}

strong {
    font-weight: 650;
}

small {
    font-size: 0.84rem;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    background: var(--navy);
    color: var(--white);
    font-weight: 650;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.18s ease;
}

.skip-link:focus {
    color: var(--white);
    transform: translateY(0);
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.container--narrow {
    max-width: 820px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Buttons and links
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--blue-700);
    color: var(--white);
}

.btn--primary:hover {
    background: var(--blue-900);
    color: var(--white);
}

.btn--secondary {
    background: var(--white);
    border-color: var(--line-strong);
    color: var(--blue-900);
}

.btn--secondary:hover {
    border-color: var(--blue-600);
    color: var(--blue-700);
}

.btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--white);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.btn--small {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.88rem;
}

.btn--large {
    min-height: 54px;
    padding: 0 28px;
    font-size: 1rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-700);
    font-size: 0.92rem;
    font-weight: 650;
    text-decoration: none;
}

.link-arrow::after {
    content: "\2192";
    transition: transform 0.18s ease;
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

.link-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.link-list li + li {
    margin-top: 9px;
}

.link-list a {
    color: var(--blue-700);
    font-size: 0.92rem;
    text-decoration: none;
}

.link-list a:hover {
    text-decoration: underline;
}

.mt-7 {
    margin-top: 30px;
}

/* ==========================================================================
   Utility bar and header
   ========================================================================== */

.utility-bar {
    background: var(--navy);
    color: #cfe3f5;
    font-size: 0.8rem;
}

.utility-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 38px;
}

.utility-bar__label {
    margin: 0;
    color: #a9c7de;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.utility-bar__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
}

.utility-bar a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 24px;
    color: #e3f1fb;
    text-decoration: none;
}

.utility-bar a:hover {
    color: var(--white);
    text-decoration: underline;
}

.utility-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 12px 30px rgba(7, 47, 82, 0.09);
}

.header-main__inner {
    display: flex;
    align-items: center;
    gap: 26px;
    min-height: var(--header-height);
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    text-decoration: none;
}

.brand__logo {
    width: 78px;
    height: auto;
}

.primary-nav {
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-list > .nav-item + .nav-item {
    margin-top: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 12px 14px;
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.nav-link:hover,
.nav-link[aria-expanded="true"],
.nav-link[aria-current="page"] {
    color: var(--blue-700);
}

.nav-caret {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    transition: transform 0.18s ease;
}

.nav-toggle[aria-expanded="true"] .nav-caret {
    transform: rotate(180deg);
}

.header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 12px;
}

.mega-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    z-index: 120;
    width: min(980px, calc(100vw - 40px));
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

.nav-item--has-mega.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
}

.mega-menu__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}

.mega-group__title {
    margin: 0 0 12px;
    color: var(--muted);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mega-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mega-list li + li {
    margin-top: 2px;
}

.mega-list a {
    display: block;
    margin-left: -8px;
    padding: 7px 8px;
    border-radius: 8px;
    color: var(--ink);
    font-size: 0.86rem;
    line-height: 1.35;
    text-decoration: none;
}

.mega-list a:hover {
    background: var(--sky-2);
    color: var(--blue-700);
}

.mega-menu__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
}

.mega-menu__footer p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
}

.menu-button:hover {
    border-color: var(--blue-600);
}

.menu-button__lines {
    display: grid;
    gap: 4px;
    width: 20px;
}

.menu-button__lines span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
}

/* ==========================================================================
   Mobile navigation
   ========================================================================== */

.menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(3, 24, 42, 0.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.menu-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 210;
    display: flex;
    flex-direction: column;
    width: min(420px, 92vw);
    background: var(--white);
    box-shadow: -20px 0 50px rgba(3, 24, 42, 0.2);
    transform: translateX(102%);
    visibility: hidden;
    transition: transform 0.28s ease, visibility 0s linear 0.28s;
}

.mobile-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.28s ease, visibility 0s;
}

.mobile-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
}

.mobile-nav__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.mobile-nav__brand img {
    width: 56px;
    height: auto;
}

.mobile-nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 9px;
    background: var(--white);
    cursor: pointer;
}

.mobile-nav__close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
}

.mobile-nav__body {
    flex: 1;
    padding: 18px 20px 30px;
    overflow-y: auto;
}

.mobile-list {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.mobile-list > li {
    border-bottom: 1px solid var(--line);
}

.mobile-list > li + li {
    margin-top: 0;
}

.mobile-link,
.mobile-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 2px;
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 650;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.mobile-link:hover,
.mobile-link[aria-current="page"],
.mobile-group > summary:hover {
    color: var(--blue-700);
}

.mobile-group > summary {
    list-style: none;
}

.mobile-group > summary::-webkit-details-marker {
    display: none;
}

.mobile-group > summary::after {
    content: "+";
    margin-left: 12px;
    color: var(--blue-700);
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1;
}

.mobile-group[open] > summary::after {
    content: "\2212";
}

.mobile-sublist {
    margin: 0 0 14px;
    padding: 0 0 0 14px;
    list-style: none;
    border-left: 2px solid var(--sky-3);
}

.mobile-sublist li + li {
    margin-top: 0;
}

.mobile-sublist a {
    display: block;
    padding: 7px 0;
    color: var(--body);
    font-size: 0.9rem;
    line-height: 1.35;
    text-decoration: none;
}

.mobile-sublist a:hover {
    color: var(--blue-700);
    text-decoration: underline;
}

.mobile-nav__cta {
    width: 100%;
    margin-bottom: 24px;
}

.mobile-contact {
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.86rem;
}

.mobile-contact p {
    margin: 0 0 8px;
}

.mobile-contact a {
    color: var(--blue-700);
    text-decoration: none;
}

.mobile-contact a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 86% 16%, rgba(14, 120, 212, 0.2), transparent 34%),
        linear-gradient(132deg, #f8fcff 0%, #e8f3fc 56%, #d9ecfa 100%);
}

.hero::before {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(11, 99, 175, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 99, 175, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    content: "";
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.82fr);
    gap: clamp(34px, 6vw, 82px);
    align-items: center;
    padding: clamp(56px, 8vw, 100px) 0;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--blue-700);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.kicker::before {
    width: 26px;
    height: 2px;
    background: currentColor;
    content: "";
}

.hero h1 {
    max-width: 13ch;
    margin-bottom: 22px;
}

.hero__lead {
    max-width: 56ch;
    margin-bottom: 30px;
    color: var(--body);
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-size: 0.88rem;
    list-style: none;
}

.hero__meta li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.hero__meta svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--blue-700);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.hero__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
}

.visual-card {
    position: relative;
    container-type: inline-size;
    overflow: hidden;
    padding: clamp(28px, 4vw, 38px);
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 8%, rgba(45, 155, 235, 0.34), transparent 34%),
        linear-gradient(145deg, #0a3b65 0%, #072f52 52%, #041c31 100%);
    box-shadow: 0 34px 80px rgba(4, 28, 49, 0.3);
    color: var(--white);
}

.visual-card::before {
    position: absolute;
    top: -90px;
    right: -90px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    box-shadow:
        0 0 0 34px rgba(255, 255, 255, 0.04),
        0 0 0 68px rgba(255, 255, 255, 0.03);
    content: "";
}

.visual-card__label {
    position: relative;
    margin: 0 0 26px;
    color: #a9d2f1;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.visual-card__title {
    position: relative;
    max-width: none;
    margin: 0 0 28px;
    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3.6vw, 2rem);
    font-size: clamp(1.35rem, 7.4cqi, 2.1rem);
    font-weight: 600;
    line-height: 1.15;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.visual-card__title span {
    display: block;
}

.visual-card__list {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.visual-card__list li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 13px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #e7f3fc;
    font-size: 0.9rem;
}

.visual-card__list span {
    color: #7fc0ee;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.visual-card__foot {
    position: relative;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #b9d8ef;
    font-size: 0.8rem;
}

.visual-note {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: none;
    box-sizing: border-box;
    padding: 17px 19px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--white);
    box-shadow: var(--shadow);
    color: var(--body);
    font-size: 0.82rem;
    line-height: 1.45;
}

.visual-note p {
    margin: 0;
}

.visual-note a {
    font-weight: 650;
    text-decoration: none;
}

.visual-note__dot {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    margin-top: 5px;
    border-radius: 50%;
    background: #c48618;
    box-shadow: 0 0 0 4px rgba(196, 134, 24, 0.14);
}

/* ==========================================================================
   Sections and cards
   ========================================================================== */

.section {
    padding: clamp(54px, 7vw, 92px) 0;
}

.section--tint {
    background: linear-gradient(180deg, var(--sky-2), #eef7fd);
}

.section--cta {
    padding-top: clamp(24px, 3vw, 44px);
}

.section--navy {
    background: var(--navy);
    color: #d9ebf9;
}

.section--navy h2,
.section--navy h3 {
    color: var(--white);
}

.section--navy p {
    color: #c4dced;
}

.section-head {
    max-width: 760px;
    margin-bottom: clamp(30px, 4vw, 48px);
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.04rem;
}

.section-head--center .kicker {
    justify-content: center;
}

.section-head--center .kicker::before {
    display: none;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.card-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
    border-color: #a9cceb;
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

.card__code {
    margin: 0 0 12px;
    color: var(--blue-700);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: var(--muted);
    font-size: 0.94rem;
}

.card .link-arrow {
    margin-top: auto;
    padding-top: 18px;
}

.standards-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.group-panel {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
}

.group-panel__head {
    margin-bottom: 18px;
}

.group-panel__head h3 {
    margin-bottom: 8px;
}

.group-panel__head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.group-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.group-list li {
    margin: 0;
    border-top: 1px solid var(--line);
}

.group-list a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    color: var(--ink);
    font-size: 0.9rem;
    text-decoration: none;
}

.group-list a:hover {
    color: var(--blue-700);
}

.group-list span {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
}

.group-list a > span:first-child {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--ink);
    font-size: 0.9rem;
    letter-spacing: normal;
}

/* ==========================================================================
   Process and commitments
   ========================================================================== */

.process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
    counter-reset: step;
}

.process__step {
    position: relative;
    margin: 0;
    padding: 28px 24px 0 0;
    border-right: 1px solid var(--line);
}

.process__step:last-child {
    padding-right: 0;
    border-right: 0;
}

.process__step::before {
    display: block;
    margin-bottom: 14px;
    color: var(--blue-700);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    content: "0" counter(step);
    counter-increment: step;
}

.process__step h3 {
    margin-bottom: 8px;
    font-size: 1.04rem;
}

.process__step p {
    margin: 0;
    color: var(--muted);
    font-size: 0.89rem;
}

.process-note {
    margin: 26px 0 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.commitments {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.commitment {
    padding: 26px 26px 24px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--blue-600);
    border-radius: 0 14px 14px 0;
    background: var(--white);
}

.commitment h3 {
    margin-bottom: 8px;
    font-size: 1.06rem;
}

.commitment p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr);
    gap: 30px;
    align-items: center;
    padding: clamp(30px, 5vw, 54px);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(46, 154, 234, 0.34), transparent 38%),
        linear-gradient(135deg, var(--blue-900), var(--blue-700));
    box-shadow: 0 28px 60px rgba(7, 47, 82, 0.18);
    color: var(--white);
}

.cta-band h2 {
    margin-bottom: 12px;
    color: var(--white);
}

.cta-band p {
    max-width: 58ch;
    margin: 0;
    color: #d6eafa;
}

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

/* ==========================================================================
   Page hero and breadcrumbs
   ========================================================================== */

.page-hero {
    padding: clamp(38px, 5.5vw, 68px) 0;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 88% 12%, rgba(14, 120, 212, 0.12), transparent 30%),
        linear-gradient(135deg, #f8fcff, var(--sky));
}

.page-hero--compact {
    padding: clamp(30px, 4vw, 48px) 0;
}

.breadcrumb {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 0.8rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb li {
    margin: 0;
}

.breadcrumb li + li::before {
    margin-right: 8px;
    color: #8faac0;
    content: "/";
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--blue-700);
    text-decoration: underline;
}

.page-hero h1 {
    max-width: 20ch;
    margin-bottom: 18px;
}

.page-hero__lead {
    max-width: 70ch;
    margin: 0;
    color: var(--body);
    font-size: clamp(1.02rem, 1.4vw, 1.14rem);
}

.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

/* ==========================================================================
   Content, prose and sidebar
   ========================================================================== */

.page-content {
    padding: clamp(44px, 6vw, 78px) 0;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.prose {
    max-width: 780px;
}

.prose > :first-child {
    margin-top: 0;
}

.prose h2 {
    margin-top: 1.7em;
    font-size: clamp(1.55rem, 2.4vw, 2.05rem);
}

.prose h2:first-child {
    margin-top: 0;
}

.prose h3 {
    margin-top: 1.4em;
    font-size: 1.12rem;
}

.prose p,
.prose li {
    color: var(--body);
}

.prose ul,
.prose ol {
    padding-left: 1.3em;
}

.prose li + li {
    margin-top: 0.45em;
}

.prose a {
    font-weight: 600;
}

.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    margin: 0;
    padding: 8px 0 8px 32px;
    border-bottom: 1px solid var(--line);
}

.check-list li::before {
    position: absolute;
    top: 13px;
    left: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--blue-700);
    content: "";
}

.check-list li::after {
    position: absolute;
    top: 17px;
    left: 6px;
    width: 6px;
    height: 3px;
    border-bottom: 2px solid var(--white);
    border-left: 2px solid var(--white);
    content: "";
    transform: rotate(-45deg);
}

.sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    display: grid;
    gap: 16px;
}

.sidebar-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.sidebar-card h2 {
    margin-bottom: 14px;
    font-family: var(--font-sans);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0;
}

.sidebar-card dl {
    margin: 0;
}

.sidebar-card dt {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.sidebar-card dt:first-child {
    margin-top: 0;
}

.sidebar-card dd {
    margin: 3px 0 0;
    color: var(--ink);
    font-size: 0.9rem;
}

.sidebar-card .btn {
    width: 100%;
    margin-top: 20px;
}

.sidebar-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.sidebar-card p + p {
    margin-top: 10px;
}

.notice {
    margin: 24px 0;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--blue-600);
    border-radius: 0 12px 12px 0;
    background: var(--sky-2);
    color: var(--body);
}

.notice p:last-child {
    margin-bottom: 0;
}

.notice--warning {
    border-color: var(--warn-line);
    border-left-color: #b7791f;
    background: var(--warn-bg);
    color: var(--warn-ink);
}

.notice--warning a {
    color: #6b4a12;
}

.notice--warning strong {
    color: #563a0b;
}

.status-panel {
    padding: clamp(26px, 4vw, 40px);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    margin-bottom: 32px;
}

.status-panel__icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--warn-bg);
    color: #8a5b00;
}

.status-panel__icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.status-panel h2 {
    margin-bottom: 12px;
    font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

.status-panel p {
    color: var(--body);
}

.status-panel .btn {
    margin-top: 8px;
}

/* ==========================================================================
   Certificate verification
   ========================================================================== */

.verify-card {
    padding: clamp(24px, 3.5vw, 36px);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.verify-card > h2 {
    margin-bottom: 8px;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.verify-card__intro {
    margin: 0 0 24px;
    color: var(--body);
    font-size: 0.95rem;
}

.verify-form {
    display: grid;
    gap: 10px;
}

.verify-form__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.field {
    flex: 1 1 auto;
    min-width: 0;
}

.field label {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.field input {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input::placeholder {
    color: #8ba0b4;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.field input:hover {
    border-color: #9dc3e2;
}

.field input:focus {
    border-color: var(--blue-600);
    box-shadow: 0 0 0 4px rgba(14, 120, 212, 0.14);
    outline: none;
}

.field input[aria-invalid="true"] {
    border-color: #b42318;
    box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.1);
}

.field__error {
    min-height: 1.25em;
    margin: 7px 0 0;
    color: #a1261c;
    font-size: 0.82rem;
    font-weight: 600;
}

.field__hint {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.verify-form__row .btn {
    flex: 0 0 auto;
    min-height: 52px;
    margin-top: 27px;
    padding: 0 26px;
}

.verify-output {
    margin-top: 26px;
}

.verify-placeholder {
    padding: 28px 24px;
    border: 1px dashed var(--line-strong);
    border-radius: 14px;
    background: var(--sky-2);
    color: var(--muted);
    text-align: center;
}

.verify-placeholder p {
    margin: 0;
    font-size: 0.92rem;
}

.verify-placeholder--loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.verify-spinner {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border: 2px solid var(--line-strong);
    border-top-color: var(--blue-600);
    border-radius: 50%;
    animation: verify-spin 0.75s linear infinite;
}

@keyframes verify-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes verify-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card {
    padding: clamp(24px, 3.5vw, 34px);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    animation: verify-in 0.24s ease;
}

.result-card--error {
    border-color: var(--warn-line);
    background: #fffdf8;
}

.result-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.result-card__number {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.result-card h2 {
    margin-bottom: 6px;
    font-size: clamp(1.5rem, 2.6vw, 1.95rem);
}

.result-card__standard {
    margin: 0;
    color: var(--blue-800);
    font-weight: 650;
}

.result-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.09em;
    line-height: 1.5;
    text-transform: uppercase;
}

.badge::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.badge--valid {
    background: #e6f6ec;
    color: #17663a;
}

.badge--expired {
    background: var(--warn-bg);
    color: #8a5b00;
}

.badge--suspended,
.badge--withdrawn,
.badge--error {
    background: #fdecea;
    color: #a1261c;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 30px;
    margin: 26px 0 30px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.result-grid__item--wide {
    grid-column: 1 / -1;
}

.result-grid dt {
    margin: 0;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.result-grid dd {
    margin: 4px 0 0;
    color: var(--ink);
    font-size: 0.95rem;
}

.pdf-viewer {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--sky-2);
}

.pdf-viewer__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.pdf-viewer__head h3 {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0;
}

.pdf-viewer__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pdf-viewer__actions .btn {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.82rem;
}

.pdf-viewer__stage {
    padding: 18px;
    background: var(--sky-2);
}

.pdf-viewer__canvas {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 2px 14px rgba(15, 43, 68, 0.12);
}

.pdf-viewer__image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 2px 14px rgba(15, 43, 68, 0.12);
}

.pdf-viewer__status {
    margin: 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.pdf-viewer__fallback {
    margin: 0;
    padding: 10px 18px;
    border-top: 1px solid var(--line);
    background: var(--white);
    color: var(--muted);
    font-size: 0.8rem;
}

.verify-steps {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: verify-step;
}

.verify-steps li {
    position: relative;
    padding-left: 36px;
    color: var(--body);
    font-size: 0.9rem;
    counter-increment: verify-step;
}

.verify-steps li::before {
    position: absolute;
    top: -1px;
    left: 0;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--sky-3);
    color: var(--blue-900);
    content: counter(verify-step);
    font-size: 0.72rem;
    font-weight: 750;
}

.demo-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 3px 9px;
    border: 1px solid var(--warn-line);
    border-radius: 999px;
    background: var(--warn-bg);
    color: var(--warn-ink);
    font-size: 0.64rem;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.demo-records {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.demo-record {
    display: grid;
    gap: 2px;
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease;
}

.demo-record:hover {
    border-color: var(--blue-600);
    background: var(--sky-2);
}

.demo-record__number {
    color: var(--blue-800);
    font-size: 0.95rem;
    font-weight: 750;
    letter-spacing: 0.07em;
}

.demo-record__meta {
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.45;
}

.demo-records__empty {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.demo-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.76rem;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 34px;
}

.contact-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
}

.contact-card__label {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-card h2 {
    margin-bottom: 10px;
    font-family: var(--font-sans);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0;
}

.contact-card p {
    margin: 0 0 8px;
    color: var(--body);
    font-size: 0.92rem;
}

.contact-card a {
    overflow-wrap: anywhere;
    font-weight: 600;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-card address {
    color: var(--body);
    font-size: 0.92rem;
    font-style: normal;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
    display: grid;
    gap: 12px;
    max-width: 900px;
    margin-inline: auto;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
}

.faq-item summary {
    position: relative;
    display: block;
    padding: 19px 58px 19px 22px;
    color: var(--ink);
    font-weight: 650;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    position: absolute;
    top: 50%;
    right: 22px;
    color: var(--blue-700);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
    content: "+";
    transform: translateY(-50%);
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item summary:hover {
    color: var(--blue-700);
}

.faq-item__body {
    padding: 0 22px 22px;
    color: var(--body);
}

.faq-item__body p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--navy);
    color: #c9dced;
}

.footer-main {
    padding: clamp(46px, 6vw, 72px) 0 38px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr) minmax(0, 0.65fr) minmax(0, 0.95fr);
    gap: 36px;
}

.footer-brand img {
    width: 78px;
    height: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    max-width: 36ch;
    color: #b9d2e6;
    font-size: 0.88rem;
}

.footer-heading {
    margin: 0 0 16px;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-links,
.footer-contact {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li + li,
.footer-contact li + li {
    margin-top: 9px;
}

.footer-links a {
    color: #c9dced;
    font-size: 0.88rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    margin: 0;
    color: #c9dced;
    font-size: 0.88rem;
}

.footer-contact li + li {
    margin-top: 10px;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 3px;
    fill: none;
    stroke: #7fc0ee;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    color: #e3f1fb;
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    padding: 19px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #9fbdd5;
    font-size: 0.78rem;
}

.footer-bottom__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 24px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    color: #c9dced;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.footer-bottom a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ==========================================================================
   Error page
   ========================================================================== */

.error-page {
    display: grid;
    min-height: 62vh;
    place-items: center;
    padding: clamp(56px, 9vw, 110px) 0;
    text-align: center;
}

.error-page__code {
    margin: 0 0 8px;
    color: var(--sky-3);
    font-family: var(--font-display);
    font-size: clamp(5.5rem, 15vw, 10rem);
    font-weight: 600;
    line-height: 0.85;
}

.error-page h1 {
    margin-bottom: 14px;
}

.error-page p {
    max-width: 56ch;
    margin: 0 auto 24px;
    color: var(--muted);
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1120px) {
    .primary-nav {
        display: none;
    }

    .visual-note {
        position: relative;
        right: auto;
        bottom: auto;
        max-width: none;
        margin-top: 14px;
    }

    .menu-button {
        display: inline-flex;
    }

    .header-main__inner {
        justify-content: space-between;
    }

    .header-actions {
        margin-left: auto;
    }
}

@media (max-width: 980px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        max-width: 15ch;
    }

    .hero__visual {
        min-height: 0;
        max-width: 560px;
    }

    .card-grid,
    .standards-groups,
    .commitments {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process__step {
        padding-bottom: 26px;
        border-bottom: 1px solid var(--line);
    }

    .process__step:nth-child(2) {
        padding-right: 0;
        border-right: 0;
    }

    .process__step:nth-child(3),
    .process__step:nth-child(4) {
        padding-top: 26px;
        border-bottom: 0;
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-band {
        grid-template-columns: 1fr;
    }

    .cta-band__actions {
        justify-content: flex-start;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .utility-bar__label {
        display: none;
    }

    .utility-bar__inner {
        justify-content: center;
    }

    .utility-bar__links {
        justify-content: center;
        gap: 6px 18px;
    }

    .header-main__inner {
        min-height: 74px;
        gap: 16px;
    }

    .brand__logo {
        width: 64px;
    }

    .header-cta {
        display: none;
    }

    .card-grid,
    .card-grid--2,
    .standards-groups,
    .commitments,
    .contact-grid,
    .sidebar {
        grid-template-columns: 1fr;
    }

    .process {
        grid-template-columns: 1fr;
    }

    .verify-form__row {
        flex-direction: column;
        align-items: stretch;
    }

    .verify-form__row .btn {
        width: 100%;
        margin-top: 0;
    }

    .result-grid {
        grid-template-columns: 1fr;
    }

    .result-grid__item--wide {
        grid-column: auto;
    }


    .process__step,
    .process__step:nth-child(2),
    .process__step:nth-child(3),
    .process__step:nth-child(4) {
        padding: 24px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .process__step:last-child {
        border-bottom: 0;
    }

    .page-hero h1 {
        max-width: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .visual-note {
        position: relative;
        right: auto;
        bottom: auto;
        max-width: none;
        margin-top: 14px;
    }
}

@media (max-width: 520px) {
    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .utility-bar {
        font-size: 0.75rem;
    }

    .utility-bar__links {
        flex-direction: column;
        gap: 3px;
        padding: 7px 0;
    }

    .hero__actions .btn,
    .page-hero__actions .btn,
    .cta-band__actions .btn {
        width: 100%;
    }

    .hero__meta {
        display: grid;
        gap: 8px;
    }

    .btn--large {
        min-height: 50px;
        padding: 0 20px;
    }

    .card,
    .group-panel {
        padding: 22px;
    }

    .status-panel {
        padding: 24px;
    }

    .footer-brand img {
        width: 70px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .btn:hover,
    .card:hover {
        transform: none;
    }
}

/* ==========================================================================
   Service lines — carousel, overview cards and service pages
   ========================================================================== */

.card--media {
    padding: 0;
    overflow: hidden;
}

.card--media .card__media {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.card--media .card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 24px 26px 26px;
}

.card--media .card__body .link-arrow {
    margin-top: auto;
    padding-top: 20px;
}

.service-carousel__stage {
    position: relative;
    height: clamp(470px, 40vw, 545px);
}

.service-slide {
    position: absolute;
    top: 0;
    left: 19%;
    display: flex;
    flex-direction: column;
    width: 38%;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    color: inherit;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) scale(0.82);
    transition: left 0.5s ease, transform 0.5s ease, opacity 0.5s ease,
        visibility 0s linear 0.5s, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-slide.is-left {
    left: 19%;
    z-index: 1;
    opacity: 0.55;
    visibility: visible;
}

.service-slide.is-center {
    left: 50%;
    z-index: 3;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
    box-shadow: var(--shadow);
    transition-delay: 0s;
}

.service-slide.is-right {
    left: 81%;
    z-index: 2;
    opacity: 0.55;
    visibility: visible;
}

.service-slide:hover,
.service-slide:focus-visible {
    border-color: #a9cceb;
    box-shadow: var(--shadow);
}

.service-slide.is-center:hover,
.service-slide.is-center:focus-visible {
    transform: translateX(-50%) scale(1.012);
}

.service-slide__media {
    flex: 0 0 auto;
    height: 188px;
    overflow: hidden;
    background: var(--sky-3);
}

.service-slide__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-slide.is-center:hover .service-slide__media img {
    transform: scale(1.04);
}

.service-slide__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 22px 26px 26px;
}

.service-slide__label {
    margin: 0 0 9px;
    color: var(--blue-700);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.service-slide__title {
    margin: 0 0 10px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.22rem, 1.75vw, 1.58rem);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -0.01em;
}

.service-slide__text {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.service-slide__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
    color: var(--blue-700);
    font-size: 0.9rem;
    font-weight: 650;
}

.service-slide__link::after {
    content: "\2192";
    transition: transform 0.18s ease;
}

.service-slide:hover .service-slide__link::after {
    transform: translateX(4px);
}

.service-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 26px;
}

.carousel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--white);
    color: var(--blue-900);
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease;
}

.carousel-btn:hover {
    border-color: var(--blue-600);
    background: var(--sky-2);
}

.carousel-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #b9d2e6;
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.2s ease;
}

.carousel-dot:hover {
    background: #8fb7d6;
}

.carousel-dot[aria-current="true"] {
    width: 28px;
    background: var(--blue-700);
}

/* Service detail pages */

.service-hero {
    padding-top: clamp(20px, 3vw, 32px);
}

.service-hero .breadcrumb {
    margin-bottom: clamp(18px, 2.4vw, 26px);
}

.service-hero__image {
    width: 100%;
    height: clamp(260px, 40vw, 470px);
    object-fit: cover;
}

/* Desktop: show the whole photograph instead of cropping it into a wide banner. */
@media (min-width: 981px) {
    .service-hero__image {
        display: block;
        width: auto;
        height: auto;
        max-width: min(calc(100% - 40px), var(--container));
        max-height: 62vh;
        margin-inline: auto;
        border-radius: var(--radius-lg);
        object-fit: contain;
    }
}

.service-hero__intro {
    padding-top: clamp(30px, 4vw, 48px);
    padding-bottom: clamp(6px, 1.4vw, 14px);
}

.service-hero__intro h1 {
    max-width: 24ch;
    margin-bottom: 18px;
}

.service-hero__lead {
    max-width: 70ch;
    margin: 0;
    color: var(--body);
    font-size: clamp(1.02rem, 1.4vw, 1.14rem);
}

.service-detail {
    min-width: 0;
}

.service-block {
    margin-top: clamp(36px, 5vw, 56px);
}

.service-block > .section-head {
    margin-bottom: 24px;
}

.service-block .section-head p:last-child {
    margin-bottom: 0;
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tile {
    margin: 0;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
}

.tile__num {
    display: block;
    margin-bottom: 10px;
    color: var(--blue-700);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.13em;
}

.tile h3 {
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.tile p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.tile ul {
    margin: 12px 0 0;
    padding-left: 1.15em;
    color: var(--muted);
    font-size: 0.88rem;
}

.tile li + li {
    margin-top: 4px;
}

.machine-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 26px;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.machine-grid li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    color: var(--body);
    font-size: 0.92rem;
}

.machine-grid span {
    flex: 0 0 auto;
    color: var(--blue-700);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.06em;
}

.sidebar-card__address {
    margin-top: 14px !important;
}

@media (min-width: 721px) {
    .service-block .process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-block .process__step {
        padding-bottom: 26px;
        border-bottom: 1px solid var(--line);
    }

    .service-block .process__step:nth-child(2) {
        padding-right: 0;
        border-right: 0;
    }

    .service-block .process__step:nth-child(3),
    .service-block .process__step:nth-child(4) {
        padding-top: 26px;
        border-bottom: 0;
    }
}

@media (max-width: 980px) {
    .service-carousel__stage {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "card";
        height: auto;
        padding-block: 10px;
        margin-inline: -20px;
        overflow: hidden;
    }

    .service-slide,
    .service-slide.is-left,
    .service-slide.is-center,
    .service-slide.is-right {
        position: static;
        grid-area: card;
        justify-self: center;
        width: min(78%, 380px);
        height: auto;
        opacity: 0.45;
        visibility: visible;
        transform: scale(0.9);
        transition: transform 0.5s ease, opacity 0.5s ease, border-color 0.2s ease,
            box-shadow 0.2s ease;
    }

    .service-slide.is-left {
        z-index: 1;
        transform: translateX(-88%) scale(0.9);
    }

    .service-slide.is-center {
        z-index: 3;
        opacity: 1;
        transform: none;
        box-shadow: var(--shadow);
    }

    .service-slide.is-right {
        z-index: 2;
        transform: translateX(88%) scale(0.9);
    }

    .service-slide.is-center:hover,
    .service-slide.is-center:focus-visible {
        transform: none;
    }

    .service-slide__media {
        height: 168px;
    }

    .machine-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .tile-grid {
        grid-template-columns: 1fr;
    }

    .service-slide__body {
        padding: 20px 22px 24px;
    }
}

@media (max-width: 560px) {
    .machine-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .service-carousel__stage {
        margin-inline: -16px;
    }
}

/* ==========================================================================
   WhatsApp chat button
   ========================================================================== */

.wa-chat {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 900;
    pointer-events: none;
}

.wa-chat__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-left: 4px;
    color: var(--ink);
    text-decoration: none;
    pointer-events: auto;
}

.wa-chat__link:hover,
.wa-chat__link:focus {
    color: var(--ink);
}

.wa-chat__label {
    padding: 11px 18px;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(7, 47, 82, 0.18);
    font-size: 0.95rem;
    line-height: 1.35;
    white-space: nowrap;
}

.wa-chat__label strong {
    font-weight: 700;
}

.wa-chat__icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 12px 28px rgba(6, 93, 45, 0.32);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.wa-chat__icon svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
}

.wa-chat__link:hover .wa-chat__icon,
.wa-chat__link:focus-visible .wa-chat__icon {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 16px 34px rgba(6, 93, 45, 0.4);
}

@media (max-width: 560px) {
    .wa-chat {
        right: 14px;
        bottom: 14px;
    }

    .wa-chat__label {
        padding: 9px 14px;
        font-size: 0.86rem;
    }

    .wa-chat__icon {
        width: 54px;
        height: 54px;
    }

    .wa-chat__icon svg {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 380px) {
    .wa-chat__label {
        display: none;
    }
}
