/* ==========================================================================
   VID Interiors — Global Stylesheet
   Design tokens + shared layout (navbar, footer) + reusable components
   ========================================================================== */

:root {
  /* Brand palette */
  --color-charcoal: #1c1a17;
  --color-charcoal-soft: #262320;
  --color-gold: #b8925a;
  --color-gold-light: #d9b483;
  --color-cream: #f7f3ec;
  --color-cream-dark: #eee7da;
  --color-white: #ffffff;
  --color-text: #3f3b36;
  --color-text-muted: #75706a;
  --color-border: #e4dccc;

  /* Typography */
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;

  /* Spacing / shape */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --shadow-soft: 0 10px 40px rgba(28, 26, 23, 0.08);
  --shadow-strong: 0 20px 60px rgba(28, 26, 23, 0.16);
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-white);
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .font-heading {
  font-family: var(--font-heading);
  color: var(--color-charcoal);
  font-weight: 600;
  letter-spacing: 0.3px;
}

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

.text-gold { color: var(--color-gold) !important; }
.bg-cream { background-color: var(--color-cream); }
.bg-charcoal { background-color: var(--color-charcoal); }

.section-pad { padding: 6rem 0; }
@media (max-width: 767.98px) {
  .section-pad { padding: 3.5rem 0; }
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--color-text-muted);
  max-width: 640px;
}

/* ---------- Buttons ---------- */
.btn-gold {
  display: inline-block;
  background-color: var(--color-gold);
  border: 1px solid var(--color-gold);
  color: var(--color-white);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  text-align: center;
}
.btn-gold:hover {
  background-color: var(--color-charcoal);
  border-color: var(--color-charcoal);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-gold {
  display: inline-block;
  background-color: transparent;
  border: 1px solid var(--color-gold);
  color: var(--color-charcoal);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  text-align: center;
}
.btn-outline-gold:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-call {
  background-color: var(--color-charcoal);
  color: var(--color-white);
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}
.btn-call:hover { background-color: var(--color-gold); color: var(--color-white); }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--color-charcoal);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader .loader-mark {
  font-family: var(--font-heading);
  color: var(--color-gold);
  font-size: 1.6rem;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 14px;
}
#preloader .loader-mark::after {
  content: '';
  position: absolute; left: 50%; bottom: 0;
  width: 40px; height: 2px; margin-left: -20px;
  background: var(--color-gold);
  animation: loaderLine 1.1s ease-in-out infinite;
}
@keyframes loaderLine { 0%,100% { opacity: .3; width: 10px;} 50% { opacity: 1; width: 60px; } }
body.loaded #preloader { opacity: 0; visibility: hidden; }

/* ---------- Scroll progress bar ---------- */
#scrollProgress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  z-index: 1100; transition: width 0.1s ease;
}

/* ---------- Navbar ---------- */
.navbar-vid {
  background: rgba(255,255,255,0.97);
  padding: 1.1rem 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.navbar-vid.scrolled {
  padding: 0.6rem 0;
  box-shadow: var(--shadow-soft);
  border-bottom-color: var(--color-border);
}
.navbar-brand-vid {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-charcoal) !important;
  line-height: 1.1;
}
.navbar-brand-vid small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 400;
}
.navbar-vid .nav-link {
  color: var(--color-charcoal);
  font-weight: 500;
  margin: 0 0.7rem;
  position: relative;
  padding: 0.5rem 0 !important;
}
.navbar-vid .nav-link::after {
  content: '';
  position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--color-gold);
  transition: var(--transition);
}
.navbar-vid .nav-link:hover::after,
.navbar-vid .nav-link.active::after { width: 100%; }

/* Custom dropdown caret (replaces Bootstrap's default ::after, which our underline effect overrides) */
.navbar-vid .dropdown-toggle::after { display: none; }
.navbar-vid .dropdown-caret {
  font-size: 0.62rem;
  margin-left: 4px;
  transition: transform 0.3s ease, color 0.3s ease;
  vertical-align: 1px;
}
.navbar-vid .nav-item.dropdown:hover .dropdown-caret,
.navbar-vid .nav-item.dropdown .dropdown-toggle.active .dropdown-caret { transform: rotate(180deg); color: var(--color-gold); }

/* Open dropdowns/mega-menu on hover for desktop; click still works for touch/mobile */
@media (min-width: 992px) {
  .navbar-vid .nav-item.dropdown:hover > .dropdown-menu,
  .navbar-vid .nav-item.dropdown:hover > .mega-menu {
    display: block;
    animation: navDropdownFade 0.2s ease;
  }
}
@keyframes navDropdownFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.mega-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
  padding: 1.5rem;
  min-width: 640px;
}
.mega-menu .mega-col-title {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.mega-menu a.mega-link {
  display: block;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 0.92rem;
}
.mega-menu a.mega-link:hover { background: var(--color-cream); color: var(--color-gold); }

.resources-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
  padding: 0.6rem;
  min-width: 230px;
}
.resources-menu .dropdown-item {
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--color-text);
}
.resources-menu .dropdown-item:hover,
.resources-menu .dropdown-item:focus { background: var(--color-cream); color: var(--color-gold); }
.resources-menu .dropdown-item.active { background: var(--color-cream); color: var(--color-gold); }

/* Mobile submenu fix: mega-menu/resources-menu were overflowing the screen at their
   desktop widths and absolute position — make them expand inline in the collapsed nav. */
@media (max-width: 991.98px) {
  .navbar-vid .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    border: 1px solid var(--color-border);
    margin: 0.5rem 0 0.5rem 0.5rem;
  }
  .mega-menu .row.g-4 { flex-direction: column; row-gap: 1rem; }
  .mega-menu .col-6 { width: 100%; }
  .mega-menu, .resources-menu { padding: 1rem; }
}

.nav-call-btn {
  background: var(--color-gold);
  color: var(--color-white) !important;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.92rem;
  white-space: nowrap;
}
.nav-call-btn:hover { background: var(--color-charcoal); color: var(--color-white) !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(28,26,23,0.55), rgba(28,26,23,0.65)),
              url('../images/home/home-banner.avif') center/cover no-repeat;
  color: var(--color-white);
}
.hero .eyebrow { color: var(--color-gold-light); }
.hero h1 {
  color: var(--color-white);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.15;
}
.hero p.lead { color: rgba(255,255,255,0.85); max-width: 560px; }
.hero-scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.8); font-size: 0.8rem; text-align: center;
}
.hero-scroll-cue .line { width:1px; height: 40px; background: rgba(255,255,255,0.5); margin: 8px auto 0; position: relative; overflow: hidden; }
.hero-scroll-cue .line::after { content:''; position:absolute; top:-100%; left:0; width:100%; height:100%; background: var(--color-gold); animation: cueMove 1.6s ease-in-out infinite; }
@keyframes cueMove { 0% { top: -100%; } 100% { top: 100%; } }

/* ---------- Cards ---------- */
.card-vid {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
  transition: var(--transition);
  height: 100%;
}
.card-vid:hover { transform: translateY(-8px); box-shadow: var(--shadow-strong); }
.card-vid .card-img-wrap { overflow: hidden; aspect-ratio: 4/3; }
.card-vid .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.card-vid:hover .card-img-wrap img { transform: scale(1.08); }
.card-vid .card-body { padding: 1.5rem; }
.card-vid .card-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1rem;
}
.card-vid .learn-more {
  color: var(--color-gold);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 0.35rem;
  transition: var(--transition);
}
.card-vid .learn-more i { transition: var(--transition); }
.card-vid:hover .learn-more i { transform: translateX(4px); }

/* Feature (why choose us) cards */
.feature-card {
  text-align: center;
  padding: 2.2rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  height: 100%;
}
.feature-card:hover { box-shadow: var(--shadow-soft); border-color: var(--color-gold-light); }
.feature-card .feature-icon {
  width: 64px; height: 64px; margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
}

/* Project cards */
.project-card { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.project-card .project-img { aspect-ratio: 4/3; overflow: hidden; }
.project-card .project-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.project-card:hover .project-img img { transform: scale(1.1); }
.project-card .project-meta {
  padding: 1.4rem;
  background: var(--color-white);
}
.project-card .project-tags span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-right: 0.8rem;
}

/* Material chips */
.material-card {
  border-radius: var(--radius-md);
  padding: 1.6rem 1.2rem;
  text-align: center;
  background: var(--color-cream);
  transition: var(--transition);
  height: 100%;
}
.material-card:hover { background: var(--color-charcoal); color: var(--color-white); transform: translateY(-6px); }
.material-card:hover h5 { color: var(--color-white); }
.material-card .material-icon { font-size: 2rem; color: var(--color-gold); margin-bottom: 0.8rem; }

/* Design style cards */
.style-card { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3/4; }
.style-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.style-card:hover img { transform: scale(1.1); }
.style-card .style-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.75));
  display: flex; align-items: flex-end; padding: 1.2rem;
}
.style-card .style-overlay h5 { color: var(--color-white); margin: 0; }

/* ---------- Process timeline ---------- */
.process-track { position: relative; }
.process-step {
  text-align: center;
  padding: 1.5rem 1rem;
  position: relative;
}
.process-step .process-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-charcoal); color: var(--color-gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.2rem;
  margin: 0 auto 1rem; position: relative; z-index: 2;
  transition: var(--transition);
}
.process-step:hover .process-num { background: var(--color-gold); color: var(--color-white); }
.process-connector {
  position: absolute; top: 28px; left: 0; right: 0; height: 2px;
  background: var(--color-border); z-index: 1;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 2rem;
  height: 100%;
}
.testimonial-card .stars { color: var(--color-gold); letter-spacing: 2px; }
.avatar-initials {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: #fff; font-family: 'Fraunces', serif; font-weight: 600; font-size: 1rem;
}

/* ---------- Stats ---------- */
.stat-box { text-align: center; padding: 1rem; }
.stat-box .stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-gold);
  font-weight: 700;
}
.stat-box .stat-label { color: rgba(255,255,255,0.75); text-transform: uppercase; font-size: 0.78rem; letter-spacing: 1.5px; }

/* ---------- FAQ ---------- */
.accordion-vid .accordion-item { border: none; border-bottom: 1px solid var(--color-border); }
.accordion-vid .accordion-button { font-family: var(--font-heading); font-weight: 600; color: var(--color-charcoal); background: transparent; box-shadow: none; padding: 1.3rem 0.5rem; }
.accordion-vid .accordion-button:not(.collapsed) { color: var(--color-gold); background: transparent; }
.accordion-vid .accordion-button::after { filter: sepia(1) saturate(3) hue-rotate(0deg); }
.accordion-vid .accordion-body { padding: 0 0.5rem 1.3rem; color: var(--color-text-muted); }

/* ---------- Forms ---------- */
.form-vid label { font-weight: 500; font-size: 0.88rem; margin-bottom: 0.4rem; }
.form-vid .form-control, .form-vid .form-select {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  background: var(--color-cream);
}
.form-vid .form-control:focus, .form-vid .form-select:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(184,146,90,0.15);
  background: var(--color-white);
}

/* ---------- Footer ---------- */
.footer-vid { background: var(--color-charcoal); color: rgba(255,255,255,0.75); padding-top: 5rem; }
.footer-vid h5, .footer-vid .footer-brand { color: var(--color-white); }
.footer-vid a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-vid a:hover { color: var(--color-gold); }
.footer-vid .footer-brand { font-family: var(--font-heading); font-size: 1.6rem; }
.footer-vid .social-icon {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 0.5rem;
  transition: var(--transition);
}
.footer-vid .social-icon:hover { background: var(--color-gold); border-color: var(--color-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.3rem 0; margin-top: 3rem; font-size: 0.85rem; }

/* ---------- Back to top ---------- */
#backToTop {
  position: fixed; right: 24px; bottom: 96px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--color-charcoal); color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition);
  z-index: 900; border: none;
}
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background: var(--color-gold); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Sticky call bar (mobile) ---------- */
.mobile-call-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 950;
  background: var(--color-charcoal);
  display: none;
  padding: 0.7rem 1rem;
}
@media (max-width: 767.98px) { .mobile-call-bar { display: flex; gap: 0.6rem; } }
.mobile-call-bar a { flex: 1; text-align: center; color: var(--color-white); font-weight: 500; padding: 0.6rem; border-radius: var(--radius-sm); }
.mobile-call-bar a.call { background: var(--color-gold); }
.mobile-call-bar a.enquire { background: transparent; border: 1px solid rgba(255,255,255,0.3); }

/* ---------- WhatsApp chat widget ---------- */
.wa-fab {
  position: fixed; right: 24px; bottom: 24px; width: 60px; height: 60px;
  border-radius: 50%; background: #25d366; display: flex; align-items: center;
  justify-content: center; cursor: pointer; z-index: 970; border: none;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab i { color: #fff; font-size: 1.75rem; }
.wa-fab-badge {
  position: absolute; top: -4px; right: -4px; width: 20px; height: 20px;
  background: #ff3b30; color: #fff; border-radius: 50%; font-size: 0.68rem;
  font-weight: 700; display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}

.wa-panel {
  position: fixed; right: 24px; bottom: 96px; width: 360px; max-width: calc(100vw - 32px);
  height: 520px; max-height: 70vh; background: #fff; border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28); overflow: hidden; z-index: 975;
  display: flex; flex-direction: column;
  transform: translateY(24px) scale(0.96); transform-origin: bottom right;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0.35s;
}
.wa-panel.open { transform: translateY(0) scale(1); opacity: 1; visibility: visible; pointer-events: auto; }

.wa-panel-header {
  background: linear-gradient(135deg, #075e54, #128c7e); color: #fff;
  display: flex; align-items: center; gap: 0.7rem; padding: 0.85rem 1rem; flex-shrink: 0;
}
.wa-header-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0;
}
.wa-header-info { flex: 1; min-width: 0; }
.wa-header-info strong { display: block; font-size: 0.95rem; }
.wa-status { display: flex; align-items: center; gap: 0.35rem; font-size: 0.74rem; opacity: 0.9; }
.wa-dot { width: 7px; height: 7px; border-radius: 50%; background: #4dff88; display: inline-block; }
.wa-panel-close {
  background: none; border: none; color: #fff; font-size: 1.1rem; opacity: 0.85;
  padding: 0.25rem; line-height: 1; flex-shrink: 0;
}
.wa-panel-close:hover { opacity: 1; }

.wa-panel-body {
  flex: 1; overflow-y: auto; background: #e5ddd5; padding: 1rem 0.9rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.wa-day-chip {
  align-self: center; background: rgba(255,255,255,0.75); color: #6b6459;
  font-size: 0.72rem; padding: 0.2rem 0.75rem; border-radius: 999px; margin-bottom: 0.4rem;
}
.wa-msg {
  max-width: 82%; padding: 0.5rem 0.7rem 0.35rem; border-radius: 8px; font-size: 0.87rem;
  line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,0.08); position: relative;
}
.wa-msg.bot { align-self: flex-start; background: #fff; border-radius: 2px 8px 8px 8px; color: var(--color-text); }
.wa-msg.user { align-self: flex-end; background: #dcf8c6; border-radius: 8px 2px 8px 8px; color: var(--color-text); }
.wa-msg-text { white-space: pre-line; }
.wa-msg-time { display: block; text-align: right; font-size: 0.65rem; color: #8a8a8a; margin-top: 0.15rem; }

.wa-typing { align-self: flex-start; background: #fff; border-radius: 2px 8px 8px 8px; padding: 0.6rem 0.9rem; display: flex; gap: 4px; box-shadow: 0 1px 1px rgba(0,0,0,0.08); }
.wa-typing span { width: 6px; height: 6px; border-radius: 50%; background: #b7b7b7; animation: wa-bounce 1.2s infinite ease-in-out; }
.wa-typing span:nth-child(2) { animation-delay: 0.15s; }
.wa-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes wa-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

.wa-action-wrap { align-self: stretch; display: flex; justify-content: center; padding: 0.3rem 0; }
.wa-cta-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; background: #25d366; color: #fff;
  border: none; border-radius: 999px; padding: 0.6rem 1.2rem; font-size: 0.88rem; font-weight: 600;
  cursor: pointer; box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35); transition: var(--transition);
}
.wa-cta-btn:hover { background: #1ebe57; }
.wa-cta-btn.wa-cta-outline { background: #fff; color: #075e54; border: 1.5px solid #075e54; box-shadow: none; }
.wa-cta-btn.wa-cta-outline:hover { background: #f2fbf9; }

.wa-quick-replies { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0 0.9rem 0.6rem; background: #e5ddd5; }
.wa-quick-replies:empty { display: none; padding: 0; }
.wa-chip {
  background: #fff; border: 1.5px solid #25d366; color: #075e54; border-radius: 999px;
  padding: 0.35rem 0.85rem; font-size: 0.78rem; cursor: pointer; transition: var(--transition);
}
.wa-chip:hover { background: #dcf8c6; }

.wa-panel-input {
  display: flex; align-items: center; gap: 0.55rem; padding: 0.6rem 0.75rem;
  border-top: 1px solid var(--color-border); background: #f7f7f7; flex-shrink: 0;
}
.wa-panel-input input {
  flex: 1; border: 1px solid #ddd; border-radius: 999px; padding: 0.55rem 1rem;
  font-size: 0.87rem; outline: none; font-family: var(--font-body); min-width: 0;
}
.wa-panel-input input:focus { border-color: #25d366; }
.wa-send-btn {
  width: 38px; height: 38px; border-radius: 50%; background: #25d366; border: none;
  color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  cursor: pointer; transition: var(--transition);
}
.wa-send-btn:hover { background: #1ebe57; }

@media (max-width: 767.98px) {
  .wa-fab { right: 16px; bottom: 78px; width: 54px; height: 54px; }
  .wa-fab i { font-size: 1.55rem; }
  #backToTop { right: 16px; bottom: 144px; width: 42px; height: 42px; }
  .wa-panel { right: 16px; left: 16px; bottom: 78px; width: auto; height: min(65vh, 480px); }
}
@media (max-width: 380px) {
  .wa-panel { height: min(60vh, 440px); }
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: linear-gradient(180deg, rgba(28,26,23,0.7), rgba(28,26,23,0.7)), url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?q=80&w=1600&auto=format&fit=crop') center/cover;
  padding: 8rem 0 4rem;
  color: var(--color-white);
  text-align: center;
}
.page-header h1 { color: var(--color-white); }
.breadcrumb-vid { justify-content: center; color: rgba(255,255,255,0.7); }
.breadcrumb-vid a { color: rgba(255,255,255,0.9); }

/* ---------- Material Library (premium) ---------- */
.mat-swatch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
@media (max-width: 991.98px) { .mat-swatch-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px) { .mat-swatch-grid { grid-template-columns: repeat(2, 1fr); } }

.mat-swatch {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  padding: 1.3rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.mat-swatch:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--color-gold-light); }
.mat-swatch .mat-swatch-icon {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  background: var(--color-cream);
  color: var(--color-gold);
  transition: var(--transition);
}
.mat-swatch span { font-size: 0.85rem; font-weight: 600; color: var(--color-charcoal); }
.mat-swatch.active {
  border-color: var(--color-gold);
  background: linear-gradient(180deg, var(--color-cream), var(--color-white));
  box-shadow: var(--shadow-soft);
}
.mat-swatch.active .mat-swatch-icon { background: var(--color-gold); color: var(--color-white); }

.mat-detail-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.mat-hero {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 2.2rem 2.4rem;
  background: linear-gradient(135deg, var(--color-charcoal), var(--color-charcoal-soft));
  color: var(--color-white);
}
.mat-hero .mat-hero-icon {
  flex-shrink: 0;
  width: 76px; height: 76px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-light);
}
.mat-hero h3 { color: var(--color-white); margin-bottom: 0.35rem; }
.mat-hero p { color: rgba(255,255,255,0.72); margin: 0; max-width: 620px; }
@media (max-width: 575.98px) { .mat-hero { flex-direction: column; text-align: center; padding: 1.8rem 1.4rem; } .mat-hero p { max-width: 100%; } }

.mat-body { padding: 2.2rem 2.4rem; }
@media (max-width: 575.98px) { .mat-body { padding: 1.5rem; } }

.mat-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 767.98px) { .mat-spec-grid { grid-template-columns: 1fr; } }

.mat-spec-card {
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-md);
  background: var(--color-cream);
  border-left: 3px solid var(--color-gold);
}
.mat-spec-card h6 { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; }
.mat-spec-card p { margin: 0; font-size: 0.92rem; color: var(--color-text-muted); }

.mat-warranty-box {
  display: flex; gap: 0.9rem; align-items: flex-start;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-md);
  background: rgba(184, 146, 90, 0.08);
  border: 1px dashed var(--color-gold);
  margin-bottom: 1.8rem;
}
.mat-warranty-box i { color: var(--color-gold); font-size: 1.3rem; margin-top: 0.1rem; }
.mat-warranty-box p { margin: 0; font-size: 0.92rem; color: var(--color-text); }

.mat-pricing-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: 1rem;
}
.mat-pricing-head h6 { margin: 0; }
.mat-price-note { font-size: 0.8rem; color: var(--color-text-muted); font-style: italic; }

.mat-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-md); border: 1px solid var(--color-border); touch-action: pan-x; }
.mat-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 480px; }
.mat-table thead th {
  background: var(--color-charcoal); color: var(--color-white);
  padding: 0.75rem 1rem; text-align: left; font-weight: 500;
  white-space: nowrap;
}
.mat-table tbody td {
  padding: 0.7rem 1rem; border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
  background: var(--color-white);
}
.mat-table tbody tr:last-child td { border-bottom: none; }
.mat-table tbody tr:nth-child(even) td { background: var(--color-cream); }
.mat-table tbody tr:hover td { background: var(--color-cream-dark); }
.mat-table thead th:first-child,
.mat-table td.brand-cell {
  position: sticky;
  left: 0;
  z-index: 1;
  box-shadow: 2px 0 6px rgba(28, 26, 23, 0.08);
}
.mat-table thead th:first-child { z-index: 2; background: var(--color-charcoal); }
.mat-table td.brand-cell { font-weight: 600; color: var(--color-charcoal); }
.mat-table .best-value-badge {
  display: inline-block; margin-left: 0.4rem; font-size: 0.68rem; font-weight: 700;
  color: var(--color-white); background: var(--color-gold); padding: 0.1rem 0.45rem; border-radius: 20px;
  vertical-align: middle;
}

@media (max-width: 767.98px) { body { padding-bottom: 62px; } }
