/* ============================================
   SKILLS METAIS — Design System Premium
   Dark Luxury + Gold Accents
   ============================================ */

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

/* ---------- CSS Variables ---------- */
:root {
  /* Colors */
  --color-black: #0A0A0A;
  --color-dark: #1A1A1A;
  --color-dark-alt: #111111;
  --color-gray-900: #222222;
  --color-gray-800: #333333;
  --color-gray-700: #444444;
  --color-gray-600: #666666;
  --color-gray-500: #888888;
  --color-gray-400: #AAAAAA;
  --color-gray-300: #CCCCCC;
  --color-white: #FFFFFF;
  --color-off-white: #FAF8F5;
  --color-cream: #F5F0EA;

  /* Gold palette */
  --color-gold: #C8A96E;
  --color-gold-light: #D4BA85;
  --color-gold-dark: #A88B4A;
  --color-gold-gradient: linear-gradient(135deg, #C8A96E 0%, #E8D5A8 50%, #C8A96E 100%);
  --color-gold-shimmer: linear-gradient(90deg, #C8A96E 0%, #E8D5A8 30%, #C8A96E 60%, #E8D5A8 100%);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --container-max: 1280px;
  --container-wide: 1440px;
  --header-height: 80px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-base: 0.4s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
  --transition-slower: 0.8s var(--ease-out);

  /* Borders */
  --border-gold: 1px solid rgba(200, 169, 110, 0.3);
  --border-subtle: 1px solid rgba(255, 255, 255, 0.08);

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 4px 20px rgba(200, 169, 110, 0.15);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-black);
  color: var(--color-gray-300);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

button {
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-white);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

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

.text-shimmer {
  background: var(--color-gold-shimmer);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

.subtitle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
  scroll-margin-top: 100px;
}

.section--dark {
  background-color: var(--color-dark-alt);
}

/* ---------- Gold Divider ---------- */
.divider {
  width: 60px;
  height: 1px;
  background: var(--color-gold-gradient);
  margin: var(--space-lg) 0;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--color-gold);
  color: var(--color-black);
}

.btn--primary:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn--outline {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}

.btn--outline:hover {
  background: var(--color-gold);
  color: var(--color-black);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  padding: 10px 0;
  letter-spacing: 0.2em;
}

.btn--ghost::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}

.btn--ghost:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn--ghost:hover {
  color: var(--color-gold);
}

.btn .arrow {
  transition: transform var(--transition-fast);
  font-size: 1.2em;
}

.btn i {
  font-size: 1.3em;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ============================================
   LOADER
   ============================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  width: 400px;
  max-width: 80vw;
  animation: loaderPulse 1.5s ease-in-out infinite;
  filter: invert(1);
}

@keyframes loaderPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.95);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-lg) 0;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-md) 0;
  border-bottom: var(--border-subtle);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img {
  height: 60px;
  width: auto;
  transition: all var(--transition-fast);
  filter: invert(1);
}

.header.scrolled .header__logo img {
  height: 45px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav__link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gray-300);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-gold);
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--color-white);
  transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 8s ease;
}

.hero.in-view .hero__bg-image {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 10, 10, 0.85) 0%,
      rgba(10, 10, 10, 0.6) 40%,
      rgba(10, 10, 10, 0.4) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero__subtitle {
  display: inline-block;
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero__title {
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero__title em {
  font-style: italic;
  color: var(--color-gold);
}

.hero__description {
  font-size: 1.1rem;
  color: var(--color-gray-400);
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}

.hero__actions {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 1.1s forwards;
}

/* Hero decorative line */
.hero__line {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.hero__line span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.hero__line-bar {
  width: 1px;
  height: 40px;
  background: var(--color-gold);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  50.01% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
}

@media (min-width: 1025px) {
  .categories__grid .category-card:last-child:nth-child(5) {
    grid-column: span 4;
    justify-self: center;
    width: calc(25% - (var(--space-lg) * 0.75));
  }
}

.category-card {
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
  border: var(--border-subtle);
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
  cursor: pointer;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-gold-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 169, 110, 0.2);
  box-shadow: var(--shadow-gold);
}

.category-card__icon {
  font-size: 3rem;
  margin-bottom: var(--space-lg);
  display: block;
  transition: transform var(--transition-base);
  color: var(--color-gold);
}

.category-card:hover .category-card__icon {
  transform: scale(1.1);
}

.category-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.category-card__count {
  font-size: 0.75rem;
  color: var(--color-gray-500);
  letter-spacing: 0.1em;
}

/* ============================================
   FEATURED PRODUCTS
   ============================================ */
.products__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-3xl);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.product-card {
  position: relative;
  background: var(--color-dark);
  border: var(--border-subtle);
  overflow: hidden;
  transition: all var(--transition-base);
}

.product-card:hover {
  border-color: rgba(200, 169, 110, 0.2);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.product-card__image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-white);
  cursor: zoom-in;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image img {
  transform: scale(1.08);
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.product-card:hover .product-card__overlay {
  opacity: 1;
}

.product-card__quick {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.product-card:hover .product-card__quick {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.product-card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 4px 12px;
  background: var(--color-gold);
  color: var(--color-black);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card__info {
  padding: var(--space-lg) var(--space-xl);
}

.product-card__category {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
}

.product-card:hover .product-card__name {
  color: var(--color-gold);
}

.product-card__ref {
  font-size: 0.75rem;
  color: var(--color-gray-500);
}

/* ============================================
   ABOUT / BRAND SECTION
   ============================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about__image-wrapper {
  position: relative;
}

.about__image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about__image-frame {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: var(--border-gold);
  pointer-events: none;
}

.about__carousel {
  width: 100%;
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  background-color: var(--color-dark);
}

.about__carousel-inner {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease-in-out);
}

.about__carousel .about__image {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__content {
  padding: var(--space-xl) 0;
}

.about__text {
  margin: var(--space-xl) 0;
  color: var(--color-gray-400);
  font-size: 1.05rem;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

.about__feature {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.about__feature-icon {
  width: 48px;
  height: 48px;
  border: var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--color-gold);
}

.about__feature-text {
  font-size: 0.9rem;
  color: var(--color-gray-300);
}

.about__feature-text strong {
  color: var(--color-white);
  display: block;
  margin-bottom: 2px;
}

/* ============================================
   AMBIENT / SHOWCASE SECTION
   ============================================ */
.showcase {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.showcase__bg {
  position: absolute;
  inset: 0;
}

.showcase__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
}

.showcase__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.showcase__content h2 {
  margin-bottom: var(--space-md);
}

.showcase__content p {
  color: var(--color-gray-400);
  margin-bottom: var(--space-2xl);
}

/* ============================================
   CTA CONTACT SECTION
   ============================================ */
.cta {
  text-align: center;
  background: linear-gradient(180deg, var(--color-black) 0%, var(--color-dark-alt) 50%, var(--color-black) 100%);
}

.cta__title {
  margin-bottom: var(--space-md);
}

.cta__text {
  color: var(--color-gray-400);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
}

.cta__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: var(--border-subtle);
  padding: var(--space-4xl) 0 var(--space-xl);
  background: var(--color-dark-alt);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-4xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 300px;
}

.footer__brand p {
  color: var(--color-gray-500);
  font-size: 0.9rem;
  margin-top: var(--space-md);
  max-width: 280px;
}

.footer__brand-logo {
  max-width: 140px;
  height: auto;
  filter: invert(1);
}

.footer__title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-gold);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: var(--color-gray-500);
  margin-bottom: var(--space-sm);
}

.footer__contact-item i,
.footer__contact-item span:first-child {
  font-size: 1.2rem;
  color: var(--color-gold);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer__social a {
  width: 40px;
  height: 40px;
  border: var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: var(--color-gold);
  color: var(--color-black);
}

.footer__bottom {
  border-top: var(--border-subtle);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.8rem;
  color: var(--color-gray-600);
}

.w3c-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-gray-500);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.w3c-link:hover {
  color: var(--color-gold);
}

.w3c-link i {
  font-size: 1.2rem;
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transition: all var(--transition-fast);
  animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {

  0%,
  100% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  }

  50% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.5), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger>* {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.stagger.visible>*:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger.visible>*:nth-child(2) {
  transition-delay: 0.1s;
}

.stagger.visible>*:nth-child(3) {
  transition-delay: 0.15s;
}

.stagger.visible>*:nth-child(4) {
  transition-delay: 0.2s;
}

.stagger.visible>*:nth-child(5) {
  transition-delay: 0.25s;
}

.stagger.visible>*:nth-child(6) {
  transition-delay: 0.3s;
}

.stagger.visible>* {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PRODUCTS PAGE - Grid & Filters
   ============================================ */
.page-header {
  padding-top: calc(var(--header-height) + var(--space-4xl));
  padding-bottom: var(--space-3xl);
  text-align: center;
  background: linear-gradient(180deg, var(--color-dark-alt) 0%, var(--color-black) 100%);
}

.page-header h1 {
  margin-bottom: var(--space-md);
}

.page-header p {
  color: var(--color-gray-500);
  max-width: 500px;
  margin: 0 auto;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-3xl);
}

.filter-btn {
  padding: 10px 24px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray-500);
  border: var(--border-subtle);
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--color-gold);
  border-color: var(--color-gold);
  background: rgba(200, 169, 110, 0.05);
}

.products-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-dark-alt), var(--color-black));
}

.about-hero__content {
  position: relative;
  z-index: 2;
}

.timeline {
  position: relative;
  padding: var(--space-3xl) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: rgba(200, 169, 110, 0.2);
}

.timeline__item {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-3xl);
}

.timeline__item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline__content {
  width: 45%;
  padding: var(--space-xl);
  background: var(--color-dark);
  border: var(--border-subtle);
}

.timeline__dot {
  width: 16px;
  height: 16px;
  background: var(--color-gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin: 0 calc(5% - 8px);
  position: relative;
  z-index: 2;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray-400);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--color-dark);
  border: var(--border-subtle);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-gold);
}

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

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  border: var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-info__text h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info__text p {
  font-size: 0.9rem;
  color: var(--color-gray-500);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--color-dark);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-3xl);
    transition: right var(--transition-base);
    border-left: var(--border-gold);
  }

  .nav.open {
    right: 0;
  }

  .nav__link {
    font-size: 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .hero__content {
    padding-top: var(--space-3xl);
  }

  .categories__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

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

  .products__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions {
    flex-direction: column;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline__item,
  .timeline__item:nth-child(odd) {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 50px;
  }

  .timeline__content {
    width: 100%;
  }

  .timeline__dot {
    position: absolute;
    left: 12px;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

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

  .btn {
    padding: 12px 28px;
    font-size: 0.75rem;
    width: 100%;
    justify-content: center;
  }

  .btn--ghost {
    width: auto;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .about__image {
    aspect-ratio: 1/1;
  }

  .about__carousel {
    aspect-ratio: 1/1;
  }

  .footer__social {
    gap: var(--space-md);
  }
}


/* ---------- Nav Backdrop ---------- */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.nav-backdrop.visible {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   IMAGE FALLBACKS (gradient placeholders)
   ============================================ */

/* Hero fallback gradient */
.hero__bg {
  background: linear-gradient(135deg,
      #0A0A0A 0%,
      #1A1614 25%,
      #2A2018 50%,
      #1A1614 75%,
      #0A0A0A 100%);
}

/* Showcase fallback */
.showcase__bg {
  background: linear-gradient(180deg,
      #0A0A0A 0%,
      #1A1410 30%,
      #2A1E14 50%,
      #1A1410 70%,
      #0A0A0A 100%);
}

/* Product image fallback placeholder */
.product-card__image {
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* About image fallback */
.about__image {
  background: linear-gradient(135deg, #1A1410 0%, #2A2018 50%, #1A1410 100%);
}

/* Hide broken images gracefully */
img[src$=".jpg"]:not([src*="logo"]),
img[src$=".png"]:not([src*="logo"]) {
  background: linear-gradient(135deg, #1A1A1A 0%, #2A2420 50%, #1A1A1A 100%);
  min-height: 80px;
  color: transparent;
  font-size: 0;
}

/* Hero bg image - hide alt text */
.hero__bg-image,
.showcase__bg img,
.about__image {
  color: transparent;
  font-size: 0;
}

/* Logo dark-bg inversion for visibility */
.header__logo img,
.loader-logo,
.footer__brand-logo {
  filter: invert(1);
}

/* ============================================
   LIGHTBOX MODAL
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  color: var(--color-white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color var(--transition-fast), transform var(--transition-fast);
  z-index: 2;
  padding: var(--space-sm);
}

.lightbox__close:hover {
  color: var(--color-gold);
  transform: scale(1.1);
}

.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.95) translateY(20px);
  opacity: 0;
  transition: all var(--transition-base);
  transition-delay: 0.1s;
}

.lightbox.active .lightbox__content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.lightbox__image-container {
  position: relative;
  background: var(--color-white);
  padding: var(--space-sm);
  border-radius: 4px;
  box-shadow: var(--shadow-hover);
}

.lightbox__image {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.lightbox__info {
  margin-top: var(--space-lg);
  text-align: center;
}

.lightbox__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.lightbox__ref {
  font-size: 0.85rem;
  color: var(--color-gold);
  letter-spacing: 0.15em;
}

.lightbox__btn {
  margin-top: var(--space-lg);
  font-size: 0.75rem;
  padding: 12px 28px;
}