/* ====================================================================
   pg-beautycare.css · prospect-specific layout
   Extends: brand.css + pepsico.css + pg.css + sahilscope.css

   Design rule: Enmovil green + enmovil-blue carry identity. P&G navy
   appears only as a quiet recipient accent — the logo itself and the
   onerror text fallback. Never dominant. Never a section color.
   ==================================================================== */

/* Opening layout · hero SVG right, content left */
body[data-brand="pg"] .opening { overflow: hidden; }
body[data-brand="pg"] .opening__pin {
  position: relative;
  z-index: 1;
  padding: 90px 0 80px;
}

/* Override pg.css's .hl-blue (which forces pg-navy) back to enmovil-blue */
body[data-brand="pg"] .opening__tagline .hl-blue { color: var(--enmovil-blue); }

.opening__inner {
  position: relative;
  z-index: 3;
  max-width: 680px;
}

.opening__context {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.opening__context-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.opening__context-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--enmovil-green);
  box-shadow: 0 0 0 4px rgba(89, 192, 152, 0.16);
}

/* Hero SVG · sits beside content on large screens */
.hero-surface {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 640px;
  max-width: 56%;
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0.94;
}

.surface-retailer { opacity: 0; }

/* Opening headline · enmovil-blue accent */
body[data-brand="pg"] .opening__h1.ss-anchor {
  font-size: clamp(3rem, 7.2vw, 5.4rem);
  margin: 0 0 4px;
  color: var(--enmovil-ink);
}
body[data-brand="pg"] .ss-anchor-subline {
  color: var(--enmovil-blue);
  margin: 0 0 20px;
}
body[data-brand="pg"] .ss-anchor-rule {
  background: var(--enmovil-green);
}

body[data-brand="pg"] .opening__tagline {
  max-width: 640px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}
body[data-brand="pg"] .opening__source {
  max-width: 640px;
}

/* Section 8 · Caddie stack · enmovil-ink only */
body[data-brand="pg"] #section-8 { background: var(--enmovil-ink); color: #FFFFFF; }
body[data-brand="pg"] #section-8 .sec__eyebrow::before { background: var(--enmovil-green); }

/* Section 11 · Ask · enmovil-ink only */
body[data-brand="pg"] .sec--ask {
  background: var(--enmovil-ink);
  color: #FFFFFF;
  padding: 140px 0 120px;
  position: relative;
}
body[data-brand="pg"] .sec--ask .sec__eyebrow { color: var(--enmovil-green); }
body[data-brand="pg"] .sec--ask .sec__eyebrow::before { background: var(--enmovil-green); }

/* Responsive · stack the hero SVG below content on small screens */
@media (max-width: 1100px) {
  .hero-surface {
    position: relative;
    right: 0;
    top: 0;
    transform: none;
    width: 100%;
    max-width: 640px;
    margin: 30px auto 0;
    display: block;
    opacity: 0.9;
  }
  .opening__inner { max-width: 100%; }
  body[data-brand="pg"] .opening__pin { padding: 60px 0 40px; }
}
