/*
Theme Name: Kalburgi Industrial
Theme URI: https://kalburgistamping.com
Author: Kalburgi Stamping
Author URI: https://kalburgistamping.com
Description: Premium corporate B2B industrial WordPress theme for precision electrical stampings and lamination stacks. Features professional photorealistic hero slider, trust indicators, and sophisticated corporate design.
Version: 1.0.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kalburgi-industrial
Tags: business, industrial, corporate, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   Kalburgi Industrial — Corporate Premium Stylesheet
   Premium B2B Industrial Manufacturing Theme
   ========================================================================== */

/* ==========================================================================
   Design Tokens — Corporate Industrial
   ========================================================================== */
:root {
    /* Corporate Color Palette */
    --kal-color-primary:      #10283F;  /* Deep Navy - Primary Brand */
    --kal-color-secondary:    #1769AA;  /* Professional Blue - Accent */
    --kal-color-accent:       #D4A017;  /* Gold - Premium Accent */
    --kal-color-dark:         #0A1C2E;  /* Darkest Navy */
    --kal-color-light:        #F8FAFC;  /* Off-white Background */
    --kal-color-grey:         #64748B;  /* Professional Grey */
    --kal-color-text:         #1E293B;  /* Dark Text */
    --kal-color-text-light:   #475569;  /* Light Text */
    --kal-color-border:       #E2E8F0;  /* Subtle Border */
    --kal-color-white:        #FFFFFF;
    --kal-color-black:        #0F172A;
    
    /* Typography Scale */
    --kal-font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --kal-font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing Scale (8px base) */
    --kal-space-xs:   4px;
    --kal-space-sm:   8px;
    --kal-space-md:   16px;
    --kal-space-lg:   24px;
    --kal-space-xl:   32px;
    --kal-space-2xl:  48px;
    --kal-space-3xl:  64px;
    --kal-space-4xl:  96px;
    --kal-space-5xl:  128px;
    
    /* Layout */
    --kal-container-width: 1320px;
    --kal-container-padding: 24px;
    
    /* Borders & Shadows */
    --kal-radius-sm:  4px;
    --kal-radius-md:  8px;
    --kal-radius-lg:  12px;
    --kal-radius-xl:  16px;
    
    --kal-shadow-sm:  0 1px 3px rgba(10, 28, 46, 0.08);
    --kal-shadow-md:  0 4px 12px rgba(10, 28, 46, 0.12);
    --kal-shadow-lg:  0 8px 24px rgba(10, 28, 46, 0.16);
    --kal-shadow-xl:  0 16px 48px rgba(10, 28, 46, 0.20);
    
    /* Transitions */
    --kal-transition-fast: 0.15s ease;
    --kal-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --kal-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #1E293B;
    background: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #1769AA;
    text-decoration: none;
    transition: color 0.15s ease;
}
a:hover { color: #10283F; }
a:focus-visible {
    outline: 2px solid #1769AA;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Typography Hierarchy — Corporate */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    color: #10283F;
    line-height: 1.2;
    margin-bottom: 0.5em;
    letter-spacing: -0.02em;
}

h1 { 
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); }
h3 { font-size: clamp(1.375rem, 2.25vw, 1.875rem); }
h4 { font-size: clamp(1.125rem, 1.75vw, 1.375rem); }

p { 
    margin-bottom: 1.25em;
    color: #475569;
}
p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Skip Link (Accessibility)
   ========================================================================== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: #10283F;
    color: #fff;
    font-weight: 600;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
    color: #fff;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.kal-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.kal-section {
    padding: 96px 0;
    position: relative;
}

/* Full-width cover blocks extend to viewport edges */
.kal-content .wp-block-cover.alignfull {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

/* Fix column layout for pages with cover blocks */
.kal-content .wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.kal-content .wp-block-column {
    flex: 1 1 0;
    min-width: 0;
}

.kal-content .wp-block-column[style*="flex-basis"] {
    flex: 0 0 auto;
}

/* Ensure images in columns don't overflow */
.kal-content .wp-block-column img {
    max-width: 100%;
    height: auto;
    display: block;
}
.kal-section--sm {
    padding: 48px 0;
}
.kal-section--primary {
    background: #10283F;
    color: #FFFFFF;
}
.kal-section--light {
    background: #F8FAFC;
}
.kal-section--dark {
    background: #0A1C2E;
    color: #FFFFFF;
}

/* ==========================================================================
   Corporate Buttons
   ========================================================================== */
.kal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 1.4;
    font-family: inherit;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.kal-btn--primary {
    background: #1769AA;
    color: #FFFFFF;
    border-color: #1769AA;
    box-shadow: 0 4px 12px rgba(23, 105, 170, 0.25);
}
.kal-btn--primary:hover {
    background: #10283F;
    border-color: #10283F;
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(16, 40, 63, 0.3);
    transform: translateY(-2px);
}

.kal-btn--outline {
    background: transparent;
    color: #1769AA;
    border-color: #1769AA;
}
.kal-btn--outline:hover {
    background: #1769AA;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.kal-btn--white {
    background: #FFFFFF;
    color: #10283F;
    border-color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.kal-btn--white:hover {
    background: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.kal-btn--outline-white {
    background: transparent;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.4);
}
.kal-btn--outline-white:hover {
    background: #FFFFFF;
    color: #10283F;
    border-color: #FFFFFF;
}

.kal-btn--gold {
    background: #D4A017;
    color: #10283F;
    border-color: #D4A017;
}
.kal-btn--gold:hover {
    background: #B8901A;
    border-color: #B8901A;
    transform: translateY(-2px);
}

.kal-btn--sm {
    padding: 10px 20px;
    font-size: 0.8125rem;
}

/* ==========================================================================
   Corporate Header
   ========================================================================== */
.kal-header {
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(10, 28, 46, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible !important;
}

.kal-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 64px);
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding: 16px 0;
    gap: 24px;
    overflow: visible !important;
}

@media (max-width: 1024px) {
    .kal-header__inner {
        width: calc(100% - 32px);
    }
}

.kal-header__logo img {
    max-height: 60px;
    width: auto;
}

.kal-header__logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #10283F;
    text-decoration: none;
    letter-spacing: -0.02em;
}

/* Corporate Navigation */
.kal-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    overflow: visible !important;
}

.kal-nav__list {
    display: flex;
    list-style: none;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.kal-nav__link {
    display: block;
    padding: 10px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1E293B;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.15s ease;
    position: relative;
}

.kal-nav__link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #1769AA;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.kal-nav__link:hover::after,
.kal-nav__link[aria-current="page"]::after {
    width: calc(100% - 32px);
}

.kal-nav__link:hover {
    color: #1769AA;
}

.kal-nav__cta {
    margin-left: 8px;
}

/* ==========================================================================
   Mega Menu
   ========================================================================== */

/* Parent items need position relative for absolute children */
.kal-nav__item.has-children {
    position: relative;
}

/* Arrow indicator for items with children */
.kal-menu-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 6px;
    vertical-align: middle;
    transition: transform 0.15s ease;
}

/* Rotate arrow on hover/expanded */
.kal-nav__item.has-children:hover > a .kal-menu-arrow,
.kal-nav__item.has-children.is-expanded > a .kal-menu-arrow {
    transform: rotate(180deg);
}

/* Mega Menu Container */
.kal-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    min-width: 220px;
    max-width: 280px;
    padding: 12px 0;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(10, 28, 46, 0.18);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 9999;
    display: block;
    margin-top: 8px;
    overflow: hidden;
}

/* Show on hover (desktop) */
@media (min-width: 1025px) {
    .kal-nav__item.has-children:hover > .kal-mega-menu,
    .kal-nav__item.has-children:focus-within > .kal-mega-menu,
    .kal-nav__item.has-children > .kal-mega-menu.is-visible {
        opacity: 1;
        visibility: visible;
        margin-top: 4px;
    }
}

/* Show on expanded (mobile) */
.kal-nav__item.has-children.is-expanded > .kal-mega-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

/* Mega menu list - display as block, not grid */
.kal-mega-menu > ul.kal-mega-menu__list {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Mega menu items - stack vertically */
.kal-mega-menu li {
    margin: 0;
    display: block;
}

.kal-mega-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1E293B;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kal-mega-menu a:hover {
    background: #F8FAFC;
    color: #1769AA;
}

.kal-mega-menu a img {
    display: none;
}

.kal-mega-menu .menu-item-description {
    display: none;
}

/* Column headers */
.kal-mega-menu .mega-column-title {
    grid-column: 1 / -1;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748B;
    padding: 8px 16px 4px;
    margin-top: 8px;
}

.kal-mega-menu .mega-column-title:first-child {
    margin-top: 0;
}

/* Featured item */
.kal-mega-menu .mega-featured {
    grid-column: 1 / -1;
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(135deg, #10283F, #1769AA);
    border-radius: 8px;
    color: #FFFFFF;
}

.kal-mega-menu .mega-featured a {
    color: #FFFFFF;
    font-weight: 600;
}

.kal-mega-menu .mega-featured a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* CTA section */
.kal-mega-menu .mega-cta {
    grid-column: 1 / -1;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #E2E8F0;
    display: flex;
    gap: 12px;
}

.kal-mega-menu .mega-cta a {
    flex: 1;
    justify-content: center;
    padding: 12px;
    font-weight: 600;
}

/* Narrower mega menu for 2-column layouts */
.kal-mega-menu--2col {
    min-width: 400px;
    max-width: 500px;
    grid-template-columns: repeat(2, 1fr);
}

/* Wide mega menu for 4-column layouts */
.kal-mega-menu--4col {
    min-width: 800px;
    max-width: 1000px;
    grid-template-columns: repeat(4, 1fr);
}

/* ==========================================================================
   Standard WordPress Sub-Menu (fallback when mega-menu walker is disabled)
   ========================================================================== */

/* Parent li must be relative so dropdown aligns under it */
.kal-nav__list > li {
    position: relative !important;
}

/* Sub-menu container - hidden by default, shown on hover */
.kal-nav__list .sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 220px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 32px rgba(10, 28, 46, 0.18) !important;
    padding: 8px 0 !important;
    margin: 4px 0 0 0 !important;
    z-index: 99999 !important;
    list-style: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(8px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
}

/* Bridge the hover gap */
.kal-nav__list .sub-menu::before {
    content: '' !important;
    position: absolute !important;
    top: -8px !important;
    left: 0 !important;
    right: 0 !important;
    height: 8px !important;
}

/* Show sub-menu on parent hover */
.kal-nav__list > li:hover > .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Sub-menu items */
.kal-nav__list .sub-menu li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: 100% !important;
    position: relative !important;
}

/* Sub-menu links */
.kal-nav__list .sub-menu li a {
    display: block !important;
    padding: 10px 20px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #1E293B !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.15s ease !important;
    line-height: 1.4 !important;
    border-radius: 0 !important;
}

.kal-nav__list .sub-menu li a::after {
    display: none !important;
}

/* Sub-menu link hover */
.kal-nav__list .sub-menu li a:hover {
    background: #F1F5F9 !important;
    color: #1769AA !important;
}

/* Nested sub-menus (level 2+) */
.kal-nav__list .sub-menu .sub-menu {
    top: 0 !important;
    left: 100% !important;
    margin: 0 0 0 4px !important;
}

/* Arrow indicator on parent items with children */
.kal-nav__list > li.menu-item-has-children > a::after {
    content: ' ▾' !important;
    font-size: 0.7em !important;
    margin-left: 4px !important;
    opacity: 0.6 !important;
}

/* ==========================================================================
   Mobile Navigation
   ========================================================================== */
.kal-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #10283F;
}
.kal-mobile-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1024px) {
    .kal-mobile-toggle { display: block; }
    .kal-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #FFFFFF;
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid #E2E8F0;
        box-shadow: 0 8px 24px rgba(10, 28, 46, 0.16);
    }
    .kal-nav.is-open { display: flex; }
    .kal-nav__list {
        flex-direction: column;
        width: 100%;
    }
    .kal-nav__link {
        padding: 14px 20px;
        width: 100%;
    }

    /* Mobile Mega Menu */
    .kal-nav__item.has-children > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .kal-nav__item.has-children > a .kal-menu-arrow {
        border: none;
        width: auto;
        height: auto;
        font-size: 1.25rem;
        font-weight: 300;
        margin: 0;
    }

    .kal-nav__item.has-children > a .kal-menu-arrow::before {
        content: '+';
    }

    .kal-nav__item.has-children.is-expanded > a .kal-menu-arrow::before {
        content: '−';
    }

    .kal-mega-menu {
        position: static;
        transform: none;
        min-width: 100%;
        max-width: 100%;
        padding: 0 0 0 16px;
        border: none;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
        grid-template-columns: 1fr;
        gap: 0;
        background: #F8FAFC;
        border-radius: 8px;
        margin-top: 8px;
    }

    .kal-mega-menu > ul.kal-mega-menu__list {
        display: contents;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .kal-mega-menu--2col,
    .kal-mega-menu--4col {
        min-width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
    }

    .kal-nav__item.has-children.is-expanded > .kal-mega-menu {
        display: grid;
    }

    .kal-mega-menu a {
        padding: 12px 16px;
    }

    .kal-mega-menu a img {
        width: 40px;
        height: 40px;
    }

    .kal-mega-menu .mega-featured,
    .kal-mega-menu .mega-cta {
        margin-left: 0;
        margin-right: 0;
    }

    /* Mobile standard sub-menu (fallback) */
    .kal-nav__list .sub-menu {
        position: static !important;
        min-width: 100% !important;
        border: none !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        background: #F8FAFC !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        padding: 0 0 0 16px !important;
        margin: 0 !important;
        display: none !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .kal-nav__item.has-children.is-expanded > .sub-menu {
        display: block !important;
    }

    .kal-nav__list .sub-menu li a {
        padding: 12px 16px !important;
    }

    .kal-nav__list .sub-menu .sub-menu {
        left: 0 !important;
        top: auto !important;
        padding-left: 16px !important;
        margin: 0 !important;
    }

    .kal-nav__list > li.menu-item-has-children > a::after {
        content: '+' !important;
        font-size: 1.2rem !important;
        font-weight: 300 !important;
    }

    .kal-nav__list > li.menu-item-has-children.is-expanded > a::after {
        content: '−' !important;
    }
}

/* ==========================================================================
   Premium Hero Slider
   ========================================================================== */
.kal-hero-slider {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    background: #0A1C2E;
}

.kal-hero-slider__wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.kal-hero-slider__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Force centering of container inside slide */
.kal-hero-slider__slide .kal-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.kal-hero-slider__slide.is-active {
    opacity: 1;
    z-index: 1;
}

.kal-hero-slider__slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 28, 46, 0.85) 0%, rgba(10, 28, 46, 0.4) 100%);
    z-index: 1;
}

.kal-hero__content {
    position: relative;
    z-index: 2;
    padding: 64px 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.kal-hero__badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    color: #FFFFFF;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.kal-hero__title {
    color: #FFFFFF;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.kal-hero__subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.125rem, 1.75vw, 1.375rem);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 650px;
    font-weight: 400;
}

.kal-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Hero Slider Controls */
.kal-hero-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.kal-hero-slider__nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
    transform: translateY(-50%) scale(1.1);
}

.kal-hero-slider__nav--prev {
    left: 40px;
}

.kal-hero-slider__nav--next {
    right: 40px;
}

.kal-hero-slider__indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.kal-hero-slider__indicator {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.kal-hero-slider__indicator.is-active {
    background: #FFFFFF;
    width: 60px;
}

.kal-hero-slider__indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .kal-hero-slider {
        height: 600px;
    }
    
    .kal-hero-slider__nav {
        width: 44px;
        height: 44px;
    }
    
    .kal-hero-slider__nav--prev {
        left: 20px;
    }
    
    .kal-hero-slider__nav--next {
        right: 20px;
    }
    
    .kal-hero-slider__indicators {
        bottom: 30px;
    }
}

/* ==========================================================================
   Trust Indicators Section
   ========================================================================== */
.kal-trust-bar {
    background: #10283F;
    padding: 32px 0;
    border-top: 3px solid #D4A017;
}

.kal-trust-bar__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
}

.kal-trust-item {
    color: #FFFFFF;
}

.kal-trust-item__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: #D4A017;
}

.kal-trust-item__number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.kal-trust-item__label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/* ==========================================================================
   Corporate Section Headers
   ========================================================================== */
.kal-section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.kal-section-header__badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(23, 105, 170, 0.1);
    color: #1769AA;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.kal-section--primary .kal-section-header__badge {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
}

.kal-section-header__title {
    margin-bottom: 16px;
}

.kal-section-header__subtitle {
    color: #475569;
    font-size: 1.125rem;
    line-height: 1.6;
}

.kal-section--primary .kal-section-header__subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.kal-section-header--left {
    text-align: left;
    margin-left: 0;
}

/* ==========================================================================
   Premium Product Cards
   ========================================================================== */
.kal-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(10, 28, 46, 0.08);
}

.kal-card:hover {
    box-shadow: 0 8px 24px rgba(10, 28, 46, 0.16);
    transform: translateY(-4px);
    border-color: #1769AA;
}

.kal-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.kal-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.kal-card:hover .kal-card__image img {
    transform: scale(1.05);
}

.kal-card__body {
    padding: 32px;
}

.kal-card__category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(23, 105, 170, 0.1);
    color: #1769AA;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.kal-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.kal-card__title a {
    color: #10283F;
    text-decoration: none;
    transition: color 0.15s ease;
}

.kal-card__title a:hover {
    color: #1769AA;
}

.kal-card__text {
    color: #475569;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.kal-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #E2E8F0;
}

/* ==========================================================================
   Corporate Capability Cards
   ========================================================================== */
.kal-capability-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.kal-capability-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.kal-capability-card__image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.kal-capability-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.kal-capability-card:hover .kal-capability-card__image img {
    transform: scale(1.05);
}

.kal-capability-card__body {
    padding: 32px;
}

.kal-capability-card__title {
    color: #FFFFFF;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.kal-capability-card__text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ==========================================================================
   Client Logos Section
   ========================================================================== */
.kal-clients {
    background: #F8FAFC;
    padding: 48px 0;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.kal-clients__label {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

.kal-clients__grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.kal-clients__logo {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.kal-clients__logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.kal-cta {
    background: linear-gradient(135deg, #10283F 0%, #1769AA 100%);
    padding: 96px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kal-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h60v60H0z" fill="none"/><path d="M30 0v60M0 30h60" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    opacity: 0.5;
}

.kal-cta__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.kal-cta__title {
    color: #FFFFFF;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.kal-cta__text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.kal-cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Footer — Corporate
   ========================================================================== */
.kal-footer {
    background: #0A1C2E;
    color: rgba(255, 255, 255, 0.7);
    padding: 96px 0 32px;
}

.kal-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 64px;
    margin-bottom: 64px;
}

@media (max-width: 1024px) {
    .kal-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

@media (max-width: 640px) {
    .kal-footer__grid {
        grid-template-columns: 1fr;
    }
}

.kal-footer__heading {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kal-footer__links {
    list-style: none;
}

.kal-footer__links li {
    margin-bottom: 10px;
}

.kal-footer__links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.15s ease;
    display: inline-block;
}

.kal-footer__links a:hover {
    color: #FFFFFF;
    transform: translateX(4px);
}

.kal-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Responsive Grid Utilities
   ========================================================================== */
.kal-grid {
    display: grid;
    gap: 32px;
}

.kal-grid--2 { grid-template-columns: repeat(2, 1fr); }
.kal-grid--3 { grid-template-columns: repeat(3, 1fr); }
.kal-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Four product cards on desktop; step down cleanly for smaller screens. */
@media (max-width: 1024px) {
    .kal-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .kal-grid--3,
    .kal-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .kal-grid--2,
    .kal-grid--3,
    .kal-grid--4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
    .kal-header,
    .kal-footer,
    .kal-hero-slider__nav,
    .kal-hero-slider__indicators,
    .kal-btn {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}

/* ==========================================================================
   Clients Carousel — Scrolling Logo Bar
   ========================================================================== */
.kal-clients {
    padding: 60px 0 50px;
    background: #FFFFFF;
    overflow: hidden;
}

.kal-clients__heading {
    text-align: center;
    margin-bottom: 36px;
}

.kal-clients__title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #10283F;
    margin: 12px 0 8px;
    letter-spacing: -0.02em;
}

.kal-clients__subtitle {
    font-size: 1.05rem;
    color: #64748B;
    max-width: 600px;
    margin: 0 auto;
}

.kal-clients__segment-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #10283F;
    text-align: center;
    margin: 32px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #E2E8F0;
}

.kal-clients__track-wrap {
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.kal-clients__track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: kal-scroll 40s linear infinite;
    will-change: transform;
}

.kal-clients__track--slow {
    animation-duration: 50s;
}

.kal-clients__track:hover {
    animation-play-state: paused;
}

@keyframes kal-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-33.333% - 13.333px));
    }
}

.kal-clients__item {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.kal-clients__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1769AA, #10283F);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kal-clients__item:hover {
    border-color: #1769AA;
    box-shadow: 0 6px 20px rgba(23, 105, 170, 0.15);
    transform: translateY(-3px);
}

.kal-clients__item:hover::before {
    opacity: 1;
}

.kal-clients__name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1E293B;
    text-align: center;
    line-height: 1.3;
    display: block;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.kal-clients__logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.kal-clients__logo-img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 1024px) {
    .kal-clients__item {
        width: 180px;
        height: 110px;
    }
}

@media (max-width: 768px) {
    .kal-clients {
        padding: 40px 0 36px;
    }
    .kal-clients__title {
        font-size: 1.75rem;
    }
    .kal-clients__item {
        width: 160px;
        height: 100px;
        padding: 16px;
    }
    .kal-clients__name {
        font-size: 0.9rem;
    }
    @keyframes kal-scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-33.333% - 6.666px)); }
    }
}

@media (max-width: 480px) {
    .kal-clients__item {
        width: 140px;
        height: 90px;
    }
    .kal-clients__track {
        gap: 12px;
    }
}

/* ==========================================================================
   Clients Carousel — Single Smooth Scrolling Row
   ========================================================================== */
.kal-clients {
    padding: 70px 0 60px;
    background: #FFFFFF;
    overflow: hidden;
}

.kal-clients__heading {
    text-align: center;
    margin-bottom: 48px;
}

.kal-clients__title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #10283F;
    margin: 12px 0 8px;
    letter-spacing: -0.02em;
}

.kal-clients__subtitle {
    font-size: 1.05rem;
    color: #64748B;
    max-width: 600px;
    margin: 0 auto;
}

.kal-clients__track-wrap {
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.kal-clients__track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: kal-scroll 90s linear infinite;
    will-change: transform;
}

.kal-clients__track:hover {
    animation-play-state: paused;
}

@keyframes kal-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-33.3333% - 18.666px)); }
}

/* Logo card — replace the inner <span> with <img src="logo.png" alt="..."> to use real logos */
.kal-clients__item {
    flex-shrink: 0;
    width: 220px;
    height: 140px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.kal-clients__item:hover {
    border-color: #1769AA;
    box-shadow: 0 6px 20px rgba(23, 105, 170, 0.14);
    transform: translateY(-3px);
}

.kal-clients__name {
    font-size: 1rem;
    font-weight: 700;
    color: #1E293B;
    text-align: center;
    line-height: 1.25;
    display: block;
}

.kal-clients__item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.kal-clients__item:hover img {
    filter: grayscale(0%);
}

@media (max-width: 1024px) {
    .kal-clients__item {
        width: 200px;
        height: 125px;
    }
    .kal-clients__track { gap: 22px; }
    @keyframes kal-scroll {
        0%   { transform: translateX(0); }
        100% { transform: translateX(calc(-33.3333% - 14.666px)); }
    }
}

@media (max-width: 768px) {
    .kal-clients {
        padding: 48px 0 40px;
    }
    .kal-clients__title {
        font-size: 1.75rem;
    }
    .kal-clients__item {
        width: 170px;
        height: 110px;
        padding: 16px;
    }
    .kal-clients__track { gap: 16px; }
    @keyframes kal-scroll {
        0%   { transform: translateX(0); }
        100% { transform: translateX(calc(-33.3333% - 10.666px)); }
    }
}

@media (max-width: 480px) {
    .kal-clients__item {
        width: 140px;
        height: 95px;
    }
    .kal-clients__track { gap: 12px; }
    @keyframes kal-scroll {
        0%   { transform: translateX(0); }
        100% { transform: translateX(calc(-33.3333% - 8px)); }
    }
}
