:root {
  --bg-primary: #0f1218;
  --bg-secondary: #161b24;
  --bg-surface: #1e2430;
  --bg-card: #19202c;
  --bg-card-hover: #222b3a;
  --bg-light: #f8fafc;
  --bg-light-alt: #f1f5f9;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-on-dark: #f8fafc;
  --text-on-dark-dim: #94a3b8;

  --accent-gold: #c59b27;
  --accent-gold-hover: #d8ac2f;
  --accent-gold-light: #fef8eb;
  --accent-bronze: #9a7319;
  
  --metal-dark: #1e242d;
  --metal-border: #334155;
  --metal-light-border: #e2e8f0;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 45px rgba(0,0,0,0.18);
  --shadow-glow: 0 0 24px rgba(197, 155, 39, 0.25);

  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Artisan Navigation Header */
.artisan-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: var(--transition);
}
.artisan-header.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand-logo-wrap {
  display: flex;
  align-items: center;
}
.brand-logo-img {
  height: 44px;
  width: auto;
}

/* Modern Craftsman Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}
.nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #334155;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  position: relative;
}
.nav-link:hover {
  color: #0f172a;
  background: #f1f5f9;
}
.nav-link.active {
  color: #0f172a;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Contact Phone Pill in Navbar */
.nav-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.nav-phone-pill svg {
  color: var(--accent-gold);
}
.nav-phone-pill:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #b8860b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

/* E-Commerce Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, #d4aa38, #b88819);
  color: #0f172a;
  border-color: #a77c15;
  box-shadow: 0 2px 8px rgba(184, 136, 25, 0.25);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #dfb745, #c79522);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(184, 136, 25, 0.35);
  color: #000;
}
.btn-dark {
  background: #111827;
  color: #fff;
  border-color: #1f2937;
}
.btn-dark:hover {
  background: #1f2937;
  transform: translateY(-1px);
}
.btn-outline-dark {
  background: transparent;
  color: #1e293b;
  border-color: #cbd5e1;
}
.btn-outline-dark:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}
.btn-outline-gold {
  background: transparent;
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}
.btn-outline-gold:hover {
  background: var(--accent-gold);
  color: #0f1218;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}
.btn-quote-nav {
  font-family: 'Plus Jakarta Sans', sans-serif;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: #1e293b;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-color: #0d1117;
  color: #fff;
  padding: 100px 0 120px;
  overflow: hidden;
}
.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  filter: contrast(1.05) brightness(0.98);
}
.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(13, 17, 23, 0.78) 0%, rgba(13, 17, 23, 0.45) 45%, rgba(13, 17, 23, 0.08) 75%, rgba(13, 17, 23, 0.0) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 155, 39, 0.15);
  border: 1px solid rgba(197, 155, 39, 0.4);
  color: #f3d379;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 46px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}
.hero-title span {
  background: linear-gradient(135deg, #ffffff 40%, #e6be50 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 17px;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 34px;
  max-width: 580px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-item h3 {
  font-size: 26px;
  font-weight: 700;
  color: #f3d379;
  line-height: 1;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.stat-item p {
  font-size: 12.5px;
  color: #e2e8f0;
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

/* Trust Bar / Craft Pillars */
.trust-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--metal-light-border);
  padding: 24px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}
.trust-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}
.trust-text p {
  font-size: 12px;
  color: #64748b;
}

/* Section Common */
.section {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-tag {
  display: inline-block;
  color: var(--accent-bronze);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Category Filter Pills (Minimalist E-Commerce) */
.category-filter-wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover {
  border-color: #94a3b8;
  color: #0f172a;
}
.filter-btn.active {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

/* Product Catalogue Cards */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}
.product-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
}
.product-media {
  position: relative;
  aspect-ratio: 16/10;
  background: #f1f5f9;
  overflow: hidden;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img {
  transform: scale(1.04);
}
.product-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.badge-tag {
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(4px);
  color: #f8fafc;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-gold {
  background: rgba(197, 155, 39, 0.95);
  color: #0f172a;
  font-weight: 700;
}
.product-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-category {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-bronze);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.product-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 10px;
}
.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  background: #f8fafc;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border: 1px solid #f1f5f9;
}
.spec-item {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}
.spec-item svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}
.product-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}
.price-tag {
  display: flex;
  flex-direction: column;
}
.price-label {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.price-value {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}
.card-cta {
  width: 100%;
}

/* Precision Craftsmanship & Process Section */
.craft-section {
  background: #111827;
  color: #ffffff;
}
.craft-section .section-title {
  color: #ffffff;
}
.craft-section .section-sub {
  color: #94a3b8;
}
.craft-section .section-tag {
  color: #e6be50;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.process-card {
  background: #192231;
  border: 1px solid #2d3748;
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: var(--transition);
}
.process-card:hover {
  border-color: #4a5568;
  transform: translateY(-3px);
}
.step-number {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-gold);
  opacity: 0.6;
  margin-bottom: 12px;
}
.process-card h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}
.process-card p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
}

/* Workshop & Installation Real Showcase */
.real-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #232b38;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  color: #ffffff;
}
.gallery-caption h5 {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 2px;
}
.gallery-caption span {
  font-size: 11.5px;
  color: #cbd5e1;
}

/* Minimalist Unified Bottom Section */
.minimal-bottom-section {
  background: #0b0e14;
  color: #f8fafc;
  padding: 64px 0 32px;
  border-top: 1px solid #1a2230;
  text-align: center;
}
.bottom-brand-header {
  margin-bottom: 36px;
}
.bottom-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.bottom-logo-img {
  height: 44px;
  width: auto;
}
.bottom-company-name {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.bottom-tagline {
  font-size: 13px;
  color: #94a3b8;
  letter-spacing: 0.8px;
}
.bottom-contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1060px;
  margin: 0 auto 32px;
  text-align: left;
}
.contact-card-mini {
  background: #141923;
  border: 1px solid #222c3d;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
}
.contact-card-mini:hover {
  border-color: var(--accent-gold);
  background: #18202d;
  transform: translateY(-2px);
}
.contact-icon-mini {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(197, 155, 39, 0.12);
  border: 1px solid rgba(197, 155, 39, 0.3);
  color: #e6be50;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-text-mini {
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}
.contact-text-mini .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #64748b;
  font-weight: 600;
}
.contact-text-mini .val {
  font-size: 14px;
  font-weight: 600;
  color: #f1f5f9;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.bottom-action-bar {
  margin-bottom: 32px;
}
.bottom-sub-bar {
  padding-top: 22px;
  border-top: 1px solid #161e2b;
  font-size: 12.5px;
  color: #64748b;
}

/* Quick Quote Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 20px;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 32px;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.active .modal-window {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #475569;
  transition: var(--transition);
}
.modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* WhatsApp Floating Pill */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  font-size: 13.5px;
  font-weight: 600;
  transition: var(--transition);
}
.floating-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .real-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quote-container {
    grid-template-columns: 1fr;
  }
  .quote-info-col {
    padding: 32px;
  }
  .quote-form-col {
    padding: 32px;
  }
}

@media (max-width: 900px) {
  .nav-phone-pill span {
    display: none;
  }
  .nav-phone-pill {
    padding: 8px 10px;
  }
}

@media (max-width: 768px) {
  .nav-phone-pill {
    display: none;
  }
  .nav-container {
    height: 68px;
  }
  .brand-logo-img {
    height: 38px;
  }
  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    gap: 12px;
    border-bottom: 1px solid var(--metal-light-border);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-link {
    width: 100%;
    justify-content: center;
  }
  .nav-menu.mobile-open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-actions .btn-quote-nav {
    display: none;
  }
  .hero-section {
    padding: 60px 0 80px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .real-gallery-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .floating-whatsapp span {
    display: none;
  }
  .floating-whatsapp {
    padding: 14px;
    border-radius: 50%;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-legal-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
