/* ============================================================
   PT PHIL — SHARED DESIGN SYSTEM
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:        #0a0a0a;
  --black-2:      #111111;
  --surface:      #161616;
  --surface-2:    #1e1e1e;
  --border:       rgba(255,255,255,0.07);
  --border-md:    rgba(255,255,255,0.12);
  --border-strong:rgba(255,255,255,0.2);
  --white:        #ffffff;
  --muted:        rgba(255,255,255,0.45);
  --muted-2:      rgba(255,255,255,0.25);
  --gold:         #c9a84c;
  --gold-dark:    #a8893a;
  --gold-light:   #d9bc72;
  --gold-subtle:  rgba(201,168,76,0.1);
  --max-w:        1080px;
  --radius:       6px;
  --radius-lg:    12px;
  --transition:   0.15s ease;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  /* Offset fixed navbar — hero overrides this with its own top padding */
  padding-top: 72px;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Section ── */
.section {
  padding: 96px 32px;
}

.section--dark {
  background: var(--black);
}

/* Surface sections get subtle borders so they read clearly against dark bg */
.section--surface {
  background: var(--surface);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.section__header {
  margin-bottom: 48px;
}

.section__header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section__header--center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* ── Section label ── */
.label {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.display {
  font-size: clamp(46px, 6.5vw, 80px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.0;
}

.h1 { font-size: clamp(36px, 5vw, 56px); }
.h2 { font-size: clamp(28px, 3.8vw, 44px); }
.h3 { font-size: clamp(20px, 2.8vw, 30px); }
.h4 { font-size: 18px; }

.lead {
  font-size: 17px;
  line-height: 1.78;
  color: var(--muted);
  max-width: 560px;
  margin-top: 16px;
}

.text-gold  { color: var(--gold); }
.text-muted { color: var(--muted); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  border-radius: var(--radius);
  line-height: 1;
}

.btn-gold {
  background: var(--gold);
  color: #000000;
  padding: 14px 28px;
}
.btn-gold:hover { background: var(--gold-light); }
.btn-gold:active { transform: scale(0.98); }

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 13px 28px;
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.04);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  padding: 13px 28px;
  border: 1px solid rgba(201,168,76,0.5);
}
.btn-outline-gold:hover {
  background: var(--gold-subtle);
  border-color: var(--gold);
}

.btn-lg {
  font-size: 15px;
  padding: 16px 36px;
}

.btn-sm {
  font-size: 13px;
  padding: 9px 18px;
}

/* btn-group: always sits 32px below preceding content */
.btn-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ── Card ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: var(--border-md);
}

/* ── Pricing card ── */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Featured card lifts above siblings */
.pricing-card--featured {
  border-color: rgba(201,168,76,0.5);
  box-shadow: 0 12px 48px rgba(201,168,76,0.08), 0 2px 16px rgba(0,0,0,0.4);
  transform: translateY(-4px);
  z-index: 1;
}

.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-card__price {
  margin: 18px 0 4px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-card__price .amount {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--white);
}

.pricing-card__price .period {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.pricing-card__desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.65;
  margin-top: 6px;
}

.pricing-card__list {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.pricing-card__list li {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}

.pricing-card__list li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.8;
}

/* ── Trust strip ── */
.trust-strip {
  background: var(--surface);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 36px 32px;
}

.trust-strip__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 0 52px;
  position: relative;
}

/* Vertical separator between trust items */
.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.08);
}

.trust-item__num {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
}

.trust-item__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Include list ── */
.include-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.include-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
}

.include-list__icon {
  width: 20px;
  height: 20px;
  background: var(--gold-subtle);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.include-list__icon svg {
  width: 10px;
  height: 10px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── FAQ ── */
.faq {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item__q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  letter-spacing: -0.01em;
  transition: color var(--transition);
}

.faq-item__q:hover { color: rgba(255,255,255,0.85); }

.faq-item__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.2s;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.7;
}

.faq-item.open .faq-item__icon { transform: rotate(45deg); opacity: 1; }

.faq-item__a {
  display: none;
  padding: 0 40px 22px 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 600px;
}

.faq-item.open .faq-item__a { display: block; }

/* ── CTA block — the most definitive section on each page ── */
.cta-block {
  padding: 96px 32px;
  background: #060606;
  border-top: 2px solid rgba(201,168,76,0.3);
  text-align: center;
}

.cta-block__inner {
  max-width: 560px;
  margin: 0 auto;
}

/* CTA label always shows above headline */
.cta-block .label {
  display: block;
}

.cta-block h2 {
  font-size: clamp(26px, 3.5vw, 42px);
  margin-bottom: 16px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.cta-block p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
}

.cta-block .btn-group {
  justify-content: center;
}

/* ── Photo placeholder ── */
.photo-placeholder {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Calendly placeholder ── */
.calendly-placeholder {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

/* ── Testimonial card ── */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

/* Gold bar replaces generic star emoji row */
.testimonial-card__rating {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}

.testimonial-card__rating-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Keep stars for backwards compat but style them better */
.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
}

.testimonial-card__stars span {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
}

.testimonial-card__text {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  flex: 1;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.testimonial-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
}

.testimonial-card__desc {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: 0.02em;
}

/* ── Grids ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Desktop: flip order for visual variety */
.grid-2--flip .grid-2__text  { order: 2; }
.grid-2--flip .grid-2__media { order: 1; }

/* ── Divider ── */
.divider {
  height: 1px;
  background: var(--border);
  border: none;
}

/* ── Page hero (inner pages) ── */
/* body already has padding-top: 72px, so this padding is relative to that */
.page-hero {
  padding: 80px 32px 88px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

/* Gold accent line under the label */
.page-hero__inner > .label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.page-hero__inner > .label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gold);
  opacity: 0.7;
  flex-shrink: 0;
}

.page-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-hero .h1 {
  margin-top: 14px;
  font-size: clamp(36px, 5.5vw, 60px);
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 720px;
}

.page-hero .lead {
  margin-top: 20px;
  max-width: 520px;
}

.page-hero .btn-group {
  margin-top: 40px;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.navbar__inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo img {
  height: 40px;
  width: auto;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.navbar__links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition);
  padding: 4px 0;
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--white);
}

.navbar__links a.active {
  position: relative;
}

/* Active nav indicator */
.navbar__links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0.7;
}

.navbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ── Mobile menu ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px 32px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  text-align: center;
  transition: color 0.15s;
  line-height: 1;
}

.mobile-menu a:hover { color: var(--gold); }

.mobile-menu .btn {
  font-size: 15px;
  padding: 14px 36px;
  margin-top: 8px;
}

.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  transition: color var(--transition);
}

.mobile-menu__close:hover { color: var(--white); }

/* ── Footer ── */
.footer {
  background: var(--black-2);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 32px 40px;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.footer__logo img {
  height: 32px;
  width: auto;
  opacity: 0.7;
  margin-bottom: 14px;
}

.footer__brand p {
  font-size: 13px;
  color: var(--muted-2);
  max-width: 220px;
  line-height: 1.65;
}

.footer__nav {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer__nav-col h4 {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.footer__nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__nav-col a:hover { color: rgba(255,255,255,0.8); }

.footer__bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 12px;
  color: var(--muted-2);
}

/* ── Contact form ── */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input,
.form-field textarea,
.form-field select {
  background: var(--surface-2);
  border: 1px solid var(--border-md);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  appearance: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: rgba(201,168,76,0.5);
  background: #1a1a1a;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted-2);
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.65;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ── Utilities ── */
.text-center { text-align: center; }
.mt-8   { margin-top: 8px; }
.mt-16  { margin-top: 16px; }
.mt-24  { margin-top: 24px; }
.mt-32  { margin-top: 32px; }
.mt-48  { margin-top: 48px; }
.mb-8   { margin-bottom: 8px; }
.mb-24  { margin-bottom: 24px; }
.mb-48  { margin-bottom: 48px; }

.gold-bar {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 20px;
  opacity: 0.7;
}

/* ── Offer nav ── */
.offer-nav {
  display: flex;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  overflow-x: auto;
}

.offer-nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 16px 18px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  letter-spacing: 0.02em;
}

.offer-nav a:hover { color: var(--white); }
.offer-nav a.active { color: var(--white); border-color: var(--gold); }

/* ── Responsive: tablet ── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; gap: 16px; }
  .grid-2 { grid-template-columns: 1fr; gap: 48px; }

  /* On mobile, text always renders before image regardless of desktop order */
  .grid-2 .grid-2__text  { order: 1; }
  .grid-2 .grid-2__media { order: 2; }

  .pricing-card--featured { transform: none; }
  .trust-item { padding: 0 28px; }
}

/* ── Responsive: mobile ── */
@media (max-width: 768px) {
  .section   { padding: 64px 20px; }
  .cta-block { padding: 64px 20px; }
  .page-hero { padding: 52px 20px 64px; }
  .trust-strip { padding: 28px 20px; }
  .navbar  { padding: 0 20px; }
  .footer  { padding: 48px 20px 32px; }
  .container { padding: 0 20px; }

  .navbar__links { display: none; }
  .navbar__right .btn { display: none; }
  .navbar-toggle { display: flex; }

  .trust-strip__inner { gap: 0; flex-wrap: wrap; row-gap: 24px; }
  .trust-item { flex: 1 0 45%; padding: 0; }
  .trust-item:not(:last-child)::after { display: none; }

  .footer__inner { flex-direction: column; gap: 32px; }
  .footer__nav { gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .cta-block .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .btn-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .section__header--center .btn-group {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .btn-lg { font-size: 14px; padding: 14px 24px; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { text-align: center; justify-content: center; }
  .page-hero .btn-group { align-items: stretch; }
}
