/*
Theme Name: Fort Worth FAST HVAC
Theme URI: https://fortworthfasthvac.site/
Author: OpenAI
Description: A responsive, conversion-focused WordPress theme for Fort Worth FAST HVAC. Includes a polished homepage, service cards, service areas, business information, click-to-call buttons, custom logo support, and Customizer settings.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: fort-worth-fast-hvac
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --fwfh-navy: #082b55;
  --fwfh-navy-2: #0e3f77;
  --fwfh-red: #e62d35;
  --fwfh-red-dark: #bd1d25;
  --fwfh-blue: #1267c4;
  --fwfh-sky: #eaf4ff;
  --fwfh-ink: #0b1730;
  --fwfh-muted: #5b6575;
  --fwfh-line: #dce3eb;
  --fwfh-white: #ffffff;
  --fwfh-bg: #f6f8fb;
  --fwfh-shadow: 0 18px 45px rgba(7, 30, 66, 0.12);
  --fwfh-radius: 18px;
  --fwfh-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--fwfh-ink);
  background: var(--fwfh-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--fwfh-blue); text-decoration: none; }
a:hover { color: var(--fwfh-red); }
button, input, textarea, select { font: inherit; }

.container {
  width: min(calc(100% - 36px), var(--fwfh-max));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 99999;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 16px;
  background: #fff;
  color: #111;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(8,43,85,.08);
}
.header-inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.site-branding { display: flex; align-items: center; min-width: 210px; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 68px; width: auto; }
.text-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fwfh-navy);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: .9;
}
.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--fwfh-red), var(--fwfh-blue));
  box-shadow: 0 10px 24px rgba(18,103,196,.25);
  font-size: 24px;
}
.logo-copy { display: grid; }
.logo-copy small { font-size: 12px; letter-spacing: .08em; }
.logo-copy strong { font-size: 22px; color: var(--fwfh-red); }
.logo-copy span { font-size: 13px; letter-spacing: .14em; }

.primary-navigation { justify-self: center; }
.primary-navigation ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.primary-navigation a {
  color: var(--fwfh-ink);
  font-weight: 700;
  font-size: 15px;
  position: relative;
  padding: 34px 0;
}
.primary-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--fwfh-red);
  transition: transform .2s ease;
}
.primary-navigation a:hover::after,
.primary-navigation .current-menu-item > a::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  color: var(--fwfh-navy);
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}
.header-phone::before { content: "☎"; margin-right: 7px; }
.button,
.wp-block-button__link,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--fwfh-red);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
  box-shadow: 0 10px 24px rgba(230,45,53,.22);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
  color: #fff;
  background: var(--fwfh-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(230,45,53,.28);
}
.button--outline {
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255,255,255,.75);
  box-shadow: none;
}
.button--outline:hover { background: #fff; color: var(--fwfh-navy); }
.button--navy { background: var(--fwfh-navy); box-shadow: 0 10px 24px rgba(8,43,85,.24); }
.button--navy:hover { background: #061f3d; }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--fwfh-navy);
  cursor: pointer;
}

.hero {
  min-height: 660px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4,27,55,.97) 0%, rgba(4,27,55,.9) 42%, rgba(4,27,55,.35) 72%, rgba(4,27,55,.12) 100%),
    url('assets/images/storefront.jpg') center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--fwfh-red), var(--fwfh-blue));
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 690px;
  padding: 90px 0 105px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #b8d9ff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 13px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--fwfh-red); }
.hero h1 {
  margin: 0 0 20px;
  max-width: 760px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -0.055em;
}
.hero h1 span { color: #ff4a52; }
.hero p {
  max-width: 610px;
  margin: 0 0 30px;
  font-size: clamp(18px, 2vw, 22px);
  color: rgba(255,255,255,.88);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,.94);
  font-weight: 800;
}
.hero-points li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
}

.trust-strip { background: var(--fwfh-navy); color: #fff; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 118px;
  padding: 24px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.trust-item:last-child { border-right: 0; }
.trust-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.1);
  font-size: 22px;
}
.trust-item strong { display: block; font-size: 17px; }
.trust-item span { display: block; color: rgba(255,255,255,.68); font-size: 14px; }

.section { padding: 92px 0; }
.section--muted { background: var(--fwfh-bg); }
.section-heading { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-heading .kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--fwfh-red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.section-heading p { margin: 0; color: var(--fwfh-muted); font-size: 18px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  padding: 30px 24px 26px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--fwfh-line);
  border-radius: var(--fwfh-radius);
  box-shadow: 0 14px 35px rgba(8,43,85,.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(18,103,196,.35);
  box-shadow: var(--fwfh-shadow);
}
.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--fwfh-blue), var(--fwfh-navy));
  font-size: 27px;
}
.service-card:nth-child(even) .service-icon { background: linear-gradient(135deg, #ff4a52, var(--fwfh-red-dark)); }
.service-card h3 { margin: 0 0 10px; font-size: 20px; }
.service-card p { margin: 0 0 17px; color: var(--fwfh-muted); }
.service-link { color: var(--fwfh-red); font-weight: 900; text-transform: uppercase; font-size: 13px; }

.split {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 64px;
  align-items: center;
}
.media-card {
  position: relative;
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--fwfh-shadow);
}
.media-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.media-badge {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 20px 22px;
  border-radius: 15px;
  color: #fff;
  background: rgba(8,43,85,.92);
  backdrop-filter: blur(10px);
}
.media-badge strong { display: block; font-size: 22px; }
.media-badge span { color: rgba(255,255,255,.74); }
.content-copy .kicker { color: var(--fwfh-red); font-weight: 900; text-transform: uppercase; letter-spacing: .13em; font-size: 13px; }
.content-copy h2 { margin: 10px 0 18px; font-size: clamp(36px, 4vw, 54px); line-height: 1.06; letter-spacing: -.045em; }
.content-copy > p { color: var(--fwfh-muted); font-size: 18px; }
.check-list { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 15px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 750; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--fwfh-sky);
  color: var(--fwfh-blue);
  font-weight: 900;
}

.service-area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.area-pill {
  padding: 16px 18px;
  border: 1px solid var(--fwfh-line);
  border-radius: 12px;
  background: #fff;
  text-align: center;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(8,43,85,.05);
}
.area-pill::before { content: "●"; margin-right: 8px; color: var(--fwfh-red); }

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 58px;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--fwfh-navy) 0%, var(--fwfh-navy-2) 62%, var(--fwfh-blue) 100%);
  box-shadow: var(--fwfh-shadow);
}
.cta-panel::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  right: -90px;
  top: -140px;
  background: rgba(255,255,255,.08);
}
.cta-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 35px; align-items: center; }
.cta-panel h2 { margin: 0 0 8px; font-size: clamp(32px, 4vw, 50px); line-height: 1.05; letter-spacing: -.04em; }
.cta-panel p { margin: 0; color: rgba(255,255,255,.78); font-size: 18px; }
.cta-phone { font-size: clamp(25px, 3vw, 40px); font-weight: 950; color: #fff; white-space: nowrap; }
.cta-phone:hover { color: #fff; }

.site-main--inner { padding: 70px 0 90px; }
.content-area { max-width: 820px; margin: 0 auto; }
.entry-header h1, .page-title { font-size: clamp(38px, 5vw, 62px); line-height: 1.05; letter-spacing: -.045em; }
.entry-meta { color: var(--fwfh-muted); font-size: 14px; }
.entry-content { font-size: 18px; }
.entry-content h2, .entry-content h3 { line-height: 1.2; }
.entry-content img { border-radius: 16px; }
.post-card { margin-bottom: 28px; padding: 28px; border: 1px solid var(--fwfh-line); border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(8,43,85,.07); }
.post-card h2 { margin-top: 0; }

.site-footer { margin-top: 0; color: rgba(255,255,255,.78); background: #061d38; }
.footer-main { padding: 70px 0 52px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 45px; }
.footer-title { margin: 0 0 16px; color: #fff; font-size: 17px; }
.footer-brand p { max-width: 390px; }
.footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.72); }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact a { color: #fff; font-weight: 800; }
.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 18px; font-size: 14px; }

@media (max-width: 1080px) {
  .header-inner { grid-template-columns: auto auto; justify-content: space-between; }
  .primary-navigation {
    display: none;
    position: absolute;
    top: 88px;
    left: 18px;
    right: 18px;
    padding: 16px;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--fwfh-shadow);
  }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { display: grid; gap: 0; }
  .primary-navigation a { display: block; padding: 13px 10px; }
  .primary-navigation a::after { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .header-phone { display: none; }
  .header-actions .button { display: none; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .split { gap: 38px; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-main > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--fwfh-max)); }
  .header-inner { min-height: 74px; }
  .primary-navigation { top: 74px; }
  .site-branding { min-width: 0; }
  .logo-mark { width: 42px; height: 42px; }
  .logo-copy strong { font-size: 19px; }
  .hero { min-height: 610px; background-position: 67% center; }
  .hero-content { padding: 80px 0 90px; }
  .hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-points { display: grid; gap: 12px; }
  .section { padding: 68px 0; }
  .trust-grid, .services-grid, .service-area-grid, .split, .cta-grid, .footer-main { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .trust-item:last-child { border-bottom: 0; }
  .services-grid { gap: 14px; }
  .media-card { min-height: 390px; }
  .split { gap: 34px; }
  .cta-panel { padding: 38px 24px; text-align: center; }
  .cta-phone { white-space: normal; }
  .footer-main { gap: 30px; }
  .footer-main > :last-child { grid-column: auto; }
  .footer-bottom-inner { flex-direction: column; }
}
