/* =====================================================================
   AK Enterprises & Construction — "Precision Showroom" Premium Theme v3
   A lighter, architectural, editorial take on the navy + gold identity.
   Ink navy #0A1D3A · Gold #C0892B / bright #E6B84D · airy neutrals.
   Display: Plus Jakarta Sans · Body: Inter.
   Light theme only. Every existing class contract preserved.
   ===================================================================== */

:root {
  /* Brand */
  --ink:        #0A1D3A;   /* deep navy — primary brand */
  --ink-2:      #12294A;
  --navy-dark:  #06152B;
  --gold:       #C0892B;   /* rich gold — accents, borders, icons */
  --gold-ink:   #8A6416;   /* darker gold for small TEXT on light (WCAG AA) */
  --gold-2:     #E6B84D;   /* bright gold highlight (on dark) */
  --gold-soft:  #F3E2B5;

  /* Neutrals (cool-biased toward the navy) */
  --bg:         #FCFCFD;
  --soft:       #F3F5F9;
  --soft-2:     #EEF1F6;
  --surface:    #FFFFFF;
  --heading:    #101E38;
  --text:       #16213A;
  --body:       #3F4A60;   /* body copy — AA on white */
  --muted:      #5B6675;   /* muted text — AA on white */
  --border:     #E7EAF1;
  --line:       #EDEFF4;

  /* Elevation */
  --shadow-xs: 0 1px 2px rgba(16, 33, 74, .05);
  --shadow-sm: 0 2px 8px rgba(16, 33, 74, .06);
  --shadow:    0 12px 34px rgba(16, 33, 74, .09);
  --shadow-lg: 0 28px 70px rgba(16, 33, 74, .16);
  --gold-glow: 0 8px 22px rgba(192, 137, 43, .28);

  /* Shape */
  --r:      18px;
  --r-card: 16px;
  --r-btn:  11px;

  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
}

* { box-sizing: border-box; min-width: 0; }

/* Fluid root font-size: the WHOLE rem-based UI (text, buttons, padding,
   gaps) scales smoothly with the viewport — ~14.5px on small phones up to
   17px on large desktops — so everything auto-adjusts to the screen. */
html { scroll-behavior: smooth; font-size: clamp(14.5px, 13.1px + 0.36vw, 17px); }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Nothing may exceed the viewport width */
img, svg, video, iframe, table { max-width: 100%; }
.row { --bs-gutter-x: 1.5rem; }

h1, h2, h3, h4, h5, h6, .navbar-brand, .display-5, .display-6 {
  font-family: var(--font-display);
  color: var(--heading);
  letter-spacing: -.02em;
  line-height: 1.14;
}
h1, h2, h3 { text-wrap: balance; }
a { color: var(--ink); text-decoration: none; transition: color .15s; }
a:hover { color: var(--gold-ink); }

/* Visible keyboard focus for all interactive elements */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
[tabindex]:focus-visible, .nav-link:focus-visible, .act:focus-visible {
  outline: 3px solid var(--gold-2);
  outline-offset: 2px;
  border-radius: 4px;
}
.visually-hidden-focusable:not(:focus):not(:focus-within) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
p { color: var(--body); }
strong { color: var(--text); }

.container { max-width: 1240px; }
.text-gold { color: var(--gold) !important; }
.accent-gold { color: var(--gold); }
.bg-soft { background: var(--soft); }
.bg-dark-section { background: linear-gradient(135deg, var(--navy-dark), var(--ink) 60%, #12294A); color: #C4D0E4; }
.bg-dark-section h1, .bg-dark-section h2, .bg-dark-section h3 { color: #fff; }

/* Section rhythm — generous, editorial */
.section { padding: clamp(56px, 9vw, 116px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3.2rem); }
.section-head h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.section-head p { color: var(--muted); margin-top: .6rem; }

/* Eyebrow — uppercase tracked label with a gold tick */
.eyebrow, .badge-strip {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before, .badge-strip::before {
  content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px;
}
.section-head .eyebrow { justify-content: center; }

/* Each section is an isolated stacking context so nothing can visually
   bleed/ghost across section boundaries during scroll or animation. */
.constr-hero, .lux-hero, .page-hero, .section, .bg-soft, .bg-dark-section,
.industries, .page-header-bar, footer.site-footer { position: relative; isolation: isolate; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.16,.8,.2,1), transform .8s cubic-bezier(.16,.8,.2,1); backface-visibility: hidden; }
.reveal.in { opacity: 1; transform: none; }

/* =====================================================================
   Buttons — confident & refined
   ===================================================================== */
.btn {
  font-family: var(--font-display); font-weight: 700; letter-spacing: .01em;
  border-radius: var(--r-btn); padding: .62rem 1.35rem;
  position: relative; overflow: hidden;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn-lg { padding: .8rem 1.7rem; font-size: 1rem; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn-gold {
  background: linear-gradient(135deg, #EEC25A 0%, var(--gold) 100%);
  border: none; color: #08152B; font-weight: 800;
  box-shadow: var(--gold-glow);
}
.btn-gold i, .btn-gold span { color: #08152B; }
.btn-gold:hover, .btn-gold:focus { background: linear-gradient(135deg, #F3CD6C, #B77E22); color: #08152B; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(192,137,43,.42); }

.btn-navy {
  background: var(--ink); border: none; color: #fff;
  box-shadow: 0 6px 18px rgba(10, 29, 58, .28);
}
.btn-navy:hover, .btn-navy:focus { background: var(--ink-2); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(10, 29, 58, .4); }

.btn-outline-navy { border: 1.5px solid var(--border); color: var(--ink); background: var(--surface); }
.btn-outline-navy:hover { border-color: var(--ink); background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-primary { background: var(--ink); border-color: var(--ink); }
.btn-primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-whatsapp, .btn-wa { background: #25D366; border: none; color: #fff; }
.btn-whatsapp:hover, .btn-wa:hover { background: #1DA851; color: #fff; }
.btn .ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.4); transform: scale(0); animation: ripple .55s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(3.2); opacity: 0; } }

/* =====================================================================
   Top bar + Header
   ===================================================================== */
.topbar {
  background: var(--navy-dark);
  color: #AEBBD2; font-size: .82rem;
  border-bottom: 1px solid rgba(230, 184, 77, .18);
}
.topbar a, .topbar-link { color: #C4D0E4 !important; }
.topbar-link:hover { color: var(--gold-2) !important; }
.gst-chip {
  background: rgba(230, 184, 77, .12); border: 1px solid rgba(230, 184, 77, .35);
  color: var(--gold-2); border-radius: 999px; padding: 2px 12px; font-weight: 600; font-size: .74rem; letter-spacing: .3px;
}

.main-navbar {
  background: rgba(252, 252, 253, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  padding-top: .45rem; padding-bottom: .45rem;
  transition: box-shadow .25s ease, padding .25s ease, background .25s ease;
}
.main-navbar.scrolled { box-shadow: 0 8px 30px rgba(16, 33, 74, .1); padding-top: .3rem; padding-bottom: .3rem; background: rgba(252,252,253,.96); }
/* the brand's own margin would stack on top of the navbar padding */
.main-navbar .navbar-brand { padding-top: 0; padding-bottom: 0; margin-right: .5rem; }

.brand-mark { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #08152B; font-weight: 800; padding: 8px 12px; border-radius: 12px; letter-spacing: .5px; font-size: 1.05rem; box-shadow: var(--gold-glow); }
/* Logos that bake the company name under the mark (a square lockup) need real
   height or the wordmark turns to mush — so this is sized generously and the
   navbar padding tightens to absorb it rather than growing the whole bar. */
.brand-logo-img { height: 72px; width: auto; max-width: 260px; object-fit: contain; transition: height .25s ease; }
.main-navbar.scrolled .brand-logo-img { height: 58px; }
@media (max-width: 991px) { .brand-logo-img { height: 62px; max-width: 210px; } }
@media (max-width: 575px) { .brand-logo-img { height: 54px; max-width: 160px; } }
@media (max-width: 359px) { .brand-logo-img { height: 46px; max-width: 130px; } }
.brand-lockup { line-height: 1.16; }
.brand-text { display: block; font-weight: 800; letter-spacing: -.01em; font-size: 1.02rem; color: var(--heading); }
.brand-tag { display: block; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; }

.main-navbar .nav-link { color: var(--text); font-weight: 600; font-size: .95rem; position: relative; margin: 0 .15rem; }
.main-navbar .navbar-nav .nav-link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .1rem; height: 2px; background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.main-navbar .navbar-nav .nav-link:hover::after, .main-navbar .navbar-nav .nav-link.active::after { transform: scaleX(1); }
.main-navbar .nav-link:hover, .main-navbar .nav-link.active { color: var(--ink); }
.navbar-toggler { border-color: var(--border); }

/* Mega menu */
.mega-menu { border: 1px solid var(--border); border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow-lg); padding: 0; min-width: min(920px, 94vw); overflow: hidden; margin-top: .5rem; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1.2fr; }
.mega-col { padding: 22px 24px; border-right: 1px solid var(--line); }
.mega-col:last-child { border-right: 0; background: linear-gradient(160deg, var(--ink), #12294A); color: #fff; }
.mega-col .mega-title { font-family: var(--font-display); font-weight: 800; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 14px; }
.mega-col:last-child .mega-title { color: var(--gold-2); }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.mega-col a { color: var(--text); font-size: .9rem; font-weight: 500; display: inline-flex; align-items: center; gap: 7px; transition: color .15s, transform .15s; }
.mega-col a i { color: var(--gold); font-size: .7rem; }
.mega-col a:hover { color: var(--gold); transform: translateX(3px); }
.mega-col:last-child p { color: #B9C6DE; font-size: .82rem; margin: 8px 0 14px; }
.mega-feature-img { border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; background: #fff; display: flex; align-items: center; justify-content: center; padding: 8px; }
.mega-feature-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

.nav-icons .nav-link { font-size: 1.05rem; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 50%; margin-left: .4rem; color: var(--ink); background: var(--surface); transition: all .2s; }
.nav-icons .nav-link:hover { border-color: var(--gold); background: var(--gold); color: #08152B; transform: translateY(-2px); }
.nav-icons .nav-link::after { display: none !important; }
.cart-badge { position: absolute; top: -3px; right: -5px; background: var(--gold); color: #08152B; font-size: .62rem; font-weight: 800; border: 2px solid var(--surface); }

/* Search popup */
.search-popup { position: fixed; inset: 0; z-index: 1200; background: rgba(6, 21, 43, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: none; padding: 13vh 16px 0; }
.search-popup.open { display: block; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.search-popup .sp-inner { max-width: 680px; margin: 0 auto; }
.search-popup .sp-field { display: flex; gap: 10px; }
.search-popup input { flex: 1; background: #fff; border: none; border-radius: 14px; padding: 18px 22px; font-size: 1.1rem; box-shadow: var(--shadow-lg); }
.search-popup .sp-close { position: absolute; top: 24px; right: 24px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 1.25rem; }
.search-popup #spResults { margin-top: 14px; background: var(--surface); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.search-popup #spResults:empty { display: none; }
.search-suggestions { position: absolute; top: 100%; left: 0; right: 0; z-index: 1050; background: var(--surface); border-radius: 0 0 14px 14px; max-height: 380px; overflow-y: auto; box-shadow: var(--shadow-lg); }
.search-suggestions a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: var(--text); border-bottom: 1px solid var(--line); }
.search-suggestions a:hover { background: var(--soft); }
.search-suggestions img { width: 42px; height: 42px; object-fit: cover; border-radius: 8px; }

/* =====================================================================
   HERO — refined architectural
   ===================================================================== */
.lux-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 88% -12%, rgba(230, 184, 77, .14), transparent 60%),
    linear-gradient(135deg, #06152B 0%, var(--ink) 52%, #123056 100%);
}
.lux-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(78% 76% at 42% 34%, #000, transparent);
  -webkit-mask-image: radial-gradient(78% 76% at 42% 34%, #000, transparent);
}
.lux-hero .hero-grid-lines { display: none; }
.lux-hero .container { position: relative; z-index: 2; }
.lux-hero .badge-strip { color: var(--gold-2); }
.lux-hero .badge-strip::before { background: var(--gold-2); }
.lux-hero h1 { color: #fff; font-weight: 800; font-size: clamp(2.3rem, 5.2vw, 3.8rem); letter-spacing: -.035em; line-height: 1.06; text-wrap: balance; }
.lux-hero h1 .g { background: linear-gradient(100deg, var(--gold-2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* premium gold rule under the headline */
.lux-hero h1::after { content: ""; display: block; width: 68px; height: 4px; margin-top: 1.1rem; border-radius: 3px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); }
.lux-hero p.lede { color: #C4D0E4; max-width: 46ch; font-size: 1.08rem; line-height: 1.7; }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 46px); }
.hero-stats .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.8vw, 2rem); color: var(--gold-2); font-variant-numeric: tabular-nums; }
.hero-stats .l { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #8EA0C0; margin-top: .1rem; }
.hero-visual { position: relative; min-height: 360px; }
.hero-machine { position: absolute; right: 3%; top: 4%; width: 74%; max-width: 420px; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 18px; background: #fff; padding: 18px; box-shadow: 0 40px 80px rgba(0,0,0,.4); }
/* real uploaded hero photo: fill the frame cleanly (no white card, no stretch) */
.hero-machine.hero-photo { object-fit: cover; background: #0A1D3A; padding: 0; }
/* Hero product slider: sits exactly where .hero-machine did; slides crossfade
   and each one is a link to that product. */
.hero-slider { position: absolute; right: 3%; top: 4%; width: 74%; max-width: 420px; aspect-ratio: 4 / 3; }
.hero-pslide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; pointer-events: none; }
.hero-pslide.active { opacity: 1; pointer-events: auto; }
.hero-pslide img { width: 100%; height: 100%; object-fit: contain; border-radius: 18px; background: #fff; padding: 18px; box-shadow: 0 40px 80px rgba(0,0,0,.4); display: block; transition: transform .35s ease; }
.hero-pslide:hover img { transform: translateY(-5px); }
.hero-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: -26px; display: flex; gap: 8px; z-index: 3; }
.hero-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.34); cursor: pointer; transition: width .25s ease, background .25s ease, border-radius .25s ease; }
.hero-dots button:hover { background: rgba(255,255,255,.6); }
.hero-dots button.active { width: 22px; border-radius: 4px; background: var(--gold-2); }
@media (prefers-reduced-motion: reduce) { .hero-pslide { transition: none; } .hero-pslide img { transition: none; } }

/* Most logo files ship on a white background rather than transparent, which
   would read as a stray white rectangle on the dark footer. Giving it padding
   and a radius turns that into a deliberate badge — and it still looks right if
   a transparent or dark-variant logo is uploaded later. */
.footer-logo-img {
  height: 76px; width: auto; max-width: 240px; object-fit: contain;
  background: #fff; padding: 8px 12px; border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
}
@media (max-width: 575px) { .footer-logo-img { height: 64px; max-width: 200px; } }

.footer-credit a { color: var(--gold-2); font-weight: 700; text-decoration: none; }
.footer-credit a:hover { text-decoration: underline; }

/* ===================== BLOG ===================== */
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line, #e6e9f0); border-radius: 14px; overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.blog-card:hover { box-shadow: 0 18px 40px rgba(10,29,58,.13); transform: translateY(-3px); }
.blog-card-img { position: relative; display: block; aspect-ratio: 16 / 9; background: #f2f4f8; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-badge { position: absolute; top: 10px; left: 10px; background: var(--gold-2); color: #16284c; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.blog-card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted, #6b7a90); }
.blog-meta a { color: var(--gold-2); font-weight: 700; text-decoration: none; }
.blog-card-title { font-family: var(--font-display); font-size: 1.06rem; font-weight: 800; line-height: 1.35; margin: 8px 0; }
.blog-card-title a { color: var(--navy-dark, #16284c); text-decoration: none; }
.blog-card-title a:hover { color: var(--gold-2); }
.blog-card-text { font-size: .87rem; color: var(--muted, #6b7a90); flex: 1; }
.blog-more { font-size: .82rem; font-weight: 700; color: var(--gold-2); text-decoration: none; }
.blog-more:hover { color: var(--navy-dark, #16284c); }

.blog-post-title { font-family: var(--font-display); font-weight: 800; line-height: 1.25; }
.blog-content { font-size: 1rem; line-height: 1.75; color: #253247; }
.blog-content h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; margin: 1.6rem 0 .7rem; }
.blog-content h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin: 1.3rem 0 .6rem; }
.blog-content p { margin-bottom: 1rem; }
.blog-content ul, .blog-content ol { margin-bottom: 1rem; padding-left: 1.3rem; }
.blog-content li { margin-bottom: .35rem; }
.blog-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 1rem 0; }
.blog-content table { width: 100%; margin: 1rem 0; }
.blog-content blockquote { border-left: 3px solid var(--gold-2); padding: .3rem 0 .3rem 1rem; color: var(--muted, #6b7a90); font-style: italic; }

.blog-mini { display: block; }
.blog-mini img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; margin-bottom: 6px; }
.blog-mini-t { display: block; font-weight: 700; font-size: .85rem; color: var(--navy-dark, #16284c); line-height: 1.35; }
.blog-mini:hover .blog-mini-t { color: var(--gold-2); }
.blog-mini-d { display: block; font-size: .72rem; color: var(--muted, #6b7a90); margin-top: 2px; }
.float-card { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 11px 15px; box-shadow: 0 20px 44px rgba(0,0,0,.34); animation: floaty 5.5s ease-in-out infinite; }
.float-card .fc-t { font-family: var(--font-display); font-weight: 800; font-size: .82rem; color: #fff; }
.float-card .fc-p { font-size: .78rem; color: var(--gold-2); font-weight: 700; }
.float-card.a { left: -2%; top: 14%; animation-delay: -1.8s; }
.float-card.b { right: 0; bottom: 8%; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.xp-badge { position: absolute; left: 4%; bottom: 4%; width: 96px; height: 96px; border-radius: 50%; background: conic-gradient(from 210deg, var(--gold-2), var(--gold), #9A6E1E, var(--gold-2)); display: flex; align-items: center; justify-content: center; box-shadow: 0 18px 40px rgba(192,137,43,.45); animation: spin 26s linear infinite; }
.xp-badge .xp-in { width: 80px; height: 80px; border-radius: 50%; background: var(--navy-dark); display: flex; flex-direction: column; align-items: center; justify-content: center; animation: spin 26s linear infinite reverse; }
.xp-badge b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--gold-2); }
.xp-badge span { font-size: .52rem; letter-spacing: .16em; text-transform: uppercase; color: #C4D0E4; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Section title (left variant used on some pages) */
.section-title { font-weight: 800; color: var(--heading); position: relative; padding-left: 18px; margin-bottom: 1.6rem; }
.section-title::before { content: ""; position: absolute; left: 0; top: 5px; bottom: 5px; width: 4px; background: linear-gradient(180deg, var(--gold-2), var(--gold)); border-radius: 3px; }
.section-title-center { color: var(--heading); }

/* =====================================================================
   Trusted brands strip
   ===================================================================== */
.brands-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.marquee { display: flex; gap: 3.5rem; align-items: center; width: max-content; animation: marquee 30s linear infinite; }
.brands-strip:hover .marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee .brand-word { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: #AEB8C9; letter-spacing: .06em; white-space: nowrap; transition: color .2s; }
.brands-strip .marquee .brand-word:hover { color: var(--ink); }
.marquee .eyebrow { color: var(--muted); }
.marquee .eyebrow::before { background: var(--gold); }
.marquee img { height: 40px; object-fit: contain; filter: grayscale(1); opacity: .68; }

/* =====================================================================
   Feature strip
   ===================================================================== */
.feature-tile { display: flex; gap: 15px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.15rem 1.3rem; box-shadow: var(--shadow-xs); height: 100%; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(192,137,43,.4); }
.feature-tile i { font-size: 1.7rem; color: var(--gold); }
.feature-tile .t { font-weight: 700; color: var(--heading); font-size: .95rem; font-family: var(--font-display); }
.feature-tile .s { font-size: .8rem; color: var(--muted); }

/* =====================================================================
   Category cards — architectural tiles
   ===================================================================== */
.category-card { display: block; position: relative; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--border); background: var(--surface); text-align: center; padding: 1.7rem 1rem; transition: all .22s; box-shadow: var(--shadow-xs); }
.category-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transform: scaleX(0); transition: transform .25s ease; }
.category-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.category-card:hover::before { transform: scaleX(1); }
.category-card img { width: 82px; height: 82px; object-fit: contain; margin-bottom: .7rem; }
.category-card .cat-ic { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 16px; margin-bottom: .8rem; background: linear-gradient(150deg, var(--ink), #12294A); color: var(--gold-2); font-size: 1.5rem; box-shadow: 0 8px 20px rgba(10,29,58,.25); }
.category-card .cat-name { color: var(--heading); font-weight: 700; font-size: .96rem; font-family: var(--font-display); }
.category-card .cat-count { font-size: .78rem; color: var(--muted); margin-top: .1rem; }

/* =====================================================================
   Product cards — showroom glass
   ===================================================================== */
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; height: 100%; position: relative; box-shadow: var(--shadow-xs); transition: transform .25s ease, box-shadow .25s ease, border-color .2s; }
.product-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; z-index: 2; }
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card:hover::before { transform: scaleX(1); }
.product-card .img-wrap { position: relative; background: var(--soft); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-card .img-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .45s ease; }
.product-card:hover .img-wrap img { transform: scale(1.08); }
.product-card .discount-badge { position: absolute; top: 12px; left: 12px; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #08152B; font-weight: 800; font-size: .72rem; padding: 4px 10px; border-radius: 8px; z-index: 3; font-family: var(--font-display); }
.product-card .badge-new { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-weight: 700; font-size: .68rem; padding: 4px 10px; border-radius: 8px; z-index: 3; letter-spacing: .05em; }
.card-actions { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 7px; z-index: 3; }
.card-actions .act { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.95); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--ink); font-size: 1rem; box-shadow: var(--shadow-sm); opacity: 0; transform: translateX(12px); transition: opacity .25s, transform .25s, background .15s, color .15s; cursor: pointer; }
.product-card:hover .card-actions .act { opacity: 1; transform: none; }
.card-actions .act:nth-child(2) { transition-delay: .05s; }
.card-actions .act:nth-child(3) { transition-delay: .1s; }
.card-actions .act:hover { background: var(--ink); color: #fff; }
.card-actions .act.wishlist-btn.active { background: #E5484D; color: #fff; border-color: #E5484D; }
@media (hover: none) { .card-actions .act { opacity: 1; transform: none; } }
.product-card .p-body { padding: 1.1rem 1.15rem 1.25rem; }
.product-card .p-cat { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); font-weight: 800; font-family: var(--font-display); }
.product-card .card-title { margin: .3rem 0 .35rem; }
.product-card .card-title a { color: var(--heading); font-weight: 700; font-size: .97rem; font-family: var(--font-display); line-height: 1.3; }
.product-card .card-title a:hover { color: var(--gold); }
.product-card .p-rating { color: var(--gold); font-size: .8rem; }
.product-card .p-rating .cnt { color: var(--muted); }
.price-now { color: var(--heading); font-weight: 800; font-family: var(--font-display); font-size: 1.05rem; }
.price-was { color: #A2AABA; text-decoration: line-through; font-size: .85rem; }
.product-card .p-actions { display: flex; gap: 7px; margin-top: .85rem; }
.product-card .p-actions .btn { flex: 1; padding: .52rem .5rem; font-size: .84rem; }
.product-card .p-actions .btn-wa { flex: 0 0 auto; padding: .52rem .72rem; }

/* =====================================================================
   Industries — dark band
   ===================================================================== */
.industries { background: linear-gradient(135deg, #06152B, var(--ink) 55%, #123056); color: #fff; position: relative; overflow: hidden; }
.industries::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 85% 10%, rgba(230,184,77,.12), transparent 60%); }
.industries .container { position: relative; z-index: 2; }
.industry-tile { border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 1.4rem .8rem; background: rgba(255,255,255,.04); text-align: center; transition: all .2s; height: 100%; }
.industry-tile:hover { background: rgba(230,184,77,.1); border-color: rgba(230,184,77,.4); transform: translateY(-5px); }
.industry-tile i { font-size: 1.8rem; color: var(--gold-2); }
.industry-tile .nm { font-size: .84rem; font-weight: 700; color: #DCE4F0; margin-top: .55rem; }

/* =====================================================================
   About / strength / values
   ===================================================================== */
.about-visual { position: relative; min-height: 340px; border-radius: var(--r); overflow: hidden; background: radial-gradient(circle at 66% 30%, rgba(230,184,77,.4), transparent 46%), linear-gradient(150deg, #123056, var(--ink) 55%, var(--navy-dark)); box-shadow: var(--shadow-lg); }
/* Optional real photo for the About block (Admin → Settings → About Section Image).
   Sits under the badge and fills the frame; without it the gradient above shows. */
.about-visual-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-visual .weld-glow { position: absolute; left: 40%; top: 42%; width: 12px; height: 12px; border-radius: 50%; background: #FFE9A8; box-shadow: 0 0 26px 12px rgba(244,208,96,.72), 0 0 80px 40px rgba(230,184,77,.28); animation: weldPulse 2.8s ease-in-out infinite; }
@keyframes weldPulse { 0%,100% { opacity: .85; } 50% { opacity: 1; transform: scale(1.28); } }
.about-visual-badge { position: absolute; left: 1.5rem; bottom: 1.5rem; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy-dark); border-radius: var(--r-card); padding: 1rem 1.3rem; display: flex; align-items: center; gap: .8rem; box-shadow: 0 16px 36px rgba(192,137,43,.45); }
.about-visual-badge .n { font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; }
.about-visual-badge .l { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; line-height: 1.3; }
.strength-card { border-radius: var(--r-card); padding: 1.5rem 1.3rem; background: var(--surface); border: 1px solid var(--border); text-align: center; height: 100%; box-shadow: var(--shadow-xs); transition: transform .2s, box-shadow .2s; }
.strength-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.strength-card .n { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--heading); }
.strength-card .n em { color: var(--gold); font-style: normal; }
.strength-card .l { font-size: .74rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.7rem 1.4rem; height: 100%; box-shadow: var(--shadow-xs); transition: transform .2s, box-shadow .2s; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.vc-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(150deg, var(--ink), #12294A); color: var(--gold-2); font-size: 1.4rem; margin-bottom: 1rem; box-shadow: 0 10px 22px rgba(10,29,58,.28); }
.range-tile { display: flex; align-items: center; gap: .9rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.1rem 1.2rem; color: var(--heading); font-weight: 600; font-size: .93rem; box-shadow: var(--shadow-xs); transition: all .2s; }
.range-tile i { color: var(--gold); font-size: 1.35rem; }
.range-tile:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); color: var(--heading); }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.trust-list li { position: relative; padding-left: 1.9rem; font-size: .93rem; color: var(--body); line-height: 1.55; }
.trust-list li i { position: absolute; left: 0; top: .2rem; color: var(--gold); font-size: 1.1rem; }
.trust-list.dark-text li { color: var(--body); }

/* =====================================================================
   Timeline
   ===================================================================== */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; margin-top: 2.4rem; }
.timeline::before { content: ""; position: absolute; left: 4%; right: 4%; top: 9px; height: 2px; background: linear-gradient(90deg, var(--gold), rgba(192,137,43,.2)); }
.timeline .tp { position: relative; padding: 30px 18px 0; }
.timeline .tp::before { content: ""; position: absolute; top: 0; left: 18px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 4px solid var(--gold); box-shadow: 0 0 0 4px rgba(192,137,43,.12); }
.timeline .yr { font-family: var(--font-display); font-weight: 800; color: var(--gold); font-size: 1.1rem; }
.timeline .tx { font-size: .86rem; color: var(--muted); }

/* =====================================================================
   Reviews
   ===================================================================== */
.review-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.6rem; position: relative; box-shadow: var(--shadow-xs); height: 100%; transition: transform .2s, box-shadow .2s; }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-card .quote { position: absolute; top: 12px; right: 20px; font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: var(--gold-soft); line-height: 1; }
.review-card .stars { color: var(--gold); font-size: .88rem; }
.review-card .who { display: flex; gap: 11px; align-items: center; margin-top: 1rem; }
.review-card .av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #12294A, var(--ink)); color: var(--gold-2); font-size: .82rem; font-weight: 800; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); }

/* =====================================================================
   CTA + page headers
   ===================================================================== */
.page-header-bar { background: linear-gradient(120deg, var(--navy-dark), var(--ink)); color: #fff; padding: 2.6rem 0; }
.page-header-bar h1, .page-header-bar h2 { color: #fff; font-weight: 800; margin: 0; }
.cta-band { position: relative; overflow: hidden; border-radius: var(--r); padding: 2.4rem 2.4rem; color: #fff; box-shadow: var(--shadow-lg); background: radial-gradient(600px 260px at 88% 0%, rgba(230,184,77,.22), transparent 60%), linear-gradient(120deg, var(--navy-dark), #123056); }
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: #C4D0E4; }

/* =====================================================================
   Page hero (about/contact) + contact
   ===================================================================== */
.page-hero { position: relative; padding: 4.4rem 0 6rem; color: #fff; overflow: hidden; background: radial-gradient(760px 360px at 85% -10%, rgba(230,184,77,.2), transparent 60%), linear-gradient(120deg, #06152B 0%, var(--ink) 55%, #123056 100%); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(70% 80% at 40% 30%, #000, transparent); -webkit-mask-image: radial-gradient(70% 80% at 40% 30%, #000, transparent); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero .accent-gold { color: var(--gold-2); }
.page-hero .hero-sub, .page-header-bar .hero-sub { color: #C4D0E4; max-width: 60ch; }
.page-hero .badge-strip { color: var(--gold-2); }
.page-hero .badge-strip::before { background: var(--gold-2); }
.contact-cards-wrap { margin-top: -3.2rem; position: relative; z-index: 2; }
.contact-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.5rem 1.4rem; color: var(--text); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(192,137,43,.45); color: var(--text); }
.cc-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(150deg, var(--ink), #12294A); color: var(--gold-2); font-size: 1.25rem; margin-bottom: .9rem; box-shadow: 0 8px 18px rgba(10,29,58,.25); }
.contact-card.cc-whatsapp .cc-icon { background: #25D366; color: #fff; box-shadow: 0 8px 18px rgba(37,211,102,.4); }
.cc-title { font-family: var(--font-display); font-weight: 700; color: var(--heading); }
.cc-text { font-size: .88rem; color: var(--muted); margin: .2rem 0 .6rem; }
.cc-go { font-size: .78rem; font-weight: 700; color: var(--gold-ink); letter-spacing: .02em; }
.premium-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.premium-panel.dark { background: radial-gradient(400px 240px at 90% 0%, rgba(230,184,77,.16), transparent 60%), linear-gradient(150deg, #123056, var(--navy-dark)); border-color: rgba(230,184,77,.2); color: #C4D0E4; }
.premium-panel.dark .trust-list li { color: #C4D0E4; }
.premium-panel.dark h2, .premium-panel.dark h4 { color: #fff; }

/* =====================================================================
   Product detail
   ===================================================================== */
.gallery-main { border: 1px solid var(--border); border-radius: var(--r); background: var(--soft); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery-main img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .3s; }
.gallery-main img:hover { transform: scale(1.3); cursor: zoom-in; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumbs img { width: 70px; height: 70px; object-fit: contain; background: var(--soft); border: 2px solid var(--border); border-radius: 12px; cursor: pointer; padding: 5px; transition: border-color .15s; }
.gallery-thumbs img.active, .gallery-thumbs img:hover { border-color: var(--gold); }
.variant-option { cursor: pointer; }
.variant-option input { display: none; }
.variant-option span { display: inline-block; padding: 8px 16px; border: 1.5px solid var(--border); border-radius: 11px; font-size: .88rem; font-weight: 600; color: var(--heading); transition: all .15s; }
.variant-option input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.variant-option:hover span { border-color: var(--gold); }
/* Quantity stepper: keep [−] [n] [+] on ONE row (Bootstrap input-group wraps by
   default; the touch min-height buttons + number spinners overflowed 150px). */
.qty-group { max-width: 160px; flex-wrap: nowrap; }
.qty-group .btn { flex: 0 0 auto; }
.qty-group .form-control { border-color: var(--border); min-width: 0; text-align: center; }
.qty-group input[type="number"]::-webkit-inner-spin-button,
.qty-group input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-group input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.nav-tabs { border-bottom: 1px solid var(--border); }
.nav-tabs .nav-link { color: var(--muted); font-weight: 700; font-family: var(--font-display); border: none; }
.nav-tabs .nav-link.active { color: var(--heading); background: transparent; border-bottom: 3px solid var(--gold); }
.breadcrumb-bar { background: var(--soft); border-bottom: 1px solid var(--line); }
.breadcrumb { margin: 0; padding: .85rem 0; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--muted); }

/* =====================================================================
   Cards / forms / tables
   ===================================================================== */
.card { border-radius: var(--r-card); border: 1px solid var(--border); background: var(--surface); color: var(--text); box-shadow: var(--shadow-xs); }
.card.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.form-control, .form-select { border-radius: 11px; border-color: var(--border); padding: .65rem .95rem; background: var(--surface); color: var(--text); }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .22rem rgba(192,137,43,.14); }
.form-control::placeholder { color: var(--muted); opacity: .85; }
.form-label { font-weight: 600; color: var(--heading); }
.table { --bs-table-border-color: var(--border); color: var(--text); }
.table thead { background: var(--soft); }
.table thead th { font-family: var(--font-display); font-weight: 700; color: var(--heading); }
.pagination { gap: 2px; }
.pagination .page-link { color: var(--ink); border-color: var(--border); border-radius: 10px; margin: 0 3px; background: var(--surface); font-weight: 600; min-width: 42px; text-align: center; transition: all .15s; }
.pagination .page-link:hover { background: var(--bg-soft); border-color: var(--gold); color: var(--gold-ink); }
.pagination .page-item.active .page-link { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .page-item.disabled .page-link { color: var(--muted); background: var(--surface); border-color: var(--border); opacity: .55; }
.badge.bg-success { background: #16A34A !important; }
.badge.bg-danger { background: #DC2626 !important; }
.order-status-badge { text-transform: capitalize; }
.alert { border-radius: 12px; }

/* Quick View modal */
.qv-body { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.qv-img { background: var(--soft); border-radius: var(--r-card); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.qv-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.modal-content { border-radius: var(--r); border: 1px solid var(--border); }
@media (max-width: 575px) { .qv-body { grid-template-columns: 1fr; } }

/* Side cart drawer (mini-cart) */
.cart-drawer { width: min(400px, 92vw); background: var(--surface); color: var(--text); }
.cart-drawer .offcanvas-header { border-bottom: 1px solid var(--border); }
.cart-drawer .offcanvas-title { font-family: var(--font-display); font-weight: 800; color: var(--heading); }
#cartDrawerBody { display: flex; flex-direction: column; }
.cart-drawer-items { flex: 1 1 auto; overflow-y: auto; }
.cart-drawer-item { display: flex; gap: 12px; align-items: flex-start; padding: .9rem 1.25rem; border-bottom: 1px solid var(--line); }
.cart-drawer-item img { width: 60px; height: 60px; object-fit: contain; background: var(--soft); border-radius: 10px; flex: 0 0 auto; padding: 4px; }
.cd-info { flex: 1; min-width: 0; }
.cd-name { font-weight: 700; color: var(--heading); font-size: .9rem; text-decoration: none; display: block; line-height: 1.3; }
.cd-name:hover { color: var(--gold-ink); }
.cd-variant { font-size: .78rem; color: var(--muted); }
.cd-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: .35rem; font-size: .85rem; color: var(--muted); }
.cd-meta .cd-price { font-weight: 800; color: var(--heading); font-family: var(--font-display); }
.cd-remove { background: none; border: none; color: var(--muted); font-size: .8rem; padding: 2px 4px; line-height: 1; }
.cd-remove:hover { color: #E5484D; }
.cart-drawer-footer { border-top: 1px solid var(--border); padding: 1.1rem 1.25rem; background: var(--bg-soft); }
.cart-drawer-footer .cd-total { font-size: 1.05rem; font-weight: 700; color: var(--heading); }
.cart-drawer-empty { text-align: center; padding: 3.5rem 1.5rem; color: var(--muted); }
.cart-drawer-empty i { font-size: 3rem; color: var(--border); display: block; margin-bottom: .6rem; }
.cart-drawer-empty p { margin-bottom: 1rem; }
.btn-added { background: #16A34A !important; border-color: #16A34A !important; color: #fff !important; }
@keyframes cartPop { 0% { transform: scale(1); } 40% { transform: scale(1.25); } 100% { transform: scale(1); } }
.cart-badge.pop, .nav-cart-badge.pop { animation: cartPop .4s ease; }

/* Compare drawer */
.compare-drawer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1090; background: var(--surface); border-top: 2px solid var(--gold); box-shadow: 0 -12px 40px rgba(16,33,74,.18); transform: translateY(110%); transition: transform .3s ease; }
.compare-drawer.open { transform: none; }
.compare-drawer .cd-item { display: flex; align-items: center; gap: 8px; background: var(--soft); border: 1px solid var(--border); border-radius: 11px; padding: 6px 10px; font-size: .8rem; }
.compare-drawer .cd-item img { width: 34px; height: 34px; object-fit: contain; }

/* =====================================================================
   Account sidebar
   ===================================================================== */
.account-sidebar .list-group-item { border: 1px solid transparent; border-radius: 12px !important; margin-bottom: 5px; font-weight: 600; color: var(--text); background: var(--surface); }
.account-sidebar .list-group-item.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.account-sidebar .list-group-item:hover:not(.active) { background: var(--soft); }
.account-sidebar .list-group-item i { width: 22px; color: var(--gold); }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: var(--navy-dark); color: #B9C5DB; }
.site-footer p, .site-footer .small, .site-footer li { color: #B9C5DB; }
.site-footer strong { color: var(--gold-2); }
.site-footer .opacity-75 { opacity: 1 !important; }
.footer-tagline { color: var(--gold-2) !important; font-family: var(--font-display); font-weight: 700; letter-spacing: .02em; font-size: .95rem !important; }
.footer-desc { color: #AEBBD2 !important; }
.footer-title { color: #fff; font-weight: 800; margin-bottom: 1.1rem; font-family: var(--font-display); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a { color: #A9B6CD; font-size: .9rem; display: inline-flex; align-items: center; gap: .6rem; transition: color .15s, transform .15s; }
.footer-links a i { color: var(--gold); font-size: .95rem; width: 18px; text-align: center; flex: 0 0 auto; }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-links a:hover i { color: var(--gold-2); }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); color: #fff; margin-right: 9px; transition: all .2s; }
.social-links a:hover { background: var(--gold); color: #08152B; transform: translateY(-3px); }
.footer-bottom { background: #040E1F; color: #7C89A2; }
.footer-map { height: 150px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.footer-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(.95); }
.site-footer .form-control { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; }
.site-footer .form-control::placeholder { color: #8695AE; }

/* WhatsApp float */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 1060; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(37,211,102,.4); transition: transform .2s; }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }

/* Back-to-top button */
.scroll-top { position: fixed; right: 24px; bottom: 90px; z-index: 1060; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; border: none; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, background .2s, color .2s; }
.scroll-top.show { opacity: 1; visibility: visible; transform: none; }
.scroll-top:hover { background: var(--gold); color: #08152B; transform: translateY(-2px); }
@media (max-width: 991.98px) { .scroll-top { bottom: calc(148px + env(safe-area-inset-bottom, 0)); right: 22px; width: 42px; height: 42px; } }

/* Misc kept classes */
.brand-logo-tile { border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); height: 92px; display: flex; align-items: center; justify-content: center; padding: 12px; filter: grayscale(1); opacity: .68; transition: all .25s; }
.brand-logo-tile:hover { filter: none; opacity: 1; box-shadow: var(--shadow-sm); }
.brand-logo-tile img { max-height: 100%; max-width: 100%; object-fit: contain; }
img.lazy { opacity: 0; transition: opacity .4s; }
img.lazy.loaded { opacity: 1; }
.counter-tile { text-align: center; padding: 1.5rem .5rem; }
.counter-tile .num { font-size: 2.4rem; font-weight: 800; color: var(--gold-2); font-family: var(--font-display); }
.counter-tile .lbl { color: #C4D0E4; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-top: .2rem; }
.hero-slide { background: linear-gradient(120deg, var(--navy-dark), var(--ink) 55%, #123056); color: #fff; min-height: 440px; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-slide .accent { color: var(--gold-2); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .6s ease both; }

/* =====================================================================
   CMS / policy pages — premium prose styling
   ===================================================================== */
.cms-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-sm); padding: clamp(1.4rem, 4vw, 2.6rem); }
.cms-content { color: var(--body); font-size: 1rem; line-height: 1.8; }
.cms-content > *:first-child { margin-top: 0; }
.cms-content h1, .cms-content h2, .cms-content h3, .cms-content h4 { color: var(--heading); font-family: var(--font-display); font-weight: 800; margin: 1.8rem 0 .8rem; line-height: 1.25; }
.cms-content h2 { font-size: 1.4rem; padding-bottom: .5rem; border-bottom: 2px solid var(--line); position: relative; }
.cms-content h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 54px; height: 2px; background: var(--gold); }
.cms-content h3 { font-size: 1.15rem; }
.cms-content p { margin: 0 0 1.1rem; }
.cms-content a { color: var(--gold-ink); font-weight: 600; text-decoration: underline; }
.cms-content ul, .cms-content ol { margin: 0 0 1.2rem; padding-left: 0; list-style: none; }
.cms-content ul li, .cms-content ol li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
.cms-content ul li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--gold); font-size: .95rem; }
.cms-content ol { counter-reset: cms; }
.cms-content ol li::before { counter-increment: cms; content: counter(cms); position: absolute; left: 0; top: .1rem; width: 22px; height: 22px; background: var(--ink); color: #fff; border-radius: 50%; font-size: .72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); }
.cms-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.4rem; }
.cms-content table th, .cms-content table td { border: 1px solid var(--border); padding: .7rem .9rem; text-align: left; }
.cms-content table th { background: var(--bg-soft); color: var(--heading); font-family: var(--font-display); }
.cms-content strong { color: var(--text); }
.cms-content blockquote { border-left: 4px solid var(--gold); background: var(--bg-soft); padding: 1rem 1.2rem; border-radius: 0 12px 12px 0; margin: 0 0 1.2rem; color: var(--text); }
.cms-updated { margin-top: 1.8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.cms-side { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.4rem; box-shadow: var(--shadow-xs); }
.cms-side-title { font-family: var(--font-display); font-weight: 800; color: var(--heading); font-size: .95rem; margin-bottom: 1rem; }
.cms-side-links { list-style: none; padding: 0; margin: 0; }
.cms-side-links li { margin-bottom: .55rem; }
.cms-side-links a { color: var(--body); font-size: .92rem; display: inline-flex; align-items: center; gap: .5rem; transition: color .15s, transform .15s; }
.cms-side-links a i { color: var(--gold); font-size: .75rem; }
.cms-side-links a:hover { color: var(--gold-ink); transform: translateX(3px); }
.cms-help { background: radial-gradient(320px 180px at 90% 0%, rgba(230,184,77,.16), transparent 60%), linear-gradient(150deg, #0A2647, var(--navy-dark)); border-color: rgba(230,184,77,.25); color: #C4D0E4; }
.cms-help .cms-side-title { color: #fff; }

/* =====================================================================
   Construction Services page
   ===================================================================== */
.constr-hero { position: relative; overflow: hidden; color: #fff;
  background:
    linear-gradient(115deg, rgba(6,21,43,.92), rgba(10,29,58,.82) 55%, rgba(18,48,86,.78)),
    radial-gradient(900px 500px at 85% -10%, rgba(230,184,77,.16), transparent 60%),
    linear-gradient(120deg, #06152B, #0A1D3A 55%, #123056); }
.constr-hero::before { content:""; position:absolute; inset:0;
  background: linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
  background-size: 52px 52px; mask-image: radial-gradient(80% 80% at 50% 30%,#000,transparent); -webkit-mask-image: radial-gradient(80% 80% at 50% 30%,#000,transparent); }
.constr-hero .container { position: relative; z-index: 2; }
.constr-hero h1 { color:#fff; font-weight:800; font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing:-.03em; }
.constr-hero h1 .g { background: linear-gradient(100deg, var(--gold-2), var(--gold)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.constr-hero p.lede { color:#C0CDE1; max-width: 56ch; font-size:1.05rem; }
.scroll-indicator { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; position: relative; margin: 0 auto; }
.scroll-indicator::after { content:""; position:absolute; left:50%; top:8px; width:4px; height:8px; background: var(--gold-2); border-radius:2px; transform: translateX(-50%); animation: scrolldot 1.6s ease-in-out infinite; }
@keyframes scrolldot { 0%{opacity:0;transform:translate(-50%,0)} 50%{opacity:1} 100%{opacity:0;transform:translate(-50%,14px)} }

.service-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 1.7rem 1.5rem; height: 100%; box-shadow: var(--shadow-xs); position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .2s; }
.service-card::before { content:""; position:absolute; left:0; right:0; top:0; height:3px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transform: scaleX(0); transform-origin:left; transition: transform .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card .svc-icon { width: 56px; height: 56px; border-radius: 16px; display:flex; align-items:center; justify-content:center; font-size:1.5rem; color: var(--gold-2); background: linear-gradient(150deg, var(--ink), #12294A); margin-bottom: 1rem; box-shadow: 0 10px 22px rgba(10,29,58,.28); }
.service-card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: .6rem; color: var(--heading); }
.service-card ul { list-style:none; padding:0; margin:0; display:grid; gap:.45rem; }
.service-card ul li { font-size:.88rem; color: var(--body); position: relative; padding-left: 1.35rem; }
.service-card ul li::before { content:"\2713"; position:absolute; left:0; color: var(--gold); font-weight:800; }

.process-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.process-step { position: relative; background: var(--surface); border:1px solid var(--border); border-radius: var(--r-card); padding: 1.5rem 1.3rem; box-shadow: var(--shadow-xs); transition: transform .2s, box-shadow .2s; }
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.process-step .num { font-family: var(--font-display); font-weight:800; font-size:1.7rem; color: var(--gold-ink); line-height:1; }
.process-step .st-title { font-family: var(--font-display); font-weight:700; color: var(--heading); margin:.5rem 0 .2rem; font-size:.98rem; }
.process-step .st-desc { font-size:.82rem; color: var(--muted); }

.chip-grid { display:flex; flex-wrap:wrap; gap:.6rem; }
.constr-chip { display:inline-flex; align-items:center; gap:.5rem; background: var(--surface); border:1px solid var(--border); border-radius: 999px; padding:.55rem 1.1rem; font-weight:600; font-size:.9rem; color: var(--heading); box-shadow: var(--shadow-xs); transition: all .18s; }
.constr-chip i { color: var(--gold); }
.constr-chip:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.constr-chip.dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color:#E1E8F3; }
.constr-chip.dark i { color: var(--gold-2); }
.constr-chip.dark:hover { background: rgba(230,184,77,.12); border-color: rgba(230,184,77,.4); }

.expertise-item { display:flex; align-items:center; gap:.8rem; background: var(--surface); border:1px solid var(--border); border-radius: var(--r-card); padding: .9rem 1.1rem; box-shadow: var(--shadow-xs); transition: all .18s; height:100%; }
.expertise-item i { color: var(--gold); font-size:1.3rem; }
.expertise-item span { font-weight:600; color: var(--heading); font-size:.92rem; }
.expertise-item:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }

.gallery-grid.constr-gallery { grid-auto-rows: 155px; }
.constr-gallery .g .g-label { position:absolute; left:0; right:0; bottom:0; z-index:2; padding:.8rem 1rem; color:#fff; font-family: var(--font-display); font-weight:700; font-size:.9rem; background: linear-gradient(transparent, rgba(6,21,43,.85)); }
@media (max-width: 767.98px) { .gallery-grid.constr-gallery { grid-auto-rows: 120px; } }

@media (max-width: 991.98px) { .process-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 575.98px) { .process-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Responsive / touch
   ===================================================================== */
@supports (-webkit-touch-callout: none) { .form-control, .form-select { font-size: 16px; } }
input, button, a { -webkit-tap-highlight-color: transparent; }
@media (pointer: coarse) { .btn, .form-control, .form-select { min-height: 44px; } .nav-icons .nav-link { min-width: 44px; min-height: 44px; } }
.table-responsive { -webkit-overflow-scrolling: touch; }
img { max-width: 100%; }

.mobile-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1055; display: flex; justify-content: space-around; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--border); box-shadow: 0 -8px 26px rgba(16,33,74,.1); padding-bottom: env(safe-area-inset-bottom, 0); }
.mobile-bottom-nav a { flex: 1; text-align: center; color: var(--muted); font-size: .66rem; font-weight: 600; padding: 9px 2px 6px; position: relative; }
.mobile-bottom-nav a i { display: block; font-size: 1.28rem; margin-bottom: 2px; }
.mobile-bottom-nav a.active { color: var(--ink); }
.mobile-bottom-nav a.active i { color: var(--gold); }
.mobile-bottom-nav .nav-cart-badge { position: absolute; top: 3px; left: calc(50% + 8px); background: var(--gold); color: #08152B; font-size: .6rem; min-width: 16px; height: 16px; line-height: 16px; border-radius: 8px; padding: 0 4px; font-weight: 800; }
@media (min-width: 992px) { .mobile-bottom-nav { display: none; } }

/* ===================== TABLET & BELOW (< 992px) ===================== */
@media (max-width: 991.98px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0)); }
  .whatsapp-float { bottom: calc(80px + env(safe-area-inset-bottom, 0)); right: 16px; }

  /* Navbar becomes a solid light bar; collapsed menu is a clean panel */
  .main-navbar { background: var(--surface); }
  .navbar-collapse {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-card);
    margin-top: .7rem; padding: .6rem .4rem;
    box-shadow: var(--shadow);
  }
  .navbar-nav.mx-auto { margin: 0 !important; }
  .main-navbar .navbar-nav .nav-link { padding: .6rem .9rem; }
  .main-navbar .navbar-nav .nav-link::after { display: none; }
  .nav-icons { flex-direction: row !important; justify-content: center; gap: .3rem; margin-top: .5rem; padding-top: .5rem; border-top: 1px solid var(--line); }
  .nav-icons .nav-link { color: var(--ink); }

  /* Mega menu → simple stacked list inside the collapse (never overflows) */
  .mega-menu { position: static !important; min-width: 0 !important; width: 100%; box-shadow: none; border: none; border-radius: 0; transform: none !important; }
  .mega-grid { grid-template-columns: 1fr; }
  .mega-col { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 14px; }
  .mega-col:last-child { grid-column: auto; border-radius: 12px; margin: 8px 6px; padding: 16px; }
  .mega-feature-img { aspect-ratio: 16/7; }

  /* Hero: stack, machine becomes a normal centered image, decor hidden */
  .lux-hero { text-align: center; }
  .lux-hero .badge-strip { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { position: relative; min-height: 0; margin-top: 2rem; display: flex; justify-content: center; }
  .hero-machine { position: static; width: min(360px, 88%); max-width: 360px; margin: 0 auto; aspect-ratio: 16 / 11; max-height: 240px; padding: 12px; }
  .hero-machine.hero-photo { padding: 0; }
  /* slider becomes a normal centered card too; dots stay (they're the only
     way to browse here, since the float cards are hidden on small screens) */
  .hero-slider { position: relative; right: auto; top: auto; width: min(360px, 88%); max-width: 360px; margin: 0 auto 26px; aspect-ratio: 16 / 11; max-height: 240px; }
  .hero-pslide img { padding: 12px; }
  .float-card, .xp-badge { display: none !important; }
}

/* ===================== PHONES (< 768px) ===================== */
@media (max-width: 767.98px) {
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 2rem; }
  .lux-hero .container { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  .lux-hero .badge-strip { margin-bottom: 1rem !important; }
  .lux-hero h1 { font-size: 2.35rem; line-height: 1.08; margin-bottom: 1.1rem !important; }
  .lux-hero h1::after { margin-left: auto; margin-right: auto; margin-top: 1.2rem; height: 4px; width: 60px; }
  .lux-hero p.lede { font-size: 1.02rem; margin: 0 auto 1.6rem !important; }
  .hero-stats { gap: 26px; margin-top: .5rem; }
  .hero-stats .n { font-size: 1.6rem; }
  .section-head .eyebrow { justify-content: center; }

  .timeline { grid-template-columns: 1fr 1fr; row-gap: 1.6rem; }
  .timeline::before { display: none; }
  .timeline .tp { padding: 26px 10px 0; }
  .timeline .tp::before { left: 10px; }

  .counter-tile { padding: 1rem .3rem; }
  .counter-tile .num { font-size: 1.6rem; }
  .category-card { padding: 1.15rem .6rem; }
  .category-card .cat-ic { width: 48px; height: 48px; font-size: 1.25rem; }
  .value-card, .premium-panel { padding: 1.3rem !important; }
  .cta-band { padding: 1.6rem 1.35rem; text-align: center; }
  .cta-band .text-lg-end { text-align: center !important; margin-top: 1rem; }
  h1.display-5, h1.display-6 { font-size: 1.75rem; }

  /* On phones, declutter the card: hide desktop-only Quick View & Compare
     floating icons (tapping the card opens the product); keep only the
     wishlist heart, plus the Add + WhatsApp buttons in the bottom row. */
  .card-actions .act[data-quickview],
  .card-actions .act[data-compare] { display: none; }
  .card-actions .act.wishlist-btn { opacity: 1; transform: none; }
  .product-card .p-actions .btn { font-size: .85rem; padding: .55rem .5rem; }

  /* Contact cards no longer overlap the hero on small screens */
  .contact-cards-wrap { margin-top: 1.5rem; }

  /* Footer: center-align for a tidy stack */
  .footer-map { height: 170px; }
}

/* ===================== SMALL PHONES (< 576px) ===================== */
@media (max-width: 575.98px) {
  .container, .container-fluid { padding-left: 16px; padding-right: 16px; }
  .topbar { display: none !important; }
  .search-input { min-width: 0; }
  .btn-lg { padding: .7rem 1.3rem; font-size: .95rem; }

  /* 2-up product/category grids read better than tiny 1-up on phones */
  .lux-hero h1 { font-size: 2.05rem; }
  .lux-hero .container { padding-top: 2.4rem !important; padding-bottom: 2.6rem !important; }
  .section-head h2 { font-size: 1.4rem; }
  .hero-stats { gap: 18px; }
  .hero-stats .n { font-size: 1.3rem; }
  .hero-stats .l { font-size: .6rem; }
  .about-visual { min-height: 240px; }
  .about-visual-badge { left: 1rem; bottom: 1rem; padding: .7rem 1rem; }
  .about-visual-badge .n { font-size: 1.5rem; }

  /* Stack two-column utility rows that Bootstrap keeps side-by-side */
  .cta-band .row > [class*="col-"] { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
