/* =========================================
   VARIABLES & THEME — KK Consulting Brand Kit (Navy / Gold / Minimal)
   ========================================= */
:root {
    --dark-blue: #0A1F44;
    --navy-light: #142B5F;
    --teal: #C6A75E;
    /* Muted Gold */
    --teal-light: #F5F7FA;
    --white: #FFFFFF;
    --light-grey: #F5F7FA;
    --mid-grey: #E2E8F0;
    --dark-grey: #666666;
    --text-main: #333333;
    --red: #A91E2C;

    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 8px;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;

    --shadow-sm: 0 4px 6px rgba(11, 31, 58, 0.05);
    --shadow-md: 0 10px 25px rgba(11, 31, 58, 0.08);

    --transition: 0.3s ease;
}

/* =========================================
   RESET & BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--dark-blue);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.15rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--dark-blue);
    transition: var(--transition);
}

.text-teal {
    color: var(--teal);
}

.text-dark {
    color: var(--dark-blue);
}

.text-white {
    color: var(--white);
}

.text-light-grey {
    color: #CBD5E1;
}

.text-muted {
    color: var(--dark-grey);
}

.text-center {
    text-align: center;
}

.text-sm {
    font-size: 0.85rem;
}

.bg-light-grey {
    background-color: var(--light-grey);
}

.bg-dark-blue {
    background-color: var(--dark-blue);
}

.bg-teal {
    background-color: var(--teal);
}

.bg-dark {
    background-color: var(--dark-blue);
}

.mt-15 {
    margin-top: 15px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.pr-40 {
    padding-right: 40px;
}

/* =========================================
   LAYOUT
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 500px) {
    .container {
        padding: 0 16px;
    }
}

.section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
}

.section-head {
    max-width: 700px;
    margin: 0 auto;
}

.section-head p {
    font-size: 1.15rem;
    color: var(--dark-grey);
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.align-center {
    align-items: center;
}

@media (max-width: 900px) {

    .grid-hero,
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .pr-40 {
        padding-right: 0;
    }
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-weight: 500;
    font-size: 1rem;
    font-family: var(--font-body);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--dark-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--navy-light);
    border-color: var(--teal);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--dark-blue);
    color: var(--dark-blue);
}

.btn-outline:hover {
    background-color: var(--dark-blue);
    color: var(--white);
}

.btn-text {
    color: var(--teal);
    /* Muted Gold */
    font-weight: 600;
    padding: 10px 0;
}

.btn-text:hover {
    color: var(--dark-blue);
}

/* =========================================
   HEADER
   ========================================= */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--mid-grey);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.logo-accent {
    font-style: italic;
    color: var(--teal);
    /* Muted Gold */
    font-weight: 400;
    margin-left: 5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--teal);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .header-cta .btn {
        display: none;
    }

    .header-cta {
        gap: 10px;
    }
}

/* =========================================
   HERO — Cinematic Full-Bleed
   ========================================= */
.hero-cinematic {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 31, 68, 0.92) 0%,
        rgba(20, 43, 95, 0.85) 50%,
        rgba(10, 31, 68, 0.80) 100%
    );
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 120px 0 100px;
}

.hero-center-content {
    max-width: 720px;
}

.hero-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #C6A75E;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .hero-inner {
        text-align: center;
        padding: 80px 0 60px;
    }

    .hero-center-content {
        margin: 0 auto;
    }

    .hero-gold-line {
        margin: 20px auto;
    }
    
    .hero-sub {
        margin: 0 auto 30px;
    }

    .hero-pills {
        justify-content: center;
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 0;
}

.hero-gold-line {
    width: 60px;
    height: 3px;
    background: #C6A75E;
    margin: 28px 0;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    max-width: 560px;
    margin-bottom: 30px;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-pill i {
    color: #C6A75E;
    font-size: 0.8rem;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.hero-btn-primary {
    background: #C6A75E;
    color: #0A1F44;
    border: none;
    font-weight: 600;
    padding: 16px 32px;
    font-size: 0.95rem;
}

.hero-btn-primary:hover {
    background: #b8963f;
    color: #0A1F44;
}

.hero-btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-weight: 500;
    padding: 16px 28px;
    font-size: 0.95rem;
}

.hero-btn-outline:hover {
    border-color: #C6A75E;
    color: #C6A75E;
}

@media (max-width: 768px) {
    .hero-cinematic {
        min-height: 85vh;
    }

    .hero-inner {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }

    .hero-title br {
        display: none;
    }

    .hero-sub {
        font-size: 0.95rem;
    }

    .hero-pill {
        padding: 8px 14px;
        font-size: 0.78rem;
    }

    .hero-cta-row {
        flex-direction: column;
    }

    .hero-btn-primary,
    .hero-btn-outline {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* Dashboard Mockup */
.dashboard-ui {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--mid-grey);
}

.dash-header {
    background: var(--light-grey);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--mid-grey);
}

.dots {
    display: flex;
    gap: 6px;
    margin-right: 15px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #FF5F56;
}

.dot.yellow {
    background: #FFBD2E;
}

.dot.green {
    background: #27C93F;
}

.dash-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dash-body {
    padding: 25px;
}

.dash-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.dash-card,
.dash-main-card {
    border: 1px solid var(--mid-grey);
    padding: 15px;
    border-radius: var(--radius-md);
}

.dash-label {
    display: block;
    font-size: 0.75rem;
    color: var(--dark-grey);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.dash-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.dash-bar {
    height: 4px;
    border-radius: 2px;
}

.w-80 {
    width: 80%;
}

.w-100 {
    width: 100%;
}

.dash-status {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-top: 5px;
}

/* =========================================
   TRUST BAR
   ========================================= */
.trust-bar {
    padding: 40px 0;
    border-bottom: 1px solid var(--mid-grey);
}

.trust-title {
    color: var(--dark-grey);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 600;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 50px;
    font-size: 2rem;
    color: var(--mid-grey);
    flex-wrap: wrap;
}

/* =========================================
   RISK SECTION (Loss Aversion)
   ========================================= */
.risk-section {
    background-color: #0A1F44;
    /* Deep Navy per brand kit */
    color: var(--white);
    padding: 80px 0;
}

.risk-sub {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.risk-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.risk-item {
    background: rgba(0, 0, 0, 0.15);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.risk-item i {
    color: #C6A75E;
}

/* =========================================
   SYSTEM SECTION
   ========================================= */
.system-card {
    border: 1px solid var(--mid-grey);
    padding: 40px 30px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.system-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--teal);
    /* Gold accent on hover */
}

.system-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    opacity: 0.3;
    margin-bottom: 10px;
}

/* =========================================
   SERVICES GRID
   ========================================= */
.grid-services {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-block {
    background: var(--white);
    padding: 25px 20px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--teal);
    /* Muted Gold accent */
    box-shadow: var(--shadow-sm);
}

/* =========================================
   CASE STUDIES
   ========================================= */
.case-card {
    background: var(--light-grey);
    border-top: 3px solid var(--teal);
    padding: 30px;
}

.case-row {
    font-size: 0.95rem;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--mid-grey);
}

.case-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* =========================================
   PROCESS
   ========================================= */
.process-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.process-step {
    position: relative;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--teal);
    color: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin: 0 auto 15px;
}

@media (max-width: 768px) {
    .process-wrapper {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   INFO BLOCK (Security / Foreign)
   ========================================= */
.info-section {
    padding: 80px 0;
}

.info-icon {
    font-size: 2.5rem;
}

/* =========================================
   FINAL CTA
   ========================================= */
.cta-box {
    background: var(--light-grey);
    padding: 60px;
    border: 1px solid var(--mid-grey);
    border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
    .cta-box {
        padding: 30px;
    }

    .footer-seo {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .footer-seo span+span::before {
        content: "";
        display: none;
    }

    /* if applying separators */
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    padding: 40px 0;
}

.footer-seo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* =========================================
   SCROLL REVEAL ANIMATION
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   GOLD DIVIDER LINE
   ========================================= */
.gold-divider {
    width: 60px;
    height: 2px;
    background: var(--teal);
    margin: 15px auto 0;
}

/* =========================================
   LINK HOVER GOLD UNDERLINE
   ========================================= */
a.gold-link {
    color: var(--teal);
    border-bottom: 1px solid rgba(198, 167, 94, 0.3);
    padding-bottom: 2px;
    text-decoration: none;
}

a.gold-link:hover {
    border-bottom-color: var(--teal);
}