/* ============================================================
   Solution50 — Main Stylesheet
   Phase 1 Static Site | WordPress-Ready Structure
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* --- CSS Custom Properties --- */
:root {
    /* Brand Colors */
    --navy: #1B263B;
    --navy-dark: #0B1120;
    --blue: #415A77;
    --silver: #E0E1DD;
    --teal: #00B4D8;
    --teal-dark: #0096B7;
    --white: #ffffff;
    --off-white: #F8F9FA;
    --text-dark: #111827;
    --text-mid: #374151;
    --text-light: #6B7280;
    --border: #E5E7EB;

    /* Typography */
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(27, 38, 59, 0.08), 0 2px 6px rgba(27, 38, 59, 0.04);
    --shadow-lg: 0 12px 40px rgba(27, 38, 59, 0.12), 0 4px 12px rgba(27, 38, 59, 0.06);
    --shadow-xl: 0 24px 60px rgba(27, 38, 59, 0.16);

    /* Radii */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html,
body {
    overflow-x: clip;
    width: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-mid);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy);
}

h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    letter-spacing: -0.035em;
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    letter-spacing: -0.025em;
    line-height: 1.15;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    font-size: 1.0625rem;
    line-height: 1.75;
    letter-spacing: -0.011em;
}

.lead {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.7;
}

.eyebrow {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
    display: inline-block;
    margin-bottom: 1rem;
}

/* ============================================================
   HEADER — TOP BAR
   ============================================================ */
.s50-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.s50-topbar {
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.55rem 0;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.topbar-left span {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.topbar-left span i {
    color: var(--teal);
    font-size: 0.7rem;
}

.topbar-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.12) !important;
    display: inline-block;
    padding: 0 !important;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.topbar-contact a {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition);
}

.topbar-contact a i {
    color: var(--teal);
}

.topbar-contact a:hover {
    color: var(--teal);
}

.topbar-socials {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.topbar-socials a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-socials a:hover {
    color: var(--teal);
}

/* ============================================================
   HEADER — MAIN NAVBAR
   ============================================================ */
.s50-navbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.s50-header.scrolled .s50-navbar {
    box-shadow: 0 4px 24px rgba(27, 38, 59, 0.1);
    background: rgba(255, 255, 255, 0.99);
}

.s50-topbar {
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.45rem 0;
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

/* .s50-header.scrolled .s50-topbar {
    max-height: 0;
    padding: 0;
    opacity: 0;
} */

/* Same fix for announce bar */
.s50-announce {
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.25s ease;
    opacity: 1;
}

.s50-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    will-change: transform;
}

.s50-navbar {
    will-change: box-shadow;
}

/* .s50-header.scrolled .s50-announce {
    max-height: 0;
    padding: 0;
    opacity: 0;
} */

.s50-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
    gap: 2rem;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    display: block;
}

/* ── Nav links ── */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-mid);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
    letter-spacing: -0.01em;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0.9rem;
    right: 0.9rem;
    height: 2px;
    background: var(--teal);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.nav-link:hover,
.nav-link.active {
    color: var(--navy);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-chevron {
    font-size: 0.65rem;
    transition: transform 0.22s ease;
}

.nav-has-dropdown.open .nav-chevron {
    transform: rotate(180deg);
}

/* ── Dropdown ── */
.nav-has-dropdown {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(27, 38, 59, 0.13);
    padding: 0.5rem;
    min-width: 340px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    visibility: hidden;
    z-index: 100;
}

/* Invisible bridge to handle the gap on hover */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 6px;
    background: var(--white);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.nav-has-dropdown.open .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    transition: background 0.18s ease;
    text-decoration: none;
}

.nav-dropdown-item:hover {
    background: var(--off-white);
}

.dropdown-item-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(0, 180, 216, 0.08);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.nav-dropdown-item:hover .dropdown-item-icon {
    background: var(--teal);
    color: var(--white);
}

.dropdown-item-title {
    display: block;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.15rem;
    letter-spacing: -0.01em;
}

.dropdown-item-desc {
    display: block;
    font-size: 0.775rem;
    color: var(--text-light);
    line-height: 1.4;
    white-space: nowrap;
}

/* ── CTA button ── */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    padding: 0.6rem 1.4rem;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    transition: background 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease;
    flex-shrink: 0;
    text-decoration: none;
}

.nav-cta i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.nav-cta:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.28);
}

.nav-cta:hover i {
    transform: translateX(3px);
}

/* ── Toggle ── */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease, width 0.2s ease;
    transform-origin: center;
}

.nav-toggle.open .toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open .toggle-bar:nth-child(2) {
    opacity: 0;
    width: 0;
}

.nav-toggle.open .toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
    background: var(--white);
    border-top: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 32px rgba(27, 38, 59, 0.1);
}

.mobile-menu.open {
    max-height: 100vh;
}

.mobile-menu-inner {
    padding: 1.25rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav-label {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    padding: 0 0.5rem 0.5rem;
    display: block;
}



.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 0.75rem;
    border-radius: var(--radius-md);
    transition: background 0.18s ease;
    text-decoration: none;
}

.mobile-nav-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.mobile-nav-title {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

.mobile-nav-desc {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.4;
}

.mobile-nav-link i {
    color: var(--teal);
    font-size: 1rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.mobile-nav-icon {
    width: 32px;
    height: 32px;
    background: rgba(0, 180, 216, 0.08);
    color: var(--teal);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.mobile-nav-link:hover {
    background: var(--off-white);
    color: var(--navy);
}

.mobile-nav-badge {
    margin-left: auto;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--teal-dark);
    background: rgba(0, 180, 216, 0.08);
    border: 1px solid rgba(0, 180, 216, 0.18);
    border-radius: 100px;
    padding: 0.15rem 0.55rem;
    white-space: nowrap;
}

.mobile-menu-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 700;
    padding: 0.85rem;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.2s ease;
}

.mobile-cta-btn:hover {
    background: var(--teal);
    color: var(--white);
}

.mobile-contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.18s ease;
}

.mobile-contact-link i {
    color: var(--teal);
}

.mobile-contact-link:hover {
    color: var(--teal);
}

/* ============================================================
   RESPONSIVE SHOW/HIDE
   ============================================================ */
@media (max-width: 991px) {

    .nav-links,
    .nav-menu,
    .nav-cta {
        display: none !important;
    }

    .nav-toggle {
        display: flex;
    }

    .s50-topbar {
        display: none;
    }
}

@media (min-width: 992px) {
    .mobile-menu {
        display: none !important;
    }

    /* Pure CSS hover fallback for dropdown */
    .nav-has-dropdown:hover>.nav-dropdown {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .nav-has-dropdown:hover .nav-chevron {
        transform: rotate(180deg);
    }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.mobile-nav a.btn-primary-s50,
.btn-primary-s50 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    padding: 0.75rem 1.75rem;
    background: var(--teal);
    color: var(--white);
    border: 2px solid var(--teal);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary-s50:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    color: var(--white);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.35);
}

.mobile-nav a.btn-primary-s50:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 180, 216, 0.3);
}



.btn-secondary-s50 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    padding: 0.75rem 1.75rem;
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-secondary-s50:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 25px rgba(27, 38, 59, 0.2);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    padding: 0.75rem 1.75rem;
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px) scale(1.02);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
}

/* ============================================================
   SECTION UTILITY CLASSES
   ============================================================ */
.nav-dropdown-link {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
}

/* Mobile Nav Enhancements */
.mobile-nav-group {
    border-bottom: 1px solid var(--off-white);
    padding-bottom: 1rem;
}

.mobile-nav-header {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
    padding: 1.5rem 1.5rem 0.5rem;
}

.mobile-sub-link {
    padding-left: 2.5rem !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
}

/* ============================================================
   LOCATION SEARCH BLOCK
   ============================================================ */
.location-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.location-item {
    padding: 20px;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s ease;
    background: #fff;
}

.location-item.active {
    border-color: #00a7a0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.badge-distance {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
}

.location-name {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.location-addr {
    margin-bottom: 10px;
}

.location-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.map-container {
    min-height: 500px;
}

#locationMap {
    border-radius: 14px;
    overflow: hidden;
}

@media (max-width: 991px) {
    .location-results-grid {
        grid-template-columns: 1fr;
    }
}

.location-search-section {
    background: var(--off-white);
    padding: 6rem 0 var(--space-3xl);
}

.search-box-wrap {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    margin-bottom: 3.5rem;
}

.search-grid {
    display: grid;
    grid-template-columns: 1fr 200px auto;
    gap: 1.5rem;
    align-items: end;
}

@media (max-width: 991px) {
    .search-grid {
        grid-template-columns: 1fr;
    }

    .search-box-wrap {
        margin-top: 0;
        padding: 1.5rem;
    }
}

.form-group-s50 label {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.form-input-s50 {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-input-s50:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.1);
}

/* ============================================================
   LOCATION AUTOCOMPLETE
   ============================================================ */
.location-autocomplete-list {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    list-style: none;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
}

.location-autocomplete-list[hidden] {
    display: none;
}

.location-ac-item {
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--navy);
    border-bottom: 1px solid var(--off-white);
    transition: var(--transition);
}

.location-ac-item:last-child {
    border-bottom: none;
}

.location-ac-item:hover,
.location-ac-item.is-active {
    background: rgba(0, 180, 216, 0.05);
    color: var(--teal-dark);
}

.btn-search-locations {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.location-results-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    /* height: 700px; */
}

@media (max-width: 991px) {
    .location-results-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
}

.results-list-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.results-list {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow-y: auto;
    flex-grow: 1;
    padding: 0;
}

.results-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.results-header h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-light);
}

.location-item {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.location-item:last-child {
    border-bottom: none;
}

.location-item:hover {
    background: var(--off-white);
    cursor: pointer;
}

.location-item.active {
    border-left: 4px solid var(--teal);
    background: rgba(0, 180, 216, 0.03);
}

.location-item .badge-distance {
    float: right;
    background: var(--off-white);
    color: var(--teal);
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

.location-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 0.35rem;
    display: block;
}

.location-addr {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.location-links {
    display: flex;
    gap: 1.25rem;
}

.location-links a {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--teal);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

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

.map-container {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
    height: 100%;
}

.map-placeholder-bg {
    width: 100%;
    height: 100%;
    background: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--text-light);
    position: relative;
}

.map-marker {
    position: absolute;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.map-overlay-card {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: var(--white);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    max-width: 320px;
    border: 1px solid var(--border);
    z-index: 5;
}

@media (max-width: 576px) {
    .map-overlay-card {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
}

.section {
    padding: var(--space-2xl) 0;
}

.section-sm {
    padding: var(--space-xl) 0;
}

.section-dark {
    background: var(--navy);
    color: var(--white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

.section-dark .lead,
.section-dark p {
    color: rgba(255, 255, 255, 0.72);
}

/* Grid Background for Dark Sections */
.section-dark.with-grid {
    position: relative;
}

.section-dark.with-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.section-dark.with-grid .container {
    position: relative;
    z-index: 1;
}

.section-muted {
    background: var(--off-white);
}

.section-silver {
    background: var(--silver);
}

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero-main {
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding: var(--space-3xl) 0 var(--space-2xl);
    min-height: 88vh;
    display: flex;
    align-items: center;
}

.hero-secondary {
    min-height: 80vh;
    padding: var(--space-3xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--navy-dark);
}

.hero-secondary h2 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    letter-spacing: -0.035em;
    line-height: 1.1;
    /* margin-bottom: 1.5rem !important; */
}

.hero-secondary::before {
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(0, 180, 216, 0.05) 0%, transparent 70%);
}

.hero-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(0, 180, 216, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 20% 80%, rgba(65, 90, 119, 0.35) 0%, transparent 60%);
    pointer-events: none;
}

.hero-main::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(0, 180, 216, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Hero Visual Styles */
.hero-visual-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual-img {
    width: 120%;
    max-width: none;
    height: auto;
    /* Immersive blending */
    mix-blend-mode: screen;
    mask-image: radial-gradient(circle at 50% 50%, black 25%, transparent 65%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 25%, transparent 65%);
    filter: drop-shadow(0 0 40px rgba(0, 180, 216, 0.4)) contrast(1.1) brightness(1.1);
    animation: float 8s ease-in-out infinite;
    position: relative;
    z-index: 2;
    transform: translateX(5%);
}

.visual-glow {
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(40px);
}

/* Dashboard Visual Component */
.hero-dashboard {
    background: var(--navy-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 500px;
    animation: float 8s ease-in-out infinite;
}

.hero-dashboard::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.dashboard-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.db-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.db-card:hover {
    transform: translateX(10px);
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(0, 180, 216, 0.3);
}

.db-icon {
    width: 56px;
    height: 56px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #10B981;
}

.db-icon.blue {
    background: rgba(0, 180, 216, 0.1);
    color: #00B4D8;
}

.db-content {
    flex-grow: 1;
}

.db-content h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.db-content p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
}

.db-status {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #10B981;
}

.db-status.blue {
    color: #00B4D8;
}

.dashboard-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.db-tag {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10B981;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.db-tag.blue {
    background: rgba(0, 180, 216, 0.05);
    border: 1px solid rgba(0, 180, 216, 0.2);
    color: #00B4D8;
}

.hero-main .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 180, 216, 0.12);
    border: 1px solid rgba(0, 180, 216, 0.25);
    border-radius: 100px;
    padding: 0.35rem 1rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 1.5rem;
    width: fit-content;
    transition: var(--transition);
    cursor: default;
}

.hero-main .hero-badge:hover {
    background: rgba(0, 180, 216, 0.18);
    border-color: rgba(0, 180, 216, 0.4);
    transform: translateY(-1px);
}

.hero-main h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-main .hero-sub {
    color: rgba(255, 255, 255, 0.68);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 560px;
}

.hero-main .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-inner {
    background: var(--navy-dark);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 100% at 100% 50%, rgba(0, 180, 216, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

.hero-inner h1 {
    color: var(--white);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.2;
}

.hero-inner .eyebrow {
    margin-bottom: 0.75rem;
}

.hero-inner .hero-tag {
    display: inline-block;
    background: rgba(0, 180, 216, 0.12);
    border: 1px solid rgba(0, 180, 216, 0.2);
    color: var(--teal);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
    padding: 0.3rem 0.9rem;
    margin-bottom: 1.25rem;
}

.hero-inner p {
    color: rgba(255, 255, 255, 0.68);
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-inner .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Reduced size hero visuals for inner pages */
.hero-inner .hero-visual-img {
    width: 100%;
    transform: translateX(0);
    mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 70%);
}

/* ============================================================
   CARDS
   ============================================================ */
.s50-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.s50-card:hover {
    box-shadow: 0 20px 50px rgba(0, 180, 216, 0.1);
    border-color: rgba(0, 180, 216, 0.25);
    transform: translateY(-6px);
}

.s50-card:hover .card-icon {
    transform: scale(1.1);
    background: var(--teal);
    color: var(--white);
}

.s50-card-dark {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.s50-card-dark:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 180, 216, 0.4);
    transform: translateY(-4px);
}

.s50-card-dark:hover .card-icon {
    transform: scale(1.1);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(0, 180, 216, 0.1);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.card-icon-navy {
    background: var(--navy);
    color: var(--teal);
}

.s50-card h3,
.s50-card h4 {
    margin-bottom: 0.6rem;
}

.s50-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.65;
}

/* ============================================================
   PILLAR SECTION (Homepage)
   ============================================================ */
.pillars-section {
    padding: var(--space-2xl) 0;
}

.pillar-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    transition: var(--transition-slow);
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.pillar-card-bio {
    background: var(--navy);
    padding: 3rem;
}

.pillar-card-pay {
    background: var(--teal);
    padding: 3rem;
    border: none;
}

.pillar-card-pay .pillar-feature i {
    color: inherit;
}

.pillar-card-pay h3 {
    color: var(--white);
}

.pillar-card-pay p {
    color: rgba(255, 255, 255, 0.8);
}

.pillar-card-pay .eyebrow {
    color: var(--white);
}

.pillar-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 4px;
    padding: 0.25rem 0.65rem;
    margin-bottom: 0.5rem;
}

.pillar-tag-bio {
    background: rgba(0, 180, 216, 0.15);
    color: var(--teal);
}

.pillar-tag-pay {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.pillar-card h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    margin-bottom: 1rem;
}

.pillar-card-bio h3 {
    color: var(--white);
}

.pillar-card-bio p {
    color: rgba(255, 255, 255, 0.7);
}

.pillar-features {
    margin: 1.5rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.pillar-feature {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1rem;
    font-weight: 500;
}

.pillar-card-bio .pillar-feature {
    color: rgba(255, 255, 255, 0.8);
}

.pillar-card-pay .pillar-feature {
    color: rgba(255, 255, 255, 0.9);
}

.pillar-feature i {
    color: var(--teal);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ============================================================
   WHY S50 SECTION
   ============================================================ */
.why-section {
    background: var(--off-white);
    padding: var(--space-2xl) 0;
}

.why-point {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.why-point:hover .why-point-icon {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
    transform: scale(1.05);
}

.why-point:hover .why-point-body h4 {
    color: var(--teal);
}

.why-point-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--teal);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.why-point-body h4 {
    color: var(--navy);
    margin-bottom: 0.35rem;
    font-size: 1.05rem;
}

.why-point-body p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

/* ============================================================
   COMPLIANCE STRIP
   ============================================================ */
.compliance-strip {
    background: #243447;
    border-top: 1px solid rgba(0, 180, 216, 0.15);
    padding: 1.5rem 0;
}

.compliance-strip .compliance-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    text-align: center;
}

.compliance-strip i {
    color: var(--teal);
    font-size: 1rem;
}

.compliance-strip span {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
}

.compliance-strip strong {
    color: rgba(255, 255, 255, 0.78);
}

/* ============================================================
   CTA SECTIONS
   ============================================================ */
.cta-section {
    background: var(--navy);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(0, 180, 216, 0.08) 0%, transparent 65%);
    pointer-events: none;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   TECH SPECS TABLE
   ============================================================ */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table tr:hover {
    background: var(--off-white);
}

.specs-table td {
    padding: 1rem 1.25rem;
    font-size: 1rem;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--navy);
    font-family: var(--font-display);
    width: 40%;
}

.specs-table td:last-child {
    color: var(--text-mid);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.25rem 0;
    cursor: pointer;
    gap: 1rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--teal);
}

.faq-question i {
    font-size: 0.85rem;
    color: var(--text-light);
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
    color: var(--teal);
}

.faq-answer {
    display: none;
    padding: 0 0 1.25rem;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-steps {
    display: flex;
    gap: 0;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 24px;
    right: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--teal) 0%, var(--blue) 100%);
    opacity: 0.2;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--teal);
    color: var(--teal);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
}

.process-step h4 {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.process-step p {
    font-size: 1rem;
    color: var(--text-light);
}

/* ============================================================
   INDUSTRY GRID
   ============================================================ */
.industry-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--teal);
    transform: scaleY(0);
    transition: var(--transition-slow);
    transform-origin: bottom;
}

.industry-card:hover::before {
    transform: scaleY(1);
}

.industry-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.form-control-s50 {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--off-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-control-s50:focus {
    background: var(--white);
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.form-control-s50::placeholder {
    color: var(--text-light);
}

textarea.form-control-s50 {
    resize: vertical;
    min-height: 130px;
}

select.form-control-s50 {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%236B7280' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 20px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-required {
    color: var(--teal);
    margin-left: 2px;
}

.form-submit-btn {
    width: 100%;
    padding: 0.875rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: var(--teal);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.form-submit-btn:hover {
    background: var(--teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 180, 216, 0.3);
}

.contact-info-card {
    background: var(--navy);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    color: var(--white);
    height: auto;
}

.contact-info-card h3 {
    color: var(--white);
    margin-bottom: 1.75rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-item i {
    color: var(--teal);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.contact-info-item h5 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.contact-info-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin: 0;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.value-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.75rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.value-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
    border-color: rgba(0, 180, 216, 0.2);
}

.value-card:hover .value-icon {
    transform: scale(1.1);
    background: var(--teal);
    color: var(--white);
}

.value-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.12) 0%, rgba(0, 180, 216, 0.06) 100%);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.value-card h4 {
    color: var(--navy);
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.value-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.ecosystem-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5px;
    background: var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.ecosystem-pane {
    padding: 3rem;
    background: var(--white);
    transition: var(--transition);
    position: relative;
}

.ecosystem-pane:hover {
    background: #fcfdfe;
    transform: scale(1.01);
    z-index: 2;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
}

.ecosystem-pane.dark {
    background: var(--navy);
}

.ecosystem-pane.dark:hover {
    background: #202b40;
}

.ecosystem-pane.dark h3 {
    color: var(--white);
}

.ecosystem-pane.dark p {
    color: rgba(255, 255, 255, 0.65);
}

/* ============================================================
   INDUSTRY VERTICALS
   ============================================================ */
.verticals-section {
    background: var(--white);
    padding: var(--space-2xl) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.vertical-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 1.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    cursor: default;
}

.vertical-card:hover {
    border-color: rgba(0, 180, 216, 0.35);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.vertical-card:hover .vertical-icon {
    background: var(--teal);
    color: var(--white);
}

.vertical-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(0, 180, 216, 0.08);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition);
}

.vertical-card span {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.02em;
    line-height: 1.3;
}

/* ============================================================
   FOOTER
   ============================================================ */
.s50-footer {
    background: var(--navy);
    padding: var(--space-2xl) 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
    height: 36px;
    width: auto;
    margin-bottom: 1.25rem;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.52);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 280px;
    margin: 0;
}

.footer-col h5 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--teal);
    padding-left: 4px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.25);
}

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    flex-direction: row;
    align-content: center;
    justify-content: flex-start;
    flex-wrap: wrap;

}

.footer-contact-item i {
    color: var(--teal);
    font-size: 0.9rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-contact-item a {
    display: inline;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    color: inherit;
}

.footer-contact-item a:hover {
    color: var(--teal);
    padding-left: 0;
}

.footer-contact-item span {
    line-height: 1.4;
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand p {
        max-width: 100%;
    }
}

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
    line-height: 1.5;
}

.footer-bottom .compliance-note {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.28);
    font-style: italic;
}

/* ============================================================
   DIVIDERS & UTILITIES
   ============================================================ */
.teal-line {
    display: block;
    width: 48px;
    height: 3px;
    background: var(--teal);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.section-header {
    margin-bottom: var(--space-lg);
}

.section-header.centered {
    text-align: center;
}

.section-header.centered .teal-line {
    margin-left: auto;
    margin-right: auto;
}

.section-header.centered .lead {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header.centered .eyebrow {
    display: block;
}

.stat-box {
    text-align: center;
    padding: 2rem 1.5rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 500;
}

.section-muted .stat-label {
    color: inherit;
}

/* ============================================================
   UI UTILITIES
   ============================================================ */
.text-teal {
    color: var(--teal) !important;
}

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

.text-navy-dark {
    color: var(--navy-dark) !important;
}

.font-display {
    font-family: var(--font-display) !important;
}

.text-navy {
    color: var(--navy) !important;
}

.text-white-65 {
    color: rgba(255, 255, 255, 0.65) !important;
}

.text-white-90 {
    color: rgba(255, 255, 255, 0.9) !important;
}

.text-white-20 {
    color: rgba(255, 255, 255, 0.2) !important;
}

.text-white-62 {
    color: rgba(255, 255, 255, 0.62) !important;
}

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

.text-light {
    color: var(--text-light) !important;
}

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

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

.bg-teal-subtle {
    background: rgba(0, 180, 216, 0.08) !important;
    border: 1px solid rgba(0, 180, 216, 0.2) !important;
}

.badge-s50 {
    display: inline-block;
    border-radius: 4px;
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.d-grid-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.list-unstyled {
    padding-left: 0 !important;
    list-style: none;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.bg-navy-light {
    background: rgba(27, 38, 59, 0.08) !important;
}

.strip-divider-inline {
    color: rgba(255, 255, 255, 0.2);
}

.fs-lg {
    font-size: 1.6rem !important;
}

.fs-md {
    font-size: 1.1rem !important;
}

.fs-sm {
    font-size: 0.9375rem !important;
}

.fs-xs {
    font-size: 0.875rem !important;
}

.fs-xxs {
    font-size: 0.8125rem !important;
}

.pos-abs {
    position: absolute !important;
}

.map-placeholder-bg {
    width: 100%;
    height: 100%;
    background: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--text-light);
}

.map-placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--border);
}

.map-marker {
    position: absolute;
    font-size: 1.5rem;
}

.map-marker.marker-lg {
    font-size: 2rem;
}

.fs-tiny {
    font-size: 0.75rem !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-extrabold {
    font-weight: 800 !important;
}

.ls-sm {
    letter-spacing: 0.02em !important;
}

.ls-md {
    letter-spacing: 0.05em !important;
}

.border-0 {
    border: 0 !important;
}

.bg-teal-light {
    background: rgba(0, 180, 216, 0.1) !important;
    border: 1px solid rgba(0, 180, 216, 0.2) !important;
}

.bg-off-white {
    background: var(--off-white) !important;
}

.rounded-4 {
    border-radius: 1rem !important;
}

.error-message {
    display: none;
    color: #EF4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.contact-card-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

.contact-trust-strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.contact-trust-strip-item i {
    font-size: 1.75rem;
    color: var(--teal);
}

.contact-trust-strip-item span {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ============================================================
   MAP BLOCK
   ============================================================ */
.map-block {
    margin-top: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.map-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    background: var(--off-white);
    border-bottom: 1px solid var(--border);
}

.map-block-title {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.map-block-title i {
    color: var(--teal);
}

.map-trust-badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.map-trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(65, 90, 119, 0.08);
    border: 1px solid rgba(65, 90, 119, 0.15);
    border-radius: 100px;
    padding: 0.2rem 0.6rem;
}

.map-trust-badges span i {
    color: var(--teal);
    font-size: 0.7rem;
}

.map-with-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.map-embed-wrap {
    height: auto;
    border-right: 1px solid var(--border);
}

.map-embed-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.map-info-panel {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
}

.map-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.map-info-icon {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-sm);
    background: rgba(0, 180, 216, 0.08);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.map-info-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.1rem;
}

.map-info-value {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.4;
}

a.map-info-value:hover {
    color: var(--teal);
}

.map-divider {
    border-color: var(--border);
    margin: 0.25rem 0;
}

@media (max-width: 768px) {
    .map-with-details {
        grid-template-columns: 1fr;
    }

    .map-embed-wrap {
        border-right: none;
        border-bottom: 1px solid var(--border);
        height: 200px;
    }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.animate-fade-up {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

/* ============================================================
   ABOUT PAGE & QUOTES
   ============================================================ */
.about-quote-box {
    background: var(--navy);
    border-radius: var(--radius-xl);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.quote-box-accent {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(0, 180, 216, 0.06);
    pointer-events: none;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--teal);
    opacity: 0.4;
    display: block;
    margin-bottom: 1rem;
}

.quote-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.65;
    font-family: var(--font-display);
    font-weight: 500;
}

.quote-author {
    color: var(--teal);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pane-link-teal,
.pane-link-blue {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    transition: var(--transition);
}

.pane-link-teal {
    color: var(--teal);
}

.pane-link-blue {
    color: var(--blue);
}

.pane-link-teal:hover,
.pane-link-blue:hover {
    gap: 0.75rem;
    opacity: 0.8;
}

.mobile-nav-cta {
    padding: 0.75rem 1.5rem 0.5rem;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-mid);
    line-height: 1.8;
}

.legal-content h2 {
    color: var(--navy);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-content p {
    margin-bottom: 1.25rem;
}

.last-updated {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .ecosystem-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    :root {
        --space-2xl: 4rem;
        --space-3xl: 5rem;
    }

    .navbar-nav,
    .navbar-cta {
        display: none !important;
    }

    .navbar-toggler {
        display: flex !important;
    }

    .mobile-nav {
        display: block !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        opacity: 0;
        pointer-events: none;
        box-shadow: var(--shadow-lg);
    }

    .mobile-nav.open {
        max-height: 100vh;
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-nav .container {
        display: flex;
        flex-direction: column;
        padding: 0;
        height: auto !important;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
    }

    .hero-main {
        min-height: 70vh;
        padding: 5rem 0 4rem;
    }

    .hero-main .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .pillar-card-bio,
    .pillar-card-pay {
        padding: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .process-steps {
        flex-direction: column;
        gap: 2rem;
    }

    .process-steps::before {
        display: none;
    }

    .ecosystem-split {
        grid-template-columns: 1fr;
    }

    .ecosystem-pane {
        padding: 2rem;
    }

    .contact-form-wrap {
        padding: 1.75rem;
    }

    .contact-info-card {
        padding: 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero-inner .hero-actions {
        flex-direction: column;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================================
   BLOG — HERO BANNERS
   ============================================================ */
.blog-hero,
.single-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
    padding: var(--space-3xl) 0 var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.blog-hero::before,
.single-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.blog-hero-inner,
.single-hero-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.blog-hero .eyebrow,
.single-hero .eyebrow {
    color: var(--teal);
}

.blog-hero h1,
.single-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.blog-hero .lead,
.single-hero .lead {
    color: rgba(255, 255, 255, 0.65);
}

.single-hero-badge {
    display: inline-block;
    background: rgba(0, 180, 216, 0.15);
    color: var(--teal);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    border: 1px solid rgba(0, 180, 216, 0.25);
    margin-bottom: 1.25rem;
    text-decoration: none;
    transition: var(--transition);
}

.single-hero-badge:hover {
    background: var(--teal);
    color: var(--white);
}

.single-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-top: 1rem;
}

.single-hero-meta i {
    color: var(--teal);
    margin-right: 0.2rem;
}

.meta-sep {
    color: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   BLOG — POST CARDS
   ============================================================ */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

.post-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.post-card-image-link {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.post-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-card-image {
    transform: scale(1.05);
}

.post-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    color: var(--text-light);
    font-size: 2.5rem;
}

.post-card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--teal);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    z-index: 1;
}

.post-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.post-card-meta .meta-sep {
    color: var(--border);
}

.post-card-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.post-card-title a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-card-title a:hover {
    color: var(--teal);
}

.post-card-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-card-more {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--teal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s ease, color 0.2s ease;
}

.post-card-more:hover {
    color: var(--teal-dark);
    gap: 0.55rem;
}

/* ============================================================
   BLOG — SINGLE POST
   ============================================================ */
.single-featured-image {
    margin-bottom: 2.5rem;
}

.rounded-image {
    border-radius: var(--radius-lg);
    width: 100%;
    height: auto;
}

/* Article body prose */
.article-body {
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--text-mid);
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body img {
    border-radius: var(--radius-md);
    margin: 2rem 0;
}

.article-body blockquote {
    border-left: 4px solid var(--teal);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    background: rgba(0, 180, 216, 0.04);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--navy);
}

.article-body blockquote p:last-child {
    margin-bottom: 0;
}

.article-body ul,
.article-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    list-style: disc;
}

.article-body ol li {
    list-style: decimal;
}

.article-body pre {
    background: var(--navy-dark);
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
    font-size: 0.875rem;
    margin: 2rem 0;
}

.article-body code {
    background: rgba(0, 180, 216, 0.08);
    color: var(--teal-dark);
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-sm);
    font-size: 0.9em;
}

.article-body pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.article-body a {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-body a:hover {
    color: var(--teal-dark);
}

/* Tags */
.post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    margin-top: 2.5rem;
    color: var(--text-light);
}

.post-tag {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-mid);
    background: var(--off-white);
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: var(--transition);
}

.post-tag:hover {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

/* Share */
.post-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border);
}

.post-share-label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
}

.post-share-links {
    display: flex;
    gap: 0.75rem;
}

.post-share-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--off-white);
    color: var(--text-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}

.post-share-links a:hover {
    background: var(--teal);
    color: var(--white);
}

/* Author Box */
.author-box {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin: 2rem 0;
}

.author-avatar-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-label {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--teal);
}

.author-name {
    font-size: 1.1rem;
    margin: 0.15rem 0 0.35rem;
}

.author-bio {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Post Navigation */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.post-nav-item a {
    display: block;
    padding: 1.25rem;
    background: var(--off-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: var(--transition);
}

.post-nav-item a:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow-sm);
}

.post-nav-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--teal);
    margin-bottom: 0.35rem;
}

.post-nav-title {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
}

.post-nav-next {
    text-align: right;
}

/* ============================================================
   BLOG — SIDEBAR
   ============================================================ */
.blog-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-widget-title {
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--teal);
    display: inline-block;
}

/* Search */
.sidebar-search {
    position: relative;
}

.sidebar-search .form-input-s50 {
    padding-right: 3rem;
}

.sidebar-search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 3rem;
    background: none;
    border: none;
    color: var(--teal);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.sidebar-search-btn:hover {
    color: var(--teal-dark);
}

/* Categories */
.sidebar-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-cat-list li {
    border-bottom: 1px solid var(--border);
}

.sidebar-cat-list li:last-child {
    border-bottom: none;
}

.sidebar-cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    font-size: 0.9rem;
    color: var(--text-mid);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sidebar-cat-list a:hover {
    color: var(--teal);
}

.cat-count {
    background: var(--off-white);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 100px;
}

/* Recent Posts */
.sidebar-recent-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0;
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.sidebar-recent-item:last-child {
    border-bottom: none;
}

.sidebar-recent-item:hover .sidebar-recent-title {
    color: var(--teal);
}

.sidebar-recent-thumb {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-recent-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    color: var(--text-light);
    font-size: 1.1rem;
}

.sidebar-recent-title {
    display: block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    transition: color 0.2s ease;
}

.sidebar-recent-date {
    display: block;
    font-size: 0.72rem;
    color: var(--text-light);
    margin-top: 0.2rem;
}

/* CTA Card */
.sidebar-cta {
    margin-bottom: 1.5rem;
}

.sidebar-cta-inner {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    color: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
}

.sidebar-cta-inner h4 {
    color: var(--white);
    margin: 0.75rem 0 0.5rem;
}

.sidebar-cta-inner p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

/* ============================================================
   BLOG — PAGINATION
   ============================================================ */
.blog-pagination {
    margin-top: 3rem;
    text-align: center;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-mid);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
}

.blog-pagination .page-numbers:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.blog-pagination .page-numbers.current {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
}

.blog-pagination .prev,
.blog-pagination .next {
    gap: 0.3rem;
}

/* ============================================================
   BLOG — NO POSTS FOUND
   ============================================================ */
.no-posts-found {
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
}

.no-posts-found i {
    font-size: 3.5rem;
    color: var(--border);
    margin-bottom: 1.5rem;
    display: block;
}

.no-posts-found h3 {
    margin-bottom: 0.75rem;
}

.no-posts-found p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ============================================================
   BLOG — RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {

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

    .post-nav {
        grid-template-columns: 1fr;
    }

    .post-nav-next {
        text-align: left;
    }

    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 576px) {

    .posts-grid,
    .posts-grid-3 {
        grid-template-columns: 1fr;
    }

    .blog-hero,
    .single-hero {
        padding: var(--space-2xl) 0 var(--space-xl);
    }

    .single-hero-meta {
        font-size: 0.8rem;
    }

    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .post-share {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
}

/* ============================================================
   BLOG — INLINE SEARCH (No Results)
   ============================================================ */
.inline-search {
    max-width: 480px;
    margin: 0 auto;
}

.inline-search-wrap {
    display: flex;
    gap: 0.75rem;
}

.inline-search-wrap .form-input-s50 {
    flex: 1;
}

@media (max-width: 576px) {
    .inline-search-wrap {
        flex-direction: column;
    }
}