/* ============================================================
   JOHN NICOLS v3 — Video Landing + Boceto Structure
   ============================================================ */
:root {
  --c-navy:    #1C2B4A;
  --c-navy-d:  #0C0F18;
  --c-ivory:   #F5F1EB;
  --c-cream:   #EDE8DC;
  --c-gold:    #B8955A;
  --c-gold-l:  #D4AF78;
  --c-steel:   #7A8FA6;
  --c-ink:     #0F1923;
  --c-mist:    #C8D0DC;
  --c-white:   #FFFFFF;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-ui:    'Montserrat', sans-serif;
  --ease-lux:   cubic-bezier(0.25, 0.1, 0.1, 1);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  color: var(--c-ink);
  background: var(--c-ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── NAVBAR ─────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 56px;
  transition: background 0.5s, padding 0.4s, border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.navbar--solid {
  background: var(--c-ivory);
  padding: 14px 56px;
  border-bottom-color: rgba(0,0,0,0.07);
}
.navbar__brand {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--c-white);
  transition: color 0.4s;
}
.navbar--solid .navbar__brand { color: var(--c-navy); }
.navbar__links {
  list-style: none;
  display: flex;
  gap: 40px;
  align-items: center;
}
.navbar__links a {
  font-family: var(--font-ui);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  position: relative;
  transition: color 0.4s;
}
.navbar--solid .navbar__links a { color: var(--c-steel); }
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--c-gold);
  transition: width 0.5s;
}
.navbar__links a:hover { color: var(--c-white); }
.navbar--solid .navbar__links a:hover { color: var(--c-navy); }
.navbar__links a:hover::after { width: 100%; }
.navbar__cta { color: var(--c-gold) !important; }
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.navbar__hamburger span { display: block; width: 22px; height: 1px; background: var(--c-white); transition: background 0.4s; }
.navbar--solid .navbar__hamburger span { background: var(--c-navy); }

/* ── HERO — VIDEO PANELS ─────────────────────────────── */
.hero {
  display: flex;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  position: relative;
  background: var(--c-navy-d);
  overflow: hidden;
}
.hero__sep {
  width: 1px;
  background: rgba(184,149,90,0.35);
  z-index: 2;
  flex-shrink: 0;
  transition: background 0.4s;
}
.hero__panel {
  position: relative;
  overflow: hidden;
  transition: flex 0.7s var(--ease-lux);
}
.hero__panel--side { flex: 1; cursor: pointer; }
.hero__panel--center { flex: 1.4; }

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(8,10,18,0.42);
  transition: background 0.5s;
}
.hero__overlay--center {
  background: linear-gradient(to bottom,
    rgba(8,10,18,0.35) 0%,
    rgba(8,10,18,0.18) 40%,
    rgba(8,10,18,0.62) 100%
  );
}
.hero__panel--side:hover .hero__overlay { background: rgba(8,10,18,0.28); }

.hero__panel-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 40px 32px;
}
.hero__panel-label {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(245,241,235,0.75);
  transition: color 0.4s, letter-spacing 0.4s;
}
.hero__panel--side:hover .hero__panel-label {
  color: var(--c-gold);
  letter-spacing: 0.52em;
}
.hero__panel-content--center {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 40px;
}
.hero__panel-content--side {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  opacity: 0.72;
  transition: opacity 0.4s;
}
.hero__panel--side:hover .hero__panel-content--side {
  opacity: 1;
}
.hero__logo--side {
  width: clamp(32px, 3.5vw, 52px);
  margin-bottom: 10px;
}
.hero__brand-side {
  font-family: var(--font-serif);
  font-size: clamp(13px, 1.6vw, 22px);
  font-weight: 300;
  color: var(--c-white);
  letter-spacing: 0.12em;
}
.hero__logo {
  width: clamp(56px, 7vw, 96px);
  height: auto;
  margin-bottom: 20px;
  mix-blend-mode: screen;
  filter: brightness(1.05);
  animation: fadeUp 1.8s var(--ease-out) both;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 300;
  color: var(--c-white);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  animation: fadeUp 1.8s 0.2s var(--ease-out) both;
}
.hero__tagline {
  font-family: var(--font-serif);
  font-size: clamp(13px, 1.3vw, 17px);
  font-weight: 300;
  font-style: italic;
  color: rgba(200,208,220,0.82);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  animation: fadeUp 1.8s 0.35s var(--ease-out) both;
}
.hero__since {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 48px;
  animation: fadeUp 1.8s 0.5s var(--ease-out) both;
}
.hero__cta {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 8.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-white);
  border: 1px solid rgba(255,255,255,0.32);
  padding: 14px 44px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.5s;
  animation: fadeUp 1.8s 0.65s var(--ease-out) both;
}
.hero__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(184,149,90,0.12);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-lux);
}
.hero__cta:hover { border-color: var(--c-gold); }
.hero__cta:hover::before { transform: scaleX(1); }

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--c-gold), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:0.3} 50%{opacity:0.9} }
@keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

/* ── INTRO ───────────────────────────────────────────── */
.intro {
  background: var(--c-ivory);
  text-align: center;
  padding: 100px 64px 80px;
}
.intro__eyebrow {
  font-family: var(--font-ui);
  font-size: 8.5px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 28px;
}
.intro__heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 300;
  color: var(--c-navy);
  margin-bottom: 20px;
  line-height: 1.1;
}
.intro__sub {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 300;
  font-style: italic;
  color: var(--c-steel);
  line-height: 1.9;
}
.intro__divider {
  width: 48px;
  height: 1px;
  background: var(--c-gold);
  margin: 40px auto 0;
}

/* ── NUESTRA ESENCIA ─────────────────────────────────── */
.esencia {
  background: var(--c-white);
  padding: 100px 8%;
  text-align: center;
}
.esencia__eyebrow {
  font-family: var(--font-ui);
  font-size: 8.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--c-steel);
  margin-bottom: 60px;
}
.esencia__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
}
.esencia__item { text-align: center; }
.esencia__rule {
  width: 40px;
  height: 1px;
  background: var(--c-gold);
  margin: 0 auto 28px;
}
.esencia__title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--c-navy);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.esencia__text {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 300;
  color: #6B7280;
  line-height: 1.8;
  max-width: 280px;
  margin: 0 auto;
}

/* ── COLECCIÓN ───────────────────────────────────────── */
.coleccion {
  background: var(--c-ivory);
  padding: 100px 0 80px;
}
.coleccion__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
}
.coleccion__card {
  position: relative;
  overflow: hidden;
  height: 540px;
  cursor: pointer;
}
.coleccion__img-wrap {
  width: 100%;
  height: 100%;
}
.coleccion__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1.2s var(--ease-lux);
  filter: brightness(0.88) saturate(0.9);
}
.coleccion__card:hover .coleccion__img-wrap img {
  transform: scale(1.04);
  filter: brightness(0.72) saturate(0.9);
}
.coleccion__card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.coleccion__card-label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--c-white);
  opacity: 0;
  transition: opacity 0.5s, letter-spacing 0.5s;
}
.coleccion__card:hover .coleccion__card-label {
  opacity: 1;
  letter-spacing: 0.56em;
}
.coleccion__cta {
  text-align: center;
  padding: 60px 0 0;
}

/* ── BOTÓN DORADO ────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  padding: 16px 52px;
  transition: all 0.5s var(--ease-lux);
}
.btn--gold {
  background: var(--c-gold);
  color: var(--c-white);
  border: 1px solid var(--c-gold);
}
.btn--gold:hover {
  background: var(--c-gold-l);
  border-color: var(--c-gold-l);
}

/* ── CTA DARK ────────────────────────────────────────── */
.cta-dark {
  background: var(--c-navy-d);
  padding: 120px 64px;
  text-align: center;
}
.cta-dark__inner { max-width: 700px; margin: 0 auto; }
.cta-dark__heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  color: var(--c-white);
  line-height: 1.35;
  margin-bottom: 52px;
}

/* ── SHOWROOM ────────────────────────────────────────── */
.showroom {
  background: var(--c-cream);
  padding: 100px 40px;
  text-align: center;
}
.showroom__eyebrow {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 20px;
}
.showroom__heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  color: var(--c-navy);
  line-height: 1.25;
  margin-bottom: 20px;
}
.showroom__text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #666;
  line-height: 1.9;
  margin-bottom: 36px;
}
.showroom__address {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-navy);
  margin-bottom: 40px;
}
.showroom__address-icon svg {
  width: 18px; height: 18px;
  color: var(--c-gold);
  flex-shrink: 0;
}
.showroom__map {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 40px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
  border: 1px solid rgba(184,149,90,0.2);
  height: 320px;
}
.showroom__map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  filter: grayscale(20%) contrast(1.05);
}
.btn--outline-gold {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 1px solid var(--c-gold);
  color: var(--c-gold);
  background: transparent;
  text-decoration: none;
  transition: background 0.35s, color 0.35s;
}
.btn--outline-gold:hover {
  background: var(--c-gold);
  color: #fff;
}

/* ── BOCIER MILANO BAND ──────────────────────────────── */
.bocier-band {
  background: #f2ece3;
  padding: 80px 40px;
  text-align: center;
  border-top: 1px solid rgba(184,149,90,0.18);
}
.bocier-band__logo {
  display: block;
  margin: 0 auto 0;
  height: 80px;
  width: auto;
  mix-blend-mode: multiply;
}
.bocier-band__divider {
  width: 40px;
  height: 1px;
  background: rgba(184,149,90,0.45);
  margin: 20px auto 28px;
}
.bocier-band__brand {
  font-family: var(--font-ui);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 14px;
}
.bocier-band__cats {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 24px;
}
.bocier-band__text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 36px;
}
.bocier-band__cta {
  display: inline-block;
}

/* ── FOOTER ──────────────────────────────────────────── */
.footer {
  background: #0A0C12;
  padding: 72px 8% 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer__name {
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--c-white);
  margin-bottom: 14px;
}
.footer__desc {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 300;
  color: rgba(200,208,220,0.5);
  line-height: 1.8;
  max-width: 220px;
}
.footer__col-title {
  font-family: var(--font-ui);
  font-size: 8px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 22px;
}
.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__list li, .footer__list a {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 300;
  color: rgba(200,208,220,0.55);
  transition: color 0.3s;
}
.footer__list a:hover { color: var(--c-gold); }
.footer__list--plain li { cursor: default; }
.footer__socials { display: flex; gap: 20px; }
.footer__social-icon {
  width: 36px;
  height: 36px;
  color: rgba(200,208,220,0.5);
  transition: color 0.3s;
}
.footer__social-icon:hover { color: var(--c-gold); }
.footer__social-icon svg { width: 100%; height: 100%; }
.footer__bottom {
  padding: 20px 0;
  text-align: center;
}
.footer__bottom p {
  font-family: var(--font-ui);
  font-size: 8px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(200,208,220,0.25);
}

/* ── MUSIC BTN ───────────────────────────────────────── */
/* ── WHATSAPP BTN ────────────────────────────────────── */
.wa-btn {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 500;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}
.wa-btn svg { width: 28px; height: 28px; }
.wa-btn:hover { transform: scale(1.08); box-shadow: 0 6px 22px rgba(37,211,102,0.5); }

.music-btn {
  position: fixed;
  bottom: 32px; left: 32px;
  z-index: 500;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(12,15,24,0.82);
  border: 1px solid rgba(184,149,90,0.4);
  color: var(--c-gold);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(12px);
  transition: border-color 0.4s, transform 0.3s;
}
.music-btn:hover { border-color: var(--c-gold); transform: scale(1.06); }
.music-btn__icon { width: 20px; height: 20px; }
.music-btn__bars { display: none; align-items: flex-end; gap: 2px; height: 14px; }
.music-btn__bars span { display: block; width: 2.5px; background: var(--c-gold); border-radius: 2px; }
.music-btn__bars span:nth-child(1){height:5px}
.music-btn__bars span:nth-child(2){height:11px}
.music-btn__bars span:nth-child(3){height:8px}
.music-btn__bars span:nth-child(4){height:13px}
.music-btn.playing .music-btn__icon--pause { display: none !important; }
.music-btn.playing .music-btn__bars { display: flex; }
.music-btn.playing .music-btn__bars span { animation: equalizer 0.9s ease-in-out infinite alternate; }
.music-btn.playing .music-btn__bars span:nth-child(1){animation-delay:0s}
.music-btn.playing .music-btn__bars span:nth-child(2){animation-delay:0.2s}
.music-btn.playing .music-btn__bars span:nth-child(3){animation-delay:0.1s}
.music-btn.playing .music-btn__bars span:nth-child(4){animation-delay:0.3s}
@keyframes equalizer { from{transform:scaleY(0.3)} to{transform:scaleY(1.5)} }

/* ── SACOS SLIDESHOW ─────────────────────────────────── */
.sacos-slideshow, .ambos-slideshow, .abrigos-slideshow { position: relative; width: 100%; height: 100%; }
.sacos-slide, .ambos-slide, .abrigos-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  filter: brightness(0.88) saturate(0.9);
}
.sacos-slide.active, .ambos-slide.active, .abrigos-slide.active { opacity: 1; }
.coleccion__card:hover .sacos-slide.active,
.coleccion__card:hover .ambos-slide.active,
.coleccion__card:hover .abrigos-slide.active { filter: brightness(0.62) saturate(0.9); }

/* ── REVEAL ANIMATION ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .navbar { padding: 14px 24px; }
  .navbar__links { display: none; }
  .navbar__hamburger { display: flex; }
  .navbar--solid .navbar__hamburger span { background: var(--c-navy); }

  .hero { flex-direction: column; }
  .hero__panel--side { flex: none; height: 33.33vh; }
  .hero__panel--center { flex: none; height: 33.34vh; }
  .hero__sep { width: 100%; height: 1px; }

  .intro { padding: 72px 24px 56px; }
  .esencia { padding: 72px 24px; }
  .esencia__grid { grid-template-columns: 1fr; gap: 40px; }
  .coleccion__grid { grid-template-columns: 1fr; }
  .coleccion__card { height: 380px; }
  .coleccion__card-label { opacity: 1; }
  .cta-dark { padding: 80px 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 40px; }
}
