:root {
    --navy-950: #071d3d;
    --navy-900: #0b2e5f;
    --navy-800: #123f79;
    --blue-600: #1399d6;
    --blue-500: #22aee8;
    --blue-100: #e7f6fc;
    --yellow-500: #f0c742;
    --yellow-100: #fff7d6;
    --ink: #10233f;
    --muted: #607089;
    --line: #dfe7ef;
    --surface: #f6f9fc;
    --white: #ffffff;
    --success: #18875b;
    --danger: #b83b46;
    --shadow-sm: 0 12px 30px rgba(7, 29, 61, 0.08);
    --shadow-lg: 0 28px 70px rgba(7, 29, 61, 0.16);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --container: 1180px;
    --header-height: 82px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -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,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

p,
h1,
h2,
h3 {
    margin-top: 0;
}

p:last-child {
    margin-bottom: 0;
}

h1,
h2,
h3 {
    color: var(--navy-950);
    line-height: 1.14;
    letter-spacing: -0.035em;
}

h1 {
    max-width: 830px;
    margin-bottom: 24px;
    font-size: clamp(3rem, 6vw, 5.8rem);
    font-weight: 790;
}

h2 {
    margin-bottom: 22px;
    font-size: clamp(2.25rem, 4.2vw, 4rem);
    font-weight: 760;
}

h3 {
    font-size: 1.32rem;
    font-weight: 720;
}

::selection {
    color: var(--navy-950);
    background: var(--yellow-500);
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 112px 0;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    padding: 10px 16px;
    color: var(--white);
    background: var(--navy-950);
    border-radius: 8px;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.eyebrow {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--blue-600);
    font-size: 0.77rem;
    font-weight: 820;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 34px;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, var(--blue-500) 0 70%, var(--yellow-500) 70%);
}

.eyebrow.light {
    color: #9bdcf7;
}

.button {
    display: inline-flex;
    min-height: 52px;
    padding: 12px 24px;
    gap: 10px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 9px;
    font-weight: 750;
    line-height: 1.1;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(34, 174, 232, 0.33);
    outline-offset: 3px;
}

.button-primary {
    color: var(--white);
    background: var(--navy-900);
    box-shadow: 0 12px 24px rgba(11, 46, 95, 0.18);
}

.button-primary:hover {
    background: var(--navy-800);
    box-shadow: 0 16px 30px rgba(11, 46, 95, 0.24);
}

.button-secondary {
    color: var(--navy-900);
    background: var(--white);
    border-color: var(--line);
}

.button-secondary:hover {
    border-color: var(--blue-500);
    box-shadow: var(--shadow-sm);
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.93);
    border-bottom: 1px solid rgba(223, 231, 239, 0.78);
    backdrop-filter: blur(18px);
    transition: box-shadow 0.25s ease, height 0.25s ease;
}

.site-header.scrolled {
    box-shadow: 0 10px 34px rgba(7, 29, 61, 0.08);
}

.header-inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    gap: 12px;
    align-items: center;
}

.brand-image {
    display: inline-flex;
    width: 240px;
    height: 54px;
    flex: 0 0 auto;
    align-items: center;
    line-height: 0;
}

.brand-image img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 54px;
    object-fit: contain;
    object-position: left center;
}

.brand-mark {
    display: flex;
    width: 42px;
    height: 42px;
    padding: 7px;
    gap: 3px;
    align-items: end;
    border: 2px solid var(--navy-900);
    border-radius: 8px;
}

.brand-mark span {
    flex: 1;
    background: var(--blue-500);
    border-radius: 2px 2px 0 0;
}

.brand-mark span:nth-child(1) {
    height: 40%;
}

.brand-mark span:nth-child(2) {
    height: 68%;
    background: var(--yellow-500);
}

.brand-mark span:nth-child(3) {
    height: 100%;
    background: var(--navy-900);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-copy strong {
    color: var(--navy-900);
    font-size: 1.04rem;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.63rem;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.primary-navigation {
    display: flex;
    gap: 29px;
    align-items: center;
}

.primary-navigation a {
    position: relative;
    color: var(--navy-950);
    font-size: 0.91rem;
    font-weight: 690;
}

.primary-navigation a:not(.nav-cta)::after {
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--blue-500);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.22s ease;
}

.primary-navigation a:not(.nav-cta):hover::after,
.primary-navigation a.active:not(.nav-cta)::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta {
    padding: 10px 18px;
    color: var(--white) !important;
    background: var(--navy-900);
    border-radius: 8px;
}

.nav-cta:hover {
    background: var(--blue-600);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 11px;
    flex-direction: column;
    gap: 5px;
    align-items: stretch;
    justify-content: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
    height: 2px;
    background: var(--navy-900);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
    min-height: 820px;
    padding-top: calc(var(--header-height) + 95px);
    padding-bottom: 90px;
    overflow: hidden;
    background:
        linear-gradient(rgba(11, 46, 95, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 46, 95, 0.035) 1px, transparent 1px),
        linear-gradient(135deg, #ffffff 0%, #f9fcfe 58%, #edf8fc 100%);
    background-size: 46px 46px, 46px 46px, auto;
}

.hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 8px;
    content: "";
    background: linear-gradient(90deg, var(--navy-900) 0 58%, var(--blue-500) 58% 90%, var(--yellow-500) 90%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
    gap: 68px;
    align-items: center;
}

.hero-copy {
    position: relative;
    z-index: 2;
}


.hero-lead {
    max-width: 690px;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 1.16rem;
}

.hero-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}


.hero-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-decoration-one {
    top: 126px;
    right: -130px;
    width: 420px;
    height: 420px;
    border: 85px solid rgba(34, 174, 232, 0.08);
}

.hero-decoration-two {
    bottom: -90px;
    left: -110px;
    width: 240px;
    height: 240px;
    border: 50px solid rgba(240, 199, 66, 0.09);
}

.hero-visual {
    position: relative;
    min-height: 520px;
}

.visual-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(223, 231, 239, 0.95);
    box-shadow: var(--shadow-lg);
}

.main-card {
    position: absolute;
    top: 40px;
    right: 0;
    left: 0;
    padding: 28px;
    border-radius: var(--radius-md);
    transform: rotate(1.7deg);
}

.main-card::before {
    position: absolute;
    top: -14px;
    right: 24px;
    width: 86px;
    height: 28px;
    content: "";
    background: var(--yellow-500);
    border-radius: 6px 6px 0 0;
    z-index: -1;
}

.card-topline {
    display: flex;
    gap: 18px;
    align-items: start;
    justify-content: space-between;
}

.card-topline div {
    display: flex;
    flex-direction: column;
}

.micro-label {
    margin-bottom: 4px;
    color: var(--blue-600);
    font-size: 0.65rem;
    font-weight: 820;
    letter-spacing: 0.14em;
}

.card-topline strong {
    color: var(--navy-950);
    font-size: 1.45rem;
}

.audit-card {
    padding-bottom: 24px;
}

.audit-illustration {
    position: relative;
    min-height: 280px;
    margin: 25px 0 20px;
    padding: 20px 50px 20px 18px;
    background: linear-gradient(145deg, #f8fbfd, #edf6fa);
    border: 1px solid #e4edf4;
    border-radius: 16px;
}

.document-sheet {
    position: relative;
    width: min(100%, 340px);
    min-height: 238px;
    padding: 24px 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 38px rgba(7, 29, 61, 0.10);
    transform: rotate(-1.5deg);
}

.document-heading {
    display: flex;
    gap: 13px;
    align-items: center;
    margin-bottom: 22px;
}

.document-heading > div {
    display: flex;
    flex-direction: column;
}

.document-heading small {
    color: var(--blue-600);
    font-size: 0.58rem;
    font-weight: 820;
    letter-spacing: 0.11em;
}

.document-heading strong {
    margin-top: 2px;
    color: var(--navy-900);
    font-size: 0.96rem;
}

.document-icon {
    display: grid;
    width: 42px;
    height: 42px;
    color: var(--navy-900);
    background: var(--blue-100);
    border-radius: 10px;
    place-items: center;
}

.document-icon svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.document-line {
    height: 7px;
    margin-bottom: 9px;
    background: #e8eef4;
    border-radius: 99px;
}

.line-long { width: 100%; }
.line-medium { width: 78%; }
.line-short { width: 55%; }

.audit-checklist {
    display: grid;
    padding: 0;
    margin: 23px 0 0;
    gap: 10px;
    list-style: none;
}

.audit-checklist li {
    display: flex;
    gap: 9px;
    align-items: center;
    color: #40546f;
    font-size: 0.79rem;
    font-weight: 650;
}

.audit-checklist span {
    display: grid;
    width: 21px;
    height: 21px;
    color: var(--white);
    background: var(--blue-500);
    border-radius: 50%;
    place-items: center;
    font-size: 0.69rem;
    font-weight: 900;
}

.audit-check-badge {
    position: absolute;
    top: 26px;
    right: 24px;
    display: grid;
    width: 64px;
    height: 64px;
    color: var(--navy-900);
    background: var(--yellow-500);
    border: 8px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 12px 24px rgba(7, 29, 61, 0.13);
    place-items: center;
    font-size: 1.55rem;
    font-weight: 900;
}

.audit-magnifier {
    position: absolute;
    right: 18px;
    bottom: 24px;
    display: grid;
    width: 82px;
    height: 82px;
    color: var(--navy-900);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 50%;
    box-shadow: 0 16px 34px rgba(7, 29, 61, 0.12);
    place-items: center;
}

.audit-magnifier svg {
    width: 40px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
}

.audit-phases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.audit-phases div {
    padding: 12px 13px;
    background: var(--surface);
    border-radius: 10px;
}

.audit-phases span,
.audit-phases strong {
    display: block;
}

.audit-phases span {
    color: var(--blue-600);
    font-size: 0.62rem;
    font-weight: 820;
}

.audit-phases strong {
    margin-top: 2px;
    color: var(--navy-900);
    font-size: 0.82rem;
}


.intro-strip {
    padding: 0;
    background: var(--white);
}

.intro-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: -1px;
    box-shadow: var(--shadow-sm);
}

.intro-strip-grid > div {
    position: relative;
    display: grid;
    min-height: 150px;
    padding: 30px 32px 26px 74px;
    align-content: center;
    background: var(--white);
    border-right: 1px solid var(--line);
}

.intro-strip-grid > div:last-child {
    border-right: 0;
}

.intro-strip-grid span {
    position: absolute;
    top: 34px;
    left: 29px;
    color: var(--blue-500);
    font-size: 0.75rem;
    font-weight: 850;
}

.intro-strip-grid strong {
    color: var(--navy-950);
    font-size: 1.08rem;
}

.intro-strip-grid small {
    color: var(--muted);
}

.section-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 92px;
    align-items: start;
}

.section-heading {
    max-width: 780px;
}

.section-heading.centered {
    margin: 0 auto 58px;
    text-align: center;
}

.section-heading.centered .eyebrow {
    justify-content: center;
}

.section-heading > p:not(.eyebrow),
.section-heading-row > p {
    color: var(--muted);
}

.about {
    background: var(--white);
}

.lead-paragraph {
    color: var(--navy-900);
    font-size: 1.34rem;
    font-weight: 650;
    line-height: 1.5;
}

.about-content > p:not(.lead-paragraph) {
    color: var(--muted);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 42px;
}

.values-grid article {
    padding-top: 18px;
    border-top: 3px solid var(--line);
}

.values-grid article:nth-child(2) {
    border-color: var(--blue-500);
}

.values-grid article:nth-child(3) {
    border-color: var(--yellow-500);
}

.values-grid span {
    color: var(--blue-600);
    font-size: 0.74rem;
    font-weight: 800;
}

.values-grid h3 {
    margin: 8px 0;
    font-size: 1.06rem;
}

.values-grid p {
    color: var(--muted);
    font-size: 0.89rem;
    line-height: 1.58;
}

.services {
    background: var(--surface);
}

.services::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 110px;
    height: 7px;
    content: "";
    background: linear-gradient(90deg, var(--navy-900) 0 55%, var(--blue-500) 55% 85%, var(--yellow-500) 85%);
    transform: translateX(-50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    position: relative;
    min-height: 345px;
    padding: 34px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 5px;
    content: "";
    background: linear-gradient(90deg, var(--blue-500), var(--yellow-500));
    transition: width 0.3s ease;
}

.service-card:hover {
    border-color: rgba(34, 174, 232, 0.5);
    box-shadow: var(--shadow-sm);
    transform: translateY(-7px);
}

.service-card:hover::after {
    width: 100%;
    right: auto;
    left: 0;
}

.service-number {
    position: absolute;
    top: 24px;
    right: 26px;
    color: #d7e4ee;
    font-size: 2.5rem;
    font-weight: 850;
    line-height: 1;
}

.service-icon {
    display: grid;
    width: 62px;
    height: 62px;
    margin-bottom: 28px;
    color: var(--navy-900);
    background: var(--blue-100);
    border-radius: 13px;
    place-items: center;
}

.service-card:nth-child(3n + 2) .service-icon {
    background: var(--yellow-100);
}

.service-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    max-width: 250px;
    margin-bottom: 14px;
}

.service-card p {
    color: var(--muted);
    font-size: 0.94rem;
}

.stats {
    overflow: hidden;
    color: var(--white);
    background: var(--navy-950);
}

.stats::before {
    position: absolute;
    top: -250px;
    left: -160px;
    width: 520px;
    height: 520px;
    content: "";
    border: 100px solid rgba(34, 174, 232, 0.08);
    border-radius: 50%;
}

.stats::after {
    position: absolute;
    right: -50px;
    bottom: -90px;
    width: 260px;
    height: 260px;
    content: "";
    background: rgba(240, 199, 66, 0.08);
    transform: rotate(35deg);
}

.stats-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 80px;
    align-items: center;
}

.stats h2 {
    color: var(--white);
}

.stats-copy > p:not(.eyebrow) {
    color: #bdc9d8;
}

.text-link {
    display: inline-flex;
    margin-top: 22px;
    gap: 12px;
    align-items: center;
    color: var(--white);
    font-weight: 740;
}

.text-link span {
    color: var(--yellow-500);
    font-size: 1.35rem;
    transition: transform 0.2s ease;
}

.text-link:hover span {
    transform: translateX(5px);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.counter-item {
    display: flex;
    min-width: 0;
    min-height: 220px;
    padding: 30px 24px;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.counter-item strong,
.counter-item > span {
    display: block;
}

.counter-item strong {
    color: var(--white);
    font-size: clamp(2.35rem, 3.6vw, 4.25rem);
    font-weight: 820;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.06em;
    line-height: 1;
    white-space: nowrap;
}

.counter-item > span {
    margin-top: 16px;
    color: #aebed0;
    font-size: 0.82rem;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.counter-item:nth-child(2) strong {
    color: var(--yellow-500);
}

.approach {
    background: var(--white);
}

.process-list {
    display: grid;
    margin: 58px 0 0;
    padding: 0;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    counter-reset: steps;
}

.process-list li {
    position: relative;
    min-height: 265px;
    padding: 32px 28px;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.process-list li:first-child {
    border-left: 1px solid var(--line);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.process-list li:last-child {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.process-list li::before {
    position: absolute;
    top: -1px;
    right: 0;
    left: 0;
    height: 4px;
    content: "";
    background: var(--navy-900);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s ease;
}

.process-list li:nth-child(2)::before,
.process-list li:nth-child(4)::before {
    background: var(--blue-500);
}

.process-list li:nth-child(3)::before {
    background: var(--yellow-500);
}

.process-list li:hover::before {
    transform: scaleX(1);
}

.process-list > li > span {
    display: inline-grid;
    width: 42px;
    height: 42px;
    margin-bottom: 36px;
    color: var(--navy-900);
    background: var(--surface);
    border-radius: 50%;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 850;
}

.process-list h3 {
    min-height: 48px;
    margin-bottom: 12px;
    font-size: 1.18rem;
}

.process-list p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.58;
}

.articles {
    background: var(--surface);
}

.articles.is-hidden {
    display: none;
}

.section-heading-row {
    display: grid;
    max-width: none;
    margin-bottom: 52px;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 75px;
    align-items: end;
}

.section-heading-row h2 {
    margin-bottom: 0;
}

.section-heading-row code {
    padding: 2px 5px;
    color: var(--navy-900);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 4px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.article-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-6px);
}

.article-visual {
    position: relative;
    height: 205px;
    overflow: hidden;
    background-color: var(--navy-900);
}

.article-visual::before,
.article-visual::after {
    position: absolute;
    content: "";
}

.article-visual::before {
    width: 250px;
    height: 250px;
    border: 50px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.article-visual::after {
    width: 120px;
    height: 120px;
    background: rgba(240, 199, 66, 0.82);
    transform: rotate(35deg);
}

.visual-a::before {
    top: -120px;
    right: -40px;
}

.visual-a::after {
    bottom: -70px;
    left: 40px;
}

.visual-b {
    background: var(--blue-600);
}

.visual-b::before {
    bottom: -120px;
    left: -60px;
}

.visual-b::after {
    top: 45px;
    right: 54px;
    background: rgba(7, 29, 61, 0.8);
}

.visual-c {
    background: #163f70;
}

.visual-c::before {
    top: -80px;
    left: 30px;
}

.visual-c::after {
    right: -40px;
    bottom: -22px;
    background: rgba(34, 174, 232, 0.75);
}

.article-visual span {
    position: absolute;
    right: 24px;
    bottom: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 4.6rem;
    font-weight: 900;
    letter-spacing: -0.08em;
    z-index: 2;
}

.article-body {
    padding: 28px 28px 30px;
}

.article-body small {
    color: var(--blue-600);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.07em;
}

.article-body h3 {
    min-height: 84px;
    margin: 13px 0;
    font-size: 1.22rem;
}

.article-body p {
    color: var(--muted);
    font-size: 0.89rem;
}

.article-body a {
    display: inline-flex;
    margin-top: 10px;
    gap: 9px;
    color: var(--navy-900);
    font-weight: 760;
}

.article-body a span {
    color: var(--yellow-500);
}

.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 90px;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: calc(var(--header-height) + 35px);
}

.contact-info > p:not(.eyebrow) {
    color: var(--muted);
}

.contact-details {
    display: grid;
    margin-top: 38px;
    font-style: normal;
    border-top: 1px solid var(--line);
}

.contact-details > * {
    display: flex;
    padding: 18px 0;
    gap: 20px;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.contact-details span {
    color: var(--muted);
    font-size: 0.82rem;
}

.contact-details strong {
    color: var(--navy-900);
    text-align: right;
}

.contact-details a:hover strong {
    color: var(--blue-600);
}

.contact-form {
    position: relative;
    padding: 42px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.contact-form::before {
    position: absolute;
    top: 0;
    left: 42px;
    width: 92px;
    height: 6px;
    content: "";
    background: linear-gradient(90deg, var(--blue-500) 0 72%, var(--yellow-500) 72%);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    margin-bottom: 7px;
    color: var(--navy-900);
    font-size: 0.82rem;
    font-weight: 730;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #cedae5;
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input,
.field select {
    height: 51px;
    padding: 0 14px;
}

.field textarea {
    min-height: 150px;
    padding: 13px 14px;
    resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: #a8bccd;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 4px rgba(34, 174, 232, 0.11);
    outline: 0;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: var(--danger);
}

.field-error {
    display: block;
    min-height: 18px;
    margin-top: 4px;
    color: var(--danger);
    font-size: 0.75rem;
}

.consent {
    display: flex;
    margin: 0 0 24px;
    gap: 11px;
    align-items: flex-start;
    color: var(--muted);
    font-size: 0.82rem;
    cursor: pointer;
}

.consent input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: var(--navy-900);
}

.submit-button {
    min-width: 180px;
}

.submit-button.is-loading {
    pointer-events: none;
    opacity: 0.8;
}

.button-loader {
    display: none;
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.submit-button.is-loading .button-loader {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-status {
    min-height: 24px;
    margin-top: 18px;
    font-size: 0.88rem;
    font-weight: 690;
}

.form-status.success {
    color: var(--success);
}

.form-status.error {
    color: var(--danger);
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.map-section {
    position: relative;
    min-height: 480px;
    background: var(--surface);
}

.map-frame {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(0.7) contrast(0.96);
    pointer-events: none;
}

/*
 * U uobičajenom načinu rada prozirni sloj iznad karte propušta kotačić
 * prema stranici, pa full-page prijelaz ostaje aktivan. Klikom se karta
 * namjerno aktivira. Izlaskom pokazivača, tipkom Escape ili gumbom ispod
 * ponovno se vraća način rada za skrolanje stranice.
 */
.map-interaction-shield {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    padding: 18px;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    color: var(--white);
    text-align: right;
    background: linear-gradient(180deg, transparent 58%, rgba(6, 23, 49, 0.18));
    border: 0;
    cursor: pointer;
}

.map-interaction-shield span,
.map-interaction-shield small {
    display: block;
    padding: 7px 10px;
    background: rgba(6, 23, 49, 0.86);
    box-shadow: var(--shadow-sm);
}

.map-interaction-shield span {
    padding-bottom: 2px;
    font-size: 0.82rem;
    font-weight: 760;
}

.map-interaction-shield small {
    padding-top: 2px;
    color: #c5d2df;
    font-size: 0.7rem;
}

.map-interaction-close {
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 3;
    display: none;
    min-height: 38px;
    padding: 0 14px;
    color: var(--white);
    background: rgba(6, 23, 49, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.map-section.map-is-active iframe {
    pointer-events: auto;
}

.map-section.map-is-active .map-interaction-shield {
    display: none;
}

.map-section.map-is-active .map-interaction-close {
    display: inline-flex;
    align-items: center;
}

.map-card {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: max(20px, calc((100% - var(--container)) / 2));
    width: min(360px, calc(100% - 40px));
    padding: 32px;
    background: var(--navy-950);
    box-shadow: var(--shadow-lg);
    border-left: 7px solid var(--yellow-500);
    transform: translateY(-50%);
}

.map-card > span {
    color: #8ed7f6;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.map-card strong {
    display: block;
    margin: 14px 0 22px;
    color: var(--white);
    font-size: 1.4rem;
    line-height: 1.45;
}

.map-card a {
    display: inline-flex;
    gap: 12px;
    color: var(--white);
    font-weight: 740;
}

.map-card a span {
    color: var(--yellow-500);
}

.site-footer {
    padding: 78px 0 0;
    color: #b8c5d5;
    background: #061731;
}

.footer-grid {
    display: grid;
    padding-bottom: 56px;
    grid-template-columns: 1.45fr 0.7fr 1fr 0.85fr;
    gap: 58px;
}

.footer-brand .brand-copy strong {
    color: var(--white);
}

.footer-brand .brand-copy small {
    color: #8fa2b9;
}

.footer-brand .brand-mark {
    border-color: #b8c5d5;
}

.footer-grid > div:first-child p {
    max-width: 330px;
    margin-top: 22px;
}

.footer-grid h2 {
    margin-bottom: 22px;
    color: var(--white);
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-grid a,
.footer-grid p {
    display: block;
    margin: 0 0 9px;
    font-size: 0.87rem;
}

.footer-grid a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    min-height: 76px;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
}

.footer-bottom div {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-bottom a {
    font-size: 0.8rem;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 800;
    display: grid;
    width: 46px;
    height: 46px;
    color: var(--white);
    background: var(--navy-900);
    border: 0;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    place-items: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--blue-600);
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.68s ease, transform 0.68s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1060px) {
    .brand-image {
        width: 220px;
        height: 50px;
    }

    .brand-image img {
        max-height: 50px;
    }

    .primary-navigation {
        gap: 20px;
    }

    .hero-grid {
        grid-template-columns: 1fr 0.84fr;
        gap: 34px;
    }

    .hero-visual {
        min-height: 480px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-list li:nth-child(2) {
        border-radius: 0 var(--radius-sm) 0 0;
    }

    .process-list li:nth-child(3) {
        border-left: 1px solid var(--line);
        border-radius: 0 0 0 var(--radius-sm);
    }

    .process-list li:last-child {
        border-radius: 0 0 var(--radius-sm) 0;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-card:last-child {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 0.85fr 1.15fr;
    }

    .article-card:last-child .article-visual {
        height: auto;
        min-height: 270px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    :root {
        --header-height: 72px;
    }

    .section {
        padding: 86px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .primary-navigation {
        position: fixed;
        top: var(--header-height);
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        padding: 35px 28px;
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        background: var(--white);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .primary-navigation.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .primary-navigation a {
        padding: 14px 5px;
        font-size: 1.08rem;
        border-bottom: 1px solid var(--line);
    }

    .primary-navigation a:not(.nav-cta)::after {
        display: none;
    }

    .nav-cta {
        margin-top: 10px;
        padding: 15px 18px !important;
        text-align: center;
        border-bottom: 0 !important;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 72px);
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 720px;
    }

    .hero-visual {
        min-height: 510px;
    }

    .main-card {
        right: 5%;
        left: 5%;
    }


    .section-grid,
    .stats-layout,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-info {
        position: static;
    }

    .section-heading-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-grid {
        gap: 42px;
    }
}

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

    .section {
        padding: 72px 0;
    }

    h1 {
        font-size: clamp(2.65rem, 14vw, 4rem);
    }

    h2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .brand-copy small {
        display: none;
    }

    .hero {
        padding-top: calc(var(--header-height) + 55px);
    }

    .hero-lead {
        font-size: 1.02rem;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-visual {
        min-height: 430px;
        margin-top: 10px;
    }

    .main-card {
        top: 18px;
        right: 0;
        left: 0;
        padding: 18px;
        transform: none;
    }

    .card-topline strong {
        font-size: 1.12rem;
    }

    .audit-illustration {
        min-height: 250px;
        padding: 16px 38px 16px 12px;
    }

    .document-sheet {
        min-height: 214px;
        padding: 18px;
        transform: none;
    }

    .audit-check-badge {
        top: 17px;
        right: 12px;
        width: 52px;
        height: 52px;
        border-width: 6px;
        font-size: 1.25rem;
    }

    .audit-magnifier {
        right: 9px;
        bottom: 17px;
        width: 64px;
        height: 64px;
    }

    .audit-magnifier svg {
        width: 31px;
    }

    .audit-phases {
        gap: 7px;
    }

    .audit-phases div {
        padding: 10px 8px;
    }

    .audit-phases strong {
        font-size: 0.7rem;
    }

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

    .intro-strip-grid > div {
        min-height: 120px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .values-grid,
    .services-grid,
    .counter-grid,
    .process-list,
    .articles-grid,
    .form-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 0;
    }

    .counter-grid {
        border-left: 1px solid rgba(255, 255, 255, 0.16);
    }

    .counter-item {
        min-height: 145px;
        padding: 26px;
    }

    .counter-item strong {
        font-size: 3.35rem;
    }

    .counter-item > span {
        margin-top: 11px;
    }

    .process-list li,
    .process-list li:first-child,
    .process-list li:nth-child(2),
    .process-list li:nth-child(3),
    .process-list li:last-child {
        min-height: 0;
        border: 1px solid var(--line);
        border-bottom: 0;
        border-radius: 0;
    }

    .process-list li:first-child {
        border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    }

    .process-list li:last-child {
        border-bottom: 1px solid var(--line);
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    }

    .process-list > li > span {
        margin-bottom: 22px;
    }

    .article-card:last-child {
        display: block;
        grid-column: auto;
    }

    .article-card:last-child .article-visual,
    .article-visual {
        height: 190px;
        min-height: 0;
    }

    .article-body h3 {
        min-height: 0;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-form::before {
        left: 20px;
    }

    .contact-details > * {
        display: block;
    }

    .contact-details strong {
        display: block;
        margin-top: 4px;
        text-align: left;
    }

    .map-card {
        top: auto;
        right: 14px;
        bottom: 18px;
        left: 14px;
        width: auto;
        transform: none;
    }

    .footer-grid {
        gap: 32px;
    }

    .footer-bottom {
        padding: 24px 0;
        flex-direction: column;
        align-items: flex-start;
    }
}


/* --------------------------------------------------------------------------
   V3: revizijska ilustracija i sekcijsko pomicanje
   -------------------------------------------------------------------------- */
.hero-shell {
    position: relative;
    z-index: 2;
}

.hero-audit-image {
    width: min(100%, 610px);
    max-height: 100%;
    margin-inline: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 30px rgba(7, 29, 61, 0.12));
    transform: translateZ(0);
}

.hero-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.hero-summary > div {
    position: relative;
    display: grid;
    min-height: 94px;
    padding: 18px 22px 16px 58px;
    align-content: center;
    border-right: 1px solid var(--line);
}

.hero-summary > div:last-child {
    border-right: 0;
}

.hero-summary span {
    position: absolute;
    top: 21px;
    left: 22px;
    color: var(--blue-600);
    font-size: 0.7rem;
    font-weight: 850;
}

.hero-summary strong {
    color: var(--navy-950);
    font-size: 0.98rem;
}

.hero-summary small {
    color: var(--muted);
    font-size: 0.78rem;
}

.snap-footer {
    scroll-snap-align: start;
}

@media (min-width: 861px) and (min-height: 700px) {
    html {
        scroll-snap-type: y mandatory;
        scroll-padding-top: var(--header-height);
        overscroll-behavior-y: none;
    }

    main {
        padding-top: var(--header-height);
    }

    main > .snap-section {
        display: flex;
        height: calc(100vh - var(--header-height));
        min-height: 0;
        padding: clamp(28px, 4vh, 54px) 0;
        align-items: center;
        overflow: hidden;
        scroll-snap-align: start;
        scroll-snap-stop: normal;
    }

    main > .snap-section > .container {
        max-height: 100%;
    }

    h1 {
        margin-bottom: 18px;
        font-size: clamp(3.2rem, 5.2vw, 5.25rem);
    }

    h2 {
        margin-bottom: 14px;
        font-size: clamp(2.05rem, 3.25vw, 3.35rem);
    }

    .eyebrow {
        margin-bottom: 12px;
    }

    .hero {
        min-height: 0;
        padding-top: clamp(28px, 4vh, 50px);
        padding-bottom: clamp(24px, 3.5vh, 44px);
    }

    .hero-shell {
        display: grid;
        height: 100%;
        grid-template-rows: minmax(0, 1fr) auto;
        gap: clamp(12px, 2vh, 22px);
    }

    .hero-grid {
        min-height: 0;
        grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
        gap: clamp(34px, 5vw, 70px);
    }

    .hero-lead {
        max-width: 620px;
        margin-bottom: 24px;
        font-size: 1.05rem;
        line-height: 1.62;
    }

    .hero-visual {
        display: grid;
        height: min(48vh, 450px);
        min-height: 0;
        place-items: center;
    }

    .section-grid {
        gap: clamp(44px, 6vw, 82px);
        align-items: center;
    }

    .section-heading.centered {
        margin-bottom: 24px;
    }

    .section-heading-row {
        margin-bottom: 24px;
        gap: 48px;
    }

    .lead-paragraph {
        margin-bottom: 14px;
        font-size: 1.16rem;
    }

    .about-content > p:not(.lead-paragraph) {
        font-size: 0.92rem;
        line-height: 1.58;
    }

    .values-grid {
        gap: 14px;
        margin-top: 24px;
    }

    .values-grid article {
        padding-top: 13px;
    }

    .values-grid p {
        font-size: 0.8rem;
        line-height: 1.45;
    }

    .services-grid {
        gap: 13px;
    }

    .service-card {
        min-height: 0;
        height: clamp(188px, 26vh, 222px);
        padding: 20px 22px;
    }

    .service-number {
        top: 17px;
        right: 18px;
        font-size: 1.9rem;
    }

    .service-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }

    .service-icon svg {
        width: 23px;
        height: 23px;
    }

    .service-card h3 {
        margin-bottom: 8px;
        font-size: 1.02rem;
    }

    .service-card p {
        font-size: 0.8rem;
        line-height: 1.42;
    }

    .stats-layout {
        gap: clamp(45px, 6vw, 78px);
    }

    .counter-item {
        min-height: clamp(130px, 20vh, 172px);
        padding: 24px;
    }

    .counter-item strong {
        font-size: clamp(2.35rem, 3.5vw, 4.1rem);
    }

    .counter-item > span {
        margin-top: 10px;
        font-size: 0.76rem;
    }

    .process-list {
        margin-top: 30px;
    }

    .process-list li {
        min-height: clamp(210px, 32vh, 255px);
        padding: 24px 22px;
    }

    .process-list > li > span {
        margin-bottom: 24px;
    }

    .process-list h3 {
        min-height: 42px;
        margin-bottom: 8px;
        font-size: 1.05rem;
    }

    .process-list p {
        font-size: 0.82rem;
        line-height: 1.48;
    }

    .articles-grid {
        gap: 15px;
    }

    .article-visual {
        height: clamp(118px, 18vh, 158px);
    }

    .article-visual span {
        right: 18px;
        bottom: 5px;
        font-size: 3.4rem;
    }

    .article-body {
        padding: 18px 20px 20px;
    }

    .article-body h3 {
        min-height: 0;
        margin: 9px 0;
        font-size: 1.02rem;
    }

    .article-body p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 0.79rem;
        line-height: 1.45;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .article-body a {
        margin-top: 4px;
        font-size: 0.82rem;
    }

    .contact-grid {
        gap: clamp(46px, 6vw, 78px);
        align-items: center;
    }

    .contact-info {
        position: static;
    }

    .contact-info > p:not(.eyebrow) {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .contact-details {
        margin-top: 20px;
    }

    .contact-details > * {
        padding: 10px 0;
    }

    .contact-form {
        padding: 24px 28px;
    }

    .contact-form::before {
        left: 28px;
    }

    .form-row {
        gap: 13px;
    }

    .field {
        margin-bottom: 9px;
    }

    .field label {
        margin-bottom: 4px;
    }

    .field input,
    .field select {
        height: 43px;
    }

    .field textarea {
        min-height: 82px;
        height: 82px;
        padding: 10px 12px;
    }

    .field-error {
        min-height: 12px;
        margin-top: 1px;
        font-size: 0.68rem;
    }

    .consent {
        margin-bottom: 13px;
        font-size: 0.76rem;
    }

    .submit-button {
        min-height: 45px;
    }

    .form-status {
        min-height: 18px;
        margin-top: 8px;
        font-size: 0.78rem;
    }

    main > .map-section {
        display: block;
        padding: 0;
    }

    .map-section iframe {
        height: 100%;
    }
}

@media (max-width: 860px), (max-height: 699px) {
    html {
        scroll-snap-type: none;
    }

    .hero-audit-image {
        width: min(100%, 560px);
    }

    .hero-summary {
        margin-top: 20px;
    }
    
    .brand-image {
        width: 205px;
        height: 46px;
    }

    .brand-image img {
        max-height: 46px;
    }
}

@media (max-width: 650px) {
    .hero-summary {
        grid-template-columns: 1fr;
    }

    .hero-summary > div {
        min-height: 82px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .hero-summary > div:last-child {
        border-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}


/* --------------------------------------------------------------------------
   JavaScript full-page transition
   Brzina i easing postavljaju se iz assets/js/main.js kroz CSS varijable.
   Bez JavaScripta ostaje izvorni CSS scroll snap kao fallback.
   -------------------------------------------------------------------------- */

.fullpage-viewport,
.fullpage-track {
    position: relative;
}

@media (min-width: 861px) and (min-height: 700px) {
    html.fullpage-active {
        overflow: hidden;
        scroll-behavior: auto;
        scroll-padding-top: 0;
        scroll-snap-type: none;
        overscroll-behavior: none;
    }

    html.fullpage-active body {
        height: 100vh;
        overflow: hidden;
    }

    .fullpage-active .fullpage-viewport {
        position: fixed;
        inset: var(--header-height) 0 0;
        overflow: hidden;
    }

    .fullpage-active .fullpage-track {
        transform: translate3d(0, 0, 0);
        transition-property: transform;
        transition-duration: var(--fullpage-snap-duration, 760ms);
        transition-timing-function: var(--fullpage-snap-easing, cubic-bezier(0.22, 1, 0.36, 1));
        will-change: transform;
    }

    .fullpage-active .fullpage-track.no-transition {
        transition: none !important;
    }

    .fullpage-active main {
        padding-top: 0;
    }

    .fullpage-active main > .snap-section,
    .fullpage-active .snap-footer {
        height: calc(100vh - var(--header-height));
        min-height: 0;
        scroll-snap-align: none;
        scroll-snap-stop: normal;
    }

    .fullpage-active .site-footer {
        display: flex;
        padding-top: 0;
        flex-direction: column;
        justify-content: center;
    }

    .fullpage-active .footer-grid {
        padding-bottom: clamp(30px, 5vh, 56px);
    }
}

/* --------------------------------------------------------------------------
   Zajednička završna sekcija: karta + podnožje
   Karta je pasivna dok korisnik namjerno ne odabere "Koristi kartu", pa
   kotačić i full-page prijelazi ostaju dostupni preko cijele površine karte.
   -------------------------------------------------------------------------- */

main > .location-footer {
    display: flex;
    min-height: 760px;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    background: #061731;
}

.location-footer > .map-frame {
    width: 100%;
    height: auto;
    min-height: 0;
    flex: 0 0 clamp(320px, 62vh, 620px);
    overflow: hidden;
}

.location-footer .map-interaction-shield {
    padding: 18px;
    align-items: flex-end;
    justify-content: flex-end;
    background: transparent;
}

.location-footer .map-interaction-shield span {
    padding: 10px 14px;
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 760;
    background: rgba(6, 23, 49, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 5px;
    box-shadow: var(--shadow-sm);
}

.location-footer > .site-footer {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: clamp(26px, 3.4vh, 42px) 0 0;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: space-between;
}

.location-footer .footer-grid {
    padding-bottom: clamp(18px, 2.4vh, 30px);
    gap: clamp(30px, 4vw, 58px);
}

.location-footer .footer-grid > div:first-child p {
    margin-top: 15px;
}

.location-footer .footer-grid h2 {
    margin-bottom: 13px;
}

.location-footer .footer-grid a,
.location-footer .footer-grid p {
    margin-bottom: 7px;
}

.location-footer .footer-bottom {
    min-height: clamp(52px, 6.5vh, 68px);
}

.footer-map-link {
    display: inline-flex !important;
    width: fit-content;
    margin-top: 8px !important;
    gap: 8px;
    color: var(--white);
    font-weight: 700;
}

.footer-map-link span {
    color: var(--yellow-500);
}

@media (min-width: 861px) and (min-height: 700px) {
    .fullpage-active main > .location-footer {
        display: flex;
        height: calc(100vh - var(--header-height));
        min-height: 0;
        padding: 0;
        flex-direction: column;
        align-items: stretch;
    }

    .fullpage-active main > .location-footer > .map-frame {
        height: auto;
        min-height: 0;
        flex: 0 0 clamp(320px, 62vh, 620px);
    }

    .fullpage-active main > .location-footer > .site-footer {
        display: flex;
        height: auto;
        min-height: 0;
        padding-top: clamp(24px, 3.2vh, 40px);
        flex: 1 1 auto;
        justify-content: space-between;
    }

    .fullpage-active .location-footer .footer-grid {
        padding-bottom: clamp(16px, 2.2vh, 28px);
    }
}

@media (max-width: 860px), (max-height: 699px) {
    main > .location-footer {
        display: block;
        min-height: 0;
        overflow: visible;
    }

    .location-footer > .map-frame {
        height: clamp(320px, 52vw, 480px);
        min-height: 0;
    }

    .location-footer > .site-footer {
        height: auto;
        padding-top: 52px;
    }
}

@media (max-width: 650px) {
    .location-footer .map-frame {
        height: 330px;
    }

    .location-footer .map-interaction-shield {
        padding: 12px;
    }

    .location-footer .footer-bottom {
        min-height: 0;
        padding: 20px 0 24px;
    }
}


/* Logo: vrlo uski mobilni zasloni */
@media (max-width: 480px) {
    .brand-image {
        width: 176px;
        height: 40px;
    }

    .brand-image img {
        max-height: 40px;
    }
}


/* --------------------------------------------------------------------------
   Novi logotip u tamnom podnožju
   Ikona ostaje u izvornim bojama na bijeloj pločici, a naziv je ispisan
   svijetlo kako bi bio čitljiv na tamnoplavoj pozadini.
   -------------------------------------------------------------------------- */

.footer-logo {
    display: inline-flex;
    width: fit-content;
    gap: 13px;
    align-items: center;
}

.footer-logo-mark {
    display: grid;
    width: 50px;
    height: 50px;
    padding: 4px;
    flex: 0 0 50px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
    place-items: center;
}

.footer-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-logo-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.04;
}

.footer-logo-copy strong {
    color: var(--white);
    font-size: 1.08rem;
    font-weight: 850;
    letter-spacing: 0.075em;
}

.footer-logo-copy small {
    margin-top: 6px;
    color: #8faed0;
    font-size: 0.59rem;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

/* Stara CSS pravila za barski footer-logo više se ne koriste. */
.footer-brand,
.footer-brand .brand-mark,
.footer-brand .brand-copy {
    display: none;
}

/* --------------------------------------------------------------------------
   Poseban scrollbar za full-page prikaz
   Po zadanom je skriven. Pojavljuje se pri skrolanju, kada je pokazivač
   blizu desnog ruba te dok je korisnik iznad njega ili ga povlači.
   -------------------------------------------------------------------------- */

@media (min-width: 861px) {
    html {
        scrollbar-width: none;
    }

    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        width: 0;
        height: 0;
    }
}

.page-scrollbar {
    position: fixed;
    top: calc(var(--header-height) + 18px);
    right: 5px;
    bottom: 18px;
    z-index: 1200;
    width: 18px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(7px);
    transition: opacity 180ms ease, transform 220ms ease;
}

html.page-scrollbar-visible .page-scrollbar,
.page-scrollbar:hover,
.page-scrollbar:focus-within,
.page-scrollbar.is-dragging {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.page-scrollbar-track {
    position: relative;
    width: 7px;
    height: 100%;
    margin-inline: auto;
    padding: 0;
    background: rgba(7, 29, 61, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    box-shadow: 0 3px 14px rgba(7, 29, 61, 0.08);
    cursor: pointer;
    outline: 0;
}

.page-scrollbar-track:focus-visible {
    outline: 3px solid rgba(34, 174, 232, 0.28);
    outline-offset: 4px;
}

.page-scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 50%;
    width: 9px;
    min-height: 54px;
    background:
        linear-gradient(180deg,
            var(--navy-900) 0 58%,
            var(--blue-500) 58% 88%,
            var(--yellow-500) 88% 100%);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(7, 29, 61, 0.24);
    cursor: grab;
    transform: translateX(-50%);
    transition:
        top var(--fullpage-snap-duration, 760ms) var(--fullpage-snap-easing, cubic-bezier(0.22, 1, 0.36, 1)),
        height 220ms ease;
    will-change: top, height;
}

.page-scrollbar.is-dragging .page-scrollbar-thumb {
    cursor: grabbing;
    transition: none;
}

.back-to-top {
    right: 38px;
}

@media (max-width: 860px) {
    .page-scrollbar {
        display: none;
    }

    .back-to-top {
        right: 22px;
    }
}

@media (max-width: 650px) {
    .footer-logo-mark {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .footer-logo-copy strong {
        font-size: 1rem;
    }
}

/* --------------------------------------------------------------------------
   Footer logo — vodoravni raspored kao u zaglavlju
   Opće pravilo `.footer-grid a { display: block; }` nalazi se ranije u CSS-u,
   stoga ga ovdje nadjačavamo preciznijim selektorom.
   -------------------------------------------------------------------------- */
.footer-grid a.footer-logo {
    display: inline-flex;
    width: fit-content;
    gap: 14px;
    align-items: center;
    margin-bottom: 0;
}

.footer-grid .footer-logo-mark {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
}

.footer-grid .footer-logo-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.05;
}

.footer-grid .footer-logo-copy strong {
    margin: 0;
    color: var(--white);
    font-size: 1.12rem;
    font-weight: 850;
    letter-spacing: 0.075em;
    line-height: 1;
}

.footer-grid .footer-logo-copy small {
    display: block;
    margin-top: 7px;
    color: #8faed0;
    font-size: 0.59rem;
    letter-spacing: 0.065em;
    line-height: 1.15;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 650px) {
    .footer-grid a.footer-logo {
        gap: 12px;
    }

    .footer-grid .footer-logo-mark {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .footer-grid .footer-logo-copy small {
        white-space: normal;
    }
}



/* --------------------------------------------------------------------------
   Dokumentni prozor, obavijest o privatnosti i postavke kolačića
   -------------------------------------------------------------------------- */

body.overlay-open {
    overflow: hidden;
}

body.overlay-open .page-scrollbar,
body.overlay-open .back-to-top {
    opacity: 0 !important;
    pointer-events: none !important;
}

.consent a {
    color: var(--navy-900);
    font-weight: 730;
    text-decoration: underline;
    text-decoration-color: rgba(19, 153, 214, 0.45);
    text-underline-offset: 3px;
}

.consent a:hover {
    color: var(--blue-600);
}

.footer-privacy-button {
    display: inline;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    font-size: 0.8rem;
    cursor: pointer;
}

.footer-privacy-button:hover {
    color: var(--white);
}

.document-overlay[hidden],
.cookie-notice[hidden] {
    display: none !important;
}

.document-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    padding: clamp(12px, 2.4vw, 34px);
    place-items: center;
}

.document-overlay-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(3, 16, 35, 0.72);
    border: 0;
    backdrop-filter: blur(9px);
    cursor: default;
}

.document-overlay-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    width: min(1120px, 96vw);
    height: min(900px, 92vh);
    min-height: 0;
    overflow: hidden;
    flex-direction: column;
    background: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 18px;
    box-shadow: 0 35px 100px rgba(3, 16, 35, 0.38);
    outline: 0;
}

.document-overlay-header {
    display: grid;
    min-height: 76px;
    padding: 10px 18px 10px 22px;
    grid-template-columns: 220px 1fr 48px;
    gap: 18px;
    align-items: center;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.document-overlay-brand {
    display: inline-flex;
    width: 190px;
    line-height: 0;
}

.document-overlay-brand img {
    width: 100%;
    height: auto;
}

.document-overlay-header > p {
    margin: 0;
    color: var(--navy-900);
    font-size: 0.84rem;
    font-weight: 780;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
}

.document-overlay-close {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0 0 3px;
    color: var(--navy-900);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 9px;
    place-items: center;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.document-overlay-close:hover {
    color: var(--white);
    background: var(--navy-900);
    border-color: var(--navy-900);
}

.document-overlay-scroll {
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.document-overlay-content {
    min-height: 100%;
}

.document-overlay-loading,
.document-overlay-error {
    display: grid;
    min-height: 440px;
    padding: 40px;
    color: var(--muted);
    place-items: center;
    text-align: center;
}

.legal-document {
    width: min(100% - 48px, 860px);
    margin-inline: auto;
    padding: clamp(42px, 7vw, 84px) 0 clamp(64px, 8vw, 96px);
}

.legal-document-header {
    padding-bottom: 30px;
    margin-bottom: 38px;
    border-bottom: 1px solid var(--line);
}

.legal-document-header .eyebrow {
    margin-bottom: 14px;
}

.legal-document-header h1 {
    max-width: 760px;
    margin-bottom: 18px;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.legal-document-meta {
    color: var(--muted);
    font-size: 0.87rem;
}

.legal-document h2 {
    margin: 46px 0 16px;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.legal-document h3 {
    margin: 28px 0 10px;
    font-size: 1.12rem;
}

.legal-document p,
.legal-document li {
    color: #435570;
    font-size: 0.98rem;
    line-height: 1.78;
}

.legal-document ul {
    padding-left: 22px;
}

.legal-document li + li {
    margin-top: 8px;
}

.legal-document a {
    color: var(--navy-900);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(19, 153, 214, 0.45);
    text-underline-offset: 3px;
}

.legal-document a:hover {
    color: var(--blue-600);
}

.legal-document-note {
    padding: 22px 24px;
    margin: 28px 0;
    background: var(--surface);
    border-left: 5px solid var(--blue-500);
    border-radius: 0 10px 10px 0;
}

.legal-table-wrap {
    margin: 24px 0;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.legal-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.legal-table th,
.legal-table td {
    padding: 16px 18px;
    color: #435570;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    color: var(--navy-900);
    background: var(--surface);
    font-size: 0.79rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.legal-table tr:last-child td {
    border-bottom: 0;
}

.legal-action-row {
    display: flex;
    margin-top: 34px;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-notice {
    position: fixed;
    right: clamp(14px, 2.4vw, 34px);
    bottom: clamp(14px, 2.4vw, 30px);
    left: clamp(14px, 2.4vw, 34px);
    z-index: 4500;
    display: flex;
    width: min(1120px, calc(100% - 28px));
    padding: 20px 22px;
    margin-inline: auto;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
    color: var(--white);
    background: rgba(6, 23, 49, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    box-shadow: 0 22px 70px rgba(3, 16, 35, 0.34);
    backdrop-filter: blur(14px);
}

.cookie-notice-copy {
    max-width: 720px;
}

.cookie-notice-copy strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
}

.cookie-notice-copy p {
    margin: 0;
    color: #c3d0df;
    font-size: 0.86rem;
    line-height: 1.55;
}

.cookie-notice-copy a {
    color: var(--white);
    font-weight: 720;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-notice-actions {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

.cookie-notice .button {
    min-height: 46px;
    padding: 10px 18px;
    font-size: 0.84rem;
}

.map-consent-placeholder {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    padding: 28px;
    color: var(--white);
    background:
        radial-gradient(circle at 20% 20%, rgba(34, 174, 232, 0.18), transparent 32%),
        linear-gradient(135deg, #0b2e5f, #071d3d);
    place-items: center;
    text-align: center;
}

.map-consent-placeholder > div {
    max-width: 590px;
}

.map-consent-kicker {
    display: block;
    margin-bottom: 9px;
    color: #8ed7f6;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.map-consent-placeholder strong {
    display: block;
    margin-bottom: 12px;
    font-size: clamp(1.55rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.map-consent-placeholder p {
    margin: 0 auto 22px;
    color: #c6d4e3;
    font-size: 0.91rem;
}

.map-consent-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.map-consent-actions a {
    color: var(--white);
    font-size: 0.86rem;
    font-weight: 720;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.map-section:not(.map-is-loaded) .map-interaction-shield,
.map-section:not(.map-is-loaded) .map-interaction-close {
    display: none !important;
}

.map-section.map-is-loaded .map-consent-placeholder {
    display: none;
}

/* Samostalni prikaz dokumenata kada JavaScript nije dostupan ili se URL otvori izravno. */
.legal-page-body {
    min-height: 100vh;
    background: var(--surface);
}

.legal-page-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.legal-page-header-inner {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
}

.legal-page-header .brand-image {
    width: 220px;
}

.legal-page-main {
    width: min(calc(100% - 28px), 980px);
    margin: 36px auto 70px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.legal-page-main .legal-document {
    width: min(100% - 48px, 860px);
}

.legal-page-footer {
    padding: 26px 0;
    color: #b8c5d5;
    background: #061731;
    text-align: center;
}

.legal-page-footer p {
    margin: 0;
    font-size: 0.82rem;
}

@media (max-width: 760px) {
    .legal-page-header-inner {
        min-height: 72px;
    }

    .legal-page-header .brand-image {
        width: 176px;
        height: 42px;
    }

    .legal-page-header .brand-image img {
        max-height: 42px;
    }

    .legal-page-header .button {
        min-height: 42px;
        padding: 9px 13px;
        font-size: 0.78rem;
    }

    .legal-page-main {
        margin-top: 18px;
    }

    .document-overlay {
        padding: 0;
    }

    .document-overlay-dialog {
        width: 100%;
        height: 100%;
        max-height: none;
        border: 0;
        border-radius: 0;
    }

    .document-overlay-header {
        min-height: 68px;
        padding: 8px 12px 8px 15px;
        grid-template-columns: 150px 1fr 44px;
        gap: 10px;
    }

    .document-overlay-brand {
        width: 145px;
    }

    .document-overlay-header > p {
        overflow: hidden;
        font-size: 0.68rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .legal-document {
        width: min(100% - 30px, 860px);
        padding-top: 38px;
    }

    .cookie-notice {
        display: block;
        padding: 19px;
    }

    .cookie-notice-actions {
        margin-top: 16px;
    }

    .cookie-notice-actions .button {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .document-overlay-header {
        grid-template-columns: 1fr 44px;
    }

    .document-overlay-header > p {
        display: none;
    }

    .cookie-notice-actions {
        flex-direction: column-reverse;
    }

    .cookie-notice-actions .button {
        width: 100%;
    }

    .map-consent-placeholder {
        padding: 20px;
    }
}

/* Kontrast i prikaz gumba unutar pravnih dokumenata. */
.legal-document a.button {
    text-decoration: none;
}

.legal-document a.button-primary,
.legal-document a.button-primary:visited,
.legal-document a.button-primary:hover {
    color: var(--white);
}

.legal-document a.button-secondary,
.legal-document a.button-secondary:visited {
    color: var(--navy-900);
}
