/*
Theme Name: American AF Site Services
Theme URI: https://americanafsiteservices.com/
Author: American AF Site Services
Description: A lightweight classic theme for the American AF Site Services draft site. Header, footer, and brand styles. Page content comes from the imported WordPress pages. No paid plugins required. Pair with the free Contact Form 7 plugin if you want the quote form to send email.
Version: 1.1.0
License: GNU General Public License v2 or later
Text Domain: aaf-site-services
*/
/* American AF Site Services — draft site, Nov 12 2026
   Brand colors taken from the Site Services badge and the main company site.
   This file is also used by the WordPress theme. */
:root {
  --navy: #052147;
  --navy-2: #0a3266;
  --navy-ink: #03152d;
  --red: #db222a;
  --red-hover: #b81c23;
  --red-deep: #9e181e;
  --white: #ffffff;
  --paper: #f6f4f0;
  --sand: #ebe6dc;
  --line: #d5d0c6;
  --ink: #1c2430;
  --muted: #4b5563;
  --max: 1120px;
  --header-h: 104px;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(5, 33, 71, 0.12);
  --font-display: "Oswald", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  min-height: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-underline-offset: 2px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: var(--white);
  padding: 0.5rem 1rem; z-index: 1000;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* Draft banner — only on the static preview */
.draft-banner {
  background: #f3e3a3;
  color: #3b2f08;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 0.4rem 1rem;
  letter-spacing: 0.01em;
}
.draft-banner strong { font-weight: 700; }

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img {
  height: 80px; width: auto;
  background: var(--white);
  border-radius: 4px;
  padding: 3px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--red);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem;
  background: var(--red);
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  padding: 0.7rem 1.15rem;
  border-radius: 4px;
  border: 2px solid var(--red);
  line-height: 1.2;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--red-hover); border-color: var(--red-hover); color: var(--white) !important; }
.btn--ghost {
  background: transparent;
  border-color: var(--white);
  color: var(--white) !important;
}
.btn--ghost:hover { background: var(--white); color: var(--navy) !important; }
.btn--navy {
  background: var(--navy);
  border-color: var(--navy);
}
.btn--navy:hover { background: var(--navy-2); border-color: var(--navy-2); }
.header-call { margin-left: 0.4rem; white-space: nowrap; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.45);
  color: var(--white);
  border-radius: 4px;
  padding: 0.4rem 0.65rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 34rem;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  background: var(--navy-ink) center/cover no-repeat;
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,21,45,0.25) 0%, rgba(3,21,45,0.55) 45%, rgba(3,21,45,0.88) 100%);
}
.hero__inner, .wrap {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 3.25rem;
  width: 100%;
}
.eyebrow {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 600;
  color: #f0c9cb;
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}
.hero h1, h1 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  font-size: clamp(2.05rem, 5vw, 3.35rem);
  margin: 0 0 0.85rem;
}
.hero h1 { color: var(--white); max-width: 16ch; }
.hero .lead {
  font-size: 1.2rem;
  max-width: 38rem;
  color: #f0f2f5;
  margin: 0 0 1.5rem;
}
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Page masthead (interior pages) */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 2.75rem 0 2.5rem;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.6rem; }
.page-hero .lead { margin: 0; max-width: 40rem; color: #e4e8ee; font-size: 1.2rem; }
.page-hero .wrap { padding-top: 0; padding-bottom: 0; }

/* Sections */
.section { padding: 3.5rem 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section h2, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.85rem;
}
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0 0 0.5rem;
}
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 1.4rem; max-width: 42rem; }
.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .facts {
  margin: 0 0 1.15rem;
  padding: 0 0 0 1.2rem;
}
.prose li, .facts li { margin: 0 0 0.4rem; }
.kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.4rem;
}
/* #db222a on --paper (#f6f4f0) is 4.47:1, just under WCAG AA. Darken only there. */
.section--paper .kicker { color: var(--red-hover); }

/* Service cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-top: 1.75rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(5,33,71,0.04);
}
.card img { width: 100%; height: 180px; object-fit: cover; background: var(--sand); }
.card__body { padding: 1.15rem 1.15rem 1.35rem; flex: 1; display: flex; flex-direction: column; }
.card h3 { margin-bottom: 0.4rem; }
.card p { margin: 0 0 1rem; color: var(--muted); font-size: 1.02rem; flex: 1; }
.card a.more { font-weight: 700; text-decoration: none; color: var(--red); }
.card a.more:hover { text-decoration: underline; }
.card--soon { position: relative; }
.badge-soon {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.split--rev { grid-template-columns: 1fr 1.05fr; }
.split--rev .split__media { order: 2; }
.split img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  max-height: 420px;
}
.split .prose { max-width: 36rem; }

/* Photo grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.5rem 0 0;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--sand);
}
.gallery figcaption {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* Comparison / two trailers */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.compare__col {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare__col img { width: 100%; height: 240px; object-fit: cover; }
.compare__body { padding: 1.35rem 1.4rem 1.6rem; }
.compare__body h3 { font-size: 1.45rem; }
.compare__body ul { margin: 0.7rem 0 0; padding-left: 1.15rem; }
.compare__body li { margin: 0 0 0.4rem; }

/* Service area */
.counties {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.county {
  background: var(--white);
  border-top: 4px solid var(--red);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.4rem 1.55rem;
}
.county h3 { font-size: 1.45rem; }
.city-list { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.city-list li {
  margin: 0;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--sand);
  display: flex; flex-direction: column; gap: 0.15rem;
}
.city-list li:last-child { border-bottom: 0; }
.city-list .city { font-weight: 700; color: var(--navy); }
.city-list a { font-size: 0.98rem; }

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 3.25rem 1.25rem;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-band p { margin: 0 auto 1.4rem; max-width: 36rem; color: #dce3ee; }
.cta-band .phone-xl {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
  margin: 0.4rem 0 1.15rem;
}
.cta-band .phone-xl:hover { color: #f7d3d4; }

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}
.phone-panel {
  background: var(--navy);
  color: var(--white);
  padding: 2rem 1.7rem;
  border-radius: var(--radius);
}
.phone-panel h2 { color: var(--white); }
.phone-panel a.tel {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  display: inline-block;
  margin: 0.5rem 0 1rem;
}
.phone-panel a.tel:hover { color: #f7d3d4; }
.form {
  background: var(--paper);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.form-row { margin: 0 0 1rem; }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: var(--navy);
}
.form-row .hint { font-weight: 500; color: var(--muted); font-size: 0.88rem; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="date"],
.form-row select,
.form-row textarea {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid #c5c0b6;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}
.form-row textarea { min-height: 8rem; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 0.5rem 1.15rem; }
.checks label { font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 0.4rem; }
.form-note {
  display: none;
  background: #e7f3ea;
  border: 1px solid #9dcea8;
  color: #1d4a28;
  padding: 0.9rem 1rem;
  border-radius: 4px;
  margin: 0 0 1rem;
}
.form-note.is-on { display: block; }
.req { color: var(--red); }

/* FAQ */
.faq { margin: 1.5rem 0 0; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}
.faq summary {
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  font-size: 1.08rem;
}
.faq details p { margin: 0.55rem 0 0.2rem; color: var(--ink); }

/* Footer */
.site-footer {
  background: var(--navy-ink);
  color: #c9d2de;
  padding: 2.5rem 0 1.5rem;
  font-size: 1rem;
}
.site-footer a { color: #e8edf4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 1.75rem;
}
.site-footer h2 {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.7rem;
}
.footer-logo { height: 72px; width: auto; background: var(--white); border-radius: 4px; padding: 2px; margin-bottom: 0.85rem; }
.dba { margin: 0.5rem 0; max-width: 24rem; }
.footer-phone {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--white) !important;
  text-decoration: none !important;
  display: inline-block;
  margin: 0.4rem 0;
}
.footer-phone:hover { color: #f7d3d4 !important; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin: 0 0 0.4rem; }
.legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 0;
  font-size: 0.88rem;
  color: #9aa6b5;
}

/* Utility */
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.ext::after { content: ""; } /* city links go off-site; we mark them in copy */

@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split, .split--rev, .compare, .counties, .contact-grid, .footer__grid {
    grid-template-columns: 1fr;
  }
  .split--rev .split__media { order: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 28rem; }
}
@media (max-width: 720px) {
  .logo img { height: 64px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--navy-2);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.15rem;
    gap: 0;
    margin: 0;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .header-call { margin: 0.75rem 0 0; text-align: center; }
  .cards, .gallery { grid-template-columns: 1fr; }
  .gallery img, .card img, .compare__col img { height: 210px; }
  .hero h1 { max-width: none; }
  .form, .phone-panel { padding: 1.25rem; }
  /* Sticky mobile call bar */
  .mobile-call {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: var(--red);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    padding: 0.85rem 1rem;
    z-index: 90;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
  }
  .mobile-call:hover { color: var(--white); background: var(--red-hover); }
  body { padding-bottom: 3.6rem; }
}
@media (min-width: 721px) {
  .mobile-call { display: none; }
}

/* WordPress menu markup (ul/li) inside .nav */
.nav .menu, .nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.15rem 1.15rem; flex-wrap: wrap; }
.nav li { margin: 0; }
.nav .menu a { color: var(--white); text-decoration: none; font-weight: 600; }
.custom-logo { height: 80px; width: auto; background: var(--white); border-radius: 4px; padding: 3px; }
@media (max-width: 720px) {
  .nav .menu, .nav ul { flex-direction: column; align-items: stretch; width: 100%; }
}
