/*
Theme Name: Sherman Bookkeeping
Theme URI: https://thefreewebsiteguys.com
Author: The Free Website Guys
Author URI: https://thefreewebsiteguys.com
Description: WordPress theme generated from the Lovable frontend for Sherman Bookkeeping.
Version: 1.0.5
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: sherman-bookkeeping
*/

:root {
  --background-color: #ffffff;
  --foreground-color: #132845;
  --card-color: #ffffff;
  --card-foreground-color: #132845;
  --primary-color: #163a69;
  --primary-foreground-color: #ffffff;
  --secondary-color: #f1f5f9;
  --secondary-foreground-color: #132845;
  --muted-color: #f1f5f9;
  --muted-foreground-color: #62748a;
  --accent-color: #2ea56c;
  --accent-foreground-color: #ffffff;
  --border-color: #d6e0ea;
  --input-color: #d6e0ea;
  --ring-color: #163a69;
  --radius-base: 8px;
  --sherman-blue: #163a69;
  --sherman-blue-light: #2e568a;
  --sherman-green: #2ea56c;
  --sherman-green-light: #4fbc85;
  --sherman-green-muted: #eaf5ef;
  --sherman-cream: #f9f7f1;
  --site-header-height: 80px;
  --container-width: 1400px;
  --shadow-soft: 0 10px 25px rgba(19, 40, 69, 0.08);
  --shadow-card: 0 16px 40px rgba(19, 40, 69, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background-color);
  color: var(--foreground-color);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { border: 0; background: none; padding: 0; cursor: pointer; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--input-color);
  border-radius: var(--radius-base);
  background: var(--card-color);
  color: var(--foreground-color);
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(46, 165, 108, 0.15);
}
textarea { resize: vertical; min-height: 80px; }
.site-shell { min-height: 100vh; background: var(--background-color); }
.container { width: min(calc(100% - 32px), var(--container-width)); margin: 0 auto; }
.section-title {
  margin: 0 0 16px;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--primary-color);
}
.section-intro {
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted-foreground-color);
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.7;
}
.section-header { margin-bottom: 48px; text-align: center; }
.button, .submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  border-radius: var(--radius-base);
  background: var(--accent-color);
  color: var(--accent-foreground-color);
  padding: 14px 28px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.button:hover, .submit-button:hover { transform: translateY(-1px); box-shadow: 0 14px 24px rgba(46, 165, 108, 0.2); }
.button-label { display: flex; flex-direction: column; align-items: center; }
.button-arrow { width: 20px; height: 20px; transition: transform 0.2s ease; }
.button:hover .button-arrow, .submit-button:hover .button-arrow { transform: translateX(3px); }
.section-cta { margin-top: 40px; text-align: center; }
.card { background: var(--card-color); color: var(--card-foreground-color); border-radius: 16px; box-shadow: var(--shadow-soft); }
.structured-item.is-empty { display: none !important; }
.fade-in { opacity: 0; animation: fadeIn 0.5s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.icon { width: 24px; height: 24px; display: inline-block; flex: 0 0 auto; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background-color 0.3s ease, border-color 0.3s ease; }
.site-header.is-opaque { background: var(--sherman-green-muted); border-color: rgba(46, 165, 108, 0.2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--site-header-height); }
.header-logo-link { display: inline-flex; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.site-header.is-opaque .header-logo-link, .site-header.show-logo .header-logo-link { opacity: 1; pointer-events: auto; }
.header-logo { width: auto; height: 80px; }
.header-spacer { flex: 1; }
.header-nav { display: none; align-items: center; gap: 40px; }
.header-nav .nav-link { font-size: 1.125rem; font-weight: 600; color: var(--primary-color); transition: color 0.2s ease; }
.header-nav .nav-link:hover, .mobile-nav .nav-link:hover, .footer-links .nav-link:hover { color: var(--accent-color); }
.header-contact { padding-inline: 24px; }
.header-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--primary-color); }
.mobile-panel { display: none; padding: 16px 0 20px; border-top: 1px solid rgba(46, 165, 108, 0.2); }
.site-header.menu-open .mobile-panel { display: block; }
.mobile-nav { display: flex; flex-direction: column; gap: 16px; }
.mobile-nav .nav-link { text-align: left; font-size: 1.125rem; font-weight: 600; color: var(--primary-color); padding: 8px 0; }
.mobile-nav .button { width: 100%; }
.hero-section { position: relative; overflow: hidden; min-height: 600px; padding: calc(var(--site-header-height) + 16px) 0 64px; }
.hero-bg { position: absolute; inset: 0; z-index: -10; background: linear-gradient(135deg, var(--background-color) 0%, var(--background-color) 55%, var(--muted-color) 100%); }
.hero-pattern { position: absolute; inset: 0; opacity: 0.4; background-image: radial-gradient(circle, rgba(22, 58, 105, 0.15) 1px, transparent 1px); background-size: 24px 24px; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0), rgba(255,255,255,0.5)); }
.floating-icon { position: absolute; opacity: 0.12; color: var(--primary-color); }
.floating-icon.accent { color: var(--accent-color); }
.hero-content { max-width: 920px; margin: 0 auto; text-align: center; }
.hero-brand { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 32px; }
.hero-main-logo { width: auto; height: 128px; }
.hero-badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; }
.hero-badge { width: auto; height: 72px; }
.hero-certified { margin: 0; color: var(--primary-color); font-size: 1rem; font-weight: 600; }
.hero-location, .hero-subheadline, .hero-disclaimer, .hero-microcopy { color: var(--muted-foreground-color); }
.hero-location { margin: 0; font-size: 0.875rem; }
.hero-title { margin: 0 0 20px; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; font-weight: 700; }
.hero-title-line { display: block; }
.hero-title-line.primary { color: var(--primary-color); }
.hero-title-line.accent { color: var(--accent-color); }
.hero-subheadline { max-width: 760px; margin: 0 auto 24px; font-size: clamp(1.125rem, 2vw, 1.25rem); line-height: 1.7; }
.hero-subheadline-strong { color: var(--foreground-color); font-weight: 700; }
.hero-stats { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 40px; }
.hero-stats-row { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.hero-stat { display: flex; align-items: center; gap: 12px; color: var(--foreground-color); font-weight: 600; }
.hero-stat .icon { color: var(--accent-color); }
.hero-stat-divider { display: none; width: 6px; height: 6px; border-radius: 50%; background: var(--muted-foreground-color); }
.hero-disclaimer { margin: 0; font-size: 0.75rem; font-style: italic; }
.hero-microcopy { margin: 16px 0 0; font-size: 0.875rem; }
.audience-section { padding: 64px 0; background: var(--primary-color); }
.audience-section .section-title, .audience-section .section-intro { color: var(--primary-foreground-color); }
.audience-section .section-intro { opacity: 0.8; }
.audience-grid, .testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 1060px; margin: 0 auto; }
.audience-card { overflow: hidden; }
.audience-card-image-wrap { height: 192px; overflow: hidden; }
.audience-card-image { width: 100%; height: 100%; object-fit: cover; }
.audience-card-body { padding: 32px; text-align: center; }
.audience-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-top: -48px; margin-bottom: 24px; border: 4px solid var(--card-color); border-radius: 999px; background: rgba(46,165,108,0.1); color: var(--accent-color); position: relative; z-index: 1; }
.audience-card-title, .service-card-title, .service-list-title, .process-card-title, .testimonial-name, .footer-links-title { margin: 0 0 12px; color: var(--primary-color); font-weight: 600; }
.audience-card-title, .service-card-title, .process-card-title { font-size: 1.25rem; }
.audience-card-description, .about-copy, .highlight-text, .service-card-description, .service-list-description, .service-list-pricing, .process-card-description, .testimonial-role, .testimonial-content, .faq-answer, .footer-tagline, .footer-bottom { color: var(--muted-foreground-color); line-height: 1.7; }
.about-section { padding: 80px 0 128px; background: linear-gradient(to bottom, rgba(241,245,249,0.4), rgba(46,165,108,0.05), rgba(241,245,249,0.4)); }
.about-shell { max-width: 1100px; margin: 0 auto; }
.about-title { margin: 0 0 40px; text-align: center; }
.about-media-copy { margin-bottom: 48px; }
.about-media { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 32px; }
.about-headshot { width: 320px; max-width: 100%; border-radius: 24px; box-shadow: var(--shadow-soft); object-fit: cover; object-position: top center; }
.about-badges { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.about-badge { width: auto; height: 64px; }
.about-copy-stack { display: grid; gap: 16px; }
.about-copy { margin: 0; font-size: 1.25rem; }
.highlight-grid, .services-grid, .process-grid, .one-time-grid { display: grid; gap: 24px; }
.highlight-grid { grid-template-columns: 1fr; margin-bottom: 32px; }
.highlight-card, .service-card, .service-list-card, .testimonial-card { height: 100%; }
.highlight-card { padding: 24px; text-align: center; border: 1px solid var(--border-color); box-shadow: none; }
.highlight-icon, .service-card-icon, .service-list-icon, .process-card-icon { display: inline-flex; align-items: center; justify-content: center; background: rgba(46,165,108,0.1); color: var(--accent-color); }
.highlight-icon { width: 56px; height: 56px; border-radius: 999px; margin-bottom: 16px; }
.highlight-text { margin: 0; font-weight: 500; color: var(--foreground-color); }
.about-certification { margin: 0 0 32px; text-align: center; font-size: 0.875rem; font-style: italic; }
.services-section, .faq-section { position: relative; overflow: hidden; padding: 80px 0 128px; }
.services-grid { grid-template-columns: 1fr; max-width: 1200px; margin: 0 auto 24px; }
.service-card, .service-list-card { border: 1px solid var(--border-color); box-shadow: none; }
.service-card-body { padding: 32px; text-align: center; }
.service-card-icon, .service-list-icon { width: 56px; height: 56px; border-radius: 12px; }
.service-card-icon { margin: 0 auto 20px; }
.services-note { max-width: 760px; margin: 0 auto; text-align: center; font-size: 0.875rem; font-style: italic; }
.services-subtitle { margin: 0 0 32px; text-align: center; font-size: 1.5rem; color: var(--primary-color); }
.one-time-grid { grid-template-columns: 1fr; max-width: 920px; margin: 0 auto; }
.service-list-body { display: flex; gap: 20px; padding: 32px; }
.service-list-pricing { margin: 0; font-size: 0.875rem; font-style: italic; }
.process-section, .contact-section, .testimonials-section { padding: 64px 0 96px; background: var(--muted-color); }
.process-shell { max-width: 980px; margin: 0 auto; position: relative; }
.process-line { display: none; position: absolute; top: 96px; left: 50%; width: 66.6667%; height: 2px; transform: translateX(-50%); background: rgba(46,165,108,0.2); }
.process-grid { grid-template-columns: 1fr; }
.process-card { text-align: center; }
.process-card-icon-wrap { position: relative; display: inline-flex; margin-bottom: 24px; }
.process-card-icon { width: 80px; height: 80px; border-radius: 999px; }
.process-number { position: absolute; top: -8px; right: -8px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: var(--primary-color); color: var(--primary-foreground-color); font-size: 0.875rem; font-weight: 700; }
.process-card-description, .testimonial-content { margin: 0 0 12px; }
.process-timing { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(46,165,108,0.1); color: var(--accent-color); font-size: 0.875rem; font-weight: 500; }
.testimonial-grid { align-items: stretch; }
.testimonial-card { position: relative; }
.testimonial-body { display: flex; flex-direction: column; height: 100%; padding: 32px 24px 24px; }
.testimonial-quote-badge { position: absolute; top: -16px; left: 24px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: var(--accent-color); color: var(--accent-foreground-color); }
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 16px; color: var(--accent-color); }
.testimonial-content { font-style: italic; flex: 1 1 auto; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: rgba(22,58,105,0.1); color: var(--primary-color); font-size: 0.875rem; font-weight: 600; }
.testimonial-name, .testimonial-role { margin: 0; }
.faq-accordion { max-width: 980px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 24px 0; color: var(--foreground-color); font-size: 1.125rem; font-weight: 500; text-align: left; }
.faq-question:hover { color: var(--primary-color); }
.faq-chevron { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.2s ease; }
.faq-chevron svg { width: 100%; height: 100%; display: block; }
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }
.faq-answer-wrap { padding: 0 0 24px; }
.faq-answer { margin: 0; }
.contact-card-wrap { max-width: 576px; margin: 0 auto; }
.contact-card { box-shadow: var(--shadow-card); }
.contact-card-body { padding: 24px; }
.form-row { display: grid; gap: 8px; margin-bottom: 20px; }
.form-label { color: var(--foreground-color); font-weight: 500; }
.radio-stack { display: grid; gap: 10px; margin-top: 8px; }
.radio-option { display: flex; align-items: center; gap: 10px; }
.radio-option input { width: 16px; height: 16px; margin: 0; padding: 0; }
.radio-option label { cursor: pointer; }
.conditional-field[hidden] { display: none; }
.form-status { margin-top: 16px; border-radius: var(--radius-base); padding: 12px 16px; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: rgba(46,165,108,0.12); color: #17724a; }
.form-status.is-error { background: rgba(220,38,38,0.08); color: #991b1b; }
.form-security { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted-foreground-color); font-size: 0.875rem; }
.calendly-wrap { max-width: 768px; margin: 48px auto 0; padding: 0 16px 32px; }
.calendly-inline-widget { min-width: 320px; height: 700px; }
.site-footer { padding: 48px 0; background: var(--primary-color); color: var(--primary-foreground-color); }
.footer-grid { display: grid; gap: 32px; align-items: center; margin-bottom: 32px; }
.footer-logo-wrap, .footer-tagline-wrap, .footer-links-wrap { display: flex; justify-content: center; }
.footer-logo-wrap { align-items: center; }
.footer-logo { width: auto; max-width: 100%; height: 200px; object-fit: contain; }
.footer-tagline { max-width: 360px; margin: 0; font-size: 1.25rem; text-align: center; color: rgba(255,255,255,0.8); }
.footer-links-wrap { flex-direction: column; align-items: center; }
.footer-links-title { margin-bottom: 12px; color: var(--primary-foreground-color); }
.footer-links { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-links .nav-link, .footer-bottom, .footer-credit-link { color: rgba(255,255,255,0.8); }
.footer-bottom-wrap { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 32px; text-align: center; }
.footer-bottom { margin: 0 0 8px; font-size: 0.875rem; }
.footer-credit-link { text-decoration: underline; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
@media (min-width: 640px) {
  .hero-stats-row { flex-direction: row; gap: 32px; }
  .hero-stat-divider { display: block; }
}
@media (min-width: 768px) {
  :root { --site-header-height: 96px; }
  .hero-section { padding-top: calc(var(--site-header-height) + 32px); padding-bottom: 96px; }
  .hero-main-logo { height: 176px; }
  .hero-badge { height: 96px; }
  .hero-location { font-size: 0.9375rem; }
  .audience-section, .process-section, .contact-section, .testimonials-section { padding-top: 96px; padding-bottom: 96px; }
  .contact-card-body { padding: 32px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .about-media { float: left; margin-right: 40px; margin-bottom: 32px; align-items: flex-start; }
  .about-title { text-align: left; }
  .highlight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .header-nav { display: flex; }
  .header-spacer { display: none; }
  .header-menu-toggle, .mobile-panel { display: none !important; }
  .audience-grid, .testimonial-grid, .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .highlight-grid, .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .one-time-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-line { display: block; }
}
