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

:root {
  --bg: #fafaf8;
  --fg: #1a1a1a;
  --gold: #c9a96c;
  --gold-light: #e8d5a3;
  --muted: #8e8e8e;
  --border: #e6e3dd;
  --card-bg: #ffffff;
  --nav-bg: #fafaf8;
  --hero-bg: linear-gradient(180deg, #fafaf8 0%, #f3f0eb 100%);
  --contact-bg: linear-gradient(180deg, #fafaf8 0%, #f3f0eb 100%);
  --review-bg: linear-gradient(180deg, #fafaf8 0%, #f3f0eb 100%);
  --transition: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg: #121212;
  --fg: #f0f0ea;
  --gold: #c9a96c;
  --gold-light: #a88d52;
  --muted: #9a9a9a;
  --border: #2a2a2a;
  --card-bg: #1e1e1e;
  --nav-bg: #121212;
  --hero-bg: linear-gradient(180deg, #121212 0%, #1a1a1a 100%);
  --contact-bg: linear-gradient(180deg, #121212 0%, #1a1a1a 100%);
  --review-bg: linear-gradient(180deg, #121212 0%, #1a1a1a 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-ring {
  width: 48px;
  height: 48px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 32px;
  height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s ease;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { width: 100%; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--fg);
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
  width: 36px;
  height: 36px;
}
.theme-toggle:hover {
  color: var(--gold);
  transform: rotate(15deg);
}
.theme-toggle .theme-icon {
  width: 20px;
  height: 20px;
  position: absolute;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.theme-toggle .sun { opacity: 1; transform: scale(1) rotate(0); }
.theme-toggle .moon { opacity: 0; transform: scale(0.5) rotate(-90deg); }
[data-theme="dark"] .theme-toggle .sun { opacity: 0; transform: scale(0.5) rotate(90deg); }
[data-theme="dark"] .theme-toggle .moon { opacity: 1; transform: scale(1) rotate(0); }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.hero {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px 80px;
  position: relative;
    background: var(--hero-bg);
    overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 108, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 108, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  text-align: center;
  max-width: 800px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-light);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 32px;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 0;
  transition: var(--transition);
}
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: var(--gold); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--fg); border: 1px solid var(--fg); }
.btn-outline:hover { background: var(--fg); color: var(--bg); transform: translateY(-2px); }

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

section {
  padding: 120px 32px;
  position: relative;
  isolation: isolate;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--muted);
  font-weight: 300;
  max-width: 480px;
  font-size: 0.95rem;
}

.collection-header {
  text-align: center;
  margin-bottom: 64px;
}
.collection-header .section-sub { margin: 0 auto; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.08);
}
.product-card:hover::before { transform: scaleX(1); }
.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 20px;
  background: #f0eee9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--muted);
  transition: var(--transition);
}
.product-card:hover .product-image { transform: scale(1.03); }
.product-category {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 4px;
}
.product-price {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
}
.product-images-count {
  font-size: 0.7rem;
  color: var(--gold);
  margin-top: 4px;
  letter-spacing: 1px;
}

.about {
  background: var(--fg);
  color: var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}
.about-visual {
  aspect-ratio: 4 / 5;
  background: #2a2a28;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.about-visual:hover img {
  transform: scale(1.05);
}
.about-visual::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 169, 108, 0.2);
  pointer-events: none;
  z-index: 1;
}
.about .section-title { color: var(--bg); }
.about .section-sub {
  color: rgba(255, 255, 255, 0.55);
  max-width: 100%;
  margin-bottom: 32px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 40px auto 0;
}
.gallery-item {
  aspect-ratio: 1;
  background: #f0eee9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover { box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.06); }
.gallery-item:nth-child(2) { aspect-ratio: 1 / 1.4; }
.gallery-item:nth-child(4) { aspect-ratio: 1 / 1.4; }

.reviews-section {
  background: var(--contact-bg);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 32px;
  position: relative;
  transition: var(--transition);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.06);
}
.review-card::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: var(--gold-light);
  position: absolute;
  top: 8px;
  left: 20px;
  line-height: 1;
  opacity: 0.4;
}
.review-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 3px;
}
.review-comment {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}
.review-author {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--fg);
}
.review-date {
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 4px;
}

.contact {
  text-align: center;
  background: var(--review-bg);
}
.contact-inner {
  max-width: 560px;
  margin: 0 auto;
}
.contact-inner .section-sub { margin: 0 auto 40px; }

.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--fg);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: var(--transition);
  background: var(--card-bg);
}
.social-link svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.social-link:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px -8px rgba(201, 169, 108, 0.2);
}

.shipping-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid rgba(201, 169, 108, 0.3);
  background: rgba(201, 169, 108, 0.08);
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
}
.shipping-badge svg {
  flex-shrink: 0;
  opacity: 0.8;
}

.map-section {
  padding: 0;
}
.map-container {
  width: 100%;
  height: 400px;
  overflow: hidden;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.8) contrast(1.1);
}

footer {
  padding: 48px 32px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--muted);
}
footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}
footer a:hover { color: var(--gold); }
.footer-links { display: flex; gap: 24px; }

.product-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 20px;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: #25D366;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
.product-whatsapp:hover {
  background: #1da851;
  transform: translateY(-1px);
}

.divider {
  height: 50vh;
  min-height: 320px;
  background: #2a2a28;
  display: flex;
  align-items: center;
  justify-content: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  isolation: isolate;
}
.divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}
.divider-text {
  position: relative;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  color: #fff;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 2px;
  text-align: center;
  padding: 0 32px;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.85);
  padding: 32px;
  overflow-y: auto;
  backdrop-filter: blur(8px);
}
.modal-overlay.active { display: flex; align-items: center; justify-content: center; }
.modal-content {
  background: var(--bg);
  max-width: 1000px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 16px;
  font-size: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg);
  z-index: 10;
  line-height: 1;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.modal-close:hover { opacity: 1; }
.modal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.modal-carousel {
  position: relative;
  background: #f0eee9;
}
.carousel-main {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.carousel-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 40px;
  height: 40px;
  font-size: 1.8rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  opacity: 0;
  transition: opacity 0.3s, background 0.3s;
}
.carousel-main:hover .carousel-btn { opacity: 1; }
.carousel-btn:hover { background: #fff; }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px;
  overflow-x: auto;
}
.carousel-thumbs img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.5;
  transition: var(--transition);
  border: 2px solid transparent;
  flex-shrink: 0;
}
.carousel-thumbs img.active { opacity: 1; border-color: var(--gold); }
.carousel-thumbs img:hover { opacity: 0.8; }

.modal-info {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.modal-info .product-category { margin-bottom: 8px; }
.modal-info .product-name {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.modal-info .product-price {
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.modal-desc {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 24px;
}
.modal-whatsapp {
  text-align: center;
  background: #25D366 !important;
  color: #fff !important;
}
.modal-whatsapp:hover { background: #1da851 !important; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { aspect-ratio: 16 / 9; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(4) { aspect-ratio: 1; }
  .gallery-item:nth-child(3) { display: none; }
  .modal-layout { grid-template-columns: 1fr; }
  .modal-info { padding: 32px; }
}

@media (max-width: 700px) {
  section { padding: 80px 20px; }
  nav { padding: 0 20px; }
  .hero { padding: 100px 20px 60px; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 14px 24px; display: block; }
  .nav-toggle { display: flex; }
  .grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(3) { display: flex; }
  .reviews-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; }
  .hero-cta { flex-direction: column; align-items: center; }
  .social-links { flex-direction: column; align-items: center; }
  .social-link { width: 100%; justify-content: center; }
  .divider { background-attachment: scroll; }
  .modal-overlay { padding: 16px; }
  .modal-content { max-height: 95vh; }
  .modal-info { padding: 24px; }
  .carousel-thumbs img { width: 48px; height: 48px; }
}
