:root {
    --axivorm-blue: #007ea3;
    --axivorm-coral: #f58466;
    --axivorm-dark: #111820;
    --axivorm-text: #151a22;
    --anchor-offset: 8.5rem;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--anchor-offset);
}

body {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    color: var(--axivorm-text);
}

h1, h2, h3 {
    letter-spacing: -0.02em;
}

[id] {
    scroll-margin-top: var(--anchor-offset);
}

.ax-navbar {
    background: var(--axivorm-blue);
    border-bottom: 1px solid rgba(245, 132, 102, .65);
}

.ax-logo {
    width: 285px;
    max-width: 100%;
    height: auto;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, .82);
    font-weight: 600;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

.ax-btn-accent {
    background: #fff;
    color: var(--axivorm-blue);
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, .4);
}

.ax-btn-accent:hover {
    background: var(--axivorm-coral);
    color: #fff;
}

.browser-card {
    border-color: rgba(245, 132, 102, .45) !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .35) !important;
}

.mini-card-light {
    background: var(--axivorm-coral);
    color: #fff;
}

.card {
    transition: transform .35s ease, box-shadow .35s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .12) !important;
}

.services-section {
    padding: 7rem 0;
    background:
        radial-gradient(circle at 15% 10%, rgba(0, 126, 163, .07), transparent 28%),
        #fff;
}

.section-kicker {
    margin-bottom: 1rem;
    color: rgba(21, 26, 34, .55);
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.section-title {
    max-width: 760px;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.service-card {
    height: 100%;
    padding: 2rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .06);
    transition:
        transform .45s cubic-bezier(.2, .8, .2, 1),
        box-shadow .45s cubic-bezier(.2, .8, .2, 1),
        border-color .45s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(245, 132, 102, .45);
    box-shadow: 0 35px 90px rgba(0, 126, 163, .16);
}

.service-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border-radius: 10px;
    background:
        linear-gradient(135deg, var(--axivorm-blue), var(--axivorm-coral));
}

.service-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.service-card h3 {
    margin-bottom: .85rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.service-card p {
    margin-bottom: 0;
    font-weight: 400;
    color: rgba(21, 26, 34, .65);
    line-height: 1.65;
}

.faq-section {
    padding: 2rem 0;
    background: #fff;
}

.faq-intro {
    max-width: 34rem;
    margin-top: 1.25rem;
    color: rgba(21, 26, 34, .65);
    line-height: 1.7;
}

.faq-accordion {
    --bs-accordion-border-color: rgba(0, 0, 0, .08);
    --bs-accordion-border-radius: 8px;
    --bs-accordion-inner-border-radius: 8px;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(0, 126, 163, .18);
    --bs-accordion-active-color: var(--axivorm-text);
    --bs-accordion-active-bg: rgba(0, 126, 163, .06);
}

.faq-accordion .accordion-item {
    margin-bottom: .75rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
}

.faq-accordion .accordion-button {
    font-weight: 700;
    line-height: 1.35;
}

.faq-accordion .accordion-body {
    color: rgba(21, 26, 34, .72);
    line-height: 1.75;
}

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

.js .reveal {
    opacity: 0;
    transform: translateY(44px) scale(.985);
    transition:
        opacity .9s ease,
        transform .9s cubic-bezier(.2, .8, .2, 1);
}

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

.reveal-delay-1 {
    transition-delay: .06s;
}

.reveal-delay-2 {
    transition-delay: .12s;
}

.reveal-delay-3 {
    transition-delay: .18s;
}

/* =========================
   Spacing refinements
========================= */

.services-section {
    padding: 5.75rem 0 6.5rem;
}

.section-kicker {
    margin-bottom: .85rem;
}

.section-title {
    margin-bottom: 0;
}

.services-section .row.mb-5 {
    margin-bottom: 3.75rem !important;
}

@media (max-width: 991.98px) {
    :root {
        --anchor-offset: 7.5rem;
    }

    .hero-container {
        padding-top: 4rem;
        padding-bottom: 4.5rem;
    }

    .services-section {
        padding: 4.5rem 0 5rem;
    }
}

/* =========================
   Premium buttons
========================= */

.btn {
    --bs-btn-padding-x: 1.35rem;
    --bs-btn-padding-y: .72rem;
    --bs-btn-font-weight: 700;
    border-radius: 10px;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background-color .25s ease,
        border-color .25s ease,
        color .25s ease;
}

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

.rounded-pill {
    border-radius: 10px !important;
}

.ax-btn-accent {
    padding: .65rem 1.15rem;
    font-size: .92rem;
    box-shadow: 0 10px 28px rgba(255, 255, 255, .14);
}

.ax-btn-accent:hover {
    box-shadow: 0 16px 36px rgba(245, 132, 102, .28);
}

.hero-actions {
    margin-top: 1.85rem;
}

.portfolio-card {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .07);
    transition:
        transform .45s cubic-bezier(.2, .8, .2, 1),
        box-shadow .45s cubic-bezier(.2, .8, .2, 1);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 90px rgba(0, 126, 163, .16);
}

.portfolio-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.portfolio-image-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 126, 163, .22), transparent 34%),
        linear-gradient(135deg, #edf7fa, #fff);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.08);
}

.portfolio-category {
    position: absolute;
    left: 1rem;
    top: 1rem;
    padding: .38rem .7rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(12px);
    color: var(--axivorm-blue);
    font-size: .75rem;
    font-weight: 800;
}

.portfolio-content {
    padding: 1.55rem;
}

.portfolio-content h3 {
    margin-bottom: .65rem;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.portfolio-content p {
    margin-bottom: 1.2rem;
    color: rgba(21, 26, 34, .64);
    line-height: 1.65;
}

.portfolio-cta {
    color: var(--axivorm-coral);
    font-weight: 800;
    font-size: .95rem;
}

/* =========================
   Portfolio overview
========================= */

.portfolio-page {
    min-height: 100vh;
    padding: 6rem 0;
    background:
        radial-gradient(circle at 8% 4%, rgba(0, 126, 163, .10), transparent 26%),
        linear-gradient(180deg, #f5f7f8 0%, #eef3f5 100%);
}

.portfolio-page-inner {
    position: relative;
}

.portfolio-page-header {
    max-width: 780px;
    margin-bottom: 3.5rem;
}

.portfolio-page-header h1 {
    margin-bottom: .85rem;
    color: var(--axivorm-text);
    font-size: clamp(2.8rem, 5vw, 4.7rem);
    line-height: 1;
    font-weight: 800;
}

.portfolio-page-header p:not(.section-kicker) {
    margin-bottom: 0;
    color: rgba(21, 26, 34, .66);
    font-size: 1.22rem;
    line-height: 1.6;
}

.portfolio-overview-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(9, 24, 34, .09);
    box-shadow: 0 22px 70px rgba(9, 24, 34, .08);
    transition:
        transform .35s cubic-bezier(.2, .8, .2, 1),
        box-shadow .35s cubic-bezier(.2, .8, .2, 1),
        border-color .35s ease;
}

.portfolio-overview-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 126, 163, .20);
    box-shadow: 0 34px 90px rgba(0, 64, 83, .15);
}

.portfolio-overview-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    padding: 1rem;
    background:
        radial-gradient(circle at 18% 0%, rgba(245, 132, 102, .28), transparent 30%),
        radial-gradient(circle at 100% 18%, rgba(0, 126, 163, .36), transparent 32%),
        linear-gradient(135deg, #071923 0%, #0b3542 100%);
    border-bottom: 1px solid rgba(9, 24, 34, .09);
}

.portfolio-overview-image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    object-position: top center;
    background: #fff;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
    transition: transform .55s cubic-bezier(.2, .8, .2, 1);
}

.portfolio-overview-card:hover .portfolio-overview-image {
    transform: scale(1.035);
}

.portfolio-overview-category {
    position: absolute;
    left: 1.65rem;
    top: 1.65rem;
    max-width: calc(100% - 3.3rem);
    padding: .42rem .75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .15);
    color: var(--axivorm-blue);
    font-size: .76rem;
    font-weight: 800;
    line-height: 1.2;
}

.portfolio-overview-content {
    padding: 1.55rem;
}

.portfolio-overview-content h2 {
    margin-bottom: .7rem;
    color: var(--axivorm-text);
    font-size: 1.32rem;
    font-weight: 800;
    line-height: 1.2;
}

.portfolio-overview-content p {
    margin-bottom: 1.15rem;
    color: rgba(21, 26, 34, .66);
    line-height: 1.62;
}

.portfolio-overview-link {
    color: var(--axivorm-coral);
    font-weight: 800;
    text-decoration: none;
}

.portfolio-overview-link::after {
    content: "";
    position: absolute;
    inset: 0;
}

.portfolio-overview-link:hover {
    color: var(--axivorm-blue);
}

/* =========================
   Footer
========================= */

.footer-axivorm {
    background: linear-gradient(180deg, #0c141b 0%, #091018 100%);
    color: rgba(255, 255, 255, .7);
    padding: 5rem 0 2rem;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: .95rem;
    line-height: 1.7;
}

.footer-text a {
    color: #fff;
    text-decoration: none;
}

.footer-heading {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 700;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: .6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    transition: color .2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-cta {
    margin-top: 2rem;
}

.footer-bottom {
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-left {
    font-size: .85rem;
    color: rgba(255, 255, 255, .5);
}

.footer-bottom-right {
    display: flex;
    gap: 1rem;
}

.footer-bottom-right a {
    color: rgba(255, 255, 255, .5);
    text-decoration: none;
    font-size: .85rem;
}

.footer-bottom-right a:hover {
    color: #fff;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-logo {
    width: 180px;
    max-width: 100%;
}

.footer-social {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    color: #fff;
    transition: all .25s ease;
}

.footer-social a:hover {
    background: var(--axivorm-coral);
    color: #fff;
    transform: translateY(-2px);
}

.ax-navbar {
    background: rgba(0, 126, 163, 1);
    border-bottom: 1px solid rgba(245, 132, 102, .65);
    transition:
        background-color .3s ease,
        box-shadow .3s ease,
        padding .3s ease,
        backdrop-filter .3s ease;
}

.ax-navbar .container {
    transition: padding .35s cubic-bezier(.2, .8, .2, 1);
}

.ax-navbar.is-scrolled .container {
    padding-top: .4rem !important;
    padding-bottom: .4rem !important;
}

.ax-logo {
    width: 285px;
    max-width: 100%;
    height: auto;
    transform: scale(1);
    transform-origin: left center;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
    will-change: transform;
}

.ax-navbar.is-scrolled .ax-logo,
.ax-navbar.is-scrolled .navbar-brand img {
    width: 285px;
    /* niet aanpassen */
    transform: scale(.82);
}

/* =========================
   Case detail page
========================= */

.case-page {
    background: #fff;
}

.case-hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    color: #fff;
    background:
        radial-gradient(circle at 80% 25%, rgba(0, 126, 163, .45), transparent 34%),
        radial-gradient(circle at 95% 85%, rgba(245, 132, 102, .20), transparent 30%),
        linear-gradient(135deg, #08131b 0%, #111820 55%, #17232b 100%);
    box-shadow:
        inset 0 -120px 120px rgba(0, 0, 0, .22),
        inset 0 120px 120px rgba(0, 0, 0, .12);
}

.case-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .065) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .065) 1px, transparent 1px),
        linear-gradient(135deg, rgba(245, 132, 102, .10) 1px, transparent 1px);
    background-size: 72px 72px, 72px 72px, 160px 160px;
    mask-image: radial-gradient(circle at 55% 45%, black 18%, transparent 78%);
    opacity: .9;
    pointer-events: none;
}

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

.case-back-link {
    display: inline-flex;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
    font-weight: 700;
}

.case-back-link:hover {
    color: #fff;
}

.case-kicker {
    display: inline-flex;
    margin-bottom: 1.25rem;
    padding: .35rem .75rem;
    border-radius: 10px;
    border: 1px solid rgba(245, 132, 102, .55);
    background: rgba(245, 132, 102, .13);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
}

.case-title {
    max-width: 760px;
    margin-bottom: 1.5rem;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    line-height: 1.03;
    letter-spacing: -0.04em;
    font-weight: 700;
    color: #fff;
}

.case-intro {
    max-width: 680px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, .7);
    font-size: 1.15rem;
    line-height: 1.7;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.case-meta div {
    padding: 1rem 1.2rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(14px);
}

.case-meta span {
    display: block;
    margin-bottom: .25rem;
    color: rgba(255, 255, 255, .5);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.case-meta strong {
    color: #fff;
    font-weight: 700;
}

.case-hero-image-wrap {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(245, 132, 102, .45);
    background: #000;
    box-shadow: 0 35px 100px rgba(0, 0, 0, .38);
}

.case-hero-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.case-content-section {
    padding: 6rem 0;
    background:
        radial-gradient(circle at 8% 10%, rgba(0, 126, 163, .06), transparent 22%),
        #fff;
}

.case-sidebar {
    position: sticky;
    top: 120px;
    padding: 2rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .07);
}

.case-sidebar h2 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.case-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-sidebar li {
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, .07);
}

.case-sidebar span {
    display: block;
    margin-bottom: .25rem;
    color: rgba(21, 26, 34, .48);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.case-sidebar strong {
    color: var(--axivorm-text);
    font-weight: 700;
}

.case-article {
    max-width: 780px;
}

.case-article h2 {
    margin-bottom: 1.25rem;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 700;
}

.case-article p,
.case-article {
    color: rgba(21, 26, 34, .72);
    font-size: 1.05rem;
    line-height: 1.85;
}

.case-highlight-section {
    padding: 0 0 6rem;
}

.case-highlight-card {
    padding: 3rem;
    border-radius: 10px;
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(0, 126, 163, .35), transparent 30%),
        linear-gradient(135deg, #0c141b, #111820);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .16);
}

.case-highlight-card h2 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.case-highlight-card p {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .68);
    font-size: 1.05rem;
    line-height: 1.75;
}

.case-hero-empty {
    min-height: 520px;
    display: flex;
    align-items: center;
}

.case-hero-empty h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.case-hero-empty p {
    color: rgba(255, 255, 255, .7);
    font-size: 1.15rem;
}

@media (max-width: 991.98px) {
    .case-hero {
        padding: 4.5rem 0;
    }

    .case-content-section {
        padding: 4.5rem 0;
    }

    .case-sidebar {
        position: static;
    }

    .case-highlight-card {
        padding: 2rem;
    }
}

/* =========================
   Contact page
========================= */

.contact-hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    color: #fff;
    background:
        radial-gradient(circle at 80% 25%, rgba(0, 126, 163, .45), transparent 34%),
        radial-gradient(circle at 95% 85%, rgba(245, 132, 102, .20), transparent 30%),
        linear-gradient(135deg, #08131b 0%, #111820 55%, #17232b 100%);
    box-shadow:
        inset 0 -120px 120px rgba(0, 0, 0, .22),
        inset 0 120px 120px rgba(0, 0, 0, .12);
}

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

.contact-card {
    padding: 2rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(18px);
    box-shadow: 0 35px 100px rgba(0, 0, 0, .28);
}

.contact-card h2 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 700;
}

.contact-card p {
    color: rgba(255, 255, 255, .7);
    line-height: 1.75;
}

.contact-card a {
    color: #fff;
    text-decoration: none;
}

.contact-social {
    display: inline-flex;
    margin-top: .5rem;
    font-weight: 700;
    color: var(--axivorm-coral) !important;
}

.contact-section {
    padding: 6rem 0;
    background:
        radial-gradient(circle at 8% 10%, rgba(0, 126, 163, .06), transparent 22%),
        #fff;
}

.contact-lead {
    margin-top: 1.25rem;
    max-width: 520px;
    color: rgba(21, 26, 34, .68);
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-form {
    padding: 2rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .08);
}

.contact-form .form-label {
    font-size: .82rem;
    font-weight: 800;
    color: rgba(21, 26, 34, .58);
}

.contact-form .form-control {
    min-height: 52px;
    border-radius: 10px;
    border-color: rgba(0, 0, 0, .1);
    padding: .8rem 1rem;
}

.contact-form textarea.form-control {
    min-height: 180px;
}

.contact-form .form-control:focus {
    border-color: rgba(0, 126, 163, .55);
    box-shadow: 0 0 0 .25rem rgba(0, 126, 163, .12);
}

@media (max-width: 991.98px) {
    .contact-hero {
        padding: 4.5rem 0;
    }

    .contact-section {
        padding: 4.5rem 0;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* =========================
   Eigen projecten
========================= */

.projects-section {
    padding: 6rem 0;
    background:
        radial-gradient(circle at 8% 10%, rgba(0, 126, 163, .06), transparent 22%),
        #fff;
}

.projects-page .portfolio-card {
    min-height: 100%;
}

.content-page-section {
    padding: 6rem 0;
    background:
        radial-gradient(circle at 8% 10%, rgba(0, 126, 163, .06), transparent 22%),
        #fff;
}

.content-page-section .case-article h2:not(:first-child) {
    margin-top: 3rem;
}

/* ======================================================
   LEGAL PAGES
====================================================== */

.legal-hero {
    position: relative;
    overflow: hidden;
    padding: 7rem 0 4rem;
    background:
        radial-gradient(circle at top left,
            rgba(0, 126, 163, .22),
            transparent 32%),
        radial-gradient(circle at bottom right,
            rgba(245, 132, 102, .14),
            transparent 26%),
        #07141d;
}

.legal-section {
    padding: 5rem 0;
    background:
        radial-gradient(circle at top left,
            rgba(0, 126, 163, .05),
            transparent 20%),
        #f6f8fb;
}

.legal-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: 110px;
}

.legal-sidebar-inner {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.legal-sidebar h2 {
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.legal-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-sidebar ol {
    margin: 0;
    padding-left: 1.15rem;
}

.legal-sidebar li {
    color: #64748b;
    line-height: 1.45;
}

.legal-sidebar li+li {
    margin-top: .8rem;
}

.legal-sidebar a {
    color: #0f172a;
    text-decoration: none;
    font-size: .95rem;
    transition: .25s ease;
}

.legal-sidebar a:hover {
    color: var(--axivorm-blue);
    padding-left: 4px;
}

.legal-document {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 18px 60px rgba(15, 23, 42, .08);
    background: #2A7B9B;
    background: linear-gradient(170deg, rgba(0, 126, 163, 0.20) 0%, rgba(255, 255, 255, 1) 15%);
}

.legal-document-header {
    padding: 3rem;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.legal-logo {
    width: 210px;
    margin-bottom: 2rem;
}

.legal-company-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.legal-company-card {
    background: rgba(255, 255, 255, .9);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(15, 23, 42, .06);
    font-size: .95rem;
    line-height: 1.7;
}

.legal-company-card span {
    display: block;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #64748b;
    margin-bottom: .4rem;
    font-weight: 700;
}

.legal-content {
    padding: 3rem;
}

.legal-article {
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.legal-article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.legal-article h2 {
    font-size: 1.9rem;
    margin-bottom: 2rem;
    letter-spacing: -.03em;
    color: #07141d;
}

.legal-clause {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.legal-number {
    color: var(--axivorm-blue);
    font-weight: 700;
}

.legal-text p {
    color: #475569;
    line-height: 1.9;
    margin: 0;
}

.legal-sublist {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.legal-sublist li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: .7rem;
    margin-bottom: .7rem;
}

.legal-sublist span:first-child {
    color: var(--axivorm-blue);
    font-weight: 700;
}

@media (max-width: 991px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: relative;
        top: 0;
    }

    .legal-content,
    .legal-document-header {
        padding: 2rem;
    }

    .legal-company-grid,
    .signature-grid {
        grid-template-columns: 1fr;
    }

    .legal-clause {
        grid-template-columns: 1fr;
        gap: .3rem;
    }
}

@media (max-width: 575.98px) {

    .legal-content,
    .legal-document-header {
        padding: 1.4rem;
    }

    .legal-document {
        border-radius: 10px;
    }

    .legal-sidebar-inner {
        border-radius: 10px;
        padding: 1.4rem;
    }
}

/* ======================================================
   HOMEPAGE HERO — Axivorm
====================================================== */

.hero-section {
    position: relative;
    width: 100%;
    min-height: 620px;
    background: var(--axivorm-dark);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-container {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: 4rem;
    align-items: center;
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
}

.hero-blob {
    position: absolute;
    border-radius: 10px;
    filter: blur(90px);
    will-change: transform;
    pointer-events: none;
    animation: heroBlobDrift 28s linear infinite;
}

.hero-blob--1 {
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(0, 126, 163, .46), transparent 70%);
    top: -180px;
    left: -140px;
}

.hero-blob--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 132, 102, .26), transparent 70%);
    right: -90px;
    bottom: -180px;
    animation-delay: -8s;
}

.hero-blob--3 {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(0, 126, 163, .24), transparent 70%);
    right: 28%;
    top: 22%;
    animation-delay: -14s;
}

.hero-blob--4 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(245, 132, 102, .18), transparent 70%);
    left: 42%;
    bottom: 8%;
    animation-delay: -20s;
}

@keyframes heroBlobDrift {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    35% {
        transform: translate3d(32px, -28px, 0) scale(1.05);
    }

    70% {
        transform: translate3d(-24px, 36px, 0) scale(.97);
    }
}

.hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, black 18%, transparent 95%);
}

.hero-lines,
.hero-scan,
.hero-glow,
.hero-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-lines {
    width: 100%;
    height: 100%;
    opacity: .18;
}

.hero-scan {
    background: repeating-linear-gradient(to bottom,
            transparent 0,
            transparent 5px,
            rgba(0, 0, 0, .06) 5px,
            rgba(0, 0, 0, .06) 6px);
}

.hero-glow {
    top: auto;
    height: 220px;
    background: linear-gradient(to top, rgba(0, 126, 163, .16), transparent);
}

.hero-vignette {
    background: radial-gradient(ellipse 100% 100% at 50% 50%,
            transparent 42%,
            rgba(8, 19, 27, .78) 100%);
}

.hero-content {
    position: relative;
    z-index: 6;
    max-width: 650px;
}

.hero-eyebrow {
    display: inline-flex;
    margin-bottom: 1.5rem;
    padding: .42rem .9rem;
    border-radius: 10px;
    border: 1px solid rgba(245, 132, 102, .52);
    background: rgba(245, 132, 102, .12);
    color: rgba(255, 255, 255, .82);
    font-size: .78rem;
    font-weight: 700;
}

.hero-title {
    margin-bottom: 1.45rem;
    color: #fff;
    font-size: clamp(2.55rem, 3.4vw, 3.6rem);
    line-height: 1.06;
    letter-spacing: -.035em;
    font-weight: 700;
}

.hero-title em {
    font-style: normal;
    color: var(--axivorm-coral);
}

.hero-subtitle {
    max-width: 590px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, .66);
    font-size: 1.05rem;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .78rem 1.45rem;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}

.btn-hero-primary {
    background: #fff;
    color: var(--axivorm-dark);
    box-shadow: 0 18px 45px rgba(255, 255, 255, .10);
}

.btn-hero-primary:hover {
    background: var(--axivorm-coral);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 22px 55px rgba(245, 132, 102, .24);
}

.btn-hero-secondary {
    border: 1px solid rgba(255, 255, 255, .32);
    color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .035);
}

.btn-hero-secondary:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .62);
    background: rgba(255, 255, 255, .09);
    transform: translateY(-2px);
}

.hero-card {
    position: relative;
    z-index: 6;
    width: 100%;
    padding: 2rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, .55);
    border: 1px solid rgba(245, 132, 102, .42);
    backdrop-filter: blur(18px);
    box-shadow: 0 34px 100px rgba(0, 0, 0, .36);
}

.hero-card__dots {
    display: flex;
    gap: .45rem;
    margin-bottom: 1.5rem;
}

.hero-card__dots span {
    width: .65rem;
    height: .65rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, .32);
}

.hero-card__bar {
    height: .62rem;
    margin-bottom: .75rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, .10);
    overflow: hidden;
}

.hero-card__bar-fill {
    height: 100%;
    border-radius: 10px;
    background: rgba(255, 255, 255, .48);
    transform-origin: left;
    animation: heroBarPulse 3s ease-in-out infinite alternate;
}

.hero-card__bar-fill--1 {
    width: 72%;
}

.hero-card__bar-fill--2 {
    width: 94%;
    animation-delay: .35s;
}

.hero-card__bar-fill--3 {
    width: 82%;
    animation-delay: .7s;
}

@keyframes heroBarPulse {
    from {
        transform: scaleX(.76);
    }

    to {
        transform: scaleX(1);
    }
}

.hero-card__tags {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem;
    margin-top: 1.8rem;
}

.hero-card__tag {
    min-height: 86px;
    display: flex;
    align-items: center;
    padding: 1.2rem;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 800;
}

.hero-card__tag--outline {
    color: #fff;
    background: rgba(255, 255, 255, .045);
}

.hero-card__tag--coral {
    color: #fff;
    background: var(--axivorm-coral);
}

/* ======================================================
   RESPONSIVE
====================================================== */

@media (max-width: 1199.98px) {
    .hero-container {
        grid-template-columns: minmax(0, 1fr) 420px;
        gap: 3rem;
    }

    .hero-title {
        font-size: clamp(2.4rem, 4.6vw, 4rem);
    }
}

@media (max-width: 991.98px) {
    .ax-logo {
        width: 230px;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

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

    .hero-card {
        max-width: 540px;
    }

    .hero-title {
        font-size: clamp(2.35rem, 8vw, 3.5rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .footer-axivorm {
        margin-top: 0;
    }
}

@media (max-width: 767.98px) {
    :root {
        --anchor-offset: 6.75rem;
    }

    .ax-navbar .container {
        padding-top: .8rem !important;
        padding-bottom: .8rem !important;
    }

    .ax-logo {
        width: 205px;
    }

    .hero-container {
        padding-top: 3.5rem;
        padding-bottom: 3.75rem;
    }

    .hero-title {
        font-size: clamp(2.15rem, 10vw, 3rem);
        line-height: 1.08;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
    }

    .hero-card {
        padding: 1.4rem;
        border-radius: 10px;
    }

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

    .services-section,
    .projects-section,
    .content-page-section,
    .contact-section,
    .case-content-section {
        padding: 4rem 0;
    }

    .section-title,
    .display-5 {
        font-size: clamp(2rem, 8vw, 2.6rem);
    }

    .service-card,
    .contact-form,
    .case-sidebar {
        padding: 1.5rem;
    }

    .portfolio-content {
        padding: 1.35rem;
    }

    .portfolio-page {
        padding: 4rem 0;
    }

    .portfolio-page-header {
        margin-bottom: 2.5rem;
    }

    .portfolio-page-header h1 {
        font-size: clamp(2.35rem, 12vw, 3.1rem);
    }

    .portfolio-overview-media {
        padding: .75rem;
    }

    .portfolio-overview-category {
        left: 1.15rem;
        top: 1.15rem;
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom-right {
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .ax-logo {
        width: 185px;
    }

    .hero-eyebrow {
        font-size: .7rem;
        line-height: 1.35;
    }

    .hero-title {
        font-size: 2.15rem;
    }

    .hero-card {
        display: none;
    }

    .legal-content,
    .legal-document-header {
        padding: 1.4rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0 .5rem;
    }

    .navbar-nav {
        gap: .35rem;
    }

    .navbar-nav .nav-link {
        padding: .65rem 0;
    }

    .ax-btn-accent {
        display: inline-flex;
        justify-content: center;
        margin-top: .5rem;
    }
}

.signature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.signature-card {
    padding: 1.4rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, .08);
}

.signature-card strong {
    display: block;
    margin-bottom: .8rem;
    color: #07141d;
}

.legal-content .article {
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.legal-content .article:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.legal-content .article h2 {
    font-size: 1.9rem;
    margin-bottom: 2rem;
    letter-spacing: -.03em;
    color: #07141d;
}

.legal-content .article>p {
    color: #475569;
    line-height: 1.9;
    margin-bottom: 1rem;
}

/* =========================
   Webhosting page
========================= */

.hosting-section {
    padding: 6rem 0;
    background:
        radial-gradient(circle at 8% 10%, rgba(0,126,163,.06), transparent 22%),
        #fff;
}

.hosting-section-light {
    background: #f6f8fb;
}

.domain-price-card {
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.07);
    box-shadow: 0 22px 70px rgba(15,23,42,.08);
}

.domain-table th {
    padding: 1.2rem 1.5rem;
    color: #07141d;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: #f8fafc;
}

.domain-table td {
    padding: 1.2rem 1.5rem;
    color: #475569;
    font-weight: 600;
}

.domain-table td:first-child {
    color: var(--axivorm-blue);
    font-weight: 800;
}

.hosting-card {
    position: relative;
    height: 100%;
    padding: 2rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.07);
    box-shadow: 0 20px 65px rgba(15,23,42,.08);
    transition:
        transform .45s cubic-bezier(.2,.8,.2,1),
        box-shadow .45s cubic-bezier(.2,.8,.2,1),
        border-color .45s ease;
}

.hosting-card:hover {
    transform: translateY(-10px);
    border-color: rgba(245,132,102,.45);
    box-shadow: 0 35px 90px rgba(0,126,163,.15);
}

.hosting-card-featured {
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(0,126,163,.42), transparent 32%),
        linear-gradient(135deg, #0c141b, #111820);
    border-color: rgba(245,132,102,.45);
}

.hosting-badge {
    display: inline-flex;
    margin-bottom: 1.2rem;
    padding: .35rem .75rem;
    border-radius: 10px;
    color: #fff;
    background: var(--axivorm-coral);
    font-size: .75rem;
    font-weight: 800;
}

.hosting-card h3 {
    margin-bottom: .8rem;
    font-size: 1.55rem;
    font-weight: 700;
}

.hosting-description {
    min-height: 58px;
    margin-bottom: 1.4rem;
    color: rgba(21,26,34,.62);
    line-height: 1.65;
}

.hosting-card-featured .hosting-description {
    color: rgba(255,255,255,.68);
}

.hosting-price {
    margin-bottom: 1.6rem;
}

.hosting-price span {
    display: block;
    color: var(--axivorm-blue);
    font-size: 2.3rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.04em;
}

.hosting-card-featured .hosting-price span {
    color: #fff;
}

.hosting-price small {
    display: block;
    margin-top: .45rem;
    color: rgba(21,26,34,.55);
    font-weight: 600;
}

.hosting-card-featured .hosting-price small {
    color: rgba(255,255,255,.62);
}

.hosting-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.hosting-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: .75rem;
    color: rgba(21,26,34,.7);
    line-height: 1.55;
}

.hosting-card-featured li {
    color: rgba(255,255,255,.78);
}

.hosting-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--axivorm-coral);
    font-weight: 900;
}

.custom-hosting-card {
    padding: 3rem;
    border-radius: 10px;
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(0,126,163,.35), transparent 30%),
        linear-gradient(135deg, #0c141b, #111820);
    box-shadow: 0 30px 90px rgba(0,0,0,.16);
}

.custom-hosting-card h2 {
    max-width: 780px;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -.04em;
    font-weight: 700;
}

.custom-hosting-card p {
    max-width: 760px;
    margin-bottom: 0;
    color: rgba(255,255,255,.68);
    font-size: 1.05rem;
    line-height: 1.75;
}

@media (max-width: 767.98px) {
    .hosting-section {
        padding: 4rem 0;
    }

    .hosting-card,
    .custom-hosting-card {
        padding: 1.5rem;
    }

    .hosting-description {
        min-height: auto;
    }

    .domain-table th,
    .domain-table td {
        padding: 1rem;
    }
}

/* =========================
   Logo marquee
========================= */

.logo-marquee-section {
    overflow: hidden;
    padding: 5rem 0;
    background: #fff;
}

.logo-marquee-title {
    margin-bottom: 2.5rem;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    letter-spacing: -.03em;
}

.logo-marquee {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(
        90deg,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.logo-marquee-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: logoMarquee 34s linear infinite;
}

.logo-marquee:hover .logo-marquee-track {
    animation-play-state: paused;
}

.logo-marquee-item {
    flex: 0 0 auto;
    width: 190px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.4rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .07);
    box-shadow: 0 14px 45px rgba(15, 23, 42, .06);
}

.logo-marquee-item img {
    max-width: 150px;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .72;
    transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}

.logo-marquee-item:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.04);
}

@keyframes logoMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 767.98px) {
    .logo-marquee-section {
        padding: 4rem 0;
    }

    .logo-marquee-track {
        gap: 1.5rem;
        animation-duration: 24s;
    }

    .logo-marquee-item {
        width: 150px;
        height: 74px;
    }

    .logo-marquee-item img {
        max-width: 115px;
        max-height: 42px;
    }
}
