/*
Theme Name: Z-Solutions IT Services
Theme URI: https://zsolutions.org
Author: Zulqarnain Ejaz
Description: Professional, fast-loading, zero-jQuery theme focused on IT Services, Web Design, and ZSales ERP.
Version: 1.1.0
Text Domain: zsolutions
*/

:root {
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --text-dark: #0f172a;
    --text-body: #475569;
    --text-muted: #64748b;
    --brand-blue: #2563eb;
    --brand-blue-hover: #1d4ed8;
    --accent-green: #10b981;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.05);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--text-body); line-height: 1.6; background: var(--bg-white); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: 0.2s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.8rem 1.5rem; font-weight: 600; border-radius: 6px; cursor: pointer; transition: 0.2s; text-align: center; }
.btn-primary { background: var(--brand-blue); color: #fff; }
.btn-primary:hover { background: var(--brand-blue-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.btn-outline { border: 1px solid var(--border); color: var(--text-dark); background: var(--bg-white); }
.btn-outline:hover { border-color: var(--text-muted); background: var(--bg-light); }
/* ==========================================================================
   UPGRADED TOPBAR & GLASSMORPHIC HEADER
   ========================================================================== */
.logo { display: inline-flex; align-items: center; gap: 0.75rem; white-space: nowrap; flex-shrink: 0; }
.nav-link, .nav-trigger { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.85rem; border-radius: 8px; font-weight: 600; font-size: 0.92rem; color: var(--text-dark); background: none; border: none; font-family: inherit; cursor: pointer; transition: 0.2s; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }

.topbar { background: var(--bg-dark); color: #cbd5e1; font-size: 0.82rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; padding: 0.35rem 0; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 1rem; }
.topbar-divider { opacity: 0.25; }
.status-pill { display: inline-flex; align-items: center; gap: 0.45rem; color: #f8fafc; font-weight: 500; }
.status-dot { width: 8px; height: 8px; background: var(--accent-green); border-radius: 50%; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25); display: inline-block; }
.topbar-link:hover { color: #fff; }
.topbar-wa { background: rgba(16, 185, 129, 0.15); color: #34d399; padding: 0.2rem 0.65rem; border-radius: 50px; font-weight: 600; border: 1px solid rgba(16, 185, 129, 0.3); }
.topbar-wa:hover { background: var(--accent-green); color: #fff; }

.header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 78px; position: relative; }

.logo { display: inline-flex; align-items: center; gap: 0.75rem; }
.logo img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-size: 1.25rem; font-weight: 800; color: var(--text-dark); letter-spacing: -0.03em; }
.logo-sub { font-size: 0.72rem; font-weight: 600; color: var(--brand-blue); text-transform: uppercase; letter-spacing: 0.04em; }

.nav { display: flex; align-items: center; gap: 0.35rem; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link, .nav-trigger { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.55rem 0.95rem; border-radius: 8px; font-weight: 600; font-size: 0.94rem; color: var(--text-dark); background: none; border: none; font-family: inherit; cursor: pointer; transition: 0.2s; }
.nav-link:hover, .nav-item:hover .nav-trigger { background: var(--bg-light); color: var(--brand-blue); }
.chevron { transition: transform 0.2s ease; }
.nav-item:hover .chevron { transform: rotate(180deg); color: var(--brand-blue); }
.nav-badge { font-size: 0.68rem; font-weight: 700; background: #dbeafe; color: var(--brand-blue); padding: 0.15rem 0.45rem; border-radius: 50px; }

/* 2-Column Rich Service Mega-Dropdown */
.mega-dropdown { position: absolute; top: calc(100% - 6px); left: 0; width: 540px; background: var(--bg-white); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12); opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.2s ease; overflow: hidden; }
.nav-item:hover .mega-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 1rem; }
.mega-item { display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.85rem; border-radius: 10px; transition: 0.2s; }
.mega-item:hover { background: var(--bg-light); }
.mega-icon { width: 40px; height: 40px; border-radius: 8px; background: #eff6ff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.mega-title { display: block; font-weight: 700; font-size: 0.92rem; color: var(--text-dark); }
.mega-desc { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; line-height: 1.35; }
.mega-footer { background: var(--bg-light); padding: 0.75rem 1.25rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; }
.mega-footer a { font-weight: 700; color: var(--brand-blue); }

.header-actions { display: flex; align-items: center; gap: 0.65rem; }
.btn-wa-header { background: var(--bg-light); color: var(--text-dark); border: 1px solid var(--border); padding: 0.65rem 1rem; font-size: 0.88rem; gap: 0.45rem; }
.btn-wa-header:hover { border-color: var(--accent-green); background: #ecfdf5; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 1px solid var(--border); padding: 0.6rem; border-radius: 8px; cursor: pointer; }
.mobile-toggle span { width: 20px; height: 2px; background: var(--text-dark); display: block; }

/* ==========================================================================
   UPGRADED ASYMMETRIC SPLIT HERO
   ========================================================================== */
.hero { padding: 5rem 0 5.5rem; background: radial-gradient(circle at 85% 20%, #dbeafe 0%, transparent 45%), radial-gradient(circle at 10% 80%, #ecfdf5 0%, transparent 40%), var(--bg-white); border-bottom: 1px solid var(--border); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: center; }
.hero-content { text-align: left; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: #eff6ff; color: var(--brand-blue); border: 1px solid #bfdbfe; font-size: 0.82rem; font-weight: 700; padding: 0.4rem 0.9rem; border-radius: 50px; margin-bottom: 1.25rem; }
.badge-dot { width: 7px; height: 7px; background: var(--brand-blue); border-radius: 50%; }
.hero h1 { font-size: clamp(2.3rem, 4.2vw, 3.4rem); font-weight: 800; color: var(--text-dark); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 1.25rem; }
.hero-lead { font-size: 1.12rem; color: var(--text-body); margin: 0 0 2rem; max-width: 58ch; }
.hero-actions { display: flex; justify-content: flex-start; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.btn-lg { padding: 0.95rem 1.75rem; font-size: 1rem; border-radius: 8px; }

.hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-top: 1.75rem; border-top: 1px solid var(--border); }
.trust-item strong { display: block; font-size: 0.88rem; color: var(--text-dark); }
.trust-item span { font-size: 0.78rem; color: var(--text-muted); }

/* Right Column UI Bento Visual */
.hero-visual { position: relative; padding: 1.5rem 0; }
.ui-card-main { background: var(--bg-white); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12); overflow: hidden; }
.ui-card-header { background: var(--bg-dark); padding: 0.75rem 1.15rem; display: flex; align-items: center; justify-content: space-between; }
.ui-dots { display: flex; gap: 6px; }
.ui-dots span { width: 9px; height: 9px; border-radius: 50%; background: #475569; }
.ui-dots span:nth-child(1) { background: #ef4444; }
.ui-dots span:nth-child(2) { background: #f59e0b; }
.ui-dots span:nth-child(3) { background: #10b981; }
.ui-url { font-size: 0.72rem; color: #94a3b8; font-family: monospace; }
.ui-card-body { padding: 1.75rem; }
.ui-score-row { display: flex; align-items: center; gap: 1.15rem; padding-bottom: 1.5rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.ui-score-circle { width: 64px; height: 64px; border-radius: 50%; background: #ecfdf5; border: 4px solid var(--accent-green); color: #065f46; font-size: 1.4rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ui-score-title { font-weight: 800; color: var(--text-dark); font-size: 1.05rem; }
.ui-score-sub { font-size: 0.82rem; color: var(--text-muted); }
.ui-bars { display: grid; gap: 0.75rem; }
.ui-bar-row { display: flex; justify-content: space-between; align-items: center; background: var(--bg-light); padding: 0.75rem 1rem; border-radius: 8px; font-size: 0.86rem; font-weight: 600; color: var(--text-dark); border: 1px solid var(--border); }
.ui-tag-green { background: #dcfce7; color: #166534; font-size: 0.72rem; padding: 0.2rem 0.6rem; border-radius: 50px; font-weight: 700; }
.ui-tag-blue { background: #dbeafe; color: #1e40af; font-size: 0.72rem; padding: 0.2rem 0.6rem; border-radius: 50px; font-weight: 700; }

.ui-float { display: flex; align-items: center; gap: 0.75rem; background: var(--bg-white); border: 1px solid var(--border); padding: 0.85rem 1.15rem; border-radius: 12px; box-shadow: 0 12px 25px -5px rgba(15, 23, 42, 0.1); margin-top: 1rem; }
.ui-float-icon { font-size: 1.35rem; }
.ui-float strong { display: block; font-size: 0.88rem; color: var(--text-dark); line-height: 1.2; }
.ui-float span { font-size: 0.76rem; color: var(--text-muted); }

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-trust { grid-template-columns: 1fr; }
    .header-actions { display: none; }
    .mobile-toggle { display: flex; }
    .nav { display: none; position: absolute; top: 78px; left: 0; right: 0; height: auto; background: var(--bg-white); border-bottom: 2px solid var(--border); flex-direction: column; align-items: stretch; padding: 1.25rem; gap: 0.5rem; box-shadow: var(--shadow-md); }
    .nav.is-open { display: flex; }
    .mega-dropdown { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; margin-top: 0.5rem; }
    .mega-dropdown-grid { grid-template-columns: 1fr; }
}

/* SERVICES GRID */
.services { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 2.2rem; font-weight: 800; color: var(--text-dark); margin-bottom: 1rem; letter-spacing: -0.02em; }
.section-header p { font-size: 1.1rem; color: var(--text-body); max-width: 600px; margin: 0 auto; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.service-card { background: var(--bg-white); border: 1px solid var(--border); padding: 2.5rem; border-radius: 12px; transition: 0.3s ease; display: flex; flex-direction: column; align-items: flex-start; }
.service-card:hover { transform: translateY(-5px); border-color: var(--brand-blue); box-shadow: var(--shadow-md); }
.service-icon { width: 50px; height: 50px; background: var(--bg-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; font-size: 1.5rem; }
.service-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.75rem; }
.service-card p { font-size: 0.95rem; margin-bottom: 1.5rem; flex-grow: 1; }
.service-link { font-weight: 600; color: var(--brand-blue); margin-top: auto; display: inline-flex; align-items: center; gap: 0.5rem; }

/* ==========================================================================
   TRANSPARENT PRICING & MONTHLY CARE PLANS
   ========================================================================== */
.service-card-top { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 1.5rem; }
.service-card-top .service-icon { margin-bottom: 0; }
.service-price-tag { font-size: 0.78rem; font-weight: 700; background: #eff6ff; color: var(--brand-blue); border: 1px solid #bfdbfe; padding: 0.3rem 0.75rem; border-radius: 50px; }

.pricing-section { padding: 5.5rem 0; background: var(--bg-light); border-top: 1px solid var(--border); }
.section-eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand-blue); background: #dbeafe; padding: 0.3rem 0.85rem; border-radius: 50px; margin-bottom: 0.85rem; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: stretch; margin-bottom: 3.5rem; }
.price-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem 2rem; display: flex; flex-direction: column; justify-content: space-between; transition: 0.25s ease; box-shadow: var(--shadow-sm); position: relative; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.is-featured { border: 2px solid var(--brand-blue); box-shadow: 0 20px 40px -12px rgba(37, 99, 235, 0.15); transform: translateY(-6px); }

.price-badge { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.25rem 0.75rem; border-radius: 50px; background: var(--bg-light); color: var(--text-muted); margin-bottom: 1rem; }
.price-card.is-featured .price-badge { background: var(--brand-blue); color: #fff; }

.price-card h3 { font-size: 1.35rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.5rem; }
.price-value { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 1rem; }
.price-value strong { font-size: 2.75rem; font-weight: 800; color: var(--text-dark); letter-spacing: -0.03em; line-height: 1; }
.price-value span { font-size: 0.95rem; color: var(--text-muted); font-weight: 500; }
.price-desc { font-size: 0.92rem; color: var(--text-body); padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); }

.price-features { display: grid; gap: 0.8rem; margin-bottom: 2rem; flex-grow: 1; }
.price-features li { font-size: 0.92rem; color: var(--text-dark); display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 500; }
.price-features li::before { content: "✓"; color: var(--accent-green); font-weight: 800; flex-shrink: 0; }

.price-actions { display: flex; flex-direction: column; gap: 0.75rem; text-align: center; }
.btn-block { 
    width: 100%; 
    white-space: normal; /* Overrides the nowrap from the header */
    line-height: 1.4; 
    height: auto; 
    padding: 0.85rem 1rem;
}
.price-wa-link { font-size: 0.84rem; font-weight: 600; color: var(--text-muted); }
.price-wa-link:hover { color: var(--brand-blue); }

/* One-Time Project Anchors Box */
.anchors-box { background: var(--bg-white); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; box-shadow: var(--shadow-sm); }
.anchors-header { text-align: center; margin-bottom: 2rem; }
.anchors-header h3 { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.35rem; }
.anchors-header p { font-size: 0.95rem; color: var(--text-body); }

.anchors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.anchor-card { background: var(--bg-light); border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; display: flex; flex-direction: column; }
.anchor-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.anchor-icon { font-size: 1.5rem; }
.anchor-price { font-size: 0.82rem; font-weight: 800; background: #dcfce7; color: #166534; padding: 0.3rem 0.75rem; border-radius: 50px; }
.anchor-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; }
.anchor-card p { font-size: 0.88rem; color: var(--text-body); margin-bottom: 1.25rem; flex-grow: 1; }

@media (max-width: 960px) {
    .pricing-grid, .anchors-grid { grid-template-columns: 1fr; }
    .price-card.is-featured { transform: none; }
}

/* ZSALES SHOWCASE */
.zsales-section { background: var(--bg-light); padding: 5rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.zsales-container { display: flex; flex-direction: column; gap: 2rem; background: var(--bg-white); border: 1px solid var(--border); border-radius: 12px; padding: 2rem; box-shadow: var(--shadow-sm); }
.tab-buttons { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.tab-btn { background: none; border: none; font-size: 1rem; font-weight: 600; color: var(--text-muted); padding: 0.75rem 1.5rem; cursor: pointer; border-radius: 6px; transition: 0.2s; white-space: nowrap; font-family: inherit; }
.tab-btn:hover { background: var(--bg-light); color: var(--text-dark); }
.tab-btn.active { background: var(--brand-blue); color: #fff; }
.tab-content { position: relative; }
.tab-pane { display: none; animation: fadeIn 0.3s ease; }
.tab-pane.active { display: block; }
.tab-pane img { width: 100%; border-radius: 8px; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.tab-pane-text { margin-top: 1.5rem; text-align: center; max-width: 600px; margin-left: auto; margin-right: auto; }
.tab-pane-text h3 { color: var(--text-dark); margin-bottom: 0.5rem; font-size: 1.5rem; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   INTERACTIVE PORTFOLIO / CASE STUDIES 
   ========================================================================== */
.portfolio { padding: 5rem 0; background: var(--bg-white); }
.dossier-wrap { display: grid; grid-template-columns: 320px 1fr; background: var(--bg-white); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }

/* Left: Interactive Client Rail */
.dossier-nav { background: #f8fafc; border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.dossier-btn { text-align: left; background: transparent; border: none; border-bottom: 1px solid var(--border); padding: 1.5rem; cursor: pointer; display: flex; flex-direction: column; gap: 0.3rem; transition: 0.2s ease; font-family: inherit; }
.dossier-btn:last-child { border-bottom: none; }
.dossier-btn:hover { background: var(--bg-white); }
.dossier-btn.is-active { background: var(--bg-white); border-left: 4px solid var(--brand-blue); }
.dossier-btn__meta { font-size: 0.75rem; color: var(--brand-blue); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.dossier-btn__client { font-size: 1.15rem; font-weight: 800; color: var(--text-dark); }
.dossier-btn__sector { font-size: 0.85rem; color: var(--text-muted); }

/* Right: Content Panel */
.dossier-panel { display: none; padding: 3.5rem; animation: fadeIn 0.3s ease; }
.dossier-panel.is-active { display: block; }
.dossier-header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.dossier-header h3 { font-size: 2rem; font-weight: 800; color: var(--text-dark); line-height: 1.1; }
.dossier-status { color: var(--accent-green); font-weight: 600; font-size: 0.9rem; }
.dossier-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.dossier-tag { font-size: 0.8rem; font-weight: 500; background: var(--bg-white); border: 1px solid var(--border); padding: 0.35rem 0.85rem; border-radius: 50px; color: var(--text-dark); }
.dossier-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.dossier-cols h4 { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; font-weight: 700; }
.dossier-cols p { font-size: 0.95rem; color: var(--text-body); }

.editorial-quote { background: var(--bg-light); padding: 2rem; border-radius: 8px; border-left: 4px solid var(--brand-blue); }
.editorial-quote blockquote { font-size: 1.15rem; font-style: italic; color: var(--text-dark); margin-bottom: 0.75rem; font-weight: 500; }
.editorial-quote footer { font-size: 0.9rem; color: var(--text-body); }
.editorial-quote strong { color: var(--text-dark); font-weight: 700; }

/* ==========================================================================
   FOOTER & NATIVE DUAL LEAD CAPTURE FORM
   ========================================================================== */
.footer { background: var(--bg-dark); color: #cbd5e1; padding: 5.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; margin-bottom: 4rem; align-items: start; }
.footer-eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #38bdf8; margin-bottom: 0.75rem; }
.footer h2 { color: #fff; font-size: 2.2rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.2; letter-spacing: -0.02em; }
.footer p { margin-bottom: 1.75rem; font-size: 1.05rem; color: #94a3b8; }

.contact-links { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 2rem; }
.contact-links a { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1.05rem; color: #fff; font-weight: 600; }
.contact-links a:hover { color: #38bdf8; }

.footer-guarantee { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); padding: 1rem 1.25rem; border-radius: 10px; font-size: 0.86rem; color: #cbd5e1; line-height: 1.5; }
.footer-guarantee strong { color: #fff; }

.footer-form { background: #1e293b; padding: 2.25rem; border-radius: 16px; border: 1px solid #334155; display: flex; flex-direction: column; gap: 1.15rem; position: relative; box-shadow: 0 20px 40px -15px rgba(0,0,0,0.4); }
.form-row-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-label { display: block; font-size: 0.8rem; font-weight: 600; color: #cbd5e1; margin-bottom: 0.4rem; }

.footer-form input, .footer-form select, .footer-form textarea { 
    width: 100%; padding: 0.85rem 1rem; border-radius: 8px; 
    border: 1px solid #334155; background: #0f172a; color: #fff; 
    font-family: inherit; font-size: 0.95rem; transition: 0.2s;
}
.footer-form input:focus, .footer-form select:focus, .footer-form textarea:focus { 
    outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25); 
}

.form-actions { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0.75rem; margin-top: 0.25rem; }
.btn-wa-form { background: #059669; color: #fff; }
.btn-wa-form:hover { background: #047857; transform: translateY(-2px); color: #fff; }

.form-status { font-size: 0.88rem; font-weight: 600; border-radius: 8px; display: none; padding: 0.75rem 1rem; }
.form-status.is-success { display: block; background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.form-status.is-error { display: block; background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }

.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #334155; font-size: 0.88rem; color: #64748b; }

@media (max-width: 900px) {
    .footer-grid, .form-row-two, .form-actions { grid-template-columns: 1fr; }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .topbar-left { display: none; }
    .nav { display: none; }
    .hero-actions { flex-direction: column; }
    .dossier-wrap { grid-template-columns: 1fr; }
    .dossier-nav { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--border); }
    .dossier-btn { min-width: 280px; border-bottom: none; border-right: 1px solid var(--border); border-left: none !important; border-bottom: 4px solid transparent; }
    .dossier-btn.is-active { border-bottom: 4px solid var(--brand-blue); background: var(--bg-white); }
    .dossier-cols { grid-template-columns: 1fr; gap: 1.5rem; }
    .dossier-panel { padding: 2rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .tab-buttons { flex-direction: column; gap: 0.5rem; border-bottom: none; }
    .tab-btn { text-align: center; }
}
/* BUTTONS (Locked to single-line height) */
.btn { 
    display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
    padding: 0.8rem 1.5rem; font-weight: 600; font-size: 0.95rem; line-height: 1.2;
    border-radius: 8px; cursor: pointer; transition: 0.2s; text-align: center;
    white-space: nowrap; flex-shrink: 0; border: 1px solid transparent;
}
.btn-sm { padding: 0.58rem 1.1rem; font-size: 0.88rem; border-radius: 7px; }
.btn-primary { background: var(--brand-blue); color: #fff; }
.btn-primary:hover { background: var(--brand-blue-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.btn-outline { border: 1px solid var(--border); color: var(--text-dark); background: var(--bg-white); }
.btn-outline:hover { border-color: var(--text-muted); background: var(--bg-light); }

/* ==========================================================================
   PHASE 2: INNER PAGES (SERVICES & ZSALES LANDING PAGE)
   ========================================================================== */
.page-hero { padding: 4.5rem 0 4rem; text-align: center; background: radial-gradient(circle at 50% 0%, #dbeafe 0%, transparent 55%), var(--bg-white); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 800; color: var(--text-dark); max-width: 24ch; margin: 0 auto 1.15rem; line-height: 1.12; letter-spacing: -0.03em; }
.page-hero-lead { font-size: 1.12rem; color: var(--text-body); max-width: 65ch; margin: 0 auto 2rem; }
.zsales-hero-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.5rem; font-size: 0.88rem; font-weight: 600; color: var(--text-dark); }

/* Services Deep-Dive Cards */
.services-deep { padding: 4.5rem 0; background: var(--bg-light); }
.deep-card { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; background: var(--bg-white); border: 1px solid var(--border); border-radius: 16px; padding: 2.75rem; margin-bottom: 2rem; box-shadow: var(--shadow-sm); align-items: center; scroll-margin-top: 100px; }
.deep-card:last-child { margin-bottom: 0; }
.deep-meta { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.75rem; }
.deep-icon { font-size: 1.5rem; }
.deep-eyebrow { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand-blue); }
.deep-card h2 { font-size: 1.75rem; font-weight: 800; color: var(--text-dark); margin-bottom: 0.85rem; letter-spacing: -0.02em; }
.deep-summary { font-size: 0.98rem; color: var(--text-body); margin-bottom: 1.5rem; }
.deep-price-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.deep-card-right { background: var(--bg-light); border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; }
.deep-card-right h3 { font-size: 0.95rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-dark); margin-bottom: 1rem; }
.deep-card-right .price-features { margin-bottom: 0; }

/* 3-Step Process Section */
.process-section { padding: 5rem 0; background: var(--bg-white); border-top: 1px solid var(--border); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.process-card { background: var(--bg-light); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; }
.process-num { display: inline-block; font-size: 0.82rem; font-weight: 800; color: var(--brand-blue); background: #dbeafe; padding: 0.25rem 0.65rem; border-radius: 6px; margin-bottom: 1rem; }
.process-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.6rem; }
.process-card p { font-size: 0.92rem; color: var(--text-body); }

/* Comparison Table (ZSales vs Cloud POS) */
.comparison-section { padding: 5rem 0; background: var(--bg-white); border-top: 1px solid var(--border); }
.table-responsive { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); }
.comparison-table { width: 100%; border-collapse: collapse; text-align: left; background: var(--bg-white); }
.comparison-table th, .comparison-table td { padding: 1.15rem 1.5rem; border-bottom: 1px solid var(--border); font-size: 0.94rem; }
.comparison-table th { background: var(--bg-light); color: var(--text-dark); font-weight: 800; font-size: 1rem; }
.comparison-table .is-highlight { background: #eff6ff; color: var(--text-dark); }
.comparison-table th.is-highlight { background: var(--brand-blue); color: #fff; }

/* Plain-English FAQ Accordion */
.faq-section { padding: 5rem 0; background: var(--bg-white); border-top: 1px solid var(--border); }
.faq-container { max-width: 820px; }
.faq-list { display: grid; gap: 1rem; }
.faq-item { background: var(--bg-light); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem 1.5rem; }
.faq-item summary { font-weight: 700; font-size: 1.05rem; color: var(--text-dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.35rem; color: var(--brand-blue); font-weight: 800; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 0.85rem; padding-top: 0.85rem; border-top: 1px solid var(--border); font-size: 0.95rem; color: var(--text-body); }

@media (max-width: 900px) {
    .deep-card, .process-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .deep-card { padding: 1.75rem; }
}

/* ==========================================================================
   UI POLISH: ACTIVE NAV STATES, CLICKABLE CARDS & ZSALES CTA STRIP
   ========================================================================== */
.nav-link.is-current, .nav-trigger.is-current {
    color: var(--brand-blue);
    background: #eff6ff;
}
.mega-item.is-active-sub {
    background: #eff6ff;
    border-color: #bfdbfe;
}
.mega-item.is-active-sub .mega-title {
    color: var(--brand-blue);
}

/* Interactive Homepage Service Cards */
.service-title-link {
    color: var(--text-dark);
    transition: color 0.2s ease;
}
.service-card:hover .service-title-link {
    color: var(--brand-blue);
}
.service-card-actions {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Homepage ZSales Bottom Action Strip */
.zsales-cta-strip {
    margin-top: 2rem;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.35rem 1.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
}
.zsales-cta-text strong {
    display: block;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
}
.zsales-cta-text span {
    font-size: 0.88rem;
    color: var(--text-muted);
}
.zsales-cta-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}