@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');

/* =========================================================
   JJM EQUIPMENTS - PRECISION INDUSTRIAL BLUE & ICE WHITE THEME
   High-Precision Commercial Food Processing Machinery
   Coimbatore, Tamil Nadu, India
   =========================================================
   CSS UNIT RULES & ZERO-PX RESPONSIVE ARCHITECTURE:
   * rem  - typography, padding, margins, gaps, component sizing
   * em   - contextually relative typography & spacing
   * %    - fluid widths and flexible layouts
   * dvw  - dynamic viewport-width scaling
   * dvh  - dynamic viewport-height scaling
   * fr   - CSS Grid fraction tracks
   * ch   - readable typographical widths (optimal line length)
   * clamp() - fluid auto-scaling between viewports
   * min() / max() - responsive boundary constraints
   * calc() - mathematical unit combinations
   * minmax() - adaptive grid tracks
   * px   - reserved strictly for hair-line borders & micro-precision dots
========================================================= */

/* ================= CSS VARIABLES & DESIGN TOKENS ================= */
:root {
    /* Viewport & Safe-Area Inset Tokens */
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --tap-min: 2.75rem; /* Accessible touch target */
    --drawer-width: min(86dvw, 23rem);

    /* Palette: Accent (#1B6A45) */
    --brand-blue: #1B6A45;         /* Primary Accent */
    --brand-blue-hover: #155436;   /* Deep Accent Hover */
    --brand-blue-light: #247D53;   /* Light Accent */
    --brand-blue-sky: #1B6A45;     /* Accent Callout */
    --brand-blue-tint: #EAF4EE;    /* Soft Accent Tint */
    --brand-blue-subtle: #D5EBDD;  /* Medium Accent Tint */
    --brand-blue-border: #B6DFC9;  /* Accent Border */

    /* Palette: Premium Detail (#C59B3F) */
    --premium-gold: #C59B3F;       /* Premium Detail Accent */
    --premium-gold-hover: #A6802C; /* Deep Gold Hover */
    --premium-gold-tint: rgba(197, 155, 63,  0.12);
    --premium-gold-border: rgba(197, 155, 63,  0.35);

    /* Palette: Heading & Deep Contrast (#0F2B1D) */
    --navy-dark: #0F2B1D;          /* Heading Tone */
    --navy-slate: #0F2B1D;         /* High-Contrast Headings */
    --navy-card: #FFFFFF;          /* Card Background */
    --navy-border: #E1ECE5;        /* Subtle Border */

    /* Grays & Neutrals */
    --gray-900: #0F2B1D;           /* Heading Tone */
    --gray-800: #24382D;           /* Body Text */
    --gray-700: #24382D;           /* Body Secondary */
    --gray-600: #5C7367;           /* Muted Text */
    --gray-500: #5C7367;           /* Muted Icons / Labels */
    --gray-400: #879C91;
    --gray-300: #BFCECA;
    --gray-200: #E1ECE5;           /* Border Neutral */
    --gray-100: #f1f5f9;
    --gray-50: #F7FAF8;            /* Background Neutral */
    --white: #FFFFFF;              /* Cards */

    /* Surfaces */
    --bg-base: #F7FAF8;            /* Page Background */
    --bg-surface: #FFFFFF;         /* Cards */
    --bg-surface-elevated: #FFFFFF;/* Elevated Cards */
    --bg-surface-card: #FFFFFF;    /* Component Cards */
    --bg-surface-subtle: #F7FAF8;  /* Subtle Card Tint */

    /* Borders */
    --border-subtle: #E1ECE5;      /* Border Standard */
    --border-medium: #E1ECE5;      /* Border Standard */
    --border-blue: #B6DFC9;
    --border-dark: #0F2B1D;

    /* Typography Colors */
    --text-pure: #0F2B1D;          /* Headings */
    --text-primary: #24382D;       /* Body */
    --text-secondary: #5C7367;     /* Muted Text */
    --text-muted: #5C7367;         /* Secondary Muted */

    /* Legacy Tokens */
    --brand-black: #0F2B1D;
    --brand-black-hover: #155436;
    --brand-orange: #1B6A45;

    /* Gradients */
    --steel-grad: linear-gradient(135deg, #FFFFFF 0%, #F7FAF8 50%, #E1ECE5 100%);
    --steel-shine: linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.85) 50%, rgba(255,255,255,0) 70%);
    --laser-grad: linear-gradient(90deg, transparent, #1B6A45, transparent);
    --blue-grad: linear-gradient(135deg, #1B6A45 0%, #247D53 100%);
    --gold-grad: linear-gradient(135deg, #C59B3F 0%, #d8b25a 100%);

    /* Relative Dimensions in REM */
    --container-max: 77.5rem;   /* ~1240px */
    --header-height: 4.5rem;    /* ~72px */
    --radius-sm: 0.375rem;      /* ~6px */
    --radius-md: 0.75rem;       /* ~12px */
    --radius-lg: 1.125rem;      /* ~18px */
    --radius-pill: 9999px;

    /* Fluid Shadows */
    --shadow-sm: 0 0.0625rem 0.25rem rgba(15, 43, 29,  0.05);
    --shadow-md: 0 0.25rem 1.25rem rgba(15, 43, 29,  0.07);
    --shadow-lg: 0 0.75rem 2.2rem rgba(15, 43, 29,  0.09);
    --shadow-blue: 0 0.25rem 1rem rgba(27, 106, 69,  0.22);
    --shadow-blue-lg: 0 0.625rem 1.55rem rgba(27, 106, 69,  0.3);

    /* Fonts - Modern Precision Industrial Typography */
    --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Transitions */
    --transition-fast: 0.16s ease;
    --transition-smooth: 0.25s ease;
}

/* Dark Mode Tokens */
[data-theme="dark"] {
    --bg-base: #0F2B1D;
    --bg-surface: #143826;
    --bg-surface-elevated: #194630;
    --bg-surface-card: #143826;
    --bg-surface-subtle: #112E20;

    --border-subtle: #1F523A;
    --border-medium: #296A4B;
    --border-blue: #1B6A45;

    --text-pure: #F7FAF8;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #5C7367;

    --brand-blue-tint: rgba(27, 106, 69,  0.18);
    --brand-blue-border: #1c4482;
    --premium-gold: #cbb177;
}

/* ================= GLOBAL RESETS & HARDENED OVERFLOW ================= */
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    position: relative;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-primary);
    background-color: var(--bg-base);
    line-height: 1.6;
    padding-left: var(--safe-left);
    padding-right: var(--safe-right);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden !important;
    touch-action: none;
}

/* Media Elements Safety Reset */
img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Fluid Typographical Safety */
p, h1, h2, h3, h4, h5, h6, span, a, li, td, th, label {
    overflow-wrap: break-word;
    word-break: normal;
}

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background: none;
    outline: none;
}

/* ================= TYPOGRAPHY RULES (FONT SYSTEM) =================
   Main Heading (H1)   : Manrope 700 / 800
   Sub Heading (H2/H3) : Manrope 600 / 700
   Normal Text         : Inter 400 / 500
   Button / Navigation : Inter 500 / 600
================================================================== */

/* Main Heading (H1) */
h1, .hero-title, .page-hero h1, .product-detail-info h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Sub Heading (H2/H3) */
h2, .section-title, .cta-text h2, .contact-info-card h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.015em;
}

h3, .feature-card h3, .product-title, .product-content h3, .form-card h3, .lightbox-info h3, .spec-group h3, .blueprint-header h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.01em;
}

h4, .footer-col h4 {
    font-family: var(--font-heading);
    font-weight: 600;
}

/* Normal Text */
body, p, li, td, th, label, input, textarea, select, .section-desc, .hero-lead, .product-desc, .breadcrumb {
    font-family: var(--font-sans);
    font-weight: 400;
}

b, strong, .spec-chip, .product-category, .section-label, .eyebrow, .topbar-badge, .trust-title {
    font-family: var(--font-sans);
    font-weight: 500;
}

/* Button / Navigation */
.btn, button, .nav-link, .nav-menu, .calc-pill-btn, .filter-btn, .gallery-filter-btn, .topbar, .drawer-nav, .product-link, .bottom-bar-item, .bottom-bar-text, .nav-actions, .product-quickview-btn {
    font-family: var(--font-sans);
    font-weight: 600;
}

/* High-Tech Blueprint Background Grid */
.tech-grid-bg {
    position: relative;
    background-color: var(--bg-base);
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(15, 43, 29,   0.05) 1px, transparent 0),
        linear-gradient(to right, rgba(15, 43, 29,   0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 43, 29,   0.02) 1px, transparent 1px);
    background-size: 1.75rem 1.75rem, 5.25rem 5.25rem, 5.25rem 5.25rem;
}

[data-theme="dark"] .tech-grid-bg {
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.07) 1px, transparent 0),
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.ambient-glow {
    display: none;
}

/* ================= CONTAINER (FLUID WITH CH / CALC / MIN / MAX) ================= */
.container {
    width: min(100% - clamp(1.5rem, 4dvw, 3rem), var(--container-max));
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

/* ================= TOP NOTIFICATION BAR ================= */
.topbar {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    position: relative;
    z-index: 50;
    padding: clamp(0.4rem, 1dvh, 0.55rem) 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.topbar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-pure);
    font-weight: 600;
    font-size: clamp(0.75rem, 1.8dvw, 0.8125rem);
}

.topbar-badge .pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    min-width: 0.5rem;
    background-color: var(--brand-blue);
    box-shadow: 0 0 0.5rem rgba(27, 106, 69,  0.6);
    border-radius: 50%;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 2dvw, 1.25rem);
}

.topbar-right a {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.topbar-right a:hover {
    color: var(--brand-blue);
}

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

.topbar-whatsapp {
    color: #16a34a !important;
    font-weight: 700;
}

.topbar-whatsapp:hover {
    color: #15803d !important;
}

.topbar-whatsapp .icon-whatsapp {
    fill: #16a34a;
}

/* ================= HEADER & NAVIGATION (MODERN ISLAND / GLASS STYLE) ================= */
.header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s;
}

[data-theme="dark"] .header {
    background: rgba(15, 43, 29,   0.92);
    border-bottom: 1px solid rgba(51, 65, 85, 0.6);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px -2px rgba(15, 43, 29,   0.07);
    border-bottom-color: var(--border-medium);
}

[data-theme="dark"] .header.scrolled {
    background: rgba(15, 43, 29,   0.98);
    box-shadow: 0 4px 24px -2px rgba(15, 43, 29,   0.4);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 4rem;
    gap: 1.25rem;
    position: relative;
}

/* Modern Logo */
.logo {
    display: flex;
    align-items: center;
    gap: clamp(0.6rem, 1.8dvw, 0.875rem);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-symbol {
    width: clamp(2.375rem, 5dvw, 2.625rem);
    height: clamp(2.375rem, 5dvw, 2.625rem);
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 0.625rem;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(15, 43, 29, 0.08);
    flex-shrink: 0;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.logo:hover .logo-symbol {
    transform: scale(1.04);
    box-shadow: 0 4px 14px rgba(27, 106, 69, 0.22);
}

.logo-symbol img,
.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 0.5rem;
}

[data-theme="dark"] .logo-symbol {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.logo-symbol span {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1rem, 2dvw, 1.15rem);
    letter-spacing: 0.06em;
    color: #ffffff;
}

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

.logo-text strong {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.2dvw, 1.25rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--text-pure);
    line-height: 1.1;
}

.logo-text small {
    font-size: clamp(0.6rem, 1.4dvw, 0.6875rem);
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--brand-blue);
    text-transform: uppercase;
}

/* Header Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-shrink: 0;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    width: 2.375rem;
    height: 2.375rem;
    min-width: 2.375rem;
    min-height: 2.375rem;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-medium);
    display: grid;
    place-items: center;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--text-pure);
}

.theme-toggle-btn:hover {
    background: var(--brand-blue-tint);
    border-color: var(--brand-blue);
    transform: rotate(20deg);
}

/* WhatsApp Nav Pill */
.nav-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    background: #25D366;
    color: #ffffff !important;
    border-radius: 999rem;
    font-size: 0.8125rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
    transition: all var(--transition-fast);
    text-decoration: none;
    line-height: 1;
}

.nav-whatsapp-btn:hover {
    background: #20bd5a;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.38);
}

.nav-whatsapp-btn .icon-whatsapp {
    fill: #ffffff;
}

/* Call Nav Pill */
.nav-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-medium);
    border-radius: 999rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-pure) !important;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(15, 43, 29,   0.06);
    transition: all var(--transition-fast);
    line-height: 1;
}

.nav-call-btn:hover {
    background: var(--brand-blue-tint);
    border-color: var(--brand-blue);
    color: var(--brand-blue) !important;
    transform: translateY(-1px);
}

.nav-call-btn .icon-phone {
    stroke: currentColor;
    flex-shrink: 0;
}

/* Quote Nav Pill */
.nav-quote-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.48rem 1.15rem;
    background: linear-gradient(135deg, #1B6A45 0%, #247D53 100%);
    color: #ffffff !important;
    border-radius: 999rem;
    font-size: 0.8125rem;
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(27, 106, 69,  0.28);
    transition: all var(--transition-fast);
    text-decoration: none;
    line-height: 1;
}

.nav-quote-btn:hover {
    background: linear-gradient(135deg, #155436 0%, #1B6A45 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(27, 106, 69,  0.38);
}

.nav-quote-btn .icon-quote {
    flex-shrink: 0;
    fill: currentColor;
}

/* Mobile Hamburger Button */
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.375rem;
    height: 2.375rem;
    min-width: 2.375rem;
    min-height: 2.375rem;
    padding: 0;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-medium);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    z-index: 105;
}

.menu-toggle:hover {
    background: var(--brand-blue-tint);
    border-color: var(--brand-blue);
}

.menu-toggle-text {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-pure);
    text-transform: uppercase;
}

.hamburger-box {
    width: 1.375rem;
    height: 1rem;
    display: inline-block;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 1.375rem;
    height: 2px;
    background-color: var(--text-pure);
    border-radius: 2px;
    position: absolute;
    transition: transform 0.22s ease, top 0.22s ease, opacity 0.22s ease;
}

.hamburger-inner {
    top: calc(50% - 1px);
}

.hamburger-inner::before {
    content: '';
    top: -0.45rem;
    left: 0;
}

.hamburger-inner::after {
    content: '';
    top: 0.45rem;
    left: 0;
}

.menu-toggle.active .hamburger-inner {
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger-inner::before {
    top: 0;
    opacity: 0;
}

.menu-toggle.active .hamburger-inner::after {
    top: 0;
    transform: rotate(-90deg);
}

/* Desktop Navigation (>= 62rem / ~992px) */
@media (min-width: 62rem) {
    .nav-menu {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-drawer-header,
    .nav-drawer-footer {
        display: none !important;
    }

    .nav-menu-links {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        background: rgba(241, 245, 249, 0.75);
        border: 1px solid rgba(226, 232, 240, 0.9);
        padding: 0.25rem 0.35rem;
        border-radius: 999rem;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: inset 0 1px 2px rgba(15, 43, 29,   0.03);
    }

    [data-theme="dark"] .nav-menu-links {
        background: rgba(30, 41, 59, 0.75);
        border-color: rgba(51, 65, 85, 0.6);
        box-shadow: inset 0 1px 2px rgba(15, 43, 29,   0.25);
    }

    .nav-link {
        padding: 0.45rem 1rem;
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--text-secondary);
        border-radius: 999rem;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        text-decoration: none;
        white-space: nowrap;
        position: relative;
    }

    .nav-link:hover {
        color: var(--brand-blue);
        background: rgba(255, 255, 255, 0.85);
    }

    [data-theme="dark"] .nav-link:hover {
        color: #34d399;
        background: rgba(51, 65, 85, 0.6);
    }

    .nav-link.active {
        color: var(--brand-blue);
        background: #ffffff;
        box-shadow: 0 1px 4px rgba(15, 43, 29,   0.08), 0 2px 8px rgba(15, 43, 29,   0.04);
        font-weight: 700;
    }

    [data-theme="dark"] .nav-link.active {
        color: #34d399;
        background: #1e293b;
        box-shadow: 0 2px 8px rgba(15, 43, 29,   0.4);
    }
}

/* Desktop Navigation Defaults for Mobile-Only Elements */
.mobile-bottom-bar {
    display: none;
}

/* Mobile & Tablet Off-Canvas Drawer & Mobile Bars (< 62rem / ~992px) */
@media (max-width: 61.9375rem) {
    /* Hide top notification bar completely in mobile view */
    .topbar {
        display: none !important;
    }

    .header {
        position: sticky;
        top: 0;
        z-index: 1000 !important;
        background: #ffffff !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: 0 2px 10px rgba(15, 43, 29,   0.08);
        border-bottom: 1px solid var(--border-subtle);
    }

    [data-theme="dark"] .header {
        background: #0F2B1D !important;
        border-bottom-color: rgba(51, 65, 85, 0.6);
    }

    .nav {
        min-height: 3.65rem;
    }

    /* Delete/hide top hamburger menu icon in mobile view */
    .menu-toggle {
        display: none !important;
    }

    .nav-actions {
        display: flex !important;
        align-items: center;
        gap: clamp(0.35rem, 1.8dvw, 0.55rem);
    }

    /* Uniform Icon-Only Header Buttons on Mobile View */
    .nav-actions .theme-toggle-btn,
    .nav-actions .nav-call-btn,
    .nav-actions .nav-whatsapp-btn,
    .nav-actions .nav-quote-btn {
        width: 2.25rem !important;
        height: 2.25rem !important;
        min-width: 2.25rem !important;
        min-height: 2.25rem !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        flex-shrink: 0 !important;
        box-shadow: 0 1px 4px rgba(15, 43, 29,   0.08);
        transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
        text-decoration: none !important;
    }

    .nav-actions .theme-toggle-btn:active,
    .nav-actions .nav-call-btn:active,
    .nav-actions .nav-whatsapp-btn:active,
    .nav-actions .nav-quote-btn:active {
        transform: scale(0.92);
    }

    /* Hide text labels on mobile header so that Call, WhatsApp, and Quote are ICONS ONLY */
    .nav-actions .nav-call-btn span,
    .nav-actions .nav-whatsapp-btn span,
    .nav-actions .nav-quote-btn span {
        display: none !important;
    }

    /* 1. Theme Toggle */
    .nav-actions .theme-toggle-btn {
        font-size: 0.95rem;
    }

    /* 2. Call: subtle elevated button with phone icon */
    .nav-actions .nav-call-btn {
        background: var(--bg-surface-elevated);
        border: 1px solid var(--border-medium);
        color: var(--text-pure) !important;
    }

    .nav-actions .nav-call-btn:hover,
    .nav-actions .nav-call-btn:active {
        background: var(--brand-blue-tint);
        border-color: var(--brand-blue);
        color: var(--brand-blue) !important;
    }

    .nav-actions .nav-call-btn .icon-phone {
        width: 1rem;
        height: 1rem;
        stroke: currentColor;
    }

    /* 3. WhatsApp: vibrant brand green icon circle */
    .nav-actions .nav-whatsapp-btn {
        display: inline-flex !important;
        background: #25d366 !important;
        border: 1px solid #20bd5a !important;
        color: #ffffff !important;
        box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
    }

    .nav-actions .nav-whatsapp-btn:hover,
    .nav-actions .nav-whatsapp-btn:active {
        background: #20bd5a !important;
    }

    .nav-actions .nav-whatsapp-btn .icon-whatsapp {
        width: 1.15rem;
        height: 1.15rem;
        fill: #ffffff !important;
    }

    /* 4. Quote: precision cobalt blue icon circle */
    .nav-actions .nav-quote-btn {
        display: inline-flex !important;
        background: linear-gradient(135deg, #1B6A45 0%, #247D53 100%) !important;
        border: 1px solid #1B6A45 !important;
        color: #ffffff !important;
        box-shadow: 0 2px 8px rgba(27, 106, 69,  0.35);
    }

    .nav-actions .nav-quote-btn:hover,
    .nav-actions .nav-quote-btn:active {
        background: linear-gradient(135deg, #155436 0%, #1B6A45 100%) !important;
    }

    .nav-actions .nav-quote-btn .icon-quote {
        width: 1rem;
        height: 1rem;
        fill: currentColor;
    }

    /* Hide floating dock WhatsApp on mobile/tablet because bottom navigation bar already provides WhatsApp */
    .floating-dock .dock-whatsapp {
        display: none !important;
    }

    /* Floating dock adjustments on mobile for scroll-to-top button only */
    .floating-dock {
        bottom: calc(4.1rem + var(--safe-bottom));
        right: max(0.875rem, var(--safe-right));
        z-index: 890;
    }

    .nav-backdrop {
        position: fixed !important;
        inset: 0 !important;
        background: rgba(11, 19, 41, 0.62) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        z-index: 1010 !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.28s ease, visibility 0.28s ease !important;
    }

    .nav-backdrop.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: min(85vw, 22rem) !important;
        max-width: 100vw !important;
        height: 100% !important;
        height: 100dvh !important;
        background: var(--bg-surface) !important;
        box-shadow: -0.625rem 0 2.5rem rgba(15, 43, 29,   0.35) !important;
        border-left: 1px solid var(--border-medium) !important;
        z-index: 1020 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        padding: max(1rem, var(--safe-top)) 1.25rem max(1.25rem, var(--safe-bottom)) !important;
        transform: translateX(105%) !important;
        transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        visibility: hidden;
        pointer-events: none;
    }

    .nav-menu.open {
        transform: translateX(0) !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    body.menu-open {
        overflow: hidden !important;
        touch-action: none;
    }

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

    .drawer-brand {
        display: flex;
        align-items: center;
        gap: 0.625rem;
    }

    .drawer-logo-badge {
        width: 2.25rem;
        height: 2.25rem;
        border-radius: var(--radius-sm);
        background: #ffffff;
        border: 1px solid var(--border-subtle);
        color: #ffffff;
        font-weight: 800;
        display: grid;
        place-items: center;
        font-size: 0.95rem;
        overflow: hidden;
        padding: 2px;
        flex-shrink: 0;
    }

    .drawer-logo-badge img,
    .drawer-logo-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        border-radius: 0.35rem;
    }

    .drawer-brand-text strong {
        display: block;
        font-size: 0.95rem;
        font-weight: 800;
        color: var(--text-pure);
        line-height: 1.1;
    }

    .drawer-brand-text small {
        font-size: 0.6875rem;
        color: var(--brand-blue);
        font-weight: 700;
        text-transform: uppercase;
    }

    .drawer-close-btn {
        width: 2.375rem;
        height: 2.375rem;
        min-width: 2.375rem;
        min-height: 2.375rem;
        border-radius: 50%;
        background: var(--bg-surface-elevated);
        border: 1px solid var(--border-medium);
        color: var(--text-pure);
        display: grid;
        place-items: center;
        font-size: 1.1rem;
        cursor: pointer;
        transition: all var(--transition-fast);
    }

    .drawer-close-btn:hover {
        background: var(--brand-blue-tint);
        color: var(--brand-blue);
    }

    .nav-menu-links {
        display: flex;
        flex-direction: column;
        gap: 0.375rem;
        flex: 1;
        margin: 0.75rem 0;
    }

    .nav-link {
        display: flex;
        align-items: center;
        padding: 0.85rem 1.15rem;
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--text-primary);
        border-radius: 0.75rem;
        text-decoration: none;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        min-height: 3.125rem;
        background: var(--bg-surface-subtle);
        border: 1px solid var(--border-subtle);
    }

    .nav-link:hover,
    .nav-link:active {
        background: var(--brand-blue-tint);
        color: var(--brand-blue);
        border-color: rgba(27, 106, 69,  0.3);
        transform: translateX(0.25rem);
    }

    .nav-link.active {
        background: linear-gradient(135deg, rgba(27, 106, 69,  0.1) 0%, rgba(37, 99, 235, 0.15) 100%);
        color: var(--brand-blue);
        font-weight: 700;
        border-color: var(--brand-blue);
        box-shadow: 0 2px 8px rgba(27, 106, 69,  0.12);
    }

    .nav-drawer-footer {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-subtle);
        margin-top: 0.875rem;
    }

    .btn-drawer-quote {
        width: 100%;
        min-height: 2.875rem;
        justify-content: space-between;
        padding-inline: 1.125rem;
    }

    .nav-drawer-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.625rem;
    }

    .nav-drawer-actions .btn {
        min-height: 2.625rem;
        padding: 0.5rem 0.625rem;
        font-size: 0.875rem;
    }

    .nav-drawer-meta {
        font-size: 0.75rem;
        color: var(--text-muted);
        text-align: center;
        line-height: 1.35;
    }
    /* Mobile Bottom App Bar */
    .mobile-bottom-bar {
        display: flex;
        align-items: center;
        justify-content: space-around;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: calc(3.5rem + var(--safe-bottom));
        padding-bottom: var(--safe-bottom);
        background: rgba(255, 255, 255, 0.97);
        border-top: 1px solid var(--border-medium);
        z-index: 900;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 -0.25rem 1.25rem rgba(15, 43, 29,   0.08);
    }

    [data-theme="dark"] .mobile-bottom-bar {
        background: rgba(15, 43, 29,   0.97);
        border-top-color: var(--border-medium);
    }

    /* Keep any host badges (e.g. Netlify deploy badge) from covering bottom app bar */
    [data-netlify-deploy-id],
    .netlify-badge,
    iframe[src*="netlify"],
    #netlify-badge {
        bottom: calc(3.85rem + var(--safe-bottom)) !important;
    }

    body {
        padding-bottom: calc(3.5rem + var(--safe-bottom));
    }

    .bottom-bar-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.15rem;
        text-decoration: none;
        color: var(--text-secondary);
        padding: 0.25rem 0.5rem;
        min-width: 3.5rem;
        border: none;
        background: transparent;
        cursor: pointer;
        transition: color var(--transition-fast);
        -webkit-tap-highlight-color: transparent;
    }

    .bottom-bar-icon {
        font-size: 1.15rem;
        line-height: 1;
    }

    .bottom-bar-text {
        font-size: 0.6875rem;
        font-weight: 700;
        line-height: 1;
    }

    .bottom-bar-item.active,
    .bottom-bar-item:hover {
        color: var(--brand-blue);
    }

    .bottom-bar-whatsapp {
        color: #16a34a;
    }
}

/* ================= SOCIAL MEDIA BADGES & CHANNELS ================= */
.nav-drawer-socials {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    margin: 0.25rem 0;
}

.drawer-socials-title {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

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

.social-icon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.75rem;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 0.625rem;
    color: var(--text-pure);
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(15, 43, 29,   0.04);
}

.social-icon-badge svg {
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.social-icon-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 43, 29,   0.1);
}

.social-icon-badge:hover svg {
    transform: scale(1.12);
}

/* YouTube */
.social-youtube {
    border-color: rgba(255, 0, 0, 0.25);
}
.social-youtube svg {
    fill: #FF0000;
}
.social-youtube:hover {
    border-color: #FF0000;
    background: rgba(255, 0, 0, 0.08);
    color: #FF0000;
}

/* Instagram */
.social-instagram {
    border-color: rgba(225, 48, 108, 0.25);
}
.social-instagram svg {
    fill: #E1306C;
}
.social-instagram:hover {
    border-color: #E1306C;
    background: rgba(225, 48, 108, 0.08);
    color: #E1306C;
}

/* Facebook */
.social-facebook {
    border-color: rgba(24, 119, 242, 0.25);
}
.social-facebook svg {
    fill: #1877F2;
}
.social-facebook:hover {
    border-color: #1877F2;
    background: rgba(24, 119, 242, 0.08);
    color: #1877F2;
}

/* GBP - Google Business Profile */
.social-gbp {
    border-color: rgba(66, 133, 244, 0.25);
}
.social-gbp svg {
    fill: #4285F4;
}
.social-gbp:hover {
    border-color: #4285F4;
    background: rgba(66, 133, 244, 0.08);
    color: #4285F4;
}

/* Footer Trust Badges Strip with generous spacing */
.footer-trust-badges {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    margin-bottom: 1.625rem;
}

/* Footer Social Wrapper separated cleanly from badges */
.footer-social-wrapper {
    margin-top: 1.625rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-social-heading {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #cbd5e1;
    margin-bottom: 0.125rem;
}

.footer-social-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Footer WhatsApp Icon-Only button */
.footer-wa-icon-only {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.45);
    color: #25d366;
    transition: all var(--transition-fast);
    vertical-align: middle;
    text-decoration: none;
    flex-shrink: 0;
}

.footer-wa-icon-only:hover {
    background: #25d366;
    color: #ffffff;
    transform: scale(1.12);
    box-shadow: 0 0 12px rgba(37, 211, 102, 0.5);
}

.social-icon-badge.social-whatsapp {
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.35);
    background: rgba(37, 211, 102, 0.1);
}

.social-icon-badge.social-whatsapp:hover {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
}

/* ================= BUTTONS & TOUCH ERGONOMICS ================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: clamp(0.65rem, 1.5dvh, 0.75rem) clamp(1.1rem, 2dvw, 1.4rem);
    min-height: var(--tap-min);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    border: 1px solid transparent;
    max-width: 100%;
    white-space: nowrap;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    min-height: 2.375rem;
}

.btn-lg {
    padding: clamp(0.8rem, 1.8dvh, 0.95rem) clamp(1.4rem, 2.5dvw, 1.75rem);
    font-size: clamp(0.9375rem, 1.2dvw, 1.0625rem);
    min-height: 3rem;
}

.btn-primary {
    background: linear-gradient(135deg, #1B6A45 0%, #247D53 100%);
    color: #ffffff;
    border-color: #1B6A45;
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #155436 0%, #1B6A45 100%);
    border-color: #155436;
    color: #ffffff;
    box-shadow: var(--shadow-blue-lg);
    transform: translateY(-0.0625rem);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    color: var(--text-pure);
}

.btn-outline:hover {
    background: var(--brand-blue-tint);
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    transform: translateY(-0.0625rem);
}

.icon-whatsapp {
    width: 1.15em;
    height: 1.15em;
    display: inline-block;
    vertical-align: -0.15em;
    flex-shrink: 0;
    fill: currentColor;
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
    box-shadow: 0 0.25rem 0.875rem rgba(37, 211, 102, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    border-color: #20bd5a;
    color: #ffffff;
    box-shadow: 0 0.375rem 1.25rem rgba(37, 211, 102, 0.45);
    transform: translateY(-0.0625rem);
}

.nav-whatsapp-btn {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
}

.nav-whatsapp-btn:hover {
    background: #20bd5a;
    border-color: #20bd5a;
    color: #ffffff;
}

/* ================= SECTION HEADINGS & BADGES ================= */
.eyebrow, .section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--brand-blue);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3.8dvw + 0.2rem, 2.65rem);
    font-weight: 800;
    color: var(--text-pure);
    line-height: 1.2;
    letter-spacing: normal;
    margin-bottom: 0.875rem;
}

.section-title span {
    color: var(--brand-blue);
}

.section-desc, .section-subtitle {
    font-size: clamp(0.95rem, 1.2dvw + 0.5rem, 1.0625rem);
    color: var(--text-secondary);
    max-width: 62ch;
    line-height: 1.65;
}

.section-header-center {
    text-align: center;
    margin-bottom: clamp(2rem, 5dvh, 3.125rem);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header-split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: clamp(2rem, 5dvh, 3rem);
    flex-wrap: wrap;
}

.section {
    padding: clamp(3rem, 7dvh, 5.625rem) 0;
    position: relative;
    background: var(--bg-base);
}

.section-dark {
    background: var(--bg-surface-elevated);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.section-muted {
    background: var(--bg-surface-subtle);
}

/* ================= HERO SECTION ================= */
.hero {
    position: relative;
    padding: clamp(2.25rem, 6dvh, 5rem) 0 clamp(2.75rem, 7dvh, 6rem);
    overflow: hidden;
    background: var(--bg-base);
    border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: clamp(1.75rem, 4dvw, 3rem);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge-strip {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: clamp(1rem, 2.5dvh, 1.5rem);
    flex-wrap: wrap;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--brand-blue-tint);
    border: 1px solid var(--brand-blue-border);
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--brand-blue);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5dvw + 0.2rem, 3.85rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: normal;
    color: var(--text-pure);
    margin-bottom: clamp(0.875rem, 2dvh, 1.4rem);
}

.hero-title span {
    color: var(--brand-blue);
}

.hero-description {
    font-size: clamp(0.95rem, 1.2dvw + 0.5rem, 1.125rem);
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: clamp(1.5rem, 3.5dvh, 2.2rem);
    max-width: 58ch;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: clamp(1.75rem, 4dvh, 2.75rem);
    flex-wrap: wrap;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(0.75rem, 1.8dvw, 1.125rem);
    padding-top: clamp(1.25rem, 2.5dvh, 1.75rem);
    border-top: 1px solid var(--border-subtle);
}

.hero-point {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-point-num {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.2dvw, 1.35rem);
    font-weight: 800;
    color: var(--brand-blue);
}

.hero-point-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.35;
}

/* ================= INTERACTIVE MACHINE BLUEPRINT ================= */
.hero-blueprint-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.blueprint-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: clamp(0.875rem, 2.5dvw, 1.5rem);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.blueprint-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--laser-grad);
    animation: laserScan 5s ease-in-out infinite alternate;
    pointer-events: none;
    opacity: 0.85;
}

@keyframes laserScan {
    0% { top: 5%; opacity: 0.2; }
    50% { opacity: 1; }
    100% { top: 95%; opacity: 0.2; }
}

.blueprint-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.625rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blueprint-model {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(0.75rem, 1.8dvw, 0.875rem);
    letter-spacing: 0.08em;
    color: var(--text-pure);
}

.blueprint-model span:first-child {
    color: var(--brand-blue);
}

.blueprint-status {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-blue);
    background: var(--brand-blue-tint);
    border: 1px solid var(--brand-blue-border);
    padding: 0.2rem 0.625rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.blueprint-visual {
    position: relative;
    min-height: clamp(14.5rem, 28dvh, 22.5rem);
    display: grid;
    place-items: center;
    padding: clamp(0.875rem, 2dvw, 1.25rem);
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    width: 100%;
    overflow: visible;
}

.blueprint-svg-container {
    width: min(100%, 23.75rem);
    filter: drop-shadow(0 0.625rem 1.25rem rgba(15, 43, 29,   0.08));
    animation: machineHover 6s ease-in-out infinite;
}

@keyframes machineHover {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-0.5rem); }
}

.hotspot {
    position: absolute;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    background: var(--brand-blue);
    border: 2px solid #ffffff;
    box-shadow: 0 0 0.625rem rgba(27, 106, 69,  0.6);
    cursor: pointer;
    z-index: 10;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
}

.hotspot-ring {
    position: absolute;
    inset: -0.375rem;
    border-radius: 50%;
    border: 1.5px solid var(--brand-blue);
    animation: hotspotPulse 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.hotspot-center {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: #ffffff;
}

@keyframes hotspotPulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.hotspot-tooltip {
    position: absolute;
    bottom: calc(100% + 0.625rem);
    left: 50%;
    transform: translateX(-50%);
    background: #0F2B1D;
    color: #ffffff;
    padding: 0.625rem 0.875rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    line-height: 1.4;
    width: max-content;
    max-width: min(15rem, 72dvw);
    white-space: normal;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    pointer-events: none;
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.45);
    z-index: 50;
    border: 1px solid rgba(52, 211, 153, 0.35);
}

.hotspot-tooltip strong {
    display: block;
    color: #34D399;
    font-size: 0.8125rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.hotspot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #0F2B1D transparent transparent transparent;
}

/* Hotspots in upper section open downwards to avoid top clipping */
.hotspot.hotspot-top .hotspot-tooltip,
.hotspot:first-of-type .hotspot-tooltip {
    bottom: auto;
    top: calc(100% + 0.625rem);
}

.hotspot.hotspot-top .hotspot-tooltip::after,
.hotspot:first-of-type .hotspot-tooltip::after {
    top: auto;
    bottom: 100%;
    border-color: transparent transparent #0F2B1D transparent;
}

/* Hotspots on right side shift tooltip inward to avoid screen overflow */
.hotspot.hotspot-right .hotspot-tooltip {
    left: auto;
    right: -0.5rem;
    transform: none;
}

.hotspot.hotspot-right .hotspot-tooltip::after {
    left: auto;
    right: 0.875rem;
    transform: none;
}

.hotspot:hover .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
}

.blueprint-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(5.625rem, 1fr));
    gap: 0.625rem;
    padding-top: 0.875rem;
    margin-top: 0.875rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.blueprint-footer strong {
    display: block;
    color: var(--text-pure);
    font-size: 0.8125rem;
}

/* ================= TRUST METRICS STRIP ================= */
.trust-strip {
    background: var(--navy-dark);
    color: #ffffff;
    padding: clamp(1.75rem, 3.5dvh, 2.375rem) 0;
    position: relative;
    border-top: 1px solid var(--navy-border);
    border-bottom: 1px solid var(--navy-border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 2.5dvw, 1.875rem);
    align-items: center;
    position: relative;
    z-index: 2;
}

.trust-item {
    display: flex;
    flex-direction: column;
    padding-inline: clamp(0.75rem, 1.8dvw, 1.5rem);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item:first-child {
    border-left: none;
    padding-left: 0;
}

.trust-number {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4dvw + 0.2rem, 2.35rem);
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
}

.trust-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brand-blue-sky);
    margin-top: 0.25rem;
}

/* ================= FEATURE CARDS (WHY JJM) ================= */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
    gap: clamp(1rem, 2.5dvw, 1.5rem);
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: clamp(1.25rem, 3dvw, 2rem) clamp(1.1rem, 2.5dvw, 1.75rem);
    position: relative;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-0.25rem);
    border-color: var(--brand-blue-border);
    box-shadow: var(--shadow-md);
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.125rem;
}

.feature-icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-sm);
    background: var(--brand-blue-tint);
    border: 1px solid var(--brand-blue-border);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    color: var(--brand-blue);
}

.feature-number {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--brand-blue);
    opacity: 0.85;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.8dvw, 1.35rem);
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 0.625rem;
    line-height: 1.25;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ================= CALCULATOR SECTION ================= */
.calculator-section {
    position: relative;
    overflow: hidden;
}

.calculator-card {
    background: var(--bg-surface);
    color: var(--text-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: clamp(1.25rem, 3vw, 2.25rem);
    padding: clamp(1.25rem, 3.2vw, 2.5rem);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2.5vw, 1.375rem);
    width: 100%;
    min-width: 0;
}

.calc-group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    width: 100%;
    min-width: 0;
}

.calc-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-pure);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
}

.calc-label .highlight {
    color: var(--brand-blue);
    background: var(--brand-blue-tint);
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    border: 1px solid var(--brand-blue-border);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(27, 106, 69,  0.1);
}

.calc-pills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    width: 100%;
}

.calc-pill-btn {
    padding: 0.6rem 0.65rem;
    min-height: 2.75rem;
    background: var(--bg-base);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    line-height: 1.25;
}

.calc-pill-btn:hover {
    background: var(--brand-blue-tint);
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.calc-pill-btn.active {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 0.25rem 0.85rem rgba(27, 106, 69,  0.25);
}

.calc-slider-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.calc-slider {
    width: 100%;
    height: 0.55rem;
    border-radius: 9999px;
    background: var(--border-subtle);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    margin: 0.5rem 0 0.35rem;
    touch-action: pan-y;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--brand-blue);
    cursor: pointer;
    box-shadow: 0 0 0.5rem rgba(27, 106, 69,  0.4);
    border: 3px solid #ffffff;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover,
.calc-slider::-webkit-slider-thumb:active {
    transform: scale(1.1);
    box-shadow: 0 0 0.85rem rgba(27, 106, 69,  0.6);
}

.calc-slider::-moz-range-thumb {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--brand-blue);
    cursor: pointer;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0.5rem rgba(27, 106, 69,  0.4);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.calc-slider-scale {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-sans);
    font-size: clamp(0.7rem, 2vw, 0.75rem);
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 0.25rem;
    width: 100%;
}

.calc-note {
    background: var(--bg-base);
    border: 1px solid var(--border-subtle);
    padding: clamp(0.75rem, 2vw, 1rem);
    border-radius: var(--radius-sm);
}

.calc-note p {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.5;
    margin: 0;
}

.calc-note strong {
    color: var(--text-pure);
    font-weight: 600;
}

/* Calculator Results Box */
.calc-results {
    background: var(--bg-base);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: clamp(1.25rem, 2.5vw, 1.85rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.15rem;
    position: relative;
    width: 100%;
    min-width: 0;
}

.calc-results-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.calc-results-badge {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--premium-gold);
    background: var(--premium-gold-tint);
    border: 1px solid var(--premium-gold-border);
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
}

.calc-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
}

.calc-stat-block {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.calc-stat-val {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.8vw, 2.65rem);
    font-weight: 800;
    color: var(--text-pure);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.calc-stat-val span {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--brand-blue);
    margin-left: 0.15rem;
}

.calc-stat-cost {
    color: var(--brand-blue);
}

.calc-stat-label {
    font-family: var(--font-sans);
    font-size: 0.775rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.25rem;
}

.calc-divider {
    height: 1px;
    background: var(--border-subtle);
    width: 100%;
}

.calc-recommendation {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--premium-gold);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    box-shadow: 0 1px 4px rgba(15, 43, 29,  0.04);
}

.calc-recommendation-title {
    font-family: var(--font-sans);
    font-size: 0.7125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--premium-gold);
}

.calc-recommendation-body {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-pure);
    line-height: 1.45;
}

.calc-recommendation-body strong {
    color: var(--brand-blue);
    font-weight: 700;
}

.btn-calc-quote {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: var(--radius-sm);
    background: var(--brand-blue);
    border: 1px solid var(--brand-blue);
    color: #ffffff;
    box-shadow: var(--shadow-blue);
}

.btn-calc-quote:hover {
    background: var(--brand-blue-hover);
    border-color: var(--brand-blue-hover);
    color: #ffffff;
    box-shadow: var(--shadow-blue-lg);
}

/* Responsive adjustments for Calculator across tablets and phones */
@media (max-width: 53.75rem) {
    .calculator-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: clamp(1.25rem, 3.5vw, 1.75rem);
    }

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

@media (max-width: 36.25rem) {
    .calculator-card {
        padding: 1.15rem 0.95rem;
        gap: 1.25rem;
        border-radius: var(--radius-md);
    }

    .calc-pills {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.45rem;
    }

    .calc-pill-btn {
        padding: 0.5rem 0.4rem;
        font-size: 0.775rem;
        min-height: 2.75rem;
    }

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

    .calc-stat-val {
        font-size: 1.75rem;
    }

    .calc-stat-cost {
        font-size: 1.75rem;
    }

    .calc-recommendation {
        padding: 0.75rem 0.85rem;
    }

    .btn-calc-quote {
        font-size: 0.875rem;
        padding: 0.65rem 0.85rem;
    }
}

@media (max-width: 25rem) {
    .calculator-card {
        padding: 1rem 0.75rem;
        gap: 1.15rem;
    }

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

    .calc-pills {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.35rem;
    }

    .calc-pill-btn {
        padding: 0.45rem 0.25rem;
        font-size: 0.72rem;
        min-height: 2.5rem;
    }

    .calc-label {
        font-size: 0.75rem;
    }

    .calc-label .highlight {
        font-size: 0.775rem;
        padding: 0.2rem 0.5rem;
    }

    .calc-stat-val {
        font-size: 1.6rem;
    }

    .calc-stat-cost {
        font-size: 1.6rem;
    }

    .calc-slider-scale {
        font-size: 0.6875rem;
    }

    .btn-calc-quote {
        font-size: 0.8125rem;
        min-height: 2.75rem;
        padding: 0.5rem 0.5rem;
    }
}

/* ================= PRODUCT CARDS & CATALOG ================= */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: clamp(1.5rem, 3dvh, 2.25rem);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.125rem;
    min-height: 2.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover {
    color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.filter-btn.active {
    background: var(--brand-blue);
    color: #ffffff;
    border-color: var(--brand-blue);
    box-shadow: 0 0.125rem 0.5rem rgba(27, 106, 69,  0.25);
}

.filter-btn .count-chip {
    font-size: 0.75rem;
    background: var(--bg-surface-subtle);
    color: var(--text-primary);
    padding: 0.125rem 0.4375rem;
    border-radius: var(--radius-pill);
}

.filter-btn.active .count-chip {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.catalog-search-wrapper {
    margin-bottom: clamp(1.25rem, 2.5dvh, 1.875rem);
    position: relative;
    max-width: 32.5rem;
    width: 100%;
}

.catalog-search-input {
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 1.25rem 0.75rem 2.875rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.catalog-search-input:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(27, 106, 69,  0.12);
}

.catalog-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    pointer-events: none;
}

.product-grid, .products-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.8125rem), 1fr));
    gap: clamp(1.125rem, 2.5dvw, 1.75rem);
}

.product-card, .product-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.product-card:hover, .product-item:hover {
    transform: translateY(-0.25rem);
    border-color: var(--brand-blue-border);
    box-shadow: 0 0.75rem 1.875rem rgba(27, 106, 69,  0.12);
}

.product-image-container {
    height: clamp(11.875rem, 22dvh, 15rem);
    background: var(--bg-surface-elevated);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.75rem, 1.8dvw, 1.25rem);
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
}

.product-image-container .adaptive-product-img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform var(--transition-smooth);
    filter: drop-shadow(0 0.5rem 1rem rgba(15, 43, 29, 0.08));
}

.product-card:hover .product-image-container .adaptive-product-img,
.product-item:hover .product-image-container .adaptive-product-img {
    transform: scale(1.06) translateY(-0.125rem);
}

.product-image-container svg {
    max-height: clamp(8.75rem, 16dvh, 11.25rem);
    width: auto;
    filter: drop-shadow(0 0.5rem 1rem rgba(15, 43, 29,   0.08));
    transition: transform var(--transition-smooth);
}

.product-card:hover .product-image-container svg,
.product-item:hover .product-image-container svg {
    transform: scale(1.04) translateY(-0.125rem);
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: linear-gradient(135deg, #C59B3F 0%, #a6802c 100%);
    box-shadow: 0 2px 8px rgba(197, 155, 63,  0.35);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-sm);
    z-index: 2;
}

.product-quickview-btn {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border-medium);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-pure);
    cursor: pointer;
    opacity: 0.95;
    transition: all var(--transition-fast);
}

.product-quickview-btn:hover {
    background: var(--brand-blue);
    color: #ffffff;
    border-color: var(--brand-blue);
}

.product-content {
    padding: clamp(1.125rem, 2.5dvw, 1.5rem);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--brand-blue);
    text-transform: uppercase;
    margin-bottom: 0.375rem;
}

.product-title, .product-content h3 {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.8dvw, 1.25rem);
    font-weight: 800;
    color: var(--text-pure);
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.product-desc, .product-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 1rem;
    flex: 1;
}

.product-specs-list {
    display: flex;
    gap: 0.375rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.spec-chip {
    font-size: 0.75rem;
    padding: 0.25rem 0.5625rem;
    border-radius: var(--radius-sm);
    background: var(--bg-surface-subtle);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-weight: 600;
}

.product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.625rem;
    margin-top: auto;
    padding-top: 0.875rem;
    border-top: 1px solid var(--border-subtle);
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-blue);
}

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

/* ================= PRODUCT DETAILS SPECIFIC PAGE ================= */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(1.5rem, 3.5dvw, 3rem);
    align-items: flex-start;
    padding: clamp(1.5rem, 3dvh, 2.5rem) 0 clamp(2.5rem, 5dvh, 5rem);
}

.product-detail-visual {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 3dvw, 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: calc(var(--header-height) + 1.25rem);
    box-shadow: var(--shadow-sm);
    width: 100%;
}

.product-detail-img-frame {
    width: 100%;
    height: clamp(16rem, 38dvh, 24rem);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-md);
    padding: clamp(0.75rem, 2dvw, 1.5rem);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    position: relative;
}

.product-detail-main-img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform var(--transition-smooth);
    filter: drop-shadow(0 0.75rem 1.5rem rgba(15, 43, 29, 0.1));
}

.product-detail-main-img:hover {
    transform: scale(1.04);
}

.product-detail-visual svg {
    max-height: clamp(15rem, 28dvh, 23.75rem);
    width: auto;
    filter: drop-shadow(0 0.9375rem 1.55rem rgba(15, 43, 29,   0.08));
}

.product-detail-info h1 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4dvw + 0.3rem, 2.75rem);
    font-weight: 800;
    color: var(--text-pure);
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

/* Responsive Table */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-medium);
}

.spec-table {
    width: 100%;
    min-width: 17.5rem;
    border-collapse: collapse;
    background: var(--bg-surface);
}

.spec-table th, .spec-table td {
    padding: clamp(0.625rem, 1.5dvh, 0.875rem) clamp(0.75rem, 1.8dvw, 1.125rem);
    font-size: 0.875rem;
    text-align: left;
    vertical-align: middle;
}

.spec-table tr:nth-child(odd) {
    background: var(--bg-surface);
}

.spec-table tr:nth-child(even) {
    background: var(--bg-surface-elevated);
}

.spec-table th {
    color: var(--text-secondary);
    font-weight: 600;
    width: 36%;
    border-right: 1px solid var(--border-subtle);
    background: var(--bg-surface-subtle);
}

.spec-table td {
    color: var(--text-pure);
    font-weight: 700;
}

/* ================= APPLICATION TABS & ACCORDIONS ================= */
.app-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
    gap: clamp(1rem, 2.5dvw, 1.5rem);
}

.app-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: clamp(1.375rem, 3dvw, 2rem) clamp(1.125rem, 2.5dvw, 1.75rem);
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.app-card:hover {
    transform: translateY(-0.25rem);
    border-color: var(--brand-blue-border);
    box-shadow: var(--shadow-md);
}

.app-card-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: var(--radius-md);
    background: var(--brand-blue-tint);
    border: 1px solid var(--brand-blue-border);
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin-bottom: 1.125rem;
    color: var(--brand-blue);
}

/* FAQ Accordion List */
.faq-list {
    max-width: 51.25rem;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-question {
    width: 100%;
    padding: clamp(0.875rem, 2dvh, 1.125rem) clamp(1rem, 2.5dvw, 1.375rem);
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 1.8dvw, 1.125rem);
    font-weight: 700;
    color: var(--text-pure);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.875rem;
    text-align: left;
    background: none;
    border: none;
}

.faq-icon {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-blue);
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 clamp(1rem, 2.5dvw, 1.375rem) clamp(0.875rem, 2dvh, 1.125rem);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
    display: none;
}

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

.faq-item.active .faq-question {
    color: var(--brand-blue);
}

/* ================= EXHIBITION ALBUM GALLERY & FULLSCREEN LIGHTBOX ================= */
.album-shelf-section {
    margin-bottom: clamp(2rem, 4dvh, 3rem);
}

.album-shelf-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.album-shelf-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3dvw, 2.1rem);
    font-weight: 800;
    color: var(--text-pure);
    margin-top: 0.25rem;
    margin-bottom: 0.35rem;
}

.album-shelf-subtitle {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    max-width: 58ch;
    line-height: 1.5;
}

.album-shelf-stats {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.album-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.album-stat-chip strong {
    color: var(--brand-blue);
}

.album-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
    gap: clamp(1rem, 2dvw, 1.5rem);
    margin-bottom: 2rem;
}

.album-cover-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    position: relative;
    user-select: none;
}

.album-cover-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-md);
}

.album-cover-card.active {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 2px var(--brand-blue), var(--shadow-md);
}

.album-cover-media {
    position: relative;
    height: 11rem;
    background: var(--bg-surface-elevated);
    overflow: hidden;
}

.album-cover-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.album-cover-card:hover .album-cover-media img {
    transform: scale(1.06);
}

.album-photo-badge {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(15, 43, 29, 0.88);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.album-cover-info {
    padding: 1rem 1.125rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.album-cover-info h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-pure);
    margin-bottom: 0.35rem;
}

.album-cover-info p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-bottom: 0.85rem;
    flex: 1;
}

.album-cover-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--brand-blue);
    padding-top: 0.65rem;
    border-top: 1px solid var(--border-subtle);
}

/* Category Filter Bar */
.gallery-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: clamp(1.5rem, 3dvh, 2.5rem);
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 0.5rem 1.125rem;
    min-height: 2.5rem;
    border-radius: var(--radius-pill);
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-filter-btn:hover {
    color: var(--brand-blue);
    border-color: var(--brand-blue);
}

.gallery-filter-btn.active {
    background: var(--brand-blue);
    color: #ffffff;
    border-color: var(--brand-blue);
    box-shadow: 0 0.125rem 0.5rem rgba(27, 106, 69,  0.25);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 18.5rem), 1fr));
    gap: clamp(1.125rem, 2.5dvw, 1.75rem);
}

.gallery-visual-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.gallery-visual-card:hover {
    transform: translateY(-0.25rem);
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-md);
}

.gallery-stage {
    height: clamp(13.5rem, 26dvh, 17.5rem);
    background: var(--bg-surface-elevated);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.75rem, 2dvw, 1.25rem);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

.gallery-stage .adaptive-img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform var(--transition-smooth);
    filter: drop-shadow(0 0.5rem 1rem rgba(15, 43, 29, 0.08));
}

.gallery-visual-card:hover .gallery-stage .adaptive-img {
    transform: scale(1.06);
}

.gallery-stage svg {
    max-height: clamp(8.75rem, 16dvh, 11.875rem);
    width: auto;
}

.gallery-tag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: var(--brand-blue);
    color: #ffffff;
    padding: 0.2rem 0.625rem;
    border-radius: var(--radius-sm);
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.gallery-zoom-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-medium);
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    z-index: 2;
    transition: transform var(--transition-fast);
}

.gallery-visual-card:hover .gallery-zoom-badge {
    transform: scale(1.1);
}

.gallery-caption-overlay {
    padding: 0.875rem 1.125rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.625rem;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    flex: 1;
}

.gallery-caption-text h4 {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-pure);
    margin-bottom: 0.2rem;
}

.gallery-caption-text span {
    font-size: 0.8125rem;
    color: var(--brand-blue);
    font-weight: 600;
    display: block;
}

.gallery-specs-chip {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.gallery-action-icon {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    border-radius: 50%;
    background: var(--brand-blue-tint);
    color: var(--brand-blue);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    transition: transform var(--transition-fast), background var(--transition-fast);
}

.gallery-visual-card:hover .gallery-action-icon {
    transform: translateX(0.2rem) translateY(-0.2rem);
    background: var(--brand-blue);
    color: #ffffff;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(11, 19, 41, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
    padding: max(0.625rem, var(--safe-top)) max(0.625rem, var(--safe-right)) max(0.625rem, var(--safe-bottom)) max(0.625rem, var(--safe-left));
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    max-width: min(100%, 54rem);
    width: 100%;
    max-height: min(94dvh, 48rem);
    overflow-y: auto;
    position: relative;
    box-shadow: 0 1.5rem 3.125rem -0.75rem rgba(15, 43, 29, 0.5);
    border: 1px solid var(--border-medium);
    display: flex;
    flex-direction: column;
}

.lightbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-surface);
}

.lightbox-counter {
    font-size: 0.8125rem;
    color: var(--brand-blue);
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.lightbox-close {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    min-height: 2.25rem;
    border-radius: 50%;
    background: var(--bg-surface-subtle);
    border: none;
    font-size: 1.25rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.lightbox-close:hover {
    background: var(--brand-blue);
    color: #ffffff;
}

.lightbox-stage {
    padding: clamp(1rem, 2.5dvw, 2rem) 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, var(--bg-surface) 0%, var(--bg-surface-elevated) 100%);
    position: relative;
    min-height: clamp(16rem, 38dvh, 26rem);
    overflow: hidden;
}

.lightbox-stage .lightbox-active-img {
    max-height: clamp(15rem, 44dvh, 24rem);
    max-width: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: var(--shadow-md);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    box-shadow: 0 0.25rem 0.875rem rgba(15, 43, 29, 0.18);
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-pure);
    transition: all var(--transition-fast);
    z-index: 10;
}

.lightbox-nav-btn:hover {
    background: var(--brand-blue);
    color: #ffffff;
    border-color: var(--brand-blue);
}

.lightbox-prev { left: 0.875rem; }
.lightbox-next { right: 0.875rem; }

/* Lightbox Filmstrip Thumbnail Strip */
.lightbox-filmstrip-wrapper {
    padding: 0.625rem 1.25rem;
    background: var(--bg-surface-elevated);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.lightbox-filmstrip-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 0.35rem;
    display: block;
}

.lightbox-filmstrip {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.25rem 0.125rem 0.5rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.lightbox-filmstrip::-webkit-scrollbar {
    height: 4px;
}
.lightbox-filmstrip::-webkit-scrollbar-thumb {
    background: var(--brand-blue);
    border-radius: 4px;
}

.filmstrip-thumb {
    width: 4.25rem;
    height: 3.25rem;
    min-width: 4.25rem;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all var(--transition-fast);
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.filmstrip-thumb:hover {
    opacity: 1;
    border-color: var(--brand-blue);
}

.filmstrip-thumb.active {
    opacity: 1;
    border-color: var(--brand-blue);
    transform: scale(1.06);
    box-shadow: 0 0 0 2px var(--brand-blue-tint);
}

.filmstrip-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

.lightbox-footer {
    padding: 1rem 1.25rem;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.875rem;
}

.lightbox-info h3 {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 1.8dvw, 1.35rem);
    font-weight: 700;
    color: var(--text-pure);
    margin-bottom: 0.2rem;
}

.lightbox-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.lightbox-actions {
    display: flex;
    gap: 0.625rem;
    align-items: center;
    flex-wrap: wrap;
}

/* ================= CONTACT PAGE & FORMS ================= */
.contact-quick-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.75rem), 1fr));
    gap: 1rem;
    margin-bottom: clamp(1.75rem, 3.5dvh, 2.75rem);
}

.contact-quick-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: clamp(1rem, 2dvw, 1.25rem) clamp(1.125rem, 2.2dvw, 1.375rem);
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.contact-quick-card:hover {
    transform: translateY(-0.2rem);
    border-color: var(--brand-blue);
    background: var(--brand-blue-tint);
    box-shadow: var(--shadow-md);
}

.contact-quick-icon {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
    border-radius: var(--radius-md);
    background: var(--brand-blue-tint);
    border: 1px solid var(--brand-blue-border);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.contact-quick-details small {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-blue);
    margin-bottom: 0.2rem;
}

.contact-quick-details strong {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-pure);
    display: block;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(1.5rem, 3.5dvw, 3rem);
}

.contact-info-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: clamp(1.25rem, 3dvw, 2.25rem);
    box-shadow: var(--shadow-sm);
}

.contact-item {
    display: flex;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.contact-item-icon {
    width: 2.625rem;
    height: 2.625rem;
    min-width: 2.625rem;
    min-height: 2.625rem;
    border-radius: var(--radius-sm);
    background: var(--brand-blue-tint);
    border: 1px solid var(--brand-blue-border);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.contact-item-text span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.contact-item-text strong {
    font-size: 0.95rem;
    color: var(--text-pure);
    font-weight: 600;
    line-height: 1.45;
}

.form-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: clamp(1.25rem, 3dvw, 2.5rem);
    box-shadow: var(--shadow-sm);
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-pure);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(27, 106, 69,  0.12);
    background: var(--bg-surface);
}

textarea.form-control {
    min-height: 7.5rem;
    resize: vertical;
}

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

/* Contact Card Actions & Responsive Layouts */
.contact-card-actions {
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.contact-card-actions .btn {
    flex: 1 1 10rem;
    justify-content: center;
    white-space: normal;
    text-align: center;
}

.contact-card-socials-wrapper {
    margin-top: 1.5rem;
    padding-top: 1.125rem;
    border-top: 1px solid var(--border-subtle);
}

.contact-socials-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.75rem;
}

.btn-contact-submit {
    white-space: normal !important;
    text-align: center;
    line-height: 1.35;
    padding: 0.85rem 1rem !important;
    font-size: clamp(0.875rem, 2.5dvw, 1rem) !important;
    word-break: break-word;
}

.contact-quick-card {
    min-width: 0;
    box-sizing: border-box;
}

.contact-quick-details {
    min-width: 0;
    overflow: hidden;
}

.contact-quick-details strong {
    word-break: break-word;
    overflow-wrap: anywhere;
}

.contact-item-text {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.contact-item-text strong a {
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* ================= ABOUT PAGE HELPERS ================= */
.about-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(1.75rem, 3.5dvw, 3.125rem);
    align-items: center;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.875rem, 2dvw, 1.25rem);
}

.about-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr));
    gap: clamp(1.75rem, 4dvw, 3.5rem);
    align-items: center;
}

.about-preview-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3.5dvw, 2.25rem);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.about-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    flex-wrap: wrap;
}

.about-preview-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-pure);
    display: block;
    line-height: 1.3;
}

.about-preview-sub {
    color: var(--text-muted);
    font-size: 0.8125rem;
    display: block;
    margin-top: 0.25rem;
}

.about-preview-badge {
    position: static;
    background: var(--brand-blue-tint);
    color: var(--brand-blue);
    border: 1px solid var(--brand-blue-border);
    padding: 0.25rem 0.625rem;
    border-radius: 999rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    align-self: flex-start;
}

/* ================= CTA BANNER (DEEP NAVY) ================= */
.cta-section {
    background: linear-gradient(135deg, #0F2B1D 0%, #1B4E34 100%);
    border-top: 1px solid var(--navy-border);
    border-bottom: 1px solid var(--navy-border);
    padding: clamp(3rem, 6dvh, 5rem) 0;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(1.5rem, 3dvw, 2.5rem);
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3.5dvw + 0.3rem, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.cta-text p {
    font-size: clamp(0.95rem, 1.2dvw + 0.5rem, 1.0625rem);
    color: #cbd5e1;
    max-width: 62ch;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex-wrap: wrap;
}

/* ================= FOOTER (DEEP MIDNIGHT NAVY) ================= */
.footer {
    background: var(--navy-dark);
    border-top: 1px solid var(--navy-border);
    padding: clamp(3rem, 6dvh, 5rem) 0 1.875rem;
    color: #94a3b8;
}

.footer .logo-symbol {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.footer .logo-symbol span {
    color: #ffffff;
}

.footer .logo-text strong {
    color: #ffffff;
}

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

.footer .hero-badge {
    background: rgba(27, 106, 69,  0.15);
    color: var(--brand-blue-sky);
    border-color: rgba(27, 106, 69,  0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: clamp(1.75rem, 3.5dvw, 3rem);
    margin-bottom: clamp(2.25rem, 4dvh, 3.75rem);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #94a3b8;
    margin: 1.125rem 0 1.5rem;
    max-width: 38ch;
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.footer-column p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.footer-column strong,
.footer-sales-heading {
    display: block;
    color: #ffffff !important;
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 1.125rem;
    margin-bottom: 0.5rem;
}

.footer-sales-heading::before {
    content: '';
    display: inline-block;
    width: 0.375rem;
    height: 0.875rem;
    background: #34D399;
    border-radius: 2px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

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

.footer-column a {
    font-size: 0.875rem;
    color: #94a3b8;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--brand-blue-sky);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--navy-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 0.875rem;
}

/* ================= FLOATING QUICK ACTION DOCK ================= */
.floating-dock {
    position: fixed;
    bottom: max(1rem, calc(0.75rem + var(--safe-bottom)));
    right: max(1rem, calc(0.75rem + var(--safe-right)));
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    z-index: 99;
}

.dock-btn {
    width: clamp(3rem, 10dvw, 3.375rem);
    height: clamp(3rem, 10dvw, 3.375rem);
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 0.25rem 1.125rem rgba(15, 43, 29,   0.18);
    transition: all var(--transition-fast);
    position: relative;
    border: 1px solid var(--border-medium);
}

.dock-btn:hover {
    transform: scale(1.08);
}

.dock-whatsapp {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
    font-size: 1.5rem;
    box-shadow: 0 0.25rem 1.125rem rgba(37, 211, 102, 0.45);
}

.dock-whatsapp:hover {
    background: #20bd5a;
    border-color: #20bd5a;
    transform: scale(1.1);
}

.dock-whatsapp .icon-whatsapp {
    width: 1.75rem;
    height: 1.75rem;
    fill: #ffffff;
}

.dock-whatsapp .online-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 0.75rem;
    height: 0.75rem;
    background: #22c55e;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.dock-scrolltop {
    background: var(--bg-surface);
    color: var(--brand-blue);
    font-size: 1.2rem;
    opacity: 0;
    pointer-events: none;
}

.dock-scrolltop.visible {
    opacity: 1;
    pointer-events: auto;
}

/* ================= MODAL / QUICK VIEW ================= */
body.modal-open {
    overflow: hidden !important;
}

body.modal-open .floating-dock,
body.modal-open .mobile-bottom-bar {
    display: none !important;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 30, 20, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: max(0.75rem, var(--safe-top)) max(0.75rem, var(--safe-right)) max(1rem, var(--safe-bottom)) max(0.75rem, var(--safe-left));
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    max-width: min(100%, 38rem);
    width: 100%;
    max-height: min(88dvh, 44rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: clamp(1.25rem, 3.5dvw, 2rem);
    padding-bottom: max(1.75rem, calc(1.5rem + var(--safe-bottom)));
    position: relative;
    box-shadow: 0 1.25rem 3.5rem rgba(0, 0, 0, 0.35);
    transform: scale(0.96);
    transition: transform var(--transition-fast);
}

.modal-overlay.open .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(15, 43, 29, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    z-index: 50;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all var(--transition-fast);
}

.modal-close:hover {
    color: #ffffff;
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    transform: scale(1.08);
}

/* Quick View specific image frame & clean top-docked toolbar */
.quickview-img-frame {
    height: clamp(13rem, 30dvh, 16.5rem);
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-md);
    margin-bottom: 0.875rem;
    overflow: hidden;
    padding: 0.75rem;
    border: 1px solid var(--border-subtle);
}

.quickview-img-frame .img-zoom-toolbar {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    bottom: auto;
    left: auto;
    transform: none;
    background: rgba(15, 43, 29, 0.88);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* Quick View aligned specs grid */
.quickview-specs-box {
    background: var(--bg-surface-elevated);
    padding: 0.875rem 1.125rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    border: 1px solid var(--border-subtle);
    font-size: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.quickview-spec-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.quickview-spec-label {
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.quickview-spec-value {
    color: var(--text-pure);
    text-align: right;
    font-size: 0.875rem;
    word-break: break-word;
}

.quickview-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.quickview-actions .btn {
    flex: 1 1 11rem;
    justify-content: center;
    text-align: center;
    min-height: 2.75rem;
}

/* ================= PAGE HERO (INNER PAGES) ================= */
.page-hero {
    padding: clamp(2.5rem, 5dvh, 4.375rem) 0 clamp(2rem, 4dvh, 3.75rem);
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    text-align: center;
}

.page-hero .section-label {
    margin-bottom: 0.875rem;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5dvw + 0.2rem, 3.25rem);
    font-weight: 800;
    color: var(--text-pure);
    line-height: 1.15;
    margin-bottom: 0.875rem;
}

.page-hero p {
    font-size: clamp(0.95rem, 1.2dvw + 0.5rem, 1.0625rem);
    color: var(--text-secondary);
    max-width: 60ch;
    margin-inline: auto;
    line-height: 1.6;
}

/* ================= COMPREHENSIVE RESPONSIVE BREAKPOINTS (FLUID EM / REM) ================= */

/* Tablet & Smaller (< 64rem / ~1024px) */
@media (max-width: 63.9375rem) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-badge-strip {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-points {
        width: 100%;
        max-width: 36.25rem;
    }

    .calculator-card {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-detail-visual {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.25rem;
    }
}

/* Standard Tablet & Phone (< 48rem / ~768px) */
@media (max-width: 47.9375rem) {
    .topbar-badge {
        display: none !important;
    }

    .topbar-email {
        display: none !important;
    }

    .topbar-location {
        font-size: 0.75rem;
    }

    .topbar-inner {
        justify-content: center;
    }

    .topbar-right {
        justify-content: center;
        gap: 0.875rem;
        font-size: 0.78rem;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }

    .trust-item {
        border-left: none !important;
        padding-inline: 0 !important;
    }

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

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

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

    .cta-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        gap: 0.75rem;
    }

    .cta-actions .btn {
        width: 100%;
        white-space: normal !important;
        text-align: center;
        padding: 0.8rem 1rem !important;
        font-size: 0.9375rem !important;
    }

    .contact-quick-strip {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .contact-card-actions {
        flex-direction: column;
        gap: 0.625rem;
    }

    .contact-card-actions .btn {
        width: 100%;
        flex: 1 1 auto;
    }

    .contact-socials-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        width: 100%;
    }

    .contact-socials-grid .social-icon-badge {
        width: 100%;
        justify-content: center;
    }

    .contact-info-card,
    .form-card {
        padding: 1.35rem 1.15rem;
        box-sizing: border-box;
        width: 100%;
        overflow: hidden;
    }

    .contact-info-card h2 {
        font-size: clamp(1.35rem, 4dvw, 1.75rem) !important;
    }

    .form-card h3 {
        font-size: clamp(1.2rem, 3.5dvw, 1.45rem) !important;
    }

    .filter-bar {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-inline: -1rem;
        padding-inline: 1rem;
    }

    .filter-bar::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex-shrink: 0;
    }

    .gallery-filter-bar {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-inline: -1rem;
        padding-inline: 1rem;
    }

    .gallery-filter-bar::-webkit-scrollbar {
        display: none;
    }

    .gallery-filter-btn {
        flex-shrink: 0;
    }
}

/* Phablets & Large Phones (< 36.25rem / ~580px) */
@media (max-width: 36.1875rem) {
    .container {
        width: min(100% - 1.5rem, var(--container-max));
    }

    .hero-points {
        grid-template-columns: 1fr;
        gap: 0.625rem;
        text-align: left;
    }

    .hero-point {
        flex-direction: row;
        align-items: center;
        gap: 0.875rem;
        background: var(--bg-surface-elevated);
        padding: 0.625rem 0.875rem;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border-subtle);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.875rem;
    }

    .contact-quick-strip {
        grid-template-columns: 1fr;
    }

    .lightbox-footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 0.75rem;
    }

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

    .lightbox-actions .btn {
        flex: 1;
    }

    .blueprint-footer {
        grid-template-columns: 1fr 1fr;
    }

    .spec-table th {
        width: 42%;
        font-size: 0.8125rem;
    }

    .spec-table td {
        font-size: 0.8125rem;
    }

    .footer-social-strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .footer-social-strip .social-icon-badge {
        width: 100%;
        justify-content: center;
    }
}

/* Small Phones (< 30rem / ~480px) */
@media (max-width: 29.9375rem) {
    .topbar-location {
        display: none !important;
    }

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

    .topbar-phone {
        font-weight: 700;
        color: var(--brand-blue) !important;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
        text-align: center;
    }

    .trust-item {
        align-items: center;
        background: rgba(255, 255, 255, 0.04);
        padding: 0.875rem !important;
        border-radius: var(--radius-sm);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .blueprint-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .blueprint-visual {
        min-height: 13.75rem;
        padding: 0.75rem;
    }

    .blueprint-svg-container svg {
        max-height: 11.25rem;
    }

    .floating-dock {
        bottom: calc(4.25rem + var(--safe-bottom));
        right: max(0.75rem, var(--safe-right));
        gap: 0.5rem;
    }

    .dock-btn {
        width: 2.875rem;
        height: 2.875rem;
        font-size: 1.25rem;
    }
}

/* ================= TARGET SCREEN SIZE 6.8" – 6.9" FLAGSHIP PHONES (400px – 460px VIEWPORT) =================
   Covers Samsung Galaxy S24 Ultra / S23 Ultra (412px), iPhone 15 Pro Max (430px), 
   iPhone 16 Pro Max (440px), Pixel 9 Pro XL (448px), OnePlus 12 (412px) */
@media (min-width: 25rem) and (max-width: 29.5rem) {
    /* Fluid edge-to-edge container with balanced 16px lateral padding */
    .container {
        width: min(100% - 2rem, var(--container-max));
    }

    /* Modern 6.8"-6.9" Navbar Header */
    .header {
        padding-top: env(safe-area-inset-top, 0px);
    }

    .nav {
        min-height: 3.75rem;
        gap: 0.75rem;
    }

    .logo-symbol {
        width: 2.5rem;
        height: 2.5rem;
        min-width: 2.5rem;
        min-height: 2.5rem;
    }

    .logo-text strong {
        font-size: 1.15rem;
    }

    .logo-text small {
        font-size: 0.65rem;
        letter-spacing: 0.16em;
    }

    .nav-actions {
        gap: 0.45rem;
    }

    .nav-actions .theme-toggle-btn,
    .nav-actions .nav-call-btn,
    .nav-actions .nav-whatsapp-btn,
    .nav-actions .nav-quote-btn {
        width: 2.35rem !important;
        height: 2.35rem !important;
        min-width: 2.35rem !important;
        min-height: 2.35rem !important;
        padding: 0 !important;
    }

    /* Mobile Drawer Ergonomics for 6.8"-6.9" Tall Displays */
    .nav-menu {
        width: min(86vw, 23.5rem) !important;
        padding: max(1.25rem, env(safe-area-inset-top, 1.25rem)) 1.35rem max(1.5rem, env(safe-area-inset-bottom, 1.5rem)) !important;
    }

    .nav-menu-links {
        gap: 0.45rem;
        margin: 1rem 0;
    }

    .nav-link {
        padding: 0.9rem 1.2rem;
        font-size: 1.05rem;
        min-height: 3.25rem;
        border-radius: 0.8rem;
    }

    .social-icons-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }

    .social-icon-badge {
        padding: 0.65rem 0.85rem;
        font-size: 0.8125rem;
        border-radius: 0.75rem;
    }

    /* Bottom App Bar Ergonomics for Large Thumb Arcs */
    .mobile-bottom-bar {
        height: calc(3.85rem + var(--safe-bottom));
        padding-bottom: max(0.4rem, var(--safe-bottom));
    }

    body {
        padding-bottom: calc(4.25rem + var(--safe-bottom));
    }

    .bottom-bar-item {
        padding: 0.35rem 0.5rem;
        min-width: 4rem;
        gap: 0.2rem;
    }

    .bottom-bar-icon {
        font-size: 1.25rem;
    }

    .bottom-bar-text {
        font-size: 0.7125rem;
        font-weight: 700;
        letter-spacing: 0.01em;
    }

    .floating-dock {
        bottom: calc(4.5rem + var(--safe-bottom));
        right: max(1rem, var(--safe-right));
    }

    .dock-btn {
        width: 3.125rem;
        height: 3.125rem;
        font-size: 1.35rem;
    }

    /* Hero section proportioned for 6.8"-6.9" tall displays */
    .hero {
        padding: 2.5rem 0 3.25rem;
    }

    .hero-title {
        font-size: clamp(2rem, 6dvw, 2.45rem);
        line-height: 1.2;
    }

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

    .hero-points {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .hero-point {
        padding: 0.75rem 1rem;
        border-radius: 0.625rem;
    }

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

    .machine-card-stage {
        height: 13.5rem;
    }

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

/* Ultra-compact Phones (< 22.5rem / ~360px: e.g. Galaxy Fold outer screen, iPhone SE 1st gen) */
@media (max-width: 22.4375rem) {
    .container {
        width: min(100% - 1rem, var(--container-max));
    }

    .logo-text strong {
        font-size: 1rem;
    }

    .logo-text small {
        display: none;
    }

    .nav-actions {
        gap: 0.25rem;
    }

    .nav-actions .theme-toggle-btn,
    .nav-actions .nav-call-btn,
    .nav-actions .nav-whatsapp-btn,
    .nav-actions .nav-quote-btn {
        width: 2.1rem !important;
        height: 2.1rem !important;
        min-width: 2.1rem !important;
        min-height: 2.1rem !important;
        padding: 0 !important;
    }

    .nav-actions .theme-toggle-btn {
        font-size: 0.85rem;
    }

    .btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.875rem;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .blueprint-footer {
        grid-template-columns: 1fr;
    }
}

/* Landscape Phones (< 31.25rem / ~500px height) */
@media (max-height: 31.25rem) and (orientation: landscape) {
    .header {
        position: relative;
    }

    .nav-menu {
        padding-top: 0.875rem;
        padding-bottom: 0.875rem;
    }

    .lightbox-stage {
        min-height: 10rem;
        padding: 0.625rem;
    }

    .lightbox-stage svg {
        max-height: 9.375rem;
    }

    .modal-content {
        max-height: 88dvh;
    }
}

/* Ultra-Wide Monitors & 4K Screens (>= 120rem / ~1920px) */
@media (min-width: 120rem) {
    :root {
        --container-max: 87.5rem; /* ~1400px */
    }

    .hero {
        padding: 6.875rem 0 8.125rem;
    }

    .hero-title {
        font-size: 4.25rem;
    }

    .section {
        padding: 6.875rem 0;
    }
}

/* ================= INTERACTIVE IMAGE ZOOM CONTROLS ================= */
.img-zoom-container {
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.img-zoom-container.is-zoomed {
    cursor: grab;
}

.img-zoom-container.is-panning {
    cursor: grabbing;
}

.img-zoom-target,
.lightbox-stage .lightbox-active-img {
    transform-origin: center center;
    transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1);
    will-change: transform;
    pointer-events: auto;
}

.img-zoom-container.is-panning .img-zoom-target,
.lightbox-stage.is-panning .lightbox-active-img {
    transition: none !important;
}

.img-zoom-toolbar {
    position: absolute;
    bottom: 0.625rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(15, 43, 29, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    padding: 0.25rem 0.5rem;
    z-index: 20;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    opacity: 0.95;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.img-zoom-toolbar:hover {
    opacity: 1;
}

.img-zoom-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    width: 1.85rem;
    height: 1.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    transition: background 0.15s ease, transform 0.15s ease;
}

.img-zoom-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.img-zoom-btn:active {
    transform: scale(0.95);
}

.img-zoom-badge {
    color: #34d399;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0 0.35rem;
    min-width: 2.75rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.5px;
}

