/*
Theme Name: TPAG Child
Theme URI: https://tpag.virtuopsdev.com
Template: siteorigin-corp
Description: Child theme for Therapy Practice Advisory Group. All brand customizations live here.
Author: VirtuOps
Version: 1.0.0
*/

/* =========================================================
   TPAG Brand Variables
   ========================================================= */
:root {
  --navy:       #0D2B45;
  --navy-mid:   #1A3F5C;
  --teal:       #1D9E75;
  --teal-light: #E1F5EE;
  --teal-dark:  #0F6E56;
  --gold:       #BA7517;
  --gold-light: #FAEEDA;
  --cream:      #F8F5F0;
  --white:      #ffffff;
  --text:       #1a1a1a;
  --muted:      #5a6070;
  --border:     rgba(13,43,69,0.12);
}

/* =========================================================
   Typography
   ========================================================= */
body,
p,
li,
td,
th,
input,
textarea,
select,
button {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.site-title,
.entry-title {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.25;
}

/* =========================================================
   Site Header / Navigation
   ========================================================= */
#masthead,
.site-header {
  background: var(--navy) !important;
}

.site-title a,
.site-title a:hover {
  color: #fff !important;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
}

.site-description {
  color: #9DDFC5 !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Primary nav */
#site-navigation .menu > li > a,
#site-navigation .menu > li > a:visited {
  color: rgba(255,255,255,0.65) !important;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  transition: color 0.2s;
}

#site-navigation .menu > li > a:hover {
  color: #9DDFC5 !important;
}

/* CTA button in nav — add class "nav-cta" to menu item */
#site-navigation .menu > li.nav-cta > a {
  background: var(--teal) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 4px !important;
  font-weight: 500 !important;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn-primary,
.siteorigin-widget-button-button,
a.button,
button.button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--teal) !important;
  color: #fff !important;
  padding: 0.85rem 1.875rem !important;
  border-radius: 4px !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  font-family: 'DM Sans', sans-serif !important;
  border: none !important;
  cursor: pointer;
  transition: background 0.2s !important;
  text-decoration: none !important;
}

.btn-primary:hover,
a.button:hover,
button.button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: #158a62 !important;
  color: #fff !important;
}

.btn-outline {
  background: transparent !important;
  color: #fff !important;
  padding: 0.85rem 1.875rem !important;
  border-radius: 4px !important;
  font-weight: 400 !important;
  font-size: 0.95rem !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
}

.btn-white {
  background: #fff !important;
  color: var(--teal) !important;
  padding: 0.875rem 2.25rem !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
}

/* =========================================================
   Links
   ========================================================= */
a {
  color: var(--teal);
}
a:hover {
  color: var(--teal-dark);
}

/* =========================================================
   Section / Content Backgrounds
   ========================================================= */
.cream-bg { background: var(--cream); }
.navy-bg  { background: var(--navy); }
.teal-bg  { background: var(--teal); }

/* =========================================================
   Urgency / Alert Box
   ========================================================= */
.urgency {
  background: var(--gold-light);
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.75rem;
  border-radius: 0 8px 8px 0;
  margin: 2.5rem 0;
}
.urgency-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: #633806;
  margin-bottom: 0.35rem;
}
.urgency p {
  font-size: 0.875rem;
  color: #854F0B;
  line-height: 1.65;
  margin: 0;
}

/* =========================================================
   Credential / Trust Bar
   ========================================================= */
.cred-bar {
  background: var(--teal-light);
  border-top: 3px solid var(--teal);
  padding: 1.1rem 2rem;
}
.cred-bar-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.cred-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #085041;
  font-weight: 500;
}
.cred-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* =========================================================
   Hero Section Overrides
   ========================================================= */
.tpag-hero {
  background: var(--navy);
  padding: 5rem 2rem;
}
.tpag-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  margin-bottom: 1.1rem;
}
.tpag-hero h1 em {
  font-style: normal;
  color: #5DCAA5;
}
.tpag-hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(29,158,117,0.15);
  border: 1px solid rgba(29,158,117,0.3);
  color: #5DCAA5;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}
.tpag-hero .hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin-bottom: 2.25rem;
  font-weight: 300;
  line-height: 1.8;
}

/* =========================================================
   Section Labels & Titles
   ========================================================= */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.65rem;
}
.section-title {
  font-size: clamp(1.75rem, 2.75vw, 2.4rem);
  margin-bottom: 0.9rem;
}
.section-sub {
  color: var(--muted);
  font-size: 0.975rem;
  max-width: 570px;
  font-weight: 300;
  line-height: 1.8;
}

/* =========================================================
   Pillar / Stat Cards
   ========================================================= */
.pillar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
}
.pillar-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  color: var(--teal);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.pillar h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}
.pillar p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Stats (dark bg) */
.stat {
  background: rgba(255,255,255,0.04);
  padding: 1.75rem 1rem;
  text-align: center;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  color: #5DCAA5;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.45;
}

/* =========================================================
   Course / Timeline Cards
   ========================================================= */
.course-mini {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.35rem;
  background: #fff;
}
.course-mini-tag {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.course-mini h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.course-mini p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
}
.course-mini-date {
  margin-top: 0.8rem;
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--teal-dark);
}

/* Timeline */
.tl-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 1.625rem;
  margin-bottom: 1.5rem;
}
.tl-tag {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  margin-bottom: 0.65rem;
}

/* =========================================================
   Pricing Cards
   ========================================================= */
.pricing-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.625rem;
  background: #fff;
}
.pricing-card.featured {
  border: 2px solid var(--teal);
}
.pricing-tag {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.pricing-card.featured .pricing-tag {
  color: var(--teal);
}
.pricing-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.pricing-amt {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.3rem;
}

/* =========================================================
   Who Cards
   ========================================================= */
.who-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.35rem;
}
.who-badge {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 0.8rem;
}

/* =========================================================
   RUC Box (dark bg highlight)
   ========================================================= */
.ruc-box {
  background: rgba(29,158,117,0.1);
  border: 1px solid rgba(29,158,117,0.22);
  border-radius: 10px;
  padding: 1.75rem;
  margin-top: 2rem;
}
.ruc-box p {
  color: rgba(255,255,255,0.78);
  font-size: 0.925rem;
  line-height: 1.8;
  margin: 0;
}
.ruc-box strong {
  color: #5DCAA5;
  font-weight: 500;
}

/* =========================================================
   CTA Band
   ========================================================= */
.cta-band {
  background: var(--teal);
  padding: 5rem 2rem;
  text-align: center;
}
.cta-band h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 0.85rem;
}
.cta-band p {
  color: rgba(255,255,255,0.8);
  font-size: 0.975rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  font-weight: 300;
}

/* =========================================================
   Footer
   ========================================================= */
#colophon,
.site-footer {
  background: var(--navy) !important;
  color: rgba(255,255,255,0.35);
  text-align: center;
  padding: 2.5rem 2rem;
}
.site-footer .footer-logo {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.site-footer .footer-tag {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
}
.site-footer a {
  color: rgba(255,255,255,0.38);
}
.site-footer a:hover {
  color: #5DCAA5;
}
.site-info {
  color: rgba(255,255,255,0.2) !important;
  font-size: 0.68rem;
}

/* =========================================================
   WooCommerce Overrides
   ========================================================= */
.woocommerce-page .woocommerce h2,
.woocommerce-page .woocommerce h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
}

.woocommerce .price,
.woocommerce .amount {
  color: var(--navy) !important;
  font-family: 'Playfair Display', serif;
}

.woocommerce span.onsale {
  background: var(--teal) !important;
}

.woocommerce .star-rating span::before,
.woocommerce p.stars a::before,
.woocommerce p.stars a:hover ~ a::before,
.woocommerce p.stars a.active::before {
  color: var(--gold) !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce #payment #place_order {
  background: var(--teal) !important;
  color: #fff !important;
  border-radius: 4px !important;
}

/* =========================================================
   Events Calendar Overrides
   ========================================================= */
.tribe-events-calendar th,
.tribe-events-calendar td {
  font-family: 'DM Sans', sans-serif;
}

.tribe-event-url,
.tribe-events-single-section a {
  color: var(--teal);
}

.tribe-events .tribe-events-calendar .tribe-event-featured {
  background: var(--teal-light);
}

.tribe-button,
.tribe-common .tribe-common-c-btn {
  background: var(--teal) !important;
  color: #fff !important;
  border-radius: 4px !important;
}

/* =========================================================
   SiteOrigin Page Builder Utility
   ========================================================= */
.panel-grid-cell .so-panel {
  /* keep panels flush */
  margin-bottom: 0;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 768px) {
  .cred-bar-inner {
    gap: 1rem;
  }
  .tpag-hero {
    padding: 3rem 1.25rem;
  }
  .cta-band {
    padding: 3rem 1.25rem;
  }
}
