:root {
    --bg: #0b0f2d;
    --bg-soft: #141a49;
    --surface: rgba(16, 21, 58, 0.82);
    --surface-strong: rgba(12, 16, 43, 0.94);
    --surface-muted: rgba(255, 255, 255, 0.04);
    --text: #f7f9ff;
    --muted: #aeb8de;
    --line: rgba(255, 255, 255, 0.1);
    --primary: #00b3e7;
    --primary-soft: #64d7ff;
    --accent: #3e3484;
    --shadow: 0 24px 54px rgba(2, 6, 24, 0.26);
    --radius: 18px;
    --content-width: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    line-height: 1.65;
    background:
        radial-gradient(circle at top right, rgba(0, 179, 231, 0.12), transparent 24%),
        linear-gradient(180deg, #111652 0%, #0a102f 26%, #090c20 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 88px 88px;
    opacity: 0.32;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 88%);
}

body.nav-open {
    overflow: hidden;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: 2px solid rgba(0, 179, 231, 0.55);
    outline-offset: 3px;
}

main {
    position: relative;
    z-index: 1;
}

.container {
    width: min(var(--content-width), calc(100% - 2rem));
    margin: 0 auto;
}

.section {
    padding: 4.75rem 0;
}

.section-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(0, 179, 231, 0.1);
    border: 1px solid rgba(100, 215, 255, 0.18);
    color: var(--primary-soft);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.section-heading h2 {
    margin: 0.55rem 0 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(7, 11, 31, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
    background: rgba(7, 11, 31, 0.94);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 84px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.logo-img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0, 179, 231, 0.14));
}

.brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-title {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.15;
}

.brand-subtitle {
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.3rem;
}

.main-nav a {
    color: rgba(247, 249, 255, 0.88);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--primary-soft);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.82rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    font-weight: 600;
}

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

.btn-primary {
    color: #071024;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    box-shadow: 0 14px 30px rgba(0, 179, 231, 0.24);
}

.btn-secondary,
.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.14);
    color: var(--text);
}

.btn-secondary:hover,
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-link {
    padding: 0;
    min-height: auto;
    border: none;
    background: none;
    color: var(--primary-soft);
    box-shadow: none;
}

.btn-link:hover {
    color: #ffffff;
}

.mobile-menu-toggle {
    display: none;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 1.55rem;
}

.mobile-menu {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    z-index: 35;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(7, 11, 31, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.mobile-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu a {
    color: rgba(247, 249, 255, 0.94);
}

.mobile-cta {
    margin-top: 0.25rem;
}

.hero {
    padding: 5.4rem 0 3.5rem;
}

.hero-grid,
.split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
    gap: 2rem;
    align-items: center;
}

.hero h1 {
    margin: 1.1rem 0 0;
    max-width: 10ch;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 0.98;
}

.hero p {
    margin: 1.1rem 0 0;
    max-width: 620px;
    color: var(--muted);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.3rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-stage {
    display: grid;
    gap: 1rem;
}

.hero-media {
    display: grid;
}

.hero-stage-nav {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.hero-stage-tab {
    min-height: 42px;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero-stage-tab.is-active {
    color: var(--text);
    border-color: rgba(100, 215, 255, 0.3);
    background: rgba(0, 179, 231, 0.1);
}

.hero-stage-card,
.glass-card,
.stat-card,
.service-card,
.process-card,
.project-card,
.value-card,
.testimonial-card,
.service-detail-card,
.contact-card,
.contact-form,
.cta-box,
.accordion,
.map-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-stage-card,
.glass-card,
.service-detail-card,
.contact-card,
.contact-form,
.map-card {
    padding: 1.5rem;
}

.hero-lockup {
    width: min(220px, 100%);
}

.hero-stage-kicker {
    display: block;
    margin-top: 1.15rem;
    color: var(--primary-soft);
    font-size: 0.83rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-stage-title {
    margin: 0.65rem 0 0;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.hero-stage-text {
    margin: 0.9rem 0 0;
    color: var(--muted);
}

.hero-stage-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
}

.hero-stage-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--muted);
}

.hero-stage-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--primary);
}

.hero-stage-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.4rem;
}

.hero-stage-metric-label {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-stage-metric-value {
    display: block;
    margin-top: 0.25rem;
    font-size: 1.15rem;
}

.hero-stage-visual {
    display: flex;
    align-items: flex-end;
    gap: 0.4rem;
    min-width: 132px;
}

.hero-stage-visual span {
    display: block;
    width: 18px;
    border-radius: 999px 999px 4px 4px;
    background: linear-gradient(180deg, var(--primary-soft), rgba(62, 52, 132, 0.7));
}

.hero-stage-visual span:nth-child(1) { height: 34px; }
.hero-stage-visual span:nth-child(2) { height: 68px; }
.hero-stage-visual span:nth-child(3) { height: 50px; }
.hero-stage-visual span:nth-child(4) { height: 92px; }

.trust-band {
    padding-bottom: 0.5rem;
}

.trust-band-header {
    margin-bottom: 0.95rem;
    color: var(--primary-soft);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trust-band-grid,
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.trust-item,
.client-pill,
.service-anchor {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
}

.stats-band {
    padding-top: 1.5rem;
}

.stats-grid,
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.stat-card,
.service-card,
.process-card,
.project-card,
.value-card,
.testimonial-card {
    padding: 1.45rem;
    height: 100%;
}

.stat-card strong {
    display: block;
    color: var(--primary-soft);
    font-size: 2rem;
    line-height: 1;
}

.stat-card p {
    margin: 0.65rem 0 0;
    color: var(--muted);
}

.section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 1.75rem;
    align-items: start;
}

.service-card,
.process-card,
.project-card,
.value-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.service-card h3,
.process-card h3,
.project-card h3,
.value-card h3,
.testimonial-card strong,
.service-detail-card h2 {
    margin: 0;
}

.service-icon,
.service-mini-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(0, 179, 231, 0.12);
    color: var(--primary-soft);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.check-list,
.service-feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.check-list li,
.service-feature-list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--muted);
}

.check-list li::before,
.service-feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--primary);
}

.project-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 14px;
}

.project-copy {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    height: 100%;
}

.project-category {
    color: var(--primary-soft);
    font-weight: 700;
}

.project-copy .btn {
    margin-top: auto;
    align-self: flex-start;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.tech-card {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0.65rem 0.95rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

.testimonial-slider {
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    gap: 0;
    transition: transform 0.28s ease;
}

.testimonial-slide {
    min-width: 100%;
}

.testimonial-card p {
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
}

.testimonial-card span {
    color: var(--muted);
}

.slider-actions {
    display: flex;
    gap: 0.6rem;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.accordion {
    overflow: hidden;
}

.accordion-item + .accordion-item {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.accordion-button {
    width: 100%;
    padding: 1.15rem 1.4rem;
    background: transparent;
    border: none;
    color: var(--text);
    text-align: left;
    position: relative;
}

.accordion-button::after {
    content: "+";
    position: absolute;
    right: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-soft);
}

.accordion-button:not(.collapsed)::after {
    content: "−";
}

.accordion-collapse {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.24s ease;
}

.accordion-collapse.show {
    grid-template-rows: 1fr;
}

.accordion-collapse > .accordion-body {
    overflow: hidden;
}

.accordion-body {
    padding: 0 1.4rem 1.25rem;
    color: var(--muted);
}

.cta-box {
    padding: 2.2rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 179, 231, 0.12), rgba(62, 52, 132, 0.14));
}

.page-hero {
    padding: 4.8rem 0 2.4rem;
    text-align: center;
}

.page-hero h1 {
    margin: 0.9rem 0 0;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.page-hero p {
    max-width: 720px;
    margin: 1rem auto 0;
    color: var(--muted);
}

.service-anchor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.project-category-nav {
    margin-bottom: 1rem;
}

.service-anchor {
    border: 1px solid var(--line);
    cursor: pointer;
    color: var(--muted);
}

.service-anchor.is-active,
.service-anchor:hover {
    color: var(--text);
    border-color: rgba(100, 215, 255, 0.24);
    background: rgba(0, 179, 231, 0.09);
}

.service-detail-list {
    display: grid;
    gap: 1.4rem;
}

.service-detail-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.05rem;
}

.service-badge {
    display: inline-flex;
    margin-bottom: 0.45rem;
    color: var(--primary-soft);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.75fr);
    gap: 1.3rem;
    align-items: start;
}

.service-aside {
    padding: 1.25rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-aside h3 {
    margin-top: 0;
}

.service-aside .btn {
    width: 100%;
    margin-top: 1rem;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form label {
    display: grid;
    gap: 0.45rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.contact-form textarea {
    min-height: 144px;
    resize: vertical;
}

.contact-form .checkbox {
    grid-template-columns: auto 1fr;
    align-items: center;
}

.contact-commitments {
    display: grid;
    gap: 0.85rem;
    margin: 1.2rem 0;
}

.info-panel {
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.info-panel span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.social-links,
.footer-social-grid {
    display: grid;
    gap: 0.7rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.social-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(0, 179, 231, 0.1);
    border: 1px solid rgba(100, 215, 255, 0.16);
    color: var(--primary-soft);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.map-card {
    padding: 0;
    overflow: hidden;
}

.map-card h2 {
    margin: 0;
    padding: 1.4rem 1.4rem 0;
}

.static-map {
    min-height: 240px;
    margin: 1.4rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(135deg, rgba(0, 179, 231, 0.12), rgba(62, 52, 132, 0.18)),
        rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.empty-state {
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    color: var(--muted);
}

.project-card.is-hidden {
    display: none;
}

.site-footer {
    padding-top: 1rem;
    background: linear-gradient(180deg, transparent, rgba(4, 7, 20, 0.72));
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    padding: 3.25rem 0;
}

.footer-logo {
    width: min(220px, 100%);
    margin-bottom: 1rem;
}

.footer-brand p,
.footer-contact p,
.footer-links a {
    color: var(--muted);
}

.footer-links a + a,
.footer-contact p + p {
    margin-top: 0.45rem;
}

.footer-note {
    color: var(--primary-soft);
}

.footer-bottom {
    padding: 1.2rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: var(--muted);
}

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

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

@media (max-width: 1080px) {
    .hero-grid,
    .split-grid,
    .section-grid,
    .service-detail-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 920px) {
    .main-nav,
    .btn-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .hero {
        padding-top: 4.6rem;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 1.25rem, var(--content-width));
    }

    .hero h1 {
        max-width: none;
    }

    .hero-actions,
    .hero-meta,
    .hero-stage-nav,
    .service-anchor-nav {
        gap: 0.65rem;
    }

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

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

@media (max-width: 560px) {
    .brand-subtitle {
        display: none;
    }

    .btn,
    .hero-stage-tab,
    .service-anchor {
        width: 100%;
    }

    .hero-meta {
        flex-direction: column;
        gap: 0.35rem;
    }

    .trust-band-grid,
    .clients-grid {
        grid-template-columns: 1fr 1fr;
    }
}
