/*
Theme Name:  PGA & Co. Premium
Theme URI:   https://pgaca.in
Author:      PGA & Co. Chartered Accountants
Author URI:  https://pgaca.in
Description: Custom premium WordPress theme for PGA & Co. CA Firm — built for SEO, blogging, and lead generation.
Version:     1.0.0
License:     Private
Text Domain: pgaca
Tags:        custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ─────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────── */
:root {
  --ink:        #0D0D0D;
  --paper:      #F9F6F1;
  --gold:       #B8943F;
  --gold-light: #D4AF6A;
  --gold-pale:  #F0E8D5;
  --charcoal:   #2A2A2A;
  --mid:        #6B6B6B;
  --rule:       #E0D8CC;
  --white:      #FFFFFF;
  --navy:       #0F1E35;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;
}

/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy); }

/* ─────────────────────────────────────────────
   TOPBAR
───────────────────────────────────────────── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  padding: 8px 0;
  border-bottom: 1px solid rgba(184,148,63,0.3);
}
.topbar-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 40px;
  display: flex; justify-content: space-between; align-items: center;
}
.topbar a { color: rgba(255,255,255,0.65); }
.topbar a:hover { color: var(--gold-light); }
.topbar-links { display: flex; gap: 28px; }

/* ─────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────── */
#site-header {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 20px rgba(0,0,0,0.04);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; position: relative;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 600; color: var(--navy);
  letter-spacing: 0.02em; text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.logo-mark {
  width: 36px; height: 36px; background: var(--navy);
  display: flex; align-items: center; justify-content: center; border-radius: 2px;
}
.logo-mark span {
  color: var(--gold); font-family: var(--font-display);
  font-size: 14px; font-weight: 600; letter-spacing: 0.05em;
}

/* WordPress nav menu */
#primary-menu {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
#primary-menu a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--charcoal);
  padding: 8px 14px; border-radius: 2px; transition: color 0.2s;
}
#primary-menu a:hover,
#primary-menu .current-menu-item > a,
#primary-menu .current_page_item > a { color: var(--gold); }
#primary-menu .menu-item-cta > a {
  background: var(--gold); color: var(--white) !important;
  padding: 10px 20px; border-radius: 2px; font-weight: 500;
}
#primary-menu .menu-item-cta > a:hover { background: var(--navy); }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); transition: all 0.3s; border-radius: 2px;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  background: var(--navy); min-height: 88vh;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(184,148,63,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,148,63,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-left {
  padding: 80px 60px 80px 80px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
}
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 24px; display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 72px); font-weight: 300; color: var(--white);
  line-height: 1.1; margin-bottom: 28px; letter-spacing: -0.01em;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: 16px; color: rgba(255,255,255,0.55);
  max-width: 440px; line-height: 1.75; margin-bottom: 44px; font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-right {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 80px 60px 40px;
}
.hero-stats-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184,148,63,0.2); border-radius: 4px;
  padding: 48px; width: 100%; max-width: 400px; backdrop-filter: blur(10px);
}
.hero-stat {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
}
.hero-stat:first-child { padding-top: 0; }
.hero-stat:last-child { border-bottom: none; padding-bottom: 0; }
.stat-label {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); font-family: var(--font-mono);
}
.stat-value { font-family: var(--font-display); font-size: 36px; font-weight: 300; color: var(--gold-light); }
.stat-value sup { font-size: 16px; }

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn-primary {
  background: var(--gold); color: var(--white);
  padding: 14px 32px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  border: none; cursor: pointer; text-decoration: none;
  display: inline-block; transition: all 0.25s; border-radius: 2px;
}
.btn-primary:hover { background: var(--white); color: var(--navy); }
.btn-ghost {
  color: rgba(255,255,255,0.7); padding: 14px 32px;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.2); cursor: pointer;
  text-decoration: none; display: inline-block; transition: all 0.25s; border-radius: 2px;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline {
  color: var(--navy); padding: 12px 28px; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-mono);
  border: 1px solid var(--rule); display: inline-block; transition: all 0.25s; border-radius: 2px;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ─────────────────────────────────────────────
   TRUST BAR
───────────────────────────────────────────── */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--rule); padding: 28px 0; }
.trust-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; gap: 48px; flex-wrap: wrap; justify-content: center;
}
.trust-item {
  font-size: 12px; font-family: var(--font-mono); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mid);
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
}
.trust-item::before { content: '◆'; color: var(--gold); font-size: 8px; }

/* ─────────────────────────────────────────────
   SECTION UTILITIES
───────────────────────────────────────────── */
.section { padding: 100px 0; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.section-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.section-label::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
h2.serif {
  font-family: var(--font-display); font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300; line-height: 1.15; color: var(--navy); letter-spacing: -0.01em;
}
h2.serif em { font-style: italic; color: var(--gold); }
.gold-rule { width: 60px; height: 1px; background: var(--gold); margin: 28px 0; }

/* ─────────────────────────────────────────────
   ABOUT SECTION
───────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.about-img-main {
  width: 100%; aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3054 100%);
  border-radius: 3px; position: relative; overflow: hidden;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-overlay {
  position: absolute; bottom: -24px; right: -24px; width: 55%;
  aspect-ratio: 1; background: var(--gold-pale);
  border: 6px solid var(--paper); border-radius: 3px;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 20px;
}
.about-img-overlay strong {
  font-family: var(--font-display); font-size: 48px; font-weight: 300;
  color: var(--navy); display: block; line-height: 1;
}
.about-img-overlay span {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mid); font-family: var(--font-mono); margin-top: 8px;
}
.about-text { padding-right: 20px; }
.about-text p { color: var(--mid); margin: 20px 0 28px; font-size: 16px; line-height: 1.85; font-weight: 300; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.pillar {
  border: 1px solid var(--rule); padding: 20px; border-radius: 3px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pillar:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(184,148,63,0.08); }
.pillar-icon {
  width: 32px; height: 32px; background: var(--gold-pale); border-radius: 2px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 10px; font-size: 14px;
}
.pillar h4 { font-size: 13px; font-weight: 500; color: var(--navy); letter-spacing: 0.04em; }
.pillar p { font-size: 12px; color: var(--mid); margin: 6px 0 0; line-height: 1.6; }

/* ─────────────────────────────────────────────
   SERVICES SECTION
───────────────────────────────────────────── */
.services-bg { background: var(--navy); }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.services-header h2.serif { color: var(--white); }
.services-header h2.serif em { color: var(--gold-light); }
.services-header .section-label::before { background: var(--gold); }
.services-view-all { color: rgba(255,255,255,0.5); font-size: 13px; font-family: var(--font-mono); letter-spacing: 0.1em; }
.services-view-all:hover { color: var(--gold); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.service-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  padding: 36px 28px; cursor: pointer; transition: background 0.3s, border-color 0.3s;
  position: relative; overflow: hidden; text-decoration: none; display: block;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.3s; transform-origin: left;
}
.service-card:hover { background: rgba(184,148,63,0.06); border-color: rgba(184,148,63,0.2); }
.service-card:hover::before { transform: scaleX(1); }
.service-num { font-family: var(--font-mono); font-size: 11px; color: var(--gold); letter-spacing: 0.15em; margin-bottom: 20px; }
.service-card h3 {
  font-family: var(--font-display); font-size: 20px; font-weight: 400;
  color: var(--white); line-height: 1.3; margin-bottom: 14px;
}
.service-card p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; font-weight: 300; }
.service-arrow { margin-top: 24px; font-size: 18px; color: var(--gold); opacity: 0; transition: opacity 0.2s, transform 0.2s; }
.service-card:hover .service-arrow { opacity: 1; transform: translateX(4px); }

/* ─────────────────────────────────────────────
   PROCESS SECTION
───────────────────────────────────────────── */
.process-section { background: var(--paper); }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 64px; position: relative;
}
.process-steps::before {
  content: ''; position: absolute; top: 28px; left: 8%; right: 8%;
  height: 1px; background: var(--rule); z-index: 0;
}
.process-step { text-align: center; padding: 0 24px; position: relative; z-index: 1; }
.step-dot {
  width: 56px; height: 56px; background: var(--white);
  border: 2px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-family: var(--font-display);
  font-size: 20px; font-weight: 600; color: var(--gold);
}
.process-step h4 { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--navy); margin-bottom: 10px; }
.process-step p { font-size: 13px; color: var(--mid); line-height: 1.7; font-weight: 300; }

/* ─────────────────────────────────────────────
   BLOG / INSIGHTS
───────────────────────────────────────────── */
.blog-section { background: var(--white); }
.blog-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; }
.blog-view-all { font-size: 13px; font-family: var(--font-mono); color: var(--gold); letter-spacing: 0.1em; }
.blog-view-all:hover { color: var(--navy); }
.blog-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.blog-card { cursor: pointer; transition: transform 0.25s; }
.blog-card:hover { transform: translateY(-4px); }
.blog-thumb {
  aspect-ratio: 16/9; background: var(--gold-pale); border-radius: 3px;
  margin-bottom: 20px; position: relative; overflow: hidden;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-card.featured .blog-thumb { aspect-ratio: 16/10; }
.blog-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,30,53,0.7) 0%, transparent 50%);
}
.blog-category {
  position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--white);
  font-size: 10px; font-family: var(--font-mono); letter-spacing: 0.12em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 2px;
}
.blog-meta {
  font-size: 11px; font-family: var(--font-mono); color: var(--mid);
  letter-spacing: 0.08em; margin-bottom: 10px;
  display: flex; gap: 16px; align-items: center;
}
.blog-meta::before { content: ''; width: 20px; height: 1px; background: var(--gold); }
.blog-card h3 {
  font-family: var(--font-display); font-size: 20px; font-weight: 400;
  color: var(--navy); line-height: 1.35; margin-bottom: 10px; transition: color 0.2s;
}
.blog-card:hover h3 { color: var(--gold); }
.blog-card.featured h3 { font-size: 26px; }
.blog-excerpt {
  font-size: 13.5px; color: var(--mid); line-height: 1.75; font-weight: 300;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-readmore {
  margin-top: 14px; font-size: 12px; font-family: var(--font-mono);
  color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s;
}
.blog-readmore:hover { gap: 10px; color: var(--navy); }

/* WordPress default post classes */
.post-thumbnail { margin-bottom: 20px; border-radius: 3px; overflow: hidden; }
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.entry-title { font-family: var(--font-display); font-size: 20px; font-weight: 400; color: var(--navy); line-height: 1.35; }
.entry-meta { font-size: 11px; font-family: var(--font-mono); color: var(--mid); letter-spacing: 0.08em; margin-bottom: 10px; }
.entry-summary { font-size: 13.5px; color: var(--mid); line-height: 1.75; font-weight: 300; }

/* ─────────────────────────────────────────────
   SINGLE POST / BLOG PAGE
───────────────────────────────────────────── */
.blog-page-header { background: var(--navy); padding: 80px 0; text-align: center; }
.blog-page-header h1 { font-family: var(--font-display); font-size: 52px; font-weight: 300; color: var(--white); }
.blog-page-header h1 em { font-style: italic; color: var(--gold-light); }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 60px; }

.single-post-wrap { max-width: 800px; margin: 80px auto; padding: 0 40px; }
.single-post-wrap h1.entry-title {
  font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px);
  font-weight: 300; color: var(--navy); line-height: 1.2; margin-bottom: 20px;
}
.entry-content { margin-top: 40px; }
.entry-content h2, .entry-content h3 {
  font-family: var(--font-display); color: var(--navy); margin: 36px 0 16px; font-weight: 400;
}
.entry-content h2 { font-size: 32px; }
.entry-content h3 { font-size: 24px; }
.entry-content p { margin-bottom: 20px; color: var(--charcoal); font-size: 16px; line-height: 1.85; font-weight: 300; }
.entry-content ul, .entry-content ol { padding-left: 28px; margin-bottom: 20px; color: var(--charcoal); line-height: 1.85; }
.entry-content li { margin-bottom: 8px; }
.entry-content blockquote {
  border-left: 3px solid var(--gold); padding: 16px 24px; margin: 32px 0;
  background: var(--gold-pale); border-radius: 0 3px 3px 0;
  font-family: var(--font-display); font-size: 22px; font-style: italic; color: var(--navy);
}
.entry-content a { color: var(--gold); border-bottom: 1px solid var(--gold-pale); }
.entry-content a:hover { border-color: var(--gold); }
.post-featured-image { margin-bottom: 48px; border-radius: 4px; overflow: hidden; }
.post-featured-image img { width: 100%; height: auto; }
.post-categories { margin-bottom: 12px; }
.post-categories a {
  background: var(--gold); color: var(--white); font-size: 10px;
  font-family: var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px; margin-right: 6px;
}

/* ─────────────────────────────────────────────
   EXPERTISE STRIP
───────────────────────────────────────────── */
.expertise-strip {
  background: var(--gold-pale); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 60px 0;
}
.expertise-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: center;
}
.expertise-label h3 {
  font-family: var(--font-display); font-size: 36px; font-weight: 300; color: var(--navy); line-height: 1.2;
}
.expertise-label h3 em { color: var(--gold); font-style: italic; }
.expertise-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  background: var(--white); border: 1px solid var(--rule); padding: 8px 16px;
  font-size: 12px; font-family: var(--font-mono); letter-spacing: 0.08em; color: var(--charcoal);
  border-radius: 2px; transition: all 0.2s; text-decoration: none; display: inline-block;
}
.tag:hover { border-color: var(--gold); color: var(--gold); }
.tag.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ─────────────────────────────────────────────
   CTA SECTION
───────────────────────────────────────────── */
.cta-section {
  background: var(--navy); padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: 'PGA & Co.'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); font-family: var(--font-display);
  font-size: 200px; font-weight: 600; color: rgba(255,255,255,0.02);
  white-space: nowrap; pointer-events: none; letter-spacing: 0.05em;
}
.cta-section .section-label { justify-content: center; margin-bottom: 20px; }
.cta-section .section-label::before { display: none; }
.cta-section h2.serif { color: var(--white); max-width: 600px; margin: 0 auto 16px; }
.cta-section h2.serif em { color: var(--gold-light); }
.cta-section .cta-sub { color: rgba(255,255,255,0.5); margin-bottom: 44px; font-size: 16px; font-weight: 300; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
#colophon { background: var(--ink); color: rgba(255,255,255,0.5); padding: 80px 0 0; }
.footer-grid {
  max-width: 1240px; margin: 0 auto; padding: 0 40px 60px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .site-logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.75; font-weight: 300; max-width: 280px; }
#colophon h5 {
  font-size: 11px; font-family: var(--font-mono); letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
#colophon ul { list-style: none; }
#colophon li { margin-bottom: 10px; }
#colophon a { color: rgba(255,255,255,0.5); font-size: 13px; }
#colophon a:hover { color: var(--gold); }
.footer-contact-item {
  font-size: 13px; line-height: 1.6; margin-bottom: 10px; display: flex; gap: 10px;
}
.footer-contact-label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--gold); text-transform: uppercase; min-width: 48px; padding-top: 2px;
}
.footer-bottom {
  max-width: 1240px; margin: 0 auto; padding: 24px 40px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; font-family: var(--font-mono); letter-spacing: 0.06em;
}
.footer-seo-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-seo-links a { color: rgba(255,255,255,0.3); font-size: 11px; }
.footer-seo-links a:hover { color: var(--gold); }

/* ─────────────────────────────────────────────
   CONTACT PAGE
───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
.contact-form-wrap { background: var(--white); border: 1px solid var(--rule); padding: 48px; border-radius: 4px; }
.contact-form-wrap h3 { font-family: var(--font-display); font-size: 32px; font-weight: 300; color: var(--navy); margin-bottom: 8px; }
.contact-form-wrap p { color: var(--mid); font-size: 14px; margin-bottom: 32px; }
.wpcf7-form label { display: block; font-size: 12px; font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 6px; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%; padding: 12px 16px; border: 1px solid var(--rule); border-radius: 2px;
  font-family: var(--font-body); font-size: 14px; color: var(--charcoal);
  background: var(--paper); margin-bottom: 20px; transition: border-color 0.2s;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus { outline: none; border-color: var(--gold); }
.wpcf7-form textarea { min-height: 120px; resize: vertical; }
.wpcf7-form input[type="submit"] {
  background: var(--gold); color: var(--white); padding: 14px 32px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  border: none; cursor: pointer; border-radius: 2px; transition: background 0.25s; width: 100%;
}
.wpcf7-form input[type="submit"]:hover { background: var(--navy); }
.contact-info-item { padding: 24px 0; border-bottom: 1px solid var(--rule); display: flex; gap: 20px; align-items: flex-start; }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon { font-size: 20px; padding-top: 2px; }
.contact-info-text h4 { font-size: 12px; font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contact-info-text p { font-size: 15px; color: var(--charcoal); line-height: 1.6; }

/* ─────────────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────────────── */
.page-hero {
  background: var(--navy); padding: 80px 0; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(184,148,63,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(184,148,63,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(36px, 4vw, 60px); font-weight: 300; color: var(--white); }
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero p { color: rgba(255,255,255,0.55); max-width: 560px; margin-top: 16px; font-size: 16px; font-weight: 300; }
.breadcrumb { font-size: 12px; font-family: var(--font-mono); letter-spacing: 0.08em; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.breadcrumb a { color: var(--gold); }

/* ─────────────────────────────────────────────
   WIDGETS (sidebar)
───────────────────────────────────────────── */
.widget-area { padding-top: 0; }
.widget { margin-bottom: 40px; padding: 28px; background: var(--white); border: 1px solid var(--rule); border-radius: 3px; }
.widget-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.widget ul { list-style: none; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 13px; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--charcoal); }
.widget ul li a:hover { color: var(--gold); }
.widget_search .search-form { display: flex; gap: 8px; }
.widget_search .search-field {
  flex: 1; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 2px;
  font-family: var(--font-body); font-size: 13px;
}
.widget_search .search-submit { background: var(--gold); color: var(--white); border: none; padding: 10px 16px; cursor: pointer; border-radius: 2px; }

/* ─────────────────────────────────────────────
   PAGINATION
───────────────────────────────────────────── */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 60px; }
.pagination .page-numbers {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule); color: var(--charcoal); font-size: 13px; border-radius: 2px; transition: all 0.2s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* ─────────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-left > * { animation: fadeUp 0.8s ease both; }
.hero-left > *:nth-child(1) { animation-delay: 0.1s; }
.hero-left > *:nth-child(2) { animation-delay: 0.25s; }
.hero-left > *:nth-child(3) { animation-delay: 0.4s; }
.hero-left > *:nth-child(4) { animation-delay: 0.55s; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: none; }
  .hero-left { padding: 80px 40px; text-align: center; }
  .hero-eyebrow { justify-content: center; }
  .hero-sub { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 480px; margin: 0 auto; }
  .about-img-main { aspect-ratio: 3/2; }
  .about-text { padding-right: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-card.featured { grid-column: 1 / -1; }
  .expertise-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 48px; }
  .process-steps::before { display: none; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  #primary-menu { display: none; }
  .nav-toggle { display: flex; }
  #primary-menu.mobile-open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule); padding: 16px 24px; gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08); z-index: 200;
  }
  #primary-menu.mobile-open a { padding: 12px 8px; border-bottom: 1px solid var(--rule); display: block; }
  #primary-menu.mobile-open li:last-child a { border-bottom: none; }
  #primary-menu.mobile-open .menu-item-cta a { margin-top: 8px; text-align: center; display: block; }
}

@media (max-width: 768px) {
  .topbar-inner { flex-direction: column; gap: 6px; text-align: center; }
  .topbar-links { flex-wrap: wrap; justify-content: center; gap: 14px; }
  .hero-left { padding: 60px 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions a { text-align: center; }
  .section { padding: 64px 0; }
  .container { padding: 0 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card.featured { grid-column: auto; }
  .process-steps { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 0 24px 48px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; padding: 20px 24px; }
  .footer-seo-links { justify-content: center; }
  .trust-inner { gap: 16px; padding: 0 24px; }
  .services-header, .blog-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pillars { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row a { text-align: center; }
  .about-img-overlay { width: 46%; right: -12px; bottom: -16px; }
  .about-img-overlay strong { font-size: 36px; }
  .posts-grid { grid-template-columns: 1fr; }
  .single-post-wrap { padding: 0 24px; margin: 48px auto; }
}

@media (max-width: 480px) {
  .topbar { display: none; }
  .nav-inner { padding: 0 20px; }
  .container { padding: 0 20px; }
  .trust-item:nth-child(n+5) { display: none; }
}
