/*
Theme Name: MackyTax
Theme URI: https://mackytax.com
Author: James McIntosh, EA, NTPI Fellow
Author URI: https://mackytax.com
Description: Professional WordPress theme for James McIntosh, EA, NTPI Fellow — IRS Tax Relief & Tax Planning for US Taxpayers Worldwide. Features a full homepage with credential display, service sections, testimonials, and inner page templates for services, blog, and contact.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: mackytax
Tags: business, professional, tax, law, finance
*/

/* ═══════════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════════ */
:root {
  --navy:     #0d1e3f;
  --navy2:    #162d5a;
  --gold:     #b8880e;
  --gold2:    #d4a520;
  --offwhite: #f7f5f0;
  --light:    #eef1f7;
  --text:     #1c2232;
  --muted:    #5a6478;
  --white:    #ffffff;
  --border:   #e4e8f0;
}

/* ═══════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold2); }
ul { list-style: none; }

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
h1 { font-size: clamp(32px, 4.5vw, 56px); }
h2 { font-size: clamp(26px, 3.5vw, 42px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
h4 { font-size: 17px; font-family: 'Inter', sans-serif; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════
   LAYOUT UTILITIES
═══════════════════════════════════════════════════════════ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; width: 100%; }
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }
.bg-navy     { background: var(--navy); }
.bg-offwhite { background: var(--offwhite); }
.bg-light    { background: var(--light); }
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-gold   { color: var(--gold2) !important; }
.text-muted  { color: var(--muted); }

/* Section labels */
.section-label {
  display: inline-block;
  background: rgba(184,136,14,.1);
  color: var(--gold);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
  margin-bottom: 16px;
}
.section-label.light {
  background: rgba(212,165,32,.15);
  color: var(--gold2);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; color: var(--navy);
  line-height: 1.2; margin-bottom: 16px;
}
.section-title.white { color: var(--white); }
.section-subtitle {
  font-size: 17px; color: var(--muted);
  line-height: 1.7; max-width: 640px;
  margin-bottom: 52px;
}
.section-subtitle.white { color: rgba(255,255,255,.75); }
.divider-gold {
  width: 60px; height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 16px 0 24px;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 5px;
  text-decoration: none; cursor: pointer;
  border: none; transition: all .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold); color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold2); color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,136,14,.35);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.07);
  color: var(--white);
}
.btn-outline-navy {
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy); color: var(--white);
}
.btn-lg { font-size: 17px; padding: 18px 36px; }
.btn-sm { font-size: 13px; padding: 10px 20px; }

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  height: 72px;
  display: flex; align-items: center;
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  width: 100%;
}
.site-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; flex-shrink: 0;
}
.logo-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-weight: 800;
  color: var(--navy); font-size: 18px; flex-shrink: 0;
}
.logo-text strong {
  display: block; font-size: 14px; font-weight: 700;
  color: var(--white); letter-spacing: .02em;
}
.logo-text span {
  font-size: 10px; color: var(--gold2);
  letter-spacing: .08em; text-transform: uppercase;
}

/* Primary nav */
#primary-nav {
  display: flex; align-items: center; gap: 8px;
}
#primary-nav ul {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
#primary-nav ul li a {
  color: rgba(255,255,255,.82); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 4px;
  transition: all .2s; text-decoration: none;
}
#primary-nav ul li a:hover,
#primary-nav ul li.current-menu-item > a {
  color: var(--gold2); background: rgba(255,255,255,.05);
}
.nav-cta-btn {
  background: var(--gold); color: var(--navy) !important;
  font-weight: 700 !important; font-size: 14px !important;
  padding: 10px 20px !important; border-radius: 4px !important;
  transition: background .2s !important;
}
.nav-cta-btn:hover { background: var(--gold2) !important; }

/* Mobile menu toggle */
.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--white);
}
.menu-toggle .bar {
  display: block; width: 24px; height: 2px;
  background: var(--white); margin: 5px 0;
  transition: .3s;
}

/* Body offset for fixed header */
body { padding-top: 72px; }

/* ═══════════════════════════════════════════════════════════
   CREDENTIAL STRIP
═══════════════════════════════════════════════════════════ */
.cred-strip {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 3px solid var(--gold);
  padding: 18px 0;
}
.cred-strip-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.cred-item {
  display: flex; align-items: center; gap: 9px;
  color: rgba(255,255,255,.85); font-size: 13px; font-weight: 500;
}
.cred-item i { color: var(--gold2); font-size: 16px; }
.cred-divider { color: rgba(255,255,255,.2); font-size: 18px; }

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  min-height: calc(100vh - 72px);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 60%, #1a3a6e 100%);
  display: flex; align-items: center;
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.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='%23ffffff' fill-opacity='0.025'%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/svg%3E");
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 400px;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(184,136,14,.15);
  border: 1px solid rgba(212,165,32,.35);
  color: var(--gold2); font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 100px;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 700; color: var(--white); line-height: 1.1;
  margin-bottom: 12px;
}
.hero h1 .name-accent { color: var(--gold2); }
.hero-credentials {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px;
}
.cred-badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white); font-size: 12px; font-weight: 600;
  padding: 5px 13px; border-radius: 100px; letter-spacing: .05em;
}
.cred-badge.gold {
  background: rgba(184,136,14,.2);
  border-color: rgba(212,165,32,.4);
  color: var(--gold2);
}
.hero-tagline {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,.8); line-height: 1.7;
  margin-bottom: 32px; max-width: 560px;
}
.hero-tagline strong { color: var(--white); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,.65); font-size: 13px;
}
.trust-item i { color: var(--gold2); }

/* Hero photo card */
.hero-photo-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; overflow: hidden;
}
.hero-photo-card img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
}
.photo-placeholder {
  width: 100%; aspect-ratio: 3/4;
  background: rgba(255,255,255,.04);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; color: rgba(255,255,255,.35);
}
.photo-placeholder i { font-size: 56px; }
.photo-placeholder p { font-size: 13px; text-align: center; padding: 0 20px; }
.photo-card-footer {
  padding: 18px 22px; background: var(--gold);
  display: flex; align-items: center; justify-content: space-between;
}
.photo-card-footer .name {
  font-weight: 700; color: var(--navy); font-size: 14px;
}
.photo-card-footer .title {
  font-size: 11px; color: rgba(13,30,63,.7);
}
.photo-card-stars { color: var(--navy); font-size: 12px; }

/* ═══════════════════════════════════════════════════════════
   CARD COMPONENTS
═══════════════════════════════════════════════════════════ */
.card {
  background: var(--white); border-radius: 12px;
  padding: 30px 26px; border: 1px solid var(--border);
  transition: all .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(13,30,63,.1);
  border-color: var(--gold);
}
.card-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold2); font-size: 20px; margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; font-size: 17px; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0; }

/* Service cards */
.service-card {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--border); border-radius: 12px;
  padding: 26px 22px; transition: all .25s;
}
.service-card:hover {
  border-color: var(--gold); color: inherit;
  box-shadow: 0 8px 28px rgba(13,30,63,.08);
  transform: translateY(-3px);
}
.service-num {
  font-family: 'Playfair Display', serif;
  font-size: 13px; color: var(--gold); font-weight: 700;
  letter-spacing: .08em; margin-bottom: 10px;
}
.service-card h3 { font-size: 17px; margin-bottom: 8px; }
.service-card p { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.service-link {
  font-size: 13px; color: var(--gold); font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.service-card.featured {
  border-top: 3px solid var(--gold);
  background: linear-gradient(to right, rgba(184,136,14,.04), transparent);
}
.service-card.featured h3 { font-size: 20px; }
.service-card.featured p { max-width: 760px; }

/* ═══════════════════════════════════════════════════════════
   GRIDS
═══════════════════════════════════════════════════════════ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ═══════════════════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════════════════ */
.stats-bar { background: var(--navy); padding: 60px 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 32px; text-align: center;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px; font-weight: 800;
  color: var(--gold2); line-height: 1; margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.5; }

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════════ */
.testimonial-card {
  background: var(--white); border-radius: 12px;
  padding: 30px 26px; border: 1px solid var(--border);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 72px; color: var(--gold2); opacity: .25;
  position: absolute; top: 8px; left: 20px; line-height: 1;
}
.stars-row { display: flex; gap: 3px; margin-bottom: 14px; }
.stars-row i { color: var(--gold2); font-size: 13px; }
.testimonial-text {
  font-size: 14px; color: var(--muted); line-height: 1.75;
  margin-bottom: 22px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 15px;
  flex-shrink: 0;
}
.author-info strong { display: block; font-size: 14px; color: var(--navy); font-weight: 700; }
.author-info span { font-size: 12px; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════════════════ */
.about-grid {
  display: grid; grid-template-columns: 420px 1fr;
  gap: 64px; align-items: center;
}
.about-photo-wrap {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(13,30,63,.2);
  position: relative;
}
.about-photo-wrap img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-badge {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--gold); padding: 16px 22px;
  display: flex; align-items: center; gap: 12px;
}
.about-badge i { font-size: 22px; color: var(--navy); flex-shrink: 0; }
.about-badge strong { display: block; font-size: 13px; color: var(--navy); font-weight: 800; }
.about-badge span { font-size: 11px; color: rgba(13,30,63,.7); }
.about-points { list-style: none; margin-bottom: 30px; }
.about-points li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--border);
  font-size: 15px; color: var(--text);
}
.about-points li:last-child { border-bottom: none; }
.about-points li i { color: var(--gold); margin-top: 3px; font-size: 13px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════════ */
.how-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.steps-list { list-style: none; margin-top: 24px; }
.steps-list li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.steps-list li:last-child { border-bottom: none; }
.step-icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold2); font-size: 17px;
}
.step-text h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.step-text p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }
.portal-visual {
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  border-radius: 20px; padding: 36px;
  display: flex; flex-direction: column; gap: 14px;
}
.portal-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; padding: 16px 20px;
  display: flex; align-items: center; gap: 14px; color: var(--white);
}
.portal-card i { color: var(--gold2); font-size: 20px; width: 26px; text-align: center; }
.portal-card strong { display: block; font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.portal-card span { font-size: 12px; color: rgba(255,255,255,.6); }

/* ═══════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════ */
.faq-item {
  padding: 22px; border: 1px solid var(--border);
  border-radius: 10px; margin-bottom: 0;
}
.faq-item h4 {
  font-size: 15px; font-weight: 700; color: var(--navy);
  margin-bottom: 8px; display: flex; gap: 10px;
  font-family: 'Inter', sans-serif;
}
.faq-item h4 i { color: var(--gold); margin-top: 2px; font-size: 13px; flex-shrink: 0; }
.faq-item p { font-size: 13px; color: var(--muted); line-height: 1.65; margin: 0; padding-left: 22px; }

/* ═══════════════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6e 100%);
  padding: 96px 0; text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.75); font-size: 17px; max-width: 560px; margin: 0 auto 36px; line-height: 1.65; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-contact-info {
  margin-top: 28px; color: rgba(255,255,255,.6); font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.cta-contact-info i { color: var(--gold2); }
.cta-contact-info a { color: rgba(255,255,255,.8); }

/* ═══════════════════════════════════════════════════════════
   PAGE HERO (Inner pages)
═══════════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  padding: 72px 0 64px;
}
.page-hero h1 { color: var(--white); font-size: clamp(28px, 3.5vw, 44px); margin-bottom: 12px; }
.page-hero .lead { color: rgba(255,255,255,.75); font-size: 18px; line-height: 1.7; max-width: 640px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--gold2); }
.breadcrumb i { font-size: 10px; }

/* ═══════════════════════════════════════════════════════════
   SERVICE INNER PAGE
═══════════════════════════════════════════════════════════ */
.service-content { max-width: 780px; }
.service-content h2 { margin-top: 36px; margin-bottom: 12px; font-size: 26px; }
.service-content h3 { margin-top: 26px; margin-bottom: 10px; font-size: 20px; }
.service-content ul {
  list-style: none; margin: 16px 0 20px;
}
.service-content ul li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 15px; color: var(--text);
}
.service-content ul li i { color: var(--gold); margin-top: 3px; font-size: 13px; flex-shrink: 0; }
.service-sidebar {
  position: sticky; top: 100px;
}
.sidebar-card {
  background: var(--offwhite); border-radius: 12px;
  padding: 28px; border: 1px solid var(--border);
  margin-bottom: 20px;
}
.sidebar-card h4 {
  font-size: 15px; font-weight: 700; color: var(--navy);
  margin-bottom: 14px; font-family: 'Inter', sans-serif;
}
.sidebar-cta {
  background: var(--navy); border-radius: 12px;
  padding: 28px; text-align: center;
}
.sidebar-cta h4 { color: var(--gold2); margin-bottom: 10px; font-family: 'Inter', sans-serif; }
.sidebar-cta p { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 18px; }

/* Two-column page layout */
.page-layout-2col {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 60px; align-items: start;
}

/* ═══════════════════════════════════════════════════════════
   BLOG / ARCHIVE
═══════════════════════════════════════════════════════════ */
.posts-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 28px;
}
.post-card {
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  transition: all .25s;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(13,30,63,.1);
  border-color: var(--gold);
}
.post-card-img {
  width: 100%; aspect-ratio: 16/9; overflow: hidden;
  background: var(--light);
}
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-body { padding: 24px; }
.post-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; color: var(--muted); margin-bottom: 10px;
}
.post-meta i { color: var(--gold); }
.post-card h3 { font-size: 18px; margin-bottom: 10px; }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--gold); }
.post-card p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.read-more { font-size: 13px; color: var(--gold); font-weight: 600; display: flex; align-items: center; gap: 6px; }

/* Single post */
.single-post-content {
  max-width: 720px;
}
.single-post-content h2 { font-size: 26px; margin: 32px 0 12px; }
.single-post-content h3 { font-size: 20px; margin: 24px 0 10px; }
.single-post-content p { font-size: 16px; line-height: 1.8; margin-bottom: 18px; }
.single-post-content ul, .single-post-content ol {
  margin: 16px 0 20px 28px; font-size: 15px; line-height: 1.75;
}
.single-post-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 20px; margin: 24px 0;
  background: var(--offwhite); border-radius: 0 8px 8px 0;
  font-style: italic; color: var(--muted);
}
.author-box {
  background: var(--offwhite); border-radius: 12px;
  padding: 28px; margin-top: 48px;
  display: flex; gap: 20px; align-items: flex-start;
  border: 1px solid var(--border);
}
.author-box-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--navy); display: flex; align-items: center;
  justify-content: center; color: var(--gold2); font-size: 28px; flex-shrink: 0;
}
.author-box-info h4 { font-size: 16px; margin-bottom: 4px; font-family: 'Inter', sans-serif; }
.author-box-info p { font-size: 14px; color: var(--muted); margin: 0; }

/* ═══════════════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 380px; gap: 60px;
}
.contact-info-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.contact-info-item i {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--navy); display: flex; align-items: center;
  justify-content: center; color: var(--gold2); font-size: 17px;
}
.contact-info-item h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; font-family: 'Inter', sans-serif; }
.contact-info-item p { font-size: 14px; color: var(--muted); margin: 0; }
/* WPForms / CF7 form styling */
.wpcf7-form .form-row,
.wpforms-field { margin-bottom: 18px; }
.wpcf7-form label,
.wpforms-field-label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpforms-field-medium,
.wpforms-field-large {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--border); border-radius: 6px;
  font-size: 15px; font-family: 'Inter', sans-serif;
  color: var(--text); background: var(--white);
  transition: border-color .2s;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus { outline: none; border-color: var(--gold); }
.wpcf7-form textarea { min-height: 130px; resize: vertical; }
.wpcf7-submit, .wpforms-submit {
  background: var(--gold) !important; color: var(--navy) !important;
  font-weight: 700 !important; font-size: 15px !important;
  padding: 14px 32px !important; border-radius: 5px !important;
  border: none !important; cursor: pointer !important;
  transition: background .2s !important;
}
.wpcf7-submit:hover, .wpforms-submit:hover { background: var(--gold2) !important; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
#site-footer {
  background: #07111f;
  color: rgba(255,255,255,.6);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 44px; padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 28px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; margin-bottom: 16px;
}
.footer-logo-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 800; color: var(--navy); font-size: 15px;
}
.footer-logo span { font-size: 15px; font-weight: 700; color: var(--white); }
.footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.55); }
.footer-col h4 {
  font-size: 12px; font-weight: 700; color: var(--white);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 16px; font-family: 'Inter', sans-serif;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a {
  color: rgba(255,255,255,.5); font-size: 13px;
  text-decoration: none; transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold2); }
.footer-col ul li a.highlight { color: var(--gold2); font-weight: 600; }
.footer-contact-item {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px;
}
.footer-contact-item i { color: var(--gold2); font-size: 13px; margin-top: 2px; width: 15px; flex-shrink: 0; }
.footer-contact-item span { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.5; }
.footer-contact-item a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,.3); flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,.35); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold2); }

/* ═══════════════════════════════════════════════════════════
   STICKY CTA BAR
═══════════════════════════════════════════════════════════ */
#sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
  background: var(--navy); border-top: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 12px 5%;
}
#sticky-cta p { color: rgba(255,255,255,.8); font-size: 14px; margin: 0; }
#sticky-cta p strong { color: var(--white); }

/* ═══════════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════════ */
.pagination {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 48px; flex-wrap: wrap;
}
.pagination .page-numbers {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 6px;
  border: 1px solid var(--border); color: var(--text);
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: all .2s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner,
  .about-grid,
  .how-grid { grid-template-columns: 1fr; }
  .hero-photo-card { max-width: 360px; }
  .about-photo-wrap { max-width: 400px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-layout-2col { grid-template-columns: 1fr 280px; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  body { padding-top: 72px; }
  .grid-3, .grid-services { grid-template-columns: 1fr; }
  .grid-2, .posts-grid { grid-template-columns: 1fr; }
  .page-layout-2col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  #primary-nav ul { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); padding: 20px 5%; gap: 0; }
  #primary-nav ul.open { display: flex; }
  #primary-nav ul li a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.07); display: block; }
  .menu-toggle { display: block; }
  #sticky-cta { flex-direction: column; gap: 10px; text-align: center; padding: 14px 5%; }
  .cred-divider { display: none; }
  .cred-strip-inner { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .hero-trust { flex-direction: column; gap: 10px; }
}
