:root {
    --purple: #7c3cff;
    --purple-2: #b06cff;
    --ink: #08070d;
    --ink-2: #15111f;
    --text: #211a31;
    --muted: #6f687d;
    --soft: #f7f4ff;
    --line: rgba(124, 60, 255, .16);
    --white: #fff;
    --shadow: 0 24px 70px rgba(19, 10, 38, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link, .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.skip-link:focus {
    width: auto;
    height: auto;
    margin: 12px;
    padding: 10px 14px;
    background: var(--purple);
    color: var(--white);
    z-index: 20;
    clip: auto;
}

.announcement {
    background: var(--ink);
    color: var(--white);
    min-height: 42px;
    display: flex;
    justify-content: center;
    gap: 22px;
    align-items: center;
    padding: 8px 20px;
    font-size: 14px;
}
.announcement a { color: #d9c8ff; font-weight: 800; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(124, 60, 255, .1);
    transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 16px 40px rgba(18, 12, 32, .12); background: rgba(255,255,255,.96); }
.nav-wrap {
    width: min(1220px, calc(100% - 34px));
    min-height: 110px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.brand img {
    width: 320px;
    height: 96px;
    object-fit: contain;
    object-position: left center;
}
.nav-menu { display: flex; align-items: center; gap: 26px; font-weight: 800; color: var(--ink-2); }
.nav-menu > a:not(.btn), .dropdown > button {
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
    padding: 10px 0;
}
.nav-menu > a:not(.btn):hover, .dropdown > button:hover { color: var(--purple); }
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -22px;
    width: 330px;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .22s ease;
}
.dropdown:hover .dropdown-menu, .dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { padding: 11px 12px; border-radius: 12px; color: var(--text); }
.dropdown-menu a:hover { background: var(--soft); color: var(--purple); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 900;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--purple), var(--purple-2)); color: var(--white); box-shadow: 0 18px 36px rgba(124,60,255,.26); }
.btn-secondary { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.5); color: var(--white); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--ink); padding: 12px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--white); transition: .2s ease; }

.hero {
    overflow: hidden;
    padding: 88px 0 70px;
    background:
        radial-gradient(circle at 10% 0%, rgba(124,60,255,.22), transparent 34%),
        linear-gradient(180deg, #fff, #f9f7ff 78%, #fff);
}
.hero-grid, .split-grid, .contact-grid, .cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.eyebrow {
    display: inline-flex;
    color: var(--purple);
    font-weight: 950;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .08em;
    margin-bottom: 14px;
}
h1, h2, h3 { line-height: 1.05; margin: 0 0 18px; color: var(--ink); letter-spacing: 0; }
h1 { font-size: clamp(42px, 6vw, 76px); max-width: 860px; }
h2 { font-size: clamp(31px, 4vw, 52px); }
h3 { font-size: 24px; }
p { margin: 0 0 24px; color: var(--muted); font-size: 17px; }
.hero-copy p { font-size: 20px; max-width: 650px; }
.hero-visual { position: relative; min-height: 520px; }
.hero-visual img { width: 100%; height: 520px; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow); }
.float-card {
    position: absolute;
    padding: 13px 17px;
    border-radius: 16px;
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.7);
    color: var(--ink);
    font-weight: 950;
    box-shadow: 0 18px 44px rgba(8,7,13,.18);
}
.card-one { top: 26px; left: -22px; }
.card-two { top: 155px; right: -18px; }
.card-three { bottom: 105px; left: 24px; }
.card-four { bottom: 30px; right: 26px; }

.section { padding: 92px 0; }
.light-section { background: var(--soft); }
.section-heading { text-align: center; max-width: 780px; margin: 0 auto 44px; }
.stats-section {
    padding: 42px 0 84px;
    background:
        radial-gradient(circle at 18% 22%, rgba(124,60,255,.1), transparent 28%),
        linear-gradient(180deg, #fff, #fbfaff);
}
.stat-grid, .service-grid, .process-grid, .industry-grid, .testimonial-grid, .value-grid, .mission-grid, .contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.stat-card, .service-card, .process-card, .industry-card, .testimonial-card, .value-card, .contact-info-grid article, .quote-form {
    background: rgba(255,255,255,.84);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 16px 44px rgba(32, 20, 55, .08);
}
.stat-card {
    min-height: 190px;
    padding: 28px 22px;
    text-align: center;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 12px;
    background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(247,244,255,.72));
    backdrop-filter: blur(18px);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.stat-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: rgba(124,60,255,.28); }
.stat-card strong { display: block; font-size: 22px; line-height: 1.15; color: var(--ink); }
.stat-card span { color: var(--purple); font-weight: 800; }
.trust-icon, .mission-icon, .check-icon, .industry-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
}
.trust-icon, .mission-icon, .industry-icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    color: var(--white);
    background: linear-gradient(135deg, var(--purple), var(--purple-2));
    box-shadow: 0 16px 34px rgba(124,60,255,.28);
}
.trust-icon svg, .mission-icon svg, .industry-icon svg { width: 31px; height: 31px; }
.check-icon {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    color: var(--purple);
    background: rgba(124,60,255,.1);
}
.check-icon svg { width: 19px; height: 19px; }
.trust-icon svg, .mission-icon svg, .check-icon svg, .industry-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-grid { grid-template-columns: repeat(3, 1fr); }
.service-card { position: relative; overflow: hidden; padding: 18px; transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; height: 100%; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-image { width: 100%; aspect-ratio: 1.45 / 1; border-radius: 18px; overflow: hidden; margin-bottom: 20px; background: var(--soft); }
.service-image img, .service-card > img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.service-card:hover .service-image img { transform: scale(1.06); }
.service-card p { min-height: 82px; flex: 1; }
.service-card a { color: var(--purple); font-weight: 950; }
.icon-badge {
    position: absolute;
    top: 28px;
    left: 28px;
    background: var(--ink);
    color: var(--white);
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-weight: 950;
}
.detail-card h2 { font-size: 34px; }

.split-section { background: linear-gradient(180deg, #fff, #faf8ff); }
.image-panel { border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); background: var(--soft); }
.image-panel img { width: 100%; min-height: 440px; object-fit: cover; }
.check-list { display: grid; gap: 13px; padding: 0; margin: 24px 0 0; list-style: none; }
.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: 800;
}

.process-section { background: var(--ink); }
.process-section h2, .process-section h3 { color: var(--white); }
.process-section p { color: #cfc6dd; }
.process-card { padding: 28px; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); }
.process-card span { display: block; color: #c9afff; font-size: 34px; font-weight: 950; margin-bottom: 18px; }
.industry-grid, .testimonial-grid, .value-grid { grid-template-columns: repeat(3, 1fr); }
.mission-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.industry-card {
    min-height: 178px;
    padding: 30px 24px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 16px;
    font-weight: 950;
    text-align: center;
    color: var(--ink);
    background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(246,240,255,.86));
    border-color: rgba(124,60,255,.18);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.industry-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
    border-color: rgba(124,60,255,.32);
}
.industry-card strong {
    display: block;
    font-size: 18px;
    line-height: 1.25;
}
.testimonial-card { padding: 30px; margin: 0; }
.testimonial-card p { color: var(--text); }
.testimonial-card cite { color: var(--purple); font-style: normal; font-weight: 950; }
.value-card { padding: 30px; }
.mission-card {
    min-height: 250px;
    display: grid;
    align-content: start;
    gap: 12px;
}
.mission-card h3 { margin-bottom: 4px; }

.cta-band {
    padding: 72px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 16% 20%, rgba(176,108,255,.45), transparent 30%),
        linear-gradient(135deg, var(--ink), #2c1554);
}
.cta-band h2, .cta-band p { color: var(--white); }
.cta-grid { gap: 30px; }
.cta-grid .button-row { justify-content: flex-end; }

.contact-preview { background: #fbfaff; }
.contact-list { display: grid; gap: 12px; margin-bottom: 26px; font-weight: 900; }
.contact-list a { color: var(--purple); }
.map-card {
    min-height: 210px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    padding: 30px;
    color: var(--white);
    font-size: 24px;
    font-weight: 950;
    text-align: center;
    background:
        linear-gradient(rgba(8,7,13,.25), rgba(8,7,13,.25)),
        linear-gradient(135deg, var(--purple), var(--ink));
}
.large-map { min-height: 320px; }
.map-embed {
    min-height: 360px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    background: var(--soft);
}
.map-embed iframe {
    width: 100%;
    height: 360px;
    border: 0;
    display: block;
}
.quote-form { padding: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 8px; font-size: 14px; font-weight: 900; color: var(--ink); }
input, select, textarea {
    width: 100%;
    border: 1px solid rgba(124,60,255,.22);
    border-radius: 14px;
    padding: 13px 14px;
    font: inherit;
    color: var(--text);
    background: #fff;
}
textarea { resize: vertical; }
.full { grid-column: 1 / -1; }
.quote-form .btn { margin-top: 18px; width: 100%; border: 0; cursor: pointer; }
.field-error {
    color: #b42318;
    font-size: 13px;
    font-weight: 800;
}
.optional-text {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}
.job-application-copy p { margin-bottom: 22px; }
.job-application-copy .contact-info-grid { margin-bottom: 22px; }
.job-map iframe { min-height: 300px; }
.job-application-form input[type="file"] {
    background: #fff;
    cursor: pointer;
}
.form-errors, .flash-message {
    margin: 18px auto;
    width: min(1160px, calc(100% - 40px));
    padding: 14px 18px;
    border-radius: 14px;
    background: #f0e9ff;
    color: var(--ink);
    font-weight: 900;
}
.flash-error {
    background: #fff0f0;
    color: #7a1320;
    border: 1px solid #ffd0d5;
}
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] {
    border-color: #c91d35;
}

.page-hero {
    padding: 96px 0 84px;
    color: var(--white);
    background:
        radial-gradient(circle at 80% 10%, rgba(176,108,255,.44), transparent 32%),
        linear-gradient(135deg, var(--ink), #2c1554);
}
.page-hero h1, .page-hero p { color: var(--white); }
.page-hero p { max-width: 780px; color: #e5ddf2; }
.service-hero { background: linear-gradient(135deg, #110c1b, #3a1c70); }
.legal-section {
    background:
        radial-gradient(circle at 90% 8%, rgba(124,60,255,.1), transparent 28%),
        linear-gradient(180deg, #fff, #fbfaff);
}
.legal-wrap {
    max-width: 900px;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 18px 54px rgba(32,20,55,.08);
}
.legal-wrap h2 {
    margin-top: 34px;
    font-size: clamp(24px, 3vw, 34px);
}
.legal-wrap h2:first-of-type { margin-top: 16px; }
.legal-wrap p { font-size: 17px; }
.legal-wrap a {
    color: var(--purple);
    font-weight: 900;
    overflow-wrap: anywhere;
}
.legal-intro {
    padding: 18px 20px;
    border-left: 4px solid var(--purple);
    border-radius: 14px;
    background: var(--soft);
    color: var(--text);
}
.contact-info-grid { grid-template-columns: 1fr; margin-bottom: 24px; }
.contact-info-grid article { padding: 24px; display: grid; gap: 6px; }
.contact-info-grid strong { color: var(--ink); }
.contact-info-grid a { color: var(--purple); font-weight: 900; overflow-wrap: anywhere; }

.site-footer { background: var(--ink); color: var(--white); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr 1fr .85fr 1fr; gap: 30px; }
.footer-logo {
    width: 260px;
    max-width: 100%;
    height: auto;
    margin-bottom: 18px;
}
.site-footer h2 { color: var(--white); font-size: 19px; margin-bottom: 16px; }
.site-footer p, .site-footer a { color: #d6cfe3; }
.site-footer a { display: block; margin-bottom: 10px; }
.site-footer a:hover { color: #c7adff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 54px; padding: 22px; text-align: center; color: #bfb5ce; }

@media (max-width: 980px) {
    .announcement { flex-direction: column; gap: 2px; text-align: center; }
    .menu-toggle { display: block; }
    .nav-wrap { min-height: 96px; }
    .brand img { width: 250px; height: 82px; }
    .nav-menu {
        position: fixed;
        inset: 120px 16px auto 16px;
        display: grid;
        gap: 8px;
        padding: 18px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 22px;
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: .22s ease;
    }
    .nav-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
    .dropdown-menu { position: static; width: 100%; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; margin-top: 4px; }
    .dropdown.is-open .dropdown-menu { display: grid; }
    .nav-cta { width: 100%; }
    .hero-grid, .split-grid, .contact-grid, .cta-grid { grid-template-columns: 1fr; }
    .hero { padding-top: 58px; }
    .hero-visual, .hero-visual img { min-height: 420px; height: 420px; }
    .stat-grid, .service-grid, .process-grid, .industry-grid, .testimonial-grid, .value-grid, .mission-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-grid .button-row { justify-content: flex-start; }
}

@media (max-width: 640px) {
    .container { width: min(100% - 28px, 1160px); }
    .brand img { width: 210px; height: 72px; }
    .section { padding: 66px 0; }
    h1 { font-size: 40px; }
    h2 { font-size: 31px; }
    .button-row, .button-row .btn { width: 100%; }
    .hero-visual, .hero-visual img { min-height: 340px; height: 340px; border-radius: 22px; }
    .float-card { position: static; margin: 10px 0 0; width: 100%; text-align: center; }
    .stat-grid, .service-grid, .process-grid, .industry-grid, .testimonial-grid, .value-grid, .mission-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
    .image-panel img { min-height: 300px; }
    .page-hero { padding: 70px 0 62px; }
    .legal-wrap { padding: 26px; border-radius: 20px; }
}
