/* ==========================================================================
   Squinchos - Light Theme & Full-Width Layout Stylesheet
   ========================================================================== */

/* 1. Design Tokens & Variables (Light Theme) */
:root {
    --bg: #F8F9FA; 
    --surface: #FFFFFF; 
    --surface-2: #F1F5F9; 
    --surface-3: #E2E8F0;

    --text: #121820; 
    --text-dim: #4A5568; 
    --text-faint: #718096;

    --accent: #E67E22;          /* DECORATIVE FILLS, ICONS, RULES ONLY */
    --accent-strong: #C2410C;   /* BUTTONS, LINKS, ACTIVE ACCENT TEXT */
    --accent-hover: #9A3412;
    --accent-subtle: #FEF0E6;
    --accent-ink: #FFFFFF;      /* White text on --accent-strong */

    --border: #E2E8F0; 
    --border-soft: #EDF2F7; 
    --focus-ring: #C2410C;

    --success: #15803D; 
    --success-bg: #DCFCE7;
    --warning: #A16207; 
    --warning-bg: #FEF3C7;
    --danger: #DC2626;  
    --danger-bg: #FEE2E2;

    --shadow-sm: 0 1px 2px rgba(18, 24, 32, .06);
    --shadow-md: 0 4px 12px rgba(18, 24, 32, .08);
    --shadow-lg: 0 12px 32px rgba(18, 24, 32, .10);

    --r-sm: 4px; 
    --r-md: 8px; 
    --r-lg: 12px; 
    --r-pill: 999px;
    --maxw: 1440px; /* Full-width Container Layout */

    --ease: cubic-bezier(.2, .8, .2, 1);
    --dur-fast: 120ms; 
    --dur: 220ms; 
    --dur-slow: 420ms;

    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* 2. Global Resets & Layout */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
    background-color: var(--bg);
}

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

a {
    color: var(--accent-strong);
    text-decoration: none;
    transition: color var(--dur) var(--ease);
}

a:hover {
    color: var(--accent-hover);
}

/* Readability - Cap line lengths for prose */
p {
    max-width: 70ch;
    color: var(--text-dim);
}

h1, h2 {
    max-width: 34ch;
    color: var(--text);
}

h3, h4, h5, h6 {
    color: var(--text);
}

/* Accessibility Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 4px;
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Utility classes */
.mono-num {
    font-family: var(--mono);
    font-variant-numeric: tabular-nums slashed-zero;
}

.pron {
    font-style: italic;
    font-size: 0.9em;
    color: var(--text-dim);
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

.section-title, .section-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* Section bands alternating backgounds */
section, .section-band {
    width: 100%;
    padding: 80px 0;
}

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

.bg-bg {
    background-color: var(--bg);
}

/* 3. Rebuilt Header Styles */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 72px; /* Fixed Height */
    display: flex;
    align-items: center;
}

.header-container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-img {
    width: 36px;
    height: 36px;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-brand {
    font-size: 18px; /* Fixed sizing */
    font-weight: 600;
    color: var(--text);
    line-height: 1.1;
}

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

.logo-descriptor {
    font-size: 10px; /* Fixed sizing */
    font-weight: 500;
    color: var(--text-dim);
    letter-spacing: .08em;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .logo-descriptor {
        display: none; /* Hide below 1100px to fit on one row */
    }
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
}

.nav-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--text);
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
    flex-grow: 1;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-link {
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap; /* Prevent nav labels from wrapping */
}

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

.nav-link.active {
    border-color: var(--accent-strong);
    color: var(--accent-strong);
}

.header-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* WhatsApp Icon-Only Circle Outline Button */
.btn-whatsapp-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    background: none;
    border: 1px solid var(--border);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.btn-whatsapp-circle:hover {
    background-color: var(--surface-2);
    border-color: var(--text-faint);
}

.icon-wa {
    width: 18px;
    height: 18px;
}

/* 4. Buttons (WCAG Contrast AA Compliant) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--r-md);
    border: none;
    cursor: pointer;
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--accent-strong);
    color: var(--accent-ink); /* CRITICAL Rule: White text on --accent-strong passes AA */
}

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

.btn-secondary {
    background-color: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background-color: var(--surface-2);
}

.btn-ghost {
    background: none;
    color: var(--text-dim);
    border: 1px solid transparent;
}

.btn-ghost:hover {
    color: var(--text);
    background-color: var(--surface-2);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12.5px;
    border-radius: var(--r-sm);
}

/* 5. Hero Section */
.hero {
    position: relative;
    padding: 120px 0 80px;
    text-align: center;
    background-color: var(--bg);
}

/* Blueprint Grid (Decorative fill using --accent hex) */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(230, 126, 34, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(230, 126, 34, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 75%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--text);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 680px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

/* Trust Strip */
.trust-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background-color: var(--surface);
    padding: 20px 0;
}

.trust-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    font-size: 13.5px;
    color: var(--text-dim);
    font-weight: 500;
}

/* Features Grid (Balanced 3-column Grid) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid */
    gap: 32px;
    margin-bottom: 32px;
}

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

.feature-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.feature-card:hover {
    border-color: var(--border-soft);
    transform: translateY(-4px);
}

/* Full-Width Feature Strip for the 5th Feature (White-Label) to avoid orphans */
.feature-strip {
    width: 100%;
}

.feature-strip .feature-card {
    display: flex;
    gap: 32px;
    align-items: center;
    text-align: left;
}

@media(max-width: 768px) {
    .feature-strip .feature-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    font-size: 14.5px;
    color: var(--text-dim);
    position: relative;
    padding-left: 20px;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-strong); /* Using strong accent color for checked list items */
    font-weight: 700;
}

/* Device Screenshot Frame */
.screenshots-section {
    text-align: center;
}

.screenshot-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--surface);
    border: 8px solid var(--surface-3);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.app-screenshot {
    width: 100%;
    height: auto;
    display: block;
    background-color: #FFF;
}

/* Comparison Table Layout */
.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background-color: var(--surface);
    margin-bottom: 24px;
    width: 100%;
}

table.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

table.comparison-table th, table.comparison-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

table.comparison-table th {
    background-color: var(--surface-2);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dim);
}

table.comparison-table td {
    font-size: 14px;
    color: var(--text-dim);
}

table.comparison-table tr td:first-child, table.comparison-table tr th:first-child {
    font-weight: 600;
    color: var(--text);
}

table.comparison-table tr td:nth-child(2) {
    color: var(--text);
    font-weight: 500;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    background-color: rgba(194, 65, 12, 0.02); /* Subtle highlight using accent-strong */
}

.comparison-footnote {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.5;
}

/* Pricing Section Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto 48px;
}

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

.pricing-card.best-value {
    border-color: var(--accent-strong);
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.badge-best-value {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-strong);
    color: var(--accent-ink);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    text-transform: uppercase;
}

.pricing-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
}

.setup-price-row {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-soft);
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.price-currency {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dim);
}

.price-val {
    font-size: 40px;
    font-weight: 800;
    color: var(--text);
}

.price-period {
    font-size: 14px;
    color: var(--text-dim);
}

.price-savings {
    font-size: 13px;
    color: var(--success);
    font-weight: 600;
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
    margin-top: auto;
}

.pricing-features li {
    font-size: 14px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: "✓";
    color: var(--success);
    font-weight: 700;
}

/* Pricing Note Block */
.pricing-note {
    max-width: 900px;
    margin: 0 auto 48px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 24px;
    font-size: 13.5px;
    color: var(--text-dim);
    line-height: 1.6;
}

/* Setup fee list section */
.setup-fee-details {
    max-width: 900px;
    margin: 0 auto 48px;
}

.setup-fee-details h4 {
    font-size: 20px;
    color: var(--text);
    margin-bottom: 16px;
}

.setup-fee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.setup-fee-item {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 16px;
    font-size: 13.5px;
    color: var(--text-dim);
}

.setup-fee-item strong {
    color: var(--text);
    display: block;
    margin-bottom: 4px;
}

/* Founding Offer Banner */
.founding-offer-banner {
    max-width: 900px;
    margin: 0 auto;
    border: 1px dashed var(--accent-strong);
    background-color: var(--accent-subtle);
    border-radius: var(--r-lg);
    padding: 32px;
    text-align: center;
}

.founding-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-strong);
    margin-bottom: 8px;
}

.founding-desc {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.founding-counter {
    display: inline-block;
    background-color: var(--surface);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--r-pill);
    border: 1px solid var(--border);
}

/* Roadmap Section (Balanced 4-column layout on desktop) */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Balanced 4 columns, no orphans */
    gap: 24px;
}

@media(max-width: 1024px) {
    .roadmap-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 grid on tablets */
    }
}

@media(max-width: 580px) {
    .roadmap-grid {
        grid-template-columns: 1fr; /* 1 column on phones */
    }
}

.roadmap-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 24px;
}

.roadmap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.roadmap-tag {
    background-color: var(--accent-subtle);
    color: var(--accent-hover);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--r-pill);
    text-transform: uppercase;
}

/* FAQ Accordion Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-answer {
    font-size: 14.5px;
    color: var(--text-dim);
    margin-top: 12px;
    line-height: 1.6;
    display: none;
}

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

.faq-question::after {
    content: '+';
    font-size: 20px;
    font-weight: 500;
    color: var(--text-faint);
    transition: transform var(--dur) var(--ease);
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

/* Trust Block CTA */
.trust-cta-block {
    text-align: center;
}

/* 6. Free BOQ Calculator Styles */
.calculator-container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 40px 0;
}

.calculator-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Full-width stretch alignment */
    gap: 40px;
}

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

.calc-inputs-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.calc-results-column {
    background-color: var(--surface-2);
    border-radius: var(--r-md);
    padding: 32px;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
}

.form-field input, .form-field select {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    color: var(--text);
    padding: 12px 14px;
    font-family: var(--sans);
    font-size: 14px;
    width: 100%;
}

.form-field input.mono, .form-field select.mono {
    font-family: var(--mono);
}

.form-field input:focus, .form-field select:focus {
    border-color: var(--accent-strong);
    outline: none;
}

/* Results Formatting */
.result-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.result-header-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.result-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--border);
    padding-bottom: 8px;
}

.result-label {
    font-size: 14.5px;
    color: var(--text-dim);
}

.result-val {
    font-family: var(--mono);
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.result-total-section {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.result-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.result-total-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.result-total-val {
    font-family: var(--mono);
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-strong);
}

/* PDF/Print Gate Form */
.pdf-gate-form {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    margin-top: 24px;
}

.gate-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.gate-desc {
    font-size: 12.5px;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.gate-input-row {
    display: flex;
    gap: 12px;
}

.gate-input-row input {
    flex: 1;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    color: var(--text);
    padding: 12px 14px;
    font-size: 14px;
}

.gate-input-row input:focus {
    border-color: var(--accent-strong);
    outline: none;
}

/* Print Summary Box - Revealed after lead submitted */
.print-summary-box {
    display: none;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 40px;
    margin-top: 32px;
}

.print-summary-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.print-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* 7. City Pages & SEO Templates */
.seo-header {
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
}

.seo-meta-tag {
    background-color: var(--accent-subtle);
    color: var(--accent-hover);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--r-pill);
    display: inline-block;
    margin-bottom: 16px;
}

.seo-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 64px;
    max-width: calc(70ch + 340px + 64px);
    margin: 0 auto;
}

@media(max-width: 900px) {
    .seo-content-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}

.seo-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin: 32px 0 16px;
}

.seo-body p {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 20px;
}

.seo-body ul {
    list-style: none;
    margin-bottom: 24px;
}

.seo-body ul li {
    font-size: 14.5px;
    color: var(--text-dim);
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.seo-body ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-strong);
}

.seo-sidebar {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px;
    height: fit-content;
    box-shadow: var(--shadow-sm);
}

/* 8. Footer Styles */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
    background-color: var(--surface);
}

.footer-container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

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

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

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-about {
    font-size: 13.5px;
    color: var(--text-dim);
    line-height: 1.6;
}

.footer-heading {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 13.5px;
    color: var(--text-dim);
}

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

.footer-contact-info {
    font-size: 13.5px;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-dim);
}

.footer-extra-notes {
    font-size: 12px;
    color: var(--text-dim);
}

/* 9. Interactive Live BOQ Widget Styles */
.mini-boq-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.mini-boq-tabs {
    display: flex;
    gap: 4px;
    background-color: var(--surface-2);
    padding: 4px;
    border-radius: var(--r-md);
    margin-bottom: 16px;
}

.mini-boq-tab {
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    padding: 8px;
    border-radius: var(--r-sm);
    cursor: pointer;
    user-select: none;
    color: var(--text-dim);
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.mini-boq-tab.active {
    background-color: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.mini-boq-input-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.mini-boq-input-row input {
    width: 100%;
    background-color: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--r-sm);
    padding: 8px 10px;
    font-size: 13px;
}

.mini-boq-results {
    background-color: var(--surface-2);
    border-radius: var(--r-sm);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid var(--border);
}

.mini-boq-line {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
}

.mini-boq-line span:first-child {
    color: var(--text-dim);
}

.mini-boq-line span:last-child {
    color: var(--text);
    font-weight: 600;
    font-family: var(--mono);
}

.mini-boq-total {
    border-top: 1px solid var(--border);
    padding-top: 8px;
    margin-top: 4px;
    font-weight: 700;
}

.mini-boq-total span:last-child {
    color: var(--accent-strong);
    font-size: 14.5px;
}

/* 10. Responsive Design Helper Rules */
@media(max-width: 900px) {
    .site-header {
        position: relative;
    }
    .header-container {
        padding: 0 24px;
    }
    .nav-toggle {
        display: flex;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--surface);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 24px;
        gap: 24px;
        z-index: 101;
        box-shadow: var(--shadow-md);
    }
    .main-nav.open {
        display: flex;
    }
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }
    .nav-link {
        display: block;
        width: 100%;
    }
    .header-ctas {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }
    .btn-whatsapp-circle {
        width: 100%;
        border-radius: var(--r-md);
        height: auto;
        padding: 10px;
        gap: 8px;
    }
    .btn-whatsapp-circle::after {
        content: 'WhatsApp Onboarding Support';
        font-size: 14px;
        font-weight: 600;
    }
    .btn-demo-header {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media(max-width: 768px) {
    h1 {
        font-size: 36px;
    }
    .hero-subtitle {
        font-size: 15px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================================================
   11. Print Layout (@media print)
   ========================================================================== */
@media print {
    .site-header, 
    .site-footer,
    .hero-actions,
    .trust-strip,
    .pricing-note,
    .pdf-gate-form,
    .print-actions,
    .btn,
    .calc-inputs-column,
    input, 
    select,
    button,
    nav {
        display: none !important;
    }

    body, html {
        background-color: #FFF !important;
        color: #000 !important;
        font-family: 'Helvetica Neue', Arial, sans-serif !important;
        font-size: 12pt !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .calculator-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .print-summary-box {
        display: block !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        background-color: #FFF !important;
        color: #000 !important;
    }

    .print-summary-header {
        border-bottom: 2px solid #000 !important;
        margin-bottom: 20px !important;
        padding-bottom: 10px !important;
    }

    .print-summary-header h2 {
        color: #000 !important;
        font-size: 24pt !important;
        margin: 0 0 5px 0 !important;
    }

    .print-summary-header p {
        color: #666 !important;
        font-size: 10pt !important;
    }

    table {
        width: 100% !important;
        border-collapse: collapse !important;
        margin: 20px 0 !important;
    }

    th, td {
        border: 1px solid #CCC !important;
        padding: 8px 12px !important;
        text-align: left !important;
        font-size: 10pt !important;
        color: #000 !important;
    }

    th {
        background-color: #EEE !important;
        font-weight: bold !important;
    }

    .result-total-val {
        color: #000 !important;
        font-size: 16pt !important;
        font-weight: bold !important;
    }

    .print-branding {
        display: block !important;
        text-align: center;
        margin-top: 50px;
        font-size: 9pt;
        color: #999;
        border-top: 1px solid #EEE;
        padding-top: 10px;
    }
}
