/*
Theme Name: Greg Fox Bookkeeping
Theme URI: https://gregfoxbookkeeping.com/
Author: Greg Fox
Description: A responsive classic WordPress theme for Greg Fox Bookkeeping.
Version: 1.9.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: greg-fox-bookkeeping
Tags: custom-logo, custom-menu, featured-images, translation-ready
*/
:root {
  --navy: #0b2d5b;
  --navy-dark: #071d3d;
  --orange: #f77c14;
  --ink: #152941;
  --muted: #52647a;
  --off-white: #fffaf6;
  --border: #dce5ee;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--off-white); color: var(--ink); font: 16px/1.6 Arial, Helvetica, sans-serif; }
a { color: var(--navy); }
img { height: auto; max-width: 100%; }
.wrap { margin: 0 auto; max-width: 1160px; padding: 0 22px; }
.site-header { background: #fff; border-bottom: 1px solid #e2e6ed; }
.header-inner { align-items: center; display: grid; gap: 18px; grid-template-columns: 1fr auto 1fr; min-height: 132px; }
.brand img { display: block; max-height: 112px; object-fit: contain; object-position: left; width: 310px; }
.brand .custom-logo-link { display: block; }
.header-phone { color: var(--navy); font-size: clamp(17px, 2vw, 25px); font-weight: 800; justify-self: center; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--orange); }
.header-right { justify-self: end; text-align: right; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; list-style: none; margin: 0 0 10px; padding: 0; }
.site-nav a { font-weight: 700; text-decoration: none; }
.button { background: var(--orange); border: 0; border-radius: 8px; color: #fff !important; cursor: pointer; display: inline-block; font: 700 16px Arial, Helvetica, sans-serif; padding: 12px 22px; text-decoration: none; }
.button:hover { background: #d86200; }
.hero { background: linear-gradient(120deg, var(--navy-dark), #164777); color: #fff; padding: 90px 0; }
.hero .wrap { align-items: center; display: grid; gap: 45px; grid-template-columns: 1.4fr 1fr; }
h1 { font-size: clamp(38px, 5vw, 70px); line-height: 1.08; margin: 0 0 22px; }
h1 em { color: #ff982b; font-style: normal; }
.hero p { color: #e4ecf7; font-size: 19px; }
.hero-card { background: #fff; border-radius: 16px; border-top: 7px solid var(--orange); color: var(--ink); padding: 30px; }
.hero-card h2 { color: var(--navy); }
.hero-card li { margin: 10px 0; }
.section { padding: 75px 0; }
.section h2 { color: var(--navy); font-size: clamp(30px, 3vw, 44px); line-height: 1.2; margin: 0 0 18px; }
.intro { margin: 0 auto 40px; max-width: 750px; text-align: center; }
.cards { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid #dae3ee; border-radius: 13px; border-top: 6px solid var(--orange); padding: 29px; }
.card h3 { color: var(--navy); }
.about { background: #fff; }
.about-grid { align-items: start; display: grid; gap: 48px; grid-template-columns: 330px 1fr; max-width: 1000px; }
.about-photo { border: 7px solid #fff; border-radius: 15px; box-shadow: 0 14px 35px rgba(7, 29, 61, .16); display: block; width: 100%; }
.about-copy p { margin: 0 0 18px; }
.cta { background: var(--navy); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.contact-grid { display: grid; gap: 42px; grid-template-columns: .85fr 1.15fr; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); border-top: 6px solid var(--orange); padding: 30px; }
.fields { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { margin: 0 0 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 5px; }
.field input, .field select, .field textarea { border: 1px solid #8fa3b8; border-radius: 7px; font: inherit; padding: 11px; width: 100%; }
.field textarea { min-height: 125px; }
.field :focus { outline: 2px solid var(--orange); }
.small { color: var(--muted); font-size: 14px; }
.notice { background: #e7f5eb; padding: 12px; }
.notice.error { background: #fff0e6; }
.honeypot { left: -9999px; position: absolute; }
.site-footer { background: #06172e; color: #fff; padding: 38px 0; }
.site-footer a { color: #fff; }
.content { margin: 0 auto; max-width: 850px; padding: 75px 22px; }
.content h1 { color: var(--navy); font-size: 42px; }
@media (max-width: 1050px) and (min-width: 601px) {
  .wrap { padding-left: 18px; padding-right: 5px; }
  .header-inner { gap: 12px; grid-template-columns: minmax(125px, 1fr) auto minmax(145px, 1fr); min-height: 122px; padding: 10px 0; }
  .brand img { max-height: 94px; width: 180px; }
  .header-phone { font-size: clamp(20px, 3vw, 25px); }
  .header-right nav { display: none; }
  .about-grid { gap: 30px; grid-template-columns: 1fr; }
  .about-grid > div:first-child { display: flex; justify-content: center; }
  .about-photo { width: min(330px, 100%); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .header-inner { align-items: center; display: flex; flex-direction: column; gap: 14px; justify-content: center; min-height: 0; padding: 18px 0 22px; }
  .brand, .brand .custom-logo-link { display: flex; justify-content: center; width: 100%; }
  .brand img { max-height: 98px; object-position: center; width: 230px; }
  .header-phone { font-size: 22px; line-height: 1; margin: 2px 0; }
  .header-right { align-items: center; display: flex; flex-direction: column; gap: 10px; text-align: center; width: 100%; }
  .site-nav { width: 100%; }
  .site-nav ul { justify-content: center; margin: 0; }
  .hero .wrap, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .cards, .fields { grid-template-columns: 1fr; }
  .fields { gap: 0; }
  .hero { padding: 55px 0; }
  .section { padding: 55px 0; }
  .service-area {
  color: #ffc890 !important;
  font-size: 16px !important;
  font-weight: 700;
  letter-spacing: .01em;
  margin: 0 0 24px !important;
	}
/*
 * Footer social-link correction
 * Paste this at the very bottom of style.css. It overrides the earlier footer-social rules.
 */
.site-footer .footer-content {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    justify-content: flex-start;
}
.site-footer .footer-social {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    margin-left: auto;
    width: auto;
}
.site-footer .social-link {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    min-height: 28px;
    padding: 0;
    width: 28px;
}
.site-footer .social-link svg {
    height: 14px;
    width: 14px;
}
.site-footer .social-link span {
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.site-footer .footer-copyright {
    flex-basis: 100%;
    margin-top: 4px !important;
}
@media (max-width: 600px) {
    .site-footer .footer-content {
        align-items: flex-start;
        flex-direction: column;
    }
    .site-footer .footer-social {
        align-self: flex-end;
        margin-left: 0;
        margin-top: -42px;
    }
}
