:root {
    --navy: #081830;
    --navy-2: #10284e;
    --blue: #1976d2;
    --blue-soft: #e6f1ff;
    --ink: #13213a;
    --muted: #5d6b80;
    --line: rgba(8, 24, 48, 0.12);
    --surface: rgba(255, 255, 255, 0.86);
    --surface-strong: #ffffff;
    --shadow: 0 24px 70px rgba(8, 24, 48, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(25, 118, 210, 0.16), transparent 32%),
        radial-gradient(circle at right center, rgba(8, 24, 48, 0.12), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #f3f7fc 100%);
}

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

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

/* ===== COPYABLE: Preloader and scroll-up styles ===== */
.wrapper {
    overflow-x: clip;
    overflow-y: visible;
}
/* Preloader: visible by default while page loads, full-screen overlay */
#preloader {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 99999;
    display: grid;
    place-items: center;
}

/* Branded loader using the site's favicon image */
#preloader::before {
    content: '';
    width: 92px;
    height: 92px;
    border-radius: 22px;
    background: url('../images/favicon.ico') center center / 56px 56px no-repeat;
    position: relative;
    z-index: 1;
}

#preloader::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    border: 4px solid rgba(31, 78, 140, 0.12);
    border-top-color: var(--brand-blue);
    animation: ik-spin 0.95s linear infinite;
}

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

.scrollUp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: #1573cb;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 16px 32px rgba(168, 132, 79, 0.28);
    z-index: 30;
    opacity: 0;
    transform: translateY(10px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.scrollUp.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.scrollUp-icon {
    color: #fff;
    width: 22px;
    height: 22px;
    display: block;
}

/* ===== END COPYABLE: Preloader and scroll-up styles ===== */

.wrapper {
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    background: rgba(248, 251, 255, 0.78);
    border-bottom: 1px solid rgba(8, 24, 48, 0.08);
}

.site-header__inner,
.section-shell {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
    position: relative;
}

.site-brand img {
    width: min(220px, 60vw);
    height: auto;
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(8, 24, 48, 0.15);
    background: #fff;
    color: var(--navy);
    border-radius: 10px;
}

.menu-toggle__icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 20px;
    height: 16px;
}

.menu-toggle__icon span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid rgba(8, 24, 48, 0.12);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 0.6rem;
    flex-direction: column;
    gap: 0.2rem;
}

.site-nav a {
    padding: 0.75rem 0.8rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--navy);
    transition: all 200ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: var(--blue-soft);
}

.site-nav.is-open {
    display: flex;
}

.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
    align-items: start;
}

.hero__content {
    padding: clamp(2.6rem, 6vw, 5.4rem) 0 clamp(2rem, 4vw, 3rem);
    border-bottom: 1px solid rgba(8, 24, 48, 0.08);
}

.hero h1 {
    margin: 0;
    color: var(--navy);
    line-height: 1.07;
    letter-spacing: -0.03em;
    font-size: clamp(1.9rem, 10vw, 3.7rem);
}

.eyebrow {
    margin: 0 0 1rem;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.section-heading h2 {
    margin: 0;
    color: var(--navy);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.hero__lead {
    margin: 1rem 0 0;
    max-width: 64ch;
    font-size: 1.03rem;
    line-height: 1.65;
    color: var(--muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.3rem;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.03em;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--navy));
    box-shadow: 0 16px 30px rgba(25, 118, 210, 0.22);
}

.button--secondary {
    color: var(--navy);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(8, 24, 48, 0.12);
}

.highlight-strip {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: 1fr;
    padding: 0 0 2.2rem;
}

.highlight-card,
.service-card,
.contact-form,
.contact-intro,
.about-meta {
    border: 1px solid rgba(8, 24, 48, 0.1);
    border-radius: 18px;
    background: var(--surface-strong);
    box-shadow: 0 16px 40px rgba(8, 24, 48, 0.07);
}

.highlight-card {
    padding: 1.1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.highlight-card h3 {
    margin: 0;
    color: var(--navy);
    font-size: 1.05rem;
}

.highlight-card p {
    margin: 0.5rem 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.content-section {
    padding: 2.4rem 0 0;
}

.section-band {
    padding: 0;
}

.section-band--hero {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.section-band--highlights {
    background: linear-gradient(180deg, #f4f8ff 0%, #edf4ff 100%);
}

.section-band--about {
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.section-band--services {
    background: linear-gradient(180deg, #edf4ff 0%, #f8fbff 100%);
}

.section-band--contact {
    background: linear-gradient(180deg, #f2f7ff 0%, #ffffff 100%);
}

.section-band--hero,
.section-band--highlights,
.section-band--about,
.section-band--services,
.section-band--contact {
    padding-bottom: 3rem;
}


.section-heading {
    max-width: 780px;
    margin-bottom: 1.1rem;
}

.section-heading h2 {
    font-size: clamp(1.45rem, 7vw, 2.7rem);
}

.about-layout,
.services-grid,
.contact-grid {
    display: grid;
    gap: 1rem;
}

.about-layout {
    grid-template-columns: 1fr;
}

.about-layout--single {
    grid-template-columns: 1fr;
}

.about-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.about-copy {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(8, 24, 48, 0.08);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 12px 30px rgba(8, 24, 48, 0.06);
}

.about-copy p + p {
    margin-top: 0.9rem;
}

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

.service-card {
    padding: 1rem;
}

.service-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    font-weight: 800;
}

.service-card h3 {
    margin: 0;
    color: var(--navy);
    font-size: 1.05rem;
}

.service-card p {
    margin: 0.45rem 0 0;
    color: var(--muted);
    line-height: 1.55;
    font-size: 0.94rem;
}

.contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    overflow-x: hidden;
}

.contact-intro {
    padding: 1.2rem;
    border: 1px solid rgba(8, 24, 48, 0.1);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 246, 255, 0.96));
    box-shadow: 0 16px 40px rgba(8, 24, 48, 0.07);
}

.contact-intro__eyebrow {
    margin: 0 0 0.7rem;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-intro h3 {
    margin: 0;
    color: var(--navy);
    font-size: 1.2rem;
}

.contact-intro__lead {
    margin: 0.75rem 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.contact-intro__cards {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.2rem;
    grid-template-columns: 1fr;
    width: 100%;
}

.contact-mini-card {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(8, 24, 48, 0.08);
    border-radius: 10px;
    background: #fff;
    word-break: break-word;
}

.contact-mini-card span {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-mini-card p,
.contact-mini-card a {
    margin: 0;
    color: var(--ink);
    line-height: 1.55;
    font-weight: 600;
}

.contact-form {
    padding: 1rem;
}

.form-row {
    margin-bottom: 0.85rem;
}

.form-row label {
    display: block;
    margin-bottom: 0.38rem;
    font-weight: 700;
    color: var(--navy);
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    border: 1px solid rgba(8, 24, 48, 0.2);
    border-radius: 10px;
    padding: 0.72rem 0.8rem;
    font: inherit;
    color: var(--ink);
    background: #fff;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.15);
}

.has-error {
    border-color: #c63737 !important;
    box-shadow: 0 0 0 3px rgba(198, 55, 55, 0.12) !important;
}

.field-error {
    min-height: 1.1rem;
    margin: 0.3rem 0 0;
    color: #c63737;
    font-size: 0.85rem;
}

.form-status {
    min-height: 1.25rem;
    margin: 0.4rem 0 0.8rem;
    font-weight: 700;
}

.form-status.success {
    color: #1f6f39;
}

.form-status.error {
    color: #c63737;
}

footer {
    background: var(--navy);
}

.footer-shell {
    width: min(1120px, calc(100% - 1.2rem));
    margin: 0 auto 0;
    padding: 1.2rem 0 0;
    background: var(--navy);
    border-radius: 26px 26px 0 0;
    overflow: hidden;
}

.footer-main {
    padding: 2.1rem 1.3rem 1.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-grid {
    display: grid;
    gap: 1.7rem;
    grid-template-columns: 1fr;
    width: 100%;
    justify-items: center;
}

.footer-block {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-height: 100%;
}

.footer-block h3 {
    margin: 0;
    color: #fff;
    font-size: 1.03rem;
}

.footer-block p {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.6;
}

.footer-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.76);
}

.footer-list li {
    margin: 0;
}

.footer-cta {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--navy));
    font-weight: 700;
    font-size: 0.9rem;
}

.footer-bottom-wrap {
    margin: 0;
    padding: 1.2rem 1.2rem 1.2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

@media (max-width: 960px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .menu-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        display: flex;
        flex-direction: row;
        gap: 1.2rem;
        border: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
    }

    .site-nav a {
        padding: 0.35rem 0;
        font-size: 1rem;
    }

    .site-nav a:hover,
    .site-nav a:focus-visible {
        background: transparent;
        color: var(--blue);
    }

    .site-header__inner,
    .section-shell,
    .footer-shell {
        width: min(1120px, calc(100% - 2rem));
    }

    .site-brand img {
        width: min(240px, 30vw);
    }

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

    .hero__content,
    .service-card,
    .contact-form,
    .contact-intro,
    .about-meta,
    .about-copy {
        border-radius: 22px;
    }

    .hero__content {
        padding: clamp(3.4rem, 7vw, 6rem) 0 clamp(2.2rem, 4vw, 3.4rem);
    }

    .highlight-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        padding: 0 0 2.8rem;
    }

    .about-layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
        gap: 1.2rem;
    }

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

    .contact-grid {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 1.2rem;
    }

    .contact-intro__cards {
        grid-template-columns: 1fr;
    }

    .contact-intro,
    .contact-form {
        border-radius: 22px;
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        column-gap: 2.4rem;
        row-gap: 1.4rem;
    }

    .footer-main {
        padding: 2.3rem 1.9rem 2rem;
    }

    .footer-bottom-wrap {
        padding: 1.2rem 1.6rem 1.2rem;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}