/* ==========================================================================
   ProxDigi Design System - Futuristic Dark Navy & Metallic Gold Theme
   ========================================================================== */

:root {
    --pd-bg: #030A12;
    --pd-bg-2: #06111B;
    --pd-panel: #091620;
    --pd-panel-2: #0D1C28;
    --pd-border: rgba(210, 166, 75, 0.32);
    --pd-border-glow: rgba(241, 198, 107, 0.5);
    --pd-gold: #D2A64B;
    --pd-gold-bright: #F1C66B;
    --pd-text: #F5F7F9;
    --pd-muted: #9AA9B7;
    --pd-success: #22C55E;
    --pd-warning: #F59E0B;
    --pd-danger: #EF4444;
    --pd-info: #3B82F6;
    
    --pd-sidebar-width: 270px;
    --pd-sidebar-collapsed-width: 75px;
    --pd-header-height: 70px;
    --pd-radius: 14px;
}

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

body {
    background-color: var(--pd-bg);
    color: var(--pd-text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
}

a {
    color: var(--pd-gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--pd-gold-bright);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--pd-text);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--pd-muted);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--pd-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--pd-panel-2);
    border: 1px solid var(--pd-border);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--pd-gold);
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--pd-gold) 0%, var(--pd-gold-bright) 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(210, 166, 75, 0.25);
}

.btn-gold:hover {
    box-shadow: 0 6px 20px rgba(241, 198, 107, 0.4);
    transform: translateY(-2px);
    color: #000;
}

.btn-outline-gold {
    background: transparent;
    border-color: var(--pd-gold);
    color: var(--pd-gold);
}

.btn-outline-gold:hover {
    background: rgba(210, 166, 75, 0.12);
    border-color: var(--pd-gold-bright);
    color: var(--pd-gold-bright);
}

.btn-danger {
    background: var(--pd-danger);
    color: #fff;
}
.btn-danger:hover {
    background: #dc2626;
    color: #fff;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.85rem;
}

/* Cards & Panels */
.card {
    background: var(--pd-panel);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius);
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    border-color: rgba(241, 198, 107, 0.45);
    box-shadow: 0 10px 35px rgba(210, 166, 75, 0.12);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 14px;
}

.card-title {
    font-size: 1.2rem;
    color: var(--pd-gold);
    margin: 0;
}

/* KPI Stat Cards */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.kpi-card {
    background: var(--pd-panel-2);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.kpi-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(210, 166, 75, 0.12);
    color: var(--pd-gold-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border: 1px solid var(--pd-border);
}

.kpi-value {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--pd-text);
}

.kpi-label {
    font-size: 0.85rem;
    color: var(--pd-muted);
}

.kpi-trend {
    font-size: 0.75rem;
    color: #22c55e;
    font-weight: 600;
    margin-top: 2px;
}

/* Table Filter Bar & Pagination */
.table-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.table-search-input {
    padding: 8px 14px;
    background: var(--pd-bg-2);
    border: 1px solid var(--pd-border);
    border-radius: 6px;
    color: #fff;
    font-size: 0.88rem;
    min-width: 220px;
}

.table-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    color: var(--pd-muted);
}

/* Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.data-table th {
    background: var(--pd-bg-2);
    color: var(--pd-gold);
    font-weight: 600;
    text-align: left;
    padding: 14px 16px;
    border-bottom: 2px solid var(--pd-border);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--pd-text);
    font-size: 0.92rem;
}

.data-table tbody tr:hover {
    background: rgba(210, 166, 75, 0.04);
}

/* Status Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-new, .badge-pending { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid #3b82f6; }
.badge-active, .badge-approved, .badge-completed, .badge-paid { background: rgba(34, 197, 94, 0.2); color: #4ade80; border: 1px solid #22c55e; }
.badge-warning, .badge-review { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid #f59e0b; }
.badge-danger, .badge-rejected, .badge-cancelled { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid #ef4444; }

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--pd-gold);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--pd-bg-2);
    border: 1px solid var(--pd-border);
    border-radius: 8px;
    color: var(--pd-text);
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--pd-gold-bright);
    box-shadow: 0 0 10px rgba(241, 198, 107, 0.2);
}

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

/* Public Header & Nav */
.public-header {
    background: rgba(3, 10, 18, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--pd-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--pd-header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--pd-gold);
    letter-spacing: 1px;
}

.logo span {
    color: var(--pd-text);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
}

.nav-link {
    color: var(--pd-text);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--pd-gold-bright);
}


/* ProxDigi Official Brand Logo */
.public-header .header-inner {
    min-height: 86px;
    height: auto;
}

.public-brand-link {
    flex: 0 0 auto;
    line-height: 0;
}

.public-brand-logo {
    display: block;
    width: auto;
    height: 74px;
    max-width: 150px;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(210, 166, 75, 0.12));
}

.footer-brand-block {
    max-width: 310px;
}

.footer-brand-logo {
    display: block;
    width: 210px;
    max-width: 100%;
    height: auto;
    margin: -18px 0 10px -8px;
    filter: drop-shadow(0 12px 24px rgba(210, 166, 75, 0.10));
}

/* Dashboard Panel Layout (LTE Collapsible Sidebar) */
.app-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--pd-sidebar-width);
    background: var(--pd-bg-2);
    border-right: 1px solid var(--pd-border);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
}

.sidebar-header {
    height: var(--pd-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid var(--pd-border);
}

.sidebar-toggle-btn {
    background: none;
    border: none;
    color: var(--pd-gold);
    font-size: 1.2rem;
    cursor: pointer;
}

.sidebar-menu {
    list-style: none;
    padding: 15px 0;
    overflow-y: auto;
    flex: 1;
}

.menu-section-label {
    padding: 15px 24px 6px 24px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--pd-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-item {
    margin-bottom: 3px;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 24px;
    color: var(--pd-muted);
    font-weight: 500;
    transition: all 0.2s ease;
}

.menu-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.menu-link:hover, .menu-item.active .menu-link {
    color: var(--pd-gold-bright);
    background: rgba(210, 166, 75, 0.08);
    border-left: 3px solid var(--pd-gold);
}

/* Sidebar Collapsed State */
.app-layout.sidebar-collapsed .sidebar {
    width: var(--pd-sidebar-collapsed-width);
}

.app-layout.sidebar-collapsed .sidebar .logo-text,
.app-layout.sidebar-collapsed .sidebar .menu-text,
.app-layout.sidebar-collapsed .sidebar .menu-section-label {
    display: none;
}

.app-layout.sidebar-collapsed .main-content {
    margin-left: var(--pd-sidebar-collapsed-width);
}

.main-content {
    flex: 1;
    margin-left: var(--pd-sidebar-width);
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.top-bar {
    height: var(--pd-header-height);
    background: var(--pd-panel);
    border-bottom: 1px solid var(--pd-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

.topbar-search {
    position: relative;
    width: 280px;
}
.topbar-search input {
    width: 100%;
    padding: 8px 14px 8px 36px;
    background: var(--pd-bg-2);
    border: 1px solid var(--pd-border);
    border-radius: 20px;
    color: #fff;
    font-size: 0.88rem;
}
.topbar-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pd-muted);
}

.breadcrumbs {
    font-size: 0.85rem;
    color: var(--pd-muted);
}
.breadcrumbs span {
    color: var(--pd-gold-bright);
}

.content-body {
    padding: 30px;
    flex: 1;
}

/* Progress Bar Component */
.progress-bar-container {
    width: 100%;
    height: 12px;
    background: var(--pd-bg-2);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--pd-border);
    margin: 10px 0 20px 0;
}
.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--pd-gold) 0%, var(--pd-gold-bright) 100%);
    transition: width 0.4s ease;
}

/* Video Player Mock Component */
.video-player-container {
    position: relative;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--pd-border);
    background: #000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.video-thumbnail {
    width: 100%;
    height: 340px;
    background: radial-gradient(circle, rgba(210,166,75,0.2) 0%, rgba(6,17,27,1) 80%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--pd-gold);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 0 25px rgba(241,198,107,0.6);
    cursor: pointer;
    transition: transform 0.2s ease;
}
.play-btn:hover {
    transform: scale(1.1);
}

/* Public Hero */
.hero-section {
    padding: 100px 0 80px 0;
    background: radial-gradient(circle at top center, rgba(210, 166, 75, 0.15) 0%, rgba(3, 10, 18, 0) 70%);
    text-align: center;
}

.hero-title {
    font-size: 3.2rem;
    color: var(--pd-text);
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--pd-gold-bright);
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 750px;
    margin: 0 auto 35px auto;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 30px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--pd-border);
}
.timeline-item {
    position: relative;
    margin-bottom: 25px;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--pd-gold);
    box-shadow: 0 0 10px var(--pd-gold);
}

/* Footer */
.public-footer {
    background: var(--pd-bg-2);
    border-top: 1px solid var(--pd-border);
    padding: 60px 0 30px 0;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 25px;
    font-size: 0.85rem;
}

/* Print Mode for PDF export */
@media print {
    .sidebar, .top-bar, .public-header, .public-footer, .btn, .chat-widget-toggle {
        display: none !important;
    }
    .main-content {
        margin: 0 !important;
    }
    body {
        background: #fff !important;
        color: #000 !important;
    }
    .card {
        border: none !important;
        box-shadow: none !important;
        background: #fff !important;
        color: #000 !important;
    }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .app-layout.sidebar-mobile-open .sidebar {
        transform: translateX(0);
        width: 270px;
    }
    .main-content {
        margin-left: 0 !important;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .nav-menu {
        display: none;
    }
    .public-brand-logo {
        height: 66px;
        max-width: 132px;
    }
    .public-header .header-inner {
        min-height: 78px;
    }

    .topbar-search {
        display: none;
    }
}


/* ==========================================================================
   ProxDigi Responsive Brand Logo Fix v1.0.1
   - Keeps the official stacked logo inside the header/footer containers.
   - Uses explicit responsive bounds so stale/default image dimensions cannot
     overlap the hero, navigation, or footer columns.
   ========================================================================== */
.public-header {
    overflow: visible;
}

.public-header .header-inner {
    min-height: 86px;
    height: auto;
    padding-top: 5px;
    padding-bottom: 5px;
    gap: 18px;
}

.public-brand-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    width: 118px;
    max-width: 26vw;
    min-width: 0;
    line-height: 0;
    overflow: hidden;
}

.public-brand-logo {
    display: block;
    width: 118px;
    max-width: 100%;
    height: auto;
    max-height: 78px;
    object-fit: contain;
    object-position: left center;
    flex: 0 0 auto;
}

.footer-grid {
    grid-template-columns: minmax(230px, 1.25fr) repeat(3, minmax(150px, 1fr));
    align-items: start;
}

.footer-grid > div,
.footer-brand-block {
    min-width: 0;
}

.footer-brand-block {
    max-width: 320px;
}

.footer-brand-block > a {
    display: inline-block;
    max-width: 100%;
    line-height: 0;
}

.footer-brand-logo {
    display: block;
    width: 210px;
    max-width: 100%;
    height: auto;
    max-height: 150px;
    margin: 0 0 16px 0;
    object-fit: contain;
    object-position: left top;
}

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 42px;
    }
}

@media (max-width: 992px) {
    .public-header .header-inner {
        min-height: 78px;
        gap: 12px;
    }

    .public-brand-link {
        width: 104px;
        max-width: 28vw;
    }

    .public-brand-logo {
        width: 104px;
        height: auto;
        max-height: 68px;
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .public-header .header-inner {
        min-height: 72px;
        gap: 8px;
    }

    .public-brand-link {
        width: 92px;
        max-width: 30vw;
    }

    .public-brand-logo {
        width: 92px;
        max-height: 61px;
    }

    .public-header .btn {
        padding: 7px 11px;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

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

    .footer-brand-logo {
        width: 190px;
        max-width: 72vw;
        max-height: none;
        margin-bottom: 14px;
    }
}

@media (max-width: 380px) {
    .public-brand-link {
        width: 82px;
        max-width: 28vw;
    }

    .public-brand-logo {
        width: 82px;
        max-height: 54px;
    }

    .public-header .btn {
        padding: 6px 9px;
        font-size: 0.74rem;
    }
}

/* ==========================================================================
   ProxDigi Exact Content Frontend v2.0.0
   Premium responsive public-site system. Admin/client styles above remain intact.
   ========================================================================== */

.public-site {
    background:
        radial-gradient(circle at 15% 0%, rgba(210,166,75,.09), transparent 28rem),
        radial-gradient(circle at 85% 18%, rgba(241,198,107,.05), transparent 24rem),
        var(--pd-bg);
}

.public-site main { min-height: 55vh; }
.public-site .container { max-width: 1240px; }

.public-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(3,10,18,.94);
    border-bottom: 1px solid var(--pd-border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: visible;
}
.public-header .header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding-top: 6px;
    padding-bottom: 6px;
}
.public-brand-link {
    width: 116px;
    min-width: 116px;
    max-width: 116px;
    height: 70px;
    display: flex;
    align-items: center;
    overflow: hidden;
    line-height: 0;
}
.public-brand-logo {
    display: block;
    width: 116px !important;
    max-width: 116px !important;
    height: auto !important;
    max-height: 70px !important;
    object-fit: contain;
    object-position: left center;
}
.public-desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-left: auto;
}
.public-desktop-nav a {
    color: #dce4eb;
    font-size: .88rem;
    font-weight: 700;
    padding: 9px 10px;
    border-radius: 8px;
    white-space: nowrap;
}
.public-desktop-nav a:hover {
    color: var(--pd-gold-bright);
    background: rgba(210,166,75,.08);
}
.public-header-actions { display:flex; align-items:center; gap:10px; flex:0 0 auto; }
.public-mobile-toggle {
    display:none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--pd-border);
    background: var(--pd-panel);
    color: var(--pd-gold-bright);
    font-size: 1rem;
    cursor:pointer;
}
.public-mobile-panel { display:none; border-top:1px solid rgba(255,255,255,.05); background:rgba(3,10,18,.98); }
.public-mobile-panel.is-open { display:block; }
.public-mobile-links { padding-top:10px; padding-bottom:15px; display:grid; gap:4px; }
.public-mobile-links a { padding:11px 12px; border-radius:9px; color:#e9eef2; font-weight:650; }
.public-mobile-links a:hover { background:rgba(210,166,75,.08); color:var(--pd-gold-bright); }

.public-flash-wrap { padding-top:18px; }
.public-flash { display:flex; gap:10px; align-items:center; padding:13px 16px; border-radius:10px; background:var(--pd-panel); border:1px solid var(--pd-border); }
.public-flash.is-success { border-color:rgba(34,197,94,.55); }
.public-flash.is-danger { border-color:rgba(239,68,68,.55); }

.content-hero,
.page-hero {
    position:relative;
    overflow:hidden;
    border-bottom:1px solid rgba(210,166,75,.16);
    background:
        linear-gradient(180deg, rgba(210,166,75,.08), transparent 62%),
        radial-gradient(circle at 50% 0%, rgba(241,198,107,.14), transparent 35rem);
}
.content-hero::after,
.page-hero::after {
    content:'';
    position:absolute;
    inset:auto -10% -90px -10%;
    height:170px;
    background:radial-gradient(ellipse at center, rgba(210,166,75,.08), transparent 68%);
    pointer-events:none;
}
.content-hero-inner,
.page-hero .container {
    position:relative;
    z-index:1;
    text-align:center;
    padding-top:86px;
    padding-bottom:82px;
}
.home-hero .content-hero-inner { padding-top:96px; padding-bottom:92px; }
.eyebrow {
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--pd-gold-bright);
    font-size:.76rem;
    line-height:1;
    font-weight:800;
    letter-spacing:.16em;
    text-transform:uppercase;
    margin-bottom:16px;
}
.eyebrow::before { content:''; width:24px; height:1px; background:var(--pd-gold); }
.content-hero h1,
.page-hero h1 {
    max-width:930px;
    margin:0 auto 22px;
    font-size:clamp(2.25rem, 5vw, 4.65rem);
    letter-spacing:-.035em;
    color:#fff;
}
.content-hero h1 span { color:var(--pd-gold-bright); }
.content-hero p,
.page-hero p {
    max-width:900px;
    margin:0 auto 15px;
    font-size:clamp(1rem, 1.6vw, 1.16rem);
    line-height:1.8;
    color:#aab6c1;
}
.page-hero h1 { font-size:clamp(2.25rem, 4.7vw, 4.1rem); }
.hero-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin-top:30px; }
.hero-actions .btn { min-height:48px; padding:12px 22px; }

.content-section { padding:76px 0; position:relative; }
.alt-section { background:rgba(6,17,27,.72); border-top:1px solid rgba(255,255,255,.035); border-bottom:1px solid rgba(255,255,255,.035); }
.section-heading { text-align:center; max-width:800px; margin:0 auto 38px; }
.section-heading.left-heading { text-align:left; margin-left:0; }
.section-heading h2,
.content-section h2,
.contact-strip h2 { font-size:clamp(1.75rem, 3vw, 2.75rem); color:#fff; letter-spacing:-.02em; }
.section-heading p { font-size:1.03rem; }
.narrow-content { max-width:940px !important; }

.two-column { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:42px; align-items:center; }
.three-column { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.four-column { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.top-align { align-items:start; }

.premium-panel,
.premium-card,
.service-detail-card,
.process-card,
.process-long-card,
.pricing-card,
.policy-block {
    background:linear-gradient(145deg, rgba(13,28,40,.94), rgba(7,18,28,.96));
    border:1px solid rgba(210,166,75,.25);
    border-radius:18px;
    box-shadow:0 18px 55px rgba(0,0,0,.24);
}
.premium-panel { padding:30px; }
.premium-card { padding:26px; height:100%; }
.premium-panel h2, .premium-card h2, .premium-card h3 { color:#fff; }
.premium-panel p:last-child, .premium-card p:last-child { margin-bottom:0; }
.brand-glow-panel { position:relative; overflow:hidden; min-height:280px; display:flex; flex-direction:column; justify-content:center; }
.brand-glow-panel::before { content:''; position:absolute; width:180px; height:180px; right:-50px; top:-50px; border-radius:50%; background:rgba(210,166,75,.12); filter:blur(10px); }
.panel-icon, .card-icon { width:52px; height:52px; display:inline-flex; align-items:center; justify-content:center; border-radius:14px; background:rgba(210,166,75,.1); color:var(--pd-gold-bright); border:1px solid rgba(210,166,75,.28); font-size:1.25rem; margin-bottom:18px; }
.text-link { display:inline-flex; align-items:center; gap:8px; font-weight:750; margin-top:8px; }

.project-post-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.project-post-card { min-height:290px; display:flex; flex-direction:column; }
.project-post-card h2, .project-post-card h3 { font-size:1.15rem; line-height:1.45; }
.project-post-card .text-link { margin-top:auto; }
.post-meta { display:flex; flex-wrap:wrap; gap:8px 14px; margin:10px 0 22px; color:var(--pd-muted); font-size:.8rem; }
.post-meta span:not(:last-child)::after { content:'•'; margin-left:14px; color:var(--pd-gold); }

.feature-grid .premium-card h3 { font-size:1.18rem; }
.service-summary-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.center-action { text-align:center; margin-top:30px; }
.premium-list { list-style:none; padding:0; margin:15px 0 20px; display:grid; gap:9px; }
.premium-list li { position:relative; padding-left:24px; color:#c2ccd5; line-height:1.62; }
.premium-list li::before { content:'✓'; position:absolute; left:0; top:0; color:var(--pd-gold-bright); font-weight:900; }
.highlight-name { display:inline-block; padding:10px 14px; margin:2px 0 16px; border:1px solid rgba(210,166,75,.36); border-radius:10px; color:var(--pd-gold-bright); font-weight:800; background:rgba(210,166,75,.07); }

.process-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.compact-process-grid .process-card:last-child { grid-column:2 / span 1; }
.home-page .home-process-grid .process-image-card:last-child { grid-column:2 / span 1; }
.process-card { padding:24px; }
.process-card > span, .approach-grid .premium-card > span { display:block; color:var(--pd-gold-bright); font-size:.75rem; letter-spacing:.12em; font-weight:850; margin-bottom:12px; }
.process-card h3 { color:#fff; font-size:1.08rem; }

.service-detail-stack { display:grid; gap:20px; }
.service-detail-card { padding:30px; display:grid; grid-template-columns:72px minmax(0,1fr); gap:24px; align-items:start; scroll-margin-top:110px; }
.service-number { width:58px; height:58px; border-radius:16px; background:rgba(210,166,75,.1); border:1px solid rgba(210,166,75,.3); color:var(--pd-gold-bright); display:flex; align-items:center; justify-content:center; font-weight:900; }
.service-detail-card h2 { margin-top:0; }
.approach-grid .premium-card { min-height:135px; }
.approach-list-panel { margin-top:24px; }
.contact-mini-list { display:grid; gap:12px; margin-top:20px; }
.contact-mini-list a, .contact-mini-list span { color:#cbd5dd; display:flex; gap:10px; align-items:flex-start; }
.contact-mini-list i { width:20px; margin-top:4px; color:var(--pd-gold-bright); }

.process-long-list { display:grid; gap:18px; max-width:1040px !important; }
.process-long-card { padding:30px; display:grid; grid-template-columns:68px minmax(0,1fr); gap:24px; }
.process-step-badge { width:56px; height:56px; border-radius:50%; border:1px solid rgba(210,166,75,.38); background:rgba(210,166,75,.08); color:var(--pd-gold-bright); display:flex; align-items:center; justify-content:center; font-size:.8rem; font-weight:900; box-shadow:0 0 0 7px rgba(210,166,75,.025); }
.commitment-section { padding:80px 0; background:linear-gradient(180deg,rgba(210,166,75,.055),rgba(6,17,27,.88)); border-top:1px solid rgba(210,166,75,.18); }
.commitment-tagline { color:var(--pd-gold-bright)!important; font-weight:850; letter-spacing:.06em; }
.five-value-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
.five-value-grid > div { text-align:center; padding:24px 16px; border:1px solid rgba(210,166,75,.2); border-radius:15px; background:rgba(9,22,32,.72); }
.five-value-grid i { color:var(--pd-gold-bright); font-size:1.35rem; margin-bottom:13px; }
.five-value-grid h3 { font-size:.95rem; color:#fff; }
.five-value-grid p { font-size:.86rem; margin:0; }
.commitment-bottom { margin-top:30px; padding:30px; border-radius:18px; border:1px solid rgba(210,166,75,.2); background:rgba(3,10,18,.42); }
.commitment-bottom > h3:first-child { color:var(--pd-gold-bright); font-size:1rem; letter-spacing:.055em; }
.inline-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 28px; }

.pricing-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; align-items:start; }
.pricing-card { padding:28px; }
.pricing-card.featured-pricing { border-color:rgba(241,198,107,.7); box-shadow:0 22px 70px rgba(210,166,75,.12); }
.pricing-kicker { color:var(--pd-gold-bright); font-size:.75rem; font-weight:850; letter-spacing:.12em; text-transform:uppercase; }
.pricing-value { margin:18px 0; padding:14px; border-radius:11px; background:rgba(210,166,75,.075); color:#d9e1e7; border:1px solid rgba(210,166,75,.16); }
.pricing-value strong { color:var(--pd-gold-bright); }
.pricing-card h3 { font-size:.95rem; color:#fff; margin-top:20px; }
.philosophy-panel { margin-top:24px; }
.quote-panel h3 { color:var(--pd-gold-bright); }
.quote-benefits { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:20px; }
.quote-benefits div { padding:14px; border:1px solid rgba(255,255,255,.07); border-radius:10px; }
.quote-benefits strong, .quote-benefits span { display:block; }
.quote-benefits span { color:var(--pd-muted); font-size:.86rem; margin-top:4px; }

.contact-strip { padding:52px 0; background:linear-gradient(90deg,rgba(210,166,75,.08),rgba(6,17,27,.9)); border-top:1px solid rgba(210,166,75,.2); border-bottom:1px solid rgba(210,166,75,.2); }
.contact-strip-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:38px; align-items:center; }
.contact-items { display:grid; gap:10px; }
.contact-items > a, .contact-items > div { display:flex; gap:14px; align-items:center; padding:13px 15px; background:rgba(3,10,18,.45); border:1px solid rgba(210,166,75,.14); border-radius:10px; color:#e6edf2; }
.contact-items i { color:var(--pd-gold-bright); width:20px; text-align:center; }
.contact-items small { display:block; color:var(--pd-muted); font-size:.72rem; margin-bottom:2px; }

.contact-action-row { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:26px; }
.contact-action-row a, .contact-action-row > span { min-width:126px; padding:12px 14px; border:1px solid rgba(210,166,75,.25); border-radius:12px; background:rgba(9,22,32,.72); color:#edf2f6; display:flex; gap:9px; justify-content:center; align-items:center; }
.contact-action-row i { color:var(--pd-gold-bright); }
.contact-layout h2 { font-size:clamp(1.55rem,2.4vw,2.25rem); }
.contact-info-panel { margin-top:28px; }
.contact-info-panel .contact-mini-list a, .contact-info-panel .contact-mini-list > span { padding:10px 0; }
.contact-info-panel strong { display:block; color:#fff; font-size:.82rem; }
.two-field-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.contact-message { min-height:150px; }
.char-counter { margin-top:6px; text-align:right; color:var(--pd-muted); font-size:.78rem; }
.btn-wide { width:100%; min-height:48px; }

.policy-hero .container { padding-bottom:72px; }
.policy-stage-row { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:22px; }
.policy-stage-row span { padding:7px 11px; border-radius:999px; border:1px solid rgba(210,166,75,.25); color:#d7dfe6; font-size:.78rem; background:rgba(9,22,32,.62); }
.policy-content { max-width:1020px !important; display:grid; gap:18px; }
.policy-intro { margin-bottom:4px; }
.policy-block { padding:26px; display:grid; grid-template-columns:54px minmax(0,1fr); gap:20px; }
.policy-block > span { color:var(--pd-gold-bright); font-weight:900; font-size:.8rem; letter-spacing:.08em; padding-top:5px; }
.policy-block h2 { font-size:1.35rem; margin-bottom:10px; }
.official-authority { margin-top:18px; padding:14px 16px; border-left:3px solid var(--pd-gold); background:rgba(210,166,75,.065); color:#c9d3db; }
.official-authority strong { display:block; color:#fff; margin-top:5px; }
.promise-values { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin-top:18px; }
.promise-values div { padding:12px; border:1px solid rgba(210,166,75,.18); border-radius:10px; color:#e5ebf0; }

/* Compact ProxDigi theme footer — intentionally uses the site's existing theme variables. */
.public-footer {
    margin-top:0;
    padding:28px 0 14px;
    background:var(--pd-bg-2);
    border-top:1px solid var(--pd-border);
    box-shadow:0 -10px 28px rgba(0,0,0,.12);
}
.public-footer .footer-grid {
    display:grid;
    grid-template-columns:minmax(170px,1.05fr) minmax(120px,.72fr) minmax(155px,.9fr) minmax(220px,1.25fr);
    gap:22px;
    align-items:start;
    margin-bottom:16px;
}
.footer-brand-block { max-width:205px; }
.footer-logo-link { display:block; width:150px; max-width:100%; overflow:hidden; line-height:0; }
.footer-brand-logo {
    display:block;
    width:150px !important;
    max-width:100% !important;
    height:auto !important;
    max-height:94px !important;
    object-fit:contain;
    object-position:left center;
    margin:0 0 7px;
    filter:drop-shadow(0 7px 16px rgba(210,166,75,.10));
}
.footer-tagline { margin:0; max-width:205px; color:var(--pd-muted); font-size:.76rem; line-height:1.45; }
.footer-column { display:grid; align-content:start; gap:5px; min-width:0; }
.footer-column h4 {
    color:var(--pd-text);
    margin:0 0 6px;
    font-size:.9rem;
    font-weight:750;
    letter-spacing:.01em;
}
.footer-column a, .footer-column span {
    color:var(--pd-muted);
    font-size:.78rem;
    line-height:1.42;
    overflow-wrap:anywhere;
    transition:color .2s ease;
}
.footer-column a:hover { color:var(--pd-gold-bright); }
.footer-contact-column i { width:15px; color:var(--pd-gold); margin-right:4px; text-align:center; }
.footer-bottom {
    text-align:center;
    border-top:1px solid rgba(255,255,255,.05);
    padding-top:11px;
    font-size:.75rem;
}
.footer-bottom p { margin:0; }

.whatsapp-float { position:fixed; z-index:999; right:22px; bottom:22px; display:flex; align-items:center; gap:8px; padding:12px 16px; border-radius:999px; background:#25D366; color:#041109; font-weight:850; box-shadow:0 12px 30px rgba(0,0,0,.38); }
.whatsapp-float:hover { color:#041109; transform:translateY(-2px); }

@media (max-width: 1080px) {
    .public-desktop-nav { gap:2px; }
    .public-desktop-nav a { padding:8px 7px; font-size:.82rem; }
    .five-value-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .pricing-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .public-footer .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 28px; }
}

@media (max-width: 900px) {
    .public-header .header-inner { min-height:74px; }
    .public-brand-link { width:102px; min-width:102px; max-width:102px; height:62px; }
    .public-brand-logo { width:102px !important; max-width:102px !important; max-height:62px !important; }
    .public-desktop-nav { display:none; }
    .public-mobile-toggle { display:inline-flex; align-items:center; justify-content:center; }
    .two-column, .contact-strip-grid { grid-template-columns:1fr; }
    .three-column, .project-post-grid, .service-summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .four-column { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .process-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .compact-process-grid .process-card:last-child { grid-column:auto; }
    .home-page .home-process-grid .process-image-card:last-child { grid-column:auto; }
    .content-section { padding:62px 0; }
}

@media (max-width: 640px) {
    .container { padding-left:16px; padding-right:16px; }
    .public-header .header-inner { min-height:68px; gap:8px; }
    .public-brand-link { width:90px; min-width:90px; max-width:90px; height:56px; }
    .public-brand-logo { width:90px !important; max-width:90px !important; max-height:56px !important; }
    .public-header-actions .btn { padding:7px 10px; min-height:38px; }
    .public-header-actions .btn span { display:none; }
    .public-mobile-toggle { width:38px; height:38px; }
    .content-hero-inner, .page-hero .container { padding-top:62px; padding-bottom:58px; }
    .home-hero .content-hero-inner { padding-top:68px; padding-bottom:64px; }
    .content-hero h1, .page-hero h1 { font-size:clamp(2rem,10.5vw,3rem); }
    .content-hero p, .page-hero p { font-size:.96rem; line-height:1.72; }
    .hero-actions { flex-direction:column; align-items:stretch; }
    .hero-actions .btn { width:100%; }
    .three-column, .project-post-grid, .service-summary-grid, .four-column, .process-grid, .pricing-grid, .five-value-grid { grid-template-columns:1fr; }
    .service-detail-card, .process-long-card, .policy-block { grid-template-columns:1fr; padding:22px; gap:14px; }
    .service-number, .process-step-badge { width:48px; height:48px; }
    .premium-panel, .premium-card, .pricing-card { padding:22px; }
    .inline-list, .two-field-grid, .quote-benefits, .promise-values { grid-template-columns:1fr; }
    .public-footer { padding:24px 0 13px; }
    .public-footer .footer-grid { grid-template-columns:1fr; gap:18px; margin-bottom:14px; }
    .footer-brand-block { max-width:100%; }
    .footer-logo-link { width:135px; }
    .footer-brand-logo { width:135px !important; max-height:85px !important; }
    .footer-tagline { max-width:280px; }
    .footer-column { gap:4px; }
    .whatsapp-float { right:14px; bottom:14px; width:48px; height:48px; padding:0; justify-content:center; }
    .whatsapp-float span { display:none; }
    .post-meta span:not(:last-child)::after { display:none; }
    .contact-action-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
    .contact-action-row a, .contact-action-row > span { min-width:0; }
}

@media (max-width: 380px) {
    .public-brand-link { width:82px; min-width:82px; max-width:82px; height:52px; }
    .public-brand-logo { width:82px !important; max-width:82px !important; max-height:52px !important; }
    .content-section { padding:52px 0; }
    .contact-action-row { grid-template-columns:1fr; }
}


/* =========================================================
   PROXDIGI TEAM — dynamic Home + Our Team + Admin CRUD
   ========================================================= */
.team-preview-section,
.team-page-section { position:relative; overflow:hidden; }
.team-preview-section::before,
.team-page-section::before {
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(210,166,75,.09),transparent 70%);
    right:-180px;
    top:-180px;
    pointer-events:none;
}
.team-section-heading { max-width:760px; margin-left:auto; margin-right:auto; }
.team-section-heading p { max-width:650px; margin:10px auto 0; }
.team-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; position:relative; z-index:1; }
.team-grid-home { margin-top:28px; }
.team-grid-page { margin-top:30px; }
.team-member-card {
    min-width:0;
    overflow:hidden;
    border:1px solid rgba(210,166,75,.2);
    border-radius:18px;
    background:linear-gradient(180deg,rgba(12,27,38,.96),rgba(5,14,22,.98));
    box-shadow:0 18px 48px rgba(0,0,0,.24);
    transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.team-member-card:hover { transform:translateY(-5px); border-color:rgba(241,198,107,.55); box-shadow:0 24px 58px rgba(0,0,0,.34); }
.team-member-photo-wrap { aspect-ratio:4/5; background:#07131d; overflow:hidden; position:relative; }
.team-member-photo-wrap::after { content:""; position:absolute; inset:auto 0 0; height:36%; background:linear-gradient(transparent,rgba(3,10,18,.62)); pointer-events:none; }
.team-member-photo { width:100%; height:100%; display:block; object-fit:cover; object-position:center top; transition:transform .35s ease; }
.team-member-card:hover .team-member-photo { transform:scale(1.025); }
.team-member-photo-placeholder { width:100%; height:100%; display:grid; place-items:center; font-size:4rem; color:rgba(210,166,75,.42); background:linear-gradient(135deg,#081823,#0d2230); }
.team-member-body { padding:20px 20px 22px; text-align:center; }
.team-role-chip { display:inline-flex; align-items:center; justify-content:center; min-height:26px; padding:5px 10px; border-radius:999px; border:1px solid rgba(210,166,75,.24); background:rgba(210,166,75,.07); color:var(--pd-gold-bright); font-size:.68rem; font-weight:800; letter-spacing:.07em; text-transform:uppercase; }
.team-member-body h3 { margin:12px 0 7px; color:var(--pd-gold-bright); font-size:1.28rem; line-height:1.25; }
.team-member-designation { margin:0; color:#eef3f6; font-size:.9rem; line-height:1.55; }
.team-member-bio { margin:7px 0 0; color:var(--pd-muted); font-size:.8rem; line-height:1.5; }
.team-page-hero .container { padding-bottom:62px; }
.team-hero-facts { display:flex; flex-wrap:wrap; gap:10px; margin-top:23px; }
.team-hero-facts span { display:inline-flex; align-items:center; gap:8px; padding:9px 12px; border-radius:999px; border:1px solid rgba(210,166,75,.22); background:rgba(5,14,22,.55); color:#dce4ea; font-size:.78rem; }
.team-hero-facts i { color:var(--pd-gold-bright); }
.team-empty-state { max-width:650px; margin:28px auto 0; text-align:center; }
.team-empty-state > i { font-size:2.5rem; color:var(--pd-gold-bright); margin-bottom:14px; }

/* Team admin */
.team-admin-card .card-header { align-items:flex-start; gap:18px; }
.team-admin-subtitle { margin:6px 0 0; color:var(--pd-muted); font-size:.82rem; max-width:680px; }
.team-admin-thumb { width:54px; height:66px; object-fit:cover; object-position:center top; border-radius:9px; border:1px solid rgba(210,166,75,.28); display:block; }
.team-admin-thumb-empty { display:grid; place-items:center; color:var(--pd-gold); background:rgba(210,166,75,.06); }
.team-admin-actions { white-space:nowrap; }
.team-form-card { max-width:820px; margin:0 auto; }
.team-form-heading { display:flex; align-items:center; gap:14px; margin-bottom:22px; }
.team-form-heading h2 { margin:0; color:var(--pd-gold-bright); }
.team-form-heading p { margin:4px 0 0; color:var(--pd-muted); font-size:.84rem; }
.team-form-icon { width:46px; height:46px; border-radius:13px; display:grid; place-items:center; color:#08121a; background:linear-gradient(135deg,var(--pd-gold-bright),var(--pd-gold)); box-shadow:0 10px 24px rgba(210,166,75,.17); }
.team-admin-form { border-top:1px solid var(--pd-border); padding-top:22px; }
.team-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.team-admin-form small { color:var(--pd-muted); font-weight:400; }
.team-photo-preview-wrap { margin-top:10px; }
.team-photo-preview { width:120px; height:150px; object-fit:cover; object-position:center top; border-radius:12px; border:1px solid rgba(210,166,75,.28); background:#08131d; }
.team-active-toggle { margin-top:22px; display:flex; align-items:center; gap:9px; color:#fff; cursor:pointer; }
.team-active-toggle input { width:auto; }
.team-form-actions { display:flex; justify-content:flex-end; gap:12px; margin-top:22px; }
.team-delete-card { max-width:560px; margin:0 auto; text-align:center; }
.team-delete-icon { font-size:2.6rem; color:var(--pd-danger); margin-bottom:12px; }
.team-delete-photo { width:116px; height:145px; object-fit:cover; object-position:center top; border-radius:14px; border:1px solid rgba(210,166,75,.3); margin:0 auto 14px; display:block; }
.team-delete-card h2 { color:#fff; margin-bottom:8px; }
.team-delete-actions { justify-content:center; }

@media (max-width: 1080px) {
    .team-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
    .team-form-grid { grid-template-columns:1fr; gap:0; }
    .team-admin-card .card-header { flex-direction:column; }
    .team-form-actions { flex-direction:column-reverse; }
    .team-form-actions .btn { width:100%; justify-content:center; }
}
@media (max-width: 640px) {
    .team-grid { grid-template-columns:1fr; gap:18px; }
    .team-member-card { max-width:430px; width:100%; margin:0 auto; }
    .team-member-body { padding:18px; }
    .team-hero-facts { display:grid; grid-template-columns:1fr; }
    .team-hero-facts span { border-radius:11px; }
}

/* =========================================================
   PROXDIGI v1.2.0 — Journey + Trust layout + full Team photos
   Scope: visual fixes only; no content/database/controller changes.
   ========================================================= */

/* Journey section: compact premium split layout */
.journey-section {
    position: relative;
    overflow: hidden;
    padding-top: 64px;
    padding-bottom: 64px;
}
.journey-section .journey-card {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 34px;
    padding: 30px;
    border: 1px solid rgba(210,166,75,.20);
    border-radius: 20px;
    background:
        radial-gradient(circle at 92% 15%, rgba(210,166,75,.09), transparent 34%),
        linear-gradient(145deg, rgba(11,25,35,.98), rgba(4,13,21,.98));
    box-shadow: 0 22px 58px rgba(0,0,0,.28);
}
.journey-section .journey-copy { min-width: 0; }
.journey-section .journey-copy h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.12;
    letter-spacing: -.025em;
}
.journey-section .journey-copy h2::before {
    content: "";
    display: block;
    width: 46px;
    height: 2px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--pd-gold-bright), transparent);
}
.journey-section .journey-copy p {
    margin: 0;
    color: var(--pd-muted);
    font-size: .98rem;
    line-height: 1.8;
}
.journey-section .journey-video-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(210,166,75,.24);
    background: #02080d;
    box-shadow: 0 16px 38px rgba(0,0,0,.30);
}
.journey-section .journey-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    background: #02080d;
}

/* Trust showcase: same compact split rhythm; portrait source behaves like a landscape visual */
.trust-showcase-section { position: relative; overflow: hidden; }
.trust-showcase-section .trust-showcase {
    display: grid;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    align-items: center;
    gap: 34px;
    padding: 30px;
    border: 1px solid rgba(210,166,75,.20);
    border-radius: 20px;
    background:
        radial-gradient(circle at 10% 10%, rgba(210,166,75,.08), transparent 36%),
        linear-gradient(145deg, rgba(9,23,33,.98), rgba(4,13,21,.98));
    box-shadow: 0 22px 58px rgba(0,0,0,.26);
}
.trust-showcase-section .trust-showcase-copy { min-width: 0; }
.trust-showcase-section .trust-showcase-copy h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 3.4vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -.03em;
}
.trust-showcase-section .trust-showcase-copy h2::before {
    content: "";
    display: block;
    width: 46px;
    height: 2px;
    margin-bottom: 16px;
    background: linear-gradient(90deg, var(--pd-gold-bright), transparent);
}
.trust-showcase-section .trust-showcase-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(210,166,75,.24);
    background: #02080d;
    box-shadow: 0 16px 38px rgba(0,0,0,.30);
}
.trust-showcase-section .trust-showcase-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    background: #02080d;
    pointer-events: none;
    user-select: none;
}
.trust-showcase-section .trust-why-heading { margin-top: 54px; }

/* Team: 3 per row on normal desktop/landscape widths + show the ENTIRE uploaded photo */
.team-grid,
.team-grid-home,
.team-grid-page {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.team-member-photo-wrap {
    aspect-ratio: auto;
    height: clamp(250px, 30vw, 340px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8px;
    background:
        radial-gradient(circle at 50% 35%, rgba(210,166,75,.07), transparent 55%),
        #07131d;
}
.team-member-photo-wrap::after { display: none; }
.team-member-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center center;
    transform: none !important;
    transition: none;
    border-radius: 11px;
}
.team-member-card:hover .team-member-photo { transform: none !important; }
.team-member-body { padding: 18px 17px 20px; }
.team-member-body h3 { font-size: 1.16rem; margin-top: 10px; }
.team-member-designation { font-size: .84rem; }
.team-member-bio { font-size: .77rem; }

/* Override previous 1080px rule that forced Team to 2 columns. */
@media (max-width: 1080px) and (min-width: 721px) {
    .team-grid,
    .team-grid-home,
    .team-grid-page { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .team-member-photo-wrap { height: clamp(235px, 30vw, 300px); }
    .team-member-body { padding: 16px 13px 18px; }
    .team-member-body h3 { font-size: 1.02rem; }
    .team-member-designation { font-size: .76rem; }
    .team-member-bio { font-size: .72rem; }
}

@media (max-width: 900px) {
    .journey-section .journey-card,
    .trust-showcase-section .trust-showcase {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
    .journey-section .journey-video-wrap,
    .trust-showcase-section .trust-showcase-media {
        max-width: 760px;
        margin: 0 auto;
    }
    .trust-showcase-section .trust-showcase-copy h2,
    .journey-section .journey-copy h2 { max-width: 720px; }
}

@media (max-width: 720px) {
    .team-grid,
    .team-grid-home,
    .team-grid-page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .team-member-photo-wrap { height: clamp(230px, 56vw, 315px); }
}

@media (max-width: 540px) {
    .journey-section { padding-top: 48px; padding-bottom: 48px; }
    .journey-section .journey-card,
    .trust-showcase-section .trust-showcase {
        padding: 18px;
        border-radius: 16px;
        gap: 19px;
    }
    .journey-section .journey-video-wrap,
    .trust-showcase-section .trust-showcase-media { border-radius: 12px; }
    .trust-showcase-section .trust-why-heading { margin-top: 38px; }
    .team-grid,
    .team-grid-home,
    .team-grid-page { grid-template-columns: 1fr; }
    .team-member-card { max-width: 420px; margin-inline: auto; }
    .team-member-photo-wrap { height: min(420px, 112vw); }
}

/* =========================================================
   PROXDIGI HOME — clean premium image layout correction
   Scope: Home page only.
   Rules:
   - one image per applicable content block
   - video sections remain untouched / video-only
   - images are never cropped, zoomed, or used behind text
   - card media ratios and card heights stay visually aligned
   ========================================================= */

/* Shared home image presentation: full image, no crop, no zoom. */
.home-page .home-visual,
.home-page .home-card-media {
    margin: 0;
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #02080d;
    border: 1px solid rgba(210,166,75,.24);
    border-radius: 16px;
    box-shadow: 0 16px 38px rgba(0,0,0,.24);
}
.home-page .home-visual img,
.home-page .home-card-media img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    transition: none !important;
    background: #02080d;
}
.home-page .home-visual:hover img,
.home-page .home-card-media:hover img,
.home-page .home-image-card:hover img,
.home-page .home-info-card:hover img {
    transform: none !important;
}

/* Hero follows the previous premium visual logic: copy left, image right. */
.home-page .home-hero .home-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: clamp(28px, 4vw, 54px);
    align-items: center;
    text-align: left;
    padding-top: 68px;
    padding-bottom: 70px;
}
.home-page .home-hero-copy { min-width: 0; }
.home-page .home-hero h1 {
    max-width: 680px;
    margin: 0 0 20px;
    font-size: clamp(2.1rem, 4vw, 3.7rem);
    line-height: 1.06;
}
.home-page .home-hero p {
    max-width: 690px;
    margin: 0 0 14px;
    font-size: clamp(.94rem, 1.2vw, 1.06rem);
    line-height: 1.72;
}
.home-page .home-hero .hero-actions {
    justify-content: flex-start;
    margin-top: 26px;
}
.home-page .home-hero-visual {
    align-self: center;
    border-radius: 18px;
}

/* About: one image + one content column, balanced like a premium agency layout. */
.home-page .home-about-layout {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: center;
}
.home-page .home-about-content { min-width: 0; }
.home-page .home-about-content > h2 { margin-top: 0; }
.home-page .home-about-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin-top: 24px;
    padding: 19px 20px;
    border: 1px solid rgba(210,166,75,.18);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(13,28,40,.82), rgba(7,18,28,.88));
}
.home-page .home-about-note .panel-icon {
    width: 46px;
    height: 46px;
    margin: 0;
    border-radius: 12px;
}
.home-page .home-about-note h3 {
    margin: 1px 0 7px;
    color: #fff;
    font-size: 1rem;
}
.home-page .home-about-note p {
    margin: 0 0 7px;
    font-size: .9rem;
    line-height: 1.62;
}

/* Equal image cards: one 16:9 picture only, then text below it. */
.home-page .home-equal-grid { align-items: stretch; }
.home-page .home-image-card,
.home-page .home-info-card {
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}
.home-page .home-card-media {
    flex: 0 0 auto;
    aspect-ratio: 1672 / 941;
    border: 0;
    border-bottom: 1px solid rgba(210,166,75,.22);
    border-radius: 0;
    box-shadow: none;
}
.home-page .home-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
}
.home-page .home-card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px;
}
.home-page .home-card-body .card-icon {
    flex: 0 0 auto;
    margin-bottom: 14px;
}
.home-page .home-card-body h2,
.home-page .home-card-body h3 { margin-top: 0; }
.home-page .project-post-card .home-card-body .text-link { margin-top: auto; }
.home-page .feature-grid .home-image-card,
.home-page .service-summary-grid .home-image-card,
.home-page .project-post-grid .home-image-card { height: 100%; }

/* Service and Why Choose rows stay visually even. */
.home-page .feature-grid,
.home-page .service-summary-grid,
.home-page .project-post-grid {
    grid-auto-rows: 1fr;
}
.home-page .service-summary-grid .home-card-body p,
.home-page .feature-grid .home-card-body p { margin-bottom: 0; }

/* Process: seven separate premium visual cards, one image per step. */
.home-page .home-process-grid {
    align-items: stretch;
    grid-auto-rows: 1fr;
}
.home-page .process-image-card {
    height: 100%;
}
.home-page .process-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 50%;
    border: 1px solid rgba(210,166,75,.34);
    background: rgba(210,166,75,.10);
    color: var(--pd-gold-bright);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .12em;
    box-shadow: 0 0 0 7px rgba(210,166,75,.03);
}
.home-page .process-image-card h3 {
    margin-top: 0;
}
.home-page .process-image-card p {
    margin-bottom: 0;
}
.home-page .home-process-grid .process-image-card:last-child {
    grid-column: 2 / span 1;
}

/* Standards / Safety and Guidelines / Mission: one picture each, same card geometry. */
.home-page .home-policy-grid,
.home-page .home-guidelines-mission-grid {
    align-items: stretch !important;
}
.home-page .home-info-card .home-card-body {
    padding: 26px;
}
.home-page .home-info-card .eyebrow { margin-bottom: 14px; }
.home-page .home-info-card .text-link { margin-top: auto; }

/* Contact: one support visual only, no duplicated images. */
.home-page .home-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: center;
}
.home-page .home-contact-copy { min-width: 0; }
.home-page .home-contact-copy h2 { margin-top: 0; }
.home-page .home-contact-copy > p { max-width: 600px; }
.home-page .home-contact-copy .contact-items { margin-top: 22px; }
.home-page .home-contact-visual { border-radius: 16px; }

/* Keep spacing compact and premium, not oversized. */
.home-page .section-heading { margin-bottom: 32px; }
.home-page .center-action { margin-top: 26px; }

@media (max-width: 900px) {
    /* Keep hero side-by-side longer than the old 1080px rule. */
    .home-page .home-hero .home-hero-layout {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
        gap: 25px;
        padding-top: 56px;
        padding-bottom: 58px;
    }
    .home-page .home-hero h1 { font-size: clamp(1.85rem, 5vw, 2.7rem); }
    .home-page .home-hero p { font-size: .9rem; line-height: 1.64; }
    .home-page .home-hero .hero-actions { gap: 10px; margin-top: 20px; }
    .home-page .home-hero .hero-actions .btn { padding: 10px 15px; min-height: 44px; }

    .home-page .home-about-layout,
    .home-page .home-contact-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 26px;
    }
}

@media (max-width: 760px) {
    .home-page .home-hero .home-hero-layout,
    .home-page .home-about-layout,
    .home-page .home-contact-layout {
        grid-template-columns: 1fr;
    }
    .home-page .home-hero .home-hero-layout {
        text-align: center;
        gap: 26px;
        padding-top: 52px;
        padding-bottom: 54px;
    }
    .home-page .home-hero h1,
    .home-page .home-hero p { margin-left: auto; margin-right: auto; }
    .home-page .home-hero .hero-actions { justify-content: center; }
    .home-page .home-hero-visual,
    .home-page .home-about-visual,
    .home-page .home-contact-visual {
        max-width: 680px;
        margin-left: auto;
        margin-right: auto;
    }
    .home-page .home-about-layout { align-items: start; }
    .home-page .home-about-note { grid-template-columns: 1fr; }
    .home-page .home-about-note .panel-icon { margin-bottom: 1px; }
}

@media (max-width: 640px) {
    .home-page .home-card-body,
    .home-page .home-info-card .home-card-body { padding: 20px; }
    .home-page .home-visual { border-radius: 13px; }
    .home-page .home-section-visual { margin-bottom: 24px; }
    .home-page .section-heading { margin-bottom: 26px; }
}
