/* ================================================================
   FB Handmade — Ultra-Premium One Page Website
   Luxury Handmade Bags | Rose Gold & Ivory / Dark Graphite Theme
   ================================================================ */

/* ─────────────────────────────────────────────
   1. CSS CUSTOM PROPERTIES — Design Tokens
   ───────────────────────────────────────────── */
:root {
  /* Light Mode Palette */
  --bg: #FFFDF5;
  --text: #2C2C2C;
  --text-muted: #5A5A5A;
  --accent: #B76E79;
  --accent-light: #D4A5AC;
  --accent-dark: #8E4F58;
  --surface: #F5F0EB;
  --border: #E8E0D8;
  --header-bg: rgba(255, 253, 245, 0.85);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;

  /* Transitions */
  --transition: 0.4s ease-in-out;
  --transition-fast: 0.25s ease;

  /* Gradients */
  --gold-gradient: linear-gradient(135deg, #B76E79, #D4A5AC, #B76E79);
  --overlay-gradient: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.55));
}

[data-theme="dark"] {
  --bg: #121212;
  --text: #F0ECE6;
  --text-muted: #A8A29E;
  --surface: #1E1E1E;
  --border: #2A2A2A;
  --header-bg: rgba(18, 18, 18, 0.9);
}

/* ─────────────────────────────────────────────
   2. GLOBAL RESET & BASE
   ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  transition: background-color 0.6s ease, color 0.6s ease;
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--accent);
  color: #fff;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

/* ─────────────────────────────────────────────
   3. HEADER / NAVIGATION
   ───────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: height var(--transition), box-shadow var(--transition), background var(--transition);
  height: 80px;
}

.header.scrolled {
  height: 68px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.logo img {
  max-height: 48px;
  width: auto;
  transition: transform var(--transition);
}

.logo:hover img {
  transform: scale(1.05);
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.nav-link {
  font-family: var(--font-serif);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.72rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link:hover::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle Button */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  transform: rotate(15deg);
  background: var(--surface);
}

.theme-icon {
  width: 20px;
  height: 20px;
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-icon--sun {
  opacity: 1;
  transform: rotate(0deg);
}

.theme-icon--moon {
  opacity: 0;
  transform: rotate(-90deg);
}

[data-theme="dark"] .theme-icon--sun {
  opacity: 0;
  transform: rotate(90deg);
}

[data-theme="dark"] .theme-icon--moon {
  opacity: 1;
  transform: rotate(0deg);
}

/* Hamburger Toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  left: 0;
  transition: 0.3s ease-in-out;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }

.nav-open .nav-toggle span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}
.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  left: -30px;
}
.nav-open .nav-toggle span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

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

.hero-parallax {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background-image: url('assets/images/collection-vetrina.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-gradient);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 clamp(20px, 5vw, 100px);
  max-width: 900px;
}

.hero-label {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 8px;
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1.1;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 1.8rem;
  opacity: 0.85;
  line-height: 1.8;
}

.hero-actions {
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 48px;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 0;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(183, 110, 121, 0.35);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
  background: #fff;
  color: #121212;
  border-color: #fff;
  transform: translateY(-2px);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-text {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.6rem;
  font-weight: 400;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: scrollLineMove 2s ease-in-out infinite;
}

@keyframes scrollLineMove {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

/* ─────────────────────────────────────────────
   5. SHARED SECTION STYLES
   ───────────────────────────────────────────── */
.section {
  padding: clamp(80px, 12vh, 160px) 0;
}

.section-label {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: 0.7rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 16px;
}

.label-line {
  display: block;
  height: 1px;
  width: 40px;
  background: var(--accent);
  opacity: 0.5;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 2rem auto;
}

/* ─────────────────────────────────────────────
   6. CRAFTSMANSHIP SECTION
   ───────────────────────────────────────────── */
.section-craftsmanship {
  overflow: hidden;
}

.craft-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.craft-text .section-label {
  justify-content: flex-start;
}

.craft-paragraph {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.craft-stats {
  display: flex;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  color: var(--accent);
  line-height: 1;
  display: inline;
}

.stat-unit {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

.craft-image-frame {
  border: 1px solid var(--accent);
  padding: 8px;
  transition: transform var(--transition);
}

.craft-image-frame:hover {
  transform: scale(1.02);
}

.craft-image-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ─────────────────────────────────────────────
   7. CUSTOMIZATION SECTION
   ───────────────────────────────────────────── */
.section-customization {
  background: var(--surface);
}

.custom-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.custom-intro .section-label {
  justify-content: center;
}

.custom-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.custom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.custom-card {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  border-radius: 4px;
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition);
}

.custom-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .custom-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.custom-card-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.custom-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.custom-card:hover .custom-card-image img {
  transform: scale(1.08);
}

.custom-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 24px 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  color: #fff;
  z-index: 2;
}

.custom-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.custom-card-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   8. GALLERY SECTION — Masonry Layout
   ───────────────────────────────────────────── */
.gallery-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-intro .section-label {
  justify-content: center;
}

.gallery-masonry {
  column-count: 3;
  column-gap: 20px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

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

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.gallery-item-category {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.75;
}

/* ─────────────────────────────────────────────
   9. TESTIMONIALS SECTION
   ───────────────────────────────────────────── */
.section-testimonials {
  overflow: hidden;
}

.testimonial-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial-intro .section-label {
  justify-content: center;
}

.testimonial-carousel {
  position: relative;
}

.testimonial-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 30px;
  padding: 1rem 0 2rem;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 auto;
  width: clamp(300px, 40vw, 420px);
  scroll-snap-align: center;
  padding: clamp(30px, 4vw, 48px);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .testimonial-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-quote-icon {
  font-family: var(--font-serif);
  color: var(--accent);
  font-size: 4rem;
  opacity: 0.3;
  line-height: 0.8;
  margin-bottom: 1rem;
  user-select: none;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  border: none;
  margin: 0;
  padding: 0;
}

.testimonial-author {
  display: block;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 2rem;
  color: var(--accent);
  font-style: normal;
}

.testimonial-location {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--accent);
  transform: scale(1.2);
}

/* ─────────────────────────────────────────────
   10. FOOTER
   ───────────────────────────────────────────── */
.footer {
  background: var(--surface);
  padding-top: 80px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  padding-bottom: 60px;
}

.footer-logo {
  max-height: 60px;
  width: auto;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity var(--transition), color var(--transition);
}

.footer-social a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-social svg {
  width: 100%;
  height: 100%;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.footer-links ul li,
.footer-contact ul li {
  margin-bottom: 0.9rem;
}

.footer-links ul a,
.footer-contact ul a,
.footer-contact ul span {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links ul a:hover,
.footer-contact ul a:hover {
  color: var(--accent);
}

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.6;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--accent);
}

.footer-credit {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  opacity: 0.7;
}

.footer-credit a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition), opacity var(--transition);
}

.footer-credit a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ─────────────────────────────────────────────
   11. WHATSAPP FLOATING ACTION BUTTON
   ───────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.whatsapp-fab.visible {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-fab-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(183, 110, 121, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 2;
}

.whatsapp-fab-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(183, 110, 121, 0.6);
}

.whatsapp-icon {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--accent);
}

.whatsapp-fab:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Pulse ring */
.whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  z-index: 1;
  animation: fabPulse 2.5s ease-out infinite;
}

@keyframes fabPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(183, 110, 121, 0.5);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(183, 110, 121, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(183, 110, 121, 0);
  }
}

.whatsapp-fab:hover .whatsapp-pulse {
  animation: none;
}

/* ─────────────────────────────────────────────
   12. REVEAL ANIMATIONS
   ───────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.reveal.revealed {
  animation: fadeInUp 0.8s ease forwards;
}

.reveal-delay-1.revealed { animation-delay: 0.1s; }
.reveal-delay-2.revealed { animation-delay: 0.2s; }
.reveal-delay-3.revealed { animation-delay: 0.3s; }
.reveal-delay-4.revealed { animation-delay: 0.4s; }
.reveal-delay-5.revealed { animation-delay: 0.5s; }

/* ─────────────────────────────────────────────
   13. CUSTOM CURSOR
   ───────────────────────────────────────────── */
.cursor-dot {
  display: none;
}

@media (pointer: fine) {
  .cursor-dot {
    display: block;
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
    top: 0;
    left: 0;
    opacity: 0;
  }

  .cursor-dot.active {
    opacity: 1;
  }

  .cursor-dot.hovering {
    width: 40px;
    height: 40px;
    opacity: 0.2;
  }
}

/* ─────────────────────────────────────────────
   14. RESPONSIVE — Tablet
   ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .craft-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .craft-image {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }

  .craft-text .section-label {
    justify-content: center;
  }

  .craft-text {
    text-align: center;
  }

  .craft-stats {
    justify-content: center;
  }

  .stat {
    align-items: center;
  }

  .gallery-masonry {
    column-count: 2;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-tagline {
    margin: 0 auto 1.5rem;
  }

  .footer-social {
    justify-content: center;
  }
}

/* ─────────────────────────────────────────────
   15. RESPONSIVE — Mobile
   ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 999;
  }

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

  .nav-list {
    flex-direction: column;
    gap: 2.5rem;
  }

  .nav-link {
    font-size: 1.3rem;
    letter-spacing: 4px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }

  .btn {
    padding: 14px 36px;
    font-size: 0.72rem;
  }

  .custom-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .custom-card {
    aspect-ratio: 4 / 3;
  }

  .gallery-masonry {
    column-count: 2;
    column-gap: 12px;
  }

  .gallery-item {
    margin-bottom: 12px;
  }

  .testimonial-card {
    width: 85vw;
    min-width: unset;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-contact ul li {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

/* ─────────────────────────────────────────────
   16. RESPONSIVE — Small Mobile
   ───────────────────────────────────────────── */
@media (max-width: 480px) {
  .gallery-masonry {
    column-count: 1;
  }

  .craft-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .whatsapp-fab {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-fab-btn {
    width: 52px;
    height: 52px;
  }

  .whatsapp-icon {
    width: 24px;
    height: 24px;
  }

  .whatsapp-pulse {
    width: 52px;
    height: 52px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

/* ─────────────────────────────────────────────
   17. LIGHTBOX GALLERY
   ───────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.lightbox-content {
  position: relative;
  max-width: 85vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.4s ease;
}

.lightbox-overlay.active .lightbox-image {
  transform: scale(1);
  opacity: 1;
}

.lightbox-caption {
  margin-top: 1.5rem;
  text-align: center;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
}

.lightbox-overlay.active .lightbox-caption {
  opacity: 1;
  transform: translateY(0);
}

.lightbox-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 1px;
}

.lightbox-category {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0.6;
  margin-top: 0.4rem;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
  z-index: 3;
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  z-index: 3;
}

.lightbox-nav svg {
  width: 22px;
  height: 22px;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  z-index: 3;
}

/* Lightbox Responsive — Tablet */
@media (max-width: 1024px) {
  .lightbox-nav {
    width: 44px;
    height: 44px;
  }

  .lightbox-nav svg {
    width: 18px;
    height: 18px;
  }

  .lightbox-prev {
    left: 16px;
  }

  .lightbox-next {
    right: 16px;
  }
}

/* Lightbox Responsive — Mobile */
@media (max-width: 768px) {
  .lightbox-content {
    max-width: 95vw;
    max-height: 80vh;
  }

  .lightbox-image {
    max-height: 65vh;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    top: auto;
    bottom: 70px;
    transform: none;
  }

  .lightbox-nav:hover {
    transform: scale(1.08);
  }

  .lightbox-prev {
    left: auto;
    right: calc(50% + 30px);
  }

  .lightbox-next {
    right: auto;
    left: calc(50% + 30px);
  }

  .lightbox-close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

  .lightbox-close svg {
    width: 18px;
    height: 18px;
  }

  .lightbox-name {
    font-size: 1.1rem;
  }

  .lightbox-counter {
    bottom: 30px;
  }
}

/* ─────────────────────────────────────────────
   14. POLICY MODALS
   ───────────────────────────────────────────── */
.policy-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  padding: 20px;
}

.policy-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.policy-modal {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  transform: translateY(30px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.policy-modal-overlay.active .policy-modal {
  transform: translateY(0) scale(1);
}

.policy-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 2;
}

.policy-modal-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.policy-modal-close svg {
  width: 18px;
  height: 18px;
}

.policy-modal-content {
  padding: 48px 40px 40px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.policy-modal-content::-webkit-scrollbar {
  width: 6px;
}

.policy-modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.policy-modal-content::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.policy-modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.policy-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.policy-updated {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  letter-spacing: 0.03em;
}

.policy-modal-content h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--text);
}

.policy-modal-content p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.policy-modal-content ul {
  margin: 8px 0 16px 20px;
  list-style: none;
}

.policy-modal-content ul li {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}

.policy-modal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.policy-modal-content a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.policy-modal-content a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.policy-modal-content code {
  background: var(--surface);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
  border: 1px solid var(--border);
}

/* Cookie Table */
.cookie-table-wrapper {
  overflow-x: auto;
  margin: 12px 0 20px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.cookie-table th,
.cookie-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.cookie-table thead th {
  background: var(--surface);
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--text);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cookie-table tbody td {
  color: var(--text-muted);
  line-height: 1.6;
}

.cookie-table tbody tr:last-child td {
  border-bottom: none;
}

/* ─────────────────────────────────────────────
   15. COOKIE CONSENT BANNER
   ───────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-text {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
}

.cookie-banner-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.cookie-banner-text p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.cookie-banner-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
  color: var(--accent-dark);
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 24px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.cookie-btn-accept {
  background: var(--accent);
  color: #fff;
}

.cookie-btn-accept:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(183, 110, 121, 0.35);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.cookie-btn-decline:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

/* Policy Modals — Responsive */
@media (max-width: 768px) {
  .policy-modal {
    max-height: 90vh;
    border-radius: 12px 12px 0 0;
    margin-top: auto;
  }

  .policy-modal-content {
    padding: 40px 24px 32px;
  }

  .policy-title {
    font-size: 1.5rem;
  }

  .cookie-banner-content {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  .cookie-banner-text {
    gap: 10px;
  }

  .cookie-banner-icon {
    display: none;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
  }

  .cookie-table th,
  .cookie-table td {
    padding: 10px 12px;
    font-size: 0.76rem;
  }
}
