:root {
  --bg-deep: #2a1409;
  --bg-mid: #4b2612;
  --bg-top: #6a3a22;
  --linen: #f5efe6;
  --parchment: #efe7dc;
  --ink: #1c140f;
  --muted: #4a3a2f;
  --ghost: #b9aa9a;
  --caramel: #a0522d;
  --amber: #c8864a;
  --line: rgba(42, 20, 9, 0.12);
  --line-strong: rgba(42, 20, 9, 0.22);
  --card: #fffaf3;
  --shadow: 0 18px 40px rgba(42, 20, 9, 0.1);
  --radius: 16px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--linen);
  min-height: 100vh;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--caramel); text-decoration: none; }
a:hover { color: var(--bg-mid); }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.muted { color: var(--muted); }
.muted-light { color: rgba(255, 244, 235, 0.45); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 239, 230, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header--over-hero {
  position: absolute;
  inset: 0 0 auto;
  background: linear-gradient(180deg, rgba(20, 10, 6, 0.55), transparent);
  border-bottom: 0;
  backdrop-filter: none;
}
.site-header--over-hero .brand,
.site-header--over-hero .nav a {
  color: #fff8f1;
}
.site-header--over-hero .nav a { color: rgba(255, 244, 235, 0.82); }
.site-header--over-hero .nav a:hover { color: #fff; }
.page-home .site-header--over-hero { position: absolute; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
}
.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nav { display: flex; flex-wrap: wrap; gap: 0.85rem 1.15rem; }
.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--ink); }

.hero-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff8f1;
  background:
    radial-gradient(ellipse 60% 50% at 78% 30%, rgba(200, 134, 74, 0.28), transparent 55%),
    linear-gradient(135deg, var(--bg-deep), var(--bg-mid) 48%, var(--bg-top));
}
.hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 248, 241, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

/* Hero fotográfico fusionado (estilo Orquesala) */
.hero-photo {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff8f1;
  background: var(--bg-deep);
}
.hero-photo--page {
  min-height: 0;
  place-items: end stretch;
  padding-top: 5.5rem;
}
.hero-photo-media,
.cta-photo-media {
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.04);
  z-index: -2;
  filter: brightness(1.18) contrast(1.06) saturate(1.08);
}
.cta-photo-media {
  background-image: var(--cta-img);
  background-position: center;
  filter: brightness(1.08) contrast(1.04) saturate(1.05);
}
.hero-photo-veil,
.cta-photo-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 58% at 50% 40%, rgba(20, 10, 6, 0.08), rgba(20, 10, 6, 0.42) 72%),
    linear-gradient(180deg, rgba(20, 10, 6, 0.22), rgba(20, 10, 6, 0.28) 45%, rgba(20, 10, 6, 0.62));
  pointer-events: none;
}
.hero-photo--page .hero-photo-veil {
  background:
    linear-gradient(90deg, rgba(20, 10, 6, 0.55), rgba(20, 10, 6, 0.22) 55%, rgba(20, 10, 6, 0.4)),
    linear-gradient(180deg, rgba(20, 10, 6, 0.35), rgba(20, 10, 6, 0.12) 40%, rgba(20, 10, 6, 0.5));
}
.hero-photo-content {
  width: min(720px, calc(100% - 2.5rem));
  text-align: center;
  padding: 6rem 0 4.5rem;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}
.hero-photo-content--left {
  width: min(1120px, calc(100% - 2rem));
  text-align: left;
  margin-inline: auto;
  padding: 2.2rem 0 2.6rem;
  display: grid;
  gap: 0.75rem;
  max-width: 46rem;
  margin-left: max(1rem, calc((100% - 1120px) / 2));
}
.hero-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 244, 235, 0.72);
  font-weight: 600;
}
.hero-brand {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(4.2rem, 13vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.hero-tagline {
  margin: 1.1rem auto 0;
  max-width: 28rem;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: rgba(255, 244, 235, 0.88);
  font-weight: 500;
}
.hero-actions { justify-content: center; margin-top: 1.75rem; }

.atmosphere-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff8f1;
  background: var(--bg-deep);
}
.atmosphere-fuse {
  position: absolute;
  inset: 0;
  background-image: var(--fuse-img);
  background-size: cover;
  background-position: center;
  opacity: 0.42;
  mix-blend-mode: lighten;
  pointer-events: none;
  z-index: -1;
}
.atmosphere-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 20, 9, 0.55), rgba(42, 20, 9, 0.82));
  z-index: -1;
  pointer-events: none;
}
.atmosphere-inner { position: relative; }
.atmosphere-inner h2 {
  color: #fff8f1;
  max-width: 16ch;
}
.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
}
.feature.glass {
  background: rgba(255, 250, 243, 0.1);
  border: 1px solid rgba(255, 237, 223, 0.16);
  backdrop-filter: blur(10px);
  box-shadow: none;
}
.feature.glass h3 { color: #fff8f1; }
.feature.glass p { color: rgba(255, 244, 235, 0.78); }
.on-dark { margin-top: 1.8rem; }

.stats-inline {
  margin: 0 0 2.2rem;
}

.cta-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 72vh;
  display: grid;
  align-items: end;
  color: #fff8f1;
  background: var(--bg-deep);
}
.cta-photo-content {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  max-width: 34rem;
}
.cta-photo-content h2 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.cta-photo-content p {
  margin: 0 0 1.4rem;
  color: rgba(255, 244, 235, 0.82);
  max-width: 28rem;
}

.hero {
  padding: 4.5rem 0 4rem;
  display: grid;
  gap: 1.1rem;
  max-width: 40rem;
}
.page-hero {
  padding: 3.2rem 0 2.6rem;
  max-width: 46rem;
}
.page-hero h1,
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.hero p,
.page-hero p {
  margin: 0;
  color: rgba(255, 244, 235, 0.86);
  font-size: 1.08rem;
  max-width: 34rem;
}
.page-hero p { margin-top: 0.85rem; }
.hero-badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}
.breadcrumb {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.78); }
.breadcrumb a:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.3rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, #5f2d12, #b96a2f);
  color: #fffaf3;
  box-shadow: 0 10px 24px rgba(95, 45, 18, 0.28);
}
.btn:hover { filter: brightness(1.06); color: #fffaf3; }
.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: none;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.16); color: #fff; filter: none; }
.btn-light {
  background: #fffaf3;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn-light:hover { background: var(--parchment); color: var(--ink); filter: none; }
.btn-sm { padding: 0.42rem 0.85rem; font-size: 0.9rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }

.section { padding: 3.2rem 0; }
.section h2 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
}
.section-lead { color: var(--muted); margin: 0 0 1.6rem; max-width: 40rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow);
}
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.9rem;
  color: var(--caramel);
  letter-spacing: -0.03em;
}
.stat span { color: var(--muted); font-size: 0.95rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.feature {
  background: linear-gradient(180deg, #fffaf3, var(--parchment));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.feature h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
}
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.band-soft {
  background: linear-gradient(180deg, var(--parchment), var(--linen));
  border-block: 1px solid var(--line);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.1rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
  color: inherit;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(42, 20, 9, 0.14);
  color: inherit;
}
.card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: var(--parchment);
}
.card-body { padding: 0.95rem 1rem 1.15rem; }
.card-body h3 {
  margin: 0 0 0.25rem;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}
.card-meta { color: var(--muted); font-size: 0.9rem; }

.prose { max-width: 44rem; }
.prose p { color: var(--muted); }

.catalog-shell {
  margin-top: -1.6rem;
  position: relative;
  z-index: 2;
  padding-bottom: 3.5rem;
}
.catalog-toolbar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1.05rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
}
.catalog-toolbar-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-bottom: 0.75rem;
}
.catalog-count { color: var(--muted); font-size: 0.92rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}
.chip.active,
.chip:hover {
  background: linear-gradient(135deg, #5f2d12, #b96a2f);
  border-color: transparent;
  color: #fff;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.15rem;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(42, 20, 9, 0.14);
  color: inherit;
}
.product-card-media {
  position: relative;
  background: var(--parchment);
}
.product-card-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.product-card-badge {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(42, 20, 9, 0.72);
  color: #fff8f1;
  font-size: 0.75rem;
  font-weight: 600;
}
.product-card-body { padding: 0.95rem 1rem 1.15rem; }
.product-card-body h3 {
  margin: 0 0 0.3rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 600;
}
.product-card-cta {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--caramel);
}

.product-shell { padding-bottom: 3.5rem; margin-top: -1.4rem; position: relative; z-index: 2; }
.product-stage {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}
.gallery-main-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--parchment);
}
.gallery-main {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}
.gallery-thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  line-height: 0;
}
.gallery-thumbs button.is-active,
.gallery-thumbs button:hover { border-color: var(--amber); }
.gallery-thumbs img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  display: block;
}
.gallery-hint {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.product-meta { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.85rem; }
.meta-pill {
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--parchment);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.product-info h2 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 600;
}
.product-summary {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.product-desc { color: var(--muted); }

.product-nav-bar {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--bg-deep), var(--bg-mid));
  color: #fff8f1;
}
.nav-side { display: flex; }
.nav-side-end { justify-content: flex-end; }

.empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  background: var(--card);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.empty-state h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.6rem;
}

.site-footer {
  background: var(--bg-deep);
  color: rgba(255, 244, 235, 0.72);
  padding: 1.8rem 0;
  margin-top: auto;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  font-size: 0.95rem;
}
.footer-inner strong {
  color: #fff8f1;
  font-family: var(--display);
  font-size: 1.15rem;
}

@media (max-width: 800px) {
  .stats,
  .feature-grid,
  .product-layout { grid-template-columns: 1fr; }
  .stats { margin-top: 1.2rem; }
  .product-nav-bar {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .nav-side,
  .nav-side-end { justify-content: center; }
}
