/* ============================================
   STONE GALLERIES — PUBLIC STYLESHEET
   Premium design system — Playfair + Lato
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&family=Inter:wght@400;500;700&display=swap');

:root {
  --stone-dark:    #363430;
  --stone-mid:     #555250;
  --primary-color: #363430;
  --accent-color:  #D4AF37;
  --gold-line:     #D4AF37;
  --gold-light:    #E8C766;
  --light-accent:  #f5f0e8;
  --cream:         #f8f8f6;
  --text-dark:     #363430;
  --text-mid:      #666360;
  --text-light:    #999690;
  --bg-light:      #f8f8f6;
  --border-color:  rgba(0,0,0,0.08);
  --border-soft:   #e2e0dc;
  --header-bg:     #14120f;
  --shadow:        0 24px 48px rgba(0,0,0,0.09);
  --shadow-sm:     0 4px 16px rgba(0,0,0,0.06);
  --font-playfair: 'Playfair Display', serif;
  --font-lato:     'Lato', sans-serif;
  --header-h:      86px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-lato); color: var(--text-dark); background: #ffffff; }
img  { max-width: 100%; display: block; }
a    { transition: color 0.3s, background 0.3s; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-h);
  background: var(--header-bg);
  border-bottom: 1px solid #D4AF37;
  z-index: 1000;
  transition: box-shadow 0.3s;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.navbar .logo-img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(212,175,55,0.35));
}

.footer-logo .logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(212,175,55,0.3));
}

/* Nav links */
.nav-links { display: flex; align-items: center; }

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: #f5f0e8;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-color);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent-color); }

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-links a.btn::after { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #f5f0e8;
  border-radius: 3px;
  transition: 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile dropdown */
.nav-mobile {
  display: none;
  position: sticky;
  top: var(--header-h);
  z-index: 999;
  background: var(--header-bg);
  border-bottom: 2px solid var(--accent-color);
  padding: 16px 20px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.nav-mobile.open { display: block; }

.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }

.nav-mobile a {
  display: block;
  color: #f5f0e8;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 11px 14px;
  border-radius: 4px;
  transition: all 0.25s;
}

.nav-mobile a:hover { background: rgba(212,175,55,0.15); color: var(--accent-color); }

.nav-mobile .mobile-cta {
  margin-top: 8px;
  background: var(--accent-color);
  color: #14120f !important;
  text-align: center;
}

.nav-mobile .mobile-admin {
  margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 12px;
  opacity: 0.55;
  font-size: 0.72rem;
}

/* Admin link in desktop nav — subtle, no button styling */
.nav-links a.nav-admin {
  opacity: 0.5;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
}
.nav-links a.nav-admin:hover { opacity: 1; color: var(--accent-color); }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 11px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-lato);
  background: none;
  appearance: none;
  -webkit-appearance: none;
}

.btn-gold {
  background: #D4AF37;
  color: #ffffff;
  border-color: #D4AF37;
}
.btn-gold:hover {
  background: #B8912B;
  border-color: #B8912B;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(154,128,69,0.25);
}

.btn-primary {
  background: #D4AF37;
  color: #ffffff;
  border-color: #D4AF37;
}
.btn-primary:hover {
  background: #B8912B;
  border-color: #B8912B;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.9);
}

.btn-outline-gold {
  background: transparent;
  color: var(--accent-color);
  border-color: var(--accent-color);
}
.btn-outline-gold:hover {
  background: var(--accent-color);
  color: var(--stone-dark);
  transform: translateY(-2px);
}

.btn-outline-green {
  background: transparent;
  color: var(--stone-dark);
  border-color: var(--stone-dark);
}
.btn-outline-green:hover {
  background: var(--stone-dark);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent-color);
  border-color: var(--accent-color);
}
.btn-outline:hover {
  background: var(--accent-color);
  color: var(--stone-dark);
}

.btn-light {
  background: #fff;
  color: var(--primary-color);
  border-color: #fff;
}
.btn-light:hover { background: var(--light-accent); }

.btn-sm { padding: 7px 18px; font-size: 0.78rem; letter-spacing: 0.8px; }

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f1 100%);
  color: #363430;
  padding: 100px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 55% 45% at 20% 30%, rgba(212,175,55,0.16) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(212,175,55,0.13) 0%, transparent 70%);
  animation: hero-glow-drift 14s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes hero-glow-drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(3%, -3%) scale(1.08); }
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  color: #363430;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color);
  border: 1px solid rgba(154,128,69,0.5);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  background: rgba(255,255,255,0.6);
}

.hero-title {
  font-family: var(--font-playfair);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.15;
  margin-bottom: 20px;
  color: #363430;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 36px;
  color: #4a4a4a;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Hero badge pills */
.hero-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(154,128,69,0.4);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: #363430;
  backdrop-filter: blur(4px);
}

.pill-letter {
  background: var(--accent-color);
  color: var(--stone-dark);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.72rem;
  flex-shrink: 0;
}

/* ============================================
   PARTNER STRIP
   ============================================ */

.partner-strip {
  background: #fff;
  border-top: 3px solid var(--accent-color);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 16px 20px;
}

.partner-strip .container {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.strip-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-color);
  white-space: nowrap;
}

.strip-divider {
  width: 1px;
  height: 24px;
  background: rgba(0,0,0,0.12);
}

.strip-features {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.strip-feature {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-mid);
}

.strip-feature i { color: var(--accent-color); font-size: 0.75rem; }

/* ============================================
   STATS SECTION
   ============================================ */

.stats {
  background: var(--bg-light);
  padding: 60px 20px;
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 30px;
}

.stat-card {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  transition: all 0.3s;
}

.stat-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }

.stat-card h3 {
  font-family: var(--font-playfair);
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.5; }

/* ============================================
   SECTION TITLE
   ============================================ */

.section-title {
  font-family: var(--font-playfair);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #363430;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features {
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  background-color: #1a1a18;
}

.features-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/explore-granite.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  animation: stone-drift 18s ease-in-out infinite alternate;
  transform-origin: center;
  z-index: 0;
}

.features::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 14, 0.68);
  z-index: 1;
}

@keyframes stone-drift {
  0%   { background-position: 20% 40%; transform: scale(1.06); }
  50%  { background-position: 60% 55%; transform: scale(1.12); }
  100% { background-position: 80% 30%; transform: scale(1.06); }
}

.features .container,
.features .section-title,
.features .section-subtitle,
.features .features-grid {
  position: relative;
  z-index: 2;
}

.features .section-title { color: #ffffff; }
.features .section-subtitle { color: rgba(255,255,255,0.75); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  padding: 32px 24px;
  text-align: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(154,128,69,0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.3s;
}

.feature-card:hover {
  background: rgba(255,255,255,0.16);
  border-color: var(--accent-color);
  box-shadow: 0 12px 36px rgba(0,0,0,0.35);
  transform: translateY(-5px);
}

.feature-card i {
  font-size: 38px;
  color: var(--accent-color);
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 {
  font-family: var(--font-playfair);
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.feature-card p { color: rgba(255,255,255,0.80); line-height: 1.7; font-size: 0.95rem; }

/* ============================================
   PRODUCTS PREVIEW (Home)
   ============================================ */

.products-preview {
  padding: 80px 20px;
  background: var(--cream);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.preview-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  transition: all 0.3s;
}

.preview-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.preview-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 56px;
  color: rgba(255,255,255,0.25);
}

.badge-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent-color);
  color: var(--stone-dark);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 20px;
}

.badge-classic { background: #e8e8e8; color: #363430; }
.badge-new     { background: var(--primary-color); color: #fff; }

.preview-content { padding: 22px; }

.preview-content h3 {
  font-family: var(--font-playfair);
  font-size: 1.25rem;
  color: #363430;
  margin-bottom: 8px;
}

.preview-content p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 18px;
}

.preview-actions { display: flex; gap: 10px; }

/* ============================================
   STONE SLIDER
   ============================================ */

.stone-slider-section {
  padding: 70px 20px;
  background: #fff;
}

/* Hero-level placement — full bleed, no surrounding padding */
.stone-slider-hero {
  padding: 0;
  background: #000;
}

.stone-slider-hero .slider-wrapper {
  border-radius: 0;
  box-shadow: none;
}

.stone-slider-hero .slide {
  height: 580px;
}

@media (max-width: 768px) {
  .stone-slider-hero .slide { height: 380px; }
}

.slider-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.slider-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.slider-header h2 {
  font-family: var(--font-playfair);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #363430;
  margin-bottom: 12px;
}

.slider-header p {
  color: var(--text-medium);
  font-size: 1rem;
  line-height: 1.7;
}

.slider-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  background: #111;
}

.slider-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.slide {
  min-width: 100%;
  height: 480px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Each slide background — real stone photography */
.slide-1 {
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 100%),
              url('/images/slider1.png') center/cover no-repeat;
}
.slide-2 {
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 100%),
              url('/images/slider2.png') center/cover no-repeat;
}
.slide-3 {
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 100%),
              url('/images/slider3.png') center/cover no-repeat;
}
.slide-4 {
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 100%),
              url('/images/slider4.png') center/cover no-repeat;
}
.slide-5 {
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.15) 100%),
              url('/images/slider5.png') center/cover no-repeat;
}

.slide::before { display: none; }

/* Gradient bottom overlay for caption readability */
.slide::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65%;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.slide-caption {
  position: relative;
  z-index: 3;
  padding: 40px 48px;
  color: #fff;
  width: 100%;
}

.slide-type {
  display: inline-block;
  background: var(--accent-color);
  color: var(--stone-dark);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.slide-caption h3 {
  font-family: var(--font-playfair);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff !important;
  margin-bottom: 8px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.slide-caption p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.82);
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: 18px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Slider nav arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--stone-dark);
}

.slider-prev { left: 18px; }
.slider-next { right: 18px; }

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  right: 48px;
  z-index: 10;
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.slider-dot.active {
  background: var(--accent-color);
  width: 24px;
  border-radius: 4px;
}

/* Progress bar */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.15);
  z-index: 10;
}

.slider-progress-fill {
  height: 100%;
  width: 0%;
  background: #d5ccce45;
}

@media (max-width: 768px) {
  .slide { height: 320px; }
  .slide-caption { padding: 24px 20px; }
  .slider-btn { width: 38px; height: 38px; font-size: 1rem; }
  .slider-prev { left: 10px; }
  .slider-next { right: 10px; }
  .slider-dots { right: 20px; }
}

/* ============================================
   VISUALIZER PAGE FEATURE STRIP
   ============================================ */

.viz-features {
  background: #111;
  border-top: 1px solid rgba(234,165,35,0.2);
  border-bottom: 1px solid rgba(234,165,35,0.2);
  padding: 14px 20px;
}

.viz-feat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.viz-feat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
}

.viz-feat i { color: #D4A017; font-size: 14px; }

/* ============================================
   NTA / CTA SECTION
   ============================================ */

.nta-section {
  position: relative;
  padding: 110px 20px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* Animated marble background layer */
.nta-section::before {
  content: '';
  position: absolute;
  inset: -12%;
  background-image: url('/images/marble-black-gold.png');
  background-size: cover;
  background-position: center;
  animation: marble-pan 18s ease-in-out infinite alternate;
  z-index: -2;
}

/* Dark overlay so text stays readable */
.nta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.62) 0%, rgba(10,6,0,0.55) 50%, rgba(0,0,0,0.65) 100%);
  z-index: -1;
}

@keyframes marble-pan {
  0%   { transform: scale(1.18) translate(-4%, -3%); }
  100% { transform: scale(1.18) translate(4%,  3%); }
}

.nta-content { position: relative; z-index: 1; }

.nta-content h2 {
  font-family: var(--font-playfair);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}

.nta-content p {
  font-size: 1.05rem;
  opacity: 0.87;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.nta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Legacy CTA section (kept for compatibility) */
.cta {
  background: var(--primary-color);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.cta h2 {
  font-family: var(--font-playfair);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}

.cta p { font-size: 1.05rem; margin-bottom: 30px; opacity: 0.9; }

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */

.page-header {
  padding: 80px 20px 60px;
  background: rgb(246, 246, 246);
  position: relative;
  overflow: hidden;
  color: #363430;
  text-align: center;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent 0px, transparent 20px,
    rgba(234,165,35,0.025) 20px, rgba(234,165,35,0.025) 21px
  );
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(234,165,35,0.1) 0%, transparent 65%);
}

.page-header-content { position: relative; z-index: 1; }

.page-header h1 {
  font-family: var(--font-playfair);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: 1.05rem;
  opacity: 0.87;
  position: relative;
  z-index: 1;
}

.gold-breadth { color: var(--accent-color); }

/* ============================================
   ABOUT — FOUNDER SECTION
   ============================================ */

.about-story {
  padding: 80px 20px;
  background: #fff;
}

.about-story .container { max-width: 800px; }

.story-content { font-size: 1rem; line-height: 1.85; color: var(--text-mid); }
.story-content p { margin-bottom: 20px; }

/* Founder 2-col layout */
.founder-section {
  padding: 80px 20px;
  background: var(--cream);
}

.founder-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 10px;
}

.founder-frame {
  position: relative;
  padding-bottom: 24px; /* room for badge overflow */
}

.founder-image-wrap {
  position: relative;
  border: 3px solid var(--accent-color);
  border-radius: 6px;
  overflow: hidden;        /* clip image inside */
  aspect-ratio: 5 / 4;    /* natural portrait ratio */
}

.founder-image-wrap::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 14px;
  right: -14px;
  bottom: -14px;
  border: 2px solid rgba(234,165,35,0.25);
  border-radius: 6px;
  z-index: -1;
  pointer-events: none;
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}


.founder-photo-placeholder {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, #111111, #222222);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: rgba(234,165,35,0.4);
}

.founder-badge {
  position: absolute;
  bottom: 0;
  right: -10px;
  background: var(--accent-color);
  color: var(--stone-dark);
  padding: 12px 18px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.82rem;
  text-align: center;
  line-height: 1.4;
  box-shadow: 0 6px 20px rgba(234,165,35,0.35);
  z-index: 2;
}

.founder-badge strong { display: block; font-size: 1.1rem; }

.founder-content { padding-left: 10px; }

.founder-tag {
  display: inline-block;
  background: rgba(234,165,35,0.1);
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.founder-sub {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1rem;
}

.founder-content h2 {
  font-family: var(--font-playfair);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #363430;
  margin-bottom: 18px;
  line-height: 1.3;
}

.founder-content p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.97rem;
}

.founder-blockquote {
  border-left: 4px solid var(--accent-color);
  padding: 16px 20px;
  margin: 24px 0;
  background: rgba(234,165,35,0.04);
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: var(--primary-color);
  font-size: 1rem;
  line-height: 1.7;
}

/* ============================================
   ABOUT — STATS SECTION
   ============================================ */

.about-stats {
  padding: 70px 20px;
  background: var(--primary-color);
  color: #fff;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
  gap: 30px;
}

.stats-bar-item { text-align: center; }

.stats-bar-item .num {
  font-family: var(--font-playfair);
  font-size: 2.8rem;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 8px;
}

.stats-bar-item p { font-size: 0.88rem; opacity: 0.8; line-height: 1.4; }

/* ============================================
   ABOUT — VALUES GRID
   ============================================ */

.values-section {
  padding: 80px 20px;
  background: #fff;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 24px;
  margin-top: 50px;
}

.value-card {
  background: rgb(216 217 218);
  border-radius: 8px;
  padding: 28px 22px;
  position: relative;
  transition: all 0.3s;
  border: 1px solid rgba(0,0,0,0.04);
}

.value-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-color);
  border-radius: 0 0 8px 8px;
  transform: scaleX(0);
  transition: transform 0.3s;
}

.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.value-card:hover::after { transform: scaleX(1); }

.value-card i { font-size: 28px; color: var(--accent-color); margin-bottom: 14px; display: block; }

.value-card h3 {
  font-family: var(--font-playfair);
  font-size: 1.1rem;
  color: #363430;
  margin-bottom: 8px;
}

.value-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }

/* ============================================
   PARALLAX BANNER
   ============================================ */

.parallax-banner {
  position: relative;
  background: url('/images/slider3.png') center / cover no-repeat;
  background-attachment: fixed;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parallax-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.parallax-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 70px 20px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.parallax-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 18px;
}

.parallax-content h2 {
  font-family: var(--font-playfair);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.3;
  margin-bottom: 54px;
  color: #fff;
}

.parallax-stats {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.parallax-stat {
  padding: 0 48px;
  border-right: 1px solid rgba(255,255,255,0.18);
}

.parallax-stat:last-child { border-right: none; }

.parallax-stat span {
  display: block;
  font-family: var(--font-playfair);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 10px;
}

.parallax-stat p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.72);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .parallax-banner { background-attachment: scroll; }
  .parallax-stat { padding: 20px 28px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .parallax-stat:last-child { border-bottom: none; }
}

/* ============================================
   ABOUT — CERTIFICATIONS
   ============================================ */

.certifications {
  padding: 80px 20px;
  background: var(--stone-dark);
  color: #fff;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px;
  margin-top: 50px;
}

.cert-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
}

.cert-card:hover { background: rgba(234,165,35,0.08); border-color: rgba(234,165,35,0.2); }

.cert-card i { font-size: 36px; color: var(--accent-color); margin-bottom: 14px; display: block; }

.cert-card h3 { font-size: 1.8rem; color: #fff; margin-bottom: 6px; font-family: var(--font-playfair); }

.cert-card p { font-size: 0.85rem; color: rgba(255,255,255,0.55); }

/* Showroom section */
.showroom-section {
  padding: 80px 20px;
  background: var(--cream);
}

.showroom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 10px;
}

.showroom-info h2 {
  font-family: var(--font-playfair);
  font-size: 2rem;
  color: #363430;
  margin-bottom: 20px;
}

.showroom-info p { color: var(--text-mid); line-height: 1.8; margin-bottom: 14px; }

.showroom-map {
  border-radius: 10px;
  height: 360px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-soft);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
}

.showroom-map iframe {
  flex: 1;
  width: 100%;
  border-radius: 10px 10px 0 0;
}

.map-open-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent-color);
  color: #363430;
  font-family: var(--font-lato);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  transition: background 0.3s;
}
.map-open-btn:hover { background: #2a2826; color: #fff; }

/* MAP SECTION (contact page) */
.map-section {
  border-top: 3px solid var(--accent-color);
}

.map-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 20px;
  flex-wrap: wrap;
}

.map-section-text h2 {
  font-family: var(--font-playfair);
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.map-section-text p {
  color: var(--text-light);
  font-size: 0.9rem;
  max-width: 500px;
  line-height: 1.6;
}

.map-embed-wrap {
  width: 100%;
  line-height: 0;
}

.map-embed-wrap iframe {
  width: 100%;
  display: block;
}

@media (max-width: 768px) {
  .map-section-header { flex-direction: column; align-items: flex-start; }
  .map-embed-wrap iframe { height: 320px; }
  .showroom-map { height: 300px; }
}

/* ============================================
   MILESTONE TIMELINE
   ============================================ */

.milestones {
  position: relative;
  padding: 90px 20px;
  overflow: hidden;
  isolation: isolate;
}

/* Animated marble background — same as NTA section */
.milestones::before {
  content: '';
  position: absolute;
  inset: -12%;
  background-image: url('/images/marble-black-gold.png');
  background-size: cover;
  background-position: center;
  animation: marble-pan 22s ease-in-out infinite alternate;
  z-index: -2;
}

/* Dark overlay for readability */
.milestones::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.72) 0%, rgba(10,6,0,0.65) 50%, rgba(0,0,0,0.75) 100%);
  z-index: -1;
}

.timeline { max-width: 800px; margin: 0 auto; }

.timeline-item {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-marker {
  width: 16px;
  height: 16px;
  background: var(--accent-color);
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 30px;
  width: 2px;
  height: calc(100% + 10px);
  background: rgba(234,165,35,0.3);
}

.timeline-content h3 { color: var(--accent-color); font-size: 1.2rem; margin-bottom: 5px; }
.timeline-content p { color: var(--text-light); line-height: 1.65; }

/* Overrides for dark marble background on milestones section */
.milestones .section-title { color: #fff; }
.milestones .timeline-content p { color: rgba(255,255,255,0.78); }
.milestones .timeline-item:not(:last-child)::before { background: rgba(234,165,35,0.45); }

/* ============================================
   TEAM
   ============================================ */

.team { padding: 70px 20px; background: #fff; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 28px;
  margin-top: 50px;
}

.team-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--cream);
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s;
}

.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.team-avatar { font-size: 72px; color: var(--accent-color); margin-bottom: 16px; }
.team-avatar img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; border: 3px solid var(--accent-color); }

.team-card h3 { color: #363430; font-size: 1.1rem; margin-bottom: 5px; font-family: var(--font-playfair); }
.team-role { color: var(--accent-color); font-weight: 700; margin-bottom: 10px; font-size: 0.88rem; }
.team-bio { color: var(--text-light); font-size: 0.88rem; line-height: 1.6; }

/* ============================================
   PRODUCTS / EXPLORE PAGE
   ============================================ */

.products { padding: 70px 20px; }

.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 70px;
  align-items: center;
}

.product-card:nth-child(even) .product-image { order: 2; }
.product-card:nth-child(even) .product-content { order: 1; }

.product-image { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }

.placeholder-image {
  width: 100%;
  height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 72px;
  color: rgba(255,255,255,0.25);
  position: relative;
}

.product-content h3 {
  font-family: var(--font-playfair);
  font-size: 2rem;
  color: #363430;
  margin-bottom: 8px;
}

.product-type { color: var(--accent-color); font-weight: 700; margin-bottom: 15px; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 1px; }
.product-description { color: var(--text-mid); line-height: 1.8; margin-bottom: 22px; }

.product-features { list-style: none; margin-bottom: 28px; }
.product-features li {
  color: var(--text-mid);
  margin-bottom: 10px;
  padding-left: 28px;
  position: relative;
  font-size: 0.95rem;
}
.product-features i { position: absolute; left: 0; color: var(--accent-color); top: 2px; }

/* Specs table */
.specifications { background: var(--bg-light); padding: 70px 20px; }
.specs-table { overflow-x: auto; margin-top: 30px; }

table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); }
table thead { background: var(--primary-color); color: #fff; }
table th { padding: 18px 20px; text-align: left; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
table td { padding: 14px 20px; border-bottom: 1px solid var(--border-soft); font-size: 0.95rem; }
table tbody tr:hover { background: rgba(234,165,35,0.04); }

/* ============================================
   GALLERY FILTER TABS
   ============================================ */

.gallery-filter {
  padding: 36px 20px 0;
  background: #fff;
}

.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-tab {
  padding: 10px 26px;
  border: 2px solid var(--accent-color);
  background: transparent;
  color: var(--accent-color);
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  font-family: inherit;
  letter-spacing: 0.3px;
  transition: background 0.22s, color 0.22s, transform 0.15s;
}

.filter-tab:hover {
  background: rgba(186,149,100,0.1);
  transform: translateY(-1px);
}

.filter-tab.active {
  background: var(--accent-color);
  color: var(--stone-dark);
}

/* ============================================
   GALLERY
   ============================================ */

.gallery-section { padding: 50px 20px 70px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #fff;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.3s;
}

.gallery-item:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  transform: translateY(-2px);
}

/* Square image area */
.gallery-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  flex-shrink: 0;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
  cursor: pointer;
  display: block;
}

.gallery-item:hover .gallery-img-wrap img { transform: scale(1.08); }

/* Hover overlay — View button only */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,20,9,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-img-wrap:hover .gallery-overlay { opacity: 1; }

.overlay-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  text-align: center;
}

/* Always-visible caption below image */
.gallery-caption {
  padding: 9px 12px 10px;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.06);
  min-height: 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.caption-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--stone-dark);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.caption-brand {
  font-size: 0.67rem;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-placeholder { grid-column: 1/-1; text-align: center; padding: 60px; color: var(--text-light); }

/* Pagination */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.pagination-info {
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.pagination button {
  padding: 9px 14px;
  min-width: 40px;
  background: #fff;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.25s;
  line-height: 1;
}

.pagination button:hover,
.pagination button.active { background: var(--accent-color); color: var(--stone-dark); }

.pagination button.pg-nav { padding: 9px 12px; }

.pagination button.disabled,
.pagination button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-ellipsis {
  padding: 0 4px;
  color: var(--text-light);
  font-weight: 700;
  font-size: 1rem;
  line-height: 40px;
  user-select: none;
}

/* ============================================
   LIGHTBOX
   ============================================ */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.active { display: flex; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  cursor: pointer;
}

/* Stage holds the image and sits above the backdrop */
.lightbox-stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  overflow: hidden;
}

.lightbox-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
  user-select: none;
}

.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.7);
  transform-origin: center;
  transition: transform 0.15s ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Close button */
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 10;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); transform: scale(1.1); }

/* Prev / Next arrows */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.22); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

/* Bottom bar */
.lightbox-bar {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  gap: 16px;
  flex-wrap: wrap;
}

.lightbox-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.lb-stone-name {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lb-brand {
  color: var(--accent-color);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.lightbox-zoom-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.lb-zoom-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background 0.18s;
}
.lb-zoom-btn:hover { background: rgba(255,255,255,0.22); }

.lb-zoom-level {
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  font-weight: 600;
  min-width: 42px;
  text-align: center;
}

@media (max-width: 600px) {
  .lightbox-nav { width: 38px; height: 38px; font-size: 0.85rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-bar { padding: 10px 14px; }
  .lightbox-img-wrap img { max-width: 95vw; max-height: 70vh; }
}

/* ============================================
   CONTACT
   ============================================ */

.contact-section { padding: 60px 20px 50px; }

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }

.contact-info h2 {
  font-family: var(--font-playfair);
  font-size: 2rem;
  color: #363430;
}

.info-card { display: flex; gap: 18px; }
.info-card i { font-size: 26px; color: var(--accent-color); flex-shrink: 0; margin-top: 2px; }
.info-card h3 { color: #363430; margin-bottom: 4px; font-size: 1rem; }
.info-card p { color: var(--text-light); line-height: 1.65; font-size: 0.95rem; }

/* Form */
.contact-form h2 {
  font-family: var(--font-playfair);
  font-size: 2rem;
  color: #363430;
  margin-bottom: 28px;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 7px; color: var(--text-dark); font-weight: 700; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.5px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 4px;
  font-family: var(--font-lato);
  font-size: 0.97rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: #fff;
  color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(234,165,35,0.1);
}

.form-group textarea { resize: vertical; min-height: 130px; }

/* Contact map column */
.contact-map {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  min-height: 480px;
}

.contact-map iframe {
  flex: 1;
  width: 100%;
  display: block;
  min-height: 0;
}

/* Contact form card */
.contact-form {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
}

/* Contact info section (below map+form) */
.contact-info-section {
  background: #fff;
  padding: 50px 20px;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.contact-info-grid .info-card {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 22px 20px;
  align-items: flex-start;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--header-bg);
  color: #fff;
  padding: 64px 0 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  align-items: start;
}


.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer-logo .logo-img {
  height: 60px;
}

.footer-col > p {
  font-size: 0.88rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.6);
  margin-bottom: 22px;
}

.footer-col h5 {
  font-family: var(--font-playfair);
  font-size: 1.05rem;
  color: var(--accent-color);
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links-list a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s;
}

.footer-links-list a i { color: var(--accent-color); font-size: 0.65rem; flex-shrink: 0; }
.footer-links-list a:hover { color: var(--accent-color); }

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-contact-item,
.footer-contact-item a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.86rem;
  line-height: 1.55;
  transition: color 0.25s;
}

.footer-contact-item i { color: var(--accent-color); margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a:hover { color: var(--accent-color); }

/* Social icons */
.footer-social { display: flex; gap: 10px; }

.social-icon {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s;
}

.social-icon:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--stone-dark);
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 20px;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 100%;
}

.footer-bottom > p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  color: var(--accent-color);
  text-decoration: none;
  font-size: 0.82rem;
  transition: opacity 0.3s;
}
.footer-bottom-links a:hover { opacity: 0.75; }

.dev-credit {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.3px;
}
.dev-credit a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}
.dev-credit a:hover { color: var(--accent-color); }

/* ============================================
   ANIMATIONS
   ============================================ */

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

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.value-card.fade-in.visible {
  background: #2a28261a;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 22px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 3000;
  animation: slideInToast 0.35s ease-out;
  font-size: 0.92rem;
  font-weight: 600;
  max-width: 320px;
}

.toast.success { background: #27ae60; }
.toast.error   { background: #e74c3c; }

@keyframes slideInToast {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ============================================
   ENHANCED ANIMATIONS
   ============================================ */

/* Stagger delays — grid children appear one by one */
.features-grid .feature-card:nth-child(2),
.values-grid   .value-card:nth-child(2),
.cert-grid     .cert-card:nth-child(2),
.preview-grid  .preview-card:nth-child(2) { transition-delay: 0.1s; }

.features-grid .feature-card:nth-child(3),
.values-grid   .value-card:nth-child(3),
.cert-grid     .cert-card:nth-child(3),
.preview-grid  .preview-card:nth-child(3) { transition-delay: 0.2s; }

.features-grid .feature-card:nth-child(4),
.values-grid   .value-card:nth-child(4),
.cert-grid     .cert-card:nth-child(4) { transition-delay: 0.3s; }

.values-grid .value-card:nth-child(5),
.cert-grid   .cert-card:nth-child(5)   { transition-delay: 0.4s; }

.values-grid .value-card:nth-child(6),
.cert-grid   .cert-card:nth-child(6)   { transition-delay: 0.5s; }

/* Section title — gold underline draws in on scroll */
.section-title { position: relative; }
.section-title::after {
  content: '';
  display: block;
  margin: 10px auto 0;
  height: 2px;
  width: 0;
  background: var(--accent-color);
  border-radius: 2px;
  transition: width 0.7s cubic-bezier(0.4,0,0.2,1) 0.25s;
}
.section-title.visible::after { width: 60px; }

/* Feature cards — lift + icon spring on hover */
.feature-card { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 40px rgba(234,165,35,0.13), 0 4px 16px rgba(0,0,0,0.07);
  border-color: rgba(234,165,35,0.35);
}
.feature-card i { transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), color 0.3s; display: inline-block; }
.feature-card:hover i { transform: scale(1.28) rotate(-10deg); color: var(--accent-color); }

/* Value cards */
.value-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.value-card:hover { transform: translateY(-6px); box-shadow: 0 10px 32px rgba(234,165,35,0.1); }
.value-card i { transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1); display: inline-block; }
.value-card:hover i { transform: scale(1.3) rotate(12deg); }

/* Stat cards — pop on hover */
.stat-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.stat-card:hover { transform: translateY(-5px) scale(1.04); box-shadow: 0 10px 30px rgba(234,165,35,0.15); }

/* Cert cards — glow on hover */
.cert-card { transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease; }
.cert-card:hover { transform: translateY(-6px); box-shadow: 0 10px 35px rgba(234,165,35,0.2); background: rgba(234,165,35,0.05); }
.cert-card i { transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1); display: inline-block; }
.cert-card:hover i { transform: scale(1.35); }

/* Collection & product card — image zoom on hover */
.preview-card .preview-image,
.product-card .placeholder-image {
  transition: transform 0.65s cubic-bezier(0.25,0.46,0.45,0.94);
}
.preview-card:hover .preview-image,
.product-card:hover .placeholder-image { transform: scale(1.07); }

/* Button — light shimmer sweep on hover */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn-gold:hover::before { left: 160%; }

/* Nav links — gold underline slides in on hover */
.nav-links a { position: relative; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--accent-color);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Hero pills — staggered float */
@keyframes pill-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
.hero-pills .pill:nth-child(1) { animation: pill-float 3.2s ease-in-out infinite; }
.hero-pills .pill:nth-child(2) { animation: pill-float 3.2s ease-in-out 0.5s infinite; }
.hero-pills .pill:nth-child(3) { animation: pill-float 3.2s ease-in-out 1.0s infinite; }
.hero-pills .pill:nth-child(4) { animation: pill-float 3.2s ease-in-out 1.5s infinite; }

/* Founder badge — gentle glow pulse */
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(234,165,35,0.28); }
  50%       { box-shadow: 0 4px 36px rgba(234,165,35,0.55); }
}
.founder-badge { animation: badge-pulse 2.8s ease-in-out infinite; }

/* Timeline marker — ripple ping when visible */
@keyframes marker-ping {
  0%   { box-shadow: 0 0 0 0   rgba(234,165,35,0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(234,165,35,0); }
  100% { box-shadow: 0 0 0 0   rgba(234,165,35,0); }
}
.timeline-item.visible .timeline-marker { animation: marker-ping 2.2s ease-out infinite; }

/* Partner strip icons — spin on hover */
.strip-feature i { transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1); display: inline-block; }
.strip-feature:hover i { transform: rotate(20deg) scale(1.2); }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-frame { max-width: 480px; margin: 0 auto; }
  .logo-img { height: 44px; }
  .footer-logo .logo-img { height: 40px; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .logo-img { height: 38px; }
  .footer-logo .logo-img { height: 36px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 70px 20px 60px; }
  .hero-title  { font-size: 2rem; }
  .hero-subtitle { font-size: 0.97rem; }

  .partner-strip .container { flex-direction: column; align-items: flex-start; }
  .strip-divider { display: none; }
  .strip-features { gap: 14px; }

  .preview-grid { grid-template-columns: 1fr; }

  .product-card { grid-template-columns: 1fr; }
  .product-card:nth-child(even) .product-image { order: 0; }
  .product-card:nth-child(even) .product-content { order: 0; }

  .contact-content { grid-template-columns: 1fr; gap: 28px; }
  .contact-map { min-height: 320px; }
  .contact-form { padding: 28px 20px; }

  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .showroom-grid { grid-template-columns: 1fr; }

  .toast { bottom: 12px; right: 12px; left: 12px; max-width: 100%; }
}

@media (max-width: 576px) {
  .footer-inner { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .cert-grid { grid-template-columns: repeat(2,1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .hero-pills { gap: 7px; }
  .pill { font-size: 0.74rem; padding: 5px 10px; }
  .btn { padding: 10px 20px; font-size: 0.82rem; }
}

@media (max-width: 480px) {
  :root { --header-h: 58px; }
  .logo-img { height: 32px; }
  .hero-title { font-size: 1.7rem; }
  .section-title { font-size: 1.5rem; }
  .page-header h1 { font-size: 1.7rem; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  table th, table td { padding: 10px 12px; font-size: 0.85rem; }
}
