/*
Theme Name: PRP Regeneration Specialists
Theme URI: https://www.prpregen.com
Author: Hubrig Crew Marketing
Author URI: https://hubrigcrew.com
Description: Custom lightweight theme rebuilt from the prpregen.com Wix design. Block-editor content, no page builder.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: Proprietary
Text Domain: prpregen
*/

/* ------------------------------------------------------------------ tokens */
:root {
  --gold: #c1a252;
  --gold-dark: #a8893e;
  --gold-soft: rgba(193, 162, 82, .69);
  --ink: #000;
  --ink-soft: #404041;
  --paper: #fff;
  --paper-2: #f9f9f9;
  --line: #d9d9d9;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  /* Wix used Brandon Grotesque Light (Adobe Fonts). Josefin Sans Light is the free stand-in.
     If the practice licenses Brandon via Adobe Fonts, set --font-head: "brandon-grotesque". */
  --font-head: "brandon-grotesque", "Josefin Sans", "Montserrat", sans-serif;
  /* Script face: Modernline (Ef Studio), the same file the Wix site used, self-hosted at assets/fonts/prp-script.woff2. */
  --font-script: "PRP Script", "Brush Script MT", cursive;
  --wrap: 1100px;
  --wrap-narrow: 760px;
  --header-h: 84px;
}

@font-face {
  font-family: "PRP Script";
  src: url("assets/fonts/prp-script.woff2") format("woff2");
  font-display: swap;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 300; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: clamp(22px, 2.6vw, 30px); }
h4 { font-size: 20px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: #fff; padding: 10px 14px; clip: auto; width: auto; height: auto; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.script { font-family: var(--font-script); color: var(--gold); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 1.3em; line-height: .9; vertical-align: -.08em; white-space: nowrap; }
.caps { font-family: var(--font-head); font-weight: 300; text-transform: uppercase; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 40px;
  height: var(--header-h); display: flex; align-items: center; gap: 24px;
}
.site-logo img { width: 104px; height: auto; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: 2px; }
.main-nav li { position: relative; }
.main-nav a {
  display: block; padding: 10px 11px; text-decoration: none; color: var(--ink-soft);
  font-size: 13px; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current_page_parent > a { color: var(--gold); }
.main-nav .sub-menu {
  position: absolute; left: 0; top: 100%; min-width: 240px; background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 8px 0; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: .18s ease;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu, .main-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { text-transform: none; font-size: 14px; padding: 9px 20px; }
.btn-book, .wp-block-button.is-style-fill .wp-block-button__link {
  display: inline-block; background: var(--gold); color: #fff; text-decoration: none;
  padding: 11px 22px; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; border: 1px solid var(--gold);
  transition: background .2s;
}
.btn-book:hover, .wp-block-button.is-style-fill .wp-block-button__link:hover { background: var(--gold-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-left: auto; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: .2s; }

@media (max-width: 1100px) {
  .site-header__inner { padding: 0 20px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; display: block;
    overflow-y: auto; padding: 12px 20px 40px; transform: translateX(100%); transition: transform .25s ease;
  }
  .admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
  .nav-open .main-nav { transform: none; }
  .main-nav > ul { flex-direction: column; }
  .main-nav a { font-size: 15px; padding: 14px 4px; border-bottom: 1px solid #eee; }
  .main-nav .sub-menu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; padding: 0 0 0 14px; }
  .main-nav li.is-open > .sub-menu { display: block; }
  .main-nav .menu-item-has-children > a { padding-right: 44px; }
  .submenu-toggle { position: absolute; right: 0; top: 4px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
  .submenu-toggle::before { content: ""; display: block; width: 9px; height: 9px; margin: auto; border-right: 1.5px solid #555; border-bottom: 1.5px solid #555; transform: rotate(45deg); }
  .main-nav .mobile-cta { display: block; margin-top: 20px; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (min-width: 1101px) { .submenu-toggle, .main-nav .mobile-cta { display: none; } }

/* ------------------------------------------------------------------ layout */
.site-main { min-height: 50vh; }
.entry-content > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.entry-content > .alignfull, .entry-content .alignfull { max-width: none; padding-left: 0; padding-right: 0; }
.entry-content > .wp-block-paragraph, .entry-content > p, .entry-content > ul { max-width: var(--wrap-narrow); }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content section, .entry-content > .wp-block-group { margin-top: 0; margin-bottom: 0; }
.entry-content > p:first-of-type, .entry-content > .prp-media-text { margin-top: 56px; }

/* buttons (Wix outline style) */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }
.wp-block-button.is-style-outline .wp-block-button__link, .btn-outline {
  display: inline-block; background: transparent; color: var(--gold); border: 1px solid var(--gold);
  border-radius: 0; padding: 10px 28px; font-size: 14px; letter-spacing: .03em; text-transform: uppercase; text-decoration: none;
  transition: background .2s, color .2s;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover, .btn-outline:hover { background: var(--gold); color: #fff; }
.wp-block-button .wp-block-button__link { border-radius: 0; }

/* two-tone titles */
.prp-title { text-align: center; font-size: clamp(30px, 4.2vw, 46px); text-transform: none; margin: 0 0 40px; }
.prp-title .caps { color: var(--ink); }
.prp-title--stack { text-align: left; }
.prp-title--stack .script { display: block; font-size: 1.2em; white-space: normal; }
.prp-title--stack .lead { display: block; font-size: .75em; }
.prp-section-title { text-align: center; text-transform: uppercase; margin: 64px auto 32px; }

/* hero (marble band) */
.prp-hero {
  background: var(--paper-2) var(--marble) center/cover no-repeat;
  padding: 64px 24px 56px; text-align: center;
}
.prp-hero__title { font-size: clamp(30px, 4.6vw, 52px); margin: 0; }
.prp-hero__title .caps { color: var(--ink); }
.prp-hero__tagline { font-size: 18px; margin: 14px auto 0; color: var(--ink-soft); }

/* feature: full-bleed photo with white card */
.prp-feature { position: relative; min-height: 560px; display: flex; align-items: center; justify-content: flex-end; padding: 56px max(24px, calc((100vw - var(--wrap)) / 2)); overflow: hidden; }
.prp-feature .prp-feature__media { position: absolute; inset: 0; margin: 0; padding: 0; max-width: none; }
.prp-feature .prp-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.prp-feature__card { position: relative; background: rgba(255,255,255,.96); padding: 40px 36px; max-width: 470px; width: 100%; font-size: 14.5px; }
.prp-feature__card > * { max-width: none; padding: 0; }
.prp-feature__title { font-family: var(--font-head); font-size: 26px; color: var(--gold); text-transform: uppercase; margin-bottom: 18px; }
.prp-feature--noimg { min-height: 0; justify-content: center; background: var(--paper-2); }
.prp-feature--noimg .prp-feature__card { max-width: var(--wrap-narrow); }

/* benefits */
.prp-benefits { padding: 72px 24px 48px; text-align: center; }
.prp-checks { list-style: none; margin: 0 auto; padding: 0; max-width: var(--wrap); display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 20px; }
.prp-checks li { width: 170px; font-size: 14px; color: var(--ink-soft); line-height: 1.35; }
.prp-checks li::before {
  content: ""; display: block; width: 40px; height: 40px; margin: 0 auto 12px;
  background: url("assets/img/check.svg") center/contain no-repeat;
}

/* image strip */
.prp-strip.wp-block-columns { gap: 10px; margin: 0; }
.prp-strip .wp-block-image { margin: 0; padding: 0; max-width: none; }
@media (max-width: 781px) { .prp-strip.wp-block-columns { flex-direction: row; overflow-x: auto; } .prp-strip .wp-block-column { flex: 0 0 80%; } }
.prp-strip img { width: 100%; height: 320px; object-fit: cover; }

/* FAQ accordion */
.prp-faq { padding: 72px 24px; max-width: 760px; margin: 0 auto; }
.prp-faq .wp-block-details { border-bottom: 1px solid #555; padding: 0; margin: 0; }
.prp-faq summary {
  list-style: none; cursor: pointer; padding: 26px 40px 26px 0; position: relative; font-size: 18px;
}
.prp-faq summary::-webkit-details-marker { display: none; }
.prp-faq summary::after { content: ""; position: absolute; right: 8px; top: 30px; width: 10px; height: 10px; border-right: 1.5px solid #333; border-bottom: 1.5px solid #333; transform: rotate(45deg); transition: .2s; }
.prp-faq details[open] summary::after { transform: rotate(-135deg); top: 36px; }
.prp-faq details > *:not(summary) { font-size: 15px; font-style: italic; padding-bottom: 8px; }
.prp-faq__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 8px 0 6px; flex-wrap: wrap; }
.prp-faq__label { font-family: var(--font-head); font-weight: 300; color: var(--gold); text-transform: uppercase; font-size: 22px; margin: 0; flex: 1 1 260px; }
.prp-faq__search { margin-left: auto; position: relative; width: 214px; }
.prp-faq__search input { width: 100%; border: 0; border-bottom: 1px solid #555; padding: 8px 26px 8px 0; font: 14px var(--font-body); background: transparent; }
.prp-faq__search input:focus { outline: none; border-bottom-color: var(--gold); }
.prp-faq__search svg { position: absolute; right: 2px; top: 10px; width: 14px; height: 14px; }
.prp-faq__divider { border: 0; border-top: 1px solid var(--gold-soft) !important; margin: 48px -56px 40px !important; max-width: none !important; }
.prp-faq__empty { font-size: 14px; color: #777; padding: 16px 0; }
.prp-faq details[hidden] { display: none; }
.prp-faq details ul, .prp-faq details ol { margin: 0 0 1em; padding-left: 22px; }

/* CTA band */
.prp-cta {
  background: #000 var(--pattern) center/cover; color: #fff; text-align: center; padding: 84px 24px;
}
.prp-cta > * { max-width: 640px; margin-left: auto; margin-right: auto; }
.prp-cta .prp-title .caps { color: #fff; }
.prp-cta p { font-size: 16px; }
.prp-cta .wp-block-buttons { justify-content: center; }

/* testimonials */
.prp-testimonials { background: #f3f1ec var(--testimonials-bg) center/cover; padding: 80px 24px; text-align: center; }
.prp-testimonials > * { max-width: 900px; margin-left: auto; margin-right: auto; }
.prp-quote { border: 0; margin: 0 auto 32px; padding: 0; max-width: 820px; }
.prp-quote p { font-size: 17px; font-style: italic; line-height: 1.6; }
.prp-quote cite { font-style: normal; font-weight: 700; color: var(--gold-dark); }
.prp-videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; max-width: var(--wrap) !important; }
.prp-videos .wp-block-embed { margin: 0; padding: 0; }
.prp-reviews-cta { font-size: clamp(22px, 2.6vw, 30px); margin-top: 40px; }
.prp-testimonials .wp-block-buttons { justify-content: center; }
.prp-slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; padding-bottom: 12px; }
.prp-slider .prp-quote { flex: 0 0 100%; scroll-snap-align: center; padding: 0 24px; margin: 0; }
.prp-slider-nav { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.prp-slider-nav button { background: none; border: 1px solid var(--gold); color: var(--gold); width: 40px; height: 40px; cursor: pointer; font-size: 18px; }

/* cards (service index pages) */
.prp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 32px; padding-top: 16px; padding-bottom: 72px; }
.prp-card { text-align: center; }
.prp-card > * { padding: 0; max-width: none; }
.prp-card__media { margin: 0 0 18px; }
.prp-card__media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; max-width: 280px; margin: 0 auto; }
.prp-card__title { font-size: 20px; text-transform: uppercase; color: var(--ink); }
.prp-card .wp-block-buttons { justify-content: center; }

/* team */
.prp-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 44px 40px; padding-top: 56px; padding-bottom: 80px; }
.prp-team__member > * { padding: 0; max-width: none; }
.prp-team__photo { margin: 0 0 14px; }
.prp-team__photo img { width: 100%; aspect-ratio: 332/323; object-fit: cover; object-position: top; }
.prp-team__name { font-size: 18px; color: var(--gold); text-transform: uppercase; margin: 0 0 2px 10px; }
.prp-team__role { font-size: 14px; margin: 0 0 0 10px; }

/* media + text */
.prp-media-text { gap: 48px; align-items: center; margin-bottom: 56px; }
.wp-block-columns { display: flex; gap: 40px; }
.wp-block-column { flex: 1; min-width: 0; }
@media (max-width: 781px) { .wp-block-columns { flex-direction: column; gap: 24px; } }

/* home */
.prp-home-hero {
  min-height: min(76vh, 720px); display: flex; align-items: center; justify-content: center; text-align: center;
  background: #333 var(--home-hero) center/cover; padding: 80px 24px; position: relative;
}
.prp-home-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.prp-home-hero__title { position: relative; color: #fff; margin: 0; }
.prp-home-hero__title .script { display: block; font-size: clamp(56px, 7.8vw, 101px); line-height: 1; }
.prp-home-hero__title .lead { display: block; font-family: var(--font-head); font-weight: 300; font-size: clamp(20px, 2.4vw, 28px); margin-top: 6px; }
.prp-intro { align-items: center; padding-top: 80px; padding-bottom: 80px; max-width: 900px !important; }
.prp-intro .prp-title { text-align: left; }
.prp-intro .prp-title .script { display: block; }
.prp-intro .prp-title .caps { display: block; padding-left: 1.6em; white-space: nowrap; font-size: .8em; }
.prp-intro p { color: var(--ink-soft); font-size: 15px; }
.prp-round img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 360px; margin: 0 auto; }
.prp-regen { background: var(--paper-2) var(--marble) center/cover; padding: 80px 24px; }
.prp-regen > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.prp-regen__head { align-items: end; margin-bottom: 32px; }
.prp-regen__closing { text-align: center; font-weight: 700; font-style: italic; }
.prp-services { padding: 80px 24px; }
.prp-service { max-width: 860px; margin: 0 auto 64px; align-items: center; gap: 48px; }
.prp-service .wp-block-column:has(.prp-round) { flex: 0 0 300px; }
.prp-service__title { color: var(--ink-soft); text-transform: uppercase; font-size: 30px; }
.prp-service p { color: var(--ink-soft); font-size: 15px; }
.prp-social { padding: 72px 24px; text-align: center; }
.prp-social-icons { display: flex; gap: 16px; justify-content: center; margin: 16px 0 0; padding: 0; list-style: none; }
.prp-social-icons img { width: 36px; height: 36px; }

/* posts */
.archive-head, .post-head { text-align: center; padding: 64px 24px 24px; }
.post-list { max-width: var(--wrap); margin: 0 auto; padding: 24px 24px 80px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.post-card { border: 1px solid #eee; background: #fff; display: flex; flex-direction: column; }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card__body { padding: 22px; }
.post-card h2 { font-size: 22px; font-family: var(--font-body); font-weight: 600; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-meta { color: #777; font-size: 13px; margin-bottom: 10px; }
.single .entry-content { padding-bottom: 80px; }
.single .entry-content > * { max-width: var(--wrap-narrow); }
.single .post-hero img { max-width: var(--wrap-narrow); margin: 0 auto 32px; width: 100%; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: #000; color: #fff; font-size: 13px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__inner { max-width: 900px; margin: 0 auto; padding: 56px 24px; display: grid; grid-template-columns: 1fr 1px 1fr; gap: 48px; align-items: center; }
.site-footer__rule { background: #555; height: 100%; min-height: 160px; }
.footer-brand { text-align: center; }
.footer-brand img { width: 180px; margin: 0 auto 14px; }
.footer-brand address { font-style: normal; line-height: 1.6; }
.footer-brand .label { color: var(--gold); font-weight: 700; }
.footer-cta h2 { color: var(--gold); font-size: 26px; text-transform: uppercase; margin-bottom: 12px; }
.footer-legal { margin: 12px 0 16px; font-size: 11px; }
.footer-legal a { color: #8ab4f8; text-decoration: underline; }
.site-footer .btn-outline { color: var(--gold); padding: 8px 20px; font-size: 12px; }
.site-footer .btn-outline:hover { color: #fff; }
.site-footer .prp-social-icons { margin-top: 18px; }
.site-footer .prp-social-icons img { width: 22px; height: 22px; }
.footer-bar { background: linear-gradient(90deg, #b8913b, #f4e08f 30%, #c9a24a 60%, #f6e39b 85%, #b8913b); color: #000; text-align: center; font-size: 11px; padding: 7px 12px; }
.footer-bar a { color: #000; text-decoration: underline; }
@media (max-width: 720px) {
  .site-footer__inner { grid-template-columns: 1fr; text-align: center; }
  .site-footer__rule { display: none; }
  .prp-feature { justify-content: center !important; min-height: 0; padding-top: 220px; }
  .prp-feature .prp-feature__media { bottom: auto; height: 260px; }
  .prp-feature__card { padding: 28px 22px; }
  .prp-strip img { height: 220px; }
}

/* contact form (Contact Form 7) */
.wpcf7 { max-width: 640px; margin: 24px auto 72px; }
.wpcf7 label { display: block; font-size: 14px; margin-bottom: 14px; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 select, .wpcf7 textarea {
  width: 100%; border: 0; border-bottom: 1px solid #999; padding: 10px 2px; font: inherit; background: transparent; margin-top: 4px;
}
.wpcf7 textarea { border: 1px solid #999; min-height: 120px; }
.wpcf7 .wpcf7-list-item { margin: 0; display: block; }
.wpcf7 .consent { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 12px; }
.wpcf7 input[type=submit] { background: var(--gold); color: #fff; border: 0; padding: 12px 40px; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.wpcf7 .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wpcf7 .row-2 > label > span, .wpcf7 .row-2 input { width: 100%; }
@media (max-width: 600px) { .wpcf7 .row-2 { grid-template-columns: 1fr; gap: 0; } }
.contact-details { list-style: none; padding: 0; margin: 0 auto 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; max-width: var(--wrap); }

/* product rows (Stem Cell Skin Care) */
.prp-products { max-width: 680px !important; margin: 0 auto 72px; }
.prp-product { align-items: center !important; gap: 48px; padding: 24px 0; border-bottom: 1px solid var(--gold); margin: 0 !important; }
.prp-product:first-child { border-top: 0; }
.prp-product .wp-block-column:first-child { flex: 0 0 230px; }
.prp-product .prp-round img { max-width: 230px; }
.prp-product__title { font-size: 28px; text-transform: uppercase; margin-bottom: 10px; }
.prp-product ul { margin: 0; padding-left: 20px; font-size: 14.5px; }
/* INDIBA Aesthetics: decorative script flourish sits over the two caps words, as on Wix */
.prp-hero__title .caps + .script:has(+ .caps) { display: inline-block; margin: 0 -.55em; position: relative; top: -.45em; font-size: 1.1em; }
