/* ============================================================
   LikyCoder Portfolio - Public Site CSS
   Theme: Dark Navy (#0a0e1a) & Gold (#d4af37)
   ============================================================ */

/* CSS Variables */
:root {
    color-scheme: dark;
    --navy: #0a0e1a;
    --navy-light: #111827;
    --navy-mid: #1a2235;
    --navy-card: #111827;
    --gold: #d4af37;
    --gold-light: #e8c84a;
    --gold-dark: #b8962e;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --border: rgba(212, 175, 55, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --transition: all 0.2s ease;
    --shadow: none !important;
    --shadow-gold: none !important;
    --radius: 8px;
    --radius-sm: 6px;
    --radius-lg: 12px;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono: 'Fira Code', 'Courier New', monospace;
}

/* Light Theme Variables — Clean Crisp Porcelain & High-Contrast Slate */
[data-theme="light"] {
    color-scheme: light;
    --navy: #ffffff;
    --navy-light: #ffffff;
    --navy-mid: #f8fafc;
    --navy-card: #ffffff;
    --gold: #b8860b;
    --gold-light: #d4af37;
    --gold-dark: #8c6508;
    --text: #0f172a;
    --text-muted: #334155;
    --text-dim: #64748b;
    --border: #cbd5e1;
    --border-subtle: #e2e8f0;
    --shadow: none !important;
    --shadow-gold: none !important;
}


/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Remove default browser scrollbars while preserving smooth scrolling */
html {
    scroll-behavior: smooth;
    font-size: 15.5px;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

body {
    font-family: var(--font);
    background: var(--navy);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

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

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

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: var(--font);
}

input,
textarea,
select {
    font-family: var(--font);
}

/* Force dark theme on ALL native select dropdowns */
select,
option,
optgroup {
    background-color: #1a2235;
    color: #f1f5f9;
}

/* ============================================================
   TYPOGRAPHY — Proportional & Standard Scale
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(1.75rem, 2.6vw, 2.35rem);
}

h2 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}

h3 {
    font-size: clamp(1.1rem, 1.4vw, 1.3rem);
}

h4 {
    font-size: 1.05rem;
}

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

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

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

.highlight {
    color: var(--gold);
    position: relative;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.section {
    padding: clamp(4rem, 6vw, 5.5rem) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 2.75rem;
}

.section-header .subtitle {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 0.95rem;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

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

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* ============================================================
   NAVIGATION & TOP RIBBON
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.site-header .navbar {
    position: relative;
    top: auto;
}

/* --- Ultra-Slim Top Info & Live Stock Ribbon --- */
.header-top-ribbon {
    height: 28px;
    min-height: 28px;
    max-height: 28px;
    line-height: 28px;
    background: rgba(8, 12, 22, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.68rem;
    color: var(--text-muted);
    user-select: none;
    overflow: hidden;
    position: relative;
    z-index: 1002;
}

.ribbon-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

/* Left Contact & Socials */
.ribbon-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.ribbon-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.ribbon-item:hover {
    color: var(--gold);
}

.ribbon-item i {
    font-size: 0.65rem;
    color: var(--gold);
    opacity: 0.85;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.ribbon-item:hover i {
    transform: scale(1.18);
    opacity: 1;
}

.ribbon-sep {
    width: 1px;
    height: 11px;
    background: rgba(255, 255, 255, 0.12);
    display: inline-block;
}

.ribbon-socials {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ribbon-social-icon {
    color: var(--text-muted);
    font-size: 0.68rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.ribbon-social-icon:hover {
    color: #0a0e1a;
    background: var(--gold);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.4);
}

/* Center Looped Live Stock Ticker */
.ribbon-center {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    gap: 0.65rem;
    position: relative;
}

.ribbon-market-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    padding: 1px 6px;
    height: 18px;
    border-radius: 3px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #10b981;
    text-transform: uppercase;
}

.live-beacon {
    position: relative;
    width: 6px;
    height: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.beacon-dot {
    width: 4px;
    height: 4px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 5px #10b981;
}

.beacon-ping {
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    background: #10b981;
    opacity: 0.75;
    animation: beaconRadarPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes beaconRadarPulse {
    0% { transform: scale(1); opacity: 0.85; }
    70% { transform: scale(2.8); opacity: 0; }
    100% { transform: scale(2.8); opacity: 0; }
}

.ribbon-ticker-viewport {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20px, #000 calc(100% - 20px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 20px, #000 calc(100% - 20px), transparent 100%);
}

.ribbon-ticker-track {
    display: flex;
    width: max-content;
    animation: ribbonTickerScroll 45s linear infinite;
    will-change: transform;
}

.ribbon-ticker-viewport:hover .ribbon-ticker-track {
    animation-play-state: paused;
}

@keyframes ribbonTickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-batch {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 1px 11px;
    white-space: nowrap;
    font-size: 0.67rem;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.18s ease, transform 0.18s ease;
}

.ticker-item:hover {
    background: rgba(212, 175, 55, 0.1);
}

.ticker-sym {
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.02em;
}

.ticker-price {
    font-weight: 500;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.ticker-chg {
    font-weight: 600;
    font-size: 0.62rem;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-variant-numeric: tabular-nums;
}

.ticker-chg.up {
    color: #10b981;
}

.ticker-chg.down {
    color: #f43f5e;
}

.ticker-chg i {
    font-size: 0.58rem;
}

@keyframes tickFlashGreen {
    0% { background: rgba(16, 185, 129, 0.35); }
    100% { background: transparent; }
}

@keyframes tickFlashRed {
    0% { background: rgba(244, 63, 94, 0.35); }
    100% { background: transparent; }
}

.tick-flash-up {
    animation: tickFlashGreen 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.tick-flash-down {
    animation: tickFlashRed 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}


/* Right Hours */
.ribbon-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--text-muted);
}

.ribbon-hours {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 500;
    white-space: nowrap;
}

.ribbon-hours i {
    color: var(--gold);
    font-size: 0.65rem;
    opacity: 0.85;
}

/* Responsive Ribbon Breakpoints */
@media (max-width: 1180px) {
    .ribbon-email {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .ribbon-hours {
        display: none !important;
    }
    .ribbon-inner {
        padding: 0 1rem;
        gap: 0.85rem;
    }
}

@media (max-width: 640px) {
    .ribbon-phone span {
        display: none;
    }
    .ribbon-sep {
        display: none;
    }
    .ribbon-socials {
        display: none;
    }
    .header-top-ribbon {
        height: 26px;
        min-height: 26px;
        max-height: 26px;
        line-height: 26px;
    }
    .ribbon-inner {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
}

.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.15rem 0;
    transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    background: var(--navy);
    border-bottom: 1px solid var(--border-subtle);
}

.navbar.scrolled {
    background: var(--navy);
    padding: 0.85rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.navbar::after {
    display: none;
}

/* Glassmorphic Halo Beyond */
.header-glass-halo {
    display: none;
}

.portal-nav .header-glass-halo {
    left: 50%;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.portal-nav .nav-inner {
    max-width: none;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text) !important;
    letter-spacing: -0.02em;
}

.nav-logo span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ── Profile Dropdown & User Menu (Global) ── */
.user-nav-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.user-nav-btn:hover {
    background: rgba(212, 175, 55, 0.1) !important;
    border-color: rgba(212, 175, 55, 0.5) !important;
    transform: translateY(-1px);
}

.profile-dropdown {
    animation: dropdownSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: top right;
}

@keyframes dropdownSlide {
    from { opacity: 0; transform: translateY(10px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-muted) !important;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
}

.dropdown-link:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold) !important;
    padding-left: 25px;
}

.dropdown-link i {
    width: 16px;
    text-align: center;
    color: var(--gold);
    font-size: 0.95rem;
}

.dropdown-link.logout {
    color: #ff4757 !important;
    border-bottom: none;
}

.dropdown-link.logout:hover {
    background: rgba(255, 71, 87, 0.05);
    color: #ff6b81 !important;
}

.dropdown-link.logout i {
    color: inherit;
}

/* ── Mobile Bottom Navigation (Elite) ── */
@media (max-width: 992px) {
    .mobile-bottom-nav {
        position: fixed;
        bottom: 1.25rem;
        left: 50%;
        transform: translateX(-50%);
        width: 92%;
        max-width: 450px;
        height: 64px;
        background: rgba(10, 14, 26, 0.85);
        backdrop-filter: blur(25px) saturate(180%);
        -webkit-backdrop-filter: blur(25px) saturate(180%);
        border: 1px solid rgba(212, 175, 55, 0.3);
        border-radius: 24px;
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 0 10px;
        z-index: 1000;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 175, 55, 0.1);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: transform, opacity;
    }

    .mobile-bottom-nav .nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: var(--text-muted);
        text-decoration: none;
        font-size: 0.7rem;
        font-weight: 600;
        height: 100%;
        transition: all 0.3s ease;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .mobile-bottom-nav .nav-item i {
        font-size: 1.3rem;
        margin-bottom: 2px;
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .mobile-bottom-nav .nav-item.active {
        color: var(--gold);
    }

    .mobile-bottom-nav .nav-item.active i {
        transform: translateY(-4px) scale(1.1);
        text-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
    }

    /* ── Mobile Profile Sheet ── */
    .sheet-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(8px);
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .sheet-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-profile-sheet {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        border-top: 1px solid rgba(212, 175, 55, 0.4);
        border-radius: 20px 20px 0 0;
        z-index: 2001;
        transform: translateY(100%);
        transition: transform 0.4s ease;
        padding-bottom: env(safe-area-inset-bottom, 20px);
        max-height: 85vh;
        display: flex;
        flex-direction: column;
    }

    .mobile-profile-sheet.active {
        transform: translateY(0);
    }

    .sheet-header {
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .sheet-handle {
        width: 40px;
        height: 4px;
        background: rgba(212, 175, 55, 0.4);
        border-radius: 2px;
        margin: 0 auto 15px;
    }

    .sheet-title {
        font-size: 1.1rem;
        font-weight: 800;
        color: var(--text);
        letter-spacing: 0.5px;
    }

    .sheet-body {
        padding: 20px;
        overflow-y: auto;
    }

    .sheet-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .sheet-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 15px 10px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 20px;
        color: var(--text-muted);
        text-decoration: none;
        transition: all 0.25s ease;
    }

    .sheet-link i {
        font-size: 1.5rem;
        color: var(--gold);
    }

    .sheet-link span {
        font-size: 0.75rem;
        font-weight: 600;
    }

    .sheet-link:active {
        background: rgba(212, 175, 55, 0.1);
        transform: scale(0.95);
        border-color: var(--gold);
    }

    .sheet-link.logout {
        grid-column: span 3;
        flex-direction: row;
        justify-content: center;
        background: rgba(255, 71, 87, 0.08);
        border-color: rgba(255, 71, 87, 0.2);
        color: #ff4757;
        margin-top: 10px;
    }

    .sheet-link.logout i {
        color: inherit;
    }
}

@media (min-width: 993px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

.nav-links a {
    color: var(--text-muted);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
}

.nav-cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--gold-light) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Drawer overlay ── */
.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(3px);
    z-index: 1099;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.drawer-overlay.active {
    display: block;
    opacity: 1;
}

/* ── Side drawer ── */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--navy-light);
    border-left: 1px solid var(--border);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-drawer.open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.drawer-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.drawer-logo span {
    color: var(--gold);
}

.drawer-close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.drawer-close:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.drawer-links {
    flex: 1;
    padding: 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.drawer-link i {
    width: 18px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-dim);
    transition: var(--transition);
}

.drawer-link:hover,
.drawer-link.active {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
}

.drawer-link:hover i,
.drawer-link.active i {
    color: var(--gold);
}

.drawer-link.active {
    font-weight: 600;
}

.drawer-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    min-height: calc(100vh - 75px);
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    background: var(--navy);
}

.hero.has-hero-bg {
    background-image: 
        linear-gradient(135deg, rgba(10, 14, 26, 0.88) 0%, rgba(10, 14, 26, 0.72) 50%, rgba(10, 14, 26, 0.90) 100%),
        var(--hero-bg-url);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

[data-theme="light"] .hero.has-hero-bg {
    background-image: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.76) 0%, rgba(248, 250, 252, 0.62) 50%, rgba(255, 255, 255, 0.80) 100%),
        var(--hero-bg-light-url, var(--hero-bg-url));
}


.hero::before {
    display: none;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    padding: 0.35rem 0.9rem;
    border-radius: 30px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    will-change: transform;
    backface-visibility: hidden;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    line-height: 1.22;
    margin-bottom: 1.15rem;
    letter-spacing: -0.025em;
}

.hero h1 .typing-text {
    color: var(--gold);
    border-right: 3px solid var(--gold);
    animation: blink 0.7s step-end infinite;
    display: inline-block;
    padding-right: 5px;
    white-space: nowrap;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero p.lead {
    font-size: 0.98rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 580px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.hero-stat .number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.hero-stat .label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bounce 2s ease-in-out infinite;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.hero-scroll i {
    color: var(--gold);
}

@keyframes bounce {

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

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

/* ── Hero 2-Column Responsive Grid (PC Symmetry) ── */
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

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

.hero-visual-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

@media (max-width: 992px) {
    .hero-visual-showcase {
        display: none;
    }
}

.hero-profile-frame {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.hero-profile-img-wrap {
    width: 260px;
    height: 260px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    background: var(--navy-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.hero-profile-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-profile-initials {
    font-size: 5rem;
    font-weight: 900;
    color: var(--gold);
    opacity: 0.8;
}

.hero-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
}

.hero-stack-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    max-width: 360px;
}

.hero-stack-pill {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    background: var(--navy-mid);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
}

[data-theme="light"] .hero-profile-img-wrap {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

[data-theme="light"] .hero-verified-badge {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}

[data-theme="light"] .hero-stack-pill {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #334155;
}

/* ============================================================
   PREMIUM SPLIT-SCREEN CARDLESS AUTH (Desktop Grid Perfection)
   ============================================================ */
.split-auth-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    margin-top: 0;
    background: var(--navy);
    align-items: start;
}

@media (max-width: 1024px) {
    .split-auth-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

/* Left Panel: Visual Experience & Telemetry - EXACT SAME BG AS RIGHT PANEL */
.split-auth-visual {
    position: relative;
    padding: clamp(3rem, 5vw, 4.5rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: var(--navy);
    border-right: 1px solid var(--border-subtle);
}

[data-theme="light"] .split-auth-visual {
    background: var(--navy);
    border-right: 1px solid var(--border-subtle);
}

@media (max-width: 1024px) {
    .split-auth-visual {
        display: none;
    }
}

.visual-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--gold);
    padding: 0.35rem 0.9rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.visual-title {
    font-size: clamp(1.85rem, 2.6vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
}

.visual-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 520px;
    margin-bottom: 2.5rem;
}

.visual-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.visual-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.visual-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.visual-feature-text h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.2rem 0;
}

.visual-feature-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.visual-quote-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

[data-theme="light"] .visual-quote-box {
    background: var(--navy-mid);
    border-color: var(--border-subtle);
}

.visual-quote-text {
    font-size: 0.86rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.55;
}

.visual-quote-author {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--gold);
}

.visual-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 600;
}

.visual-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

/* Right Panel: Pure Form - EXACT SAME BG AS LEFT PANEL */
.split-auth-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: clamp(3rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
    background: var(--navy);
    position: relative;
}

[data-theme="light"] .split-auth-form-panel {
    background: var(--navy);
}

.split-auth-form-inner {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

/* Standalone Centered Auth (Client & Admin Login) */
.auth-standalone-page {
    min-height: 100vh;
    background: var(--navy);
    display: flex;
    flex-direction: column;
}

.auth-standalone-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    margin-top: 0;
    background: var(--navy);
}

.auth-standalone-box {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.auth-brand-emblem {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.12);
}

.split-auth-header {
    text-align: center;
    margin-bottom: 2.25rem;
}

.split-auth-header h1 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 0.45rem;
}

.split-auth-header p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 380px;
    margin: 0 auto;
}

.auth-topbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 2rem;
}

.auth-topbar.auth-topbar-register {
    justify-content: flex-end;
}

.auth-top-back,
.split-auth-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 6px 0;
}

.auth-top-back:hover,
.split-auth-back:hover {
    color: var(--gold);
}

.auth-top-back i,
.split-auth-back i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.auth-top-back:hover i,
.split-auth-back:hover i {
    transform: translateX(-3px);
}

.auth-top-login-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.86rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
}

.auth-top-login-link strong {
    color: var(--gold);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.auth-top-login-link:hover {
    color: var(--text);
    border-color: rgba(212, 175, 55, 0.35);
    background: rgba(212, 175, 55, 0.06);
}

.auth-top-login-link:hover strong i {
    transform: translateX(3px);
}

.password-toggle-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 0.92rem;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    z-index: 2;
}

.password-toggle-btn:hover {
    color: var(--gold);
}

.split-form-control.has-toggle {
    padding-right: 2.75rem;
}

/* Modern Auth Form Inputs - Borderless Left & Right */
.split-form-group {
    margin-bottom: 1.35rem;
}

.split-form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.45rem;
    letter-spacing: 0.02em;
}

.split-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.split-input-wrapper i.input-icon {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 0.92rem;
    pointer-events: none;
    transition: color 0.2s ease;
    width: 22px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.split-form-control {
    width: 100%;
    padding: 0.82rem 1rem 0.82rem 2.45rem;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1.5px solid var(--border-subtle);
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    color: var(--text);
    font-size: 0.92rem;
    font-family: var(--font);
    outline: none;
    transition: all 0.25s ease;
}

[data-theme="light"] .split-form-control {
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1.5px solid #cbd5e1;
    border-left: none !important;
    border-right: none !important;
    color: #0f172a;
}

.split-form-control:focus {
    border-top: 1px solid rgba(212, 175, 55, 0.35);
    border-bottom: 1.5px solid var(--gold);
    border-left: none !important;
    border-right: none !important;
    background: rgba(212, 175, 55, 0.04);
    box-shadow: 0 1px 0 var(--gold);
}

[data-theme="light"] .split-form-control:focus {
    border-top: 1px solid rgba(184, 134, 11, 0.35);
    border-bottom: 1.5px solid #b8860b;
    border-left: none !important;
    border-right: none !important;
    background: rgba(184, 134, 11, 0.03);
    box-shadow: 0 1px 0 #b8860b;
}

.split-form-control:focus ~ i.input-icon,
.split-input-wrapper:focus-within i.input-icon {
    color: var(--gold);
}

[data-theme="light"] .split-form-control:focus ~ i.input-icon,
[data-theme="light"] .split-input-wrapper:focus-within i.input-icon {
    color: #b8860b;
}

.split-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.82rem;
}

.split-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    cursor: pointer;
}

.split-checkbox-label input {
    accent-color: var(--gold);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.split-auth-btn {
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.92rem;
    border: 1px solid var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gold);
    color: #0a0e1a;
    transition: var(--transition);
}

[data-theme="light"] .split-auth-btn {
    background: #b8860b;
    border-color: #b8860b;
    color: #ffffff;
}

.split-auth-btn:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: #0a0e1a;
}

[data-theme="light"] .split-auth-btn:hover {
    background: #966c06;
    border-color: #966c06;
    color: #ffffff;
}

.split-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--text-dim);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.split-divider::before,
.split-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

[data-theme="light"] .split-divider::before,
[data-theme="light"] .split-divider::after {
    background: #e2e8f0;
}

.split-divider span {
    padding: 0 1rem;
}

.split-google-btn {
    width: 100%;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text);
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
}

[data-theme="light"] .split-google-btn {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
}

.split-google-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    color: var(--text);
}

[data-theme="light"] .split-google-btn:hover {
    background: #f8fafc;
    border-color: #0f172a;
    color: #0f172a;
}

.split-auth-switch {
    margin-top: 1.75rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.split-auth-switch a {
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
}

.split-auth-switch a:hover {
    text-decoration: underline;
}

/* Floating shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    animation: float 6s ease-in-out infinite;
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--gold);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--gold);
    bottom: 100px;
    left: -50px;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--gold);
    top: 40%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {

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

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.62rem 1.45rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

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

.btn-outline:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border-color: var(--border-subtle);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.38rem 0.95rem;
    font-size: 0.78rem;
}

.btn-lg {
    padding: 0.72rem 1.75rem;
    font-size: 0.92rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--navy-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
    will-change: transform;
    backface-visibility: hidden;
}

.card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

.card-title {
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
    background: var(--navy-light);
}

.service-card {
    background: var(--navy-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    will-change: transform;
    backface-visibility: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.6rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gold);
    color: var(--navy);
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.service-link:hover {
    gap: 0.75rem;
}

/* Packages */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

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

.package-card {
    background: var(--navy-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.package-card.featured {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.package-name {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0.5rem 0;
}

.package-price .currency {
    font-size: 1.2rem;
    vertical-align: top;
    margin-top: 0.4rem;
    display: inline-block;
}

.package-price .period {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

.package-duration {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.package-features {
    text-align: left;
    margin-bottom: 1.5rem;
}

.package-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
}

.package-features li:last-child {
    border: none;
}

.package-features li i {
    color: var(--gold);
    font-size: 0.8rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
    background: var(--navy-mid);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.stat-item {
    text-align: center;
    padding: 3rem 2rem;
    border-right: 1px solid var(--border-subtle);
    position: relative;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-suffix {
    font-size: 1.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* ============================================================
   PORTFOLIO SECTION
   ============================================================ */
.portfolio-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.45rem 1.25rem;
    border-radius: 30px;
    border: 1px solid var(--border-subtle);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: var(--navy-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    will-change: transform;
    backface-visibility: hidden;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
    border-color: rgba(212, 175, 55, 0.3);
}

.portfolio-thumb {
    height: 200px;
    background: var(--navy-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-thumb i {
    font-size: 4rem;
    color: rgba(212, 175, 55, 0.3);
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(212, 175, 55, 0.9);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.portfolio-body {
    padding: 1.5rem;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1rem 0;
}

.tech-tag {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.portfolio-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.portfolio-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition);
}

.portfolio-links a:hover {
    color: var(--gold);
}

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-card {
    background: var(--navy-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    will-change: transform;
    backface-visibility: hidden;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
    border-color: rgba(212, 175, 55, 0.3);
}

.blog-thumb {
    height: 180px;
    background: var(--navy-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-thumb i {
    font-size: 3rem;
    color: rgba(212, 175, 55, 0.3);
}

.blog-body {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-category {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.blog-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.blog-card h3 a {
    color: var(--text);
}

.blog-card h3 a:hover {
    color: var(--gold);
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition);
}

.read-more:hover {
    gap: 0.6rem;
}

/* Blog Single */
.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-content h2,
.blog-post-content h3 {
    color: var(--text);
    margin: 2rem 0 1rem;
}

.blog-post-content p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.9;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-muted);
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

.blog-post-content code {
    background: var(--navy-mid);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9em;
    color: var(--gold);
}

.blog-post-header {
    background: var(--navy-light);
    padding: 6rem 0 3rem;
    border-bottom: 1px solid var(--border-subtle);
}

.blog-post-header .blog-category {
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
    background: var(--navy-light);
}

.testimonial-card {
    background: var(--navy-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    will-change: transform;
    backface-visibility: hidden;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 5rem;
    color: rgba(212, 175, 55, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.stars {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.author-title {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-photo-container {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    background: var(--navy-mid);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.about-initials {
    font-size: 8rem;
    font-weight: 900;
    color: rgba(212, 175, 55, 0.2);
    letter-spacing: -0.05em;
}

.about-badge {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    background: var(--gold);
    color: var(--navy);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.88rem;
    text-align: center;
    box-shadow: var(--shadow);
    white-space: nowrap;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.skill-tag {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--gold);
    padding: 0.35rem 0.85rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ============================================================
    FORMS
    ============================================================ */
.form-section {
    background: var(--navy-light);
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group.full {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

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

.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: var(--navy-mid);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-control:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: var(--navy-light);
}

.form-control:focus {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-control::placeholder {
    color: rgba(148, 163, 184, 0.7);
    font-weight: 400;
}

select.form-control {
    cursor: pointer;
}

select.form-control option,
select.form-control optgroup {
    background-color: #1a2235;
    color: #f1f5f9;
    padding: 0.5rem;
}

select.form-control option:checked,
select.form-control option:hover,
select.form-control option:focus {
    background-color: #252f45;
    color: #d4af37;
}

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

.form-hint {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 0.3rem;
}

.form-error {
    font-size: 0.78rem;
    color: var(--error);
    margin-top: 0.3rem;
}

.input-group {
    position: relative;
}

.input-group .form-control {
    padding-left: 2.75rem;
}

.input-group .input-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* ============================================================
   ALERTS / FLASH MESSAGES
   ============================================================ */
.flash-messages {
    margin-bottom: 1.5rem;
}

.alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    font-size: 0.93rem;
    animation: alertToast 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

@keyframes alertToast {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.alert-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.1rem;
    opacity: 0.7;
}

.alert-close:hover {
    opacity: 1;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.contact-item-icon {
    width: 44px;
    height: 44px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-item-text .label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-item-text .value {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 2rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: var(--navy-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
    padding: 6rem 0;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 2rem;
}

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

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--navy-light);
    border-top: 1px solid var(--border-subtle);
    padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .footer {
    background: #ffffff;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
    width: 100%;
}

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

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

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand .logo {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
}

.footer-brand .logo span {
    color: var(--gold);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    max-width: 380px;
    margin-bottom: 1.25rem;
}
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

[data-theme="light"] .footer-heading {
    color: #b8860b;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.92rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

[data-theme="light"] .footer-links a {
    color: #475569;
}

[data-theme="light"] .footer-links a:hover {
    color: #c59b27;
}

.social-links {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    margin-top: 0.5rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

[data-theme="light"] .social-link {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

[data-theme="light"] .social-link:hover {
    background: rgba(197, 155, 39, 0.12);
    border-color: #c59b27;
    color: #c59b27;
    box-shadow: 0 4px 12px rgba(197, 155, 39, 0.2);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    margin-top: 3.5rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.88rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 1rem;
}

[data-theme="light"] .footer-bottom {
    border-color: rgba(226, 232, 240, 0.9);
    color: #64748b;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

/* Stealth undetectable admin link */
.stealth-admin-link {
    color: inherit !important;
    text-decoration: none !important;
    cursor: default !important;
    user-select: text;
    outline: none !important;
    border: none !important;
    background: transparent !important;
    font-weight: inherit !important;
    display: inline;
}

.stealth-admin-link:hover,
.stealth-admin-link:focus,
.stealth-admin-link:active,
.stealth-admin-link:visited {
    color: inherit !important;
    text-decoration: none !important;
    cursor: default !important;
    outline: none !important;
    border: none !important;
}

.footer-bottom-links a:hover {
    color: var(--gold);
}

[data-theme="light"] .footer-bottom-links a:hover {
    color: #c59b27;
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
    background: var(--navy-light);
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.page-header::before {
    display: none;
}

.page-header h1 {
    position: relative;
}

.page-header p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 1rem auto 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--gold);
}

.breadcrumb span {
    color: var(--text-dim);
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 30px;
    font-size: 0.73rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.badge-info {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.badge-secondary {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
}

.badge-gold {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 3rem;
}

.page-btn {
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    background: var(--navy-card);
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: var(--transition);
}

.page-btn:hover,
.page-btn.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

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

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

/* ============================================================
   LOADING STATES
   ============================================================ */
.skeleton {
    background: var(--navy-mid);
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ============================================================
   APPOINTMENT PAGE
   ============================================================ */
.appointment-hero {
    background: var(--navy-light);
    padding: 8rem 0 4rem;
    text-align: center;
}

.appointment-info {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.info-card {
    background: var(--navy-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}

.info-card h4 {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.info-card h4 i {
    color: var(--gold);
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.process-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-num {
    width: 32px;
    height: 32px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.step-info {
    padding-top: 4px;
}

.step-info h5 {
    font-size: 0.92rem;
    margin-bottom: 0.2rem;
}

.step-info p {
    font-size: 0.83rem;
    color: var(--text-muted);
}

.appointment-form {
    background: var(--navy-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 2.5rem;
}

.appointment-form .form-control {
    background: var(--navy-mid);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text);
}

.appointment-form .form-control:hover {
    border-color: rgba(212, 175, 55, 0.5);
    background: var(--navy-light);
}

.appointment-form .form-control:focus {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.appointment-form .form-control::placeholder {
    color: rgba(148, 163, 184, 0.8);
    font-weight: 400;
}

.appointment-form select.form-control {
    font-weight: 500;
}

.appointment-form select.form-control option,
.appointment-form select.form-control optgroup {
    background-color: #1a2235;
    color: #f1f5f9;
    padding: 0.6rem;
    font-weight: 400;
}

.appointment-form select.form-control option:checked {
    background-color: #252f45;
    color: #d4af37;
    font-weight: 600;
}

.appointment-form .form-label {
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

.appointment-form .form-label .required {
    color: var(--gold);
    font-weight: 700;
}

.appointment-form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) sepia(1) saturate(5) hue-rotate(5deg);
    opacity: 0.7;
    cursor: pointer;
}

.appointment-form input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    filter: invert(1) sepia(1) saturate(8) hue-rotate(5deg);
}

.appointment-form .form-control:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--navy);
}

.appointment-form .form-control:read-only {
    background: var(--navy);
    cursor: default;
}

@media (max-width: 768px) {
    .appointment-form {
        padding: 1.75rem;
    }

    .appointment-form .form-control {
        font-size: 16px;
    }
}

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gold);
    z-index: 2000;
    transition: width 0.1s linear;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 100;
    box-shadow: var(--shadow-gold);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Large tablets / small desktops (≤1200px) ── */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .packages-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem;
    }

    .blog-layout {
        grid-template-columns: 1fr 260px !important;
        gap: 2rem;
    }
}

/* ── Tablets landscape (≤1024px) ── */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-badge {
        right: 0;
        bottom: -1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .packages-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .appointment-info {
        grid-template-columns: 1fr;
    }

    .blog-layout {
        grid-template-columns: 1fr !important;
    }

    .blog-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .blog-card-horizontal {
        grid-template-columns: 200px 1fr !important;
    }
}

/* ── Tablets portrait (≤768px) ── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .section {
        padding: 3.5rem 0;
    }

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

    .hero {
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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

    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .hero-stats {
        gap: 1.25rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stat {
        flex: 1 1 calc(50% - 1.25rem);
        min-width: 100px;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        padding-bottom: 6rem; /* Ensure stats don't overlap with scroll indicator */
    }

    .hero p.lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

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

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid var(--border-subtle);
    }

    .stat-item:last-child,
    .stat-item:nth-last-child(2):nth-child(odd) {
        border-bottom: none;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .packages-grid {
        grid-template-columns: 1fr !important;
    }

    .service-header-row {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
        text-align: center;
    }

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

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

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

    .contact-item {
        text-align: left;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

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

    .about-grid .section-header {
        text-align: center !important;
    }

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

    .about-grid>div:last-child>div:last-child {
        justify-content: center;
    }

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

/* ── Large phones (≤600px) ── */
@media (max-width: 600px) {
    .hero-stats {
        gap: 1rem;
    }

    .hero-stat {
        flex: 1 1 calc(50% - 1rem);
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

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

    .skills-list {
        gap: 0.4rem;
    }
}

/* ── Phones (≤480px) ── */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.88rem;
    }

    .btn-lg {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-badge {
        font-size: 0.72rem;
    }

    .hero h1 {
        font-size: 1.7rem;
        text-align: center;
    }

    .hero .lead {
        font-size: 0.95rem;
        text-align: center;
    }

    .hero-scroll {
        display: none;
    }

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

    .stat-number {
        font-size: 2rem;
    }

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

    .stat-item {
        padding: 1.5rem 1rem;
        text-align: center;
    }

    .section-header {
        margin-bottom: 2.5rem;
        text-align: center;
    }

    .page-header {
        padding: 3rem 0 2rem;
        text-align: center;
    }

    .page-header h1 {
        font-size: 1.7rem;
    }

    .about-visual {
        max-width: 280px;
        margin: 0 auto;
    }

    .about-photo-container {
        width: 220px;
        height: 220px;
    }

    .about-grid>div {
        text-align: center;
    }

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

    .portfolio-card .portfolio-thumb {
        height: 160px;
    }

    .blog-card .blog-thumb {
        height: 160px;
    }

    .card {
        padding: 1.25rem;
    }

    .package-card {
        padding: 1.5rem 1.25rem;
    }

    .contact-item {
        gap: 0.75rem;
    }

    .contact-item-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .form-control {
        font-size: 16px;
    }

    .cta-section {
        padding: 3rem 0;
        text-align: center;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 0.8rem;
    }

    .social-links {
        gap: 0.5rem;
        justify-content: center;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
        justify-content: center;
    }

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

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

    .service-header-row {
        text-align: center;
        align-items: center !important;
    }

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

    .blog-meta {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ── Very small phones (≤360px) ── */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }

    h1 {
        font-size: 1.55rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-stat .number {
        font-size: 1.5rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        gap: 0.75rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 1.75rem;
    }
}

/* ── Smart TV / large screens (≥1800px) ── */
@media (min-width: 1800px) {
    .container {
        max-width: 1500px;
    }

    body {
        font-size: 18px;
    }

    .hero h1 {
        font-size: 4.5rem;
    }

    .section {
        padding: 7rem 0;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    }

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

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

/* ── Widescreen (≥2400px — large smart TVs) ── */
@media (min-width: 2400px) {
    .container {
        max-width: 2000px;
    }

    body {
        font-size: 20px;
    }

    .hero h1 {
        font-size: 5.5rem;
    }

    .navbar {
        padding: 1.5rem 0;
    }

    .section {
        padding: 9rem 0;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    }

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

    .about-grid {
        gap: 6rem;
    }

    .contact-grid {
        gap: 6rem;
    }

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

    .stat-number {
        font-size: 4.5rem;
    }

    .stat-label {
        font-size: 1.1rem;
    }

    .testimonial-card {
        padding: 3rem;
    }

    .card {
        padding: 3rem;
    }

    .package-card {
        padding: 3rem;
    }

    .service-card {
        padding: 3rem;
    }

    .hero-stats {
        gap: 4rem;
    }

    .hero-stat .number {
        font-size: 3rem;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.6rem 1.1rem;
    }

    .nav-cta {
        padding: 0.6rem 1.75rem !important;
        font-size: 1.1rem !important;
    }

    .btn-lg {
        padding: 1.2rem 3rem;
        font-size: 1.2rem;
    }
}

/* ── 4K+ Ultra-wide (≥3840px — wall-mounted TVs / digital signage) ── */
@media (min-width: 3840px) {
    :root {
        font-size: 24px;
    }

    .container {
        max-width: 3200px;
    }

    .hero h1 {
        font-size: 7rem;
    }

    .hero p.lead {
        font-size: 1.6rem;
        max-width: 900px;
    }

    .hero-badge {
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
    }

    .section {
        padding: 12rem 0;
    }

    .section-header {
        margin-bottom: 5rem;
    }

    .section-header p {
        font-size: 1.3rem;
        max-width: 900px;
    }

    .navbar {
        padding: 2rem 0;
    }

    .nav-inner {
        max-width: 3200px;
    }

    .nav-logo {
        font-size: 2.2rem;
    }

    .nav-links a {
        font-size: 1.3rem;
        padding: 0.75rem 1.5rem;
    }

    .nav-cta {
        padding: 0.75rem 2rem !important;
        font-size: 1.3rem !important;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(700px, 1fr));
        gap: 3rem;
    }

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

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

    .packages-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2.5rem;
    }

    .page-header {
        padding: 12rem 0 6rem;
    }

    .cta-section {
        padding: 10rem 0;
    }

    .about-grid {
        gap: 8rem;
    }

    .contact-grid {
        gap: 8rem;
    }

    .btn {
        padding: 1rem 2.5rem;
        font-size: 1.2rem;
    }

    .btn-lg {
        padding: 1.5rem 3.5rem;
        font-size: 1.4rem;
    }

    .appointment-form {
        padding: 4rem;
    }

    .form-control {
        padding: 1.1rem 1.4rem;
        font-size: 1.1rem;
    }

    .form-label {
        font-size: 1rem;
    }

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

    .stat-number {
        font-size: 6rem;
    }

    .stat-label {
        font-size: 1.3rem;
    }

    .stat-item {
        padding: 5rem 3rem;
    }

    .testimonial-card {
        padding: 4rem;
    }

    .card {
        padding: 4rem;
    }

    .service-card {
        padding: 4rem;
    }

    .service-icon {
        width: 96px;
        height: 96px;
        font-size: 2.5rem;
    }

    .card-icon {
        width: 80px;
        height: 80px;
        font-size: 2.2rem;
    }

    .hero-stat .number {
        font-size: 4rem;
    }

    .social-link {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }

    .back-to-top {
        width: 64px;
        height: 64px;
        font-size: 1.4rem;
        bottom: 3rem;
        right: 3rem;
    }
}

/* ── Smartwatch (≤280px — very small wearable screens) ── */
@media (max-width: 280px) {
    :root {
        font-size: 13px;
    }

    .container {
        padding: 0 0.5rem;
    }

    h1 {
        font-size: 1.3rem;
    }

    h2 {
        font-size: 1.1rem;
    }

    h3 {
        font-size: 0.95rem;
    }

    h4 {
        font-size: 0.88rem;
    }

    /* Nav — ultra-compact */
    .nav-inner {
        padding: 0 0.5rem;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .hamburger span {
        width: 20px;
    }

    /* Hero — stacked and minimal */
    .hero {
        min-height: auto;
        padding: 4rem 0 2rem;
    }

    .hero h1 {
        font-size: 1.2rem;
    }

    .hero p.lead {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    .hero-badge {
        font-size: 0.62rem;
        padding: 0.25rem 0.6rem;
        margin-bottom: 0.75rem;
    }

    .hero-shapes {
        display: none;
    }

    .hero-scroll {
        display: none;
    }

    .hero-actions {
        gap: 0.5rem;
    }

    .hero-actions .btn {
        padding: 0.5rem 0.85rem;
        font-size: 0.78rem;
        min-width: unset;
    }

    .hero-stats {
        gap: 0.5rem;
        padding-top: 1rem;
    }

    .hero-stat {
        flex: 1 1 100%;
        text-align: center;
    }

    .hero-stat .number {
        font-size: 1.2rem;
    }

    .hero-stat .label {
        font-size: 0.62rem;
    }

    /* Sections */
    .section {
        padding: 1.5rem 0;
    }

    .section-header {
        margin-bottom: 1.25rem;
    }

    .section-header .subtitle {
        font-size: 0.62rem;
        letter-spacing: 0.1em;
    }

    .section-header p {
        font-size: 0.8rem;
    }

    /* Cards — minimal padding */
    .card {
        padding: 0.75rem;
    }

    .card-title {
        font-size: 0.9rem;
    }

    .card-text {
        font-size: 0.78rem;
    }

    .card-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .service-card {
        padding: 0.75rem;
    }

    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        border-radius: 8px;
    }

    .service-card p {
        font-size: 0.78rem;
        margin-bottom: 0.75rem;
    }

    /* Package cards */
    .package-card {
        padding: 0.85rem;
    }

    .package-price {
        font-size: 1.4rem;
    }

    .package-name {
        font-size: 0.68rem;
    }

    .package-features li {
        font-size: 0.75rem;
        padding: 0.2rem 0;
    }

    .featured-badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.6rem;
        top: -8px;
    }

    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .portfolio-thumb {
        height: 100px;
    }

    .portfolio-body {
        padding: 0.75rem;
    }

    .portfolio-category {
        font-size: 0.6rem;
        padding: 0.15rem 0.5rem;
        top: 0.5rem;
        left: 0.5rem;
    }

    .tech-tag {
        font-size: 0.6rem;
        padding: 0.1rem 0.4rem;
    }

    .portfolio-links {
        gap: 0.5rem;
    }

    .portfolio-links a {
        font-size: 0.75rem;
    }

    .portfolio-filters {
        gap: 0.3rem;
    }

    .filter-btn {
        padding: 0.3rem 0.7rem;
        font-size: 0.72rem;
    }

    /* Blog */
    .blog-card .blog-thumb {
        height: 100px;
    }

    .blog-body {
        padding: 0.75rem;
    }

    .blog-meta {
        font-size: 0.68rem;
        gap: 0.5rem;
    }

    .blog-card h3 {
        font-size: 0.88rem;
    }

    .blog-card p {
        font-size: 0.78rem;
    }

    .read-more {
        font-size: 0.75rem;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 0.85rem;
    }

    .testimonial-card::before {
        font-size: 2.5rem;
    }

    .testimonial-text {
        font-size: 0.78rem;
        line-height: 1.6;
        margin-bottom: 0.75rem;
    }

    .testimonial-author {
        gap: 0.5rem;
    }

    .author-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .author-name {
        font-size: 0.78rem;
    }

    .author-title {
        font-size: 0.68rem;
    }

    .stars {
        font-size: 0.72rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .stat-item {
        padding: 0.85rem 0.5rem;
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }

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

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    /* About */
    .about-grid {
        gap: 1.5rem;
    }

    .about-visual {
        max-width: 160px;
    }

    .about-photo-container {
        width: 140px;
        height: 140px;
    }

    .about-initials {
        font-size: 4rem;
    }

    .about-badge {
        font-size: 0.68rem;
        padding: 0.4rem 0.75rem;
    }

    .skill-tag {
        font-size: 0.68rem;
        padding: 0.2rem 0.5rem;
    }

    /* Contact */
    .contact-grid {
        gap: 1.5rem;
    }

    .contact-item-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .contact-item-text .label {
        font-size: 0.65rem;
    }

    .contact-item-text .value {
        font-size: 0.8rem;
    }

    .social-link {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    /* Forms */
    .form-wrapper {
        padding: 0;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .form-label {
        font-size: 0.72rem;
    }

    .form-control {
        padding: 0.6rem 0.75rem;
        font-size: 14px;
        min-height: 38px;
    }

    /* Appointment */
    .appointment-hero {
        padding: 4rem 0 1.5rem;
    }

    .appointment-info {
        gap: 1.5rem;
    }

    .info-card {
        padding: 0.85rem;
    }

    .appointment-form {
        padding: 0.85rem;
    }

    .appointment-form .form-control {
        font-size: 14px;
    }

    .step-num {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    /* CTA */
    .cta-section {
        padding: 1.5rem 0;
    }

    .cta-section h2 {
        font-size: 1.1rem;
    }

    .cta-section p {
        font-size: 0.8rem;
    }

    .cta-actions .btn {
        font-size: 0.78rem;
        padding: 0.5rem 0.85rem;
    }

    /* Footer */
    .footer {
        padding: 1.5rem 0 1rem;
    }

    .footer-bottom {
        font-size: 0.68rem;
        gap: 0.5rem;
    }

    /* Buttons */
    .btn {
        padding: 0.45rem 0.85rem;
        font-size: 0.78rem;
        border-radius: 20px;
        min-height: 36px;
    }

    .btn-lg {
        padding: 0.55rem 1rem;
        font-size: 0.85rem;
    }

    .btn-sm {
        padding: 0.3rem 0.65rem;
        font-size: 0.72rem;
    }

    /* Page header */
    .page-header {
        padding: 2.5rem 0 1.5rem;
    }

    .page-header h1 {
        font-size: 1.2rem;
    }

    .page-header p {
        font-size: 0.78rem;
    }

    .breadcrumb {
        font-size: 0.68rem;
    }

    /* Pagination */
    .pagination {
        gap: 0.2rem;
    }

    .page-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.72rem;
    }

    /* Back to top */
    .back-to-top {
        width: 32px;
        height: 32px;
        font-size: 0.78rem;
        bottom: 0.75rem;
        right: 0.75rem;
    }

    /* Drawer — full width on smartwatch */
    .mobile-drawer {
        width: 100%;
    }

    .drawer-header {
        padding: 0.75rem;
    }

    .drawer-logo {
        font-size: 1rem;
    }

    .drawer-close {
        width: 30px;
        height: 30px;
    }

    .drawer-link {
        padding: 0.6rem 0.75rem;
        font-size: 0.82rem;
        gap: 0.6rem;
    }

    .drawer-link i {
        width: 14px;
        font-size: 0.78rem;
    }

    .drawer-footer {
        padding: 0.75rem;
    }

    .drawer-footer .btn {
        font-size: 0.78rem;
        padding: 0.5rem;
    }

    /* Blog single */
    .blog-post-header {
        padding: 4rem 0 1.5rem;
    }

    .blog-post-content p {
        font-size: 0.82rem;
        line-height: 1.7;
    }

    .blog-post-content h2 {
        font-size: 1rem;
    }

    .blog-post-content h3 {
        font-size: 0.9rem;
    }
}

/* ── Print ── */
@media print {

    .navbar,
    .mobile-menu,
    .back-to-top,
    .scroll-progress,
    .hero-scroll,
    .cta-section,
    .hero-shapes {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
        font-size: 12pt;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
        background: none;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .btn {
        border: 1px solid #000;
        background: none !important;
        color: #000 !important;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    .section {
        padding: 1.5rem 0;
    }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .fade-in.will-fade {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================================
   FADE-IN ANIMATION
   Only .will-fade (set by JS) starts invisible.
   .fade-in alone is always visible — safe without JS.
   ============================================================ */
.fade-in.will-fade {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.will-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   MAINTENANCE MODE
   ============================================================ */
body.maintenance-mode {
    overflow: hidden !important;
    /* Prevent scrolling */
    height: 100vh;
}

body.maintenance-mode>*:not(.maintenance-overlay):not(.admin-maintenance-notice) {
    filter: blur(20px) grayscale(100%);
    pointer-events: none !important;
    user-select: none !important;
    transition: filter 0.3s ease;
}

.maintenance-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    /* Ensure it is above everything */
    background: rgba(10, 15, 28, 0.9);
    /* Darker, less transparent background */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeInOverlay 0.5s ease;
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.maintenance-content {
    background: #111827;
    background: var(--navy-card, #111827);
    border: 2px solid var(--gold, #d4af37);
    border-radius: 24px;
    padding: 4.5rem 2.5rem;
    max-width: 550px;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.9), 0 0 50px rgba(212, 175, 55, 0.15);
    position: relative;
    z-index: 1000000;
    filter: none !important;
    /* Explicitly ensure no blur on the card */
}

.maintenance-icon {
    font-size: 5.5rem;
    color: var(--gold, #d4af37);
    margin-bottom: 2.5rem;
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.5));
    animation: maintenanceFloat 4s ease-in-out infinite;
    will-change: transform;
    backface-visibility: hidden;
}

@keyframes maintenanceFloat {

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

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

.maintenance-content h1 {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.maintenance-content p {
    font-size: 1.2rem;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 0;
}



/* Admin Notice Bar */
.admin-maintenance-notice {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--gold, #d4af37);
    color: var(--navy, #0a0f1c);
    padding: 0.85rem 1.5rem;
    z-index: 1000001;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.admin-maintenance-notice a {
    color: inherit;
    text-decoration: underline;
    margin-left: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* ============================================================
   Tawk.to Chat Widget Reconciliation
   Ensures Attention Grabber elements (curved text/circles) 
   are not distorted by global box-sizing resets.
   ============================================================ */
[id^="tawk"], 
[id^="tawk"] *, 
.tawk-min-container, 
.tawk-min-container *,
.tawk-attention-grabber,
.tawk-attention-grabber * {
    box-sizing: content-box !important;
}

/* Fix for curved text alignment on attention grabber */
.tawk-attention-grabber svg {
    overflow: visible !important;
}

/* ============================================================
   LIGHT THEME COMPONENT OVERRIDES & THEME TOGGLE
   ============================================================ */

[data-theme="light"] body {
    background-color: #ffffff;
    background-image: none;
    color: #0f172a;
}

[data-theme="light"] .navbar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .navbar.scrolled {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid #cbd5e1;
}

[data-theme="light"] .navbar.scrolled::after {
    display: none;
}

[data-theme="light"] .nav-logo {
    color: #0f172a !important;
}

[data-theme="light"] .nav-links a {
    color: #334155;
}

[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
    color: #b8860b;
    background: rgba(184, 134, 11, 0.08);
}

[data-theme="light"] .nav-cta {
    background: #b8860b !important;
    color: #ffffff !important;
    border: 1px solid #b8860b !important;
}

[data-theme="light"] .nav-cta:hover {
    background: #966c06 !important;
    border-color: #966c06 !important;
    color: #ffffff !important;
}

[data-theme="light"] .hero-overlay {
    display: none;
}

[data-theme="light"] .hero {
    background: #ffffff;
}

[data-theme="light"] .hero.has-hero-bg {
    background-image: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.76) 0%, rgba(248, 250, 252, 0.62) 50%, rgba(255, 255, 255, 0.80) 100%),
        var(--hero-bg-light-url, var(--hero-bg-url)) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

[data-theme="light"] .hero::before {
    display: none;
}

[data-theme="light"] .hero h1 {
    color: #0f172a;
}

[data-theme="light"] .hero h1 .typing-text {
    color: #b8860b;
    border-right-color: #b8860b;
}

[data-theme="light"] .hero p.lead {
    color: #334155;
}

[data-theme="light"] .btn-primary {
    background: #b8860b;
    color: #ffffff;
    border: 1px solid #b8860b;
}

[data-theme="light"] .btn-primary:hover {
    background: #966c06;
    border-color: #966c06;
    color: #ffffff;
}

[data-theme="light"] .btn-outline {
    background: transparent;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

[data-theme="light"] .btn-outline:hover {
    background: #f1f5f9;
    border-color: #0f172a;
    color: #0f172a;
}

[data-theme="light"] .hero-stats {
    border-top: 1px solid #e2e8f0;
}

[data-theme="light"] .hero-stat .number {
    color: #b8860b;
}

[data-theme="light"] .hero-stat .label {
    color: #475569;
}

[data-theme="light"] .card,
[data-theme="light"] .service-card,
[data-theme="light"] .package-card,
[data-theme="light"] .portfolio-card,
[data-theme="light"] .blog-card,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .appointment-form,
[data-theme="light"] .info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .card:hover,
[data-theme="light"] .service-card:hover,
[data-theme="light"] .package-card:hover,
[data-theme="light"] .portfolio-card:hover,
[data-theme="light"] .blog-card:hover,
[data-theme="light"] .testimonial-card:hover {
    border-color: #b8860b;
}

[data-theme="light"] .service-card h3,
[data-theme="light"] .package-card h3,
[data-theme="light"] .portfolio-card h3,
[data-theme="light"] .blog-card h3,
[data-theme="light"] .testimonial-author h4 {
    color: #0f172a;
}

[data-theme="light"] .service-card p,
[data-theme="light"] .package-card p,
[data-theme="light"] .portfolio-card p,
[data-theme="light"] .blog-card p,
[data-theme="light"] .testimonial-content p {
    color: #334155;
}

[data-theme="light"] .form-control {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

[data-theme="light"] .form-control:hover {
    border-color: #94a3b8;
    background: #ffffff;
}

[data-theme="light"] .form-control:focus {
    background: #ffffff;
    border-color: #b8860b;
    outline: 1px solid #b8860b;
}

[data-theme="light"] .form-control::placeholder {
    color: #94a3b8;
}

[data-theme="light"] select.form-control option,
[data-theme="light"] select.form-control optgroup,
[data-theme="light"] select,
[data-theme="light"] option,
[data-theme="light"] optgroup {
    background-color: #ffffff;
    color: #0f172a;
}

[data-theme="light"] select.form-control option:checked {
    background-color: #f1f5f9;
    color: #b8860b;
}

[data-theme="light"] .footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

[data-theme="light"] .footer-brand .logo,
[data-theme="light"] .footer-heading {
    color: #0f172a;
}

[data-theme="light"] .footer-links a {
    color: #334155;
}

[data-theme="light"] .footer-links a:hover {
    color: #b8860b;
}

[data-theme="light"] .cta-section {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .stats-section {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .page-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .page-header h1 {
    color: #0f172a;
}

[data-theme="light"] .page-header p {
    color: #334155;
}

[data-theme="light"] .profile-dropdown {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .profile-dropdown .dropdown-header {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .profile-dropdown .dropdown-link {
    color: #334155 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

[data-theme="light"] .profile-dropdown .dropdown-link:hover {
    background: rgba(184, 134, 11, 0.08) !important;
    color: #b8860b !important;
}

[data-theme="light"] .auth-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
}

[data-theme="light"] .auth-logo,
[data-theme="light"] .auth-header h1 {
    color: #0f172a;
}

[data-theme="light"] .btn-google {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

[data-theme="light"] .btn-google:hover {
    background: #f8fafc;
    border-color: #0f172a;
    color: #0f172a;
}

[data-theme="light"] .auth-divider {
    color: #64748b;
}

[data-theme="light"] .auth-divider::before,
[data-theme="light"] .auth-divider::after {
    background: #e2e8f0;
}

[data-theme="light"] .auth-footer {
    color: #334155;
}

[data-theme="light"] .auth-footer a {
    color: #0f172a;
}

[data-theme="light"] .auth-footer a:hover {
    color: #b8860b;
}

[data-theme="light"] .mobile-drawer {
    background: #ffffff;
    border-left: 1px solid #e2e8f0;
}

[data-theme="light"] .mobile-drawer .drawer-header {
    border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .mobile-drawer .drawer-footer {
    border-top: 1px solid #e2e8f0;
}

[data-theme="light"] .drawer-close {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
}

[data-theme="light"] .drawer-link {
    color: #334155;
}

[data-theme="light"] .drawer-link:hover,
[data-theme="light"] .drawer-link.active {
    color: #b8860b;
    background: rgba(184, 134, 11, 0.08);
}

/* Theme Toggle Button Component */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--gold);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 6px;
}

.theme-toggle-btn:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
}

[data-theme="light"] .theme-toggle-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #b8860b;
}

[data-theme="light"] .theme-toggle-btn:hover {
    background: #e2e8f0;
    border-color: #b8860b;
}

/* --- Light Mode: Header Top Ribbon --- */
[data-theme="light"] .header-top-ribbon {
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

[data-theme="light"] .ribbon-item {
    color: #475569;
}

[data-theme="light"] .ribbon-item:hover {
    color: #b48d1e;
}

[data-theme="light"] .ribbon-item i {
    color: #b48d1e;
}

[data-theme="light"] .ribbon-sep {
    background: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .ribbon-social-icon {
    color: #475569;
}

[data-theme="light"] .ribbon-social-icon:hover {
    color: #ffffff;
    background: #b48d1e;
    box-shadow: 0 2px 6px rgba(180, 141, 30, 0.35);
}

[data-theme="light"] .ribbon-market-label {
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.25);
    color: #059669;
}

[data-theme="light"] .beacon-dot {
    background: #059669;
    box-shadow: 0 0 5px #059669;
}

[data-theme="light"] .beacon-ping {
    background: #059669;
}

[data-theme="light"] .ticker-sym {
    color: #0f172a;
}

[data-theme="light"] .ticker-price {
    color: #475569;
}

[data-theme="light"] .ticker-chg.up {
    color: #059669;
}

[data-theme="light"] .ticker-chg.down {
    color: #dc2626;
}

[data-theme="light"] .ticker-item:hover {
    background: rgba(180, 141, 30, 0.08);
}

[data-theme="light"] .ribbon-hours {
    color: #475569;
}

[data-theme="light"] .ribbon-hours i {
    color: #b48d1e;
}