/* ============================================================
   Home Furniture and Jewelry Store — Landing Page
   Paleta: negro profundo, dorado, marfil.
   ============================================================ */

:root {
  --black: #0d0d0f;
  --black-soft: #16161a;
  --black-card: #1d1d23;
  --gold: #c9a24b;
  --gold-light: #e4c87e;
  --gold-dark: #a5813a;
  --ivory: #f7f3ec;
  --ivory-dark: #efe8dc;
  --text-dark: #2a2a2e;
  --text-muted: #6f6f76;
  --text-light: #d8d4cc;
  --wa-green: #25d366;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Jost", "Segoe UI", sans-serif;
  --shadow: 0 10px 34px rgba(0, 0, 0, 0.12);
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--text-dark);
  line-height: 1.65;
  font-weight: 300;
}

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(201, 162, 75, 0.35);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}
.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-sm { padding: 0.55rem 1.4rem; font-size: 0.82rem; }

/* ---------- Header ---------- */
#site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
#site-header.scrolled {
  background: rgba(13, 13, 15, 0.94);
  backdrop-filter: blur(10px);
  padding: 0.65rem 0;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  text-decoration: none;
  line-height: 1.15;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 48px;
  width: auto;
  transition: height 0.35s ease;
}
#site-header.scrolled .brand-logo { height: 38px; }

.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-main {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-light);
}

#nav-menu {
  display: flex;
  gap: 2rem;
}
#nav-menu a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
#nav-menu a:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}

.header-actions { display: flex; align-items: center; gap: 1.2rem; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.4);
}
.lang-switch button {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  padding: 0.2rem 0.15rem;
  transition: color 0.25s;
}
.lang-switch button:hover { color: #fff; }
.lang-switch button.active {
  color: var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
}
.lang-sep { font-size: 0.8rem; }

#nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 2px;
}
#nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}
#nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle.open span:nth-child(2) { opacity: 0; }
#nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(13, 13, 15, 0.35) 0%, rgba(13, 13, 15, 0.72) 100%),
    linear-gradient(180deg, rgba(13, 13, 15, 0.45) 0%, rgba(13, 13, 15, 0.25) 45%, rgba(13, 13, 15, 0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 7rem 0 4rem;
}

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.4rem;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.4vw, 4rem);
  font-weight: 600;
  line-height: 1.18;
  max-width: 860px;
  margin: 0 auto 1.3rem;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.55);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2.6rem;
}

.hero-cta { display: flex; gap: 1.1rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  transform: translateX(-50%);
}
.hero-scroll::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  background: var(--gold-light);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollHint 1.8s infinite;
}
@keyframes scrollHint {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 8px; }
}

/* ---------- Secciones ---------- */
.section { padding: 5.5rem 0; }

.section-dark {
  background: var(--black);
  color: var(--text-light);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 600;
  text-align: center;
  color: inherit;
}
.section-dark .section-title { color: #fff; }

.gold-divider {
  width: 70px;
  height: 2px;
  margin: 1.1rem auto 1.4rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}
.gold-divider::after {
  content: "◆";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  font-size: 0.55rem;
  color: var(--gold);
  background: inherit;
}

.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section-dark .section-subtitle { color: rgba(216, 212, 204, 0.75); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
  align-items: start;
}

.about-text p {
  margin-bottom: 1.3rem;
  font-size: 1.06rem;
  color: var(--text-dark);
}

.about-photo {
  margin: 1.8rem 0 0;
}
.about-photo img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: 50% 32%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-why {
  background: var(--black);
  color: var(--text-light);
  padding: 2.2rem 2rem;
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
}
.about-why h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 1.2rem;
}
.about-why ul { list-style: none; }
.about-why li {
  padding: 0.5rem 0 0.5rem 1.9rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.about-why li:last-child { border-bottom: none; }
.about-why li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

/* ---------- Servicios (ledger de taller + banda de muebles) ---------- */
.svc-group {
  max-width: 1020px;
  margin: 0 auto;
}
.svc-group + .svc-group { margin-top: 3.4rem; }

.svc-group-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.4rem;
}
.svc-group-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 162, 75, 0.45), transparent);
}

.svc-ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.svc-entry {
  display: flex;
  gap: 1.2rem;
  padding: 1.7rem 2rem 1.7rem 0;
  border-bottom: 1px solid rgba(201, 162, 75, 0.14);
}
.svc-entry:nth-child(odd) { border-right: 1px solid rgba(201, 162, 75, 0.14); }
.svc-entry:nth-child(even) { padding-left: 2rem; padding-right: 0; }
.svc-entry:nth-last-child(-n + 2) { border-bottom: none; }

.svc-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
  transition: color 0.3s ease;
}
.svc-icon svg { display: block; }

.svc-entry h4,
.svc-feature h4 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.45rem;
}
.svc-entry h4::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background: var(--gold);
  margin-top: 0.4rem;
  transition: width 0.45s ease;
}
.svc-entry:hover h4::after { width: 44px; }
.svc-entry:hover .svc-icon,
.svc-feature:hover .svc-icon { color: var(--gold-light); }

.svc-entry p,
.svc-feature p { font-size: 0.95rem; color: rgba(216, 212, 204, 0.78); }

.svc-feature {
  display: flex;
  gap: 1.6rem;
  padding: 2.1rem 2.2rem;
  background:
    linear-gradient(135deg, rgba(201, 162, 75, 0.08), rgba(201, 162, 75, 0) 55%),
    var(--black-card);
  border: 1px solid rgba(201, 162, 75, 0.25);
  border-radius: var(--radius);
}

.svc-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.7rem;
  margin-top: 1.05rem;
  padding: 0;
}
.svc-chips li {
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  position: relative;
  padding-left: 1.05rem;
}
.svc-chips li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.5rem;
  color: var(--gold);
}

/* ---------- Catálogo ---------- */
.catalog-label {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 3.2rem 0 1.6rem;
}
.catalog-label::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(201, 162, 75, 0.8), rgba(201, 162, 75, 0.1));
}
#furniture-sections .catalog-label:first-child { margin-top: 0; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
}

.product-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0f0f11;
}
.product-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s ease, transform 0.6s ease;
}
.product-card:hover .img-main { transform: scale(1.05); }
.img-hover { opacity: 0; }
.product-img.has-hover:hover .img-hover { opacity: 1; }
.product-img.has-hover:hover .img-main { opacity: 0; }

/* En muebles las fotos son composiciones sobre fondo blanco */
.products-grid-light .product-img { background: #fff; }
.products-grid-light .product-img img { object-fit: contain; }

.product-body {
  padding: 1.4rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-id {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--gold-dark);
  font-weight: 500;
}

.product-body h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0.35rem 0 0.55rem;
  color: var(--black);
}

.product-desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.product-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.9rem;
  font-size: 0.88rem;
  margin-bottom: 1.1rem;
}
.meta-label {
  color: var(--gold-dark);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.74rem;
  align-self: center;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border-top: 1px solid var(--ivory-dark);
  padding-top: 1rem;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
}

.btn-inquire {
  padding: 0.5rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-dark);
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: all 0.25s;
  white-space: nowrap;
}
.btn-inquire:hover {
  background: var(--gold);
  color: var(--black);
}

/* ---------- Banner de cotización ---------- */
.section-banner {
  background:
    linear-gradient(rgba(13, 13, 15, 0.82), rgba(13, 13, 15, 0.82)),
    url("../video/hero-poster.jpg") center/cover fixed;
  text-align: center;
  padding: 4.5rem 0;
  color: #fff;
}
.section-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  margin-bottom: 0.9rem;
}
.section-banner p {
  max-width: 620px;
  margin: 0 auto 1.8rem;
  color: var(--text-light);
}

/* ---------- Footer / Contacto ---------- */
footer {
  background: #08080a;
  color: rgba(216, 212, 204, 0.75);
  padding: 4rem 0 1.8rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 2.5rem;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}

.footer-qr img {
  width: 150px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.footer-qr-caption {
  font-size: 0.82rem;
  color: rgba(216, 212, 204, 0.7);
  max-width: 170px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.footer-logo {
  height: 130px;
  width: auto;
  opacity: 0.95;
}

.footer-thanks {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-light);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  padding-top: 0.6rem;
}
.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-phone {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.25s;
}
.contact-phone:hover { color: var(--gold-light); }

.social-links { display: flex; gap: 1.5rem; }
.social-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  transition: color 0.25s, transform 0.25s;
}
.social-links a:hover { color: var(--gold-light); transform: translateY(-3px); }

.footer-bottom {
  max-width: 980px;
  margin: 3rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(201, 162, 75, 0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: rgba(216, 212, 204, 0.55);
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease;
}
.wa-float:hover { transform: scale(1.1); }

/* ---------- Animaciones reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  #nav-toggle { display: flex; }

  #nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100svh;
    width: min(320px, 80vw);
    background: rgba(13, 13, 15, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.2rem;
    transition: right 0.35s ease;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.5);
  }
  #nav-menu.open { right: 0; }
  #nav-menu a { font-size: 1.05rem; }

  .section { padding: 4rem 0; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; }

  /* Ledger de servicios en una columna */
  .svc-ledger { grid-template-columns: 1fr; }
  .svc-entry,
  .svc-entry:nth-child(odd),
  .svc-entry:nth-child(even) {
    padding: 1.4rem 0;
    border-right: none;
  }
  .svc-entry:nth-last-child(-n + 2) { border-bottom: 1px solid rgba(201, 162, 75, 0.14); }
  .svc-entry:nth-last-child(1) { border-bottom: none; }
  .svc-feature { flex-direction: column; gap: 1rem; }

  /* Footer en una columna centrada */
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; text-align: center; }
  .footer-brand, .footer-col { align-items: center; }
  .footer-logo { height: 110px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.4rem; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .section-banner { background-attachment: scroll; }
}
