:root {
    --color-primary: #5B9FED;
    --color-secondary: #4DD0E1;
    --color-dark: #1F2937;
    --color-light: #F9FAFB;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--color-light);
}

#site-header {
    background: transparent;
}

#site-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(18px);
    box-shadow: 0 15px 35px -20px rgba(15, 23, 42, 0.45);
}

.hero-section {
    position: relative;
    background:
        radial-gradient(115% 85% at 50% 0%, rgba(91, 159, 237, 0.45) 0%, rgba(15, 23, 42, 0.98) 55%, #0b1220 100%),
        linear-gradient(135deg, #0f172a, #0f182d 55%, #103752 100%);
    color: #f8fafc;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(65% 55% at 70% 45%, rgba(77, 208, 225, 0.5), transparent 75%);
    mix-blend-mode: screen;
    opacity: 0.6;
    pointer-events: none;
}

.hero-logo {
    width: 559px;
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-section .shadow-elevated {
    box-shadow: 0 30px 70px -40px rgba(15, 23, 42, 0.8);
}

.site-brand-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    transition: color 0.2s ease;
}

.site-brand-tagline {
    font-size: 0.875rem;
    color: rgba(51, 65, 85, 0.7);
    transition: color 0.2s ease;
}

#site-header:not(.is-scrolled) .site-brand-title {
    color: #f8fafc;
}

#site-header:not(.is-scrolled) .site-brand-tagline {
    color: rgba(226, 232, 240, 0.75);
}

#site-header:not(.is-scrolled) .nav-link {
    color: rgba(226, 232, 240, 0.85);
}

#site-header:not(.is-scrolled) .nav-link:hover,
#site-header:not(.is-scrolled) .nav-link:focus-visible {
    color: #ffffff;
}

#site-header:not(.is-scrolled) #language-toggle {
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.3);
    background-color: rgba(148, 163, 184, 0.12);
}

#site-header:not(.is-scrolled) #language-toggle:hover,
#site-header:not(.is-scrolled) #language-toggle:focus-visible {
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}

#site-header:not(.is-scrolled) #language-toggle .text-slate-300 {
    color: rgba(241, 245, 249, 0.55);
}

#site-header:not(.is-scrolled) #language-toggle .toggle-option {
    color: inherit;
}

#site-header:not(.is-scrolled) #mobile-menu-toggle {
    color: #e2e8f0;
}

#site-header:not(.is-scrolled) #mobile-menu-toggle:hover,
#site-header:not(.is-scrolled) #mobile-menu-toggle:focus-visible {
    color: #ffffff;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0;
    color: #334155;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: -0.4rem;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    transform: scaleX(1);
}

.mobile-nav-link {
    display: block;
    border-radius: 9999px;
    padding: 0.75rem 1.25rem;
    color: #1F2937;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
    background: rgba(91, 159, 237, 0.12);
    color: var(--color-primary);
}

.section-kicker {
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(51, 65, 85, 0.7);
}

.section-heading {
    font-size: clamp(1.875rem, 1.5rem + 1vw, 2.5rem);
    font-weight: 600;
    color: var(--color-dark);
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1.75rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 22px 55px -40px rgba(15, 23, 42, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px -35px rgba(15, 23, 42, 0.55);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, rgba(91, 159, 237, 0.12), rgba(77, 208, 225, 0.2));
    color: var(--color-primary);
}

.service-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0F172A;
}

.service-copy {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
}

.client-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 200px;
    width: 100%;
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px dashed rgba(148, 163, 184, 0.4);
    background-color: rgba(248, 250, 252, 0.6);
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    text-align: center;
    overflow: hidden;
}

.client-card:hover,
.client-card:focus-within {
    border-color: rgba(91, 159, 237, 0.6);
}

.client-card--dark {
    background-color: #0F172A;
    border-color: rgba(255, 255, 255, 0.2);
}

.client-card--dark:hover,
.client-card--dark:focus-within {
    border-color: rgba(255, 255, 255, 0.45);
}

.client-card--yellow {
    background-color: rgb(244, 225, 10);
    border-color: rgba(148, 163, 184, 0.5);
}

.client-logo {
    max-height: 120px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.18));
}

.client-name {
    font-weight: 600;
    color: #1E293B;
    text-align: center;
}

.form-label {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1E293B;
}

.form-input,
.form-textarea {
    width: 100%;
    border-radius: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 0.85rem 1rem;
    font-size: 1rem;
    color: #0F172A;
    background-color: #F8FAFC;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(91, 159, 237, 0.8);
    box-shadow: 0 0 0 4px rgba(91, 159, 237, 0.2);
    background-color: #ffffff;
}

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

.footer-link {
    color: rgba(148, 163, 184, 0.8);
    transition: color 0.2s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
    color: var(--color-secondary);
}

.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.6);
    color: rgba(255, 255, 255, 0.8);
    transition: background 0.2s ease, color 0.2s ease;
}

.footer-icon:hover,
.footer-icon:focus-visible {
    background: rgba(77, 208, 225, 0.22);
    color: #ffffff;
}

.toggle-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.toggle-option.is-active {
    background: linear-gradient(135deg, rgba(91, 159, 237, 0.25), rgba(77, 208, 225, 0.3));
    color: var(--color-dark);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
