/*
Theme Name: Hair Salon Pro
Theme URI: https://hairsalonpro.com
Author: Hair Salon Pro
Author URI: https://hairsalonpro.com
Description: A conversion-optimised WordPress theme for Hair Salon Pro — featuring the Salon Profit Calculator lead magnet, Scott Farmer's authority positioning, and membership tier showcase. Editorial finance aesthetic with Libre Baskerville + Source Sans 3 typography.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hairsalonpro
Tags: one-column, two-columns, custom-menu, featured-images, translation-ready, blog, education
*/

/* ==========================================================================
   CSS RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  background-color: #F5F0E8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */

:root {
  --charcoal: #333333;
  --gold: #C8A951;
  --cream: #F5F0E8;
  --cream-light: #FDFBF7;
  --gold-10: rgba(200, 169, 81, 0.1);
  --gold-15: rgba(200, 169, 81, 0.15);
  --gold-20: rgba(200, 169, 81, 0.2);
  --gold-30: rgba(200, 169, 81, 0.3);
  --gold-40: rgba(200, 169, 81, 0.4);
  --charcoal-10: rgba(51, 51, 51, 0.1);
  --charcoal-15: rgba(51, 51, 51, 0.15);
  --cream-85: rgba(245, 240, 232, 0.85);
  --cream-70: rgba(245, 240, 232, 0.7);
  --cream-60: rgba(245, 240, 232, 0.6);
  --cream-50: rgba(245, 240, 232, 0.5);
  --cream-40: rgba(245, 240, 232, 0.4);
  --font-serif: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-sans: 'Source Sans 3', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1280px;
  --radius: 2px;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.1;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  line-height: 1.5;
}

.btn-gold {
  background-color: var(--gold);
  color: #ffffff;
}

.btn-gold:hover {
  background-color: #b8963f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 169, 81, 0.3);
}

.btn-gold-outline {
  background-color: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-gold-outline:hover {
  background-color: var(--gold);
  color: #ffffff;
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn .arrow-icon {
  transition: transform 0.3s ease;
}

.btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */

.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s ease;
}

.site-navbar.scrolled {
  background-color: rgba(245, 240, 232, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 1024px) {
  .navbar-inner {
    height: 5rem;
  }
}

.site-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--cream);
  transition: color 0.5s ease;
}

.site-logo .gold {
  color: var(--gold);
}

.scrolled .site-logo {
  color: var(--charcoal);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color 0.5s ease;
}

.scrolled .nav-links .nav-link {
  color: var(--charcoal);
}

.nav-link:hover {
  opacity: 0.8;
}

.mobile-toggle {
  display: block;
  padding: 0.5rem;
  background: none;
  color: var(--cream);
  transition: color 0.5s ease;
}

.scrolled .mobile-toggle {
  color: var(--charcoal);
}

@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-nav {
  display: none;
  padding: 0.5rem;
  padding-bottom: 1.5rem;
  background-color: rgba(44, 44, 44, 0.95);
  border-radius: var(--radius);
}

.mobile-nav.open {
  display: block;
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav .nav-link {
  display: block;
  padding: 0.5rem 0;
  color: var(--cream);
}

.scrolled .mobile-nav {
  background-color: #333333;
}

.scrolled .mobile-nav .nav-link {
  color: var(--cream);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--charcoal);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-bg .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,44,44,0.95) 0%, rgba(44,44,44,0.7) 50%, rgba(44,44,44,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 3rem;
  }
  .hero-content {
    padding-top: 0;
    padding-bottom: 0;
  }
}

.hero-label {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-title { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 3.75rem; }
  .site-logo { font-size: 1.5rem; }
}

@media (min-width: 1280px) {
  .hero-title { font-size: 4.5rem; }
}

.hero-title .gold {
  color: var(--gold);
  position: relative;
  display: inline-block;
}

.hero-title .gold::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--gold);
  animation: goldUnderline 1s ease 1.2s forwards;
}

@keyframes goldUnderline {
  to { width: 100%; }
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--cream);
  opacity: 0.85;
  max-width: 36rem;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .hero-subtitle { font-size: 1.25rem; }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

.hero-meet-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--cream);
  opacity: 0.7;
}

.hero-meet-link svg {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.hero-byline {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--gold);
}

/* Hero portrait */
.hero-portrait {
  display: none;
  position: relative;
}

@media (min-width: 1024px) {
  .hero-portrait {
    display: block;
  }
}

.hero-portrait .frame {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
}

.hero-portrait .photo-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 580px;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-portrait .photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
}

.hero-portrait .badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  z-index: 20;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  background-color: var(--gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hero-portrait .badge-number {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--charcoal);
}

.hero-portrait .badge-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--charcoal);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  color: var(--gold);
}

/* ==========================================================================
   PAIN POINTS SECTION
   ========================================================================== */

.pain-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
}

@media (min-width: 1024px) {
  .pain-section { padding: 8rem 0; }
}

.grid-texture {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(rgba(44,44,44,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44,44,44,1) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.pain-grid {
  display: grid;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .pain-grid {
    grid-template-columns: 5fr 7fr;
  }
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .section-title { font-size: 2.25rem; }
}

@media (min-width: 1280px) {
  .section-title { font-size: 3rem; }
}

.section-title .gold {
  color: var(--gold);
}

.gold-divider {
  width: 4rem;
  height: 2px;
  background-color: var(--gold);
  margin-bottom: 2rem;
}

.body-text {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--charcoal);
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.body-text:last-child {
  margin-bottom: 0;
}

/* Stats cards */
.stat-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: var(--cream-light);
  border: 1px solid var(--gold-15);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .stat-card { padding: 2rem; }
}

.stat-icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gold-10);
}

.stat-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--gold);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--charcoal);
}

@media (min-width: 1024px) {
  .stat-number { font-size: 2.25rem; }
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--charcoal);
  opacity: 0.6;
  margin-top: 0.25rem;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-section {
  padding: 6rem 0;
  background-color: var(--charcoal);
}

@media (min-width: 1024px) {
  .about-section { padding: 8rem 0; }
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
  }
}

.about-portrait {
  position: relative;
}

.about-portrait .photo-wrap {
  position: relative;
  height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--gold-40);
}

.about-portrait .photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
}

.about-portrait .gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6rem;
  background: linear-gradient(to top, rgba(44,44,44,0.8), transparent);
}

.about-portrait .badge {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  z-index: 20;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  background-color: var(--gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.about-portrait .badge-number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
}

.about-portrait .badge-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--charcoal);
}

.about-text .section-title {
  color: var(--cream);
}

.about-text .body-text {
  color: var(--cream);
  opacity: 0.85;
}

/* ==========================================================================
   CALCULATOR / OPT-IN SECTION
   ========================================================================== */

.calculator-section {
  padding: 6rem 0;
  position: relative;
  background-color: var(--cream);
}

@media (min-width: 1024px) {
  .calculator-section { padding: 8rem 0; }
}

.calculator-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .calculator-grid {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
  }
}

.calculator-mockup {
  position: relative;
  order: 2;
}

@media (min-width: 1024px) {
  .calculator-mockup { order: 1; }
}

.calculator-mockup img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.calculator-mockup .free-badge {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.calculator-mockup .free-badge span {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--charcoal);
}

.calculator-form-area {
  order: 1;
}

@media (min-width: 1024px) {
  .calculator-form-area { order: 2; }
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.benefit-check {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gold);
  margin-top: 0.125rem;
}

.benefit-check svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--charcoal);
}

.benefit-text {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--charcoal);
}

/* Form */
.optin-form {
  max-width: 28rem;
  margin-top: 2.5rem;
}

.optin-form input[type="text"],
.optin-form input[type="email"] {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid var(--charcoal-15);
  background-color: var(--cream-light);
  color: var(--charcoal);
  margin-bottom: 1rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.optin-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.optin-form .privacy-note {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-align: center;
  color: var(--charcoal);
  opacity: 0.5;
  margin-top: 1rem;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-section {
  padding: 6rem 0;
  background-color: var(--cream-light);
}

@media (min-width: 1024px) {
  .testimonials-section { padding: 8rem 0; }
}

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--gold-20);
  background-color: var(--cream);
  position: relative;
}

.testimonial-card .quote-mark {
  font-family: var(--font-serif);
  font-size: 3.75rem;
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.3;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
  padding-top: 1rem;
}

.testimonial-stars svg {
  width: 1rem;
  height: 1rem;
  color: var(--gold);
  fill: var(--gold);
}

.testimonial-quote {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  font-style: italic;
  color: var(--charcoal);
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  border-top: 1px solid var(--charcoal-10);
  padding-top: 1rem;
}

.testimonial-name {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
}

.testimonial-role {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--charcoal);
  opacity: 0.6;
}

/* ==========================================================================
   MEMBERSHIP PREVIEW SECTION
   ========================================================================== */

.membership-section {
  padding: 6rem 0;
  background-color: var(--charcoal);
}

@media (min-width: 1024px) {
  .membership-section { padding: 8rem 0; }
}

.membership-header {
  text-align: center;
  margin-bottom: 4rem;
}

.membership-header .section-title {
  color: var(--cream);
}

.membership-header .section-subtitle {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  color: var(--cream);
  opacity: 0.7;
  max-width: 42rem;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.pricing-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card.featured {
  background-color: var(--cream-light);
  border: 2px solid var(--gold);
  transform: scale(1.02);
}

.pricing-card .popular-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  background-color: var(--gold);
  color: var(--charcoal);
}

.pricing-card .tier-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-card .tier-desc {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.pricing-card .tier-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.pricing-card .price-amount {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
}

.pricing-card .price-period {
  font-family: var(--font-sans);
  font-size: 0.875rem;
}

/* Default (dark bg) colors */
.pricing-card .tier-name { color: var(--cream); }
.pricing-card .tier-desc { color: var(--cream-60); }
.pricing-card .price-amount { color: var(--gold); }
.pricing-card .price-period { color: var(--cream-50); }

/* Featured (light bg) overrides */
.pricing-card.featured .tier-name { color: var(--charcoal); }
.pricing-card.featured .tier-desc { color: rgba(44, 44, 44, 0.6); }
.pricing-card.featured .price-amount { color: var(--charcoal); }
.pricing-card.featured .price-period { color: rgba(44, 44, 44, 0.5); }

.feature-list {
  list-style: none;
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.feature-list li svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
  color: var(--gold);
}

.feature-list li span {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--cream-85);
}

.pricing-card.featured .feature-list li span {
  color: var(--charcoal);
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */

.final-cta-section {
  padding: 6rem 0;
  background-color: var(--cream);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .final-cta-section { padding: 8rem 0; }
}

.final-cta-inner {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.final-cta-avatar {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  border: 4px solid var(--gold);
  overflow: hidden;
  margin: 0 auto 2rem;
}

.final-cta-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  padding: 3rem 0;
  background-color: var(--charcoal);
  border-top: 1px solid var(--gold-20);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
}

.footer-logo .gold {
  color: var(--gold);
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--cream);
  opacity: 0.5;
  margin-top: 0.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--cream);
  opacity: 0.6;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-copyright {
  text-align: right;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--cream);
  opacity: 0.4;
}

/* ==========================================================================
   THANK YOU PAGE
   ========================================================================== */

.thankyou-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--cream);
}

.thankyou-nav {
  padding: 1rem 0;
  border-bottom: 1px solid var(--gold-20);
}

.thankyou-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .thankyou-main { padding: 6rem 0; }
}

.thankyou-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: rgba(201, 168, 76, 0.15);
  margin-bottom: 1.5rem;
}

.thankyou-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--gold);
}

.cta-cards-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .cta-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.cta-card {
  display: block;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--gold-20);
  background-color: var(--cream-light);
  transition: all 0.3s ease;
}

.cta-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.cta-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gold-10);
  margin-bottom: 1.5rem;
}

.cta-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gold);
}

.cta-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.cta-card p {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--charcoal);
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.cta-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap 0.3s ease;
}

.cta-card:hover .card-link {
  gap: 0.75rem;
}

/* Scott message card */
.scott-message {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--gold-30);
  background-color: var(--charcoal);
}

.scott-message .avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 2px solid var(--gold);
  flex-shrink: 0;
  overflow: hidden;
}

.scott-message .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
}

.scott-message .message-text {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--cream);
  opacity: 0.9;
  margin-bottom: 0.75rem;
}

.scott-message .message-author {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
}

.back-link {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--charcoal);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.back-link:hover {
  opacity: 1;
}

.thankyou-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--charcoal-10);
  text-align: center;
}

.thankyou-footer p {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--charcoal);
  opacity: 0.4;
}

/* ==========================================================================
   SCROLL ANIMATIONS (IntersectionObserver)
   ========================================================================== */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }

/* ==========================================================================
   WORDPRESS SPECIFIC
   ========================================================================== */

/* Ensure WordPress admin bar doesn't break fixed nav */
.admin-bar .site-navbar {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-navbar {
    top: 46px;
  }
}

/* WordPress alignment classes */
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { display: block; margin: 0 auto; }
.alignwide { max-width: 1400px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(-50vw + 50%); }

/* Screen reader text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}


/* ==========================================================================
   BLOG LAYOUT & CARDS
   ========================================================================== */

.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr 320px;
  }
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-card {
  background: var(--cream-light);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--charcoal-10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(44, 44, 44, 0.08);
}

.blog-card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.blog-card-cat {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: var(--gold-10);
  padding: 0.25rem 0.625rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.blog-card-cat:hover {
  background: var(--gold-20);
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.blog-card-title a:hover {
  color: var(--gold);
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--charcoal);
  opacity: 0.7;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--charcoal);
  opacity: 0.45;
}

.blog-pagination {
  margin-top: 3rem;
  text-align: center;
}

.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  font-size: 0.875rem;
  border-radius: 6px;
  border: 1px solid var(--charcoal-10);
  background: var(--cream-light);
  transition: all 0.2s ease;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}

/* ==========================================================================
   SINGLE POST CONTENT
   ========================================================================== */

.blog-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--charcoal);
}

.blog-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}

.blog-content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.blog-content h4 {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.blog-content p {
  margin-bottom: 1.25rem;
}

.blog-content ul,
.blog-content ol {
  margin: 1rem 0 1.25rem 1.5rem;
}

.blog-content li {
  margin-bottom: 0.5rem;
}

.blog-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--gold-10);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}

.blog-content img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.blog-content a {
  color: var(--gold);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--gold-30);
  text-underline-offset: 2px;
}

.blog-content a:hover {
  text-decoration-color: var(--gold);
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}

.blog-content th,
.blog-content td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--charcoal-10);
}

.blog-content th {
  font-weight: 600;
  background: var(--gold-10);
}

.blog-content pre,
.blog-content code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.875rem;
}

.blog-content pre {
  background: var(--charcoal);
  color: var(--cream);
  padding: 1.25rem;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 1.5rem 0;
}

.blog-content code {
  background: var(--gold-10);
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
}

.blog-content pre code {
  background: none;
  padding: 0;
}

/* Inline CTA within posts */
.inline-cta {
  margin: 2.5rem 0;
}

.inline-cta-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--gold-10);
  border: 1px solid var(--gold-20);
  border-radius: var(--radius);
  padding: 2rem;
}

@media (min-width: 640px) {
  .inline-cta-img {
    display: block !important;
  }
}

/* Author bio box */
.author-bio-box {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--cream-light);
  border: 1px solid var(--charcoal-10);
  border-radius: var(--radius);
  margin: 2.5rem 0;
}

/* Post navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--charcoal-10);
}

.post-nav-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--charcoal);
  opacity: 0.45;
  margin-bottom: 0.25rem;
}

.post-nav-title {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.post-nav-link a:hover .post-nav-title {
  color: var(--gold);
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: var(--cream-light);
  border: 1px solid var(--charcoal-10);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.sidebar-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-cat-list li {
  border-bottom: 1px solid var(--charcoal-10);
}

.sidebar-cat-list li:last-child {
  border-bottom: none;
}

.sidebar-cat-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.625rem 0;
  font-size: 0.875rem;
}

.sidebar-cat-list a:hover {
  color: var(--gold);
}

.cat-count {
  font-size: 0.75rem;
  color: var(--charcoal);
  opacity: 0.4;
  background: var(--charcoal-10);
  padding: 0.125rem 0.5rem;
  border-radius: 10px;
}

/* ==========================================================================
   ABOUT PAGE — TIMELINE
   ========================================================================== */

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold-30);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-5px);
  box-shadow: 0 0 0 4px var(--gold-20);
}

.timeline-card {
  background: var(--cream-light);
  border: 1px solid var(--charcoal-10);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-10);
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.9375rem;
  color: var(--charcoal);
  opacity: 0.75;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .timeline {
    padding-left: 3rem;
  }

  .timeline-dot {
    left: -3rem;
  }
}

/* ==========================================================================
   CREDENTIALS GRID
   ========================================================================== */

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .credentials-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.credential-card {
  background: var(--cream-light);
  border: 1px solid var(--charcoal-10);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credential-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(44, 44, 44, 0.06);
}

.credential-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.credential-title {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.credential-desc {
  font-size: 0.75rem;
  color: var(--charcoal);
  opacity: 0.55;
}

/* ==========================================================================
   SUCCESS STORIES PAGE
   ========================================================================== */

.stats-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-block {
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.success-card {
  background: var(--cream-light);
  border: 1px solid var(--charcoal-10);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.success-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44, 44, 44, 0.06);
}

.success-card-quote {
  position: relative;
  margin-bottom: 1.5rem;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.4;
  position: absolute;
  top: -0.5rem;
  left: -0.25rem;
}

.success-card-quote .testimonial-quote {
  padding-left: 1.5rem;
}

.success-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--charcoal-10);
}

.success-result {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-10);
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
}

/* ==========================================================================
   LEGAL PAGE CONTENT
   ========================================================================== */

.legal-content {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--charcoal);
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  margin: 2.5rem 0 1rem;
}

.legal-content h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  margin: 2rem 0 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  opacity: 0.8;
}

.legal-content ul,
.legal-content ol {
  margin: 0.75rem 0 1rem 1.5rem;
  opacity: 0.8;
}

.legal-content li {
  margin-bottom: 0.375rem;
}

.legal-content a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: var(--gold-30);
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */

.search-form-404 {
  display: flex;
  gap: 0.5rem;
  max-width: 28rem;
  margin: 0 auto;
}

.search-input-404 {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--charcoal-10);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  background: var(--cream-light);
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s ease;
}

.search-input-404:focus {
  border-color: var(--gold);
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 280px 1fr;
  }
}

.contact-card {
  background: var(--cream-light);
  border: 1px solid var(--charcoal-10);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.native-contact-form .form-group {
  margin-bottom: 1.25rem;
}

.native-contact-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--charcoal);
  margin-bottom: 0.375rem;
}

.native-contact-form input,
.native-contact-form select,
.native-contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--charcoal-10);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  background: var(--cream-light);
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s ease;
}

.native-contact-form input:focus,
.native-contact-form select:focus,
.native-contact-form textarea:focus {
  border-color: var(--gold);
}

.native-contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-full {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}


/* ============================================================
   BRAND COLOR OVERRIDES — Hair Salon Pro
   ============================================================ */

/* Ensure ALL button text on coral/pink backgrounds is white */
.btn-gold,
.btn-gold:hover,
.btn-gold:focus,
.btn-gold:active,
.btn-gold-outline:hover,
.btn-gold-outline:focus,
.membership-section .btn-gold,
.pricing-card .btn-gold,
.cta-section .btn-gold,
.calculator-section .btn-gold,
.hero-section .btn-gold {
  color: #ffffff !important;
}

/* Benefit checkmark icons — coral */
.benefit-check,
.benefit-check svg,
.calculator-section svg.lucide-check,
.calculator-section .benefit-check {
  color: #C8A951 !important;
}

/* Ensure text in dark sections is readable */
.hero-section,
.hero-section h1,
.hero-section h2,
.hero-section p,
.hero-section .body-text,
.cta-section,
.cta-section h2,
.cta-section p,
.cta-section .body-text,
.site-footer,
.site-footer p,
.site-footer a,
.site-footer .footer-tagline {
  color: #F5F0E8;
}

/* Calculator section has a LIGHT (cream) background — text must be dark */
.calculator-section,
.calculator-section h2,
.calculator-section p,
.calculator-section .body-text,
.calculator-section .section-label,
.calculator-section .section-title,
.calculator-section .benefit-text {
  color: #333333;
}

/* Stats/numbers visibility on ALL pages including success/thank-you */
.stat-number,
.stat-label,
.stats-grid .stat-number,
.stats-grid .stat-label,
.success-stats .stat-number,
.success-stats .stat-label,
.hero-stats .stat-number,
.hero-stats .stat-label,
[class*="stat"] .stat-number,
[class*="stat"] .stat-label,
.thank-you .stat-number,
.thank-you .stat-label,
.success-section .stat-number,
.success-section .stat-label {
  color: #F5F0E8 !important;
}

/* Stats on light backgrounds should be dark */
.pain-section .stat-number,
.pain-section .stat-label,
.light-section .stat-number,
.light-section .stat-label {
  color: #333333 !important;
}

/* ============================================================
   MOBILE STICKY NAVIGATION
   ============================================================ */

/* Make the site header sticky on ALL devices */
.site-header {
  position: sticky !important;
  position: -webkit-sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
}

/* When WP admin bar is present, offset the sticky header */
.admin-bar .site-header {
  top: 32px !important;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px !important;
  }
}

@media (max-width: 600px) {
  .admin-bar .site-header {
    top: 0 !important;
  }
}

/* Ensure mobile menu overlay is above everything */
@media (max-width: 768px) {
  .site-header {
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
  }
  
  .mobile-menu,
  .nav-menu {
    z-index: 10000 !important;
  }
}

/* ============================================================
   ADDITIONAL VISIBILITY FIXES
   ============================================================ */

/* Quote section on About page */
.quote-section,
.quote-section blockquote,
.quote-section p,
.quote-section .quote-text,
.quote-section .quote-author {
  color: #F5F0E8 !important;
}

/* Pricing card amounts should be coral on light cards */
.pricing-card .price-amount {
  color: #C8A951 !important;
}

/* Feature list check icons */
.feature-list svg,
.feature-check svg,
.benefit-item svg,
.calculator-features svg,
svg.lucide-check {
  color: #C8A951 !important;
  stroke: currentColor !important;
}

/* Membership comparison table checkmarks */
.comparison-table svg,
.comparison-check svg {
  color: #C8A951 !important;
}

/* MOST POPULAR badge */
.popular-badge,
.badge-popular,
[class*="popular"] {
  background-color: #C8A951 !important;
  color: #ffffff !important;
}

/* Section labels (uppercase small text) */
.section-label {
  color: #C8A951;
}

/* Dark background section labels should stay coral */
.hero-section .section-label,
.calculator-section .section-label,
.cta-section .section-label {
  color: #C8A951 !important;
}

/* ==========================================================================
   HSP CONSOLIDATED FIXES — 2026-04-09 (theme rebuild)
   Replaces 5 prior overlapping fix blocks.
   Strategy: navbar scroll-state is now driven by PHP (permanent .scrolled on
   inner pages) + JS (homepage toggle only). CSS below is minimal, uses base
   selectors, and avoids !important where possible.
   ========================================================================== */

/* 1. MOBILE OVERFLOW — prevent horizontal scroll
   Use overflow-x: clip on html ONLY. Never set overflow on both html and body.
   Setting overflow-x: hidden on body forces overflow-y to auto, which creates
   a second scroll container nested inside html and breaks scroll rendering on
   every page (the viewport renders blank cream when the user scrolls). Using
   `clip` instead of `hidden` also avoids creating a new scroll context.
   Body must remain its default (visible) so the document scrolls normally. */
html {
  overflow-x: clip;
}
body {
  max-width: 100%;
}
img,
video,
iframe,
embed,
object {
  max-width: 100%;
}
@media (max-width: 767px) {
  .alignfull,
  .alignwide {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  section,
  .hero-section,
  .pain-section,
  .calculator-section,
  .about-section,
  .pricing-section,
  .testimonials-section,
  .final-cta-section,
  .membership-section {
    overflow-x: hidden;
    max-width: 100vw;
  }
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* 2. SCROLL ANIMATIONS — never hide content. fade-up's visible state is
   added by JS via IntersectionObserver, but we guarantee readability even
   if the observer fails (e.g., WP Rocket delays main.js past paint). */
.fade-up,
.fade-left,
.fade-right,
.fade-in {
  opacity: 1;
  transform: none;
}

/* 3. NAV LOGO — scroll state drives color. Homepage transparent nav (no
   .scrolled) shows cream logo over hero; inner pages are always .scrolled
   (added via PHP in navbar.php) and show dark logo on cream bar. */
.site-logo {
  color: var(--cream);
}
.site-logo .gold {
  color: var(--gold);
}
.site-navbar.scrolled .site-logo {
  color: var(--charcoal);
}
.site-navbar.scrolled .site-logo .gold {
  color: var(--gold);
}

/* 4. NAV LINKS follow the same scroll-state pattern (desktop only) */
.site-navbar:not(.scrolled) .nav-links .nav-link {
  color: var(--cream);
}
.site-navbar.scrolled .nav-links .nav-link {
  color: var(--charcoal);
}
/* Mobile nav links always cream on dark background, regardless of scroll state */
.mobile-nav .nav-link {
  color: var(--cream) !important;
}

/* 5. MOBILE TOGGLE — inherits currentColor from nav state */
.mobile-toggle {
  color: var(--cream);
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.site-navbar.scrolled .mobile-toggle {
  color: var(--charcoal);
}

/* CSS-only mobile menu: hidden checkbox + :checked selector.
   WP Rocket cannot interfere with pure CSS. */
.nav-checkbox {
  display: none !important;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Hamburger/X icon swap via checkbox state */
.mobile-toggle .close-icon { display: none; }
.mobile-toggle .hamburger-icon { display: block; }
.nav-checkbox:checked ~ .container .mobile-toggle .close-icon { display: block; }
.nav-checkbox:checked ~ .container .mobile-toggle .hamburger-icon { display: none; }

/* 6. MOBILE NAV PANEL — driven by checkbox :checked, no JS needed */
@media (max-width: 767px) {
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
  }
  .nav-links {
    display: none;
  }
  .mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #333333;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 99;
    flex-direction: column;
    gap: 0.75rem;
  }
  /* CSS-only toggle: checkbox checked shows mobile nav */
  .nav-checkbox:checked ~ .mobile-nav {
    display: flex !important;
  }
  /* Legacy JS toggle kept as fallback */
  .mobile-nav.open {
    display: flex;
  }
  .scrolled .mobile-nav {
    background-color: #333333;
  }
  .mobile-nav .nav-link {
    color: var(--cream);
    font-size: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: block;
  }
  .mobile-nav .btn {
    width: 100%;
    text-align: center;
    margin-top: 0.75rem;
  }
}

/* 7. HOMEPAGE HERO MOBILE LAYOUT */
@media (max-width: 767px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-portrait {
    display: none;
  }
  .hero-content {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions a,
  .hero-actions button {
    width: 100%;
    text-align: center;
  }
}

/* 8. PRICING CARDS — featured (Pro) card has light bg, dark text;
   non-featured (Free) card has dark bg, cream text.
   !important required because legacy wp-custom-css has section-level
   color overrides that were cascading into the featured card. */
.pricing-card.featured,
.pricing-card.featured h2,
.pricing-card.featured h3,
.pricing-card.featured h4,
.pricing-card.featured p,
.pricing-card.featured li,
.pricing-card.featured span:not(.gold),
.pricing-card.featured .feature-list li,
.pricing-card.featured .feature-list li span,
.pricing-card.featured .price-amount,
.pricing-card.featured .price-period,
.pricing-card.featured .tier-name,
.pricing-card.featured .tier-desc {
  color: var(--charcoal) !important;
}
.pricing-card.featured .gold,
.pricing-card.featured .price-amount .gold,
.pricing-card.featured span.gold {
  color: var(--gold) !important;
}
.pricing-card.featured .btn-gold {
  color: var(--charcoal) !important;
}

/* 9. MEMBERSHIP COMPARISON TABLE — readable text, no phantom columns */
.membership-section table,
.pain-section table {
  color: var(--charcoal);
}
.membership-section table th,
.pain-section table th {
  color: var(--charcoal);
}
.membership-section table td,
.pain-section table td {
  color: var(--charcoal);
}

/* 10. CALCULATOR POPUP / MODAL — ensure dark text on light background */
.calc-popup,
.calc-modal,
#calculator-popup,
.popup-content,
.modal-content {
  background-color: var(--cream);
  color: var(--charcoal);
}
.calc-popup h2,
.calc-popup h3,
.calc-popup p,
.calc-popup label,
.calc-popup li,
.calc-modal h2,
.calc-modal h3,
.calc-modal p,
.calc-modal label,
.calc-modal li,
#calculator-popup h2,
#calculator-popup h3,
#calculator-popup p,
#calculator-popup label,
#calculator-popup li {
  color: var(--charcoal);
}

/* ==========================================================================
   MOBILE RESPONSIVENESS FIXES — 2026-04-12
   Calculator mockup in hero, AI team cards, about page sections
   ========================================================================== */

/* 11. CALCULATOR MOCKUP IN HERO — show on mobile (was hidden when portrait) */
@media (max-width: 767px) {
  .hero-calculator-wrap {
    display: block !important;
    max-width: 260px;
    margin: 1rem auto 0;
  }
  .hero-calculator-wrap .photo-wrap {
    height: auto !important;
    border: none;
  }
  .hero-calculator-wrap .photo-wrap img {
    height: auto !important;
    object-fit: contain;
    padding: 1rem !important;
  }
  .hero-calculator-wrap .frame {
    display: none;
  }
  .hero-calculator-wrap .badge {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--gold);
    border-radius: var(--radius);
  }
  .hero-calculator-wrap .badge-number,
  .hero-calculator-wrap .badge-label {
    font-size: 0.75rem;
  }
}

/* 12. AI TEAM CARDS — single column on small phones, 2 columns on larger phones */
@media (max-width: 480px) {
  #sage-section .container > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* 13. ABOUT PAGE — portrait height on mobile */
@media (max-width: 767px) {
  .about-portrait .photo-wrap {
    height: 380px;
  }
}

/* 14. CREDENTIALS GRID — single column on very small screens */
@media (max-width: 400px) {
  .credentials-grid {
    grid-template-columns: 1fr;
  }
}

/* 15. SUCCESS STORIES — footer stacks on mobile */
@media (max-width: 480px) {
  .success-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .success-card {
    padding: 1.25rem;
  }
}

/* 16. STATS ROW — stack on very small screens */
@media (max-width: 480px) {
  .stats-row {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* 17. HERO TEXT — tighter on mobile */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem !important;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-content {
    padding-top: 6rem;
    padding-bottom: 3rem;
  }
}

/* 18. CTA BUTTONS — full width on mobile */
@media (max-width: 480px) {
  .final-cta-inner .btn {
    width: 100%;
    text-align: center;
  }
}