/* =================================================================
   MDFWala — style.css
   Premium engineered-wood brand · Core design system & components
   Pure CSS3 · No frameworks
   ================================================================= */

/* ---------------------------------------------------------------
   1. CSS VARIABLES
--------------------------------------------------------------- */
:root {
  /* Brand tokens — metallic chrome / charcoal (matched to logo) */
  --primary: #2F353B;       /* graphite — primary actions & accents */
  --secondary: #9AA1A9;     /* silver — highlights */
  --dark: #1A1A1A;
  --white: #ffffff;
  --bg: #f4f5f7;            /* cool off-white */
  --radius: 18px;

  /* Derived / helper tokens */
  --primary-deep: #1E2226;  /* near-black steel */
  --secondary-deep: #6B7077;/* steel grey */
  --light: #D7DBDF;         /* light silver */
  --cream: #EEF0F2;         /* cool light grey (panels) */
  --bg-alt: #F5F6F8;
  --dark-soft: #3A3A3A;
  --muted: #6B7077;
  --line: rgba(26, 26, 26, 0.10);
  --whatsapp: #25D366;

  /* Chrome gradient used for the wordmark & metallic accents */
  --chrome: linear-gradient(180deg, #ffffff 0%, #e6e9ec 35%, #aab0b7 55%, #6c7278 75%, #d3d7db 100%);

  /* Glass */
  --glass: rgba(255, 255, 255, 0.65);
  --glass-strong: rgba(255, 255, 255, 0.85);

  /* Radii */
  --radius-sm: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 4px 14px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 12px 30px rgba(26, 26, 26, 0.08);
  --shadow-lg: 0 24px 60px rgba(26, 26, 26, 0.12);
  --shadow-glow: 0 10px 30px rgba(47, 53, 59, 0.30);

  /* Typography */
  --font-display: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 0.25s;
  --med: 0.45s;

  /* Layout */
  --maxw: 1240px;
  --header-h: 78px;
}

/* ---------------------------------------------------------------
   2. RESET & BASE
--------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;   /* fallback for browsers without overflow:clip */
  overflow-x: clip;     /* clips off-canvas drawer w/o breaking position:sticky */
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
}

p { color: var(--dark-soft); }

::selection { background: var(--secondary); color: var(--white); }

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

/* ---------------------------------------------------------------
   3. LAYOUT HELPERS
--------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--cream { background: var(--cream); }
.section--bg { background: var(--bg); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary-deep);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}

.section-head { max-width: 640px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { display: inline-flex; }
.section-head.center .eyebrow::before { display: none; }

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  letter-spacing: -0.02em;
  color: var(--dark);
}
.section-title span { color: var(--primary); }

.section-sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

.center-cta { text-align: center; margin-top: 46px; }

.text-grad {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------------------------------------------------------
   4. BUTTONS
--------------------------------------------------------------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: transform var(--fast) var(--ease),
              box-shadow var(--fast) var(--ease),
              background var(--fast), color var(--fast);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: linear-gradient(120deg, var(--primary), var(--secondary-deep));
  color: var(--white);
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(47, 53, 59, 0.45);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: var(--white); color: var(--dark); transform: translateY(-3px); }

.btn--dark { background: var(--dark); color: var(--white); }
.btn--dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.btn--outline { border: 1.5px solid var(--line); color: var(--dark); background: var(--white); }
.btn--outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }

.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* Ripple (injected by JS) */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  animation: ripple 0.6s linear;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------------------------------------------------------------
   5. LOADING SCREEN
--------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--white);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25));
}
.loader__mark b { color: inherit; }
.loader__bar {
  width: 180px;
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}
.loader__bar i {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  animation: load 1.1s var(--ease) infinite;
}
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }

/* ---------------------------------------------------------------
   6. HEADER / GLASSMORPHISM NAV
--------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: background var(--fast), box-shadow var(--fast);
}
.header.scrolled { box-shadow: var(--shadow-sm); background: var(--glass-strong); }

.nav { height: 100%; display: flex; align-items: center; gap: 16px; }

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--dark);
}
/* Chrome logo image (header / footer / drawer) */
.logo__img {
  height: 40px;
  width: auto;
  display: block;
  transition: transform var(--fast) var(--ease);
}
.logo:hover .logo__img { transform: scale(1.04); }
.footer .logo__img { height: 46px; }
/* Legacy emblem tile — restyled to brushed chrome (used as fallback) */
.logo__icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #c9ced3, #6c7278);
  color: var(--white);
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.logo b { color: var(--secondary-deep); }

.nav__menu { display: flex; align-items: center; gap: 0; margin-left: 12px; flex-shrink: 0; }
.nav__link {
  position: relative;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--dark-soft);
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  transition: color var(--fast);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--med) var(--ease);
}
.nav__link:hover, .nav__link.active, .nav__link--active { color: var(--primary); }
.nav__link:hover::after, .nav__link.active::after, .nav__link--active::after { transform: scaleX(1); }
.btn--primary.nav__link--active { color: var(--white); }


.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }

.icon-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--dark);
  background: rgba(26, 26, 26, 0.04);
  transition: all var(--fast) var(--ease);
}
.icon-btn:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

/* Mobile-only header icon (WhatsApp) — hidden on desktop, shown ≤900px.
   Call button intentionally removed from the header (floating call button remains). */
.nav__mobile-icon { display: none; font-size: 1.1rem; }
.nav__mobile-icon--call { display: none; }
.nav__mobile-icon--wa { background: var(--whatsapp); color: var(--white); box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3); }
.nav__mobile-icon--wa:hover { background: var(--whatsapp-deep, #1eb455); color: var(--white); }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--whatsapp);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  transition: transform var(--fast) var(--ease);
}
.btn-wa:hover { transform: translateY(-2px); }

/* Hamburger */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  place-items: center;
  background: rgba(26, 26, 26, 0.04);
}
.hamburger span,
.hamburger span::before,
.hamburger span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--fast);
}
.hamburger span { position: relative; }
.hamburger span::before { position: absolute; left: 0; top: -6px; }
.hamburger span::after { position: absolute; left: 0; top: 6px; }

/* Mobile drawer */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(26, 26, 26, 0.45);
  z-index: 1100;
  opacity: 0; visibility: hidden;
  transition: all var(--fast);
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0;
  height: 100%;
  width: min(340px, 86vw);
  z-index: 1200;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform var(--med) var(--ease);
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.drawer__close {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream);
  font-size: 1.1rem;
  color: var(--dark);
}
.drawer__menu a {
  display: block;
  padding: 14px 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 12px;
  color: var(--dark);
  transition: all var(--fast);
}
.drawer__menu a:hover, .drawer__menu a.active { background: var(--cream); color: var(--primary); padding-left: 18px; }
.drawer__cta { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }

/* ---------------------------------------------------------------
   7. HERO SLIDER
--------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: var(--dark);
}
.hero__slides { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 1.1s;
}
.slide.active { opacity: 1; visibility: visible; }
.slide__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.12);
  transition: transform 6s ease-out;
}
.slide.active .slide__bg { transform: scale(1); }
.slide__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,14,16,0.88) 0%, rgba(16,19,22,0.58) 48%, rgba(20,24,28,0.30) 100%);
}
.hero__inner {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 30px);
}
.hero__content { max-width: 660px; color: var(--white); }
.hero__content .eyebrow { color: var(--light); }
.hero__content .eyebrow::before { background: var(--secondary); }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: var(--white);
  letter-spacing: -0.03em;
}
.hero h1 span { color: var(--light); }
.hero__sub {
  margin: 22px 0 34px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* slide entrance text reveal */
.slide .reveal { opacity: 0; transform: translateY(28px); }
.slide.active .reveal { opacity: 1; transform: none; transition: all 0.8s var(--ease); }
.slide.active .reveal:nth-child(1) { transition-delay: 0.25s; }
.slide.active .reveal:nth-child(2) { transition-delay: 0.40s; }
.slide.active .reveal:nth-child(3) { transition-delay: 0.55s; }
.slide.active .reveal:nth-child(4) { transition-delay: 0.70s; }

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 1.1rem;
  transition: all var(--fast) var(--ease);
}
.hero__arrow:hover { background: var(--white); color: var(--dark); }
.hero__arrow.prev { left: 28px; }
.hero__arrow.next { right: 28px; }

.hero__dots {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
}
.hero__dots button {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all var(--fast);
}
.hero__dots button.active { width: 30px; border-radius: 6px; background: var(--secondary); }

.hero__scroll {
  position: absolute;
  bottom: 30px; right: 36px;
  z-index: 4;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 40px;
  background: linear-gradient(rgba(255, 255, 255, 0.6), transparent);
  animation: scrolly 2s ease-in-out infinite;
}
@keyframes scrolly {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------------------------------------------------------------
   8. PAGE HERO (inner pages)
--------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 70px) 0 70px;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--phbg);
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(13,15,17,0.92), rgba(20,24,28,0.55));
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
.page-hero p { color: rgba(255, 255, 255, 0.78); max-width: 560px; margin-top: 14px; }
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--light); }
.breadcrumb i { font-size: 0.6rem; }

/* ---------------------------------------------------------------
   9. TRUSTED MARQUEE
--------------------------------------------------------------- */
.trusted { padding: 46px 0; border-bottom: 1px solid var(--line); background: var(--white); }
.trusted__label {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: 70px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--muted);
  opacity: 0.7;
  white-space: nowrap;
}
.marquee__item i { color: var(--secondary); font-size: 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------
   10. GRID SYSTEM
--------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------------------------------------------------------------
   11. PRODUCT CARDS
--------------------------------------------------------------- */
.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease);
}
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.product-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.product-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.12); }
.product-card__tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--font-display);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  color: var(--white);
  background: rgba(26, 26, 26, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.product-card__view {
  display: none;
  position: absolute;
  left: 50%; bottom: 16px;
  transform: translate(-50%, 22px);
  opacity: 0;
  transition: all var(--med) var(--ease);
  z-index: 2;
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--dark);
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
/* .product-card:hover .product-card__view { opacity: 1; transform: translate(-50%, 0); } */
.product-card__body { padding: 20px 22px 22px; }
.product-card__cat {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary-deep);
  font-weight: 600;
}
.product-card__title { font-size: 1.18rem; margin: 6px 0 8px; color: var(--dark); }
.product-card__desc { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; }
.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.product-card__price { font-family: var(--font-display); font-weight: 700; color: var(--primary); }
.product-card__price small { color: var(--muted); font-weight: 500; font-size: 0.78rem; }
.inquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  transition: gap var(--fast);
}
.inquiry-btn:hover { gap: 11px; }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--dark-soft);
  transition: all var(--fast);
  cursor: pointer;
}
.chip:hover, .chip.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ---------------------------------------------------------------
   12. CATEGORY TILES
--------------------------------------------------------------- */
.cat-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease);
}
.cat-tile:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.cat-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.cat-tile:hover img { transform: scale(1.1); }
.cat-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(transparent 30%, rgba(15, 12, 9, 0.85));
}
.cat-tile__body { position: relative; z-index: 2; padding: 24px; width: 100%; }
.cat-tile__body h3 { color: var(--white); font-size: 1.3rem; }
.cat-tile__body p { color: rgba(255, 255, 255, 0.82); font-size: 0.85rem; margin: 4px 0 12px; }
.cat-tile__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--light);
  transition: gap var(--fast);
}
.cat-tile:hover .cat-tile__link { gap: 12px; }

/* ---------------------------------------------------------------
   13. FEATURE CARDS
--------------------------------------------------------------- */
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease), border-color var(--fast);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--secondary); }
.feature-card__icon {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  display: grid; place-items: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--cream), var(--light));
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--dark); }
.feature-card p { color: var(--muted); font-size: 0.92rem; }

/* ---------------------------------------------------------------
   14. ABOUT SPLIT
--------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.split__badge {
  position: absolute;
  bottom: -26px; right: -16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 26px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.split__badge b { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--primary); line-height: 1; }
.split__badge span { font-size: 0.8rem; color: var(--muted); }
.split__list { display: grid; gap: 16px; margin: 26px 0 30px; }
.split__list li { display: flex; gap: 12px; align-items: flex-start; }
.split__list i { color: var(--primary); margin-top: 3px; }
.split__list b { font-family: var(--font-display); color: var(--dark); }

/* ---------------------------------------------------------------
   15. APPLICATIONS / INDUSTRIES
--------------------------------------------------------------- */
.industries-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.industry {
  text-align: center;
  padding: 26px 14px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: all var(--med) var(--ease);
}
.industry:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--secondary); }
.industry i { font-size: 1.7rem; color: var(--primary); margin-bottom: 12px; }
.industry span { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--dark); }

/* ---------------------------------------------------------------
   16. GALLERY + LIGHTBOX
--------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--white);
  font-size: 1.4rem;
  background: rgba(26, 26, 26, 0.45);
  opacity: 0;
  transition: opacity var(--fast);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

.lightbox {
  position: fixed; inset: 0;
  z-index: 2000;
  background: rgba(15, 12, 9, 0.92);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: all var(--fast);
  padding: 24px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__close {
  position: absolute;
  top: 24px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.3rem;
  display: grid; place-items: center;
}

/* ---------------------------------------------------------------
   17. PROCESS TIMELINE
--------------------------------------------------------------- */
.timeline { position: relative; max-width: 880px; margin-inline: auto; }
.timeline::before {
  content: "";
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(var(--light), var(--secondary), var(--light));
  transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 0 44px 46px; }
.tl-item:nth-child(odd) { left: 0; text-align: right; }
.tl-item:nth-child(even) { left: 50%; }
.tl-item__dot {
  position: absolute; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid var(--bg-alt);
  box-shadow: var(--shadow-sm);
}
.tl-item:nth-child(odd) .tl-item__dot { right: -9px; }
.tl-item:nth-child(even) .tl-item__dot { left: -9px; }
.tl-item__num { font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; color: var(--secondary-deep); letter-spacing: 0.1em; }
.tl-item h3 { font-size: 1.25rem; margin: 6px 0 8px; color: var(--dark); }
.tl-item p { color: var(--muted); font-size: 0.92rem; }

/* ---------------------------------------------------------------
   18. STATS COUNTER
--------------------------------------------------------------- */
.stats { background: linear-gradient(150deg, var(--dark), #262b30); color: var(--white); }
.stats .grid--4 { gap: 30px; }
.stat { text-align: center; padding: 18px; }
.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  background: linear-gradient(120deg, var(--light), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { margin-top: 10px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.7); }

/* ---------------------------------------------------------------
   19. TESTIMONIALS
--------------------------------------------------------------- */
.testi { position: relative; max-width: 820px; margin-inline: auto; }
.testi__track { position: relative; min-height: 240px; }
.testi__slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transform: translateY(16px);
  transition: all var(--med) var(--ease);
  text-align: center;
}
.testi__slide.active { opacity: 1; visibility: visible; transform: none; }
.testi__stars { color: var(--secondary); margin-bottom: 18px; font-size: 1rem; }
.testi__quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.5;
  color: var(--dark);
}
.testi__who { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.testi__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; box-shadow: var(--shadow-sm); }
.testi__name { font-family: var(--font-display); font-weight: 700; color: var(--dark); }
.testi__role { font-size: 0.85rem; color: var(--muted); }
.testi__dots { display: flex; justify-content: center; gap: 9px; margin-top: 30px; }
.testi__dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--line); transition: all var(--fast); }
.testi__dots button.active { width: 28px; border-radius: 5px; background: var(--primary); }

/* ---------------------------------------------------------------
   20. FAQ ACCORDION
--------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: start;
  max-width: 1200px;
  margin-inline: auto;
}
.faq-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  border: 1px solid rgba(26, 26, 26, 0.04);
  border-radius: 12px;
  overflow: hidden;
  background: #F9FAFB;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
  transition: all var(--fast) var(--ease);
}
.faq-item.open {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-color: rgba(26, 26, 26, 0.08);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  text-align: left;
  color: var(--dark);
}
.faq-q i {
  flex-shrink: 0;
  color: var(--dark);
  font-size: 1.15rem;
  transition: transform var(--fast) var(--ease);
  width: auto; height: auto;
  display: grid; place-items: center;
}
.faq-item.open .faq-q i {
  transform: rotate(45deg);
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--med) var(--ease); }
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

@media (max-width: 991px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-header {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 15px !important;
  }
}

/* ---------------------------------------------------------------
   21. CTA BANNER
--------------------------------------------------------------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 70px 60px;
  color: var(--white);
  text-align: center;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--dark));
}
.cta-banner__glow {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(var(--secondary), transparent 70%);
  opacity: 0.4;
  top: -160px; right: -80px;
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.cta-banner p { max-width: 560px; margin: 16px auto 30px; color: rgba(255, 255, 255, 0.82); }
.cta-banner__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------
   22. FORMS & CONTACT
--------------------------------------------------------------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; margin-bottom: 8px; color: var(--dark); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--dark);
  transition: border-color var(--fast), box-shadow var(--fast);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(154, 161, 169, 0.25);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.form-success {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(37, 211, 102, 0.12);
  color: #15803d;
  font-weight: 600;
  margin-bottom: 18px;
}
.form-success.show { display: block; }

.contact-info-card { background: var(--dark); color: var(--white); border-radius: var(--radius-lg); padding: 36px; }
.contact-info-card h3 { color: var(--white); }
.contact-info-card p { color: rgba(255, 255, 255, 0.7); }
.contact-line { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.contact-line:last-child { border-bottom: none; }
.contact-line__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(154, 161, 169, 0.20);
  color: var(--secondary);
  flex-shrink: 0;
}
.contact-line b { font-family: var(--font-display); display: block; color: var(--white); }
.contact-line span { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 360px;
  background: var(--cream);
  display: grid; place-items: center;
  position: relative;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }
.map-placeholder { text-align: center; color: var(--muted); padding: 24px; }
.map-placeholder i { font-size: 2.4rem; color: var(--secondary); margin-bottom: 10px; }

/* ---------------------------------------------------------------
   23. FOOTER
--------------------------------------------------------------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, 0.72); padding-top: 70px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer .logo { color: var(--white); margin-bottom: 18px; }
.footer .logo b { color: var(--secondary); }
.footer__about { font-size: 0.92rem; max-width: 320px; margin-bottom: 22px; color: rgba(255, 255, 255, 0.72); }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: all var(--fast) var(--ease);
}
.footer__social a:hover { background: var(--primary); transform: translateY(-3px); }
.footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 20px; }
.footer__links a { display: block; padding: 7px 0; font-size: 0.92rem; transition: all var(--fast); color: rgba(255, 255, 255, 0.72); }
.footer__links a:hover { color: var(--secondary); padding-left: 6px; }
.footer__contact li { display: flex; gap: 12px; padding: 8px 0; font-size: 0.92rem; }
.footer__contact i { color: var(--secondary); margin-top: 4px; }
.newsletter { display: flex; gap: 8px; margin-top: 16px; }
.newsletter input {
  flex: 1;
  padding: 13px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 0.9rem;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter input:focus { outline: none; border-color: var(--secondary); }
.newsletter button {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all var(--fast) var(--ease);
}
.newsletter button:hover { background: var(--secondary); transform: translateY(-2px); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 0.85rem;
  gap: 14px;
  flex-wrap: wrap;
}
.footer__bottom a:hover { color: var(--secondary); }

/* ---------------------------------------------------------------
   24. FLOATING BUTTONS
--------------------------------------------------------------- */
.to-top {
  position: fixed;
  bottom: 26px; left: 26px;
  z-index: 900;
  width: 52px; height: 52px;
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: all var(--fast) var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top button {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-md);
  color: var(--primary);
  display: grid; place-items: center;
  font-size: 1rem;
}
.to-top svg { position: absolute; inset: 0; transform: rotate(-90deg); width: 52px; height: 52px; pointer-events: none; }
.to-top circle { fill: none; stroke-width: 3; }
.to-top .track { stroke: var(--line); }
.to-top .prog { stroke: var(--primary); stroke-linecap: round; transition: stroke-dashoffset 0.1s linear; }

.phone-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 900;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #0A84FF;
  color: var(--white);
  display: grid; place-items: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 30px rgba(10, 132, 255, 0.4);
  transition: transform var(--fast) var(--ease);
}
.phone-float:hover { transform: scale(1.08); }
.phone-float::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #0A84FF;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ---------------------------------------------------------------
   25. MISC HELPERS
--------------------------------------------------------------- */
.divider { height: 1px; background: var(--line); margin: 0; border: 0; }
.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
}
