/* ==========================================
   SENSE DENTAL LAB — Main Stylesheet
   ========================================== */

/* 1. Reset & Base
   2. Variables
   3. Typography
   4. Layout Utilities
   5. Buttons
   6. Navbar
   7. Hero (Home)
   8. Stats Bar
   9. Services Grid
   10. Why Choose Us
   11. Digital Connect Banner
   12. CTA Section
   13. Page Hero (Inner Pages)
   14. About Page
   15. Products Page
   16. Digital Connect Page
   17. Before & After Page
   18. Lab Form Page
   19. Footer
   20. Animations
   21. Responsive
*/

/* ==========================================
   1. RESET & BASE
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ==========================================
   2. VARIABLES
   ========================================== */
:root {
  --dark:         #1a1814;
  --dark-2:       #2c2820;
  --gold:         #c9a56a;
  --gold-hover:   #b8904e;
  --gold-light:   #f5edd9;
  --white:        #ffffff;
  --off-white:    #f8f5f0;
  --gray-100:     #f2ede6;
  --gray-200:     #e4ddd4;
  --gray-400:     #a09589;
  --gray-600:     #6b6258;
  --text:         #222222;
  --text-muted:   #6b6258;
  --nav-height:   78px;
  --max-w:        1200px;
  --radius:       12px;
  --radius-sm:    8px;
  --shadow:       0 2px 20px rgba(0,0,0,.07);
  --shadow-md:    0 4px 30px rgba(0,0,0,.11);
  --shadow-lg:    0 8px 50px rgba(0,0,0,.15);
  --transition:   0.3s ease;
}

/* ==========================================
   3. TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4 { line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { color: var(--text-muted); }

/* ==========================================
   4. LAYOUT UTILITIES
   ========================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 96px 0; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title  { margin-bottom: 16px; }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.75;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

.gold-text { color: var(--gold); }

/* ==========================================
   5. BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-weight: 600;
  font-family: inherit;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,165,106,.35);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover {
  background: var(--dark-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark);
}

/* ==========================================
   6. NAVBAR
   ========================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
}
.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 50px;
  width: auto;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  padding: 8px 13px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--dark);
  background: var(--gray-100);
}
.nav-cta {
  background: var(--dark) !important;
  color: var(--white) !important;
  padding: 10px 18px !important;
  border-radius: var(--radius-sm) !important;
  margin-left: 8px;
  font-weight: 600;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--dark) !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 34px;
  height: 34px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================
   7. HERO (HOME)
   ========================================== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 55% 45%;
  padding-top: var(--nav-height);
  overflow: hidden;
}
.hero-left {
  display: flex;
  align-items: center;
  background: var(--dark);
  padding: 80px 0;
}
.hero-left-inner {
  max-width: 540px;
  margin-left: auto;
  padding: 0 64px 0 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(201,165,106,.12);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(201,165,106,.25);
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.hero-title {
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.hero-subtitle {
  color: rgba(255,255,255,.6);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-right::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 80px;
  background: linear-gradient(to right, var(--dark), transparent);
}

/* ==========================================
   8. STATS BAR
   ========================================== */
.stats-bar { background: var(--off-white); padding: 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
}
.stat-item {
  padding: 44px 28px;
  text-align: center;
  border-right: 1px solid var(--gray-200);
}
.stat-item:last-child { border-right: none; }
.stat-icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
}
.stat-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* ==========================================
   9. SERVICES GRID
   ========================================== */
.services-section { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 54px; height: 54px;
  background: var(--gold-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-hover);
  margin-bottom: 20px;
}
.service-card h3 { color: var(--dark); margin-bottom: 10px; }
.service-card p  { font-size: 0.88rem; line-height: 1.75; }

/* ==========================================
   10. WHY CHOOSE US
   ========================================== */
.why-section { background: var(--off-white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.why-item:hover { transform: translateY(-3px); }
.why-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  background: var(--dark);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  color: var(--gold);
}
.why-text h3  { color: var(--dark); margin-bottom: 7px; }
.why-text p   { font-size: 0.88rem; line-height: 1.75; }

/* ==========================================
   11. DIGITAL CONNECT BANNER (HOME)
   ========================================== */
.dc-banner { background: var(--dark); padding: 100px 0; }
.dc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.dc-content .section-label { color: var(--gold); }
.dc-content h2 { color: var(--white); margin-bottom: 18px; }
.dc-content p  { color: rgba(255,255,255,.6); margin-bottom: 32px; line-height: 1.8; }
.dc-scanners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.scanner-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  transition: all var(--transition);
}
.scanner-card i {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 10px;
}
.scanner-card h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.scanner-card p {
  color: rgba(255,255,255,.45);
  font-size: 0.78rem;
}
.scanner-card:hover {
  background: rgba(201,165,106,.12);
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* ==========================================
   12. CTA SECTION
   ========================================== */
.cta-section {
  background: var(--gold-light);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { color: var(--dark); margin-bottom: 16px; }
.cta-section p  { margin-bottom: 36px; font-size: 1.05rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==========================================
   13. PAGE HERO (INNER PAGES)
   ========================================== */
.page-hero {
  background: var(--dark);
  padding: calc(var(--nav-height) + 72px) 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(201,165,106,.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.18;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,.55); font-size: 1.05rem; max-width: 540px; margin: 0 auto; line-height: 1.8; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }

/* ==========================================
   14. ABOUT PAGE
   ========================================== */
.about-story { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}
.about-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-text .section-subtitle { margin-bottom: 32px; }
.about-highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-top: 1px solid var(--gray-200);
}
.about-highlight:last-child { border-bottom: 1px solid var(--gray-200); }
.about-highlight i { color: var(--gold); font-size: 1.1rem; margin-top: 3px; }
.about-highlight div strong { display: block; color: var(--dark); font-size: 0.95rem; margin-bottom: 3px; }
.about-highlight div span { font-size: 0.85rem; color: var(--text-muted); }

.values-section { background: var(--off-white); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1.5px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.value-card .value-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.value-card h3 { color: var(--dark); margin-bottom: 10px; }
.value-card p  { font-size: 0.85rem; line-height: 1.75; }

.promise-section { background: var(--dark); padding: 96px 0; }
.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.promise-card {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}
.promise-card:hover {
  border-color: var(--gold);
  background: rgba(201,165,106,.07);
}
.promise-card i { font-size: 2rem; color: var(--gold); margin-bottom: 16px; }
.promise-card h3 { color: var(--white); margin-bottom: 10px; }
.promise-card p  { color: rgba(255,255,255,.5); font-size: 0.88rem; line-height: 1.75; }

/* ==========================================
   15. PRODUCTS PAGE
   ========================================== */
.products-section { background: var(--white); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Multi-image grid inside product cards */
.product-img-grid {
  display: grid;
  gap: 3px;
  overflow: hidden;
  background: var(--dark);
}
.product-img-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img-grid img { transform: scale(1.04); }
/* 3 images: large on left, two stacked on right */
.product-img-grid.count-3 {
  height: 240px;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.product-img-grid.count-3 img:first-child {
  grid-row: 1 / 3;
}
/* 4 images: 2×2 grid — aspect-ratio keeps both rows fully visible */
.product-img-grid.count-4 {
  aspect-ratio: 1;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
/* Gold bottom border on hover via ::after moved to img-grid */
.product-img-grid::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  z-index: 1;
}
.product-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.product-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  position: relative;
  overflow: hidden;
}
.product-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  z-index: 1;
}
.product-card-body { padding: 24px; }
.product-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--gold-light);
  color: var(--gold-hover);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.product-card-body h3 { color: var(--dark); margin-bottom: 8px; }
.product-card-body p  { font-size: 0.88rem; line-height: 1.75; }

.materials-section { background: var(--off-white); }
.materials-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.material-item {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border-radius: 10px;
  padding: 20px 24px;
  border: 1px solid var(--gray-200);
}
.material-item i { color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }
.material-item div strong { display: block; color: var(--dark); font-size: 0.92rem; margin-bottom: 2px; }
.material-item div span  { font-size: 0.82rem; color: var(--text-muted); }

/* ==========================================
   16. DIGITAL CONNECT PAGE
   ========================================== */
.dc-intro { background: var(--white); }
.dc-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.dc-intro-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.dc-intro-image img { width: 100%; height: 100%; object-fit: cover; }
.dc-steps-section { background: var(--off-white); }
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}
.step-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), border-color var(--transition);
}
.step-item:hover {
  transform: translateX(6px);
  border-color: var(--gold);
}
.step-number {
  width: 52px; height: 52px;
  flex-shrink: 0;
  background: var(--dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
}
.step-content h3 { color: var(--dark); margin-bottom: 8px; }
.step-content p  { font-size: 0.9rem; line-height: 1.75; }
.platforms-section { background: var(--white); }
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.platform-card {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 20px;
  text-align: center;
  transition: all var(--transition);
}
.platform-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.platform-icon { font-size: 2.4rem; margin-bottom: 16px; }
.platform-card h3 { color: var(--dark); font-size: 1.05rem; margin-bottom: 8px; }
.platform-card p  { font-size: 0.83rem; }

/* ==========================================
   17. BEFORE & AFTER PAGE
   ========================================== */
.gallery-section { background: var(--white); }
.gallery-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-200);
  background: transparent;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.gallery-card-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.gallery-img {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  background: var(--gray-200);
}
.gallery-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-card:hover .gallery-img img { transform: scale(1.06); }
.gallery-img-label {
  position: absolute;
  bottom: 8px; left: 8px;
  background: rgba(0,0,0,.5);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.gallery-card-body {
  padding: 18px 20px;
  background: white;
}
.gallery-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--gold-light);
  color: var(--gold-hover);
  padding: 2px 9px;
  border-radius: 100px;
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.gallery-card-body h3 { color: var(--dark); font-size: 0.95rem; margin-bottom: 4px; }
.gallery-card-body p  { font-size: 0.8rem; }

/* ==========================================
   18. LAB FORM PAGE
   ========================================== */
.form-section { background: var(--off-white); }
.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}
.form-info { position: sticky; top: calc(var(--nav-height) + 24px); }
.form-info h2 { color: var(--dark); margin-bottom: 14px; font-size: 1.6rem; }
.form-info > p { margin-bottom: 36px; font-size: 0.95rem; line-height: 1.8; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  background: var(--dark);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.contact-detail-text strong {
  display: block;
  color: var(--dark);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-detail-text span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.lab-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}
.form-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--gray-200);
  margin-bottom: 24px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-section-title:first-child { margin-top: 0; }
.form-section-title i { color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 7px;
}
.form-group label .req { color: #e05252; }
.form-control {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,165,106,.15);
}
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.form-note i { color: var(--gold); font-size: 0.75rem; }
.form-submit {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
  font-size: 0.98rem;
  padding: 16px;
}

/* ==========================================
   19. FOOTER
   ========================================== */
.footer { background: var(--dark); }
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 48px;
  padding: 72px 24px 52px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-brand img { height: 54px; margin-bottom: 18px; }
.footer-brand p {
  color: rgba(255,255,255,.5);
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 270px;
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,.5);
  font-size: 0.88rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul a:hover { color: var(--white); }
.footer-col ul a i { font-size: 0.7rem; color: var(--gold); }
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.footer-contact-item i {
  color: var(--gold);
  margin-top: 3px;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.footer-contact-item span {
  color: rgba(255,255,255,.5);
  font-size: 0.86rem;
  line-height: 1.65;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,.3);
  font-size: 0.82rem;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================
   19b. LIGHTBOX
   ========================================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 60px rgba(0, 0, 0, .6);
  transform: scale(0.95);
  transition: transform 0.3s ease;
  display: block;
}
.lightbox-overlay.open .lightbox-img-wrap img {
  transform: scale(1);
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: white;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10000;
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }
.lightbox-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: white;
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10000;
  line-height: 1;
}
.lightbox-btn:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .5);
  font-size: 0.83rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.05em;
}
/* Pointer cursor on clickable images */
.product-img-grid img,
.gallery-img img {
  cursor: zoom-in;
}

/* ==========================================
   20. ANIMATIONS
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; }
.reveal.visible  { opacity: 1; transform: none; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ==========================================
   21. RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .products-grid   { grid-template-columns: repeat(2, 1fr); }
  .platforms-grid  { grid-template-columns: repeat(2, 1fr); }
  .values-grid     { grid-template-columns: repeat(2, 1fr); }
  .promise-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-main     { grid-template-columns: 1fr 1fr; gap: 36px; }
  .dc-inner        { gap: 48px; }
  .about-grid      { gap: 48px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; }
  section { padding: 64px 0; }

  .hamburger { display: flex; }
  .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    height: calc(100vh - var(--nav-height));
    height: calc(100dvh - var(--nav-height));
    background: var(--white);
    padding: 16px 20px 32px;
    gap: 4px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 999;
    border-top: 2px solid var(--gold);
    /* slide in from top */
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-link {
    display: block;
    width: 100%;
    padding: 16px 18px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--text-muted);
  }
  .nav-link:last-of-type { border-bottom: none; }
  .nav-link:hover, .nav-link.active {
    background: var(--gray-100);
    color: var(--dark);
  }
  .nav-cta {
    display: block;
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-top: 12px;
    padding: 16px 18px !important;
    font-size: 1rem;
    border-radius: 10px !important;
  }

  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 56px 0; }
  .hero-left-inner { max-width: 100%; padding: 0 24px; margin: 0; }
  .hero-right { height: 280px; }
  .hero-right::after { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  .services-grid  { grid-template-columns: 1fr; }
  .why-grid       { grid-template-columns: 1fr; }
  .dc-inner       { grid-template-columns: 1fr; gap: 40px; }
  .dc-scanners    { grid-template-columns: repeat(2, 1fr); }
  .products-grid  { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid   { grid-template-columns: 1fr; }
  .form-wrapper   { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .lab-form       { padding: 28px 20px; }
  .footer-main    { grid-template-columns: 1fr; gap: 32px; }
  .values-grid    { grid-template-columns: 1fr 1fr; }
  .promise-grid   { grid-template-columns: 1fr; }
  .about-grid     { grid-template-columns: 1fr; }
  .materials-list { grid-template-columns: 1fr; }
  .dc-intro-grid  { grid-template-columns: 1fr; }
  .form-info      { position: static; }
  .footer-bottom  { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .stats-grid  { grid-template-columns: 1fr; }
  .stat-item   { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .stat-item:last-child { border-bottom: none; }
  .dc-scanners { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}
