/* Nancy Salazar — Novias subpage (additive; does not modify styles.css) */
:root {
  --nv-ivory: #f9f7f2;
  --nv-pearl: #f3eee6;
  --nv-blush: #e8cfc4;
  --nv-sage: #8a9a7a;
  --nv-gold: #c4b48a;
  --nv-ink: #0a0a0a;
  --nv-ink-soft: #2a2a2a;
  --nv-muted: #73737a;
  --nv-white: #ffffff;
  --nv-header-h: 72px;
  --nv-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --nv-display: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --nv-sans: "Montserrat", system-ui, -apple-system, sans-serif;
  --nv-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nv-max: 1280px;
}

.nv-page {
  background: var(--nv-ivory);
  color: var(--nv-ink);
}

/* ——— Sticky cinematic reveal ——— */
.nv-cinematic {
  position: relative;
  min-height: 240vh;
  background: var(--nv-ink);
}

.nv-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.nv-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nv-photo {
  z-index: 1;
  background: #1a1a1a center / cover no-repeat;
  transform-origin: center center;
  will-change: transform;
}

.nv-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  display: block;
}

.nv-photo-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.12) 35%, rgba(10,10,10,0.45) 100%);
  z-index: 2;
}

.nv-floral {
  z-index: 3;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  will-change: opacity, transform;
  transform-origin: center center;
}

.nv-floral img,
.nv-floral object,
.nv-floral svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.nv-floral-extra {
  z-index: 4;
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(243,213,200,0.18), transparent 60%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(168,184,154,0.12), transparent 55%);
  will-change: opacity;
}

.nv-title-layer {
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nv-header-h) + 1.5rem) 1.5rem 2rem;
  pointer-events: none;
  will-change: opacity, transform;
}

.nv-title-inner {
  max-width: 36rem;
  color: var(--nv-white);
  pointer-events: auto;
}

.nv-eyebrow {
  font-family: var(--nv-sans);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(249,247,242,0.82);
  margin: 0 0 1rem;
}

.nv-heading {
  font-family: var(--nv-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0.12em;
  margin: 0;
  text-transform: uppercase;
}

.nv-heading em {
  display: block;
  font-family: var(--nv-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.55em;
  margin: 0.35em 0;
  opacity: 0.9;
}

.nv-brand {
  font-family: var(--nv-serif);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  margin: 1.1rem 0 0.6rem;
  color: rgba(249,247,242,0.95);
}

.nv-lead {
  font-family: var(--nv-serif);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: rgba(249,247,242,0.78);
  margin: 0 0 1.75rem;
}

.nv-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--nv-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--nv-ink);
  background: var(--nv-white);
  border: 1px solid var(--nv-white);
  padding: 0.95rem 1.75rem;
  transition: background 0.35s var(--nv-ease), color 0.35s var(--nv-ease), border-color 0.35s var(--nv-ease);
  cursor: pointer;
}

.nv-cta:hover,
.nv-cta:focus-visible {
  background: transparent;
  color: var(--nv-white);
  outline: none;
}

.nv-scroll-hint {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  font-family: var(--nv-sans);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(249,247,242,0.55);
  pointer-events: none;
  transition: opacity 0.4s var(--nv-ease);
}

/* ——— Intro band ——— */
.nv-intro {
  padding: 4.5rem 1.5rem 2rem;
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}

.nv-intro h2 {
  font-family: var(--nv-serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}

.nv-intro p {
  font-family: var(--nv-serif);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--nv-muted);
  margin: 0;
}

.nv-price-note {
  display: inline-block;
  margin-top: 1.25rem;
  font-family: var(--nv-sans);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nv-sage);
  border-bottom: 1px solid rgba(138,154,122,0.35);
  padding-bottom: 0.2rem;
}

/* ——— Filters ——— */
.nv-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1.5rem 2rem;
  max-width: var(--nv-max);
  margin: 0 auto;
}

.nv-filter {
  font-family: var(--nv-sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(10,10,10,0.18);
  color: var(--nv-ink-soft);
  padding: 0.55rem 0.95rem;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.nv-filter:hover,
.nv-filter.is-active {
  background: var(--nv-ink);
  color: var(--nv-white);
  border-color: var(--nv-ink);
}

/* ——— Gallery ——— */
.nv-gallery-wrap {
  padding: 0 1.25rem 5rem;
  max-width: var(--nv-max);
  margin: 0 auto;
}

.nv-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem 1.15rem;
}

.nv-card {
  background: var(--nv-white);
  border: 1px solid rgba(10,10,10,0.08);
  cursor: pointer;
  transition: transform 0.4s var(--nv-ease), box-shadow 0.4s var(--nv-ease);
  text-align: left;
  padding: 0;
  font: inherit;
  color: inherit;
  width: 100%;
}

.nv-card:hover,
.nv-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10,10,10,0.1);
  outline: none;
}

.nv-card-media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--nv-pearl);
}

.nv-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--nv-ease);
}

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

.nv-card-body {
  padding: 1rem 1rem 1.15rem;
}

.nv-card-name {
  font-family: var(--nv-serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.nv-card-desc {
  font-family: var(--nv-sans);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--nv-muted);
  margin: 0 0 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nv-card-price {
  font-family: var(--nv-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--nv-ink);
}

.nv-card-tags {
  margin-top: 0.45rem;
  font-family: var(--nv-sans);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nv-sage);
}

/* ——— Lightbox ——— */
.nv-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.nv-lightbox[hidden] {
  display: none !important;
}

.nv-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.72);
  backdrop-filter: blur(4px);
}

.nv-lightbox-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 920px;
  width: 100%;
  max-height: min(90vh, 720px);
  background: var(--nv-ivory);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.nv-lightbox-media {
  background: #111;
  min-height: 280px;
}

.nv-lightbox-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nv-lightbox-body {
  padding: 2rem 1.75rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.nv-lightbox-body h3 {
  font-family: var(--nv-serif);
  font-size: 1.75rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.nv-lightbox-price {
  font-family: var(--nv-sans);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin: 0 0 0.35rem;
}

.nv-lightbox-note {
  font-family: var(--nv-sans);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nv-sage);
  margin: 0 0 1rem;
}

.nv-lightbox-desc {
  font-family: var(--nv-serif);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--nv-ink-soft);
  margin: 0 0 1.5rem;
  flex: 1;
}

.nv-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--nv-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--nv-white);
  background: #128c7e;
  padding: 0.95rem 1.4rem;
  transition: background 0.25s;
}

.nv-wa:hover {
  background: #0e7368;
}

.nv-lightbox-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: none;
  background: rgba(249,247,242,0.9);
  color: var(--nv-ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
}

/* ——— Contact strip ——— */
.nv-contact-strip {
  background: var(--nv-ink);
  color: var(--nv-white);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.nv-contact-strip h2 {
  font-family: var(--nv-serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.75rem;
}

.nv-contact-strip p {
  font-family: var(--nv-serif);
  font-size: 1.1rem;
  opacity: 0.8;
  margin: 0 0 0.35rem;
}

.nv-contact-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Header tweak on dark stage */
.nv-page .site-header {
  /* rely on existing styles; ensure contrast over hero via scrolled class from app.js */
}

.nv-page .site-header.is-over-hero:not(.is-scrolled) {
  /* optional */
}

@media (max-width: 800px) {
  .nv-lightbox-card {
    grid-template-columns: 1fr;
    max-height: 92vh;
  }
  .nv-lightbox-media {
    max-height: 42vh;
  }
  .nv-cinematic {
    min-height: 200vh;
  }
  .nv-heading {
    letter-spacing: 0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nv-cinematic {
    min-height: 100vh;
  }
  .nv-floral,
  .nv-floral-extra,
  .nv-title-layer,
  .nv-photo {
    transform: none !important;
    opacity: 1 !important;
  }
  .nv-floral {
    opacity: 0.35 !important;
  }
  .nv-card,
  .nv-card-media img,
  .nv-cta {
    transition: none;
  }
}

/* Subtítulo del vestido (viene del sitio publicado) */
.nv-card-sub { margin: 2px 0 6px; font-size: 0.82rem; font-style: italic; color: #73737a; line-height: 1.35; }
.nv-lb-sub { margin: 0 0 8px; font-style: italic; color: #73737a; }
