﻿/* ═══════════════════════════════════════════════════════════════════════
   SANLILAS — NOSOTROS (About Us · Proceso Artesanal)
   Liquid Glass · Glassmorphism · Minimal Luxury · Cream #F8F5F1 · Gold #C8A66A
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  --ns-bg: #F8F5F1;
  --ns-beige: #EFE5DC;
  --ns-gold: #C8A66A;
  --ns-gold-soft: rgba(200, 166, 106, 0.14);
  --ns-chocolate: #4A2E2B;
  --ns-cream: #FFFFFF;
  --ns-card: rgba(255, 255, 255, 0.40);
  --ns-blur: 30px;
  --ns-radius-card: 40px;
  --ns-radius-btn: 999px;
  --ns-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
  --ns-border: 1px solid rgba(255, 255, 255, 0.75);
}

body.page-nosotros {
  background: linear-gradient(180deg, #F8F5F1 0%, #F2EBE3 42%, #EADFD6 100%);
  color: var(--ns-chocolate);
}

/* ═══ FONDO: aurora cálida + rayos de luz + partículas ═══ */
.ns-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ns-bg__aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: ns-aurora 26s ease-in-out infinite alternate;
  will-change: transform;
}

.ns-bg__aurora--1 { width: 62vw; height: 62vw; top: -22vw; left: -18vw; background: radial-gradient(circle, rgba(232, 207, 183, 0.55) 0%, rgba(248, 245, 241, 0) 70%); }
.ns-bg__aurora--2 { width: 48vw; height: 48vw; right: -16vw; top: 30vh; background: radial-gradient(circle, rgba(216, 196, 163, 0.4) 0%, rgba(248, 245, 241, 0) 70%); animation-delay: -9s; }
.ns-bg__aurora--3 { width: 40vw; height: 40vw; left: 24vw; top: 72vh; background: radial-gradient(circle, rgba(200, 166, 106, 0.22) 0%, rgba(248, 245, 241, 0) 70%); animation-delay: -17s; }

@keyframes ns-aurora {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4vw, -3vh, 0) scale(1.12); }
}

.ns-bg__ray {
  position: absolute;
  top: -30%;
  width: 2px;
  height: 160vh;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(200, 166, 106, 0.16) 55%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.8;
  animation: ns-ray 18s linear infinite;
  will-change: transform;
}

.ns-bg__ray--1 { left: 12%; animation-delay: -4s; }
.ns-bg__ray--2 { left: 34%; animation-delay: -11s; }
.ns-bg__ray--3 { left: 62%; animation-delay: -7s; }
.ns-bg__ray--4 { left: 86%; animation-delay: -15s; }

@keyframes ns-ray {
  from { transform: translateY(0) rotate(8deg); opacity: 0; }
  10%  { opacity: 0.9; }
  90%  { opacity: 0.9; }
  to   { transform: translateY(-190vh) rotate(8deg); opacity: 0; }
}

canvas#nsParticles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ns-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 166, 106, 0.14) 0%, rgba(200, 166, 106, 0) 62%);
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

/* ═══ HERO 100vh · slideshow cinematográfico ═══ */
.ns-hero {
  position: relative;
  min-height: 100vh;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
  text-align: center;
  padding-top: clamp(110px, 14vh, 160px);
  padding-bottom: 6vh;
}

.ns-hero__media {
  position: absolute;
  inset: -8% 0;
  overflow: hidden;
  will-change: transform;
}

.ns-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2.4s ease;
  will-change: transform, opacity;
}

.ns-hero__slide.is-active { opacity: 1; }

.ns-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ns-kenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}

.ns-hero__slide:nth-child(2) img { animation-delay: -8s; }
.ns-hero__slide:nth-child(3) img { animation-delay: -16s; }
.ns-hero__slide:nth-child(4) img { animation-delay: -6s; }

@keyframes ns-kenburns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(1.6vw, -1.4vh, 0); }
}

.ns-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(248, 245, 241, 0.22) 42%, rgba(248, 245, 241, 0.96) 100%);
}

.ns-hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  pointer-events: none;
}

.ns-hero__content {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  width: 100%;
  padding: 120px clamp(1.5rem, 6vw, 4rem) 90px;
  will-change: transform, opacity;
}

.ns-hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.2rem, 9vw, 7.6rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: #FFFDF8;
  margin: 0 0 1.6rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.25);
}

.ns-hero__title em {
  font-style: italic;
  color: var(--ns-gold);
}

.ns-hero__sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 253, 248, 0.85);
  max-width: 54ch;
  margin: 0 auto 2.8rem;
}

.ns-hero__actions {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

/* Botones Liquid Glass */
.ns-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  height: 62px;
  padding: 0 2.6rem;
  border-radius: var(--ns-radius-btn);
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ns-chocolate);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(var(--ns-blur));
  -webkit-backdrop-filter: blur(var(--ns-blur));
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out-expo), box-shadow 0.45s, background 0.45s, border-color 0.45s, color 0.45s;
  text-decoration: none;
}

.ns-btn svg { opacity: 0.65; transition: transform 0.4s var(--ease-out-expo); }

.ns-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-18deg);
  transition: left 0.9s var(--ease-out-expo);
  pointer-events: none;
}

.ns-btn:hover::before { left: 130%; }
.ns-btn:hover svg { transform: translateX(4px); }

.ns-btn--gold {
  background: linear-gradient(135deg, rgba(200, 166, 106, 0.82), rgba(232, 212, 178, 0.75));
  border-color: rgba(200, 166, 106, 0.7);
  color: #fffdf8;
  box-shadow: 0 18px 50px rgba(200, 166, 106, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.85);
}

.ns-btn--gold:hover {
  box-shadow: 0 24px 62px rgba(200, 166, 106, 0.58), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, rgba(200, 166, 106, 0.92), rgba(235, 216, 184, 0.85));
}

.ns-btn--line {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(74, 46, 43, 0.22);
}

.ns-hero__scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  color: rgba(74, 46, 43, 0.55);
}

.ns-hero__scroll span {
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, var(--ns-gold), transparent);
  position: relative;
  overflow: hidden;
}

.ns-hero__scroll span::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--ns-chocolate);
  animation: ns-scroll-line 2.2s ease-in-out infinite;
}

@keyframes ns-scroll-line {
  0%   { top: -100%; }
  55%  { top: 0; }
  100% { top: 100%; }
}

.ns-hero__scroll small {
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

/* ═══ CABEZAS DE SECCIÓN ═══ */
.ns-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(3.2rem, 6vw, 5rem);
}

.ns-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ns-gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.ns-eyebrow::before,
.ns-eyebrow::after {
  content: '';
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ns-gold));
}

.ns-eyebrow::after {
  background: linear-gradient(90deg, var(--ns-gold), transparent);
}

.ns-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ns-chocolate);
  margin: 0 0 1.3rem;
}

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

.ns-head__sub {
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(74, 46, 43, 0.62);
}

.ns-section {
  position: relative;
  z-index: 2;
  padding: var(--space-section) var(--space-lg);
  max-width: 1400px;
  margin: 0 auto;
}

/* ═══ SECCIÓN 2 · NUESTRA ESENCIA · 50/50 grid ═══ */
.ns-esencia {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 3vw, 3rem);
  align-items: center;
}

.ns-esencia__media {
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}

.ns-esencia__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ns-esencia__card {
  border-radius: var(--ns-radius-card);
  background: var(--ns-card);
  backdrop-filter: blur(var(--ns-blur));
  -webkit-backdrop-filter: blur(var(--ns-blur));
  border: var(--ns-border);
  box-shadow: var(--ns-shadow), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  padding: clamp(2rem, 3.6vw, 3.6rem);
}

.ns-esencia__card h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--ns-chocolate);
  margin: 0 0 1rem;
}

.ns-esencia__card p {
  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(74, 46, 43, 0.6);
  margin: 0 0 1.6rem;
}

/* ═══ SECCIÓN 3 · TIMELINE ═══ */
.ns-timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.ns-timeline__track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  z-index: 0;
  overflow: visible;
}

.ns-timeline__track svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ns-timeline__line {
  stroke: url(#nsGoldGradient);
  stroke-width: 2;
  stroke-linecap: round;
}

.ns-timeline__item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: clamp(1.2rem, 2vw, 2rem);
  align-items: center;
  margin-bottom: clamp(2.4rem, 5vw, 4rem);
}

.ns-timeline__item--left .ns-timeline__text { grid-column: 1; text-align: right; }
.ns-timeline__item--left .ns-timeline__node { grid-column: 2; }
.ns-timeline__item--left .ns-timeline__spacer { grid-column: 3; }

.ns-timeline__item--right .ns-timeline__spacer { grid-column: 1; }
.ns-timeline__item--right .ns-timeline__node { grid-column: 2; }
.ns-timeline__item--right .ns-timeline__text { grid-column: 3; text-align: left; }

.ns-timeline__node {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(var(--ns-blur));
  -webkit-backdrop-filter: blur(var(--ns-blur));
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.07), inset 0 1px 1px rgba(255, 255, 255, 0.95);
  transition: transform 0.7s var(--ease-elastic), box-shadow 0.7s, background 0.7s, border-color 0.7s;
  will-change: transform;
}

.ns-timeline__node.is-lit {
  background: linear-gradient(135deg, rgba(200, 166, 106, 0.9), rgba(232, 212, 178, 0.85));
  border-color: rgba(200, 166, 106, 0.75);
  box-shadow: 0 24px 60px rgba(200, 166, 106, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  transform: scale(1.06);
}

.ns-timeline__node-inner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(200, 166, 106, 0.35);
  transition: background 0.5s;
}

.ns-timeline__node.is-lit .ns-timeline__node-inner {
  background: #fffdf8;
}

.ns-timeline__year {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  color: var(--ns-gold);
  margin: 0 0 0.3rem;
}

.ns-timeline__text h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--ns-chocolate);
  margin: 0 0 0.5rem;
}

.ns-timeline__text p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(74, 46, 43, 0.6);
  margin: 0;
}

/* ═══ SECCIÓN 4 · PROCESO · 6 cards ═══ */
.ns-grid--6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2rem);
}

/* ═══ SECCIÓN 5 · DIFERENCIA · 7 cards ═══ */
.ns-grid--7 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2rem);
}
.ns-grid--7 > *:nth-child(5) { grid-column: 2 / span 1; }
.ns-grid--7 > *:nth-child(6) { grid-column: 3 / span 1; }
.ns-grid--7 > *:nth-child(7) { grid-column: 4 / span 1; }

/* ═══ CARDS GLASS ═══ */
.ns-card {
  position: relative;
  border-radius: 36px;
  background: var(--ns-card);
  backdrop-filter: blur(var(--ns-blur));
  -webkit-backdrop-filter: blur(var(--ns-blur));
  border: var(--ns-border);
  box-shadow: var(--ns-shadow), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  padding: clamp(1.8rem, 2.8vw, 2.6rem);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s, background 0.6s, border-color 0.6s;
  will-change: transform;
}

.ns-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.55), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.ns-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -90%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-18deg);
  transition: left 1s var(--ease-out-expo);
  pointer-events: none;
}

.ns-card:hover {
  transform: translateY(-12px);
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 1);
}

.ns-card:hover::before { opacity: 1; }
.ns-card:hover::after { left: 140%; }

.ns-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--ns-gold);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(200, 166, 106, 0.35);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9);
  margin-bottom: 1.3rem;
}

.ns-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--ns-chocolate);
  margin: 0 0 0.6rem;
}

.ns-card p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(74, 46, 43, 0.6);
  margin: 0;
}

/* ═══ SECCIÓN 6 · ARTESANAS · editorial ═══ */
.ns-editorial {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.ns-editorial__media {
  border-radius: var(--ns-radius-card);
  overflow: hidden;
  box-shadow: var(--ns-shadow);
  z-index: 1;
}

.ns-editorial__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ns-editorial__card {
  border-radius: var(--ns-radius-card);
  background: var(--ns-card);
  backdrop-filter: blur(var(--ns-blur));
  -webkit-backdrop-filter: blur(var(--ns-blur));
  border: var(--ns-border);
  box-shadow: var(--ns-shadow), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  padding: clamp(2rem, 3.6vw, 3.6rem);
  margin-left: -6vw;
  z-index: 2;
  position: relative;
}

.ns-editorial__card p {
  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(74, 46, 43, 0.6);
  margin: 0 0 1.6rem;
}

/* ═══ SECCIÓN 7 · FILOSOFÍA · word reveal ═══ */
.ns-filosofia {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-section) var(--space-lg);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(216, 196, 163, 0.3) 0%, transparent 60%),
    linear-gradient(180deg, #F8F5F1 0%, #F2EBE3 100%);
  z-index: 2;
}

.ns-filosofia__text {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
  line-height: 1.2;
  color: var(--ns-chocolate);
  max-width: 1100px;
  margin: 0 auto;
}

.ns-word {
  display: inline-block;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.9s var(--ease-out-expo), filter 0.9s var(--ease-out-expo);
  will-change: opacity, filter;
  margin-right: 0.28em;
}

.ns-word.is-visible {
  opacity: 1;
  filter: blur(0);
}

/* ═══ SECCIÓN 8 · MATERIALES · 4 cards with image ═══ */
.ns-grid--4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2rem);
}

.ns-material {
  border-radius: 36px;
  background: var(--ns-card);
  backdrop-filter: blur(var(--ns-blur));
  -webkit-backdrop-filter: blur(var(--ns-blur));
  border: var(--ns-border);
  box-shadow: var(--ns-shadow), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s;
}

.ns-material:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.12);
}

.ns-material__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ns-material__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out-expo);
  will-change: transform;
}

.ns-material:hover .ns-material__media img {
  transform: scale(1.08);
}

.ns-material__body {
  padding: 1.6rem 1.8rem 1.8rem;
}

.ns-material__body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ns-chocolate);
  margin: 0 0 0.5rem;
}

.ns-material__body p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(74, 46, 43, 0.6);
  margin: 0;
}

/* ═══ SECCIÓN 9 · EXPERIENCIA · slider infinito ═══ */
.ns-slider {
  overflow: hidden;
  position: relative;
  padding: 1.4rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ns-slider__track {
  display: flex;
  gap: 1.6rem;
  width: max-content;
  animation: ns-marquee 46s linear infinite;
  will-change: transform;
}

.ns-slider:hover .ns-slider__track { animation-play-state: paused; }

@keyframes ns-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ns-slide {
  position: relative;
  flex: 0 0 auto;
  width: clamp(260px, 26vw, 360px);
  border-radius: 35px;
  overflow: hidden;
  border: var(--ns-border);
  box-shadow: var(--ns-shadow);
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s;
}

.ns-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 3.9;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 1.2s var(--ease-out-expo), filter 0.6s;
  will-change: transform;
}

.ns-slide:hover { transform: translateY(-8px); box-shadow: 0 38px 80px rgba(0, 0, 0, 0.14); }
.ns-slide:hover img { transform: scale(1.08); filter: saturate(1.05); }

.ns-slide__glass {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.3rem 1.4rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.28) 30%, rgba(255, 255, 255, 0.72) 100%);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.ns-slide__glass b {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ns-chocolate);
}

/* ═══ SECCIÓN 10 · VALORES · 6 cards ═══ */
.ns-grid--6 {
  grid-template-columns: repeat(3, 1fr);
}

/* ═══ SECCIÓN 11 · UBICACIÓN ═══ */
.ns-map {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  border-radius: var(--ns-radius-card);
  background: var(--ns-card);
  backdrop-filter: blur(var(--ns-blur));
  -webkit-backdrop-filter: blur(var(--ns-blur));
  border: var(--ns-border);
  box-shadow: var(--ns-shadow), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  padding: clamp(2.2rem, 4vw, 3.4rem) clamp(1.6rem, 3vw, 3rem);
}

.ns-map__pin {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(200, 166, 106, 0.2), rgba(232, 212, 178, 0.2));
  border: 1px solid rgba(200, 166, 106, 0.4);
  margin-bottom: 1.2rem;
  color: var(--ns-gold);
}

.ns-map h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--ns-chocolate);
  margin: 0 0 0.6rem;
}

.ns-map p {
  font-size: 0.92rem;
  font-weight: 300;
  color: rgba(74, 46, 43, 0.6);
  margin: 0 0 1.4rem;
}

.ns-map__list {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ns-map__list li {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(74, 46, 43, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.ns-map__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ns-gold);
}

/* ═══ SECCIÓN 12 · REDES ═══ */
.ns-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.ns-social {
  position: relative;
  border-radius: 36px;
  background: var(--ns-card);
  backdrop-filter: blur(var(--ns-blur));
  -webkit-backdrop-filter: blur(var(--ns-blur));
  border: var(--ns-border);
  box-shadow: var(--ns-shadow), inset 0 1px 1px rgba(255, 255, 255, 0.9);
  padding: clamp(1.8rem, 2.8vw, 2.6rem);
  text-align: center;
  overflow: hidden;
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.ns-social:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(200, 166, 106, 0.18), inset 0 1px 1px rgba(255, 255, 255, 1);
}

.ns-social__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(200, 166, 106, 0.35);
  color: var(--ns-gold);
  margin-bottom: 1.2rem;
  transition: background 0.4s, border-color 0.4s;
}

.ns-social:hover .ns-social__icon {
  background: linear-gradient(135deg, rgba(200, 166, 106, 0.85), rgba(232, 212, 178, 0.8));
  border-color: rgba(200, 166, 106, 0.6);
  color: #fffdf8;
}

.ns-social h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--ns-chocolate);
  margin: 0 0 0.35rem;
}

.ns-social small {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(74, 46, 43, 0.55);
}

/* ═══ SECCIÓN 13 · CTA FINAL ═══ */
.ns-cta {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

.ns-cta__bg {
  position: absolute;
  inset: -8% 0;
  overflow: hidden;
}

.ns-cta__bg .ns-hero__slide img {
  filter: blur(24px) brightness(0.65);
}

.ns-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(21, 21, 21, 0.55);
  z-index: 2;
}

.ns-cta__content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: var(--space-lg);
}

.ns-cta__content h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.1;
  color: #FFFDF8;
  margin: 0 0 2.2rem;
}

/* ═══ REVEAL ═══ */
.reveal {
  opacity: 0;
  transform: translateY(46px);
  filter: blur(10px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo), filter 0.9s var(--ease-out-expo);
  will-change: transform, opacity, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.16s; }
.reveal--d3 { transition-delay: 0.24s; }
.reveal--d4 { transition-delay: 0.32s; }
.reveal--d5 { transition-delay: 0.4s; }
.reveal--d6 { transition-delay: 0.48s; }
.reveal--d7 { transition-delay: 0.56s; }

/* ═══ TÍTULO DEL HERO · chars ═══ */
.ns-hero__title .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.42em);
  filter: blur(14px);
  animation: ns-char-in 1.1s var(--ease-out-expo) forwards;
  animation-delay: var(--d, 0s);
  will-change: transform, opacity, filter;
}

@keyframes ns-char-in {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.ns-hero__fade {
  opacity: 0;
  transform: translateY(24px);
  animation: ns-char-in 1.1s var(--ease-out-expo) forwards;
  animation-delay: var(--d, 0s);
  will-change: transform, opacity;
}

/* ═══ FOOTER CREMA ═══ */
.ns-footer {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, var(--ns-bg) 0%, var(--ns-beige) 100%);
  color: var(--ns-chocolate);
  padding: var(--space-2xl) var(--space-lg) var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
}

.ns-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 1400px;
  margin: 0 auto;
}

.ns-footer h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.7rem;
  letter-spacing: 0.08em;
  margin: 0 0 0.8rem;
}

.ns-footer h3 {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ns-gold);
  margin: 0 0 1.2rem;
}

.ns-footer__slogan {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(74, 46, 43, 0.6);
  margin: 0 0 1.4rem;
  max-width: 30ch;
}

.ns-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ns-footer a { color: rgba(74, 46, 43, 0.75); text-decoration: none; font-size: 0.92rem; font-weight: 300; transition: color 0.35s; }
.ns-footer a:hover { color: var(--ns-gold); }

.ns-footer__socials {
  display: flex;
  gap: 0.8rem;
}

.ns-footer__social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(74, 46, 43, 0.12);
  transition: transform 0.45s var(--ease-out-expo), background 0.45s, border-color 0.45s, color 0.45s;
}

.ns-footer__social-link:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: rgba(200, 166, 106, 0.5);
  color: var(--ns-gold);
}

.ns-footer__newsletter {
  display: flex;
  margin-top: 1.2rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(74, 46, 43, 0.1);
  border-radius: var(--ns-radius-btn);
  padding: 0.35rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.ns-footer__newsletter input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  padding: 0 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--ns-chocolate);
}

.ns-footer__newsletter button {
  flex: 0 0 auto;
  height: 46px;
  padding: 0 1.6rem;
  border-radius: var(--ns-radius-btn);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fffdf8;
  background: linear-gradient(135deg, var(--ns-gold), #DDBE8E);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s;
}

.ns-footer__newsletter button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(200, 166, 106, 0.45); }

.ns-footer__bottom {
  max-width: 1400px;
  margin: 3rem auto 0;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(74, 46, 43, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(74, 46, 43, 0.55);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1080px) {
  .ns-grid--6 { grid-template-columns: repeat(2, 1fr); }
  .ns-grid--7 { grid-template-columns: repeat(2, 1fr); }
  .ns-grid--7 > *:nth-child(5),
  .ns-grid--7 > *:nth-child(6),
  .ns-grid--7 > *:nth-child(7) { grid-column: auto; }
  .ns-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .ns-esencia { grid-template-columns: 1fr; }
  .ns-editorial { grid-template-columns: 1fr; }
  .ns-editorial__card { margin-left: 0; margin-top: -4rem; }
  .ns-timeline__track { left: 24px; transform: none; }
  .ns-timeline__item { grid-template-columns: 60px 1fr; }
  .ns-timeline__item--left .ns-timeline__text,
  .ns-timeline__item--right .ns-timeline__text { grid-column: 2; text-align: left; }
  .ns-timeline__item--left .ns-timeline__spacer,
  .ns-timeline__item--right .ns-timeline__spacer { display: none; }
  .ns-timeline__node { grid-column: 1; margin: 0; }
  .ns-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .ns-grid--6,
  .ns-grid--7,
  .ns-grid--4 { grid-template-columns: 1fr; }
  .ns-hero__actions { flex-direction: column; align-items: center; }
  .ns-btn { width: min(100%, 320px); }
  .ns-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .ns-timeline__item { grid-template-columns: 48px 1fr; }
}

/* ═══ MOTION REDUCED ═══ */
@media (prefers-reduced-motion: reduce) {
  .ns-hero__slide img,
  .ns-bg__aurora,
  .ns-bg__ray,
  .ns-slider__track,
  .ns-hero__title .ch,
  .ns-hero__fade { animation: none !important; }

  .ns-hero__title .ch,
  .ns-hero__fade { opacity: 1; transform: none; filter: none; }

  .ns-slider__track { animation-duration: 1s; }

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

  .ns-word { opacity: 1; filter: none; }
}
