/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #0D0D0D;
  --bg-2:      #1A1A1A;
  --bg-3:      #141414;
  --cream:     #F5F0E8;
  --cream-2:   #EDE8DC;
  --cream-3:   #D9D2C5;
  --gold:      #C9A84C;
  --gold-2:    #D4AF37;
  --gold-3:    #F5E6A3;
  --gold-4:    #8B6914;
  --white:     #FFFFFF;
  --text-dark: #1A1509;

  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'Lato', system-ui, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --gutter: clamp(1rem, 4vw, 2rem);
  --max-w: 1160px;

  scroll-behavior: smooth;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 2; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  background: var(--bg);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; }
ol, ul { list-style: none; padding: 0; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Skip link
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: 4px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   4. Container
   ============================================================= */
.container {
  width: min(var(--max-w), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* =============================================================
   5. Sections
   ============================================================= */
.section--dark  { background: var(--bg); }
.section--dark-2 { background: var(--bg-2); }
.section--cream { background: var(--cream); color: var(--text-dark); }

/* =============================================================
   6. NAV
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem var(--gutter);
  transition: background .4s var(--ease-soft), backdrop-filter .4s, box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(13,13,13,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(201,168,76,.2);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--max-w);
  margin-inline: auto;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  opacity: 0;
  transition: opacity .4s;
}
.nav.is-scrolled .nav__logo { opacity: 1; }
.nav__logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.nav__brand {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .04em;
}
.nav__links {
  display: none;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav__links a {
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream-3);
  transition: color .25s;
}
.nav__links a:hover { color: var(--gold); }
.nav__cta {
  border: 1px solid var(--gold) !important;
  padding: .4rem 1.1rem;
  border-radius: 2px;
  color: var(--gold) !important;
  transition: background .25s, color .25s !important;
}
.nav__cta:hover { background: var(--gold); color: var(--bg) !important; }

.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--gold);
  border-radius: 1px;
  transition: transform .3s var(--ease-out), opacity .3s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: .5rem;
  padding-block: 1rem;
  border-top: 1px solid rgba(201,168,76,.2);
  margin-top: .75rem;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a {
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cream-3);
  padding: .4rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .2s;
}
.nav__mobile a:hover { color: var(--gold); }

/* =============================================================
   7. Buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 2rem;
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all .3s var(--ease-out);
}
.btn--gold {
  background: var(--gold);
  color: var(--bg);
  border: 2px solid var(--gold);
}
.btn--gold:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,.3);
}
.btn--gold svg { transition: transform .3s var(--ease-bounce); }
.btn--gold:hover svg { transform: translateY(3px); }

.btn--whatsapp {
  background: #25D366;
  color: var(--white);
  font-size: .9rem;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(37,211,102,.3);
}
.btn--whatsapp:hover {
  background: #1DA851;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,.4);
}

/* =============================================================
   8. Gold line
   ============================================================= */
.gold-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-block: 1.5rem;
}
.gold-line--center {
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* =============================================================
   9. Eyebrow / section titles
   ============================================================= */
.eyebrow {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--cream);
  letter-spacing: -.01em;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}
.section-title--dark { color: var(--text-dark); }
.section-title--dark em { color: var(--gold-4); }

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-sub {
  color: var(--cream-3);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 520px;
  margin-inline: auto;
}

.body-text {
  color: var(--cream-3);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 56ch;
}
.body-text--dark { color: #4A3E2A; }
.body-text strong { color: var(--gold); font-weight: 700; }

/* =============================================================
   10. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__parallax-bg {
  position: absolute;
  inset: -10% 0;
  z-index: 0;
}
.hero__parallax-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(5,3,0,.85) 0%,
    rgba(13,9,2,.75) 40%,
    rgba(13,9,2,.88) 80%,
    rgba(13,13,13,1) 100%
  );
}
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 8rem var(--gutter) 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hero__logo-wrap {
  margin-bottom: 1.8rem;
}
.hero__logo {
  width: clamp(160px, 28vw, 240px);
  height: auto;
  filter: drop-shadow(0 0 40px rgba(201,168,76,.5)) drop-shadow(0 0 80px rgba(201,168,76,.2));
  animation: logo-glow 3s ease-in-out infinite alternate;
}
@keyframes logo-glow {
  from { filter: drop-shadow(0 0 30px rgba(201,168,76,.4)) drop-shadow(0 0 60px rgba(201,168,76,.15)); }
  to   { filter: drop-shadow(0 0 50px rgba(201,168,76,.7)) drop-shadow(0 0 100px rgba(201,168,76,.3)); }
}
.hero__eyebrow {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin-bottom: 1rem;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 600;
  line-height: 1.02;
  color: var(--white);
  letter-spacing: -.02em;
  margin-bottom: 2rem;
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
}
.hero__divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-bottom: 2rem;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.hero__scroll-indicator span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =============================================================
   11. HERENCIA
   ============================================================= */
.herencia {
  padding: clamp(5rem, 10vw, 9rem) 0;
}
.herencia__grid {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}
.quote {
  border-left: 2px solid var(--gold);
  padding-left: 1.5rem;
  margin-top: 2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-3);
  line-height: 1.5;
}

.herencia__stat {
  margin-top: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: .6rem;
}
.stat-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream-3);
}

/* =============================================================
   12. IMG FRAME
   ============================================================= */
.img-frame {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.img-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform .8s var(--ease-soft);
}
.img-frame:hover img { transform: scale(1.04); }
.img-frame--tall img { aspect-ratio: 3/4; }
.img-frame__border {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 2px;
  pointer-events: none;
  z-index: 1;
}

/* =============================================================
   13. ORIGEN
   ============================================================= */
.origen {
  padding: clamp(5rem, 10vw, 9rem) 0;
}
.origen__grid {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}
.origen__pills {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.5rem;
}
.pill {
  display: inline-block;
  padding: .4rem 1rem;
  border: 1px solid var(--gold-4);
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-4);
}

/* =============================================================
   14. PROCESO
   ============================================================= */
.proceso {
  padding: clamp(5rem, 10vw, 9rem) 0;
}
.proceso__gallery {
  display: grid;
  gap: .75rem;
  margin-bottom: 4rem;
  grid-template-columns: repeat(2, 1fr);
}
.proceso__gallery img {
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 2px;
  width: 100%;
  transition: transform .6s var(--ease-soft);
}
.proceso__gallery img:hover { transform: scale(1.03); }
@media (min-width: 720px) {
  .proceso__gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .proceso__gallery { grid-template-columns: repeat(5, 1fr); }
  .proceso__gallery img { aspect-ratio: 3/4; }
}
.proceso__steps {
  display: grid;
  gap: 2px;
}
.proceso__step {
  display: grid;
  grid-template-columns: 60px 64px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(201,168,76,.12);
  position: relative;
}
.proceso__step::before {
  content: '';
  position: absolute;
  bottom: -1px; left: 60px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .6s var(--ease-out);
}
.proceso__step:hover::before { width: calc(100% - 60px); }
.step__num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: rgba(201,168,76,.25);
  line-height: 1;
  padding-top: .2rem;
}
.step__icon {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(201,168,76,.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  padding: 10px;
  transition: background .3s, border-color .3s;
}
.proceso__step:hover .step__icon {
  background: rgba(201,168,76,.1);
  border-color: var(--gold);
}
.step__icon svg { width: 100%; height: 100%; }
.step__body h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-3);
  margin-bottom: .4rem;
  letter-spacing: .02em;
}
.step__body p {
  color: var(--cream-3);
  font-size: .95rem;
  line-height: 1.65;
}

/* =============================================================
   14b. HISTORIA PROFUNDA — 3 cards layout
   ============================================================= */
.historia {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}
.historia__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.historia__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .35;
}
.historia__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,13,13,.65) 0%,
    rgba(13,13,13,.5) 50%,
    rgba(13,13,13,.75) 100%
  );
}
.historia .container { position: relative; z-index: 1; }
.historia__cards {
  display: grid;
  gap: 1.5rem;
}
.hcard {
  background: var(--bg-2);
  border: 1px solid rgba(201,168,76,.1);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color .35s, transform .35s var(--ease-out), box-shadow .35s;
}
.hcard:hover {
  border-color: rgba(201,168,76,.4);
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(0,0,0,.5);
}
.hcard__img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.hcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .7s var(--ease-soft);
}
.hcard:hover .hcard__img img { transform: scale(1.05); }
.hcard__body {
  padding: 1.75rem 1.75rem 2rem;
}
.hcard__year {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
}
.hcard__body h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: .7rem;
  letter-spacing: .01em;
}
.hcard__body p {
  color: var(--cream-3);
  font-size: .95rem;
  line-height: 1.72;
}
.hcard__body em  { color: var(--gold); font-style: italic; }
.hcard__body strong { color: var(--cream); font-weight: 700; }

@media (min-width: 720px) {
  .historia__cards { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   15. USOS
   ============================================================= */
.usos {
  padding: clamp(5rem, 10vw, 9rem) 0;
}
.usos__grid {
  display: grid;
  gap: 1.5rem;
}
.uso-card {
  border: 1px solid rgba(139,105,20,.2);
  border-radius: 2px;
  background: rgba(245,240,232,.02);
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease-out), box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.uso-card:hover {
  border-color: var(--gold-4);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(139,105,20,.15);
}
.uso-card__photo {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.uso-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .7s var(--ease-soft);
}
.uso-card:hover .uso-card__photo img { transform: scale(1.06); }
.uso-card__content {
  padding: 1.75rem 1.75rem 2rem;
  flex: 1;
}
.uso-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: .6rem;
  letter-spacing: .01em;
}
.uso-card p {
  font-size: .95rem;
  color: #5A4E38;
  line-height: 1.65;
}
.uso-card__line {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--gold-4);
  transition: width .4s var(--ease-out);
}
.uso-card:hover .uso-card__line { width: 100%; }

/* =============================================================
   16. PRODUCTOS
   ============================================================= */
.productos {
  padding: clamp(5rem, 10vw, 9rem) 0;
}
.productos__grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}
.product-card { height: 100%; }
.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--bg-2);
  border: 1px solid rgba(201,168,76,.1);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color .35s, transform .35s var(--ease-out), box-shadow .35s;
}
.product-card:hover {
  border-color: rgba(201,168,76,.5);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(201,168,76,.2);
}
.product-card__img {
  background: var(--bg-3);
  aspect-ratio: 4/5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.product-card__img img {
  max-height: 280px;
  object-fit: contain;
  transition: transform .6s var(--ease-out);
}
.product-card:hover .product-card__img img { transform: scale(1.06) translateY(-4px); }
.product-card__body {
  padding: 1.5rem;
  border-top: 1px solid rgba(201,168,76,.08);
}
.product-card__name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: .4rem;
}
.product-card__desc {
  font-size: .9rem;
  color: var(--cream-3);
  line-height: 1.6;
}
.product-card__cta {
  padding: 1rem 1.5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  border-top: 1px solid rgba(201,168,76,.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .25s;
}
.product-card__cta svg { transition: transform .3s var(--ease-bounce); }
.product-card:hover .product-card__cta { background: rgba(201,168,76,.05); }
.product-card:hover .product-card__cta svg { transform: translateX(4px); }

/* =============================================================
   17. GALERÍA STRIP
   ============================================================= */
.galeria {
  overflow: hidden;
  padding: 0;
  position: relative;
}
.galeria__strip {
  overflow: hidden;
}
.galeria__track {
  display: flex;
  gap: .75rem;
  animation: marquee 52s linear infinite;
  width: max-content;
}
.galeria__track img {
  width: 200px;
  height: 280px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.galeria__label {
  text-align: center;
  padding: 1.5rem 0 2.5rem;
}

/* =============================================================
   18. CONTACTO
   ============================================================= */
.contacto {
  position: relative;
  padding: clamp(5rem, 12vw, 10rem) 0;
  text-align: center;
  overflow: hidden;
}
.contacto__bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.contacto__bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: .55;
}
.contacto__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,13,13,.7) 0%, rgba(13,13,13,.35) 50%, rgba(13,13,13,.7) 100%);
}
.contacto__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contacto__sub {
  color: var(--cream-3);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.contacto__email { margin-bottom: 1.5rem; }
.contacto__email-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--gold-3);
  font-size: .95rem;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(201,168,76,.3);
  padding-bottom: .15rem;
  transition: color .25s, border-color .25s;
}
.contacto__email-link:hover {
  color: var(--gold);
  border-color: var(--gold);
}
.contacto__actions { margin-bottom: 3rem; }
.contacto__redes { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.redes-label {
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream-3);
}
.redes-icons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.red-icon {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--gold);
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .05em;
  padding: .7rem 1.4rem;
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 50px;
  transition: all .3s var(--ease-out);
}
.red-icon:hover {
  background: rgba(201,168,76,.1);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.red-icon span { display: none; }

/* =============================================================
   19. FOOTER
   ============================================================= */
.footer {
  background: var(--bg-3);
  border-top: 1px solid rgba(201,168,76,.15);
  padding: 3rem 0 0;
}
.footer__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(201,168,76,.1);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer__brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.footer__name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
}
.footer__tagline {
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--cream-3);
  margin-top: .2rem;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}
.footer__nav a {
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream-3);
  transition: color .2s;
}
.footer__nav a:hover { color: var(--gold); }
.footer__social {
  display: flex;
  gap: 1rem;
}
.footer__social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-3);
  transition: color .25s, border-color .25s, background .25s;
}
.footer__social a:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201,168,76,.08);
}
.footer__copy {
  padding: 1.25rem var(--gutter);
  text-align: center;
  font-size: .75rem;
  color: rgba(245,240,232,.35);
  letter-spacing: .06em;
}

/* =============================================================
   20. WhatsApp FAB
   ============================================================= */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .3s var(--ease-bounce), box-shadow .3s;
}
.whatsapp-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,.6);
}
.whatsapp-fab__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37,211,102,.4);
  animation: pulse-ring 2.5s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(.9); opacity: .8; }
  70%  { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* =============================================================
   21. Reveal animations
   ============================================================= */
.reveal, .reveal-hero {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible, .reveal-hero.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Safety net — anything still hidden after 6s becomes visible */
.reveal.safety-visible, .reveal-hero.safety-visible {
  opacity: 1 !important;
  transform: none !important;
}
/* Defensive rule for split text (gotcha A.4.5) */
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   22. Particles
   ============================================================= */
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  pointer-events: none;
  animation: particle-float var(--dur, 6s) ease-in-out infinite var(--d, 0s);
}
@keyframes particle-float {
  0%   { transform: translate(0,0) scale(0); opacity: 0; }
  20%  { opacity: var(--op, .4); }
  80%  { opacity: var(--op, .4); }
  100% { transform: translate(var(--tx,0), var(--ty,-80px)) scale(0); opacity: 0; }
}

/* =============================================================
   22b. Language switcher
   ============================================================= */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 20px;
  padding: 2px;
  flex-shrink: 0;
}
.lang-btn {
  padding: .28rem .72rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream-3);
  border-radius: 16px;
  cursor: pointer;
  transition: background .2s, color .2s;
  border: none;
  background: none;
  line-height: 1;
}
.lang-btn--active { background: var(--gold); color: var(--bg); }
.lang-btn:hover:not(.lang-btn--active) { color: var(--gold); }

.lang-switcher--mobile {
  margin-top: 1rem;
  align-self: flex-start;
}

/* =============================================================
   22c. Historia leyenda callout
   ============================================================= */
.historia__leyenda {
  max-width: 760px;
  margin: 0 auto 3rem;
  padding: 1.75rem 2rem;
  border-left: 2px solid var(--gold);
  background: rgba(201,168,76,.04);
  border-radius: 0 2px 2px 0;
}
.historia__leyenda-label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}
.historia__leyenda-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--cream-2);
  line-height: 1.75;
}
.historia__leyenda-quote strong {
  color: var(--gold-3);
  font-weight: 600;
  font-style: normal;
}

/* =============================================================
   23. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .usos__grid { grid-template-columns: 1fr 1fr; }
  .red-icon span { display: inline; }
}

@media (min-width: 720px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
  .nav__mobile { display: none !important; }

  .herencia__grid { grid-template-columns: 1fr 1fr; }
  .origen__grid  { grid-template-columns: 1fr 1fr; }
  .usos__grid { grid-template-columns: repeat(3, 1fr); }
  .productos__grid { grid-template-columns: repeat(2, 1fr); }

  .proceso__steps { grid-template-columns: 1fr 1fr; gap: 0 2px; }
  .proceso__step { grid-column: span 1; border-bottom: 1px solid rgba(201,168,76,.12); }

  .footer__inner { grid-template-columns: 1fr auto auto; }
}

@media (min-width: 960px) {
  .productos__grid { grid-template-columns: repeat(3, 1fr); }
  .proceso__steps { grid-template-columns: repeat(4, 1fr); }
  .proceso__step { border-right: 1px solid rgba(201,168,76,.12); border-bottom: none; }
  .proceso__step:last-child { border-right: none; }
  .proceso__step::before { display: none; }
  .galeria__track img { width: 260px; height: 360px; }
}

@media (min-width: 1280px) {
  .productos__grid { grid-template-columns: repeat(5, 1fr); }
}

/* =============================================================
   24. Reduced-motion (intrusive effects only)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .galeria__track { animation: none; }
  .hero__scroll-indicator span { animation: none; opacity: .5; }
  @keyframes logo-glow { from { filter: none; } to { filter: none; } }
  .whatsapp-fab__pulse { animation: none; }
  .particle { animation: none; display: none; }
}
