/* ==========================================================
   Salero Digital - Nuestros menús
   CSS específico de página. No añadir a main.css.
   v5: hero con vídeo, header con velo y sección premium de packs.
   ========================================================== */

:root {
  --nm-ink: #1f2418;
  --nm-ink-soft: #33392a;
  --nm-olive: #53612f;
  --nm-olive-dark: #2f381d;
  --nm-lime: #c8ff4d;
  --nm-cream: #f6efd8;
  --nm-cream-soft: #fbf7eb;
  --nm-cream-muted: #ebe3ca;
  --nm-border: rgba(31, 36, 24, 0.16);
  --nm-border-light: rgba(246, 239, 216, 0.22);
  --nm-shadow: 0 26px 70px rgba(31, 36, 24, 0.18);
}

/* ----------------------------------------------------------
   Cabecera con velo sobre el hero
   ---------------------------------------------------------- */

.site-header {
  background: rgba(246, 239, 216, 0.78) !important;
  border-bottom: 1px solid rgba(31, 36, 24, 0.12) !important;
  box-shadow: 0 18px 55px rgba(7, 17, 9, 0.14) !important;
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
}

.site-header .logo,
.site-header .logo span,
.site-header .nav a,
.site-header .nav-contact,
.site-header .menu-toggle {
  color: var(--nm-ink) !important;
  text-shadow: none !important;
  opacity: 1 !important;
}

.site-header .nav a {
  font-weight: 800;
}

.site-header .nav a.is-active {
  color: var(--nm-olive-dark) !important;
}

.site-header .nav a.is-active::after {
  background: var(--nm-lime) !important;
  opacity: 1 !important;
}

.site-header .btn-primary {
  background: #0d1b12 !important;
  color: var(--nm-cream-soft) !important;
  box-shadow: 0 16px 36px rgba(7, 17, 9, 0.18);
}

.site-header .btn-primary:hover,
.site-header .btn-primary:focus-visible {
  background: var(--nm-lime) !important;
  color: var(--nm-ink) !important;
}

@supports not ((backdrop-filter: blur(18px)) or (-webkit-backdrop-filter: blur(18px))) {
  .site-header {
    background: rgba(246, 239, 216, 0.94) !important;
  }
}

/* ----------------------------------------------------------
   Hero de Nuestros menús
   ---------------------------------------------------------- */

.packs-hero {
  position: relative;
  min-height: clamp(680px, 82vh, 900px);
  overflow: hidden;
  padding: clamp(150px, 15vw, 220px) 20px clamp(96px, 10vw, 150px);
  background: var(--nm-ink);
  color: var(--nm-cream-soft);
  isolation: isolate;
}

.packs-hero-media {
  position: absolute;
  inset: 0;
  z-index: -4;
  overflow: hidden;
  background: var(--nm-ink) url("/assets/img/nuestros-menus-hero-poster.webp") center/cover no-repeat;
}

.packs-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(31, 36, 24, 0.96) 0%, rgba(31, 36, 24, 0.82) 46%, rgba(31, 36, 24, 0.48) 100%),
    linear-gradient(180deg, rgba(31, 36, 24, 0.50) 0%, rgba(31, 36, 24, 0.18) 44%, rgba(31, 36, 24, 0.72) 100%);
  pointer-events: none;
}

.packs-hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(0.94) contrast(1.06);
}

.packs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 16% 20%, rgba(200, 255, 77, 0.18), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(246, 239, 216, 0.12), transparent 24%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 58px 58px, 58px 58px;
}

.packs-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 34%;
  background: linear-gradient(to bottom, transparent, var(--nm-cream-soft));
  opacity: 0.18;
}

.packs-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.58fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: end;
}

.packs-hero-copy {
  max-width: 820px;
}

.packs-hero .eyebrow,
.packs-manifest .eyebrow,
.packs-method-section .eyebrow,
.packs-comparison-section .eyebrow,
.cata-section .eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid rgba(200, 255, 77, 0.42);
  background: rgba(200, 255, 77, 0.08);
  color: var(--nm-lime);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.packs-hero h1 {
  max-width: 760px;
  margin: 28px 0 24px;
  color: var(--nm-cream-soft);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.6rem, 8vw, 8.6rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.07em;
}

.packs-hero .lead {
  max-width: 660px;
  margin: 0;
  color: rgba(251, 247, 235, 0.82);
  font-size: clamp(1.04rem, 1.25vw, 1.28rem);
  line-height: 1.72;
}

.packs-hero .hero-actions,
.cata-section .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.packs-hero-quote {
  max-width: 420px;
  justify-self: end;
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid rgba(246, 239, 216, 0.22);
  border-radius: 30px;
  background: rgba(246, 239, 216, 0.10);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.packs-hero-quote p {
  margin: 0;
  color: var(--nm-cream-soft);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 2.8vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

/* ----------------------------------------------------------
   Manifiesto breve
   ---------------------------------------------------------- */

.packs-manifest {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 9vw, 132px) 20px;
  background: var(--nm-cream-soft);
  color: var(--nm-ink);
}

.packs-manifest::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(200, 255, 77, 0.22), transparent 26%),
    radial-gradient(circle at 90% 10%, rgba(83, 97, 47, 0.12), transparent 28%);
  pointer-events: none;
}

.packs-manifest-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: end;
}

.packs-manifest .eyebrow,
.packs-comparison-section .eyebrow,
.cata-section .eyebrow {
  color: var(--nm-olive-dark);
  border-color: rgba(83, 97, 47, 0.24);
  background: rgba(83, 97, 47, 0.08);
}

.packs-manifest h2 {
  grid-column: 1 / 2;
  margin: 22px 0 0;
  max-width: 820px;
  color: var(--nm-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.35rem, 5vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.packs-manifest p {
  margin: 0;
  color: rgba(31, 36, 24, 0.74);
  font-size: clamp(1rem, 1.18vw, 1.18rem);
  line-height: 1.78;
}

/* ----------------------------------------------------------
   Sección principal de packs
   ---------------------------------------------------------- */

.nm-packs-section {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 9vw, 140px) 20px clamp(104px, 10vw, 160px);
  background: var(--nm-ink);
  color: var(--nm-cream-soft);
  isolation: isolate;
}

.nm-packs-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 16%, rgba(200, 255, 77, 0.20), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(246, 239, 216, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(31, 36, 24, 0.90), rgba(47, 56, 29, 0.94));
}

.nm-packs-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  opacity: 0.55;
}

.nm-packs-container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.nm-packs-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.nm-eyebrow,
.nm-pack-label,
.nm-pack-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nm-eyebrow {
  grid-column: 1 / -1;
  padding: 8px 14px;
  color: var(--nm-lime);
  border: 1px solid rgba(200, 255, 77, 0.42);
  background: rgba(200, 255, 77, 0.08);
}

.nm-packs-intro h2 {
  margin: 0;
  max-width: 640px;
  color: var(--nm-cream-soft);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.35rem, 5.2vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.nm-packs-intro p {
  margin: 0;
  max-width: 610px;
  color: rgba(251, 247, 235, 0.78);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.75;
}

.nm-packs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
  align-items: stretch;
}

.nm-pack-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid rgba(246, 239, 216, 0.18);
  border-radius: 32px;
  background: rgba(246, 239, 216, 0.94);
  color: var(--nm-ink);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.nm-pack-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 255, 77, 0.54);
  box-shadow: var(--nm-shadow);
}

.nm-pack-featured {
  border: 2px solid rgba(200, 255, 77, 0.85);
  background: var(--nm-cream-soft);
  transform: translateY(-14px);
}

.nm-pack-featured:hover {
  transform: translateY(-20px);
}

.nm-pack-badge {
  position: absolute;
  top: -14px;
  right: 28px;
  padding: 8px 13px;
  background: var(--nm-lime);
  color: var(--nm-ink);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.nm-pack-top {
  margin-bottom: 24px;
}

.nm-pack-label {
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(83, 97, 47, 0.22);
  background: rgba(83, 97, 47, 0.08);
  color: var(--nm-olive-dark);
}

.nm-pack-card h3 {
  margin: 0 0 14px;
  color: var(--nm-ink);
  font-size: clamp(1.72rem, 2.5vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.nm-pack-subtitle {
  margin: 0;
  color: rgba(31, 36, 24, 0.74);
  font-size: 1rem;
  line-height: 1.55;
}

.nm-pack-body {
  flex: 1;
}

.nm-pack-body p {
  margin: 0 0 22px;
  color: rgba(31, 36, 24, 0.76);
  font-size: 0.98rem;
  line-height: 1.72;
}

.nm-pack-body ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nm-pack-body li {
  position: relative;
  padding-left: 24px;
  color: rgba(31, 36, 24, 0.82);
  font-size: 0.96rem;
  line-height: 1.45;
}

.nm-pack-body li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--nm-olive);
  box-shadow: 0 0 0 5px rgba(83, 97, 47, 0.10);
}

.nm-pack-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  margin-top: 30px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--nm-ink);
  color: var(--nm-cream-soft);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nm-pack-cta:hover,
.nm-pack-cta:focus-visible {
  background: var(--nm-lime);
  color: var(--nm-ink);
  transform: translateY(-2px);
}

/* ----------------------------------------------------------
   Método
   ---------------------------------------------------------- */

.packs-method-section {
  position: relative;
  padding: clamp(88px, 9vw, 138px) 20px;
  background: var(--nm-cream-soft);
  color: var(--nm-ink);
}

.packs-method-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

.packs-method-section h2 {
  margin: 22px 0 0;
  max-width: 560px;
  color: var(--nm-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.packs-method-list {
  display: grid;
  gap: 18px;
}

.packs-method-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 22px;
  row-gap: 8px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--nm-border);
  border-radius: 28px;
  background: #fffaf0;
  box-shadow: 0 14px 40px rgba(31, 36, 24, 0.07);
}

.packs-method-list article > span {
  grid-row: 1 / span 2;
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--nm-ink);
  color: var(--nm-lime);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.packs-method-list h3 {
  margin: 0;
  color: var(--nm-ink);
  font-size: clamp(1.22rem, 2vw, 1.72rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.packs-method-list p {
  margin: 0;
  color: rgba(31, 36, 24, 0.70);
  line-height: 1.62;
}

/* ----------------------------------------------------------
   Comparativa rápida
   ---------------------------------------------------------- */

.packs-comparison-section {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 8vw, 126px) 20px;
  background: #e9e1c8;
  color: var(--nm-ink);
}

.packs-comparison-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(200, 255, 77, 0.25), transparent 28%),
    radial-gradient(circle at 90% 28%, rgba(83, 97, 47, 0.16), transparent 30%);
  pointer-events: none;
}

.section-header {
  position: relative;
  max-width: 820px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.section-header h2 {
  margin: 20px 0 0;
  color: var(--nm-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 4.8vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.section-header .lead {
  max-width: 620px;
  margin: 20px auto 0;
  color: rgba(31, 36, 24, 0.70);
  font-size: 1.06rem;
  line-height: 1.68;
}

.packs-comparison-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
}

.packs-comparison-grid article {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(31, 36, 24, 0.14);
  border-radius: 28px;
  background: rgba(251, 247, 235, 0.78);
  box-shadow: 0 16px 44px rgba(31, 36, 24, 0.08);
}

.packs-comparison-grid article.is-featured {
  border-color: rgba(200, 255, 77, 0.90);
  background: var(--nm-ink);
  color: var(--nm-cream-soft);
  box-shadow: 0 24px 60px rgba(31, 36, 24, 0.18);
}

.packs-comparison-grid h3 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.packs-comparison-grid p {
  margin: 0;
  color: rgba(31, 36, 24, 0.70);
  line-height: 1.62;
}

.packs-comparison-grid article.is-featured p {
  color: rgba(251, 247, 235, 0.78);
}

/* ----------------------------------------------------------
   Cata digital final
   ---------------------------------------------------------- */

.cata-section {
  position: relative;
  overflow: hidden;
  padding: clamp(86px, 9vw, 140px) 20px;
  background: var(--nm-ink);
  color: var(--nm-cream-soft);
}

.cata-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(200, 255, 77, 0.22), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  pointer-events: none;
}

.cata-card {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 76px);
  border: 1px solid var(--nm-border-light);
  border-radius: 36px;
  background: rgba(246, 239, 216, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
  text-align: center;
}

.cata-card .eyebrow {
  margin-inline: auto;
  color: var(--nm-lime);
  border-color: rgba(200, 255, 77, 0.42);
  background: rgba(200, 255, 77, 0.08);
}

.cata-card h2 {
  margin: 22px auto 18px;
  max-width: 760px;
  color: var(--nm-cream-soft);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.35rem, 5vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.cata-card p {
  max-width: 690px;
  margin: 0 auto;
  color: rgba(251, 247, 235, 0.78);
  font-size: clamp(1rem, 1.18vw, 1.2rem);
  line-height: 1.72;
}

.cata-card .hero-actions {
  justify-content: center;
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */

@media (max-width: 1080px) {
  .packs-hero-grid,
  .packs-manifest-inner,
  .packs-method-grid,
  .nm-packs-intro {
    grid-template-columns: 1fr;
  }

  .packs-hero-quote {
    justify-self: start;
  }

  .packs-comparison-grid,
  .nm-packs-grid {
    grid-template-columns: 1fr;
  }

  .nm-pack-featured {
    transform: none;
  }

  .nm-pack-featured:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 720px) {
  .packs-hero {
    min-height: auto;
    padding: 132px 16px 82px;
  }

  .packs-hero h1 {
    font-size: clamp(3.1rem, 18vw, 5rem);
  }

  .packs-hero .hero-actions,
  .cata-section .hero-actions {
    flex-direction: column;
  }

  .packs-hero .hero-actions .btn,
  .cata-section .hero-actions .btn {
    width: 100%;
  }

  .packs-hero-quote {
    border-radius: 24px;
  }

  .packs-manifest,
  .packs-method-section,
  .packs-comparison-section,
  .cata-section,
  .nm-packs-section {
    padding-inline: 16px;
  }

  .nm-packs-section {
    padding-top: 76px;
    padding-bottom: 88px;
  }

  .nm-packs-intro {
    margin-bottom: 30px;
  }

  .nm-pack-card,
  .packs-method-list article,
  .packs-comparison-grid article {
    border-radius: 24px;
    padding: 24px;
  }

  .nm-pack-badge {
    position: static;
    margin-bottom: 18px;
  }

  .nm-pack-cta {
    width: 100%;
  }

  .packs-method-list article {
    grid-template-columns: 1fr;
  }

  .packs-method-list article > span {
    grid-row: auto;
  }

  .cata-card {
    border-radius: 26px;
  }
}

@media (max-width: 760px) {
  .site-header {
    background: rgba(246, 239, 216, 0.88) !important;
  }

  .site-header .menu-toggle {
    border-color: rgba(31, 36, 24, 0.16) !important;
    background: rgba(31, 36, 24, 0.06) !important;
  }

  .packs-hero-media::after {
    background:
      linear-gradient(90deg, rgba(31, 36, 24, 0.94) 0%, rgba(31, 36, 24, 0.82) 100%),
      linear-gradient(180deg, rgba(31, 36, 24, 0.55) 0%, rgba(31, 36, 24, 0.35) 45%, rgba(31, 36, 24, 0.78) 100%);
  }
}

