/* ==========================================================================
   SRI BABA LAB — PREMIUM DESIGN SYSTEM
   Mobile-first, fully responsive, accessible.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-navy: #0A192F;
    --navy-light: #112240;
    --navy-dark: #070F1E;
    --classic-gold: #C5A059;
    --classic-gold-light: #DFBE7B;
    --gold-glow: rgba(197, 160, 89, .25);
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #AA771C 100%);
    --navy-gradient: linear-gradient(135deg, #0A192F 0%, #112240 100%);

    --bg-light: #F8FAFC;
    --card-bg: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    --border-color: #E2E8F0;
    --border-gold: rgba(197, 160, 89, .3);

    --danger: #EF4444;
    --success: #10B981;
    --warning: #F59E0B;
    --info: #3B82F6;

    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --shadow-sm: 0 2px 8px rgba(10, 25, 47, .05);
    --shadow-md: 0 8px 24px rgba(10, 25, 47, .08);
    --shadow-lg: 0 16px 40px rgba(10, 25, 47, .12);
    --shadow-gold: 0 10px 30px rgba(197, 160, 89, .25);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --transition: all .3s cubic-bezier(.4, 0, .2, 1);

    --header-h: 74px;
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 32px);

    --section-pad: clamp(48px, 8vw, 96px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    font-family: var(--font-body);
    background: var(--bg-light);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
.hidden { display: none !important; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--primary-navy); }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.7rem); }
h4 { font-size: clamp(1.05rem, 2.4vw, 1.25rem); }
p  { font-size: clamp(.94rem, 2vw, 1.03rem); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section-pad { padding-block: var(--section-pad); }
.text-center { text-align: center; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--classic-gold); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--classic-gold); outline-offset: 2px; border-radius: 4px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: .92rem; font-weight: 700; letter-spacing: .2px;
    cursor: pointer; transition: var(--transition);
    border: 2px solid transparent;
    min-height: 46px;
    text-align: center;
    white-space: nowrap;
}
.btn i { font-size: .95em; }
.btn-gold { background: var(--gold-gradient); color: #fff; box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(197, 160, 89, .38); }
.btn-outline-gold { border-color: var(--classic-gold); color: var(--classic-gold); background: transparent; }
.btn-outline-gold:hover { background: var(--classic-gold); color: #fff; }
.btn-outline-navy { border-color: var(--primary-navy); color: var(--primary-navy); background: transparent; }
.btn-outline-navy:hover { background: var(--primary-navy); color: #fff; }
.btn-navy { background: var(--navy-gradient); color: #fff; }
.btn-navy:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: #F1F5F9; color: var(--text-main); }
.btn-ghost:hover { background: #E2E8F0; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #DC2626; }
.btn-lg { padding: 15px 30px; font-size: 1rem; min-height: 54px; }
.btn-sm { padding: 8px 14px; font-size: .8rem; min-height: 38px; }
.btn-block { width: 100%; }
.btn:disabled, .btn.disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block; font-size: .84rem; font-weight: 700; color: var(--primary-navy);
    margin-bottom: 7px; letter-spacing: .2px;
}
.req { color: var(--danger); }

.form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px; /* prevents iOS zoom */
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-main);
    transition: var(--transition);
    min-height: 48px;
    font-family: var(--font-body);
}
textarea.form-control { min-height: 90px; resize: vertical; line-height: 1.6; }
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
    padding-right: 40px;
}
.form-control:focus { outline: 0; border-color: var(--classic-gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.form-control::placeholder { color: var(--text-light); }
input[type="file"].form-control { padding: 9px 12px; }

.field-hint { display: block; font-size: .78rem; color: var(--text-muted); margin-top: 6px; line-height: 1.5; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 0 18px; }
@media (min-width: 640px) {
    .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-grid .span-2 { grid-column: 1 / -1; }
}

.input-icon { position: relative; }
.input-icon > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-light); pointer-events: none; }
.input-icon .form-control { padding-left: 44px; padding-right: 46px; }
.pw-toggle {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; display: grid; place-items: center;
    color: var(--text-muted); border-radius: 6px;
}
.pw-toggle:hover { color: var(--classic-gold); background: #F1F5F9; }

/* Alerts */
.alert {
    display: flex; align-items: flex-start; gap: 11px;
    padding: 13px 16px; border-radius: var(--radius-sm);
    font-size: .89rem; font-weight: 500; margin-bottom: 16px;
    border: 1px solid; line-height: 1.55; position: relative;
}
.alert i { margin-top: 2px; flex-shrink: 0; }
.alert span { flex: 1; }
.alert-success { background: #ECFDF5; color: #065F46; border-color: #A7F3D0; }
.alert-error   { background: #FEF2F2; color: #991B1B; border-color: #FECACA; }
.alert-info    { background: #EFF6FF; color: #1E40AF; border-color: #BFDBFE; }
.alert-close { font-size: 1.3rem; line-height: 1; opacity: .5; padding: 0 4px; }
.alert-close:hover { opacity: 1; }

/* ==========================================================================
   Top bar
   ========================================================================== */
.top-bar {
    background: var(--navy-dark); color: rgba(255, 255, 255, .8);
    font-size: .78rem; padding: 8px 0; border-bottom: 1px solid rgba(197, 160, 89, .15);
}
.top-bar-content { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }
.top-bar-left, .top-bar-right { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.top-bar-item { display: inline-flex; align-items: center; gap: 7px; }
.top-bar-item i { color: var(--classic-gold); font-size: .85em; }
.top-bar-item a:hover { color: var(--classic-gold-light); }
.top-bar-portal { color: var(--classic-gold); font-weight: 700; }

@media (max-width: 900px) { .hide-md { display: none; } }
@media (max-width: 620px) {
    .hide-sm { display: none; }
    .top-bar { font-size: .72rem; }
    .top-bar-content { justify-content: center; gap: 6px 14px; }
}

/* ==========================================================================
   Header & navigation
   ========================================================================== */
.main-header {
    /* No backdrop-filter here on purpose: it would create a containing block,
       which traps the position:fixed mobile drawer inside the header. */
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    position: sticky; top: 0; z-index: 200;
    border-bottom: 1px solid var(--border-color);
}

/* While the drawer is open the header must sit above the backdrop, because the
   drawer lives inside the header's stacking context. */
body.nav-open .main-header { z-index: 500; }
.main-header.scrolled { box-shadow: var(--shadow-md); }

.header-container {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; min-height: var(--header-h);
}

.brand-logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; min-width: 0; }
.brand-logo img {
    height: 46px; width: auto;
    max-width: 148px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--primary-navy); white-space: nowrap; }
.brand-tagline { font-size: .62rem; text-transform: uppercase; letter-spacing: 1.3px; color: var(--classic-gold); font-weight: 700; white-space: nowrap; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
    padding: 9px 14px; font-size: .9rem; font-weight: 600; color: var(--text-main);
    border-radius: var(--radius-sm); transition: var(--transition); position: relative;
}
.nav-link:hover { color: var(--classic-gold); background: rgba(197, 160, 89, .08); }
.nav-link.active { color: var(--classic-gold); }
.nav-link.active::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px;
    height: 2px; background: var(--gold-gradient); border-radius: 2px;
}
.nav-cta, .nav-close { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-login { padding: 10px 18px; font-size: .85rem; min-height: 42px; }

.mobile-toggle {
    display: none; width: 44px; height: 44px;
    flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    border-radius: 10px; background: var(--bg-light); border: 1px solid var(--border-color);
}
.mobile-toggle span {
    display: block; width: 21px; height: 2px; background: var(--primary-navy);
    border-radius: 2px; transition: var(--transition);
}
.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
    position: fixed; inset: 0; background: rgba(7, 15, 30, .55);
    backdrop-filter: blur(3px); opacity: 0; visibility: hidden;
    transition: var(--transition); z-index: 300;
}
.nav-backdrop.open { opacity: 1; visibility: visible; }

@media (max-width: 1080px) {
    .nav-link { padding: 9px 10px; font-size: .86rem; }
    .header-login span { display: none; }
    .header-login { padding: 10px 14px; }
}

@media (max-width: 980px) {
    .mobile-toggle { display: flex; }
    .header-login { display: none; }

    .nav-menu {
        position: fixed; top: 0; right: 0; bottom: 0;
        width: min(320px, 86vw);
        background: #fff;
        flex-direction: column; align-items: stretch; justify-content: flex-start;
        gap: 4px;
        padding: 78px 20px 32px;
        box-shadow: -20px 0 50px rgba(10, 25, 47, .18);
        transform: translateX(100%);
        transition: transform .34s cubic-bezier(.4, 0, .2, 1);
        z-index: 400;
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .nav-menu.open { transform: translateX(0); }

    .nav-link {
        padding: 15px 16px; font-size: 1rem; border-radius: 10px;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-link.active { background: rgba(197, 160, 89, .1); }
    .nav-link.active::after { display: none; }

    .nav-cta { display: inline-flex; margin-top: 18px; }

    .nav-close {
        display: grid; place-items: center;
        position: absolute; top: 18px; right: 18px;
        width: 42px; height: 42px; border-radius: 10px;
        background: var(--bg-light); color: var(--primary-navy); font-size: 1.2rem;
    }
    body.nav-open { overflow: hidden; }
}

@media (max-width: 560px) {
    .brand-logo img { height: 38px; max-width: 124px; }
    /* The logo already carries the wordmark — avoid repeating it on small screens */
    .header-container > .brand-logo .brand-text { display: none; }
}
@media (max-width: 380px) {
    .brand-logo img { height: 34px; max-width: 104px; }
}

/* ==========================================================================
   Hero slider
   ========================================================================== */
.hero-slider-section { position: relative; overflow: hidden; background: var(--primary-navy); }
.slider-container { position: relative; height: clamp(440px, 72vh, 660px); }

.slide {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity .8s ease, visibility .8s ease;
}
.slide.active { opacity: 1; visibility: visible; }
.slide .container { position: relative; z-index: 3; width: 100%; }

.slide-bg { position: absolute; inset: 0; z-index: 1; }
.slide-bg img { width: 100%; height: 100%; object-fit: cover; }
.slide.active .slide-bg img { animation: kenburns 14s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }

.slide-bg-overlay {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(100deg, rgba(7, 15, 30, .96) 0%, rgba(10, 25, 47, .82) 45%, rgba(10, 25, 47, .5) 100%);
}

.slide-content { max-width: 700px; color: #fff; }
.slide-tag {
    display: inline-block; color: var(--classic-gold);
    font-size: clamp(.68rem, 1.6vw, .8rem); font-weight: 800;
    text-transform: uppercase; letter-spacing: 3px; margin-bottom: 14px;
    padding: 6px 14px; border: 1px solid var(--border-gold); border-radius: 40px;
    background: rgba(197, 160, 89, .1);
}
.slide-title {
    color: #fff; font-size: clamp(1.9rem, 6.5vw, 3.9rem);
    line-height: 1.12; margin-bottom: 16px;
}
.slide-title span { color: var(--classic-gold); }
.slide-desc {
    color: rgba(255, 255, 255, .88); font-size: clamp(.95rem, 2.2vw, 1.14rem);
    line-height: 1.75; margin-bottom: 28px; max-width: 620px;
}
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.slider-controls {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
    z-index: 5; display: flex; align-items: center; gap: 16px;
    background: rgba(7, 15, 30, .5); backdrop-filter: blur(8px);
    padding: 8px 14px; border-radius: 60px; border: 1px solid rgba(255, 255, 255, .12);
}
.slider-arrow {
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .1); color: #fff;
    transition: var(--transition);
}
.slider-arrow:hover { background: var(--classic-gold); }
.slider-dots { display: flex; gap: 9px; }
.dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: rgba(255, 255, 255, .35); cursor: pointer; transition: var(--transition);
}
.dot.active { background: var(--classic-gold); width: 26px; border-radius: 6px; }

@media (max-width: 620px) {
    .slider-container { height: clamp(430px, 78vh, 560px); }
    .slide-bg-overlay { background: linear-gradient(180deg, rgba(7, 15, 30, .82) 0%, rgba(10, 25, 47, .92) 100%); }
    .slide-content { text-align: center; margin-inline: auto; }
    .slide-desc { margin-inline: auto; }
    .slide-actions { justify-content: center; }
    .slide-actions .btn { flex: 1 1 100%; }
    .slider-controls { bottom: 16px; padding: 6px 10px; gap: 10px; }
    .slider-arrow { width: 36px; height: 36px; }
}

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
    background: var(--navy-gradient); color: #fff;
    padding: clamp(52px, 9vw, 90px) 0 clamp(44px, 7vw, 70px);
    text-align: center; position: relative; overflow: hidden;
}
.page-hero::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(197, 160, 89, .16), transparent 55%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .subtitle {
    display: block; color: var(--classic-gold); font-weight: 800;
    text-transform: uppercase; letter-spacing: 3px; font-size: clamp(.7rem, 1.6vw, .85rem); margin-bottom: 12px;
}
.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero p { max-width: 760px; margin-inline: auto; color: rgba(255, 255, 255, .85); line-height: 1.8; }

/* ==========================================================================
   Features strip
   ========================================================================== */
.features-strip { margin-top: clamp(-40px, -4vw, -60px); position: relative; z-index: 10; margin-bottom: var(--section-pad); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(14px, 2vw, 22px); }

.feature-card {
    background: var(--card-bg); padding: clamp(22px, 3vw, 30px) clamp(18px, 2.5vw, 26px);
    border-radius: var(--radius-md); box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color); border-top: 3px solid var(--classic-gold);
    transition: var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: grid; place-items: center; margin-bottom: 16px;
    background: var(--navy-gradient); color: var(--classic-gold); font-size: 1.32rem;
    flex-shrink: 0;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; }

/* ==========================================================================
   Section titles
   ========================================================================== */
.section-title { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 54px); }
.section-title .subtitle,
.subtitle {
    display: block; color: var(--classic-gold); font-weight: 800;
    text-transform: uppercase; letter-spacing: 2.6px; font-size: clamp(.7rem, 1.5vw, .84rem); margin-bottom: 10px;
}
.section-title h2 { position: relative; padding-bottom: 16px; }
.section-title h2::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 62px; height: 3px; background: var(--gold-gradient); border-radius: 3px;
}

/* ==========================================================================
   Products
   ========================================================================== */
.products-section { padding-block: var(--section-pad); background: var(--card-bg); }

.flagship-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: clamp(20px, 3vw, 34px); }

.product-card-lg {
    background: var(--card-bg); border-radius: var(--radius-md);
    border: 1px solid var(--border-color); box-shadow: var(--shadow-sm);
    overflow: hidden; transition: var(--transition);
    display: flex; flex-direction: column;
}
.product-card-lg:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-gold); }

.product-img-box {
    position: relative; background: var(--bg-light);
    padding: 28px; display: grid; place-items: center; min-height: 240px;
}
.product-img-box img { max-height: 220px; width: auto; object-fit: contain; border-radius: 10px; }

.badge-lab {
    position: absolute; top: 16px; left: 16px; z-index: 2;
    background: var(--gold-gradient); color: #fff;
    padding: 6px 13px; border-radius: 30px;
    font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.1px;
}
.badge-lab.static { position: static; display: inline-block; }

.product-body { padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; flex: 1; }
.product-category {
    font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.6px;
    color: var(--classic-gold); margin-bottom: 6px; display: block;
}
.product-body h3 { margin-bottom: 4px; }
.product-subtitle { color: var(--text-muted); font-size: .88rem; margin-bottom: 12px; }

.product-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 8px; color: var(--warning); margin-bottom: 14px; font-size: .88rem; }
.product-rating span { color: var(--text-muted); font-size: .8rem; font-weight: 600; }

.product-desc { color: var(--text-muted); font-size: .92rem; line-height: 1.7; margin-bottom: 16px; }

.product-features-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.product-features-list li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: .9rem; color: var(--text-main); line-height: 1.6;
}
.product-features-list li i { color: var(--classic-gold); margin-top: 4px; flex-shrink: 0; }

.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.product-actions .btn { flex: 1 1 160px; }

/* Product detail sections */
.product-detail { padding-block: var(--section-pad); background: var(--card-bg); border-bottom: 1px solid var(--border-color); }
.product-detail.alt { background: var(--bg-light); }

.rd-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (min-width: 900px) {
    .rd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rd-grid.flip > *:first-child { order: 2; }
}

.product-visual {
    background: var(--bg-light); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); padding: clamp(24px, 4vw, 42px); text-align: center;
}
.product-detail.alt .product-visual { background: #fff; }
.product-visual img { max-height: 340px; width: auto; margin-inline: auto; border-radius: 10px; box-shadow: var(--shadow-md); }
.product-visual-meta { margin-top: 20px; }
.product-visual-meta h3 { margin: 10px 0 4px; }
.product-visual-meta p { color: var(--classic-gold); font-weight: 600; font-size: .9rem; }
.product-visual-meta small { display: block; color: var(--text-muted); font-size: .82rem; margin-top: 6px; }

.product-copy h2 { margin: 8px 0 14px; }
.product-copy h4 { margin-bottom: 12px; margin-top: 22px; }
.product-para { color: var(--text-muted); line-height: 1.85; margin-bottom: 14px; }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; margin: 22px 0; }
.spec-item { background: var(--bg-light); border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 16px 18px; }
.product-detail.alt .spec-item { background: #fff; }
.spec-item strong { display: flex; align-items: center; gap: 8px; color: var(--primary-navy); font-size: .88rem; margin-bottom: 6px; }
.spec-item strong i { color: var(--classic-gold); }
.spec-item p { font-size: .86rem; color: var(--text-muted); line-height: 1.6; }

/* Product search */
.product-search-wrap { margin-top: clamp(-32px, -3vw, -44px); position: relative; z-index: 10; margin-bottom: 12px; }
.product-search {
    display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
    background: #fff; padding: 12px; border-radius: var(--radius-md);
    box-shadow: var(--shadow-md); border: 1px solid var(--border-color);
    position: relative;
}
.product-search > i { position: absolute; left: 26px; color: var(--text-light); }
.product-search input {
    flex: 1 1 240px; border: 0; padding: 12px 14px 12px 40px;
    font-size: 16px; background: transparent; min-height: 46px;
}
.product-search input:focus { outline: 0; }
.search-summary { text-align: center; margin-top: 14px; color: var(--text-muted); font-size: .9rem; }

.empty-public { text-align: center; padding: clamp(40px, 7vw, 70px) 20px; }
.empty-public i { font-size: 2.8rem; color: var(--border-color); margin-bottom: 16px; }
.empty-public h3 { margin-bottom: 8px; }
.empty-public p { color: var(--text-muted); margin-bottom: 20px; }

/* ==========================================================================
   Stats band + CTA
   ========================================================================== */
.stats-band { background: var(--navy-gradient); padding-block: clamp(40px, 6vw, 68px); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(18px, 3vw, 32px); text-align: center; }
.stat-block i { font-size: 1.7rem; color: var(--classic-gold); margin-bottom: 10px; }
.stat-block strong { display: block; font-family: var(--font-heading); font-size: clamp(1.7rem, 4.5vw, 2.5rem); color: #fff; line-height: 1.1; }
.stat-block span { font-size: .82rem; color: rgba(255, 255, 255, .72); text-transform: uppercase; letter-spacing: 1.4px; font-weight: 600; }

.cta-band { background: var(--bg-light); padding-block: var(--section-pad); }
.cta-inner {
    background: var(--card-bg); border: 1px solid var(--border-color); border-left: 4px solid var(--classic-gold);
    border-radius: var(--radius-md); box-shadow: var(--shadow-md);
    padding: clamp(26px, 4vw, 46px);
    display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center;
}
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.6fr 1fr; } }
.cta-inner h2 { margin: 6px 0 12px; }
.cta-inner p { color: var(--text-muted); line-height: 1.75; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 899px) { .cta-actions .btn { width: 100%; } }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-layout { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 980px) { .contact-layout { grid-template-columns: 1fr 1fr; align-items: start; } }

.contact-details h2 { margin: 8px 0 24px; }
.contact-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; }
.contact-card .feature-icon { width: 50px; height: 50px; margin: 0; font-size: 1.15rem; }
.contact-card h4 { margin-bottom: 4px; }
.contact-card p { font-size: .85rem; color: var(--text-muted); margin-top: 4px; line-height: 1.6; }
.contact-phone { display: block; color: var(--primary-navy); font-weight: 700; font-size: 1.02rem; }
.contact-phone:hover { color: var(--classic-gold); }
.contact-address { color: var(--text-main) !important; font-size: .93rem !important; }
.link-gold { color: var(--classic-gold); font-weight: 600; word-break: break-word; }
.link-gold:hover { text-decoration: underline; }

.map-embed { margin-top: 26px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); }
.map-embed iframe { display: block; }

.contact-form-card {
    background: var(--bg-light); padding: clamp(22px, 4vw, 40px);
    border-radius: var(--radius-md); border: 1px solid var(--border-color); box-shadow: var(--shadow-md);
}
.contact-form-card h3 { margin-bottom: 6px; }
.form-lede { color: var(--text-muted); font-size: .88rem; margin-bottom: 22px; }

/* ==========================================================================
   R&D page helpers (legacy markup support)
   ========================================================================== */
.rd-hero {
    background: var(--navy-gradient); color: #fff;
    padding: clamp(52px, 8vw, 90px) 0;
}
.rd-hero h1, .rd-hero .slide-title { color: #fff; }
.rd-hero .slide-desc { color: rgba(255, 255, 255, .85); }
.rd-hero img { border-radius: var(--radius-md); }

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background: var(--navy-dark); color: rgba(255, 255, 255, .72);
    padding-top: clamp(44px, 6vw, 72px);
    border-top: 3px solid var(--classic-gold);
}
.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: clamp(26px, 4vw, 40px);
    padding-bottom: clamp(30px, 4vw, 46px);
}
.footer-brand { margin-bottom: 18px; }
.footer-brand img { background: #fff; padding: 5px; height: 50px; max-width: 168px; border-radius: 8px; }
.footer-brand .brand-name { color: #fff; }
.footer-about { font-size: .88rem; line-height: 1.75; margin-bottom: 20px; }

.footer-col h4 { color: #fff; font-size: 1.15rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--gold-gradient); }

.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a, .footer-links li { font-size: .88rem; line-height: 1.6; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); word-break: break-word; }
.footer-links a:hover { color: var(--classic-gold); transform: translateX(3px); }
.footer-links i { color: var(--classic-gold); font-size: .8em; flex-shrink: 0; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact li i { margin-top: 5px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 10px;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .07); color: var(--classic-gold);
    transition: var(--transition);
}
.footer-social a:hover { background: var(--classic-gold); color: #fff; transform: translateY(-3px); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 20px 0; text-align: center; font-size: .82rem;
}

/* ==========================================================================
   Floating actions
   ========================================================================== */
.whatsapp-float, .back-to-top {
    position: fixed; z-index: 150;
    width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center;
    box-shadow: var(--shadow-lg); transition: var(--transition);
}
.whatsapp-float { right: 18px; bottom: 18px; background: #25D366; color: #fff; font-size: 1.5rem; }
.whatsapp-float:hover { transform: scale(1.08); }

.back-to-top {
    right: 18px; bottom: 82px; background: var(--primary-navy); color: var(--classic-gold);
    opacity: 0; visibility: hidden; transform: translateY(12px);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--classic-gold); color: #fff; }

@media (max-width: 480px) {
    .whatsapp-float, .back-to-top { width: 46px; height: 46px; right: 14px; }
    .whatsapp-float { bottom: 14px; font-size: 1.3rem; }
    .back-to-top { bottom: 70px; }
}

@media print {
    .top-bar, .main-header, .main-footer, .whatsapp-float, .back-to-top, .slider-controls { display: none !important; }
    body { background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
