:root {
  --brown-950: #634031;
  --brown-900: #634031;
  --brown-800: #634031;
  --brown-700: #634031;
  --brown-600: #634031;
  --muted: rgba(99, 64, 49, 0.72);
  --cream: #e5dcd7;
  --cream-2: #e5dcd7;
  --paper: #e5dcd7;
  --white: #ffffff;
  --line: rgba(99, 64, 49, 0.14);
  --header-h: clamp(70px, 5.8vw, 84px);
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Jost', 'Segoe UI', Arial, sans-serif;
  --font-hand: 'Caveat', 'Segoe Script', cursive;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--brown-600);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

::selection {
  background: #634031;
  color: #e5dcd7;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.container {
  width: min(1200px, 90%);
  margin-inline: auto;
}

.container-wide {
  width: min(1400px, 94%);
  margin-inline: auto;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex: none;
  vertical-align: -0.14em;
}

.skip-link {
  position: absolute;
  top: -70px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--white);
  color: var(--brown-700);
  font-size: 13px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #e5dcd7;
}

.logo-mark {
  display: block;
  flex: none;
  width: clamp(42px, 3.6vw, 52px);
  height: clamp(42px, 3.6vw, 52px);
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(30px, 2.6vw, 38px);
}

.brand-tag {
  margin-top: 3px;
  font-size: clamp(6px, 0.45vw, 7px);
  font-weight: 400;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  opacity: 0.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn .icon {
  width: 16px;
  height: 16px;
}

.btn-solid {
  background: var(--brown-700);
  color: #e5dcd7;
  box-shadow: 0 10px 22px rgba(99, 64, 49, 0.16);
}

.btn-solid:hover {
  background: #634031;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(99, 64, 49, 0.2);
}

.btn-outline {
  border-color: rgba(229, 220, 215, 0.5);
  background: transparent;
  color: #e5dcd7;
}

.btn-outline:hover {
  background: rgba(229, 220, 215, 0.12);
  border-color: rgba(229, 220, 215, 0.85);
}

.icon-arrow {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(92deg, #634031 0%, #634031 55%, #634031 100%);
  color: #e5dcd7;
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(99, 64, 49, 0.22);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: var(--header-h);
  padding-left: 24px;
  justify-content: space-between;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 33px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  position: relative;
  padding: 6px 0;
  color: rgba(229, 220, 215, 0.88);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover {
  color: #ffffff;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-nav a.is-active {
  color: #ffffff;
}

.main-nav a.is-active::after {
  transform: scaleX(1);
}

.btn-header {
  margin-left: 4px;
  padding: 13px 26px;
  font-size: 13.5px;
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(229, 220, 215, 0.35);
  border-radius: 50%;
  background: transparent;
  color: #e5dcd7;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(500px, 44vw, 640px);
  padding: clamp(48px, 4.9vw, 70px) 0 clamp(56px, 6vw, 86px);
  overflow: hidden;
  border-radius: 0 0 32px 32px;
  background: linear-gradient(180deg, #e5dcd7 0%, #e5dcd7 100%);
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 63%;
  z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #e5dcd7 0%, rgba(229, 220, 215, 0.86) 16%, rgba(229, 220, 215, 0.35) 42%, rgba(229, 220, 215, 0) 68%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-left: 24px;
}

.hero-copy {
  max-width: 540px;
  text-align: center;
}

.brand-hero {
  gap: 16px;
  color: var(--brown-800);
}

.brand-hero .logo-mark {
  width: clamp(64px, 6.8vw, 98px);
  height: clamp(64px, 6.8vw, 98px);
}

.brand-hero .brand-logo {
  height: clamp(46px, 4.6vw, 66px);
}

.brand-hero .brand-tag {
  margin-top: 6px;
  font-size: clamp(9px, 0.76vw, 11px);
  letter-spacing: 0.28em;
  opacity: 0.9;
}

.hero-title {
  margin-top: 26px;
  color: #634031;
  font-family: var(--font-serif);
  font-size: clamp(36px, 3.6vw, 50px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero-text {
  max-width: 440px;
  margin: 20px auto 0;
  color: rgba(99, 64, 49, 0.78);
  font-size: clamp(14.5px, 1.08vw, 16px);
  font-weight: 300;
  line-height: 1.75;
  text-align: center;
}

.hero-copy .btn {
  margin-top: 28px;
}

.features {
  padding: clamp(16px, 1.7vw, 24px) 0;
  background: var(--cream);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 4px 24px;
  border-left: 1px solid rgba(99, 64, 49, 0.18);
  text-align: center;
}

.feature:first-child {
  border-left: 0;
}

.feature .icon {
  width: clamp(24px, 1.95vw, 28px);
  height: clamp(24px, 1.95vw, 28px);
  color: var(--brown-700);
}

.feature p {
  color: #634031;
  font-family: var(--font-serif);
  font-size: clamp(14px, 1.05vw, 15.5px);
  line-height: 1.45;
}

.about {
  position: relative;
  padding: clamp(58px, 6.4vw, 92px) 0 clamp(54px, 6.1vw, 88px);
  overflow: hidden;
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: center;
}

.about-media {
  position: relative;
  width: 100%;
  max-width: 450px;
  justify-self: center;
}

.doodle {
  display: block;
  color: #634031;
}

.about-doodle {
  position: absolute;
  top: -34px;
  left: -38px;
  width: 62px;
  height: 58px;
  transform: rotate(-14deg);
}

.about-photo {
  padding: 12px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 26px 55px rgba(99, 64, 49, 0.15);
  transform: rotate(-3deg);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.about-copy {
  max-width: 470px;
  text-align: center;
}

.eyebrow {
  color: #634031;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.23em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-title {
  margin-top: 12px;
  color: #634031;
  font-family: var(--font-serif);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-text {
  max-width: 700px;
  margin: 20px auto 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  text-align: center;
}

.about-copy .btn {
  margin-top: 30px;
}

.about-swoosh {
  position: absolute;
  top: 50%;
  right: 30px;
  width: 120px;
  height: 94px;
  color: #634031;
  opacity: 0.9;
  pointer-events: none;
}

.story {
  position: relative;
  padding: clamp(56px, 6vw, 88px) 0;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.story-copy {
  text-align: center;
}

.story-copy .section-text + .section-text {
  margin-top: 16px;
}

/* ---------- centrado historia del home (solo esta sección) ---------- */
.story-grid .eyebrow,
.story-grid .section-title {
  text-align: center;
}

.story-grid .eyebrow {
  display: inline-block;
  margin: 0 auto 8px;
}

.story-grid .section-title {
  display: inline-block;
  margin: 0 auto 16px;
}

.story-frame {
  padding: 10px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 26px 55px rgba(99, 64, 49, 0.15);
  transform: rotate(1.2deg);
}

.story-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: #634031;
}

.products {
  padding: 64px 0 96px;
  background: #e5dcd7;
  text-align: center;
  position: relative;
}

.products::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(99, 64, 49, 0.3) 50%, transparent 100%);
}

.products .section-title {
  margin-top: 8px;
  font-size: clamp(28px, 2.7vw, 38px);
  color: #634031;
  font-weight: 600;
}

/* ---------- productos hero (título + líneas integrado) ---------- */
.products-hero {
  max-width: 900px;
  margin: 0 auto 56px;
  position: relative;
  z-index: 2;
}

.products-hero-text {
  max-width: 620px;
  margin: 0 auto 34px;
  text-align: center;
}

.products-hero-sub {
  color: rgba(99, 64, 49, 0.65);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.lineas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.btn-linea {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 32px 26px;
  border-radius: 20px;
  border: 1px solid rgba(99, 64, 49, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f7f4f1 100%);
  color: #634031;
  text-decoration: none;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn-linea::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99, 64, 49, 0.03) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-linea:hover {
  border-color: rgba(99, 64, 49, 0.3);
  background: linear-gradient(180deg, #f7f4f1 0%, #f2ebe2 100%);
  color: rgba(99, 64, 49, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(99, 64, 49, 0.1);
}

.btn-linea:hover::before {
  opacity: 1;
}

.linea-icon {
  width: 32px;
  height: 32px;
  flex: none;
  color: #634031;
}

.linea-info {
  flex: 1;
}

.linea-titulo {
  display: block;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.linea-desc {
  font-size: 13px;
  color: rgba(99, 64, 49, 0.55);
  line-height: 1.6;
}

/* ---------- productos destacados ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 48px;
  text-align: left;
}

/* ---------- botón ver todos productos ---------- */
.products-ver-todos {
  margin-top: 44px;
  text-align: center;
}

.products-ver-todos .btn-solid {
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 16px 44px;
  background: linear-gradient(135deg, var(--brown-700), #634031);
  box-shadow: 0 14px 30px rgba(99, 64, 49, 0.22);
}

.products-ver-todos .btn-solid:hover {
  background: linear-gradient(135deg, #634031, #4a3227);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(99, 64, 49, 0.3);
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(99, 64, 49, 0.1);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.product-card:hover {
  border-color: rgba(99, 64, 49, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(99, 64, 49, 0.08);
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.15;
  background: #f5efe9;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.03);
}

/* Badge de momento dentro de la tarjeta */
.momento-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: #634031;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(99, 64, 49, 0.15);
}

.product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 24px;
  gap: 10px;
}

.product-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #634031;
  line-height: 1.4;
}

.product-desc {
  margin: 0;
  color: rgba(99, 64, 49, 0.6);
  font-size: 13.5px;
  line-height: 1.6;
}

.product-precio {
  margin-top: auto;
  font-size: 16px;
  font-weight: 700;
  color: #634031;
  display: block;
}

.btn-ver-detalle {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  border-radius: 12px;
}

/* ---------- responsive productos ---------- */
@media (max-width: 980px) {
  .lineas-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .products {
    padding: 44px 0 64px;
  }

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

  .btn-linea {
    padding: 24px 22px;
    gap: 18px;
  }

  .linea-icon {
    font-size: 32px;
  }
}
.faq {
  position: relative;
  padding: clamp(56px, 6vw, 88px) 0 clamp(64px, 6.5vw, 96px);
}

.faq-head {
  text-align: center;
}

.faq-head .section-text {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 34px auto 0;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(99, 64, 49, 0.28);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 34px rgba(99, 64, 49, 0.1);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  color: #634031;
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  content: "";
}

.faq-item summary::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background:
    linear-gradient(#634031, #634031) center / 11px 1.7px no-repeat,
    linear-gradient(#634031, #634031) center / 1.7px 11px no-repeat,
    rgba(99, 64, 49, 0.09);
  transition: background 0.25s ease, transform 0.25s ease;
}

.faq-item[open] summary::after {
  background:
    linear-gradient(#634031, #634031) center / 11px 1.7px no-repeat,
    rgba(99, 64, 49, 0.16);
  transform: rotate(180deg);
}

.faq-item summary:hover {
  color: rgba(99, 64, 49, 0.82);
}

.faq-answer {
  padding: 0 62px 20px 22px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.78;
}

.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #634031 0%, #634031 100%);
  color: #e5dcd7;
}

.cta-media {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 44%;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 58%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 58%, transparent 100%);
}

.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.82);
}

.cta-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(99, 64, 49, 0.2) 0%, rgba(99, 64, 49, 0.55) 62%, #634031 100%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: flex-end;
  width: min(1100px, calc(100% - 48px));
  margin-inline: auto;
  padding-top: 56px;
  padding-bottom: 56px;
}

.cta-copy {
  max-width: 520px;
  text-align: left;
  flex-shrink: 0;
}

.eyebrow-light {
  color: rgba(229, 220, 215, 0.72);
}

.cta-title {
  margin-top: 12px;
  color: #e5dcd7;
  font-family: var(--font-serif);
  font-size: clamp(30px, 2.8vw, 38px);
  font-weight: 500;
  line-height: 1.18;
}

.cta-text {
  max-width: 390px;
  margin-top: 14px;
  color: rgba(229, 220, 215, 0.76);
  font-size: 13.5px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.cta-actions .cta-heart {
  width: 30px;
  height: 28px;
  color: rgba(229, 220, 215, 0.7);
  flex-shrink: 0;
}

.cta-actions .btn-whatsapp {
  background: #e5dcd7;
  color: #634031;
  padding: 16px 28px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 12px 28px rgba(99, 64, 49, 0.2);
  width: fit-content;
}

.cta-actions .btn-whatsapp:hover {
  background: #d9cbc1;
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(99, 64, 49, 0.28);
  color: #452a1c;
}

.cta-actions .btn-whatsapp .icon {
  width: 20px;
  height: 20px;
  color: #634031;
}

.productos-destacados {
  margin-top: 10px;
}

.section-subtitle {
  margin: 10px 0 26px;
  color: #634031;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
}

/* ============================================
   FILTROS Y MOMENTOS (productos.php)
   ============================================ */

.filtros-lineas {
  display: flex;
  gap: 14px;
  margin: 24px auto 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.filtro {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(99, 64, 49, 0.2);
  background: var(--white);
  color: #634031;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.filtro:hover {
  border-color: #634031;
  background: #e5dcd7;
}

.filtro.activo {
  background: #634031;
  color: #e5dcd7;
  border-color: #634031;
}

.linea-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 30px;
  padding: 16px 24px;
  max-width: fit-content;
  border-radius: 16px;
  background: rgba(99, 64, 49, 0.06);
  border: 1px solid rgba(99, 64, 49, 0.12);
  font-size: 16px;
  font-weight: 600;
  color: #634031;
}

.linea-badge .linea-icon {
  font-size: 24px;
}

.momentos-grid {
  display: grid;
  gap: 40px;
}

.momento-block {
  animation: momentoFade 0.7s ease;
  margin-bottom: 10px;
}

.momento-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
}

.momento-letra {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #634031;
  color: #e5dcd7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(99, 64, 49, 0.18);
}

.momento-titulo {
  margin: 0;
  color: #634031;
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

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

.productos-centrados {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.productos-centrados .product-card {
  max-width: 300px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.productos-centrados .product-media {
  margin: 0 auto 14px;
}

.productos-centrados .product-title,
.productos-centrados .product-desc,
.productos-centrados .product-precio {
  text-align: center;
}

.productos-centrados .btn-ver-detalle {
  margin-left: auto;
  margin-right: auto;
}

@keyframes momentoFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- silueta superior del footer ---------- */
.footer-silhouette {
  background: transparent; /* se adapta al fondo de cada página */
  line-height: 0;
  overflow: hidden;
  width: 100%;
}

/* Override: silueta con fondo sólido solo en la página de detalle de producto */
.page-producto-detalle .footer-silhouette {
  background-color: #faf7f3;
}

.footer-silhouette picture {
  display: block;
}

.footer-silhouette img {
  display: block;
  width: 100%;
  height: auto;
  /*aspect-ratio: 1671 / 243; /* preserva proporciones: nunca se deforma */
  object-fit: fill;
  margin-inline: auto;
}

/* pantallas muy anchas: la silueta no se estira más allá de su diseño */
@media (min-width: 2400px) {
  .footer-silhouette img {
  }
}

/* ============================================
   CONTACTO
   ============================================ */

.contacto-ubicacion {
  position: relative;
  padding: clamp(56px, 6vw, 96px) 0 clamp(64px, 6.5vw, 110px);
  background: var(--paper);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.ubicacion-datos {
  max-width: 520px;
}

.ubicacion-datos .section-text + .datos-lista {
  margin-top: 22px;
}

.datos-lista {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.datos-lista li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.datos-lista strong {
  color: #634031;
  min-width: 95px;
  flex-shrink: 0;
}

.datos-lista a {
  color: #634031;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(99, 64, 49, 0.35);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.datos-lista a:hover {
  color: rgba(99, 64, 49, 0.8);
  text-decoration-color: #634031;
}

.ubicacion-mapa {
  margin-top: 26px;
  border-radius: 20px;
  overflow: hidden;
  background: #e5dcd7;
  box-shadow: 0 20px 40px rgba(99, 64, 49, 0.12);
  border: 1px solid rgba(99, 64, 49, 0.1);
}

.ubicacion-mapa iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

.mapa-nota {
  margin-top: 10px;
  color: rgba(99, 64, 49, 0.55);
  font-size: 12.5px;
  line-height: 1.5;
}

/* ---------- formulario ---------- */
.formulario-contacto {
  max-width: 560px;
}

.alerta {
  padding: 16px 20px;
  border-radius: 14px;
  margin-bottom: 22px;
  font-size: 14.5px;
  line-height: 1.6;
}

.alerta.exito {
  background: rgba(99, 64, 49, 0.08);
  color: #634031;
  border: 1px solid rgba(99, 64, 49, 0.18);
}

.alerta.error {
  background: rgba(99, 64, 49, 0.06);
  color: #634031;
  border: 1px solid rgba(99, 64, 49, 0.14);
}

.alerta.error ul {
  margin: 0;
  padding-left: 18px;
}

.campo {
  margin-bottom: 18px;
}

.campo label {
  display: block;
  margin-bottom: 7px;
  color: #634031;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.campo input,
.campo textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(99, 64, 49, 0.18);
  border-radius: 12px;
  background: var(--white);
  color: var(--brown-600);
  font: inherit;
  font-size: 14.5px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.campo input:focus,
.campo textarea:focus {
  outline: none;
  border-color: #634031;
  box-shadow: 0 0 0 4px rgba(99, 64, 49, 0.1);
}

.campo textarea {
  resize: vertical;
  min-height: 110px;
}

.btn-enviar {
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
}

/* ---------- contacto rápido ---------- */
.contacto-rapido {
  padding: 46px 0 60px;
  border-top: 1px solid rgba(99, 64, 49, 0.12);
  background: var(--paper);
}

.rapido-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.rapido-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 12px;
  border-radius: 14px;
  background: var(--white);
  color: #634031;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(99, 64, 49, 0.12);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rapido-item .icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.rapido-item span {
  flex: none;
}

.rapido-item:hover {
  border-color: #634031;
  background: #e5dcd7;
  color: rgba(99, 64, 49, 0.85);
  transform: translateY(-2px);
}

.rapido-item.btn-outline {
  background: #634031;
  color: #e5dcd7;
  border-color: #634031;
}

.rapido-item.btn-outline:hover {
  background: rgba(99, 64, 49, 0.85);
  color: #ffffff;
}

/* ---------- footer ---------- */
.site-footer {
  padding: 14px 0 26px;
  background: var(--brown-900);
  color: #e5dcd7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr 1.1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(229, 220, 215, 0.18);
}

.footer-brand {
  max-width: 360px;
}

.brand-footer {
  color: #e5dcd7;
}

.brand-footer .logo-mark {
  width: 50px;
  height: 50px;
}

.brand-footer .brand-logo {
  height: 32px;
}

.brand-footer .brand-tag {
  font-size: 7.5px;
  opacity: 0.75;
}

.footer-brand-desc {
  margin-top: 16px;
  color: rgba(229, 220, 215, 0.68);
  font-size: 13.5px;
  line-height: 1.7;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-col-title {
  margin: 0 0 7px;
  color: #e5dcd7;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-col > a:not(.footer-contact-item) {
  color: rgba(229, 220, 215, 0.72);
  font-size: 14px;
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-col > a:not(.footer-contact-item):hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(229, 220, 215, 0.72);
  font-size: 14px;
  transition: color 0.22s ease;
}

.footer-contact-item:hover {
  color: #ffffff;
}

.footer-contact-item .icon {
  width: 15px;
  height: 15px;
  flex: none;
  opacity: 0.85;
  transition: opacity 0.22s ease;
}

.footer-contact-item:hover .icon {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
}

.copyright {
  margin: 0;
  color: rgba(229, 220, 215, 0.55);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(229, 220, 215, 0.72);
  font-size: 12px;
  transition: color 0.25s ease;
}

.footer-credit:hover {
  color: #ffffff;
}

.footer-credit-brand {
  font-weight: 700;
  color: #e5dcd7;
  animation: pulseBrand 2s ease-in-out infinite;
}

@keyframes pulseBrand {
  0%,
  100% {
    opacity: 1;
    text-shadow: 0 0 0 transparent;
  }

  50% {
    opacity: 0.72;
    text-shadow: 0 0 9px rgba(229, 220, 215, 0.55);
  }
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .about-grid {
    gap: 56px;
  }

  .about-swoosh {
    right: 10px;
    width: 96px;
    height: 82px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 70px;
  }

  .header-inner {
    gap: 20px;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 24px 22px;
    border-top: 1px solid rgba(229, 220, 215, 0.12);
    background: #634031;
    box-shadow: 0 20px 34px rgba(99, 64, 49, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav a {
    padding: 12px 0;
    color: #e5dcd7;
    font-size: 15px;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 12px 18px;
    border: 1px solid rgba(229, 220, 215, 0.45);
    border-radius: 999px;
    font-size: 14px;
  }

  .main-nav .nav-cta .icon {
    width: 15px;
    height: 15px;
  }

  .btn-header {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-media {
    width: 66%;
  }

  .hero-copy {
    max-width: 480px;
  }
}

@media (max-width: 860px) {
  .hero {
    padding: 58px 0 66px;
  }

  .header-inner,
  .hero-inner {
    padding-left: 0;
  }

  .hero-media {
    width: 100%;
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(229, 220, 215, 0.98) 0%, rgba(229, 220, 215, 0.93) 42%, rgba(229, 220, 215, 0.66) 100%);
  }

  .hero-copy {
    max-width: 520px;
  }

  .features .container {
    width: min(1200px, calc(100% - 40px));
  }

  .feature {
    padding: 8px 18px;
  }

  .feature:nth-child(odd) {
    border-left: 0;
  }

  .feature:nth-child(n + 3) {
    margin-top: 14px;
    padding-top: 26px;
    border-top: 1px solid rgba(99, 64, 49, 0.18);
  }

  .about {
    padding: 74px 0 70px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    justify-items: center;
  }

  .about-copy {
    max-width: 560px;
    justify-self: center;
  }

  .about-doodle {
    left: -18px;
  }

  .about-swoosh {
    display: none;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-media {
    width: 100%;
    max-width: 640px;
    justify-self: center;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .cta-media {
    width: 100%;
    opacity: 0.32;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .cta-media::after {
    background: linear-gradient(90deg, rgba(99, 64, 49, 0.92) 0%, rgba(99, 64, 49, 0.8) 45%, rgba(99, 64, 49, 0.6) 100%);
  }

  .cta-copy {
    max-width: 100%;
    text-align: center;
  }

  .cta-actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
  }

  .cta-heart {
    width: 34px;
    height: 32px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 540px;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .header-inner {
    gap: 12px;
  }

  .brand {
    gap: 10px;
  }

  .logo-mark {
    width: 40px;
    height: 40px;
  }

  .brand-logo {
    height: 24px;
  }

  .brand-tag {
    font-size: 6.5px;
    letter-spacing: 0.16em;
  }

  .hero {
    min-height: 520px;
    padding: 46px 0 54px;
    border-radius: 0 0 22px 22px;
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(229, 220, 215, 0.99) 0%, rgba(229, 220, 215, 0.95) 55%, rgba(229, 220, 215, 0.8) 100%);
  }

  .brand-hero {
    gap: 11px;
  }

  .brand-hero .logo-mark {
    width: 58px;
    height: 58px;
  }

  .brand-hero .brand-logo {
    height: 42px;
  }

  .brand-hero .brand-tag {
    font-size: 7.5px;
    letter-spacing: 0.22em;
  }

  .hero-title {
    margin-top: 24px;
    font-size: 36px;
  }

  .hero-text {
    margin-top: 16px;
    font-size: 14.5px;
    line-height: 1.7;
  }

  .hero-copy .btn {
    margin-top: 24px;
    padding: 13px 18px;
    font-size: 12.5px;
  }

  .features {
    padding: 26px 0;
  }

  .features .container {
    width: calc(100% - 32px);
  }

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

  .feature {
    padding: 20px 0;
    border-left: 0;
    border-top: 1px solid rgba(99, 64, 49, 0.18);
  }

  .feature:first-child {
    border-top: 0;
    padding-top: 8px;
  }

  .feature:nth-child(n + 3) {
    margin-top: 0;
    padding-top: 20px;
  }

  .about {
    padding: 58px 0 56px;
  }

  .about-grid {
    gap: 48px;
  }

  .about-photo {
    padding: 9px;
    border-radius: 14px;
  }

  .about-doodle {
    top: -26px;
    left: -14px;
    width: 50px;
    height: 47px;
  }

  .eyebrow {
    font-size: 10.5px;
  }

  .section-title {
    font-size: 30px;
  }

  .section-text {
    font-size: 14.5px;
  }

  .about-copy .btn {
    margin-top: 26px;
    padding: 13px 20px;
    font-size: 12.5px;
  }

  .story {
    padding: 48px 0 52px;
  }

  .story-frame {
    padding: 8px;
    border-radius: 16px;
    transform: none;
  }

  .faq {
    padding: 48px 0 56px;
  }

  .faq-list {
    margin-top: 26px;
  }

  .faq-item summary {
    gap: 14px;
    padding: 15px 16px;
    font-size: 15px;
  }

  .faq-item summary::after {
    width: 24px;
    height: 24px;
  }

  .faq-answer {
    padding: 0 16px 17px;
    font-size: 14px;
  }

  .products {
    padding: 52px 0 58px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 28px;
  }

  .product-desc {
    min-height: 0;
  }

  .cta-inner {
    width: calc(100% - 32px);
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .cta-title {
    font-size: 28px;
  }

  .cta-text {
    font-size: 13px;
  }

  .cta-actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }

  .site-footer {
    padding: 10px 0 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-bottom: 26px;
  }

  .footer-brand {
    max-width: none;
  }

  .brand-footer .logo-mark {
    width: 44px;
    height: 44px;
  }

  .brand-footer .brand-logo {
    height: 26px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-top: 18px;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 32px;
  }

  .brand-hero .brand-logo {
    height: 38px;
  }

  .hero-copy .btn {
    font-size: 12px;
  }
}

/* ---------- contacto responsive ---------- */
@media (max-width: 980px) {
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ubicacion-datos {
    max-width: none;
  }

  .ubicacion-mapa iframe {
    height: 260px;
  }

  .formulario-contacto {
    max-width: none;
  }

  .rapido-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }
}

@media (max-width: 640px) {
  .contacto-ubicacion {
    padding: 44px 0 52px;
  }

  .contacto-rapido {
    padding: 36px 0 44px;
  }

  .rapido-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .rapido-item {
    padding: 12px 10px;
    font-size: 13.5px;
  }

  .datos-lista strong {
    min-width: 70px;
  }

  .ubicacion-mapa iframe {
    height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   PRODUCTO DETALLE — PREMIUM
   ============================================ */

:root {
  --detalle-bg: #f5f1ec;
  --detalle-card: #ffffff;
  --detalle-border: rgba(99, 64, 49, 0.12);
  --detalle-text: #634031;
  --detalle-muted: rgba(99, 64, 49, 0.55);
  --detalle-accent: #634031;
  --detalle-shadow: 0 20px 60px rgba(99, 64, 49, 0.10);
}

.breadcrumb {
  padding: 24px 0;
  background: var(--detalle-card);
  border-bottom: 1px solid var(--detalle-border);
}

.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.breadcrumb-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 20px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item a {
  color: var(--detalle-muted);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--detalle-accent);
}

.breadcrumb-sep {
  color: rgba(99, 64, 49, 0.25);
  font-size: 12px;
}

.breadcrumb-item--current {
  color: var(--detalle-text);
  font-size: 12px;
  font-weight: 600;
}

.btn-volver-detalle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--detalle-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border: 1px solid var(--detalle-border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
  white-space: nowrap;
}

.btn-volver-detalle:hover {
  background: var(--detalle-accent);
  color: #ffffff;
  border-color: var(--detalle-accent);
  transform: translateX(-3px);
}

.btn-volver-icon {
  font-size: 14px;
}

.producto-detalle {
  padding: 60px 0 90px;
  background: var(--detalle-bg);
}

.detalle-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Galería — columna izquierda */
.detalle-galeria {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: fit-content;
}

/* Fila: miniaturas (izquierda) + imagen grande (derecha) */
.galeria-fila {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

/* Miniaturas verticales al lado de la imagen grande */
.detalle-miniaturas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  padding-top: 4px;
}

.miniatura {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #f3ede6;
  transition: all 0.25s ease;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.miniatura:hover {
  border-color: var(--detalle-accent);
  transform: translateY(-2px);
}

.miniatura.activa {
  border-color: var(--detalle-accent);
  box-shadow: 0 0 0 3px rgba(99, 64, 49, 0.15);
}

.miniatura-imagen {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  overflow: hidden;
  display: block;
}

.miniatura-punta {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: var(--detalle-accent);
  border-radius: 50%;
  z-index: 3;
}

.miniatura[aria-pressed="true"] {
  border-color: var(--detalle-accent);
}

.miniatura:focus-visible {
  outline: 2px solid var(--detalle-accent);
  outline-offset: 2px;
}

/* Imagen grande principal */
.detalle-imagen-principal {
  flex: 1;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--detalle-card);
  border: 1px solid var(--detalle-border);
  aspect-ratio: 1 / 1.15;
  cursor: pointer;
  box-shadow: var(--detalle-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #faf7f3;
  min-height: 560px;
}

.detalle-imagen-principal:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(99, 64, 49, 0.14);
}

.detalle-imagen-principal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.detalle-imagen-principal:hover img {
  transform: scale(1.02);
}

/* Sobrelay de "ver en grande" */
.imagen-sobrelay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
  color: #ffffff;
  text-align: center;
  padding: 24px;
  font-family: var(--font-sans);
}

.detalle-imagen-principal:hover .imagen-sobrelay {
  opacity: 1;
}

.sobrelay-icon {
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
}

.sobrelay-texto {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Información — columna derecha */
.detalle-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: fit-content;
}

.detalle-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detalle-titulo {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--detalle-text);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

/* Badges: Línea y Momento */
.detalle-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid var(--detalle-border);
  color: var(--detalle-muted);
  background: var(--detalle-card);
  transition: all 0.2s ease;
}

.badge--linea {
  background: #f0e6dc;
  color: #8a6d54;
  border-color: rgba(99, 64, 49, 0.2);
}

.badge--momento {
  background: #eef3e8;
  color: #6b8e5b;
  border-color: rgba(107, 142, 91, 0.25);
}

.badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* Precio */
.detalle-precio {
  margin-top: 6px;
}

.precio-valor {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--detalle-text);
  display: block;
  letter-spacing: -0.02em;
}

.precio-valor--consulta {
  color: var(--detalle-muted);
  font-weight: 500;
  font-size: 16px;
  font-family: var(--font-sans);
}

.precio-moneda {
  font-size: 14px;
  font-weight: 500;
  color: var(--detalle-muted);
  margin-left: 6px;
  display: inline-block;
}

/* Información de pago */
.detalle-pago {
  margin-top: 6px;
  padding: 24px;
  background: var(--detalle-card);
  border: 1px solid var(--detalle-border);
  border-radius: 20px;
}

.detalle-pago-titulo {
  margin: 0 0 16px;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--detalle-text);
}

.pago-lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pago-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pago-icono {
  width: 20px;
  height: 20px;
  color: var(--detalle-muted);
  flex-shrink: 0;
  margin-top: 2px;
}

.pago-texto {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pago-etiqueta {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--detalle-text);
  font-family: var(--font-sans);
}

.pago-valor {
  font-size: 12.5px;
  color: var(--detalle-muted);
  font-family: var(--font-sans);
}

.detalle-pago-nota {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--detalle-muted);
  line-height: 1.7;
  font-family: var(--font-sans);
}

/* Botón WhatsApp principal */
.detalle-acciones {
  margin-top: 24px;
}

.btn-whatsapp-detalle {
  background: var(--detalle-accent);
  color: #ffffff;
  width: 100%;
  padding: 18px 24px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(99, 64, 49, 0.16);
}

.btn-whatsapp-detalle:hover {
  background: #452a1c;
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(99, 64, 49, 0.22);
}

.btn-whatsapp-detalle:active {
  transform: translateY(-1px);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* Características */
.detalle-caracteristicas {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--detalle-border);
}

.detalle-caract-titulo {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--detalle-text);
}

.caract-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.caract-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.caract-label {
  color: var(--detalle-muted);
  font-size: 13px;
  font-weight: 600;
  min-width: 100px;
  font-family: var(--font-sans);
}

.caract-valor {
  color: rgba(99, 64, 49, 0.8);
  font-size: 13px;
  line-height: 1.5;
}

/* Productos relacionados — "Te puede interesar" */
.productos-relacionados {
  padding: 70px 0 90px;
  background: #faf7f3;
}

.relacionados-header {
  text-align: center;
  margin-bottom: 44px;
}

.relacionados-titulo {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--detalle-text);
}

.relacionados-sub {
  margin: 0;
  color: var(--detalle-muted);
  font-size: 15px;
  font-family: var(--font-sans);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: left;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 22px;
  background: var(--detalle-card);
  border: 1px solid var(--detalle-border);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.product-card:hover {
  border-color: var(--detalle-accent);
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(99, 64, 49, 0.10);
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.15;
  background: #f7f2ec;
  border-bottom: 1px solid var(--detalle-border);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.product-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 24px;
  gap: 10px;
}

.product-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--detalle-text);
  line-height: 1.4;
  font-family: var(--font-serif);
}

.product-desc {
  margin: 0;
  color: var(--detalle-muted);
  font-size: 13.5px;
  line-height: 1.6;
  font-family: var(--font-sans);
}

.product-precio {
  margin-top: auto;
  font-size: 17px;
  font-weight: 800;
  color: var(--detalle-text);
  display: block;
  font-family: var(--font-serif);
}

.btn-ver-detalle {
  width: 100%;
  justify-content: center;
  margin-top: auto;
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 20px;
  background: var(--detalle-accent);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-ver-detalle:hover {
  background: #452a1c;
  transform: translateY(-2px);
}

.icon-arrow {
  width: 16px;
  height: 16px;
}

/* Sección Descripción — aparte, fondo blanco */
.detalle-descripcion-seccion {
  padding: 70px 0 100px;
  background: #ffffff;
  border-top: 1px solid var(--detalle-border);
}

.descripcion-wrap {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.descripcion-titulo {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--detalle-text);
  text-align: center;
}

.descripcion-contenido {
  color: rgba(99, 64, 49, 0.75);
  font-size: 16px;
  line-height: 1.9;
  font-family: var(--font-sans);
}

.descripcion-contenido p {
  margin: 0 0 22px;
}

.descripcion-contenido strong {
  color: var(--detalle-text);
  font-weight: 600;
}

/* Modal fullscreen — galería de imágenes */
.modal-galeria {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #0a0908;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.35s ease, display 0.35s ease;
  font-family: var(--font-sans);
}

.modal-galeria[aria-hidden="false"],
.modal-galeria.is-open {
  display: flex;
  opacity: 1;
}

.modal-cerrar {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  z-index: 2010;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
}

.modal-cerrar:hover {
  background: var(--detalle-accent);
  border-color: var(--detalle-accent);
  transform: scale(1.05);
}

.modal-cerrar:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 30px;
  cursor: pointer;
  z-index: 2010;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  line-height: 1;
}

.modal-prev { left: 30px; }
.modal-next { right: 30px; }

.modal-nav:hover {
  background: var(--detalle-accent);
  border-color: var(--detalle-accent);
  transform: translateY(-50%) scale(1.08);
}

.modal-nav:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.modal-vista {
  position: relative;
  max-width: 88vw;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-imagen {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  display: block;
}

.modal-contador {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modal-miniaturas {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  margin-top: 16px;
  border-radius: 0 0 12px 12px;
  max-height: 90px;
  overflow-x: auto;
  overflow-y: hidden;
}

.modal-miniatura {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
  padding: 0;
  flex-shrink: 0;
}

.modal-miniatura:hover {
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
}

.modal-miniatura.activa {
  border-color: var(--detalle-accent);
  box-shadow: 0 0 0 3px rgba(99, 64, 49, 0.2);
}

.modal-miniatura-imagen {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  display: block;
}

/* Responsive producto detalle */
@media (max-width: 980px) {
  .detalle-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .detalle-miniaturas {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .breadcrumb-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .breadcrumb-list {
    justify-content: center;
  }

  .btn-volver-detalle {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .producto-detalle {
    padding: 44px 0 60px;
  }

  .detalle-titulo {
    font-size: 28px;
  }

  .detalle-miniaturas {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .caract-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .breadcrumb .container {
    gap: 6px;
    font-size: 12px;
  }

  .galeria-fila {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .detalle-miniaturas {
    flex-direction: row;
    gap: 6px;
    padding-top: 0;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .miniatura {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
  }

  .detalle-imagen-principal {
    min-height: 420px;
  }

  .detalle-pago {
    padding: 18px;
  }

  .modal-vista {
    max-width: 94vw;
    max-height: 75vh;
  }

  .modal-imagen {
    max-height: 75vh;
  }

  .modal-miniaturas {
    padding: 18px 24px;
    gap: 8px;
  }

  .modal-miniatura {
    width: 52px;
    height: 52px;
  }

  .modal-nav {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .modal-prev { left: 16px; }
  .modal-next { right: 16px; }

  .modal-cerrar {
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/* ============================================
   HISTORIA — BLOQUES MEDIA CRUZADA
   ============================================ */

.story .container {
  max-width: min(1100px, 92%);
}

.story-head {
  text-align: center;
  margin-bottom: clamp(60px, 8vw, 100px);
}

.story-intro {
  font-family: var(--font-hand);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  color: var(--brown-950);
  text-align: center;
  margin: 12px auto 28px;
  display: block;
  max-width: 600px;
}

/* Bloque media cruzada: texto + imagen lado a lado */
.story-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(64px, 9vw, 110px);
}

.story-block--reverse {
  /* Se invierte visualmente mediante el orden del HTML:
     en este bloque el .story-media va primero y el .story-copy segundo */
}

.story-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.story-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
  color: var(--brown-950);
  line-height: 1.25;
  margin: 0;
  text-align: left;
}

.story-paragraph {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
  text-align: left;
}

.story-media {
  display: flex;
  justify-content: center;
}

.story-figure {
  margin: 0;
}

.story-figure img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(99, 64, 49, 0.14);
  display: block;
}

.story-list {
  display: block;
  margin: 20px 0 0;
  padding-left: 0;
  list-style: none;
  text-align: left;
  width: 100%;
}

.story-list li {
  display: block;
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 1rem;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  text-align: left;
}

.story-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--brown-950);
  font-size: 1.2em;
  line-height: 1;
}

.story-list li strong {
  color: var(--brown-950);
  font-weight: 600;
}

.story-quote {
  margin: 32px 0 0;
  padding: 44px 60px 40px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.75;
  color: var(--brown-950);
  text-align: center;
  box-shadow: 0 8px 24px rgba(99, 64, 49, 0.06);
}

.story-quote::before {
  content: "“";
  position: absolute;
  top: -24px;
  left: 24px;
  font-family: var(--font-serif);
  font-size: 140px;
  line-height: 1;
  color: rgba(99, 64, 49, 0.07);
  z-index: 0;
  pointer-events: none;
}

.story-quote p {
  margin: 0;
  position: relative;
  z-index: 1;
}

.story-video-wrap {
  margin: clamp(60px, 8vw, 100px) 0 0;
  text-align: center;
}

.story-frame {
  padding: 10px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 26px 55px rgba(99, 64, 49, 0.15);
  transform: rotate(1.2deg);
  max-width: 720px;
  margin: 0 auto;
}

.story-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: #634031;
  display: block;
}

/* Mobile: todo se apila en una columna */
@media (max-width: 640px) {
  .story .container {
    max-width: min(90%, 1100px);
  }

  .story-head {
    margin-bottom: clamp(44px, 8vw, 70px);
  }

  .story-block,
  .story-block--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: clamp(48px, 8vw, 70px);
  }

  .story-copy {
    text-align: left;
    align-items: flex-start;
  }

  .story-subtitle {
    text-align: left;
  }

  .story-paragraph {
    text-align: left;
  }

  .story-media {
    justify-content: center;
  }

  .story-figure img {
    max-width: 320px;
    box-shadow: 0 12px 28px rgba(99, 64, 49, 0.12);
  }

  .story-list {
    text-align: left;
    align-items: flex-start;
    margin: 16px 0 0;
    width: 100%;
  }

  .story-list li {
    justify-content: flex-start;
    width: 100%;
  }

  .story-quote {
    margin: 20px 0 0;
    padding: 30px 24px 26px;
    font-size: 16px;
    border-radius: 18px;
    text-align: center;
  }

  .story-quote::before {
    top: -16px;
    left: 16px;
    font-size: 100px;
  }

  .story-frame {
    padding: 8px;
    border-radius: 16px;
    transform: none;
    max-width: 100%;
  }

  .story-video {
    aspect-ratio: 16 / 9;
  }
}

/* Reducido movimiento */
@media (prefers-reduced-motion: reduce) {
  .story-frame {
    transform: none;
  }
}
