:root {
    --brand-primary: #005b96;
    --brand-primary-dark: #0b3a5b;
    --brand-accent: #e3a008;
    --text-primary: #1f2937;
    --text-secondary: #475569;
    --surface: #ffffff;
    --surface-soft: #f4f7fb;
    --line: #d8e2ec;
    --footer-bg: #0b1b2b;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --shadow-soft: 0 10px 28px rgba(11, 27, 43, 0.1);
}

body {
    color: var(--text-secondary);
    background-color: var(--surface);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    line-height: 1.25 !important;
}

p {
    margin-bottom: 1rem;
}

.site-header {
    position: sticky !important;
    top: 0;
    z-index: 997;
    padding: 0 !important;
}

.site-header.header-scrolled {
    padding: 0 !important;
}

.main-menu.modern-main-menu {
    padding-top: 0 !important;
}

.site-main {
    min-height: 70vh;
    overflow-x: hidden;
}

.modern-header-top {
    background: #eef3f8;
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
}

.topline-text {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
}

.header-top-right a {
    color: #334155;
    font-weight: 500;
    margin-left: 14px;
    font-size: 13px;
}

.modern-main-menu {
    background-color: var(--surface);
    border-bottom: 1px solid var(--line);
}

.brand-wrap {
    display: flex;
    align-items: center;
    padding: 12px 0;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-link img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 1.15rem;
    color: var(--text-primary);
    letter-spacing: 0.4px;
}

.brand-text span {
    max-width: 280px;
    font-size: 12px;
    color: #64748b;
}

.nav-menu a {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.2px;
}

.nav-menu .menu-active > a,
.nav-menu li:hover > a {
    color: var(--brand-primary) !important;
}

.nav-menu ul {
    border-radius: 10px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.page-hero {
    position: relative;
    padding: 84px 0 64px;
    color: #fff;
    background-size: cover;
    background-position: center;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(11, 27, 43, 0.9), rgba(11, 58, 91, 0.55));
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 14px;
}

.page-hero p {
    color: #e6eef5;
    max-width: 760px;
    font-size: 1.05rem;
    margin-bottom: 0;
}

.hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.9rem;
}

.hero-breadcrumb a {
    color: var(--brand-accent);
}

.section-block {
    padding: 72px 0;
}

.section-soft {
    background: var(--surface-soft);
}

.section-title {
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    margin-bottom: 10px;
}

.section-title p {
    margin: 0;
    color: var(--text-secondary);
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.grid-cards > * {
    grid-column: span 12;
}

.info-card,
.project-card,
.service-card-modern,
.logo-card,
.stat-card,
.contact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.info-card,
.service-card-modern,
.contact-card {
    padding: 22px;
    height: 100%;
}

.info-card h3,
.service-card-modern h3,
.contact-card h3 {
    font-size: 1.12rem;
    margin-bottom: 12px;
}

.info-card ul,
.service-content ul,
.service-content ol,
.project-list ul {
    list-style: none;
    padding-left: 0;
}

.info-card li,
.service-content li,
.project-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
}

.info-card li::before,
.service-content li::before,
.project-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-primary);
    position: absolute;
    left: 0;
    top: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.stat-card {
    padding: 18px;
    text-align: center;
}

.stat-card strong {
    display: block;
    font-size: 1.8rem;
    color: var(--brand-primary);
    line-height: 1;
}

.stat-card span {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.92rem;
}

.btn-modern,
.btn-modern-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 20px;
    border: 1px solid transparent;
}

.btn-modern {
    background: var(--brand-primary);
    color: #fff;
}

.btn-modern:hover {
    background: var(--brand-primary-dark);
    color: #fff;
}

.btn-modern-outline {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: #fff;
}

.btn-modern-outline:hover {
    background: #e8f0f8;
    color: var(--brand-primary-dark);
}

.btn-modern:focus-visible,
.btn-modern-outline:focus-visible,
.nav-menu a:focus-visible,
.hero-breadcrumb a:focus-visible {
    outline: 2px solid var(--brand-accent);
    outline-offset: 2px;
}

.project-card {
    overflow: hidden;
    height: 100%;
}

.project-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.project-body {
    padding: 16px;
}

.project-body h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.content-prose p,
.content-prose li {
    color: var(--text-secondary);
}

.content-prose h3 {
    margin-top: 22px;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.quote-panel,
.contact-form-panel {
    background: var(--footer-bg);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.quote-panel h3,
.contact-form-panel h3,
.contact-form-panel label {
    color: #fff;
}

.quote-panel .form-control,
.contact-form-panel .form-control,
.contact-form-panel textarea,
.quote-panel textarea,
.quote-panel select {
    border-radius: var(--radius-sm);
    border: 1px solid #29465f;
    background: #081522;
    color: #fff;
    height: 46px;
}

.quote-panel textarea,
.contact-form-panel textarea {
    height: auto;
    min-height: 140px;
}

.quote-panel .form-control::placeholder,
.contact-form-panel .form-control::placeholder,
.contact-form-panel textarea::placeholder,
.quote-panel textarea::placeholder {
    color: #a8b4c6;
}

.map-wrap-modern {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.map-wrap-modern iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.logo-card {
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
}

.logo-card img {
    max-width: 100%;
    max-height: 56px;
    object-fit: contain;
}

.cta-strip-modern {
    background: linear-gradient(120deg, var(--brand-primary), var(--brand-primary-dark));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
}

.cta-strip-modern h3 {
    color: #fff;
    margin-bottom: 8px;
}

.cta-strip-modern p {
    color: #e6eef5;
    margin-bottom: 16px;
}

.modern-footer {
    background: var(--footer-bg);
    padding-top: 56px;
    padding-bottom: 28px;
}

.modern-footer .single-footer-widget h6,
.modern-footer p,
.modern-footer a,
.modern-footer li,
.footer-bottom-row {
    color: #e2e8f0;
}

.modern-footer-links li {
    margin-bottom: 8px;
}

.modern-footer-links a {
    color: #b6c6d8;
}

.modern-footer-links a:hover {
    color: #fff;
}

.footer-bottom-row {
    border-top: 1px solid #29465f;
    margin-top: 26px;
    padding-top: 16px;
    font-size: 0.9rem;
}

@media (min-width: 576px) {
    .logo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .grid-cards > .span-4 {
        grid-column: span 4;
    }

    .grid-cards > .span-6 {
        grid-column: span 6;
    }

    .grid-cards > .span-8 {
        grid-column: span 8;
    }

    .stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .header-top-right a {
        font-size: 14px;
    }
}

@media (max-width: 991.98px) {
    .brand-text {
        display: none;
    }

    #mobile-nav-toggle {
        top: 12px !important;
        right: 12px !important;
        z-index: 1001;
        width: 42px;
        height: 42px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.96) !important;
        box-shadow: var(--shadow-soft);
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    #mobile-nav-toggle i {
        color: var(--brand-primary-dark) !important;
        font-size: 18px;
        line-height: 1;
    }

    .page-hero {
        padding-top: 76px;
        padding-bottom: 52px;
    }
}

@media (max-width: 575.98px) {
    .section-block {
        padding: 56px 0;
    }

    #mobile-nav-toggle {
        top: 10px !important;
        right: 10px !important;
        width: 40px;
        height: 40px;
    }

    .header-top-right a {
        display: inline-block;
        margin: 6px 8px 0;
    }

    .quote-panel,
    .contact-form-panel {
        padding: 18px;
        border-radius: var(--radius-md);
    }

    .stat-card strong {
        font-size: 1.55rem;
    }
}
