:root {
    --navy: #0B1D3A;
    --gold: #C8963E;
    --gold-light: #E8C078;
    --cream: #FAFAF8;
    --slate: #3A4A5C;
    --muted: #7A8A9C;
    --light-bg: #F0EDE8;
    --border: #DDD8D0;
    --white: #FFFFFF;
    --container: 1200px;
    --container-sm: 1000px;
    --header-height: 72px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.06);
    --shadow-gold: 0 8px 20px rgba(200, 150, 62, 0.3);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: #1A1A1A;
    line-height: 1.5;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    background: none;
    border: 0;
    cursor: pointer;
}

input,
textarea,
select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--gold);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.serif {
    font-family: 'Playfair Display', Georgia, serif;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-white {
    color: #fff;
}

.text-gold {
    color: var(--gold);
}

.text-muted {
    color: var(--muted);
}

.bg-white {
    background: #fff;
}

.bg-cream {
    background: var(--cream);
}

.bg-light {
    background: var(--light-bg);
}

.bg-navy {
    background: var(--navy);
}

.centered {
    text-align: center;
}

.w-full {
    width: 100%;
}

.stack-8 > * + * {
    margin-top: 8px;
}

.stack-12 > * + * {
    margin-top: 12px;
}

.stack-16 > * + * {
    margin-top: 16px;
}

.stack-20 > * + * {
    margin-top: 20px;
}

.stack-24 > * + * {
    margin-top: 24px;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.7s ease forwards;
}

.fade-up-d1 {
    animation-delay: 0.15s;
}

.fade-up-d2 {
    animation-delay: 0.3s;
}

.fade-up-d3 {
    animation-delay: 0.45s;
}

.fade-up-d4 {
    animation-delay: 0.6s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Layout */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm {
    max-width: var(--container-sm);
    margin: 0 auto;
    padding: 0 24px;
}

.section,
.page-section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 90px 24px;
}

.section-sm {
    max-width: var(--container-sm);
    margin: 0 auto;
    padding: 70px 24px;
}

.grid2,
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.grid3,
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.auto-grid-lg {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

/* Buttons */
.btn,
.btn-gold,
.btn-outline {
    display: inline-block;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-gold {
    padding: 14px 32px;
    background: var(--gold);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    border: none;
    border-radius: 4px;
    letter-spacing: 0.3px;
}

.btn-gold:hover {
    background: #B8862E;
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    padding: 13px 30px;
    background: transparent;
    color: var(--navy);
    font-weight: 600;
    font-size: 15px;
    border: 2px solid var(--navy);
    border-radius: 4px;
}

.btn-outline:hover {
    background: var(--navy);
    color: #fff;
}

.btn-outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-small {
    padding: 10px 24px;
    font-size: 13px;
}

/* Shared UI */
.card {
    position: relative;
    overflow: hidden;
    padding: 36px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-compact {
    padding: 24px 28px;
}

.card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.tag {
    display: inline-block;
    padding: 5px 14px;
    background: var(--light-bg);
    color: var(--slate);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.tag-dark {
    background: rgba(200, 150, 62, 0.15);
    color: var(--gold);
    border: 1px solid rgba(200, 150, 62, 0.3);
}

.gold-line {
    width: 50px;
    height: 3px;
    margin: 16px 0;
    background: var(--gold);
    border-radius: 2px;
}

.footer-link {
    color: var(--muted);
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--gold);
}

.hero-pattern {
    position: relative;
    overflow: hidden;
}

.hero-pattern::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background:
        radial-gradient(circle at 70% 30%, rgba(200, 150, 62, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 30% 80%, rgba(11, 29, 58, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-pattern > * {
    position: relative;
    z-index: 1;
}

.nation-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--slate);
}

.industry-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border-radius: 12px;
    font-size: 24px;
}

.blog-card {
    cursor: pointer;
}

.blog-card:hover .blog-title {
    color: var(--gold);
}

.blog-date {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-title {
    margin: 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
    transition: color 0.2s ease;
}

.blog-strip {
    height: 8px;
    margin: -36px -36px 24px -36px;
    width: calc(100% + 72px);
    border-radius: 4px 4px 0 0;
    background: linear-gradient(90deg, var(--navy) 20%, var(--gold) 100%);
}

.blog-more {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

/* Header / navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.35s ease;
}

.site-header.is-scrolled {
    background: rgba(250, 250, 248, 0.97);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--border);
}

.header-bar {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-height);
}

.site-main {
    padding-top: var(--header-height);
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: var(--gold);
    font-weight: 700;
    font-size: 18px;
    font-family: 'Playfair Display', serif;
}

.footer-brand .brand-mark {
    background: rgba(200, 150, 62, 0.15);
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
    letter-spacing: 0.3px;
}

.footer-brand .brand-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.brand-meta {
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    position: relative;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--slate);
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-link.is-active {
    color: var(--navy);
}

.nav-link.active::after,
.nav-link.is-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
}

.hamburger,
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    background: transparent;
    border: 0;
    padding: 0;
}

.hamburger span,
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--navy);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    animation: fadeIn 0.3s ease;
}

.mobile-menu[hidden] {
    display: none !important;
}

.mobile-menu-link {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    padding: 12px;
}

.mobile-menu-link.active,
.mobile-menu-link.is-active {
    color: var(--gold-light);
}

.mobile-menu-inner {
    min-height: 100vh;
    width: 100%;
    padding: 96px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

/* Shared section styles for PHP templates */
.hero,
.page-hero,
.service-hero,
.cta-band,
.home-contact-band {
    background: var(--navy);
}

.hero {
    padding: 100px 0;
}

.page-hero,
.service-hero {
    padding: 100px 24px 80px;
    text-align: center;
}

.page-title,
.service-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(28px, 3.8vw, 44px);
    color: #fff;
    margin-top: 24px;
    font-weight: 600;
    line-height: 1.2;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(32px, 4.5vw, 54px);
    color: #fff;
    line-height: 1.15;
    margin: 24px 0 20px;
    font-weight: 600;
}

.page-lead,
.service-lead,
.hero-text {
    font-size: 17px;
    line-height: 1.7;
}

.page-lead,
.service-lead {
    max-width: 600px;
    margin: 20px auto 0;
    color: rgba(255, 255, 255, 0.6);
}

.hero-text {
    max-width: 480px;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.65);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 34px;
    color: var(--navy);
    margin-top: 20px;
    font-weight: 600;
}

.section-title.smaller {
    font-size: 32px;
}

.section-copy {
    margin-top: 16px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 16px;
}

.page-copy {
    color: var(--muted);
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 20px;
}

.stat-list {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.stat-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-column.offset {
    margin-top: 40px;
}

.stat-card {
    min-width: 180px;
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(6px);
}

.stat-unit {
    color: var(--gold-light);
    font-size: 16px;
    font-weight: 500;
}

.stat-desc {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    line-height: 1.5;
}

.timeline {
    max-width: 700px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 20px;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-line {
    width: 2px;
    flex: 1;
    margin: 8px 0;
    background: var(--border);
}

.timeline-content {
    padding-bottom: 32px;
}

.timeline-content h3,
.timeline-content h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
}

.check-list,
.detail-list,
.footer-list,
.placeholder-list {
    list-style: none;
}

.check-list li,
.detail-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.check-list li::before,
.detail-list li::before {
    content: '✓';
    color: var(--gold);
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    margin-top: 1px;
}

.placeholder-list li {
    margin-bottom: 10px;
    color: var(--slate);
}

.notice-box {
    margin-top: 32px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 3px solid var(--gold);
}

.contact-meta-row {
    margin-bottom: 20px;
}

.contact-meta-label {
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.contact-meta-value {
    font-size: 15px;
    color: var(--slate);
    white-space: pre-line;
    line-height: 1.6;
}

.contact-card {
    padding: 40px 36px;
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.blog-single {
    max-width: 800px;
    margin: 0 auto;
}

.blog-content {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px 36px;
}

.home-contact-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px 36px;
}

.cta-band {
    padding: 80px 24px;
}

.cta-band .container,
.home-contact-band .container {
    max-width: 700px;
    text-align: center;
}

.cta-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(24px, 3vw, 34px);
    color: #fff;
    font-weight: 600;
    margin-bottom: 16px;
}

.cta-text {
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 32px;
    font-size: 16px;
}

/* Footer */
.site-footer {
    background: var(--navy);
    color: #fff;
    padding: 60px 24px 32px;
}

.footer-grid {
    max-width: var(--container);
    margin: 0 auto 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-heading {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--gold);
}

.footer-text {
    max-width: 300px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    max-width: var(--container);
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 13px;
    color: var(--muted);
}

.footer-bottom a:hover {
    color: var(--gold);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 900px) {
    .grid2,
    .grid-2,
    .grid3,
    .grid-3,
    .hero-grid,
    .footer-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .desktop-nav {
        display: none !important;
    }

    .hamburger,
    .menu-toggle {
        display: flex;
    }

    .stat-list {
        flex-direction: column;
        align-items: stretch;
    }

    .stat-column.offset {
        margin-top: 0;
    }

    .card,
    .contact-card,
    .blog-content,
    .home-contact-box {
        padding: 28px;
    }
}