html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

[x-cloak] {
    display: none !important;
}

body {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at top right, rgba(240, 180, 0, 0.08), transparent 30%),
        radial-gradient(circle at bottom left, rgba(0, 40, 100, 0.06), transparent 26%),
        #ffffff;
    color: #0f172a;
}

.site-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.028) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent 80%);
}

input,
select,
textarea {
    color-scheme: dark;
}

::selection {
    background: rgba(240, 180, 0, 0.35);
    color: #001436;
}

h1,
h2,
h3,
.font-display {
    font-family: 'Playfair Display', serif;
}

.pattern-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
}

.premium-service-card {
    border: 1px solid rgba(226, 232, 240, 1);
}

.premium-service-card:hover {
    transform: translateY(-6px);
    border-color: #F0B400;
    box-shadow: 0 20px 40px rgba(0, 20, 54, 0.12);
}

.logo-slider {
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: logo-scroll 28s linear infinite;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #475569;
}

@keyframes logo-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.shadow-card {
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.light-main section:not(.hero-section) .bg-white\/6,
.light-main section:not(.hero-section) .bg-white\/5,
.light-main section:not(.hero-section) .bg-white\/8 {
    background-color: rgba(255, 255, 255, 0.96) !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.light-main section:not(.hero-section) h1.text-white,
.light-main section:not(.hero-section) h2.text-white,
.light-main section:not(.hero-section) h3.text-white,
.light-main section:not(.hero-section) h4.text-white,
.light-main section:not(.hero-section) p.text-white,
.light-main section:not(.hero-section) div.text-white,
.light-main section:not(.hero-section) span.text-white,
.light-main section:not(.hero-section) li.text-white,
.light-main section:not(.hero-section) label.text-white {
    color: #0f172a !important;
}

.light-main section:not(.hero-section) p.text-slate-300,
.light-main section:not(.hero-section) p.text-slate-200,
.light-main section:not(.hero-section) p.text-slate-100,
.light-main section:not(.hero-section) div.text-slate-300,
.light-main section:not(.hero-section) div.text-slate-200,
.light-main section:not(.hero-section) div.text-slate-100,
.light-main section:not(.hero-section) span.text-slate-300,
.light-main section:not(.hero-section) span.text-slate-200,
.light-main section:not(.hero-section) span.text-slate-100,
.light-main section:not(.hero-section) li.text-slate-300,
.light-main section:not(.hero-section) li.text-slate-200,
.light-main section:not(.hero-section) li.text-slate-100,
.light-main section:not(.hero-section) label.text-slate-200,
.light-main section:not(.hero-section) label.text-slate-300 {
    color: #475569 !important;
}

.light-main section:not(.hero-section) .text-gold {
    color: #b8870a !important;
}

.light-main section:not(.hero-section) a.border-white\/15,
.light-main section:not(.hero-section) a.border-white\/10,
.light-main section:not(.hero-section) button.border-white\/15,
.light-main section:not(.hero-section) button.border-white\/10 {
    border-color: #cbd5e1 !important;
    color: #002864 !important;
    background: #ffffff !important;
}

.light-main section:not(.hero-section) a.border-white\/15:hover,
.light-main section:not(.hero-section) a.border-white\/10:hover,
.light-main section:not(.hero-section) button.border-white\/15:hover,
.light-main section:not(.hero-section) button.border-white\/10:hover {
    background: #f8fafc !important;
}

.light-main input,
.light-main select,
.light-main textarea {
    color-scheme: light;
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #dbe3ef !important;
}

.light-main input::placeholder,
.light-main textarea::placeholder {
    color: #94a3b8 !important;
}

.light-main section:not(.hero-section) .bg-\[\#002864\] {
    background: #002864 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 18px 36px rgba(0, 20, 54, 0.14);
}

.light-main section:not(.hero-section) .bg-\[\#001436\]\/60 {
    background: rgba(0, 20, 54, 0.72) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 18px 36px rgba(0, 20, 54, 0.14);
}

.light-main section:not(.hero-section) .bg-slate-900\/80 {
    background: rgba(15, 23, 42, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.light-main section:not(.hero-section) .bg-slate-950\/60 {
    background: rgba(2, 6, 23, 0.68) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.light-main section:not(.hero-section) .bg-\[\#002864\] .text-white,
.light-main section:not(.hero-section) .bg-\[\#001436\]\/60 .text-white,
.light-main section:not(.hero-section) .bg-slate-900\/80 .text-white,
.light-main section:not(.hero-section) .bg-slate-950\/60 .text-white,
.light-main section:not(.hero-section) .bg-\[\#002864\] h1,
.light-main section:not(.hero-section) .bg-\[\#002864\] h2,
.light-main section:not(.hero-section) .bg-\[\#002864\] h3,
.light-main section:not(.hero-section) .bg-\[\#001436\]\/60 h1,
.light-main section:not(.hero-section) .bg-\[\#001436\]\/60 h2,
.light-main section:not(.hero-section) .bg-\[\#001436\]\/60 h3,
.light-main section:not(.hero-section) .bg-slate-900\/80 h1,
.light-main section:not(.hero-section) .bg-slate-900\/80 h2,
.light-main section:not(.hero-section) .bg-slate-900\/80 h3,
.light-main section:not(.hero-section) .bg-slate-950\/60 h1,
.light-main section:not(.hero-section) .bg-slate-950\/60 h2,
.light-main section:not(.hero-section) .bg-slate-950\/60 h3 {
    color: #ffffff !important;
}

.light-main section:not(.hero-section) .bg-\[\#002864\] .text-slate-300,
.light-main section:not(.hero-section) .bg-\[\#002864\] .text-slate-200,
.light-main section:not(.hero-section) .bg-\[\#001436\]\/60 .text-slate-300,
.light-main section:not(.hero-section) .bg-\[\#001436\]\/60 .text-slate-200,
.light-main section:not(.hero-section) .bg-slate-900\/80 .text-slate-300,
.light-main section:not(.hero-section) .bg-slate-900\/80 .text-slate-200,
.light-main section:not(.hero-section) .bg-slate-950\/60 .text-slate-300,
.light-main section:not(.hero-section) .bg-slate-950\/60 .text-slate-200,
.light-main section:not(.hero-section) .bg-\[\#002864\] p,
.light-main section:not(.hero-section) .bg-\[\#001436\]\/60 p,
.light-main section:not(.hero-section) .bg-slate-900\/80 p,
.light-main section:not(.hero-section) .bg-slate-950\/60 p {
    color: #cbd5e1 !important;
}

.light-main section:not(.hero-section) .bg-slate-900\/80 input,
.light-main section:not(.hero-section) .bg-slate-900\/80 select,
.light-main section:not(.hero-section) .bg-slate-900\/80 textarea,
.light-main section:not(.hero-section) .bg-slate-950\/60 input,
.light-main section:not(.hero-section) .bg-slate-950\/60 select,
.light-main section:not(.hero-section) .bg-slate-950\/60 textarea {
    color-scheme: dark;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.light-main section:not(.hero-section) .bg-slate-900\/80 input::placeholder,
.light-main section:not(.hero-section) .bg-slate-900\/80 textarea::placeholder,
.light-main section:not(.hero-section) .bg-slate-950\/60 input::placeholder,
.light-main section:not(.hero-section) .bg-slate-950\/60 textarea::placeholder {
    color: #94a3b8 !important;
}

.hero-content-panel {
    background: linear-gradient(135deg, rgba(0, 20, 54, 0.74), rgba(0, 20, 54, 0.46));
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 10, 30, 0.28);
}

.hero-stable-stage {
    min-height: 480px;
}

.hero-title-readable {
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.hero-title-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-title-slot {
    min-height: 3.2em;
}

.hero-copy-readable {
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.42);
}

.hero-copy-slot {
    min-height: 4.25em;
}

.hero-stats-shell {
    min-height: 0;
}

.service-summary-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mobile-copy-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-copy-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-mobile-image {
        object-position: center center;
    }

    .hero-content-panel {
        background: linear-gradient(180deg, rgba(0, 20, 54, 0.86), rgba(0, 20, 54, 0.66));
        backdrop-filter: blur(10px);
    }

    .hero-title-slot {
        min-height: 3.3em;
    }

    .hero-copy-slot {
        min-height: 3.8em;
    }

    .hero-copy-clamp {
        -webkit-line-clamp: 2;
    }

    .hero-stats-shell {
        min-height: 88px;
    }

    .logo-track {
        gap: 24px;
        font-size: 0.8rem;
    }
}

@media (min-width: 640px) {
    .hero-stable-stage {
        min-height: 580px;
    }

    .mobile-copy-clamp,
    .hero-copy-clamp,
    .hero-title-clamp {
        display: block;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
        overflow: visible;
    }

    .hero-stats-shell {
        min-height: 112px;
    }
}

@media (min-width: 1024px) {
    .hero-stable-stage {
        min-height: 620px;
    }

    .hero-title-slot {
        min-height: 3.2em;
    }

    .hero-copy-slot {
        min-height: 5.25em;
    }

    .hero-stats-shell {
        min-height: 132px;
    }
}
