/* ================================================
   HARI JOYERÍA — Hoja de estilos principal
   ================================================ */

/* ---------- Variables & Reset ---------- */
:root {
  /* ── Paleta oficial HARI Joyería ── */
  --black:    #010101;          /* Black Beauty  */
  --dark:     #010101;
  --charcoal: #1a1a1a;
  --accent:   #B83734;          /* Aurora Red    */
  --accent-light: #cc4f4c;
  --accent-pale:  #f2d5d5;
  --white:    #F8FAF3;          /* Snow White    */
  --off-white: #F8FAF3;
  --gray-light: #e0e0e0;
  --gray-mid:  #B0B0B0;         /* Harbor Mist   */
  --text-dark: #010101;
  --text-mid:  #4a4a4a;
  --font-serif:  'Bodoni Moda', 'Georgia', serif;
  --font-script: 'Luxurious Script', cursive;
  --font-sans:   'Nunito Sans', 'Helvetica Neue', sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-accent: 0 4px 24px rgba(184,55,52,0.25);

  /* Alias de compatibilidad → todo lo que era "gold" ahora es Aurora Red */
  --gold:      var(--accent);
  --gold-light: var(--accent-light);
  --gold-pale:  var(--accent-pale);
  --shadow-gold: var(--shadow-accent);
}

*, *::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(--white);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* Textura sutil estilo papel premium */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Tipografía ---------- */
.serif  { font-family: var(--font-serif); }
.script { font-family: var(--font-script); }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 300; line-height: 1.15; }

/* Títulos hero con mezcla script + serif (estilo brand book) */
.title-script {
  font-family: var(--font-script);
  font-weight: 400;
  font-style: normal;
  line-height: 1;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

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

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

.section-subtitle {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-mid);
  font-weight: 300;
  max-width: 600px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border-radius: 0;
}

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--dark);
}
.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-hero-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.7);
  font-size: 0.68rem;
  padding: 0.75rem 1.8rem;
}
.btn-hero-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}

/* ---------- Línea decorativa ---------- */
.divider {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 1.5rem 0;
}
.divider-center { margin: 1.5rem auto; }

/* ---------- Diagonal roja — motivo de marca ---------- */
/* Se puede añadir a cualquier sección con la clase .has-diagonal */
.section-diagonal {
  position: relative;
  overflow: hidden;
}
.section-diagonal::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 88%,
    var(--accent) 88%,
    var(--accent) 92%,
    transparent 92%
  );
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- NAVEGACIÓN ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 4vw;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 3rem;
  background: rgba(248,250,243,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.navbar.scrolled {
  background: rgba(1,1,1,0.97);
  padding: 1rem 4vw;
  box-shadow: 0 2px 30px rgba(0,0,0,0.4);
  border-bottom-color: transparent;
  backdrop-filter: blur(10px);
}
.nav-toggle {
  grid-column: 3;
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
  /* Logo blanco → invertir a negro sobre fondo claro */
  filter: invert(1);
  transition: filter 0.4s ease, height var(--transition);
}
/* Al hacer scroll el fondo es negro → logo vuelve a blanco */
.navbar.scrolled .nav-logo-img {
  height: 32px;
  filter: invert(0);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: space-around;
  text-align: center;
  gap: 0;
  padding: 0 1rem;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  transition: color 0.3s ease;
  position: relative;
  text-align: center;
  max-width: 7rem;
  line-height: 1.4;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Links en navbar cuando está scrolled (fondo negro) */
.navbar.scrolled .nav-links a {
  color: rgba(255,255,255,0.8);
}
.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--accent);
}

.nav-whatsapp {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  transition: var(--transition);
}
.nav-whatsapp:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--dark);
  transition: var(--transition);
}
/* Hamburger blanco cuando navbar está scrolled (fondo negro) */
.navbar.scrolled .nav-toggle span {
  background: var(--white);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-mobile {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--accent);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2rem 1rem;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
}
.nav-mobile-brandmark {
  height: 44px;
  width: auto;
  object-fit: contain;
  opacity: 0.6;
  margin-bottom: 1.5rem;
}

.nav-mobile a {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.06em;
  padding: 0.7rem 0;
  transition: color 0.3s ease;
  text-align: center;
}
.nav-mobile a:hover { color: var(--gold); }

/* ---------- HERO ---------- */
#hero {
  display: grid;
  grid-template-columns: 42% 58%;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
}

/* Panel izquierdo rojo */
.hero-left {
  background: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 3rem;
  opacity: 0;
  animation: fadeIn 1s 0.2s forwards;
}

.hero-brandmark {
  width: min(220px, 55%);
  height: auto;
  object-fit: contain;
  filter: brightness(10);
  opacity: 0.92;
}

.hero-left-tagline {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-align: center;
}

.hero-left-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  max-width: 200px;
  margin-top: 1rem;
}

.btn-hero-ghost {
  display: block;
  text-align: center;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(255,255,255,0.45);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s;
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
}

/* Panel derecho crema */
.hero-right {
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 6vw 5rem 5vw;
  position: relative;
  opacity: 0;
  animation: fadeIn 1s 0.5s forwards;
}

.hero-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  display: block;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  font-weight: 300;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 0;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
  display: block;
}

.hero-divider {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 2rem 0;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.9;
  margin-bottom: 2.5rem;
}

.btn-hero-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  align-self: flex-start;
  transition: opacity 0.3s;
}
.btn-hero-wa:hover { opacity: 0.85; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 5vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  color: var(--gray-mid);
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}
.hero-scroll svg { opacity: 0.4; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ---------- INTRO BRAND ---------- */
#intro {
  padding: 3rem 4vw 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.intro-visual {
  position: relative;
  max-width: 40%;
}
.intro-img-frame {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--gray-light);
}
.intro-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.intro-img-frame:hover img { transform: scale(1.04); }
.intro-img-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 55%;
  aspect-ratio: 1/1;
  border: 1px solid var(--gold);
  z-index: -1;
}

.intro-text { padding-top: 1rem; }
.intro-text .section-subtitle { max-width: 100%; font-size: 0.88rem; }
.intro-text .section-title { font-size: clamp(1.6rem, 3vw, 2.6rem); }
.intro-text .stat-num { font-size: 2rem; }
.intro-text .stat-label { font-size: 0.62rem; }
.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-light);
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-top: 0.4rem;
}

/* ---------- PIEZAS DESTACADAS ---------- */
#piezas {
  background: var(--off-white);
  padding: 1.5rem 4vw 3rem;
}
.piezas-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.piezas-header .section-label {
  display: block;
  margin-bottom: 0.8rem;
  margin-top: 0.6rem;
}
.piezas-header .section-title {
  margin-bottom: 0.4rem;
}

.piezas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 800px;
  margin: 0 auto;
}

.pieza-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-light);
}
.pieza-card:first-child {
  grid-column: 1 / -1;
}
.pieza-img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.pieza-card:hover .pieza-img { transform: scale(1.06); }

.pieza-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}
.pieza-card:hover .pieza-overlay { opacity: 1; }

.pieza-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.3rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.4rem;
}
.pieza-mat {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.pieza-btn {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.3s;
}
.pieza-btn:hover { color: var(--gold); }

/* Placeholders de imagen con fondo elegante */
.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8e5df;  /* tono ligeramente más oscuro que Snow White */
  position: relative;
  overflow: hidden;
}
.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(184,55,52,0.06) 0%, transparent 70%);
}
.img-placeholder-icon {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: rgba(184,55,52,0.25);
  z-index: 1;
}

/* Brandmark en placeholder de intro — imita el look del brand book */
.intro-brandmark-placeholder {
  width: 55%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(27%) sepia(60%) saturate(800%) hue-rotate(330deg) brightness(85%);
  opacity: 0.5;
  z-index: 1;
}

/* ---------- PERSONALIZACIÓN BANNER ---------- */
#personalizacion-banner {
  background: var(--accent);
  padding: 3rem 4vw 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.banner-text .section-title { color: var(--white); }
.banner-text .section-subtitle { color: rgba(255,255,255,0.65); }

.banner-visual {
  position: relative;
  height: 500px;
  background: var(--charcoal);
  overflow: hidden;
}
.banner-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.banner-visual-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #111 0%, #1e0e0e 100%);
}

/* ---------- COLECCIÓN ---------- */
#coleccion {
  padding: 3rem 4vw 8rem;
  background: var(--white);
}

.coleccion-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.coleccion-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-light);
  flex-wrap: nowrap;
  overflow-x: auto;
}
.tab-btn {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-mid);
  padding: 1rem 1rem;
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.3s, border-color 0.3s;
}
.tab-btn.active,
.tab-btn:hover {
  color: var(--dark);
  border-bottom-color: var(--gold);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.coleccion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.col-card {
  background: var(--off-white);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.col-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.col-card-img {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--gray-light);
  position: relative;
}
.col-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.col-card:hover .col-card-img img { transform: scale(1.05); }

.col-card-body {
  padding: 0.9rem;
}
.col-card-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 0.2rem;
}
.col-card-mat {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.col-card-body .btn {
  width: 100%;
  justify-content: center;
  font-size: 0.65rem;
  padding: 0.7rem 1rem;
}

/* ---------- PIEDRAS PRECIOSAS ---------- */
#piedras {
  background: var(--accent);
  padding: 3rem 4vw 5rem;
  position: relative;
  overflow: hidden;
}
#piedras::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(0,0,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.piedras-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.piedras-header .section-title { color: var(--white); }
.piedras-header .section-subtitle { color: rgba(255,255,255,0.6); }

.piedras-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: 1300px;
  margin: 0 auto 5rem;
}

.piedra-card {
  position: relative;
  padding: 3rem 2rem;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  text-align: center;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
  overflow: hidden;
}
.piedra-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(184,55,52,0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.piedra-card:hover { background: var(--white); border-color: var(--accent); box-shadow: 0 4px 20px rgba(184,55,52,0.12); }
.piedra-card:hover::before { opacity: 1; }

.piedra-gem {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.piedra-gem svg { width: 100%; height: 100%; }

.piedra-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.piedra-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 1rem;
}
.piedra-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--black);
}

.diamante-banner {
  max-width: 1300px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  padding: 3rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  text-align: center;
}
.diamante-banner .section-title { color: var(--black); font-size: 2rem; }
.diamante-banner .section-subtitle { color: var(--black); margin-top: 1rem; }
.diamante-features {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.diamante-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--black);
  font-size: 0.9rem;
  line-height: 1.6;
}
.diamante-feature-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

/* ---------- HECHURA ESPECIAL ---------- */
#hechura {
  padding: 4rem 4vw 1.5rem;
  background: var(--off-white);
}
.hechura-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hechura-visual {
  position: relative;
}
.hechura-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--gray-light);
}
.hechura-quote {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--accent);
  padding: 2rem;
  max-width: 260px;
}
.hechura-quote p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.hechura-quote cite {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.proceso-steps {
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.paso {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-light);
}
.paso-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  width: 2rem;
}
.paso-title {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}
.paso-desc {
  font-size: 0.75rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ---------- EQUIPO ---------- */
#equipo {
  background: var(--white);
  padding: 4rem 4vw 8rem;
}
.equipo-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 5rem;
}
.equipo-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 4vw 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.equipo-grid::-webkit-scrollbar { height: 4px; }
.equipo-grid::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }
.equipo-grid::-webkit-scrollbar-track { background: var(--gray-light); }

.miembro-card {
  text-align: center;
  flex: 0 0 210px;
  scroll-snap-align: start;
}
.miembro-img-wrap {
  position: relative;
  width: 185px;
  height: 185px;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  overflow: hidden;
  background: #ececec;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.miembro-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}
.miembro-card:hover .miembro-img-wrap {
  transform: scale(1.07);
  box-shadow: 0 0 0 3px var(--accent);
}

.miembro-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 0.15rem;
}
.miembro-rol {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Labels y divisores en fondos rojos */
#sobre .section-label,
#piedras .section-label,
#personalizacion-banner .section-label {
  color: rgba(255,255,255,0.75);
}
#sobre .divider,
#piedras .divider,
#personalizacion-banner .divider {
  background: rgba(255,255,255,0.45);
}

/* ---------- SOBRE HARI ---------- */
#sobre {
  background: var(--accent);
  padding: 3rem 4vw 3rem;
  position: relative;
  overflow: hidden;
}
.sobre-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
}
.sobre-text .section-title { color: var(--white); }
.sobre-text .section-subtitle { color: rgba(255,255,255,0.6); text-align: center; max-width: 100%; }

.valores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.valor-item {
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.25);
  transition: border-color 0.3s;
}
.valor-item:hover { border-color: rgba(255,255,255,0.7); }
.valor-icon {
  color: var(--white);
  margin-bottom: 0.8rem;
}
.valor-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.valor-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.sobre-visual {
  position: relative;
  z-index: 1;
}
.sobre-img-main {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--charcoal);
  display: block;
}
.sobre-bloque-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-align: center;
  margin-bottom: 0.6rem;
  display: block;
}

.sobre-img-bg-line {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.25);
  z-index: -1;
}

/* ---------- TESTIMONIOS ---------- */
#testimonios {
  background: var(--white);
  padding: 3rem 4vw 4rem;
}
.testimonios-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.testimonios-grid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.testimonios-grid::-webkit-scrollbar { height: 4px; }
.testimonios-grid::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }
.testimonios-grid::-webkit-scrollbar-track { background: var(--gray-light); }
.testimonio-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--off-white);
  border: 1px solid rgba(0,0,0,0.07);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.testimonio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.09);
  border-color: var(--accent);
}
.testimonio-stars {
  color: #e8a838;
  font-size: 1rem;
  letter-spacing: 2px;
  text-align: center;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.testimonio-card:hover .testimonio-stars {
  transform: scale(1.2);
  filter: drop-shadow(0 0 6px rgba(232,168,56,0.8));
}
.testimonio-texto {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-mid);
  flex: 1;
}
.testimonio-autor {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--dark);
}
.testimonio-fuente {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- VISÍTANOS ---------- */
#visitanos {
  padding: 3rem 4vw;
  background: var(--white);
}
.visitanos-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}
.visitanos-map {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--gray-light);
  overflow: hidden;
  position: relative;
}
.visitanos-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.visitanos-info {
  padding-top: 0;
}
.info-block {
  margin-bottom: 1.5rem;
}
.info-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: block;
}
.info-value {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--dark);
  line-height: 1.6;
}
.horario-rows {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.horario-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-mid);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--gray-light);
}
.horario-row:last-child { border-bottom: none; }

/* ---------- CONTACTO ---------- */
#contacto {
  background: var(--off-white);
  padding: 8rem 4vw;
}
.contacto-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 7rem;
  align-items: start;
}
.contacto-info .section-title { margin-bottom: 1.5rem; }
.contacto-info .section-subtitle { margin-bottom: 2rem; }

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-mid);
  transition: color 0.3s;
}
.contact-link:hover { color: var(--gold); }
.contact-link-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.3s, background 0.3s;
  color: var(--gold);
}
.contact-link:hover .contact-link-icon {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}

.contact-form {
  background: var(--white);
  padding: 3.5rem;
  box-shadow: var(--shadow);
}
.form-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 2rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 0.5rem;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--gold);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.form-submit { width: 100%; justify-content: center; margin-top: 0.5rem; }
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 4rem 4vw 2rem;
}
.footer-top {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 3rem;
}
.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 1.2rem;
  filter: invert(0);
}
.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.8rem;
}
.footer-divider {
  max-width: 1300px;
  margin: 0 auto 3rem;
  height: 1px;
  background: rgba(255,255,255,0.1);
}
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-socials {
  display: flex;
  gap: 0.8rem;
}
.social-icon {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.social-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent); }

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-contact-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.footer-contact-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: var(--accent); }

/* ---------- WhatsApp Flotante ---------- */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
}
.wa-bubble {
  background: var(--white);
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.7rem 1.2rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s, transform 0.4s;
  pointer-events: none;
  white-space: nowrap;
}
.wa-float:hover .wa-bubble {
  opacity: 1;
  transform: translateX(0);
}
.wa-btn {
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}
.wa-pulse {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(37,211,102,0.3);
  animation: waPulse 2s infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .piedras-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  /* Navegación */
  .nav-links    { display: none; }
  .nav-whatsapp { display: none; }
  .nav-toggle   { display: flex; }

  /* Hero apilado */
  #hero { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; min-height: auto; }
  .hero-left  { padding: 6rem 2rem 3rem; gap: 1.4rem; min-height: auto; }
  .hero-right { padding: 3rem 6vw 4rem; min-height: auto; }
  .hero-left-actions { flex-direction: column; max-width: 220px; align-items: stretch; }
  .hero-brandmark { width: min(160px, 45%); }
  .hero-title { font-size: clamp(2.2rem, 6vw, 3.5rem); }
  .hero-subtitle br { display: none; }
  .hero-scroll { display: none; }

  /* Secciones — paddings reducidos */
  #coleccion            { padding: 2.5rem 4vw 3rem; }
  #piezas               { padding: 1.5rem 4vw 2.5rem; }
  #hechura              { padding: 3rem 4vw 2rem; }
  #intro                { padding: 3rem 4vw; grid-template-columns: 1fr; gap: 2.5rem; }
  #sobre                { padding: 2.5rem 4vw; }
  #equipo               { padding: 3rem 4vw 3rem; }
  #visitanos            { padding: 2.5rem 4vw; }
  #testimonios          { padding: 2.5rem 4vw 3rem; }
  #contacto             { padding: 3rem 4vw; }
  #piedras              { padding: 2.5rem 4vw 3rem; }
  #personalizacion-banner { padding: 3rem 4vw; grid-template-columns: 1fr; gap: 2rem; }

  /* Intro — imagen a ancho completo en columna única */
  .intro-visual    { max-width: 100%; }
  .intro-img-frame { max-height: 380px; }
  .intro-img-accent { display: none; }

  /* Layouts */
  .hechura-inner   { grid-template-columns: 1fr; gap: 3rem; }
  .hechura-quote   { position: relative; bottom: auto; right: auto; max-width: 100%; }
  .sobre-inner     { grid-template-columns: 1fr; gap: 2rem; }
  .visitanos-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contacto-inner  { grid-template-columns: 1fr; gap: 2.5rem; }
  .piezas-grid     { grid-template-columns: 1fr 1fr; }
  .piezas-grid .pieza-card:first-child { grid-column: 1 / -1; }
  .diamante-banner { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
  .banner-visual   { height: 280px; }
  .valores         { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  /* Grids a columna única */
  .piezas-grid  { grid-template-columns: 1fr; }
  .piedras-grid { grid-template-columns: 1fr; }
  .valores      { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .intro-stats  { grid-template-columns: 1fr 1fr; }

  /* Hero pequeño */
  .hero-left  { padding: 2.5rem 1.5rem; gap: 1.2rem; min-height: auto; }
  .hero-right { padding: 2.5rem 5vw 3rem; }
  .hero-title { font-size: clamp(2rem, 7vw, 3rem); }
  .hero-left-actions { max-width: 180px; }

  /* Banner */
  .banner-visual { height: 200px; }

  /* Tabs catálogo */
  .coleccion-tabs { gap: 0; }
  .tab-btn { padding: 0.8rem 0.7rem; font-size: 0.56rem; }

  /* Equipo — tarjetas un poco más pequeñas */
  .miembro-card    { flex: 0 0 160px; }
  .miembro-img-wrap { width: 150px; height: 150px; }
  .equipo-grid     { gap: 1rem; }

  /* Formulario */
  .contact-form { padding: 2rem 1.5rem; }

  /* Footer */
  .footer-bottom  { flex-direction: column; align-items: center; text-align: center; gap: 0.4rem; }
  .footer-socials { justify-content: center; }
  footer          { padding: 3rem 4vw 1.5rem; }

  /* WhatsApp flotante más pequeño en móvil */
  .wa-btn { width: 50px; height: 50px; }
  .wa-pulse { width: 50px; height: 50px; }
  .wa-float { bottom: 1.2rem; right: 1.2rem; }
}

/* ---------- Click sparkles ---------- */
@keyframes sparkle-fly {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.4); }
}

/* ---------- Botones redes sociales ---------- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 110px);
  gap: 0.8rem;
  margin: 0 auto;
}
.social-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 110px;
  height: 110px;
  border: 1px solid var(--gray-light);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--black);
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s, color 0.3s, transform 0.25s;
}
.social-btn svg { color: var(--accent); transition: transform 0.3s, color 0.3s; }
.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}
.social-btn:hover svg { color: #fff; transform: rotate(8deg) scale(1.15); }
