/* ── Prestige Precious Metals — Shared Styles ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: #484340;
  color: #e8e4de;
  font-family: system-ui, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* offset for fixed header */
body > *:not(.ppm-header):first-of-type,
.ppm-hero-img,
.ppm-hero-text { margin-top: 0; }
body { padding-top: 90px; }

/* ── Header ── */
.ppm-header {
  background: #484340;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 0 60px;
  height: 90px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}
.ppm-header-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ppm-header-logo img { height: 74px; width: auto; }
@media (max-width: 900px) { .ppm-header { padding: 0 24px; } }
.ppm-nav { display: flex; gap: 28px; align-items: center; }
.ppm-nav a {
  font-size: 11px;
  letter-spacing: .2em;
  font-weight: 700;
  color: rgba(232,228,222,0.72);
  text-transform: uppercase;
  transition: color .2s;
}
.ppm-nav a:hover, .ppm-nav a.active { color: #c9a84c; }
.ppm-nav a.nav-verify {
  border: 1px solid rgba(201,168,76,0.4);
  padding: 6px 14px;
  color: #c9a84c;
}
.ppm-nav a.nav-verify:hover { background: rgba(201,168,76,0.1); }
/* ── Hamburger button ── */
.ppm-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  flex-shrink: 0;
  position: relative;
  z-index: 999;
}
.ppm-menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #e8e4de;
  transition: transform .25s, opacity .2s;
}
.ppm-menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ppm-menu-btn.open span:nth-child(2) { opacity: 0; }
.ppm-menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .ppm-header { padding: 0 24px; }
  .ppm-menu-btn { display: flex; }
  .ppm-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30,27,24,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 998;
  }
  .ppm-nav.open { display: flex; }
  .ppm-nav a {
    font-size: 13px;
    letter-spacing: .22em;
    color: rgba(232,228,222,0.85);
  }
  .ppm-nav a.nav-verify {
    margin-top: 8px;
    padding: 10px 28px;
  }
}

/* ── Page Hero (text-only) ── */
.ppm-hero-text {
  background: #3e3c39;
  padding: 80px 60px;
  text-align: center;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.ppm-hero-text h1 {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 300;
  color: #f5f0e8;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ppm-hero-text .gold-rule {
  width: 60px; height: 2px;
  background: #c9a84c;
  margin: 18px auto 0;
}
@media (max-width: 640px) { .ppm-hero-text { padding: 56px 24px; } }

/* ── Page Hero (image background) ── */
.ppm-hero-img {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ppm-hero-img .hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.ppm-hero-img .hero-overlay {
  position: absolute; inset: 0;
  background: rgba(40,36,30,0.62);
}
.ppm-hero-img .hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 60px 40px;
}
.ppm-hero-img h1 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  color: #f5f0e8;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.2;
  max-width: 800px;
  margin: 0 auto;
}
.ppm-hero-img .hero-sub {
  font-size: 14px;
  letter-spacing: .25em;
  color: #c9a84c;
  text-transform: uppercase;
  margin-top: 16px;
}

/* ── Section wrapper ── */
.ppm-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 60px;
}
@media (max-width: 768px) { .ppm-section { padding: 56px 24px; } }

.ppm-section-full {
  width: 100%;
  padding: 80px 60px;
}
@media (max-width: 768px) { .ppm-section-full { padding: 56px 24px; } }

/* ── Section eyebrow ── */
.eyebrow {
  font-size: 10px;
  letter-spacing: .35em;
  font-weight: 700;
  color: #c9a84c;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: #c9a84c;
  flex-shrink: 0;
}

/* ── Section heading ── */
.ppm-h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 300;
  color: #f5f0e8;
  letter-spacing: .05em;
  margin-bottom: 24px;
  line-height: 1.25;
}
.ppm-h2 strong { font-weight: 700; color: #c9a84c; }

/* ── Body text ── */
.ppm-body {
  font-size: 15.5px;
  color: rgba(232,228,222,0.8);
  line-height: 1.85;
  max-width: 640px;
}
.ppm-body p { margin-bottom: 16px; }
.ppm-body p:last-child { margin-bottom: 0; }

/* ── Gold divider ── */
.gold-rule-full {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3) 20%, rgba(201,168,76,0.3) 80%, transparent);
}

/* ── Two-column layout ── */
.ppm-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ppm-two-col.reverse { direction: rtl; }
.ppm-two-col.reverse > * { direction: ltr; }
@media (max-width: 768px) {
  .ppm-two-col { grid-template-columns: 1fr; gap: 40px; }
  .ppm-two-col.reverse { direction: ltr; }
}
.ppm-two-col img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ── Card grid ── */
.ppm-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
@media (max-width: 900px) { .ppm-card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ppm-card-grid { grid-template-columns: 1fr; } }

.ppm-card {
  background: #3e3c39;
  padding: 36px 32px;
  border-top: 2px solid rgba(201,168,76,0.25);
  transition: border-color .2s;
}
.ppm-card:hover { border-color: #c9a84c; }
.ppm-card h3 {
  font-size: 13px;
  letter-spacing: .18em;
  font-weight: 700;
  color: #c9a84c;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ppm-card p {
  font-size: 14.5px;
  color: rgba(232,228,222,0.75);
  line-height: 1.8;
}

/* ── CTA Button ── */
.ppm-btn {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .22em;
  font-weight: 700;
  text-transform: uppercase;
  color: #c9a84c;
  border: 1px solid rgba(201,168,76,0.5);
  padding: 13px 32px;
  transition: background .2s, border-color .2s;
  margin-top: 28px;
}
.ppm-btn:hover { background: rgba(201,168,76,0.1); border-color: #c9a84c; }
.ppm-btn-solid {
  background: #c9a84c;
  color: #1a1610;
  border-color: #c9a84c;
}
.ppm-btn-solid:hover { background: #b8963e; }

/* ── Contact form ── */
.ppm-form { display: flex; flex-direction: column; gap: 14px; }
.ppm-form input, .ppm-form textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(232,228,222,0.2);
  color: #e8e4de;
  font-family: inherit;
  font-size: 14px;
  padding: 14px 18px;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.ppm-form input::placeholder, .ppm-form textarea::placeholder { color: rgba(232,228,222,0.4); }
.ppm-form input:focus, .ppm-form textarea:focus { border-color: rgba(201,168,76,0.6); }
.ppm-form textarea { min-height: 130px; resize: vertical; }
.ppm-form button {
  background: #c9a84c;
  border: none;
  color: #1a1610;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: .22em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 16px 40px;
  cursor: pointer;
  align-self: flex-start;
  transition: background .2s;
}
.ppm-form button:hover { background: #b8963e; }

/* ── Accreditation logos ── */
.accred-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding: 40px 0;
}
@media (max-width: 900px) { .accred-logos { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
@media (max-width: 480px) { .accred-logos { grid-template-columns: 1fr; } }
.accred-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.accred-logos img {
  height: 160px;
  width: auto;
  filter: none;
}
.accred-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #3a3734;
}
.accred-sub {
  font-size: 12px;
  color: #888;
  line-height: 1.6;
}

/* ── Service image card grid (home page) ── */
.ppm-img-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
@media (max-width: 768px) { .ppm-img-card-grid { grid-template-columns: 1fr; } }
.ppm-img-card {
  position: relative;
  display: block;
  overflow: hidden;
}
.ppm-img-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.ppm-img-card:hover img { transform: scale(1.04); }
.ppm-img-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(40,36,30,0.55);
  color: #f5f0e8;
  font-size: 13px;
  letter-spacing: .18em;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}

/* ── Dark alternate section ── */
.ppm-section-dark { background: #3e3c39; }

/* ── Promo strip ── */
.ppm-strip {
  background: #3a3734;
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 28px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.ppm-strip p {
  font-size: 14px;
  color: rgba(232,228,222,0.8);
  max-width: 600px;
}
@media (max-width: 640px) { .ppm-strip { padding: 24px; flex-direction: column; } }

/* ── Image gallery grid ── */
.ppm-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
@media (max-width: 768px) { .ppm-gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ppm-gallery { grid-template-columns: 1fr; } }
.ppm-gallery img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: opacity .3s;
}
.ppm-gallery img:hover { opacity: .88; }

/* ── Footer ── */
.ppm-footer {
  background: #a69374;
  padding: 60px 60px 0;
}
.ppm-footer-inner { max-width: 1100px; margin: 0 auto; }
.ppm-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
@media (max-width: 768px) { .ppm-footer { padding: 40px 24px 0; } .ppm-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 440px) { .ppm-footer-grid { grid-template-columns: 1fr; } }
.fcol-title { font-size: 15px; font-weight: 700; color: #1a1610; margin: 0 0 14px; }
.ppm-footer a, .ppm-footer .fcol-p { display: block; font-size: 14px; color: #1a1610; text-decoration: none; margin: 7px 0; }
.ppm-footer a:hover { text-decoration: underline; }
.footer-logos { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.footer-logos img { height: 46px; width: auto; }
.ppm-footer-bottom { padding: 26px 0 32px; text-align: center; }
.back-top { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; color: #1a1610; font-size: 12px; letter-spacing: .15em; text-decoration: none; margin-bottom: 16px; }
.footer-copy { font-size: 13px; color: #1a1610; }
