/*
Theme Name: Darryl Kraemer Mortgage
Theme URI: https://www.darrylkraemer.com
Author: Darryl Kraemer
Description: Professional mortgage agent website — clean, modern, navy & gold.
Version: 1.0.0
License: Private
Text Domain: darrylkraemer
*/

/* =========================================================
   CUSTOM PROPERTIES
   ========================================================= */
:root {
  --navy:       #1B3A6B;
  --navy-light: #2C5282;
  --navy-dark:  #122847;
  --gold:       #C49A3C;
  --gold-light: #D4AD55;
  --text:       #2D3748;
  --text-muted: #718096;
  --bg:         #F8FAFC;
  --white:      #FFFFFF;
  --border:     #E2E8F0;
  --radius:     6px;
  --radius-lg:  12px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --transition: 0.2s ease;
  --max-width:  1140px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy-dark);
}
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

p { margin-bottom: 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy-dark);
  margin-bottom: 12px;
}

.section-subhead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 40px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(196,154,60,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

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

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}

.logo-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.logo-name span { color: var(--gold); }

.logo-sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.primary-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--white);
  border-bottom-color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.88rem;
  border: none;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-nav {
  display: none;
  background: var(--navy-dark);
  padding: 16px 24px 24px;
}

.mobile-nav a {
  display: block;
  color: rgba(255,255,255,0.85);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .btn { margin-top: 16px; width: 100%; justify-content: center; }

.mobile-nav.open { display: block; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: var(--navy);
  padding: 80px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(196,154,60,0.06);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196,154,60,0.15);
  border: 1px solid rgba(196,154,60,0.3);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 3rem);
}

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

.hero-lead {
  color: rgba(255,255,255,0.72);
  font-size: 1.08rem;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  position: relative;
}

.hero-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 3/4;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.06);
  border: 2px dashed rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

/* =========================================================
   SERVICES
   ========================================================= */
.services-section {
  padding: 80px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(27,58,107,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--navy);
}

.service-card h3 {
  font-size: 1.05rem;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

/* =========================================================
   ABOUT TEASER
   ========================================================= */
.about-section {
  padding: 80px 0;
  background: var(--bg);
}

.about-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: center;
}

.about-photo-wrap {
  position: relative;
}

.about-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-md);
}

.about-content h2 { margin-bottom: 16px; }

.about-content p {
  font-size: 1rem;
  line-height: 1.75;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* =========================================================
   RATES SECTION
   ========================================================= */
.rates-section {
  padding: 80px 0;
  background: var(--white);
}

.rates-widget-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.rates-table-header {
  background: var(--navy);
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rates-table-header span {
  font-size: 0.85rem;
  font-weight: 600;
}

.rates-live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4caf50;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.rates-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.rates-table td {
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.rates-table tr:last-child td { border-bottom: none; }

.rates-table tr:hover td { background: rgba(27,58,107,0.03); }

.rate-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.rate-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
}

.badge-popular {
  background: rgba(196,154,60,0.12);
  color: #7a5e1a;
}

.badge-value {
  background: rgba(27,58,107,0.08);
  color: var(--navy);
}

.rates-disclaimer {
  padding: 14px 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: var(--white);
}

.lenderspotlight-embed {
  min-height: 200px;
  padding: 24px;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials-section {
  padding: 80px 0;
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(27,58,107,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}

.author-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-dark);
}

.author-detail {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1px;
}

/* =========================================================
   BLOG PREVIEW
   ========================================================= */
.blog-section {
  padding: 80px 0;
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  background: var(--white);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.blog-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-thumb-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-thumb-placeholder svg {
  width: 40px;
  height: 40px;
  color: rgba(255,255,255,0.3);
}

.blog-body { padding: 22px; }

.blog-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gold);
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 1rem;
  color: var(--navy-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card h3 a { color: inherit; text-decoration: none; }
.blog-card h3 a:hover { color: var(--gold); }

.blog-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-section {
  padding: 80px 0;
  background: var(--navy);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.cta-section p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 32px;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   FOOTER
   ========================================================= */
#site-footer {
  background: var(--navy-dark);
  padding: 48px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand .logo-name {
  font-size: 1.1rem;
  margin-bottom: 10px;
  display: block;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  line-height: 1.65;
  margin: 0;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: color var(--transition);
  text-decoration: none;
}

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

.footer-contact p {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.footer-contact a { color: rgba(255,255,255,0.55); }
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  margin-top: 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
}

.footer-legal strong {
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.footer-copyright {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  text-align: right;
  line-height: 1.7;
}

/* =========================================================
   INTERIOR PAGE HERO
   ========================================================= */
.page-hero {
  background: var(--navy);
  padding: 56px 0;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 10px;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0;
}

/* =========================================================
   SINGLE BLOG POST
   ========================================================= */
.post-wrap {
  max-width: 740px;
  margin: 0 auto;
  padding: 60px 24px;
}

.post-header { margin-bottom: 36px; }

.post-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.post-meta span { display: flex; align-items: center; gap: 5px; }

.post-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

.post-content h2 {
  font-size: 1.5rem;
  margin: 36px 0 14px;
}

.post-content h3 {
  font-size: 1.2rem;
  margin: 28px 0 10px;
}

.post-content p { margin-bottom: 1.2rem; }

.post-content ul, .post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }

.post-content li { margin-bottom: 6px; color: var(--text); }

.post-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 14px 20px;
  margin: 24px 0;
  background: var(--bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text);
}

.post-cta-box {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 48px;
  text-align: center;
}

.post-cta-box h3 { color: var(--white); margin-bottom: 10px; }
.post-cta-box p { color: rgba(255,255,255,0.7); margin-bottom: 20px; }

/* =========================================================
   ARCHIVE / BLOG LIST
   ========================================================= */
.archive-wrap { padding: 60px 0; }

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.archive-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.archive-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-2px);
}

.archive-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--navy);
}

.archive-body { padding: 26px; }

.archive-body h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.archive-body h2 a { color: var(--navy-dark); text-decoration: none; }
.archive-body h2 a:hover { color: var(--gold); }

.wp-pagenavi, .navigation.posts-navigation {
  margin-top: 48px;
  text-align: center;
}

.nav-links a, .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--navy);
  margin: 3px;
  transition: all var(--transition);
}

.nav-links a:hover, .page-numbers:hover, .page-numbers.current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* =========================================================
   CONTACT FORM
   ========================================================= */
.contact-section { padding: 80px 0; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.form-group textarea { min-height: 120px; resize: vertical; }

/* =========================================================
   404
   ========================================================= */
.error-404 {
  text-align: center;
  padding: 100px 24px;
}

.error-404 h1 {
  font-size: 6rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 0;
}

.error-404 h2 { color: var(--navy-dark); margin-bottom: 14px; }

/* =========================================================
   UTILITIES
   ========================================================= */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--text-muted); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  color: var(--navy);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
}

.contact-info-item svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-info-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-info-value {
  display: block;
  font-size: 1rem;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
}

.contact-info-value:hover {
  color: var(--gold);
}

.contact-compliance {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.7;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}

/* WPForms overrides — match theme style */
.contact-form-wrap .wpforms-field-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.contact-form-wrap .wpforms-field input,
.contact-form-wrap .wpforms-field textarea,
.contact-form-wrap .wpforms-field select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  width: 100%;
  transition: border-color 0.2s;
}

.contact-form-wrap .wpforms-field input:focus,
.contact-form-wrap .wpforms-field textarea:focus,
.contact-form-wrap .wpforms-field select:focus {
  outline: none;
  border-color: var(--navy);
}

.contact-form-wrap .wpforms-field textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-wrap .wpforms-submit {
  background: var(--navy) !important;
  color: #fff !important;
  border: none !important;
  padding: 14px 32px !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: background 0.2s !important;
}

.contact-form-wrap .wpforms-submit:hover {
  background: var(--navy-dark) !important;
}

/* Radio/checkbox groups (preferred contact method) */
.contact-form-wrap .wpforms-field-radio li,
.contact-form-wrap .wpforms-field-checkbox li {
  margin-bottom: 6px;
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-wrap { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo-wrap { max-width: 340px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .archive-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .primary-nav { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; }
  .footer-copyright { text-align: left; }
  .about-stats { flex-wrap: wrap; gap: 20px; }
  .hero-btns { flex-direction: column; }
  .cta-btns { flex-direction: column; align-items: center; }
  .rates-table th:nth-child(3),
  .rates-table td:nth-child(3) { display: none; }
}
