:root {
    --bg: #edf2fb;
    --surface: #fcfdfe;
    --surface-alt: #d7e3fc;
    --surface-soft: #f5f8fd;
    --surface-tint: #e2eafc;
    --surface-dark: #b6ccfe;
    --ink: #122850;
    --muted: #405678;
    --line: #ccdbfd;
    --accent: #2b69ef;
    --accent-dark: #0d40af;
    --accent-soft: #dbe6fe;
    --shadow: 0 20px 60px rgba(18, 40, 80, 0.1);
    --max-width: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

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

p {
    margin: 0;
    color: var(--muted);
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.08;
    letter-spacing: 0;
}

h1 {
    max-width: 780px;
    font-size: clamp(2.7rem, 6.5vw, 5.2rem);
}

h2 {
    max-width: 720px;
    font-size: clamp(1.85rem, 3.2vw, 2.85rem);
}

h3 {
    font-size: 1.15rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 0.9rem clamp(0.8rem, 3vw, 2rem);
    pointer-events: none;
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(var(--max-width), 100%);
    margin: 0 auto;
    padding: 0.55rem 0.65rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(204, 219, 253, 0.95);
    border-radius: 999px;
    box-shadow: 0 14px 42px rgba(18, 40, 80, 0.08);
    backdrop-filter: blur(18px);
    pointer-events: auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    font-weight: 800;
    white-space: nowrap;
}

.brand-text {
    display: grid;
    gap: 0.05rem;
    line-height: 1.1;
}

.brand-text small {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 700;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2rem;
    color: var(--muted);
    font-size: 0.91rem;
}

.main-nav a {
    padding: 0.6rem 0.75rem;
    border-radius: 999px;
}

.main-nav a:hover,
.main-nav a:focus {
    background: var(--accent-soft);
    color: var(--ink);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: var(--accent-dark);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 900;
}

.menu-toggle,
.mobile-only {
    display: none;
}

.hero,
.section,
.site-footer {
    width: min(var(--max-width), calc(100% - 2rem));
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    min-height: calc(92svh - 74px);
    padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-content {
    display: grid;
    gap: 1.5rem;
}

.eyebrow {
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy {
    max-width: 720px;
    color: #354d74;
    font-size: clamp(1.02rem, 1.7vw, 1.2rem);
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
	margin-top:20px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.85rem 1.15rem;
    border: 1px solid var(--ink);
    border-radius: 6px;
    font-weight: 800;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
    background: var(--ink);
    color: #fff;
}

.button-secondary {
    background: transparent;
}

.button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    font-size: 1.12rem;
    line-height: 1;
}

.hero-media {
    margin: 0;
}

.hero-media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.section {
    padding: clamp(3.5rem, 6.5vw, 5.5rem) 0;
    border-top: 1px solid var(--line);
}

.section-soft,
.section-clean,
.section-tint,
.section-dark {
    box-shadow: 0 0 0 100vmax var(--section-bg, transparent);
    clip-path: inset(0 -100vmax);
    background: var(--section-bg, transparent);
}

.section-soft {
    --section-bg: var(--surface-soft);
}

.section-clean {
    --section-bg: var(--bg);
}

.section-tint {
    --section-bg: var(--surface-tint);
    border-top-color: #ccdbfd;
}

.section-dark {
    --section-bg: var(--surface-dark);
    border-top-color: #abc4ff;
    color: var(--ink);
}

.section-dark p,
.section-dark .eyebrow {
    color: #2f4770;
}

.section-dark .eyebrow {
    color: var(--accent-dark);
}

.section-heading {
    display: grid;
    gap: 0.75rem;
    margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.intro-section,
.split-section,
.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.intro-copy {
    display: grid;
    gap: 1rem;
    font-size: 1.08rem;
}

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

.service-card,
.timeline-list article,
.cert-card,
.product-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 14px 40px rgba(21, 21, 21, 0.04);
}

.service-card {
    display: grid;
    gap: 1rem;
    min-height: 230px;
    padding: 1.45rem;
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #abc4ff;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.card-icon i {
    font-size: 1.34rem;
    line-height: 1;
}

.tag-groups {
    display: grid;
    gap: 2rem;
}

.tag-groups h3 {
    margin-bottom: 0.8rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tag-list li {
    padding: 0.5rem 0.75rem;
    background: var(--accent-soft);
    border: 1px solid #abc4ff;
    border-radius: 999px;
    color: var(--accent-dark);
    font-size: 0.92rem;
    font-weight: 800;
}

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

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

.product-card {
    display: grid;
    gap: 1rem;
    align-content: start;
    min-height: 460px;
    padding: 1.35rem;
    background: rgba(252, 253, 254, 0.76);
    border-color: rgba(13, 64, 175, 0.14);
    box-shadow: 0 14px 40px rgba(18, 40, 80, 0.05);
}

.product-card span {
    width: fit-content;
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(13, 64, 175, 0.26);
    border-radius: 999px;
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 900;
}

.product-card p {
    color: var(--muted);
}

.product-context {
    font-weight: 800;
}

.product-card blockquote {
    margin: 0;
    color: #263f68;
    font-size: 0.98rem;
    line-height: 1.55;
}

.product-card ul {
    display: grid;
    gap: 0.4rem;
    margin: 0.25rem 0 0;
    padding-left: 1.05rem;
    color: #263f68;
    font-size: 0.92rem;
}

.timeline-list article {
    display: grid;
    gap: 0.8rem;
    min-height: 185px;
    padding: 1.35rem;
}

.certifications-section {
    border-top-color: #ccdbfd;
}

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

.cert-card {
    display: grid;
    gap: 1rem;
    align-content: start;
    justify-items: center;
    min-height: 185px;
    padding: 1.25rem 1rem;
    text-align: center;
    font-size: 0.86rem;
    font-weight: 800;
}

.cert-card img {
    width: 112px;
    height: 112px;
    object-fit: contain;
}

.contact-section {
    align-items: center;
}

.contact-section h2 {
    margin: 0.5rem 0 1rem;
}

.contact-panel {
    display: grid;
    gap: 1rem;
    width: 100%;
}

.contact-form {
    display: grid;
    gap: 0.9rem;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 14px 40px rgba(18, 40, 80, 0.05);
}

.contact-form label {
    display: grid;
    gap: 0.35rem;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    padding: 0.85rem 0.9rem;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    outline: 3px solid rgba(43, 105, 239, 0.16);
}

.contact-form input[name="_gotcha"] {
    position: absolute;
    left: -9999px;
}

.contact-form .button {
    width: fit-content;
}

.form-privacy {
    font-size: 0.84rem;
}

.form-privacy a,
.legal-page a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.legal-back {
    padding: 0.5rem 0.75rem;
    color: var(--accent-dark);
    font-size: 0.9rem;
    font-weight: 800;
}

.legal-page {
    width: min(var(--max-width), calc(100% - 2rem));
    margin: 2rem auto;
    padding: 0;
    overflow-wrap: anywhere;
}

.legal-page h1 {
    margin: 0.75rem 0 1rem;
    font-size: clamp(2.2rem, 6vw, 3.6rem);
}

.legal-page section {
    margin-top: 2rem;
    scroll-margin-top: 7rem;
}

.legal-page h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.3rem, 3vw, 1.65rem);
    line-height: 1.25;
}

.legal-page p + p,
.legal-page li + li {
    margin-top: 0.8rem;
}

.legal-page ul {
    padding-left: 1.3rem;
    color: var(--muted);
}

.legal-page button {
    color: var(--ink);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.cookie-declaration {
    max-width: 100%;
    margin-top: 1.5rem;
    overflow-x: auto;
}

.site-footer {
    padding: 2.5rem 0 2rem;
    border-top: 1px solid var(--line);
    font-size: 0.92rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-grid strong {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--ink);
}

.footer-grid p + p {
    margin-top: 0.25rem;
}

.footer-grid a,
.footer-bottom a {
    color: var(--accent-dark);
    font-weight: 800;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.footer-bottom > p {
    flex: 1 1 28rem;
}

.site-footer > .footer-bottom:only-child {
    border-top: 0;
    padding-top: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

@media (max-width: 700px) {
    .footer-bottom > p {
        flex: auto;
    }
}

.back-to-top {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: 25;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(204, 219, 253, 0.95);
    border-radius: 999px;
    background: var(--accent-dark);
    color: #fff;
    box-shadow: 0 16px 38px rgba(18, 40, 80, 0.18);
    font-size: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
    background: var(--accent);
}

.back-to-top:focus-visible {
    outline: 3px solid rgba(43, 105, 239, 0.25);
    outline-offset: 3px;
}

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

@media (max-width: 980px) {
    .nav-shell {
        align-items: flex-start;
        border-radius: 24px;
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
    }

    .hero,
    .intro-section,
    .split-section,
    .contact-section {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-media {
        max-width: 420px;
    }

    .cards-grid,
    .cert-grid,
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
	#home {
		padding-left:10px;
		padding-right:10px;
	}
    .site-header {
        position: sticky;
        padding: 0.75rem 1.1rem;
    }

    .nav-shell {
        position: relative;
        border-radius: 20px;
        padding: 0.6rem;
    }
	.brand-text {
		font-size:1.3em;
	}
    .brand-text small {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        width: 42px;
        height: 42px;
        margin-left: auto;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: var(--surface);
        color: var(--ink);
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transition: transform 160ms ease, opacity 160ms ease;
    }

    .menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 0.65rem);
        right: 0;
        left: 0;
        z-index: 30;
        display: grid;
        grid-template-columns: 1fr;
        align-content: start;
        justify-items: stretch;
        gap: 0.25rem;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 0.7rem;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: 0 18px 45px rgba(18, 40, 80, 0.16);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        visibility: hidden;
        transition: transform 180ms ease, opacity 180ms ease, visibility 0s linear 180ms;
        font-size: 0.88rem;
    }

    .menu-open .main-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        visibility: visible;
        transition-delay: 0s;
    }

    .main-nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        justify-self: stretch;
        width: 100%;
        min-height: 44px;
        padding: 0.9rem 1rem;
        border-radius: 12px;
        font-size: 1rem;
        text-align: center;
    }

    .mobile-only {
        display: flex;
        background: var(--accent-dark);
        color: #fff;
        font-weight: 900;
    }

    .hero,
    .section,
    .site-footer {
        width: min(var(--max-width), calc(100% - 2rem));
    }

    .hero {
        padding-top: 3rem;
    }

    .cards-grid,
    .timeline-list,
    .product-grid {
        grid-template-columns: 1fr;
    }

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

    .service-card,
    .timeline-list article,
    .cert-card,
    .product-card {
        min-height: auto;
    }

    .button {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        right: 1rem;
        bottom: 1rem;
    }
}
