/* Cairo font loaded via <link> in HTML for performance */

/* Fallback font metrics to reduce CLS when Cairo loads */
@font-face {
    font-family: 'Cairo Fallback';
    src: local('Arial'), local('Tahoma');
    size-adjust: 97%;
    ascent-override: 100%;
    descent-override: 25%;
    line-gap-override: 0%;
}

:root {
    --bg-page: #f6f7f9;
    --bg-surface: #ffffff;
    --bg-subtle: #f1f5f9;
    --bg-navy: #0f172a;
    --bg-navy-mid: #1e293b;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --border-strong: #cbd5e1;
    --brand-primary: #1e3a8a;
    --brand-primary-hover: #172554;
    --accent-color: #1e3a8a;
    --accent-ink: color-mix(in srgb, var(--accent-color) 78%, #0f172a);
    --accent-tint: color-mix(in srgb, var(--accent-color) 9%, #ffffff);
    --accent-border: color-mix(in srgb, var(--accent-color) 26%, #e2e8f0);
    --success-color: #15803d;
    --success-tint: #f0fdf4;
    --success-border: #bbf7d0;
    --whatsapp-bg: #15803d;
    --whatsapp-hover: #166534;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body,
button,
input,
select,
textarea {
    font-family: 'Cairo', 'Cairo Fallback', 'Segoe UI', Tahoma, Arial, sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    background-color: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.site-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

/* Classic Corporate Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background-color: var(--bg-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-sm);
}

.topbar-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand-mark {
    width: 195px;
    height: 40px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #cbd5e1;
}

.nav-links a {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-links a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-links a.whatsapp-link {
    background-color: var(--whatsapp-bg);
    color: #ffffff;
    padding: 8px 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-right: 6px;
}

.nav-links a.whatsapp-link:hover {
    background-color: var(--whatsapp-hover);
    color: #ffffff;
}

.nav-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-radius: var(--radius-sm);
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 0 0 18px;
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--text-secondary);
    font-weight: 600;
}

.breadcrumbs a:hover {
    color: var(--brand-primary);
    text-decoration: underline;
}

.breadcrumbs span[aria-current="page"] {
    color: var(--text-primary);
    font-weight: 700;
}

/* Buttons */
.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
    background-color: var(--accent-ink);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: color-mix(in srgb, var(--accent-ink) 86%, #000000);
}

.btn-secondary {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    border-color: var(--border-strong);
}

.btn-secondary:hover {
    background-color: var(--bg-subtle);
    border-color: var(--text-muted);
}

.btn-whatsapp {
    background-color: var(--whatsapp-bg);
    color: #ffffff;
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
}

/* Hero Section */
.hero-band {
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    padding: 52px 0 56px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 36px;
    align-items: center;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-ink);
    background-color: var(--accent-tint);
    border: 1px solid var(--accent-border);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

h1, h2, h3, h4 {
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.hero-content h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.28;
    font-weight: 800;
}

.hero-content h1 .highlight-ink {
    color: var(--brand-primary);
}

.hero-copy {
    margin: 16px 0 0;
    color: var(--text-secondary);
    font-size: 16.5px;
    line-height: 1.85;
    max-width: 620px;
}

.hero-trust {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-trust i {
    color: var(--success-color);
}

/* Classic Sector Matrix / Summary Panel */
.summary-panel {
    background-color: var(--bg-page);
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--accent-ink);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    min-height: 320px;
    contain: layout;
}

.summary-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

.summary-panel-head strong {
    font-size: 16px;
    font-weight: 800;
}

.summary-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-ink);
    background-color: var(--accent-tint);
    border: 1px solid var(--accent-border);
    padding: 3px 9px;
    border-radius: var(--radius-sm);
}

.sector-matrix {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.sector-item {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-right: 3px solid var(--sector-accent, var(--brand-primary));
    border-radius: var(--radius-sm);
    padding: 13px 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sector-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--border-strong);
    border-right-color: var(--sector-accent, var(--brand-primary));
}

.sector-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.sector-item-top i {
    color: var(--sector-accent, var(--brand-primary));
    font-size: 17px;
}

.sector-item-top span {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-secondary);
}

.sector-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.sector-item small {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.directory-mini {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.directory-mini-title {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 9px;
}

.directory-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.directory-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: border-color 0.15s ease, color 0.15s ease;
}

.directory-tag:hover {
    border-color: var(--tag-accent, var(--brand-primary));
    color: var(--text-primary);
}

.directory-tag i {
    color: var(--tag-accent, var(--brand-primary));
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.metric-box {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
}

.metric-box small {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.metric-box strong {
    display: block;
    margin-top: 4px;
    font-size: 19px;
    font-weight: 800;
    color: var(--text-primary);
}

/* Sections */
.section {
    padding: 56px 0;
}

.section-alt {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.section-title {
    margin: 0;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.3;
    font-weight: 800;
}

.section-text {
    margin: 8px 0 0;
    color: var(--text-secondary);
    max-width: 700px;
    font-size: 15.5px;
    line-height: 1.75;
}

/* Category Filter Tabs */
.catalog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.filter-btn {
    border: 1px solid var(--border-strong);
    background-color: var(--bg-surface);
    color: var(--text-secondary);
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.filter-btn.is-active {
    background-color: var(--bg-navy);
    color: #ffffff;
    border-color: var(--bg-navy);
}

/* Product Cards with Per-System Distinctive Human Colors */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.product-card {
    --sys-color: var(--card-accent, #0284c7);
    --sys-ink: color-mix(in srgb, var(--sys-color) 48%, #0f172a);
    --sys-tint: color-mix(in srgb, var(--sys-color) 10%, #ffffff);
    --sys-border: color-mix(in srgb, var(--sys-color) 28%, #e2e8f0);

    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--sys-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.product-card[hidden] {
    display: none !important;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--border-strong);
    border-top-color: var(--sys-color);
}

.product-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.product-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    background-color: var(--sys-tint);
    border: 1px solid var(--sys-border);
    color: var(--sys-ink);
    font-size: 20px;
}

.tag {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--sys-ink);
    background-color: var(--sys-tint);
    border: 1px solid var(--sys-border);
    border-radius: var(--radius-sm);
    padding: 3px 9px;
}

.product-card h3 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 800;
}

.product-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.feature-list {
    display: grid;
    gap: 7px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.feature-list span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-list i {
    color: var(--sys-ink);
    font-size: 14px;
    flex-shrink: 0;
}

.details-link {
    margin-top: auto;
    padding-top: 16px;
    color: var(--sys-ink, var(--brand-primary));
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.details-link:hover {
    text-decoration: underline;
}

/* Pricing Section */
.pricing-toolbar {
    display: flex;
    justify-content: center;
    margin: 24px 0;
}

.billing-toggle {
    display: inline-grid;
    grid-template-columns: repeat(3, minmax(125px, 1fr));
    gap: 4px;
    padding: 4px;
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
}

.billing-toggle button {
    border: 0;
    border-radius: var(--radius-sm);
    padding: 9px 14px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.billing-toggle button:hover {
    color: var(--text-primary);
}

.billing-toggle button.is-active {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.billing-toggle .save-chip {
    border-radius: 4px;
    padding: 2px 6px;
    background-color: var(--success-tint);
    color: var(--success-color);
    border: 1px solid var(--success-border);
    font-size: 11px;
    font-weight: 700;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

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

.pricing-card {
    position: relative;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 22px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.pricing-card.is-highlight {
    border: 2px solid var(--accent-ink);
    box-shadow: var(--shadow-md);
}

.plan-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--accent-tint);
    color: var(--accent-ink);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-sm);
    padding: 3px 9px;
    font-size: 11.5px;
    font-weight: 700;
}

.pricing-card [hidden] {
    display: none !important;
}

.pricing-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 800;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 10px;
}

.price strong {
    font-size: 34px;
    line-height: 1.1;
    color: var(--text-primary);
    font-weight: 800;
}

.price span {
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 600;
}

.monthly-price,
.annual-discount,
.trial-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 8px;
}

.monthly-price {
    color: var(--text-secondary);
}

.annual-discount {
    background-color: var(--success-tint);
    color: var(--success-color);
    border: 1px solid var(--success-border);
    padding: 3px 9px;
    border-radius: var(--radius-sm);
    width: fit-content;
}

.trial-note {
    color: var(--accent-ink);
    margin-bottom: 12px;
}

.billing-context {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 12.5px;
    color: var(--text-secondary);
}

.onpremise-note {
    background-color: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    color: var(--text-primary);
}

.pricing-card p {
    margin: 0 0 16px;
    color: var(--text-secondary);
    font-size: 13.5px;
    line-height: 1.65;
}

.pricing-card ul {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.pricing-card li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    color: var(--text-primary);
}

.pricing-card li i {
    color: var(--success-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.pricing-card .btn {
    margin-top: auto;
    width: 100%;
}

/* Feature Grid / Platform Standards */
.erp-grid,
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

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

.feature-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.feature-card i {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background-color: var(--accent-tint);
    border: 1px solid var(--accent-border);
    color: var(--accent-ink);
    font-size: 19px;
}

.feature-card h3 {
    margin: 14px 0 6px;
    font-size: 17px;
    font-weight: 700;
}

.feature-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 13.5px;
    line-height: 1.7;
}

/* Split Band & Fit List */
.split-band {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 22px;
    align-items: stretch;
}

.plan-card,
.section-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.plan-card h3 {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 800;
}

.plan-list {
    display: grid;
    gap: 12px;
}

.plan-list div {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.75;
}

.plan-list i {
    color: var(--success-color);
    margin-top: 4px;
    flex-shrink: 0;
}

.crm-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.crm-strip a,
.crm-strip div {
    border: 1px solid var(--border-light);
    background-color: var(--bg-page);
    border-radius: var(--radius-sm);
    padding: 12px;
    display: grid;
    align-content: center;
    gap: 6px;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.crm-strip a:hover {
    background-color: var(--bg-surface);
    border-color: var(--strip-accent, var(--brand-primary));
}

.crm-strip i {
    color: var(--strip-accent, var(--brand-primary));
    font-size: 19px;
}

.crm-strip strong {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.list-grid span {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    border: 1px solid var(--border-light);
    background-color: var(--bg-page);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
}

.list-grid i {
    color: var(--success-color);
    margin-top: 3px;
    flex-shrink: 0;
}

/* Branch Tiers */
.branch-tier-wrap {
    margin-top: 24px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 22px;
}

.branch-tier-head h3 {
    margin: 0;
    font-size: 20px;
}

.branch-tier-head p {
    margin: 6px 0 16px;
    color: var(--text-secondary);
    font-size: 14px;
}

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

.branch-tier-card {
    border: 1px solid var(--border-light);
    background-color: var(--bg-page);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.branch-tier-card strong {
    display: block;
    font-size: 17px;
    margin-bottom: 4px;
}

.branch-tier-card span {
    display: block;
    color: var(--accent-ink);
    font-weight: 700;
    font-size: 13.5px;
    margin-bottom: 8px;
}

.branch-tier-prices {
    display: grid;
    gap: 6px;
    margin: 10px 0;
    padding: 10px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.branch-tier-prices div {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
}

.branch-tier-prices em {
    font-style: normal;
}

.branch-tier-prices b {
    color: var(--text-primary);
}

.branch-tier-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 13px;
}

/* Final CTA */
.final-cta {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-right: 4px solid var(--accent-ink);
    border-radius: var(--radius-md);
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin: 16px 0 48px;
    box-shadow: var(--shadow-sm);
}

.final-cta h2 {
    margin: 0 0 6px;
    font-size: 25px;
    font-weight: 800;
}

.final-cta p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
}

/* Classic Corporate Footer */
.site-footer {
    background-color: var(--bg-navy);
    color: #cbd5e1;
    padding: 40px 0 28px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    width: 170px;
    margin-bottom: 12px;
}

.footer-desc {
    margin: 0;
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.75;
    max-width: 340px;
}

.site-footer h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: #94a3b8;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 980px) {
    .hero-grid,
    .split-band,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .erp-grid,
    .feature-grid,
    .pricing-grid,
    .pricing-grid.cols-3,
    .branch-tier-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        left: 0;
        background-color: var(--bg-navy);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding: 12px 16px;
        flex-direction: column;
        align-items: stretch;
        box-shadow: var(--shadow-md);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a.whatsapp-link {
        margin-right: 0;
        justify-content: center;
    }
}

@media (max-width: 620px) {
    .site-shell {
        width: min(100% - 24px, 1180px);
    }

    .product-grid,
    .erp-grid,
    .feature-grid,
    .pricing-grid,
    .pricing-grid.cols-3,
    .branch-tier-grid,
    .list-grid,
    .metric-grid,
    .sector-matrix,
    .crm-strip {
        grid-template-columns: 1fr;
    }

    .billing-toggle {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .final-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-mark {
        width: 160px;
    }
}
