/* ============================================================
   PAYIT Global Stylesheet
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
    --primary:        #E8A317;
    --primary-dark:   #C68B13;
    --primary-light:  #FFF8E6;
    --primary-badge:  #FEF3D1;
    --accent:         #FFD700;
    --surface:        #FFFFFF;
    --bg:             #FFFFFF;
    --bg-section:     #FDF9F2;
    --text-heading:   #1A1A1A;
    --text-body:      #333333;
    --text-muted:     #666666;
    --border:         #EEDCBA;
    --shadow-sm:      0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md:      0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg:      0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm:      6px;
    --radius-md:      10px;
    --radius-lg:      16px;
    --section-gap:    80px;
    --content-gap:    40px;
    --grid-gap:       3rem;
    --font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI',
            'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text-body);
    background-color: var(--bg);
    overflow-x: hidden;
    line-height: 1.7;
    letter-spacing: -0.015em;
}

.mt-section { margin-top: var(--section-gap) !important; }
.pt-section { padding-top: var(--section-gap) !important; }
.mb-section { margin-bottom: var(--section-gap) !important; }
.pb-section { padding-bottom: var(--section-gap) !important; }

.mt-content { margin-top: var(--content-gap) !important; }
.pt-content { padding-top: var(--content-gap) !important; }
.mb-content { margin-bottom: var(--content-gap) !important; }
.pb-content { padding-bottom: var(--content-gap) !important; }
.g-section { --bs-gutter-x: var(--grid-gap); --bs-gutter-y: var(--grid-gap); }

@media (max-width: 991.98px) {
    :root {
        --section-gap: 60px;
        --content-gap: 30px;
        --grid-gap: 2rem;
    }
}

/* ── NAVBAR ────────────────────────────────────────────────── */
.navbar {
    padding: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
}
.navbar.scrolled {
    background: #fff;
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.navbar .container { min-height: 84px; }

.navbar-brand {
    font-weight: 800;
    font-size: 1.55rem;
    color: var(--text-heading) !important;
    letter-spacing: 0.14em;
    padding-left: 0.05em;
    transition: opacity 0.2s;
}
.navbar-brand:hover { opacity: 0.65; }

/* Dropdown caret — slim, static chevron */
.nav-link.dropdown-toggle::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.5rem;
    border: none;
    margin-left: 0.45rem;
    vertical-align: middle;
    opacity: 0.4;
    transition: opacity 0.2s;
}
.nav-item.dropdown:hover > .dropdown-toggle::after,
.nav-link.dropdown-toggle[aria-expanded="true"]::after {
    opacity: 0.85;
}

/* Navbar Contact CTA — understated dark pill */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff !important;
    background: var(--text-heading);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s, transform 0.2s;
}
.nav-cta i {
    font-size: 0.7rem;
    transition: transform 0.25s ease;
}
.nav-cta:hover {
    background: var(--primary);
    color: #fff !important;
}
.nav-cta:hover i {
    transform: translateX(4px);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    color: var(--text-heading);
}
.navbar-toggler:focus { box-shadow: none; }

.nav-link {
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text-muted) !important;
    padding: 0.5rem 1rem !important;
    margin: 0 0.35rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    position: relative;
}
.nav-link:hover {
    color: var(--text-heading) !important;
}
.nav-link.active {
    color: var(--text-heading) !important;
}

/* Desktop Dropdown Hover */
@media (min-width: 992px) {
    .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        margin-top: 0;
    }
    .nav-link { height: 84px; }

    /* Static underline marker for the current page only */
    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 26px;
        left: 50%;
        width: 18px;
        height: 2px;
        background-color: var(--primary);
        transform: translateX(-50%);
        pointer-events: none;
    }
}

.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem;
    min-width: 200px;
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    transition: transform 0.25s ease-out, opacity 0.25s ease-out, visibility 0.25s;
}
.dropdown-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s, color 0.2s;
}
.dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}
.dropdown-item.active {
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

/* Mobile Adjustments */
@media (max-width: 991.98px) {
    .navbar .container { min-height: 64px; }
    .navbar-collapse {
        background: #fff;
        margin: 0 -1rem;
        padding: 1rem;
        border-bottom: 1px solid var(--border);
        max-height: 80vh;
        overflow-y: auto;
    }
    .nav-link {
        height: auto;
        padding: 0.75rem 1rem !important;
    }
    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1.5rem;
        background: var(--bg-section);
        opacity: 1;
        transform: none;
        visibility: visible;
        transition: none;
    }
    .nav-cta {
        display: flex;
        width: 100%;
        justify-content: center;
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
    }
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn-cta {
    background: var(--primary);
    color: #fff !important;
    font-size: .85rem;
    font-weight: 700;
    padding: .5rem 1.25rem;
    border-radius: 50px;
    border: none;
    transition: background .2s, box-shadow .2s, transform .15s;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}
.btn-cta:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 16px rgba(26,86,255,.3);
    transform: translateY(-1px);
}
.btn-primary-custom {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    padding: .7rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: .9rem;
    transition: all .2s;
}
.btn-primary-custom:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    box-shadow: 0 4px 16px rgba(26,86,255,.3);
    transform: translateY(-1px);
}
.btn-outline-custom {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-heading);
    padding: .7rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: .9rem;
    transition: all .2s;
}
.btn-outline-custom:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero-section {
    padding: 160px 0 100px;
    background: transparent;
    position: relative;
}
.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.05em;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
}
.hero-title span { color: var(--primary); }
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 2.5rem;
}

/* ── Subpage Header ────────────────────────────────────────── */
.subpage-header {
    padding: 130px 0 60px;
    background: linear-gradient(135deg, #EEF2FF 0%, #F4F6FB 60%, #ffffff 100%);
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}
.subpage-header + section.section-padding,
.subpage-header + section.section-padding.pt-0,
.subpage-header + main section.section-padding,
.subpage-header + main section.section-padding.pt-0 {
    padding-top: var(--section-gap) !important;
}
.subpage-header .section-title { color: var(--text-heading); }

/* ── Sections ──────────────────────────────────────────────── */
.section-padding { padding: 80px 0; }
.section-bg { background: linear-gradient(to bottom, var(--bg-section), #ffffff); }

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-heading);
    margin-bottom: 1rem;
}
.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card-base {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.card-hover {
    transition: box-shadow .2s, transform .2s;
}
.card-hover:hover {
    box-shadow: var(--shadow-md) !important;
    transform: translateY(-3px);
}
.card-accent-top {
    border-top: 3px solid var(--primary) !important;
}

/* ── Badges ────────────────────────────────────────────────── */
.badge-primary {
    background: var(--primary-badge);
    color: var(--primary);
    font-size: 0.8rem;
}
.badge-success {
    background: #d4edda;
    color: #155724;
}
.badge-warning {
    background: #fff3e0;
    color: #e65100;
}
.badge-danger {
    background: #ffebee;
    color: #c62828;
}
.badge-neutral {
    background: #f0f0f0;
    color: #555;
}

/* ── Icon Boxes ────────────────────────────────────────────── */
.icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--primary-badge);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.icon-box i { color: var(--primary); font-size: 1.2rem; }

.icon-box-lg {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--primary-badge);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.icon-box-lg i { color: var(--primary); font-size: 1.5rem; }

.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-badge);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.icon-circle i { color: var(--primary); font-size: 1.1rem; }

.icon-circle-primary {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ── Feature Icon (large, centered) ───────────────────────── */
.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

/* ── Info Box (highlight panel) ────────────────────────────── */
.info-box {
    background: var(--primary-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}
.info-box-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

/* ── Solution / Feature Card ───────────────────────────────── */
.solution-card {
    background: var(--primary-badge);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    height: 100%;
}
.solution-card .feature-icon { font-size: 2.5rem; }

/* ── Step Circle (process steps) ──────────────────────────── */
.step-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

/* ── Timeline ──────────────────────────────────────────────── */
.timeline-line {
    border-left: 2px solid var(--primary-badge);
    padding-left: 1.5rem;
}
.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    position: absolute;
    left: -8px;
    top: 4px;
}
.timeline-label {
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.85rem;
    font-weight: 800;
    font-size: 1rem;
    display: inline-block;
    min-width: 90px;
    text-align: center;
}
.timeline-label-sub {
    font-size: 0.7rem;
    opacity: 0.8;
}

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    color: #fff;
}
.cta-banner h3 { font-weight: 800; margin-bottom: 0.75rem; }
.cta-banner p  { opacity: .75; margin-bottom: 1.5rem; }
.btn-cta-white {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    padding: .75rem 2rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: box-shadow .2s, transform .15s;
}
.btn-cta-white:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    transform: translateY(-1px);
    color: var(--primary);
}
.btn-cta-outline {
    background: rgba(255,255,255,.15);
    color: #fff;
    font-weight: 700;
    padding: .75rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,.4);
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: background .2s;
}
.btn-cta-outline:hover {
    background: rgba(255,255,255,.25);
    color: #fff;
}

/* ── Component Box (solution detail) ──────────────────────── */
.component-box {
    background: linear-gradient(135deg, var(--primary-light) 0%, #ffffff 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
}
.component-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 0;
}
.component-item:last-child { border-bottom: none; }

/* ── Stat Card ─────────────────────────────────────────────── */
.stat-card {
    background: var(--primary-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
}
.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.04em;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}
.stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ── Cert Card (quality pages) ─────────────────────────────── */
.cert-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.cert-card-header {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    text-align: center;
}
.cert-card-body { padding: 2rem; }

/* ── Table ─────────────────────────────────────────────────── */
.table-payit thead th {
    background: var(--bg-section);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-heading);
    border-bottom: 2px solid var(--border);
}
.table-payit tbody tr:hover { background: var(--primary-light); }
.table-payit td { vertical-align: middle; font-size: 0.9rem; }

/* ── Form ──────────────────────────────────────────────────── */
.form-control-payit {
    background: var(--bg-section);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-heading);
    transition: border-color .2s, box-shadow .2s;
}
.form-control-payit:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,86,255,.1);
    background: #fff;
}
.form-label-payit {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.4rem;
}
.required-mark { color: #e74c3c; }

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb-payit { font-size: 0.8rem; }
.breadcrumb-payit .breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
}
.breadcrumb-payit .breadcrumb-item a:hover { color: var(--primary); }
.breadcrumb-payit .breadcrumb-item.active { color: var(--text-body); }

/* ── Pagination ────────────────────────────────────────────── */
.pagination-payit .page-link {
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--border);
    color: var(--text-body);
    font-size: 0.875rem;
    margin: 0 2px;
}
.pagination-payit .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}
.pagination-payit .page-item.disabled .page-link {
    color: var(--text-muted);
    background: transparent;
    border-color: transparent;
}

/* ── Accordion (FAQ) ───────────────────────────────────────── */
.accordion-payit .accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.accordion-payit .accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-heading);
    background: var(--surface);
}
.accordion-payit .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: var(--primary-light);
    box-shadow: none;
}
.accordion-payit .accordion-button:focus { box-shadow: none; }
.accordion-payit .accordion-body {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.8;
    background: var(--surface);
}
.accordion-payit .accordion-body a { color: var(--primary); }

/* ── UTILITIES ───────────────────────────────────────────── */
.hover-primary {
    transition: color 0.2s ease-in-out;
}
.hover-primary:hover {
    color: var(--primary-color) !important;
}

/* ── BREADCRUMB ────────────────────────────────────────────── */
.breadcrumb {
    margin-bottom: 0;
    padding: 0;
    justify-content: center;
}
.breadcrumb-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    padding: 0 0.75rem;
    color: var(--border);
}
.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb-item a:hover {
    color: var(--primary);
}
.breadcrumb-item.active {
    color: var(--primary);
}

/* ── Custom Tabs for 3rd level menu ────────────────────────── */
.custom-tabs .nav-link {
    border-radius: 50px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    color: var(--text-muted) !important;
    border: 1px solid var(--border) !important;
    margin: 0 5px 10px !important;
    background: #fff !important;
    height: auto !important;
    display: inline-flex !important;
    width: auto !important;
}
.custom-tabs .nav-link::after {
    display: none !important;
}
.custom-tabs .nav-link:hover {
    color: var(--primary) !important;
    background: var(--primary-light) !important;
    border-color: var(--primary) !important;
}
.custom-tabs .nav-link.active {
    background-color: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}
.tab-content {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

/* ── Dropdown Submenu ────────────────────────────────────────── */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    margin-left: 0;
    border-radius: var(--radius-md);
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: transform 0.25s ease-out, opacity 0.25s ease-out, visibility 0.25s;
    pointer-events: none;
}
.dropdown-submenu:hover > .dropdown-menu {
    /* Placeholder - overwritten by media queries if needed */
}
.dropdown-submenu > a::after {
    display: inline-block;
    margin-left: auto;
    vertical-align: middle;
    content: "";
    border-top: .3em solid transparent;
    border-right: 0;
    border-bottom: .3em solid transparent;
    border-left: .3em solid;
    float: right;
    margin-top: .5em;
}

@media (min-width: 992px) {
    .dropdown-submenu:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        pointer-events: auto;
    }
}

@media (max-width: 991.98px) {
    .dropdown-submenu > .dropdown-menu {
        position: static;
        display: none; /* Initially hidden on mobile */
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 1.5rem;
        background: rgba(0,0,0,0.03);
        pointer-events: auto;
    }
    .dropdown-submenu.show > .dropdown-menu {
        display: block;
    }
    .dropdown-submenu > a::after {
        transition: transform 0.2s;
    }
    .dropdown-submenu.show > a::after {
        transform: rotate(90deg);
    }
}

/* ── Footer ────────────────────────────────────────────────── */
footer {
    background: var(--text-heading);
    color: rgba(255,255,255,.65);
    padding: 100px 0 40px;
}
.footer-logo {
    font-weight: 900;
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: -0.06em;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}
.footer-logo span { color: var(--accent); }
footer .desc {
    font-size: .875rem;
    line-height: 1.75;
    color: rgba(255,255,255,.5);
    max-width: 320px;
}
.footer-info h6 {
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.25rem;
    opacity: 0.9;
}
.footer-info ul li {
    font-size: .875rem;
    color: rgba(255,255,255,.55);
    line-height: 1.6;
}
.footer-info .btn-outline-primary {
    color: var(--accent);
    border-color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
}
.footer-info .text-primary { color: var(--accent) !important; }
/* .footer-col h6 {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .65rem; }
.footer-col a {
    font-size: .875rem;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .2s;
}
.footer-col a:hover { color: #fff; } */
.footer-social a {
    color: rgba(255,255,255,.4);
    font-size: 1.1rem;
    transition: color .2s;
    text-decoration: none;
}
.footer-social a:hover { color: #fff; }
.footer-bottom {
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: .8rem;
    color: rgba(255,255,255,.35);
}
.footer-bottom a {
    color: rgba(255,255,255,.4);
    text-decoration: none;
    transition: color .2s;
}
.footer-bottom a:hover { color: rgba(255,255,255,.8); }

/* ── Utility ───────────────────────────────────────────────── */
.text-primary-payit  { color: var(--primary) !important; }
.text-heading-payit  { color: var(--text-heading) !important; }
.text-muted-payit    { color: var(--text-muted) !important; }
.bg-primary-payit    { background: var(--primary) !important; }
.bg-light-payit      { background: var(--primary-light) !important; }

/* Boostrap Override & Link Styles */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--primary);
}

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    color: #fff !important;
}
.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}
.bg-section          { background: var(--bg-section) !important; }
.bg-surface          { background: var(--surface) !important; }
.border-payit        { border: 1px solid var(--border) !important; }
.rounded-payit-sm    { border-radius: var(--radius-sm) !important; }
.rounded-payit-md    { border-radius: var(--radius-md) !important; }
.rounded-payit-lg    { border-radius: var(--radius-lg) !important; }
.lh-lg               { line-height: 1.9 !important; }
.letter-tight        { letter-spacing: -0.04em !important; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .navbar .container { height: 60px; }
    .navbar-collapse {
        background: #fff;
        border-top: 1px solid var(--border);
        padding: 1rem 1.25rem 1.5rem;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    .nav-link {
        height: auto;
        padding: .6rem .5rem !important;
        border-bottom: none;
        border-radius: var(--radius-sm);
        font-size: .9rem;
    }
    .nav-link:hover { background: var(--primary-light); }
    .dropdown-menu {
        box-shadow: none;
        border: none;
        background: var(--bg);
        border-radius: var(--radius-sm);
        padding: .25rem .5rem;
        margin: .25rem 0 .5rem !important;
        opacity: 1;
        transform: none;
        visibility: visible;
        transition: none;
    }
    .dropdown-item { font-size: .85rem; padding: .45rem .75rem; }
    .btn-cta { width: 100%; text-align: center; margin-top: .5rem; padding: .65rem; }
    .hero-section { padding: 110px 0 70px; }
    .subpage-header { padding: 100px 0 36px; }
    .section-padding { padding: 56px 0; }
    footer { padding: 72px 0 32px; }
    .cta-banner { padding: 2rem 1.5rem; }
}

@media (max-width: 575.98px) {
    .section-title { font-size: 1.6rem; }
    footer { padding: 56px 0 32px; }
    .stat-card .stat-value { font-size: 1.6rem; }
}

/* ── PRODUCTS · INLAY ─────────────────────────────────────── */
.inlay-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.inlay-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg) !important;
}
.inlay-thumb {
    background: var(--bg-section);
    border-bottom: 1px solid var(--border);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}
.inlay-thumb img {
    width: 100%;
    height: 170px;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.img-zoomable { cursor: zoom-in; }
.image-zoom-modal .modal-content { border: 0; border-radius: var(--radius-lg); }
.image-zoom-modal .modal-body img {
    width: 100%;
    height: 70vh;
    cursor: zoom-out;
    object-fit: contain;
}
.spec-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .6rem 0;
    border-bottom: 1px solid var(--border);
    font-size: .92rem;
}
.spec-list li:last-child { border-bottom: 0; }
.spec-list li span { color: var(--text-muted); }
.spec-list li strong { color: var(--text-heading); }

/* ── COMPANY · VISION ─────────────────────────────────────── */
.vision-hero {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-section) 100%);
    border: 1px solid var(--border);
}
.vision-quote {
    font-size: 2rem;
    line-height: 1.4;
    color: var(--text-heading);
}
.value-card {
    border-radius: var(--radius-lg);
    transition: transform .25s ease, box-shadow .25s ease;
}
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg) !important;
}
.value-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    font-size: 1.5rem;
}
@media (max-width: 575.98px) {
    .vision-quote { font-size: 1.4rem; }
}

/* ── COMPANY · LOCATION ───────────────────────────────────── */
.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    font-size: 1.25rem;
}
.contact-item {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}
.contact-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

/* ── PRODUCTS · PACKAGE ───────────────────────────────────── */
.pkg-thumb {
    gap: 1rem;
}
.pkg-thumb img {
    flex: 1 1 0;
    min-width: 0;
    width: 50%;
    height: 150px;
    object-fit: contain;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: .75rem;
}
.pkg-tag {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: .25rem .6rem;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.pkg-spec {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
    row-gap: 0;
    margin: 0;
}
.pkg-spec dt {
    color: var(--text-muted);
    font-weight: 500;
    font-size: .88rem;
    padding: .5rem 0;
    border-top: 1px solid var(--border);
}
.pkg-spec dd {
    color: var(--text-heading);
    font-weight: 500;
    font-size: .88rem;
    text-align: right;
    margin: 0;
    padding: .5rem 0;
    border-top: 1px solid var(--border);
}
.pkg-spec dt:first-of-type,
.pkg-spec dd:first-of-type {
    border-top: 0;
}
