:root {
    --blue-950: #071a52;
    --blue-900: #0a2f9b;
    --blue-800: #1142c7;
    --blue-700: #1f5dff;
    --blue-200: #c8d9ff;
    --blue-100: #e7efff;
    --blue-050: #f3f7ff;

    --bg-page: #f8fbff;
    --bg-surface: #ffffff;
    --bg-soft: #f1f6ff;

    --text-primary: #0f172a;
    --text-secondary: #44506a;
    --text-muted: #64748b;
    --text-on-blue: #ffffff;
    --text-gray-400: #94a3b8;

    --border-soft: #dbe7ff;
    --border-strong: #b8ccff;

    --shadow-sm: 0 4px 14px rgba(11, 36, 110, 0.08);
    --shadow-md: 0 16px 32px rgba(11, 36, 110, 0.12);
    --shadow-lg: 0 24px 56px rgba(11, 36, 110, 0.16);

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-primary);
    background: var(--bg-page);
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

h1, h2, h3 {
    margin-bottom: 1rem;
}

h1 { font-size: clamp(1.56rem, 3.24vw, 2.92rem); font-weight: 800; }
h2 { font-size: clamp(1.62rem, 3.15vw, 2.7rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    max-width: 70ch;
}

a {
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6.5rem 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    min-height: 48px;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, color 0.24s ease, border-color 0.24s ease;
}

.btn-primary {
    background: var(--blue-700);
    color: var(--text-on-blue);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--blue-800);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--blue-900);
    border-color: var(--border-strong);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: var(--blue-050);
    border-color: var(--blue-700);
}

.btn:focus-visible,
.lang-btn:focus-visible,
.mobile-menu-btn:focus-visible,
.nav-links a:focus-visible,
.lang-option:focus-visible,
.privacy-item summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(17, 66, 199, 0.35);
    outline-offset: 2px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.9rem 0;
    background: transparent;
    border-bottom: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.67rem 1.1rem;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 1.52rem;
    font-weight: 800;
    color: var(--blue-950);
}

.logo svg {
    width: 30px;
    height: 30px;
}

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

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
}

.nav-links a:hover {
    color: var(--blue-900);
    background: var(--blue-050);
}

.language-picker {
    position: relative;
    flex-shrink: 0;
}

.lang-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    color: var(--blue-900);
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
    line-height: 1;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    min-width: 130px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    box-shadow: var(--shadow-md);
    display: none;
}

.lang-dropdown.active {
    display: block;
}

.lang-option {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    color: var(--text-secondary);
    padding: 0.6rem 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

.lang-option:hover {
    background: var(--blue-050);
    color: var(--blue-900);
}

.mobile-menu-btn {
    display: none;
    border: none;
    background: transparent;
    font-size: 1.45rem;
    color: var(--blue-900);
    cursor: pointer;
    flex-shrink: 0;
}

.hero {
    background: linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
    color: var(--text-on-blue);
    position: relative;
    overflow: hidden;
    padding-top: 11.1rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(31, 93, 255, 0.16), transparent 34%),
        radial-gradient(circle at 84% 14%, rgba(17, 66, 199, 0.14), transparent 32%);
    pointer-events: none;
    animation: heroGlowDrift 18s ease-in-out infinite alternate;
    will-change: transform;
}

.hero-bg-shape {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(0.2px);
    animation: heroDrift 7.3s ease-in-out infinite;
    will-change: transform;
}

.hero-bg-shape-1 {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -110px;
    background: radial-gradient(circle at 40% 35%, rgba(17, 66, 199, 0.42), rgba(17, 66, 199, 0.08) 65%, transparent 75%);
}

.hero-bg-shape-2 {
    width: 330px;
    height: 330px;
    left: -120px;
    bottom: -130px;
    background: radial-gradient(circle at 60% 45%, rgba(31, 93, 255, 0.26), rgba(31, 93, 255, 0.05) 70%, transparent 78%);
    animation-duration: 10s;
    animation-delay: -6s;
}

@keyframes heroDrift {
    0%, 100% {
        transform: translate3d(0, 0, 0);
    }
    20% {
        transform: translate3d(12px, -8px, 0);
    }
    45% {
        transform: translate3d(-10px, -14px, 0);
    }
    70% {
        transform: translate3d(-14px, 6px, 0);
    }
    85% {
        transform: translate3d(8px, 10px, 0);
    }
}

@keyframes heroGlowDrift {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(10px, 8px, 0);
    }
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(17, 66, 199, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 66, 199, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 42%, transparent 78%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
    gap: 2.3rem;
}

.hero h1,
.hero p {
    color: var(--text-primary);
}

.hero-content {
    max-width: 690px;
    text-align: left;
}

.hero h1 {
    margin-bottom: 1.35rem;
}

.hero p {
    font-size: clamp(1.05rem, 1.75vw, 1.26rem);
    max-width: 640px;
    margin: 0 0 2rem;
}

.hero-visual {
    margin-top: 0;
    display: flex;
    justify-content: flex-end;
    width: min(100%, 520px);
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(17, 66, 199, 0.12), rgba(31, 93, 255, 0.04));
    border: 1px solid rgba(17, 66, 199, 0.2);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.hero-link-secondary {
    color: var(--blue-900);
    font-weight: 800;
    text-decoration: none;
    border-bottom: 2px solid rgba(17, 66, 199, 0.25);
    padding-bottom: 0.1rem;
}

.hero-link-secondary:hover {
    border-color: var(--blue-700);
}

.hero-proof {
    margin-top: 1.15rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 560px;
}

.about {
    background: var(--bg-surface);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
}

.about-content,
.about-stats {
    padding: 0 0.5rem;
}

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

.capability,
.industry,
.contact-method,
.service-card,
.privacy-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.capability,
.industry,
.contact-method {
    padding: 1.25rem;
}

.industry h5 {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    color: var(--blue-900);
    text-transform: uppercase;
}

.credibility {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.stat {
    padding: 1rem;
    border-radius: var(--radius-md);
    background: var(--blue-050);
    border: 1px solid var(--border-soft);
    min-width: 140px;
    text-align: center;
}

.stat-number {
    color: var(--blue-900);
    font-size: 1.55rem;
    font-weight: 800;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.services {
    background: var(--bg-soft);
}

.services h2,
.contact h2 {
    text-align: center;
    margin-bottom: 2.2rem;
}

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

.service-card {
    padding: 2rem;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 44px;
    height: 44px;
    color: var(--blue-700);
    margin-bottom: 1rem;
}

.service-deliverables {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border-soft);
}

.service-deliverables h4 {
    color: var(--blue-900);
    margin-bottom: 0.4rem;
}

.callout {
    background: linear-gradient(145deg, #0b2f98 0%, #1142c7 55%, #1f5dff 100%);
    text-align: center;
}

.callout h2,
.callout p {
    color: var(--text-on-blue);
}

.callout p {
    max-width: 760px;
    margin: 0.8rem auto 0;
    opacity: 0.95;
}

.contact {
    background: var(--bg-surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
}

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

.contact-method p {
    margin-bottom: 0;
}

.contact .btn {
    padding: 0.85rem 1.35rem;
}

.contact-form {
    background: var(--bg-surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.65rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form .btn {
    align-self: flex-start;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    background: #fff;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.98rem;
    padding: 0.88rem 0.95rem;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.location-info {
    margin-top: 2rem;
    text-align: center;
}

.privacy {
    background: var(--bg-soft);
}

.privacy h2 {
    margin-bottom: 0.75rem;
}

.privacy-item {
    margin-top: 0.75rem;
    overflow: hidden;
}

.privacy-item summary {
    padding: 1.05rem 1.2rem;
    cursor: pointer;
    list-style: none;
    color: var(--blue-900);
    font-weight: 800;
    position: relative;
}

.privacy-item summary::-webkit-details-marker {
    display: none;
}

.privacy-item summary::after {
    content: '+';
    position: absolute;
    right: 1rem;
    color: var(--text-muted);
}

.privacy-item[open] summary::after {
    content: '-';
}

.privacy-item p {
    padding: 0 1.2rem 1.1rem;
    margin: 0;
}

.privacy-item ul {
    margin: 0;
    padding: 0 1.2rem 1.1rem 2.4rem;
    color: var(--text-secondary);
}

.privacy-item li {
    margin: 0.25rem 0;
}

footer {
    background: var(--blue-950);
    color: rgba(255, 255, 255, 0.86);
    padding: 2.2rem 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-content > div {
    display: flex;
    align-items: center;
}

footer .logo,
.footer-links a {
    color: rgba(255, 255, 255, 0.86);
}

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

.footer-links a {
    text-decoration: none;
}

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

footer p {
    margin: 0;
}

.animate-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.animate-in.delay-1 { transition-delay: 0.08s; }
.animate-in.delay-2 { transition-delay: 0.16s; }
.animate-in.delay-3 { transition-delay: 0.24s; }
.animate-in.delay-4 { transition-delay: 0.32s; }
.animate-in.delay-5 { transition-delay: 0.4s; }
.animate-in.delay-6 { transition-delay: 0.48s; }

@media (max-width: 992px) {
    section { padding: 5.3rem 0; }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

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

    .about-grid {
        gap: 2.2rem;
    }

    .hero-visual {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    header {
        padding-top: 0.65rem;
    }

    .hero {
        padding-top: 10rem;
    }

    .header-container {
        padding: 0.72rem 0.85rem;
    }

    .logo {
        font-size: 1.28rem;
    }

    .logo svg {
        width: 26px;
        height: 26px;
    }

    .nav {
        gap: 0.45rem;
    }

    .nav > .btn {
        min-height: 40px;
        padding: 0.58rem 0.86rem;
        font-size: 0.84rem;
        line-height: 1;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .lang-btn {
        min-height: 40px;
        padding: 0.5rem 0.62rem;
        font-size: 0.76rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        background: #fff;
        border: 1px solid var(--border-soft);
        border-radius: 16px;
        padding: 1rem;
        box-shadow: var(--shadow-md);
        margin-top: 0.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .language-picker {
        order: -1;
    }

    .hero-cta {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .capabilities,
    .industry-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-bg-shape {
        animation: none !important;
    }

    .hero::before {
        animation: none !important;
    }

    .animate-in {
        opacity: 1;
        transform: none;
    }
}
