/*
Theme Name: CUPM Theme
Theme URI: https://champaignurbanapm.com
Author: Champaign Urbana Property Management Inc.
Description: Custom professional theme for Champaign-Urbana Property Management Inc.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: Proprietary
Text Domain: cupm-theme
*/

/* =========================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================================= */
:root {
  --navy: #1B3A6B;
  --navy-dark: #122a52;
  --navy-light: #234d8c;
  --gold: #D4A017;
  --gold-dark: #b8880f;
  --gold-light: #e8b520;
  --white: #ffffff;
  --off-white: #F8F9FA;
  --gray-100: #F1F3F5;
  --gray-200: #E9ECEF;
  --gray-400: #CED4DA;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --text-dark: #1a1a2e;
  --text-body: #3d3d3d;

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition: 0.25s ease;

  --container-max: 1200px;
  --container-pad: clamp(1rem, 4vw, 2rem);
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  width: 100%;
}

.section-pad {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.section-pad-sm {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* =========================================================
   SECTION LABELS & HEADINGS
   ========================================================= */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--text-dark);
  margin-bottom: 1rem;
  max-width: 680px;
}

.section-title.centered { max-width: none; }

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 620px;
  line-height: 1.65;
}

.section-intro {
  max-width: 640px;
  margin: 0 auto 3rem;
}

.divider {
  width: 60px;
  height: 4px;
  background: var(--gold);
  margin: 1.25rem 0;
  border-radius: 2px;
}

.divider.centered { margin: 1.25rem auto; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(212, 160, 23, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray-200);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}

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

.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 24px;
  height: 24px;
  fill: var(--gold);
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.current-menu-item {
  color: var(--navy);
  background: var(--gray-100);
}

.header-cta {
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .logo-tagline { display: none; }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem var(--container-pad) 1.5rem;
    border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    gap: 0;
  }

  .main-nav.open { display: flex; }

  .main-nav a {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-100);
  }

  .header-cta { display: none; }
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1e4278 100%);
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 8rem) 0;
  min-height: 580px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 160, 23, 0.15);
  border: 1px solid rgba(212, 160, 23, 0.3);
  color: var(--gold-light);
  padding: 0.375rem 1rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-social-proof {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 2rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat .stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* =========================================================
   TRUST BADGES BAR
   ========================================================= */
.trust-bar {
  background: var(--navy-dark);
  padding: 1.25rem 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  font-weight: 500;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
  flex-shrink: 0;
}

/* =========================================================
   SERVICES OVERVIEW (HOME)
   ========================================================= */
.services-overview {
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--gold);
}

.service-card h3 {
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}

/* =========================================================
   STATS SECTION
   ========================================================= */
.stats-section {
  background: var(--navy);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
}

.stat-item {
  padding: 1.5rem 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

/* =========================================================
   WHY US SECTION (HOME)
   ========================================================= */
.why-us-home {
  background: var(--white);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 760px) {
  .why-us-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.why-us-content .section-title { max-width: none; }

.checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.check-icon {
  width: 22px;
  height: 22px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.check-icon svg {
  width: 12px;
  height: 12px;
  fill: var(--navy-dark);
}

.checklist-item strong {
  display: block;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.checklist-item p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin: 0;
}

.why-us-visual {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-us-visual::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.1) 0%, transparent 70%);
}

.visual-quote {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.visual-quote::before {
  content: '"';
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.3;
  line-height: 0;
  position: absolute;
  top: 1.5rem;
  left: -0.5rem;
  font-family: var(--font-heading);
}

.visual-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.visual-metric {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}

.visual-metric .num {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}

.visual-metric .lbl {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.25rem;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
  background: var(--gray-100);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--gray-200);
  padding-top: 1.25rem;
}

.author-avatar {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-dark);
  font-weight: 600;
}

.author-info span {
  font-size: 0.8125rem;
  color: var(--gray-600);
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M0 0h20v20H0V0zm20 20h20v20H20V20z'/%3E%3C/g%3E%3C/svg%3E");
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-inner p {
  color: rgba(255,255,255,0.75);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* =========================================================
   PAGE HERO (Interior Pages)
   ========================================================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: clamp(3rem, 7vw, 5rem) 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.78);
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================================
   SERVICES PAGE
   ========================================================= */
.service-detail {
  background: var(--white);
}

.service-detail + .service-detail {
  background: var(--off-white);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }

@media (max-width: 760px) {
  .service-detail-grid,
  .service-detail-grid.reverse { grid-template-columns: 1fr; direction: ltr; }
}

.service-detail-content .section-title { max-width: none; }

.service-feature-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-body);
}

.service-feature-item::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-detail-visual {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
}

.service-visual-icon {
  width: 72px;
  height: 72px;
  background: rgba(212, 160, 23, 0.15);
  border: 2px solid rgba(212, 160, 23, 0.3);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-visual-icon svg {
  width: 38px;
  height: 38px;
  fill: var(--gold);
}

.service-detail-visual h3 {
  color: var(--white);
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.service-detail-visual p {
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* =========================================================
   WHY US PAGE
   ========================================================= */
.differentiators {
  background: var(--off-white);
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 640px) {
  .diff-grid { grid-template-columns: 1fr; }
}

.diff-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.25rem;
  transition: all var(--transition);
}

.diff-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(27, 58, 107, 0.15);
}

.diff-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
}

.diff-content h3 {
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.diff-content p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}

.team-section {
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 760px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}

.team-card {
  text-align: center;
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  border: 1px solid var(--gray-200);
}

.team-avatar {
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.team-card h3 {
  font-size: 1.125rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.team-card .team-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
  display: block;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   PRICING PAGE
   ========================================================= */
.pricing-section {
  background: var(--off-white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 2px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition);
}

.pricing-card.featured {
  border-color: var(--navy);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .pricing-card.featured { transform: none; }
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 1.25rem 0;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.price-label {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--text-body);
}

.pricing-feature .feat-icon {
  flex-shrink: 0;
  color: var(--gold-dark);
  font-size: 1.1rem;
  margin-top: -1px;
}

.pricing-card .btn { width: 100%; text-align: center; justify-content: center; }

.pricing-note {
  margin-top: 3rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.pricing-note strong {
  color: var(--text-dark);
}

/* =========================================================
   FAQ PAGE
   ========================================================= */
.faq-section {
  background: var(--off-white);
}

.faq-list {
  max-width: 780px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.375rem 1.75rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--gray-100);
}

.faq-question[aria-expanded="true"] {
  color: var(--navy);
  background: var(--gray-100);
}

.faq-icon {
  width: 22px;
  height: 22px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}

.faq-icon::after {
  content: '';
  display: block;
  width: 10px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  position: relative;
}

.faq-icon::before {
  content: '';
  display: block;
  width: 2px;
  height: 10px;
  background: var(--white);
  border-radius: 2px;
  position: absolute;
  transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--gold);
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.75rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.75;
  border-top: 1px solid var(--gray-200);
}

.faq-answer.open { display: block; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-section {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

.contact-info h2 {
  font-size: 1.875rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--gold);
}

.contact-detail-item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-600);
  margin-bottom: 0.25rem;
}

.contact-detail-item a,
.contact-detail-item span {
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 500;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.contact-form-wrap h3 {
  font-size: 1.375rem;
  color: var(--navy);
  margin-bottom: 1.75rem;
}

/* Contact Form 7 Overrides */
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

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

.wpcf7-form label {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: var(--off-white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 58, 107, 0.1);
  background: var(--white);
}

.wpcf7-form textarea {
  min-height: 140px;
  resize: vertical;
}

.wpcf7-form .wpcf7-submit {
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9375rem 2rem;
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  width: 100%;
  letter-spacing: 0.02em;
}

.wpcf7-form .wpcf7-submit:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.map-embed {
  margin-top: 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.map-embed iframe {
  width: 100%;
  height: 280px;
  display: block;
  border: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--navy-dark);
  color: var(--white);
}

.footer-main {
  padding: clamp(3rem, 7vw, 5rem) 0 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 500px) {
  .footer-main { grid-template-columns: 1fr; }
}

.footer-brand .site-logo { margin-bottom: 1rem; }

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  max-width: 280px;
}

.footer-brand .logo-name,
.footer-brand .logo-tagline { color: var(--white); }
.footer-brand .logo-tagline { color: var(--gold); }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
}

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

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a {
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.footer-bottom a:hover { color: var(--white); }

/* =========================================================
   WORDPRESS CONTENT STYLES
   ========================================================= */
.entry-content h2, .entry-content h3, .entry-content h4 {
  margin: 2rem 0 0.75rem;
}

.entry-content p { margin-bottom: 1rem; }

.entry-content ul, .entry-content ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.entry-content ol { list-style: decimal; }

/* =========================================================
   SKIP LINK & ACCESSIBILITY
   ========================================================= */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.875rem;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus { top: 0; }

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   PRINT
   ========================================================= */
@media print {
  .site-header, .site-footer, .hero-actions, .cta-banner { display: none; }
  body { font-size: 12pt; }
  h1, h2, h3 { page-break-after: avoid; }
}
