:root {
  --pm-cream: #f4eadc;
  --pm-gold: #d8b786;
  --pm-warm: #9b6a45;
  --pm-dark: #120c08;
}

#mainNav {
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 0;
  background: transparent;
  transition: background-color .25s ease, padding .25s ease;
}

#mainNav.navbar-shrink {
  padding-top: .55rem;
  padding-bottom: .55rem;
  background: rgba(18, 12, 8, .92);
  backdrop-filter: blur(10px);
}

#mainNav .navbar-brand img {
  width: 72px;
  height: auto;
  object-fit: contain;
}

#mainNav .nav-link {
  color: var(--pm-cream);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
}

#mainNav .nav-link:hover,
#mainNav .nav-link:focus,
#mainNav .nav-link.active {
  color: var(--pm-gold);
}

#mainNav .navbar-toggler {
  color: var(--pm-cream);
  border-color: rgba(244, 234, 220, .45);
}

.pm-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background-image: url("../img/prettymoon-hero-bg.png");
  background-size: cover;
  background-position: center center;
  color: var(--pm-cream);
}

.pm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 7, 4, .82) 0%, rgba(33, 18, 10, .55) 44%, rgba(18, 10, 6, .16) 100%);
  z-index: 1;
}

.pm-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 6rem 0 9rem;
}

.pm-brand-heading {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4rem, 10vw, 7.8rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-shadow: 0 8px 35px rgba(0, 0, 0, .35);
}

.pm-kicker,
.pm-hero-btn,
.pm-benefit-item span {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.pm-kicker {
  margin: 1.75rem 0 2rem;
  font-size: clamp(.78rem, 1.4vw, 1rem);
  color: var(--pm-cream);
}

.pm-hero-subtitle {
  margin: 0 0 1.25rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: .07em;
  color: #fff7ee;
}

.pm-title-divider,
.pm-small-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--pm-gold);
  max-width: 410px;
  margin: 1.5rem auto 0;
}

.text-lg-start .pm-title-divider,
.text-lg-start .pm-small-divider {
  margin-left: 0;
}

.pm-title-divider span,
.pm-small-divider span {
  height: 1px;
  flex: 1;
  background: rgba(216, 183, 134, .62);
}

.pm-small-divider {
  max-width: 180px;
  margin-top: 0;
  margin-bottom: 2rem;
}

.pm-hero-btn {
  padding: 1rem 2.2rem;
  border: 1px solid rgba(216, 183, 134, .95);
  border-radius: 0;
  background: rgba(18, 12, 8, .22);
  color: var(--pm-cream);
  font-size: .86rem;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.pm-hero-btn:hover,
.pm-hero-btn:focus {
  background: var(--pm-cream);
  border-color: var(--pm-cream);
  color: var(--pm-dark);
}

.pm-benefits-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 1.35rem 0;
  background: rgba(244, 234, 220, .94);
  color: #7e5f43;
}

.pm-benefit-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: .8rem 1rem;
  border-right: 1px solid rgba(126, 95, 67, .45);
}

.pm-benefit-item:last-child {
  border-right: 0;
}

.pm-benefit-item i {
  min-width: 2rem;
  font-size: 2rem;
  color: #9b7654;
}

.pm-benefit-item span {
  font-size: .78rem;
  line-height: 1.7;
  color: #5e422d;
}

.pm-hero-logo img {
  width: 86px;
  height: auto;
}

@media (max-width: 991.98px) {
  #mainNav {
    background: rgba(18, 12, 8, .9);
  }

  .pm-hero {
    background-position: 66% center;
  }

  .pm-hero-overlay {
    background: linear-gradient(180deg, rgba(12, 7, 4, .78) 0%, rgba(20, 12, 7, .58) 48%, rgba(12, 7, 4, .82) 100%);
  }

  .pm-brand-heading {
    letter-spacing: .1em;
  }
}

@media (max-width: 767.98px) {
  .pm-hero-content {
    padding: 7.5rem 0 14.5rem;
  }

  .pm-kicker,
  .pm-hero-btn,
  .pm-benefit-item span {
    letter-spacing: .18em;
  }

  .pm-benefits-bar {
    padding: .65rem 0;
  }

  .pm-benefit-item {
    justify-content: flex-start;
    border-right: 0;
    padding: .65rem .75rem;
  }

  .pm-benefit-item i {
    font-size: 1.45rem;
  }

  .pm-benefit-item span {
    font-size: .68rem;
  }
}

@media (max-width: 420px) {
  .pm-brand-heading {
    font-size: 3rem;
  }

  .pm-hero-content {
    padding-bottom: 16rem;
  }
}

/* Ajustes generales PrettyMoon */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--pm-dark);
  font-family: "Montserrat", Arial, sans-serif;
}

h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

p {
  font-family: "Montserrat", Arial, sans-serif;
}

#mainNav {
  z-index: 1040;
}

#mainNav .navbar-collapse.show,
#mainNav .navbar-collapse.collapsing {
  margin-top: 1rem;
  padding: .75rem 1rem;
  background: rgba(18, 12, 8, .96);
  border: 1px solid rgba(216, 183, 134, .22);
}

#mainNav .navbar-nav .nav-item {
  padding: 0 .35rem;
}

.pm-hero-row {
  min-height: 100svh;
}

.content-section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

#productos {
  background: linear-gradient(180deg, #120c08 0%, #1c110b 100%);
}

#productos h2,
#contacto h2 {
  color: var(--pm-cream);
}

#contacto {
  background: #120c08;
  color: var(--pm-cream);
}

#contacto p {
  max-width: 680px;
  margin-inline: auto;
  color: rgba(244, 234, 220, .86);
}

#contacto .btn-default {
  border-color: var(--pm-gold);
  color: var(--pm-cream);
  background: rgba(216, 183, 134, .08);
}

#contacto .btn-default:hover,
#contacto .btn-default:focus {
  background: var(--pm-cream);
  border-color: var(--pm-cream);
  color: var(--pm-dark) !important;
}

.pm-about-section {
  position: relative;
  isolation: isolate;
  min-height: 620px;
  display: flex;
  align-items: center;
  background-image: url("../img/prettymoon-about-bg.jpg");
  background-size: cover;
  background-position: center center;
  color: var(--pm-cream);
}

.pm-about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: inherit;
  background-size: cover;
  background-position: inherit;
}

.pm-about-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 45%, rgba(216, 183, 134, .18), transparent 34%),
    linear-gradient(90deg, rgba(12, 7, 4, .78), rgba(18, 12, 8, .58), rgba(12, 7, 4, .82));
}

.pm-about-card {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(216, 183, 134, .32);
  background: rgba(18, 12, 8, .48);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .32);
  backdrop-filter: blur(6px);
}

.pm-about-card h2 {
  margin-bottom: 1.5rem;
  color: var(--pm-cream);
}

.pm-about-card p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(244, 234, 220, .88);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.75;
}

footer {
  background: #0d0805;
  color: rgba(244, 234, 220, .72);
}

@media (max-width: 991.98px) {
  #mainNav .navbar-nav .nav-item {
    padding: .15rem 0;
  }

  .pm-hero-row {
    min-height: auto;
  }

  .pm-about-section {
    min-height: auto;
    background-position: 58% center;
  }
}

@media (max-width: 767.98px) {
  #mainNav .navbar-brand img {
    width: 58px;
  }

  .pm-hero {
    min-height: auto;
  }

  .pm-hero-content {
    padding: 7rem 0 3.5rem;
  }

  .pm-brand-heading {
    font-size: clamp(2.7rem, 14vw, 4rem);
    letter-spacing: .08em;
    overflow-wrap: anywhere;
  }

  .pm-title-divider,
  .pm-small-divider {
    max-width: min(82vw, 340px);
  }

  .pm-kicker {
    max-width: 92vw;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
  }

  .pm-benefits-bar {
    position: relative;
  }

  .content-section {
    padding: 4rem 0;
  }

  .pm-about-card {
    margin-inline: .75rem;
    padding: 2rem 1.25rem;
  }

  .pm-about-section::after {
    background: linear-gradient(180deg, rgba(12, 7, 4, .84), rgba(18, 12, 8, .66), rgba(12, 7, 4, .88));
  }

  .banner-social-buttons .list-inline-item,
  .banner-social-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .pm-brand-heading {
    font-size: 2.35rem;
  }

  .pm-hero-btn {
    width: 100%;
    padding-left: .75rem;
    padding-right: .75rem;
    font-size: .72rem;
  }

  .pm-benefit-item span {
    font-size: .62rem;
  }
}

/* Neutraliza reglas heredadas del template para que el layout sea estable */
.masthead.pm-hero {
  display: block;
  height: auto;
  padding: 0;
}

.masthead.pm-hero .intro-body.pm-hero-content {
  display: block;
  vertical-align: initial;
}

.masthead.pm-hero .intro-body .brand-heading.pm-brand-heading {
  font-size: clamp(4rem, 10vw, 7.8rem);
}

.masthead.pm-hero .intro-body .intro-text.pm-hero-subtitle {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

@media (max-width: 767.98px) {
  .masthead.pm-hero .intro-body .brand-heading.pm-brand-heading {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }
}

@media (max-width: 360px) {
  .masthead.pm-hero .intro-body .brand-heading.pm-brand-heading {
    font-size: 2.35rem;
  }
}

.pm-all-products-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 280px);
  text-decoration: none;
}

@media (max-width: 575.98px) {
  .pm-brand-heading {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    font-size: clamp(2.65rem, 13vw, 4.6rem);
    letter-spacing: .08em;
    line-height: 1;
  }
}

@media (max-width: 360px) {
  .pm-brand-heading {
    font-size: 2.35rem;
    letter-spacing: .055em;
  }
}
