:root {
    /* Light theme */
    --brand: #0e7c86;
    --brand-dark: #0a636b;
    --brand-soft: rgba(14, 124, 134, 0.08);
    --brand-softer: rgba(14, 124, 134, 0.04);
    --bg: #f5f7fb;
    --bg-elevated: #ffffff;
    --card-bg: #ffffff;
    --text: #0f172a;
    --text-muted: #64748b;
    --text-faint: #94a3b8;
    --border: #e5e7eb;
    --border-soft: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.08);
    --shadow-xl: 0 30px 80px rgba(15, 23, 42, 0.12);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
}

body.dark-mode {
    --bg: #0b0f17;
    --bg-elevated: #131926;
    --card-bg: #131926;
    --text: #e5e7eb;
    --text-muted: #94a3b8;
    --text-faint: #64748b;
    --border: #1f2937;
    --border-soft: #1a2233;
    --brand-soft: rgba(14, 124, 134, 0.18);
    --brand-softer: rgba(14, 124, 134, 0.06);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: hidden; max-width: 100%; }

/* Safety net against sideways scroll on mobile: any one element that
   runs a little too wide (a long unbroken email, a stray fixed width)
   used to drag the WHOLE page sideways, which also silently carried
   the floating WhatsApp/Call/scroll-top buttons off to the right where
   nobody could see or tap them. Clipping overflow here is the fix;
   see also the word-break rules below on footer links for the actual
   content that was causing it. */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    transition: background 0.25s ease, color 0.25s ease;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -0.02em; }

/* ===== NAVBAR ===== */
.site-navbar {
    background: color-mix(in srgb, var(--bg-elevated) 88%, transparent);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 12px 0;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.site-navbar .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* ============================================================
   TOP ROW — logo + company name + hamburger button.
   ------------------------------------------------------------
   .container above is flex-wrap:wrap, which is what lets the mobile
   menu (.navbar-collapse) drop to its own line below. But with the
   brand and the toggler as two SEPARATE flex children of that same
   wrapping container, a narrow screen could run out of room and wrap
   the toggler onto its own line too — under the logo/name instead of
   next to them.
   Wrapping the brand + toggler together in ONE nowrap row (below)
   makes them a single flex item: .container can still wrap the
   collapse menu below as a whole, but the logo/name and the button
   can never be split apart from each other. ============================================================ */
.site-navbar .navbar-top-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    /* flex: 1 1 auto (NOT 100%) on desktop — this row must share the line
       with .navbar-collapse (the nav links + theme/login buttons), not
       claim the whole row. Forcing 100% here was the actual bug: it pushed
       the links onto their own line below on EVERY screen size, not just
       mobile. The 100%-width behavior (needed so the mobile menu always
       drops below) is restricted to the mobile media query further down. */
    flex: 1 1 auto;
    min-width: 0;
    gap: 12px;
}

.site-navbar .navbar-brand {
    font-weight: 800;
    color: var(--text) !important;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    padding: 6px 0;
    flex: 1 1 auto;        /* let the brand shrink */
    min-width: 0;          /* allow text-overflow on the name */
    margin-right: auto;    /* push toggler to the right */
}

/* ---- Fallback icon (used ONLY when no logo is configured) ---- */
.site-navbar .brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(14, 124, 134, 0.28);
}

/* ---- Real logo — transparent, no square, bigger ---- */
.site-navbar .navbar-brand .brand-logo-img {
    display: block;
    width: auto;
    height: 72px;
    max-height: none;
    max-width: 260px;
    object-fit: contain;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    outline: none;
    flex-shrink: 0;
}

.site-navbar .navbar-brand .brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
    white-space: nowrap;
    letter-spacing: -0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

/* ============================================================
   NAVBAR TOGGLER
   ------------------------------------------------------------
   • Hidden on desktop (base rule = display: none)
   • Only shown below 992px via media query
   • Locked to the right edge (margin-left: auto)
   • Custom hamburger lines replace Bootstrap's dark SVG
     so it stays visible in both light and dark mode
   ============================================================ */
.site-navbar .navbar-toggler {
    display: none;                 /* hidden by default on desktop */
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    margin: 0 0 0 auto;            /* lock to the right edge */
    flex-shrink: 0;
    border-radius: 10px;
    /* Plain rgba() instead of color-mix() — color-mix() isn't recognized by
       every mobile browser/WebView yet, and a browser that can't parse a
       value drops the WHOLE declaration (not just that function), so the
       border silently disappeared on some devices. rgba() always works. */
    background: rgba(14, 124, 134, 0.1);
    border: 1.5px solid rgba(14, 124, 134, 0.35) !important;
    transition: background 0.2s ease, border-color 0.2s ease;
    order: 2;
}

.site-navbar .navbar-toggler:hover,
.site-navbar .navbar-toggler:focus {
    background: rgba(14, 124, 134, 0.18);
    border-color: rgba(14, 124, 134, 0.6) !important;
    outline: none;
    box-shadow: none;
}
.site-navbar .navbar-toggler:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* Show the toggler only on mobile */
@media (max-width: 991.98px) {
    .site-navbar .navbar-toggler {
        display: inline-flex;
    }
    /* Below the breakpoint, the top row (logo+name+toggler) claims the
       whole line by itself, so the collapsed nav always drops to a full
       row below it when opened — this is intentionally scoped to mobile
       only; on desktop .navbar-top-row shares the line with the links. */
    .site-navbar .navbar-top-row {
        flex: 1 1 100%;
    }
    .site-navbar .navbar-collapse {
        flex-basis: 100%;
        flex-grow: 1;
    }
}

/* Replace Bootstrap's SVG with custom hamburger lines.
   IMPORTANT: colors here are hardcoded per-theme (NOT var(--text)). The
   lines are only 2px tall — if a CSS variable ever fails to resolve (a
   typo, a load-order issue, a browser quirk) the bars silently inherit
   `currentColor`/black and vanish against a dark navbar with no visible
   error. Hardcoding removes that failure mode entirely. */
.site-navbar .navbar-toggler .navbar-toggler-icon {
    background-image: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 16px;
    position: relative;
}
.site-navbar .navbar-toggler .navbar-toggler-icon::before,
.site-navbar .navbar-toggler .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2.5px;
    background: #0f172a !important;
    border-radius: 2px;
}
.site-navbar .navbar-toggler .navbar-toggler-icon::before {
    top: 2px;
    box-shadow: 0 6px 0 #0f172a;
}
.site-navbar .navbar-toggler .navbar-toggler-icon::after {
    bottom: 2px;
}

/* Dark mode toggler — explicit light-gray bars on a lighter, more opaque
   box so the button reads clearly against the dark navbar background. */
body.dark-mode .site-navbar .navbar-toggler {
    background: rgba(226, 232, 240, 0.16);
    border-color: rgba(226, 232, 240, 0.45) !important;
}
body.dark-mode .site-navbar .navbar-toggler:hover,
body.dark-mode .site-navbar .navbar-toggler:focus {
    background: rgba(226, 232, 240, 0.26);
    border-color: rgba(226, 232, 240, 0.65) !important;
}
body.dark-mode .site-navbar .navbar-toggler .navbar-toggler-icon::before,
body.dark-mode .site-navbar .navbar-toggler .navbar-toggler-icon::after {
    background: #f1f5f9 !important;
}
body.dark-mode .site-navbar .navbar-toggler .navbar-toggler-icon::before {
    box-shadow: 0 6px 0 #f1f5f9;
}

/* Mobile: smaller toggler */
@media (max-width: 575.98px) {
    .site-navbar .navbar-toggler {
        width: 42px;
        height: 42px;
    }
}

.site-navbar .nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.site-navbar .nav-link:hover {
    color: var(--brand) !important;
    background: var(--brand-soft);
}

.btn-brand {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border: none;
    color: #fff !important;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 22px;
    font-size: 0.92rem;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 18px rgba(14, 124, 134, 0.28);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-brand:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(14, 124, 134, 0.38);
    color: #fff !important;
}
.btn-brand.btn-lg { padding: 12px 28px; font-size: 1rem; border-radius: 12px; }

.staff-login-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.staff-login-btn:hover {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(14, 124, 134, 0.3);
}

/* Modern icon-button theme toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    position: relative;
    font-size: 1rem;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.theme-toggle:hover {
    background: var(--brand-soft);
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-1px);
}
.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    transition: opacity 0.25s ease, transform 0.35s ease;
}
.theme-toggle .icon-sun { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-toggle .icon-moon { opacity: 0; transform: rotate(-90deg) scale(0.5); }
body.dark-mode .theme-toggle .icon-sun { opacity: 0; transform: rotate(90deg) scale(0.5); }
body.dark-mode .theme-toggle .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); color: #fbbf24; }

/* ===== HERO ===== */
.hero {
    padding: 100px 0 80px;
    background:
        radial-gradient(900px 500px at 12% -10%, var(--brand-soft) 0%, transparent 55%),
        radial-gradient(700px 500px at 95% 20%, var(--brand-softer) 0%, transparent 55%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border-soft) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(700px 400px at 20% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(700px 400px at 20% 30%, #000 30%, transparent 75%);
    opacity: 0.6;
    pointer-events: none;
}
.hero > .container { position: relative; }

.hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
}
.hero .eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 20px;
}
.hero h1 span {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p.lead {
    color: var(--text-muted);
    font-size: 1.08rem;
    max-width: 560px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero .btn-outline-brand {
    border: 1.5px solid var(--border);
    color: var(--text);
    background: var(--card-bg);
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 22px;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}
.hero .btn-outline-brand:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.hero .btn-outline-brand.btn-lg { padding: 12px 26px; font-size: 1rem; border-radius: 12px; }

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--card-bg);
    border: 1px solid var(--border);
    aspect-ratio: 4 / 3;
    max-height: 460px;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
    display: block;
    pointer-events: none;
}
.hero-slider .slide.active { opacity: 1; pointer-events: auto; }

.hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slider .slide .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.82) 0%,
        rgba(15, 23, 42, 0.45) 40%,
        rgba(15, 23, 42, 0.05) 75%
    );
    pointer-events: none;
}

.hero-slider .slide .slide-caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    color: #fff;
    z-index: 2;
}
.hero-slider .slide .slide-caption .tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 4px 10px;
    border-radius: 30px;
    margin-bottom: 10px;
    backdrop-filter: blur(6px);
}
.hero-slider .slide .slide-caption h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
    color: #fff;
}
.hero-slider .slide .slide-caption p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.85;
    color: #e5e7eb;
}

.hero-slider .slider-dots {
    position: absolute;
    bottom: 16px;
    right: 20px;
    display: flex;
    gap: 6px;
    z-index: 3;
}
.hero-slider .slider-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.45);
    transition: width 0.25s ease, background 0.25s ease;
}
.hero-slider .slider-dots button.active {
    width: 22px;
    border-radius: 4px;
    background: #fff;
}
.hero-slider .slider-dots button:hover { background: rgba(255, 255, 255, 0.75); }

.hero-slider .slider-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.hero-slider .slider-badge i { color: var(--brand); font-size: 0.85rem; }

/* ===== SECTION HEADINGS ===== */
.section-title {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 12px;
}
.section-sub {
    text-align: center;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 56px;
    font-size: 1rem;
}

/* ===== PRODUCTS ===== */
#products { padding: 80px 0 40px; }

.product-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: color-mix(in srgb, var(--brand) 30%, var(--border));
}
.product-card.is-hot-deal {
    border-color: rgba(220, 38, 38, 0.35);
}
.product-hot-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #DC2626;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 4px 10px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
    z-index: 2;
}

.product-media {
    width: 100%;
    height: 130px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--brand-soft), transparent 80%);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    margin-bottom: 18px;
}

.product-badge {
    display: inline-block;
    align-self: flex-start;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 30px;
    margin-bottom: 12px;
}
.product-card h5 { font-weight: 700; margin-bottom: 8px; font-size: 1.05rem; }
.product-card p { color: var(--text-muted); font-size: 0.88rem; margin: 0 0 14px; flex: 1; }
.product-price {
    font-weight: 700;
    color: var(--text);
    font-size: 0.95rem;
    padding-top: 12px;
    border-top: 1px solid var(--border-soft);
}
.product-order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    padding: 9px 14px;
    background: rgba(37, 211, 102, 0.12);
    color: #16824f !important;
    border: 1px solid rgba(37, 211, 102, 0.35);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.product-order-btn:hover {
    background: #25D366;
    color: #fff !important;
    border-color: #25D366;
    transform: translateY(-1px);
}
body.dark-mode .product-order-btn {
    background: rgba(37, 211, 102, 0.14);
    color: #4ade80 !important;
    border-color: rgba(37, 211, 102, 0.3);
}
body.dark-mode .product-order-btn:hover {
    background: #25D366;
    color: #0b0f17 !important;
    border-color: #25D366;
}

/* ===== IMAGE PREVIEW (LIGHTBOX) ===== */
.js-lightbox { cursor: zoom-in; }
.product-media-zoomable { position: relative; }
.product-media-zoomable .zoom-hint {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}
.product-media-zoomable:hover .zoom-hint { opacity: 1; }

.hero-slider .slide img.js-lightbox:hover { filter: brightness(0.92); }

#lightboxModal .modal-dialog {
    max-width: min(92vw, 1100px);
}
#lightboxModal .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
}
#lightboxModal .modal-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#lightboxModal img {
    max-width: 100%;
    max-height: 82vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    background: #0b0f17;
}
#lightboxModal .lightbox-caption {
    margin-top: 14px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
#lightboxModal .btn-close {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #fff;
    border-radius: 50%;
    opacity: 1;
    padding: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}
#lightboxModal .modal-dialog { position: relative; }

/* ===== ABOUT ===== */
.about-section {
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 0.25s, border-color 0.25s;
    padding: 80px 0;
}
.about-section p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; }
.about-list { padding-left: 0; }
.about-list li {
    margin-bottom: 14px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}
.about-list i {
    color: var(--brand);
    font-size: 1.05rem;
    flex-shrink: 0;
}

/* ===== CONTACT / CTA ===== */
#contact { padding: 80px 0 60px; }

.cta-panel {
    background:
        radial-gradient(500px 300px at 100% 0%, rgba(255,255,255,0.12), transparent 60%),
        linear-gradient(135deg, var(--brand), var(--brand-dark));
    border-radius: var(--radius-xl);
    padding: 44px;
    color: #fff;
    box-shadow: 0 25px 60px rgba(14, 124, 134, 0.25);
}
.cta-panel h3 { font-weight: 800; font-size: 1.7rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.cta-panel p { opacity: 0.92; }
.cta-panel .btn-light {
    background: #fff;
    color: var(--brand);
    font-weight: 700;
    border: none;
    border-radius: 12px;
    padding: 12px 26px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.15);
    transition: transform 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.cta-panel .btn-light:hover { transform: translateY(-2px); }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 22px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}
.contact-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.contact-item i {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
/* The icon's sibling <div> (holding .label + .value) is a flex child with
   no explicit width, so its default min-width is "auto" — meaning a long
   unbreakable string (an email address) refuses to shrink and pushes past
   the card's edge instead of wrapping. min-width: 0 lets it shrink to the
   card's actual width so word-break below can do its job. */
.contact-item > div {
    min-width: 0;
}
.contact-item .label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-faint);
    font-weight: 700;
    margin-bottom: 2px;
}
.contact-item .value {
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 500;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    padding: 20px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: background 0.25s, border-color 0.25s;
}

/* ===== LOGIN MODAL ===== */
.modal-content {
    background: var(--card-bg);
    color: var(--text);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
}

/* ============================================================
   LOGIN MODAL BRAND BLOCK
   Both the fallback icon and the real logo use the SAME
   100×100 footprint so the modal layout never shifts.
   ============================================================ */

/* ---- Shared footprint ---- */
.login-brand-logo,
.login-brand-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---- Real logo — clean, transparent, no square ---- */
.login-brand-logo {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.login-brand-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

/* ---- Fallback icon — gradient square with lock (unchanged look) ---- */
.login-brand-icon {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border-radius: 22px;
    color: #fff;
    font-size: 2.4rem;
    padding: 6px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(14, 124, 134, 0.35);
}

.login-brand-icon img { display: none; }

.modal .form-label {
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}
.modal .form-control {
    border-radius: 10px;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.modal .form-control::placeholder { color: var(--text-faint); }
.modal .form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-soft);
    background: var(--bg-elevated);
    color: var(--text);
}
.modal .form-check-label { font-size: 0.88rem; color: var(--text-muted); }
.modal .form-check-input {
    border-color: var(--border);
    cursor: pointer;
}
.modal .form-check-input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
}

.btn-login {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border: none;
    border-radius: 11px;
    padding: 13px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    width: 100%;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 22px rgba(14, 124, 134, 0.32);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-login:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(14, 124, 134, 0.42);
}
.btn-login:active { transform: scale(0.99); }
.btn-login:disabled { opacity: 0.75; cursor: not-allowed; transform: none; }

.modal .alert {
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 0.88rem;
    padding: 12px 14px;
}
.modal .alert-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}
.modal .alert-success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}
body.dark-mode .modal .alert-danger {
    background: #2d1013;
    border-color: #5f1f24;
    color: #fca5a5;
}
body.dark-mode .modal .alert-success {
    background: #0d2418;
    border-color: #1f5136;
    color: #86efac;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero { padding: 70px 0 60px; }
    .hero h1 { font-size: 2.4rem; }
    .section-title { font-size: 1.75rem; }
    .cta-panel { padding: 32px 26px; }
    .cta-panel h3 { font-size: 1.4rem; }
    .hero-slider { aspect-ratio: 16 / 10; max-height: 400px; }

    /* Navbar logo scales down on tablet */
    .site-navbar .navbar-brand .brand-logo-img { height: 60px; max-width: 220px; }
    .site-navbar .navbar-brand .brand-name { font-size: 1.05rem; }
}

@media (max-width: 767px) {
    .hero { padding: 50px 0 40px; text-align: center; }
    .hero h1 { font-size: 2rem; }
    .hero p.lead { margin: 0 auto 26px; font-size: 1rem; }
    .hero .eyebrow { margin-left: auto; margin-right: auto; }
    .hero-slider { margin-top: 34px; aspect-ratio: 4 / 3; max-height: 340px; }
    .hero-slider .slide .slide-caption { left: 16px; right: 16px; bottom: 16px; }
    .hero-slider .slide .slide-caption h3 { font-size: 1.1rem; }
    .hero-slider .slide .slide-caption p { font-size: 0.78rem; }
    .section-title { font-size: 1.6rem; }
    .section-sub { margin-bottom: 40px; font-size: 0.94rem; }
    #products, #contact { padding: 60px 0 30px; }
    .about-section { padding: 60px 0; }
    .cta-panel { padding: 26px 20px; border-radius: 18px; }
    .cta-panel h3 { font-size: 1.25rem; }
    .site-navbar .nav-link { padding: 10px 12px !important; }

    /* Navbar logo scales down further on phones */
    .site-navbar .navbar-brand .brand-logo-img { height: 52px; max-width: 180px; }
    .site-navbar .navbar-brand .brand-name { font-size: 1rem; }

    /* Login modal: give it real margins on mobile instead of
       Bootstrap's default 0.5rem, so it reads as a centered card
       rather than something that fills the screen edge-to-edge. */
    #loginModal .modal-dialog {
        margin: 1.5rem auto;
        max-width: calc(100% - 2rem);
    }
    #loginModal .modal-content {
        padding: 1.5rem !important;
        max-height: calc(100vh - 3rem);
        overflow-y: auto;
    }

    /* Login modal brand block — same 80×80 footprint on mobile */
    #loginModal .login-brand-logo,
    #loginModal .login-brand-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 16px;
    }
    #loginModal .login-brand-icon {
        font-size: 2rem;
        border-radius: 18px;
    }
}