/**
 * Site header + footer styling — Harleys Plumbing, Heating & Cooling design.
 *
 * Colors/fonts come from CSS custom properties set once in a small inline
 * <style> block in header.php, computed from the "Colors and Styles" and
 * "Theme Options" ACF option fields:
 *   --site-dark  (color repeater row 1)  --site-a1 (row 2, primary/rust)
 *   --site-a2    (row 3, amber accent)   --site-muted (row 4, light gray)
 *   --site-heading-font / --site-body-font
 * Keep this file static CSS (no PHP).
 */

.site-utility-bar{background:var(--site-dark);color:#E4E5E6;font-size:14px}
.site-utility-bar .container{max-width:1400px;margin:0 auto;padding:10px 24px;display:flex;flex-wrap:wrap;gap:8px 32px;justify-content:space-between;align-items:center}
.site-utility-left{display:flex;flex-wrap:wrap;gap:8px 24px;align-items:center}
.site-utility-bar a{color:#fff;text-decoration:none}
.site-utility-phone{font-weight:700}
.site-utility-emergency{display:flex;align-items:center;gap:8px;font-weight:600}
.site-utility-badge{background:var(--site-a2);color:var(--site-dark);font-weight:800;padding:1px 8px;border-radius:4px;letter-spacing:.04em}
.site-utility-nav ul{list-style:none;display:flex;flex-wrap:wrap;gap:8px 24px;margin:0;padding:0;font-weight:600}
.site-utility-nav a:hover{color:var(--site-a2)}

.site-header{background:#fff;box-shadow:0 2px 10px rgba(30,34,36,.08);position:relative;z-index:10}
.site-header .site-header-inner{max-width:1400px;margin:0 auto;padding:14px 24px;display:flex;flex-wrap:wrap;gap:16px 28px;align-items:center;justify-content:space-between}
.site-header .site-logo{display:flex;align-items:center}
.site-header .site-logo img{width:124px;height:124px;object-fit:contain;border-radius:12px;display:block;box-shadow:0 2px 8px rgba(30,34,36,.2)}
.site-header .site-nav ul{list-style:none;display:flex;flex-wrap:wrap;gap:8px 20px;margin:0;padding:0;font-size:15px;font-weight:600}
.site-header .site-nav a{color:var(--site-dark);text-decoration:none}
.site-header .site-nav a:hover,.site-header .site-nav li.current-menu-item a{color:var(--site-a1)}
.site-header .site-header-cta{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.site-header .site-btn{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:15px;line-height:1.3;padding:12px 18px;border-radius:8px;border:0;text-decoration:none;cursor:pointer;color:#fff}
.site-header .site-btn:hover{filter:brightness(1.08);color:#fff}
.site-header .site-btn-call{background:var(--site-a1)}
.site-header .site-btn-estimate{background:var(--site-dark)}
.site-header .site-reviews-badge{display:flex;align-items:center}

.site-header-mobile{display:none;position:relative;z-index:20;background:#fff;box-shadow:0 2px 10px rgba(30,34,36,.12)}
.site-header-mobile .mobile-top-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px}
.site-header-mobile .mobile-menu-btn{display:flex;align-items:center;justify-content:center;width:56px;height:44px;border:0;border-radius:22px;background:var(--site-muted);color:var(--site-dark);font-size:20px;cursor:pointer}
.site-header-mobile .mobile-menu-btn:hover{background:var(--site-a2)}
.site-header-mobile img{height:64px;width:auto;object-fit:contain;border-radius:8px}
.site-header-mobile .mobile-call-circle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:60px;height:60px;border-radius:50%;background:var(--site-a1);border:3px solid var(--site-a2);color:#fff;font-weight:700;text-transform:uppercase;font-size:10px;line-height:1.05;letter-spacing:.04em;text-align:center;text-decoration:none}

.site-quick-nav{display:grid;grid-template-columns:repeat(4,1fr);background:var(--site-dark)}
.site-quick-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px 6px;color:#fff;font-weight:600;text-transform:uppercase;letter-spacing:.04em;font-size:12px;border-right:1px solid rgba(255,255,255,.18);min-height:56px;text-decoration:none}
.site-quick-nav a:hover{background:var(--site-a1);color:#fff}
.site-quick-nav a:last-child{border-right:0}

/* !important: the theme's style.css sets display on header elements later in the cascade. */
@media (max-width:991px){
	#masthead.site-header{display:none !important}
	#masthead-mobile.site-header-mobile{display:block !important}
	.site-utility-nav{display:none}
}

/* Footer */
.site-footer{background:#F1F2F2;color:var(--site-dark)}
.site-footer .footer-inner{max-width:1280px;margin:0 auto;padding: 2em 2em 1em 2em;display:flex;flex-direction:column;gap:56px}
.footer-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(400px,100%),1fr));gap:36px}
.footer-tile{display:flex;align-items:center;gap:36px;border-radius:16px;padding: 1.6em 2em;color: #fff!important;text-decoration:none;border:0;cursor:pointer;text-align:left;width:100%}
.footer-tile:hover{filter:brightness(1.08);color:#fff}
.footer-tile-call{background:var(--site-dark)}
.footer-tile-schedule{background:var(--site-a1);justify-content:space-between}
.footer-tile-title{font-family:var(--site-body-font,'Barlow',sans-serif);font-weight:800;font-size: 38px;line-height:1.1;letter-spacing:.01em;text-transform:uppercase}
.footer-tile-sub{font-size: 15px;letter-spacing: .056em;text-transform:uppercase;margin-top:6px;color:#E4E5E6}
.footer-tile svg{flex:none}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:40px;text-align:center}
.footer-col{display:flex;flex-direction:column;align-items:center;gap:6px;line-height:1.6}
.footer-col h4{font-weight:800;font-size:18px;letter-spacing:.06em;text-transform:uppercase;color:var(--site-dark);margin:0 0 20px}
.footer-col a{color:inherit;text-decoration:none}
.footer-col .footer-phone a{font-weight:600}
.footer-col .footer-company-name{font-weight:700}
.site-footer img.footer-logo{width:180px;height:180px;object-fit:contain;border-radius:14px;display:block;box-shadow:0 4px 12px rgba(30,34,36,.2)}
.footer-tagline{color:var(--site-a1);font-weight:700}
.footer-links{width:100%}
.site-footer .help-link{display:block;padding:11px 0;border-bottom:1px solid #D4D6D7;color:var(--site-dark);font-size:16px;text-decoration:none}
.site-footer .help-link:hover{color:var(--site-a1)}
.site-footer .socialmedia ul{list-style:none;display:flex;justify-content:center;gap:10px;margin:8px 0 0;padding:0}
.site-footer .socialmedia a{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--site-dark);color:#fff;font-size:17px}
.site-footer .socialmedia a:hover{background:var(--site-a1)}
.footer-bottom{background:#0F1112;color:#E4E5E6;text-align:center;padding:18px 32px;font-size:14px;letter-spacing:.08em;text-transform:uppercase}

@media (max-width:575px){
	.footer-tile{padding:26px 24px;gap:20px}
	.footer-tile-title{font-size:28px}
	.footer-tile svg{width:44px;height:44px}
}
