/* ==========================================================================
   PROPFIX-INSPIRED DESIGN SYSTEM FOR CREATE AND ARISE
   Faithfully recreates the layout, component hierarchy, card styles,
   and interactive flow of PropFix.ie while preserving Create and Arise's
   Radiant Amber Gold, Royal Purple, and Obsidian Dark brand palette.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & PropFix Layout Utilities
   -------------------------------------------------------------------------- */
:root {
  --pf-primary: #f59e0b;
  /* Amber Gold (PropFix Green equivalent) */
  --pf-primary-hover: #d97706;
  /* Darker Amber Gold */
  --pf-primary-light: #fbbf24;
  /* Light Gold */
  --pf-primary-rgb: 245, 158, 11;
  --pf-primary-soft: rgba(245, 158, 11, 0.12);
  --pf-primary-border: rgba(245, 158, 11, 0.3);

  --pf-secondary: #8b5cf6;
  /* Royal Purple Accent */
  --pf-accent: #06b6d4;
  /* Cyan Highlight */

  --pf-navy-dark: #07090e;
  /* Deep Obsidian / Dark Hero & Nav */
  --pf-navy-card: #0f131f;
  /* Deep Slate Card Surface */
  --pf-navy-subtle: #181d2e;
  /* Card borders & elevated containers */
  --pf-card-border: rgba(255, 255, 255, 0.08);

  --pf-light-bg: #f8fafc;
  /* PropFix Light Sections */
  --pf-light-surface: #ffffff;
  /* White Card Surface */
  --pf-light-border: #e2e8f0;
  /* Light border */
  --pf-light-text: #0f172a;
  /* Deep slate text on light */
  --pf-light-muted: #64748b;
  /* Muted text on light */

  --pf-radius-sm: 8px;
  --pf-radius-md: 14px;
  --pf-radius-lg: 20px;
  --pf-radius-full: 9999px;

  --pf-shadow-card: 0 10px 30px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --pf-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12), 0 0 25px rgba(245, 158, 11, 0.15);
  --pf-shadow-quiz: 0 25px 60px rgba(0, 0, 0, 0.45);
}

/* --------------------------------------------------------------------------
   2. Master Fixed Header (Top Info Bar + Main Navbar)
   Keeps the complete header stationary at top of screen while scrolling
   -------------------------------------------------------------------------- */
:root {
  --site-header-height: 114px;
}

@media (max-width: 960px) {
  :root {
    --site-header-height: 108px;
  }
}

@media (max-width: 768px) {
  :root {
    --site-header-height: 98px;
  }
}

.site-header-master {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease;
  overflow: visible !important;
}

[data-theme="light"] .site-header-master {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.site-header-master .top-announcement-bar {
  width: 100%;
  flex-shrink: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header-master .site-header {
  position: relative !important;
  top: auto !important;
  width: 100% !important;
  z-index: 100 !important;
  background: rgba(7, 9, 14, 0.94) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  height: auto !important;
  min-height: 74px !important;
  overflow: visible !important;
}

[data-theme="light"] .site-header-master .site-header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

/* Offset main page container so fixed navbar never covers headings/content */
.app-view-container {
  padding-top: var(--site-header-height, 114px) !important;
}

.site-header .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem clamp(1rem, 3vw, 2.5rem);
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  overflow: hidden;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text .brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--text-main);
  display: block;
}

.brand-text .brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: block;
}

/* Nav Links Centered (PropFix Style) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.55rem 0.95rem;
  border-radius: var(--pf-radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
}

[data-theme="light"] .nav-link {
  color: #334155;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary) !important;
  background: rgba(245, 158, 11, 0.08);
}

.nav-link-dropdown-wrap {
  position: relative;
  display: inline-block;
}

.dropdown-chevron-icon {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.nav-link-dropdown-wrap:hover .dropdown-chevron-icon,
.nav-link-dropdown-wrap.open .dropdown-chevron-icon {
  transform: rotate(180deg);
}

.nav-link-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 250px;
  background: #111422;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--pf-radius-md);
  padding: 0.5rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), 0 0 20px rgba(245, 158, 11, 0.08);
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 1002;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .nav-link-dropdown-menu {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12), 0 0 20px rgba(245, 158, 11, 0.05);
}

.nav-link-dropdown-wrap:hover .nav-link-dropdown-menu,
.nav-link-dropdown-wrap:focus-within .nav-link-dropdown-menu,
.nav-link-dropdown-wrap.open .nav-link-dropdown-menu {
  display: flex !important;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item-link {
  padding: 0.6rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--pf-radius-sm);
  transition: all 0.2s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
}

[data-theme="light"] .dropdown-item-link {
  color: #334155;
}

.dropdown-item-link:hover {
  background: rgba(245, 158, 11, 0.12);
  color: var(--color-primary);
  transform: translateX(3px);
}

.dropdown-item-link-all {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  margin-top: 0.25rem !important;
  padding-top: 0.55rem !important;
  color: var(--color-primary) !important;
  font-weight: 700 !important;
}

[data-theme="light"] .dropdown-item-link-all {
  border-top-color: rgba(0, 0, 0, 0.08) !important;
}

/* Header Action Pill CTA Button (PropFix Green -> Radiant Amber Gold) */
.btn-propfix-quote {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #07090e !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  padding: 0.65rem 1.4rem !important;
  border-radius: var(--pf-radius-full) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  white-space: nowrap;
}

.btn-propfix-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5) !important;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
}

.btn-propfix-quote svg {
  transition: transform 0.2s ease;
}

.btn-propfix-quote:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   3. PropFix Hero Layout (Split 2-Column: Left Copy + Right Interactive Quiz)
   -------------------------------------------------------------------------- */
.pf-hero-section {
  position: relative;
  background: #080a10;
  background-image:
    radial-gradient(ellipse at 85% 20%, rgba(245, 158, 11, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .pf-hero-section {
  background: #0e121e;
  /* Keep Hero atmospheric dark matching PropFix's dark hero with white quiz card */
  color: #ffffff;
}

.pf-hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

@media (max-width: 1024px) {
  .pf-hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Left Column */
.pf-hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pf-eyebrow {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pf-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0;
}

.pf-hero-title .pf-accent-word {
  color: var(--color-primary);
  display: block;
}

.pf-hero-desc {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin: 0.25rem 0 0.5rem;
}

/* Checklist Items with Checkmarks (PropFix Style) */
.pf-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  padding: 0;
  margin: 0.5rem 0 1rem;
}

.pf-check-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.pf-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Google Review Rating Badge (PropFix Exact Style) */
.pf-google-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--pf-radius-md);
  padding: 0.85rem 1.25rem;
  width: fit-content;
  backdrop-filter: blur(10px);
}

.pf-google-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: #4285f4;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.pf-google-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pf-google-stars-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pf-stars {
  color: #fbbf24;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
}

.pf-score {
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
}

.pf-google-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
}

.pf-google-subtext {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   4. Right Column: Interactive Multi-Step Free Quote Quiz Card (PropFix Signature)
   -------------------------------------------------------------------------- */
.pf-quiz-card {
  background: #ffffff;
  color: #0f172a;
  border-radius: var(--pf-radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  box-shadow: var(--pf-shadow-quiz);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.pf-quiz-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pf-quiz-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.pf-quiz-subtitle {
  font-size: 0.84rem;
  color: #64748b;
}

/* Quiz Progress Bar */
.pf-quiz-progress-wrap {
  width: 100%;
  height: 6px;
  background: #f1f5f9;
  border-radius: var(--pf-radius-full);
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
}

.pf-quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #d97706);
  border-radius: var(--pf-radius-full);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  width: 33.33%;
}

.pf-step-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d97706;
  margin-bottom: 0.75rem;
  display: block;
}

/* Step 1: Services Grid */
.pf-quiz-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.pf-service-option-card {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: var(--pf-radius-md);
  padding: 1.15rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.pf-service-option-card:hover {
  border-color: var(--color-primary);
  background: rgba(245, 158, 11, 0.06);
  transform: translateY(-2px);
}

.pf-service-option-card.selected {
  border-color: var(--color-primary);
  background: rgba(245, 158, 11, 0.12);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.pf-service-opt-icon {
  font-size: 1.85rem;
  line-height: 1;
}

.pf-service-opt-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

/* Step 2: Timeline Pill Options */
.pf-timeline-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.pf-pill-option {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: var(--pf-radius-md);
  padding: 0.9rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pf-pill-option:hover {
  border-color: var(--color-primary);
  background: rgba(245, 158, 11, 0.06);
}

.pf-pill-option.selected {
  border-color: var(--color-primary);
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

/* Step 3: Form Fields */
.pf-quiz-fields-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.pf-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 540px) {
  .pf-form-row-2 {
    grid-template-columns: 1fr;
  }
}

.pf-input-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--pf-radius-sm);
  font-size: 0.9rem;
  background: #f8fafc;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.pf-input-control:focus {
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.pf-textarea-control {
  min-height: 80px;
  resize: vertical;
}

.pf-quiz-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.pf-btn-back {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.7rem 1.15rem;
  border-radius: var(--pf-radius-sm);
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.pf-btn-back:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.pf-btn-submit {
  flex: 1;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #07090e;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: var(--pf-radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.pf-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}

/* --------------------------------------------------------------------------
   5. PropFix Section Styles (Clean Light Backgrounds & Crisp Headings)
   -------------------------------------------------------------------------- */
.pf-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  position: relative;
}

.pf-section-light {
  background: #ffffff;
  color: #0f172a;
}

[data-theme="dark"] .pf-section-light {
  background: #0d0f18;
  color: #f8fafc;
}

.pf-section-slate {
  background: #f8fafc;
  color: #0f172a;
}

[data-theme="dark"] .pf-section-slate {
  background: #090b12;
  color: #f8fafc;
}

.pf-section-dark {
  background: #080a10;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pf-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.pf-section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
  line-height: 1.18;
}

.pf-section-desc {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: #64748b;
  line-height: 1.65;
  margin: 0 auto;
}

[data-theme="dark"] .pf-section-desc {
  color: #94a3b8;
}

.pf-dot {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   6. PropFix About Section
   -------------------------------------------------------------------------- */
.pf-about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

@media (max-width: 900px) {
  .pf-about-grid {
    grid-template-columns: 1fr;
  }
}

.pf-about-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
}

[data-theme="dark"] .pf-about-text {
  color: #cbd5e1;
}

.pf-about-cards-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pf-about-feature-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--pf-radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  transition: all 0.25s ease;
}

[data-theme="dark"] .pf-about-feature-box {
  background: #141726;
  border-color: rgba(255, 255, 255, 0.08);
}

.pf-about-feature-box:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.pf-feature-box-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   7. PropFix Services Cards Grid (Exact PropFix Card Structure)
   -------------------------------------------------------------------------- */
.pf-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.5rem, 2.5vw, 2rem);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

.pf-service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--pf-radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--pf-shadow-card);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .pf-service-card {
  background: #121524;
  border-color: rgba(255, 255, 255, 0.08);
}

.pf-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pf-shadow-hover);
  border-color: var(--color-primary);
}

.pf-badge-top-right {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #07090e;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--pf-radius-full);
}

.pf-service-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

[data-theme="dark"] .pf-service-card-title {
  color: #ffffff;
}

.pf-service-card-desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #64748b;
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .pf-service-card-desc {
  color: #94a3b8;
}

.pf-highlights-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.85rem;
}

[data-theme="dark"] .pf-highlights-title {
  color: #ffffff;
}

.pf-highlights-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
  padding: 0;
  flex-grow: 1;
}

.pf-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #334155;
  font-weight: 500;
}

[data-theme="dark"] .pf-highlight-item {
  color: #cbd5e1;
}

.pf-bullet-icon {
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.pf-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

[data-theme="dark"] .pf-card-actions {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.pf-btn-card-quote {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #07090e;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.6rem 1.15rem;
  border-radius: var(--pf-radius-full);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pf-btn-card-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.pf-link-details {
  font-size: 0.84rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
  cursor: pointer;
}

.pf-link-details:hover {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   8. High-Impact CTA Banner (PropFix Style)
   -------------------------------------------------------------------------- */
.pf-cta-banner-section {
  background: linear-gradient(135deg, #101322 0%, #080a10 100%);
  border-top: 1px solid rgba(245, 158, 11, 0.2);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pf-cta-banner-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  position: relative;
  z-index: 2;
}

.pf-cta-banner-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.pf-cta-banner-desc {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.75rem;
}

/* --------------------------------------------------------------------------
   9. "How It Works" Section (Grid Background & Numbered Badges)
   -------------------------------------------------------------------------- */
.pf-how-it-works-section {
  background-color: #f8fafc;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

[data-theme="dark"] .pf-how-it-works-section {
  background-color: #0b0d16;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.pf-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

@media (max-width: 768px) {
  .pf-steps-grid {
    grid-template-columns: 1fr;
  }
}

.pf-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--pf-radius-lg);
  padding: 2.25rem 2rem;
  position: relative;
  box-shadow: var(--pf-shadow-card);
  transition: all 0.25s ease;
}

[data-theme="dark"] .pf-step-card {
  background: #141726;
  border-color: rgba(255, 255, 255, 0.08);
}

.pf-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--pf-shadow-hover);
}

.pf-step-num-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #07090e;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.pf-step-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.65rem;
}

[data-theme="dark"] .pf-step-title {
  color: #ffffff;
}

.pf-step-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #64748b;
}

[data-theme="dark"] .pf-step-desc {
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   10. "Why Choose Create and Arise?" Section (8 Dark Cards Grid)
   -------------------------------------------------------------------------- */
.pf-why-section {
  background: #090c14;
  color: #ffffff;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.pf-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

@media (max-width: 1100px) {
  .pf-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pf-why-grid {
    grid-template-columns: 1fr;
  }
}

.pf-why-card {
  background: #111524;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--pf-radius-lg);
  padding: 1.85rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.pf-why-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  background: #161b2e;
}

.pf-why-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.pf-why-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.pf-why-desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #e2e8f0;
}

/* --------------------------------------------------------------------------
   11. Statistics Counter Bar (PropFix Exact Style)
   -------------------------------------------------------------------------- */
.pf-stats-bar-section {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 3rem 0;
}

[data-theme="dark"] .pf-stats-bar-section {
  background: #0f121e;
  border-color: rgba(255, 255, 255, 0.08);
}

.pf-stats-bar-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

@media (max-width: 600px) {
  .pf-stats-bar-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.pf-stat-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 4.5vw, 3.6rem);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.pf-stat-lbl {
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
}

[data-theme="dark"] .pf-stat-lbl {
  color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   12. Team & Showcase Visual Grid ("Local Experts. Quality Work.")
   -------------------------------------------------------------------------- */
.pf-showcase-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: repeat(2, 240px);
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto 2.5rem;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

@media (max-width: 900px) {
  .pf-showcase-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

.pf-showcase-card {
  position: relative;
  border-radius: var(--pf-radius-lg);
  overflow: hidden;
  box-shadow: var(--pf-shadow-card);
}

.pf-showcase-card.large {
  grid-row: span 2;
  min-height: 450px;
}

.pf-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pf-showcase-card:hover .pf-showcase-img {
  transform: scale(1.04);
}

.pf-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 9, 14, 0.9) 0%, rgba(7, 9, 14, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 1.75rem;
  color: #ffffff;
}

.pf-showcase-tag {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.pf-showcase-headline {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   13. Testimonials / Reviews Section (PropFix Exact Style)
   -------------------------------------------------------------------------- */
.pf-testimonials-section {
  background: #080a12;
  background-image: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  color: #ffffff;
}

.pf-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

@media (max-width: 900px) {
  .pf-reviews-grid {
    grid-template-columns: 1fr;
  }
}

.pf-review-card {
  background: #ffffff;
  color: #0f172a;
  border-radius: var(--pf-radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  transition: transform 0.25s ease;
}

.pf-review-card:hover {
  transform: translateY(-4px);
}

.pf-review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.pf-review-quote-mark {
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
  color: rgba(245, 158, 11, 0.4);
}

.pf-review-text {
  font-size: 0.96rem;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-style: italic;
}

.pf-review-author {
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
}

.pf-review-location {
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.pf-review-service-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #b45309;
  background: rgba(245, 158, 11, 0.14);
  padding: 0.25rem 0.65rem;
  border-radius: var(--pf-radius-full);
}

/* --------------------------------------------------------------------------
   14. Articles & Case Studies Section
   -------------------------------------------------------------------------- */
.pf-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

@media (max-width: 900px) {
  .pf-articles-grid {
    grid-template-columns: 1fr;
  }
}

.pf-article-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--pf-radius-lg);
  overflow: hidden;
  box-shadow: var(--pf-shadow-card);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

[data-theme="dark"] .pf-article-card {
  background: #141726;
  border-color: rgba(255, 255, 255, 0.08);
}

.pf-article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--pf-shadow-hover);
  border-color: var(--color-primary);
}

.pf-article-img-wrap {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.pf-article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pf-article-card:hover .pf-article-img {
  transform: scale(1.06);
}

.pf-article-cat-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #07090e;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--pf-radius-full);
}

.pf-article-body {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pf-article-date {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .pf-article-date {
  color: #94a3b8;
}

.pf-article-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

[data-theme="dark"] .pf-article-title {
  color: #ffffff;
}

.pf-article-read-more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.pf-article-read-more:hover {
  gap: 0.65rem;
}

/* --------------------------------------------------------------------------
   15. PropFix Comprehensive 4-Column Footer
   -------------------------------------------------------------------------- */
.pf-footer {
  background: #06080d;
  color: rgba(255, 255, 255, 0.75);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pf-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  max-width: var(--max-width);
  margin: 0 auto 3.5rem;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

@media (max-width: 1024px) {
  .pf-footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pf-footer-top {
    grid-template-columns: 1fr;
  }
}

.pf-footer-col-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.pf-footer-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.85rem;
}

.pf-footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0;
}

.pf-footer-link {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.pf-footer-link:hover {
  color: var(--color-primary);
  transform: translateX(3px);
}

.pf-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.pf-footer-contact-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pf-footer-contact-item a:hover {
  color: var(--color-primary);
}

.pf-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  padding-right: clamp(1rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.pf-footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.pf-footer-legal-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pf-footer-legal-links a:hover {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   16. PropFix Modal Overlay Popup (#getquote)
   -------------------------------------------------------------------------- */
.pf-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 10, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.pf-popup-overlay.show-popup {
  display: flex;
  opacity: 1;
}

.pf-popup-box {
  background: #ffffff;
  color: #0f172a;
  border-radius: var(--pf-radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  width: 100%;
  max-width: 580px;
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-popup-overlay.show-popup .pf-popup-box {
  transform: translateY(0);
}

.pf-popup-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.pf-popup-close:hover {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   17. Comprehensive High Contrast & Visibility System (WCAG AAA Compliant)
   Ensures 100% visible, crystal-clear typography across all sections & themes.
   -------------------------------------------------------------------------- */

/* A. Sticky Header & Announcement Bar Visibility */
.site-header .brand-name {
  color: var(--text-main) !important;
  font-weight: 800 !important;
}

[data-theme="light"] .site-header .brand-name {
  color: #0f172a !important;
}

[data-theme="dark"] .site-header .brand-name {
  color: #ffffff !important;
}

.site-header .nav-link {
  font-weight: 600 !important;
}

[data-theme="light"] .site-header .nav-link {
  color: #1e293b !important;
}

[data-theme="dark"] .site-header .nav-link {
  color: #f8fafc !important;
}

[data-theme="light"] .site-header .nav-link:hover,
[data-theme="light"] .site-header .nav-link.active {
  color: #b45309 !important;
  background: rgba(245, 158, 11, 0.12) !important;
}

[data-theme="dark"] .site-header .nav-link:hover,
[data-theme="dark"] .site-header .nav-link.active {
  color: #fbbf24 !important;
  background: rgba(245, 158, 11, 0.15) !important;
}

.top-announcement-bar {
  font-weight: 500 !important;
}

[data-theme="light"] .top-announcement-bar {
  color: #0f172a !important;
}

[data-theme="dark"] .top-announcement-bar {
  color: #f1f5f9 !important;
}

/* B. Hero Section High-Contrast Typography */
.pf-hero-section {
  color: #ffffff !important;
}

.pf-hero-section .pf-eyebrow {
  color: #fbbf24 !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.pf-hero-section .pf-hero-title,
.pf-hero-section h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.pf-hero-section .pf-accent-word {
  color: #f59e0b !important;
}

.pf-hero-section .pf-hero-desc,
.pf-hero-desc {
  color: #f1f5f9 !important;
  font-weight: 400 !important;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem) !important;
  line-height: 1.75 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.pf-checklist .pf-check-item {
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
}

.pf-google-badge {
  background: rgba(18, 22, 36, 0.75) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.pf-google-badge .pf-score {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.pf-google-badge .pf-google-text {
  color: #f8fafc !important;
  font-weight: 600 !important;
}

.pf-google-badge .pf-google-subtext {
  color: #cbd5e1 !important;
  font-weight: 500 !important;
}

/* C. Interactive Quiz Card High Contrast (Ensures Crisp Slate on White) */
.pf-quiz-card {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35) !important;
}

.pf-quiz-title {
  color: #0f172a !important;
  font-weight: 800 !important;
}

.pf-quiz-subtitle {
  color: #334155 !important;
  font-weight: 500 !important;
}

.pf-step-label {
  color: #b45309 !important;
  font-weight: 800 !important;
}

.pf-service-opt-name {
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
}

.pf-service-option-card {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
}

.pf-service-option-card:hover {
  background: #fffbeb !important;
  border-color: #f59e0b !important;
}

.pf-service-option-card.selected {
  background: #fef3c7 !important;
  border-color: #d97706 !important;
}

.pf-pill-option {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
}

.pf-pill-option:hover {
  background: #fffbeb !important;
  border-color: #f59e0b !important;
}

.pf-pill-option.selected {
  background: #fef3c7 !important;
  border-color: #d97706 !important;
  color: #92400e !important;
}

.pf-input-control {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #94a3b8 !important;
  font-weight: 600 !important;
}

.pf-input-control::placeholder {
  color: #64748b !important;
  font-weight: 400 !important;
}

.pf-btn-back {
  background: #e2e8f0 !important;
  color: #1e293b !important;
  font-weight: 700 !important;
}

.pf-btn-back:hover {
  background: #cbd5e1 !important;
  color: #0f172a !important;
}

.pf-btn-submit {
  color: #07090e !important;
  font-weight: 800 !important;
}

/* D. About Section Visibility */
[data-theme="light"] .pf-about-section .pf-section-title,
[data-theme="light"] #about-us-section .pf-section-title {
  color: #0f172a !important;
}

[data-theme="dark"] .pf-about-section .pf-section-title,
[data-theme="dark"] #about-us-section .pf-section-title {
  color: #ffffff !important;
}

[data-theme="light"] .pf-about-text,
[data-theme="light"] .pf-about-text p {
  color: #1e293b !important;
  font-weight: 400 !important;
}

[data-theme="dark"] .pf-about-text,
[data-theme="dark"] .pf-about-text p {
  color: #f1f5f9 !important;
  font-weight: 400 !important;
}

[data-theme="light"] .pf-about-feature-box h4 {
  color: #0f172a !important;
  font-weight: 800 !important;
}

[data-theme="light"] .pf-about-feature-box p {
  color: #334155 !important;
  font-weight: 500 !important;
}

[data-theme="dark"] .pf-about-feature-box h4 {
  color: #ffffff !important;
  font-weight: 800 !important;
}

[data-theme="dark"] .pf-about-feature-box p {
  color: #e2e8f0 !important;
  font-weight: 400 !important;
}

/* E. Services Section Visibility */
[data-theme="light"] .pf-services-section .pf-section-title,
[data-theme="light"] #services-section .pf-section-title {
  color: #0f172a !important;
}

[data-theme="dark"] .pf-services-section .pf-section-title,
[data-theme="dark"] #services-section .pf-section-title {
  color: #ffffff !important;
}

[data-theme="light"] .pf-services-section .pf-section-desc,
[data-theme="light"] #services-section .pf-section-desc {
  color: #334155 !important;
  font-weight: 500 !important;
}

[data-theme="dark"] .pf-services-section .pf-section-desc,
[data-theme="dark"] #services-section .pf-section-desc {
  color: #cbd5e1 !important;
  font-weight: 400 !important;
}

[data-theme="light"] .pf-service-card-title {
  color: #0f172a !important;
  font-weight: 800 !important;
}

[data-theme="dark"] .pf-service-card-title {
  color: #ffffff !important;
  font-weight: 800 !important;
}

[data-theme="light"] .pf-service-card-desc {
  color: #334155 !important;
  font-weight: 500 !important;
}

[data-theme="dark"] .pf-service-card-desc {
  color: #e2e8f0 !important;
  font-weight: 400 !important;
}

[data-theme="light"] .pf-highlights-title {
  color: #0f172a !important;
  font-weight: 800 !important;
}

[data-theme="dark"] .pf-highlights-title {
  color: #ffffff !important;
  font-weight: 800 !important;
}

[data-theme="light"] .pf-highlight-item {
  color: #0f172a !important;
  font-weight: 600 !important;
}

[data-theme="dark"] .pf-highlight-item {
  color: #f8fafc !important;
  font-weight: 500 !important;
}

[data-theme="light"] .pf-link-details {
  color: #0f172a !important;
  font-weight: 700 !important;
}

[data-theme="dark"] .pf-link-details {
  color: #f8fafc !important;
  font-weight: 700 !important;
}

/* F. CTA Ribbon Banner Visibility */
.pf-cta-banner-section .pf-cta-banner-title {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.pf-cta-banner-section .pf-cta-banner-desc {
  color: #f8fafc !important;
  font-weight: 500 !important;
}

/* G. "How It Works" Section Visibility */
[data-theme="light"] .pf-how-it-works-section .pf-section-title,
[data-theme="light"] #how-it-works-section .pf-section-title {
  color: #0f172a !important;
}

[data-theme="dark"] .pf-how-it-works-section .pf-section-title,
[data-theme="dark"] #how-it-works-section .pf-section-title {
  color: #ffffff !important;
}

[data-theme="light"] .pf-how-it-works-section .pf-section-desc,
[data-theme="light"] #how-it-works-section .pf-section-desc {
  color: #334155 !important;
  font-weight: 500 !important;
}

[data-theme="dark"] .pf-how-it-works-section .pf-section-desc,
[data-theme="dark"] #how-it-works-section .pf-section-desc {
  color: #cbd5e1 !important;
}

[data-theme="light"] .pf-step-title {
  color: #0f172a !important;
  font-weight: 800 !important;
}

[data-theme="dark"] .pf-step-title {
  color: #ffffff !important;
  font-weight: 800 !important;
}

[data-theme="light"] .pf-step-desc {
  color: #334155 !important;
  font-weight: 500 !important;
}

[data-theme="dark"] .pf-step-desc {
  color: #e2e8f0 !important;
  font-weight: 400 !important;
}

/* H. "Why Choose Us" 8 Obsidian Feature Cards Visibility */
.pf-why-section {
  background: #090c14 !important;
  color: #ffffff !important;
}

.pf-why-section .pf-section-title,
.pf-why-section h2 {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.pf-why-section .pf-section-desc {
  color: #e2e8f0 !important;
  font-weight: 400 !important;
}

.pf-why-card {
  background: #111524 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.pf-why-card .pf-why-title,
.pf-why-card h3 {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.pf-why-card .pf-why-desc,
.pf-why-card p {
  color: #e2e8f0 !important;
  font-weight: 400 !important;
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
}

/* I. Stats Counter Bar Visibility */
.pf-stat-val {
  color: var(--color-primary) !important;
  font-weight: 800 !important;
}

[data-theme="light"] .pf-stat-lbl {
  color: #0f172a !important;
  font-weight: 700 !important;
}

[data-theme="dark"] .pf-stat-lbl {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* J. Team & Showcase Visual Cards Visibility */
[data-theme="light"] #team-showcase-section .pf-section-title {
  color: #0f172a !important;
}

[data-theme="dark"] #team-showcase-section .pf-section-title {
  color: #ffffff !important;
}

[data-theme="light"] #team-showcase-section .pf-section-desc {
  color: #334155 !important;
}

[data-theme="dark"] #team-showcase-section .pf-section-desc {
  color: #cbd5e1 !important;
}

.pf-showcase-card h3,
.pf-showcase-card .pf-showcase-headline,
.pf-showcase-overlay h3,
.pf-showcase-overlay .pf-showcase-headline {
  color: #ffffff !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95) !important;
}

.pf-showcase-tag {
  color: #fbbf24 !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9) !important;
}

/* K. Testimonials & Client Reviews Visibility */
.pf-testimonials-section {
  color: #ffffff !important;
}

.pf-testimonials-section .pf-section-title,
.pf-testimonials-section h2 {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.pf-testimonials-section .pf-section-desc {
  color: #e2e8f0 !important;
  font-weight: 400 !important;
}

.pf-review-card {
  background: #ffffff !important;
  color: #0f172a !important;
}

.pf-review-card .pf-review-text {
  color: #1e293b !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
}

.pf-review-card .pf-review-author {
  color: #0f172a !important;
  font-weight: 800 !important;
}

.pf-review-card .pf-review-location {
  color: #475569 !important;
  font-weight: 600 !important;
}

/* L. Articles & Educational Resources Visibility */
[data-theme="light"] .pf-articles-section .pf-section-title,
[data-theme="light"] #articles-section .pf-section-title {
  color: #0f172a !important;
}

[data-theme="dark"] .pf-articles-section .pf-section-title,
[data-theme="dark"] #articles-section .pf-section-title {
  color: #ffffff !important;
}

[data-theme="light"] .pf-articles-section .pf-section-desc,
[data-theme="light"] #articles-section .pf-section-desc {
  color: #334155 !important;
  font-weight: 500 !important;
}

[data-theme="dark"] .pf-articles-section .pf-section-desc,
[data-theme="dark"] #articles-section .pf-section-desc {
  color: #cbd5e1 !important;
}

[data-theme="light"] .pf-article-title {
  color: #0f172a !important;
  font-weight: 800 !important;
}

[data-theme="dark"] .pf-article-title {
  color: #ffffff !important;
  font-weight: 800 !important;
}

[data-theme="light"] .pf-article-date {
  color: #475569 !important;
  font-weight: 600 !important;
}

[data-theme="dark"] .pf-article-date {
  color: #cbd5e1 !important;
  font-weight: 500 !important;
}

/* M. Motto & Scripture Banner Visibility */
[data-theme="light"] .motto-banner .motto-quote {
  color: #0f172a !important;
  font-weight: 700 !important;
}

[data-theme="dark"] .motto-banner .motto-quote {
  color: #ffffff !important;
  font-weight: 700 !important;
}

[data-theme="light"] .motto-banner .motto-reference {
  color: #475569 !important;
  font-weight: 600 !important;
}

[data-theme="dark"] .motto-banner .motto-reference {
  color: #cbd5e1 !important;
  font-weight: 500 !important;
}

/* N. 4-Column Agency Footer Comprehensive Visibility (Fixing dark text on dark footer) */
.pf-footer {
  background: #06080d !important;
  color: #cbd5e1 !important;
}

.pf-footer .brand-name {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.pf-footer .brand-tagline {
  color: var(--color-primary) !important;
  font-weight: 700 !important;
}

.pf-footer .pf-footer-col-title,
.pf-footer h4 {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.pf-footer .pf-footer-desc,
.pf-footer p {
  color: #cbd5e1 !important;
  line-height: 1.7 !important;
}

.pf-footer .pf-footer-link {
  color: #f1f5f9 !important;
  font-weight: 500 !important;
}

.pf-footer .pf-footer-link:hover {
  color: var(--color-primary) !important;
}

.pf-footer .pf-footer-contact-item {
  color: #ffffff !important;
  font-weight: 500 !important;
}

.pf-footer .pf-footer-contact-item a {
  color: #f1f5f9 !important;
}

.pf-footer .pf-footer-contact-item a:hover {
  color: var(--color-primary) !important;
}

.pf-footer-bottom {
  color: #cbd5e1 !important;
}

.pf-footer-legal-links a {
  color: #cbd5e1 !important;
  font-weight: 500 !important;
}

.pf-footer-legal-links a:hover {
  color: var(--color-primary) !important;
}

/* O. Modal Popup Visibility */
.pf-popup-box {
  background: #ffffff !important;
  color: #0f172a !important;
}

.pf-popup-box h3,
.pf-popup-box .pf-quiz-title {
  color: #0f172a !important;
  font-weight: 800 !important;
}

.pf-popup-box p,
.pf-popup-box .pf-quiz-subtitle {
  color: #334155 !important;
  font-weight: 500 !important;
}

.pf-popup-box label {
  color: #0f172a !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   Comprehensive Responsive System for All Devices (Mobile, Tablet, Desktop)
   ========================================================================== */

/* 1. Large Tablet / Laptop Navigation Breakpoint (<= 1180px) */
@media (max-width: 1180px) {
  /* CRITICAL: Remove backdrop-filter on header components on mobile to eliminate CSS containing block trap */
  .site-header-master,
  .site-header-master .top-announcement-bar,
  .site-header-master .site-header,
  .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .site-header-master {
    background: rgba(8, 10, 16, 0.98) !important;
  }

  [data-theme="light"] .site-header-master {
    background: rgba(255, 255, 255, 0.98) !important;
  }

  .site-header-master .site-header {
    background: transparent !important;
  }

  /* True Viewport Fixed Navigation Drawer */
  .nav-links {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: min(88vw, 360px) !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    z-index: 99999 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
    padding: max(1.25rem, env(safe-area-inset-top, 1.25rem)) 1.25rem max(2rem, env(safe-area-inset-bottom, 2rem)) !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* True Viewport Fixed Backdrop Overlay */
  .mobile-nav-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 99998 !important;
    background: rgba(0, 0, 0, 0.75) !important;
  }

  .nav-link-dropdown-wrap {
    width: 100% !important;
    display: block !important;
    position: static !important;
  }

  .nav-link-dropdown-wrap > .nav-link {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    border-radius: var(--radius-md) !important;
  }

  .nav-link-dropdown-wrap.open > .nav-link {
    color: var(--color-primary) !important;
    background: rgba(245, 158, 11, 0.1) !important;
  }

  .nav-link-dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    min-width: 0 !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: var(--radius-md) !important;
    padding: 0.4rem !important;
    margin: 0.35rem 0 0.5rem !important;
    box-shadow: none !important;
    display: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  [data-theme="light"] .nav-link-dropdown-menu {
    background: rgba(0, 0, 0, 0.03) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
  }

  .nav-link-dropdown-wrap.open .nav-link-dropdown-menu {
    display: flex !important;
  }

  .dropdown-item-link {
    padding: 0.65rem 0.85rem !important;
    font-size: 0.92rem !important;
    width: 100% !important;
    border-radius: var(--radius-sm) !important;
    min-height: 44px !important;
  }
}

/* 2. Tablet Landscape & Portrait (<= 1024px) */
@media (max-width: 1024px) {
  .pf-hero-container {
    grid-template-columns: 1fr !important;
    gap: 2.75rem !important;
  }

  .pf-services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }

  .pf-reviews-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }

  .pf-articles-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }

  .pf-footer-top {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem !important;
  }
}

/* 3. Small Tablet & Phablet (<= 768px) */
@media (max-width: 768px) {
  .top-announcement-bar {
    font-size: 0.74rem !important;
    padding: 0.35rem 0.75rem !important;
  }

  .top-bar-content {
    justify-content: center !important;
    text-align: center !important;
    gap: 0.25rem 0.75rem !important;
  }

  .business-status-chip {
    font-size: 0.74rem !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .top-bar-info {
    font-size: 0.72rem !important;
    text-align: center !important;
  }

  .site-header .navbar {
    padding: 0.5rem 1rem !important;
    gap: 0.75rem !important;
  }

  .brand-logo {
    gap: 0.65rem !important;
  }

  .brand-logo-img-box {
    width: 38px !important;
    height: 38px !important;
  }

  .brand-text .brand-name {
    font-size: 1.05rem !important;
  }

  .brand-text .brand-tagline {
    display: none !important;
  }

  .header-actions {
    gap: 0.45rem !important;
  }

  .mobile-menu-toggle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

  .pf-hero-section {
    padding: 1.5rem 0 2.25rem !important;
  }

  .pf-hero-container {
    padding: 0 1rem !important;
    gap: 2rem !important;
  }

  .pf-hero-left {
    gap: 0.85rem !important;
  }

  .pf-eyebrow {
    font-size: 0.76rem !important;
    margin-bottom: 0.15rem !important;
  }

  .pf-hero-title {
    font-size: clamp(1.6rem, 6.8vw, 2.15rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
  }

  .pf-hero-title br.hide-mobile,
  .pf-hero-title br {
    display: none !important;
  }

  .pf-hero-title .pf-accent-word {
    display: block !important;
    margin-top: 0.15rem !important;
  }

  .pf-hero-desc {
    font-size: 0.94rem !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  .pf-checklist {
    flex-direction: column !important;
    gap: 0.45rem !important;
    margin: 0.2rem 0 0.5rem !important;
  }

  .pf-check-item {
    font-size: 0.88rem !important;
    gap: 0.45rem !important;
  }

  .pf-hero-actions {
    gap: 0.75rem !important;
    margin-top: 0.35rem !important;
  }

  .pf-about-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .pf-steps-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .pf-why-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }

  .pf-showcase-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    gap: 1.25rem !important;
  }

  .pf-showcase-card.large {
    min-height: 320px !important;
  }

  .pf-showcase-card {
    min-height: 220px !important;
  }

  .pf-reviews-grid {
    grid-template-columns: 1fr !important;
  }

  .pf-articles-grid {
    grid-template-columns: 1fr !important;
  }

  .pf-stats-bar-container {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }
}

/* 4. Standard Mobile (<= 580px) */
@media (max-width: 580px) {
  .pf-hero-title {
    font-size: clamp(1.45rem, 6.5vw, 1.85rem) !important;
    line-height: 1.22 !important;
  }

  .pf-hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.55rem !important;
  }

  .pf-hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .pf-hero-actions a {
    text-align: center !important;
    padding: 0.35rem 0 !important;
  }

  .pf-services-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .pf-why-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .pf-quiz-card {
    padding: 1.25rem 1rem !important;
    border-radius: var(--radius-md) !important;
  }

  .pf-quiz-services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem !important;
  }

  .pf-service-option-card {
    padding: 0.85rem 0.5rem !important;
  }

  .pf-service-opt-icon {
    font-size: 1.45rem !important;
  }

  .pf-service-opt-name {
    font-size: 0.8rem !important;
  }

  .pf-form-row-2 {
    grid-template-columns: 1fr !important;
  }

  .pf-cta-banner-content div[style*="display: flex"] {
    flex-direction: column !important;
    width: 100% !important;
  }

  .pf-cta-banner-content .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .pf-card-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  .pf-btn-card-quote {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
  }

  .pf-link-details {
    justify-content: center !important;
  }

  .pf-footer-top {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .pf-footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1rem !important;
  }

  .pf-footer-legal-links {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
}

/* 5. Compact Mobile (<= 380px) - iPhone SE, Galaxy Fold, Compact Displays */
@media (max-width: 380px) {
  .brand-logo-img-box {
    width: 36px !important;
    height: 36px !important;
  }

  .brand-text .brand-tagline {
    display: none !important;
  }

  .brand-text .brand-name {
    font-size: 0.95rem !important;
  }

  .top-announcement-bar {
    font-size: 0.7rem !important;
    padding: 0.35rem 0.5rem !important;
  }

  .top-bar-content {
    justify-content: center !important;
    gap: 0.35rem 0.75rem !important;
  }

  .pf-hero-title {
    font-size: 1.42rem !important;
    line-height: 1.25 !important;
  }

  .pf-hero-desc {
    font-size: 0.92rem !important;
  }

  .pf-check-item {
    font-size: 0.86rem !important;
  }

  .pf-google-badge {
    padding: 0.65rem 0.85rem !important;
    gap: 0.65rem !important;
  }

  .pf-google-logo {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.1rem !important;
  }

  .pf-quiz-card {
    padding: 1rem 0.75rem !important;
  }

  .pf-service-opt-name {
    font-size: 0.75rem !important;
  }

  .pf-quiz-nav-row {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }

  .pf-btn-back {
    width: 100% !important;
    text-align: center !important;
  }

  .pf-btn-submit {
    width: 100% !important;
  }
}

/* --------------------------------------------------------------------------
   Unified Team & Reviews Section Styling
   -------------------------------------------------------------------------- */
.team-reviews-subnav {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.team-reviews-subnav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--pf-radius-full);
  text-decoration: none;
  transition: all var(--transition-fast, 0.25s ease);
  cursor: pointer;
}

.team-reviews-subnav-btn.primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #07090e !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
  border: 1px solid transparent;
}

.team-reviews-subnav-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  color: #07090e !important;
}

.team-reviews-subnav-btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
}

.team-reviews-subnav-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(245, 158, 11, 0.5);
  color: #f59e0b;
  transform: translateY(-2px);
}

.team-to-reviews-bridge {
  position: relative;
  text-align: center;
  margin: 4.5rem auto 3rem;
  padding: 2.75rem 2rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(15, 19, 31, 0.85) 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--pf-radius-lg);
  max-width: 960px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.team-anchor-target {
  scroll-margin-top: calc(var(--site-header-height, 114px) + 24px);
}

.testimonial-links-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.65rem;
}

.company-website-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-primary, #f59e0b);
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--pf-radius-full);
  padding: 0.22rem 0.65rem;
  text-decoration: none;
  transition: all var(--transition-fast, 0.2s ease);
}

.company-website-link:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.5);
  color: #fbbf24;
  transform: translateY(-1px);
}

.portfolio-client-review-snip {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: rgba(245, 158, 11, 0.05);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-left: 3px solid var(--color-primary, #f59e0b);
  border-radius: var(--pf-radius-sm, 6px);
  padding: 0.45rem 0.65rem;
  margin: 0.65rem 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--text-muted, #cbd5e1);
  text-align: left;
}

.portfolio-client-review-snip .review-quote-star {
  font-weight: 700;
  color: var(--color-primary, #f59e0b);
  font-size: 0.72rem;
  letter-spacing: 0.5px;
}

.portfolio-client-review-snip .review-quote-snippet {
  font-style: italic;
  color: var(--text-main, #f8fafc);
}

.portfolio-client-review-snip .review-quote-by {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 0.15rem;
}

/* Mobile Landscape & Short Viewports (e.g. phones in landscape on iOS & Android) */
@media (max-height: 520px) and (orientation: landscape) {
  .top-announcement-bar {
    display: none !important;
  }
  .site-header {
    min-height: 52px !important;
    height: 52px !important;
  }
  .site-header .navbar {
    padding: 0.25rem max(1rem, env(safe-area-inset-right)) 0.25rem max(1rem, env(safe-area-inset-left)) !important;
  }
  .tab-view {
    padding-left: max(1rem, env(safe-area-inset-left)) !important;
    padding-right: max(1rem, env(safe-area-inset-right)) !important;
    padding-bottom: max(2rem, env(safe-area-inset-bottom)) !important;
  }
  .pf-hero-container {
    padding-left: max(1rem, env(safe-area-inset-left)) !important;
    padding-right: max(1rem, env(safe-area-inset-right)) !important;
  }
  .modal-overlay {
    padding-left: max(1rem, env(safe-area-inset-left)) !important;
    padding-right: max(1rem, env(safe-area-inset-right)) !important;
  }
  .modal-card {
    max-height: calc(100dvh - 1rem) !important;
  }
}