/* All Floors Pueblo - Unified Brand CSS v3 (2026-07-14)
   Anton headings, Barlow Condensed body. No external resources.
   Minimal !important (Kadence overrides only). */

/* ===== Brand Variables ===== */
.afp-home-v2 {
  --navy: #16406E;
  --blue: #2068B0;
  --orange: #F87828;
  --orange-hover: #D9631A;
  --cream: #F5F7FA;
  --ink: #1F2933;
  --muted: #61707D;
  --white: #FFFFFF;
  --afp-font-heading: 'Anton', sans-serif;
  --afp-font-body: 'Barlow Condensed', sans-serif;
  --radius: 20px;
  --pill: 999px;
  --pad: clamp(50px, 8vw, 80px);
  --maxw: 1200px;
  --shadow: 0 8px 30px rgba(22, 64, 110, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-h: 0 16px 48px rgba(22, 64, 110, 0.20), 0 4px 12px rgba(0, 0, 0, 0.08);
  --t: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  scroll-behavior: smooth;
  font-family: var(--afp-font-body);
  color: var(--ink);
  line-height: 1.6;
  box-sizing: border-box;
}
.afp-home-v2 *,
.afp-home-v2 *::before,
.afp-home-v2 *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.afp-home-v2 img { max-width: 100%; height: auto; display: block; }
.afp-home-v2 a { text-decoration: none; color: inherit; }
.afp-home-v2 ul { list-style: none; }

/* ===== Typography ===== */
.afp-home-v2 h1, .afp-home-v2 h2, .afp-home-v2 h3, .afp-home-v2 h4 {
  font-family: var(--afp-font-heading);
  font-weight: normal;
  line-height: 1.15;
  letter-spacing: 0.5px;
}
.afp-home-v2 h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); color: var(--navy); margin-bottom: 24px; }
.afp-home-v2 h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); color: var(--navy); margin-bottom: 16px; }
.afp-home-v2 p { font-size: clamp(1rem, 1.5vw, 1.125rem); margin-bottom: 16px; }

/* ===== Layout Helpers ===== */
.afp-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.afp-section { padding: var(--pad) 0; position: relative; }
.afp-section::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  border-radius: var(--pill);
  margin: 0 auto;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* ===== Eyebrow & Lead ===== */
.afp-eyebrow {
  display: inline-block;
  font-family: var(--afp-font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: rgba(248, 120, 40, 0.08);
  border-radius: var(--pill);
}
.afp-lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--muted);
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto 40px;
  text-align: center;
}

/* ===== Actions & Buttons ===== */
.afp-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.afp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--afp-font-body);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  padding: 14px 32px;
  border-radius: var(--pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--t);
  text-align: center;
  min-height: 48px;
  line-height: 1.2;
}
.afp-btn:hover, .afp-btn:focus {
  transform: scale(1.03);
  box-shadow: 0 4px 24px rgba(248, 120, 40, 0.4);
}
.afp-btn:not(.secondary):not(.tertiary):not(.call):not(.view) { background: var(--orange); color: var(--white); }
.afp-btn:not(.secondary):not(.tertiary):not(.call):not(.view):hover { background: var(--orange-hover); }
.afp-btn.secondary { background: transparent; border-color: var(--navy); color: var(--navy); }
.afp-btn.secondary:hover { background: var(--navy); color: var(--white); }
.afp-btn.tertiary { background: transparent; border-color: var(--white); color: var(--white); }
.afp-btn.tertiary:hover { background: var(--white); color: var(--navy); }
.afp-btn.call { background: var(--white); color: var(--navy); border-color: var(--navy); }
.afp-btn.call:hover { background: var(--navy); color: var(--white); }
.afp-btn.view { background: transparent; border-color: var(--blue); color: var(--blue); }
.afp-btn.view:hover { background: var(--blue); color: var(--white); }

/* ===== Scroll Reveal ===== */
.afp-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.afp-reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Scroll Indicator ===== */
.afp-scroll-indicator {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  animation: afp-bounce 2s infinite;
  z-index: 3;
}
.afp-scroll-indicator svg { width: 24px; height: 24px; }
@keyframes afp-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== HERO SECTION ===== */
.afp-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.afp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22,64,110,0.88) 0%, rgba(32,104,176,0.72) 50%, rgba(22,64,110,0.85) 100%);
  z-index: 0;
}
.afp-hero .afp-wrap {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
.afp-hero .afp-eyebrow {
  color: var(--orange);
  background: rgba(248, 120, 40, 0.15);
  border: 1px solid rgba(248, 120, 40, 0.3);
}
.afp-hero-title {
  font-family: var(--afp-font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.afp-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  margin-bottom: 24px;
  max-width: 540px;
}
.afp-hero .afp-actions { gap: 12px; }

/* ===== Photo Card (Hero Side) ===== */
.afp-photo-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.afp-photo-card figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.afp-photo-card figure:nth-child(1) { grid-column: 1; grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.afp-photo-card figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.afp-photo-card figure:hover img { transform: scale(1.05); }

/* ===== TRUST BAR (.afp-proof) ===== */
.afp-proof { background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%); padding: 24px 0; }
.afp-proof .afp-wrap {
  display: flex; flex-wrap: wrap;
  justify-content: space-around; align-items: center;
  gap: 16px;
}
.afp-trust-badge {
  display: flex; align-items: center; gap: 10px;
  color: var(--white);
  font-family: var(--afp-font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}
.afp-trust-badge .afp-trust-icon { font-size: 1.5rem; line-height: 1; }
.afp-trust-badge .afp-trust-text { display: flex; flex-direction: column; line-height: 1.3; }
.afp-trust-badge .afp-trust-text small { font-size: 0.75rem; opacity: 0.8; font-weight: 400; }

/* ===== WORK GALLERY (.afp-gallery) ===== */
.afp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.afp-gallery figure {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  transition: transform var(--t), box-shadow var(--t);
}
.afp-gallery figure:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.afp-gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.afp-gallery figure:hover img { transform: scale(1.08); }
.afp-gallery figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(22, 64, 110, 0.85));
  color: var(--white);
  font-family: var(--afp-font-body);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ===== BEFORE/AFTER (.afp-bagrid, .afp-bapair, .afp-bacols) ===== */
.afp-bagrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-bottom: 40px; }
.afp-bapair { display: flex; flex-direction: column; gap: 16px; }
.afp-bapair h3 { text-align: center; font-size: 1.25rem; }
.afp-bacols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.afp-bacols figure {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  transition: box-shadow var(--t);
}
.afp-bacols figure::after {
  content: attr(data-label);
  position: absolute; top: 12px; left: 12px;
  padding: 6px 16px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--afp-font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--pill);
  z-index: 2;
}
.afp-bacols figure:nth-child(2)::after { background: var(--orange); }
.afp-bacols img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.afp-bacols figure:hover img { transform: scale(1.06); }
.afp-bacols figure:hover { box-shadow: var(--shadow-h); }

/* ===== SPLIT (.afp-split) ===== */
.afp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.afp-split figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.afp-split figure img { width: 100%; object-fit: cover; }

/* ===== GLASSMORPHIC QUOTE (.afp-quote) ===== */
.afp-quote {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(22, 64, 110, 0.92);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.afp-quote .afp-eyebrow { color: var(--orange); background: rgba(248, 120, 40, 0.15); border: 1px solid rgba(248, 120, 40, 0.3); }
.afp-quote h2 { color: var(--white); }
.afp-quote p { color: rgba(255, 255, 255, 0.88); margin-bottom: 16px; }
.afp-quote .afp-btn { margin-top: 16px; }

/* ===== SERVICES GRID (.afp-services, .afp-service, .afp-service-icon) ===== */
.afp-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.afp-service {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--t), box-shadow var(--t);
  overflow: hidden;
}
.afp-service::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  border-radius: var(--radius) var(--radius) 0 0;
}
.afp-service:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.afp-service-icon {
  font-size: 2.5rem; line-height: 1;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
  background: linear-gradient(135deg, rgba(248, 120, 40, 0.1), rgba(32, 104, 176, 0.1));
  border-radius: 50%;
}
.afp-service h3 { font-size: 1.3rem; margin-bottom: 8px; }
.afp-service p { font-size: 0.95rem; color: var(--muted); margin-bottom: 16px; }
.afp-service a {
  display: inline-block; font-weight: 600;
  color: var(--blue); font-size: 0.95rem;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
  transition: color var(--t);
}
.afp-service a:hover { color: var(--orange); }

/* ===== PROCESS TIMELINE (.afp-process, .afp-step, .afp-step-num) ===== */
.afp-process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; margin: 40px 0; }
.afp-process::before {
  content: '';
  position: absolute; top: 36px;
  left: 16.67%; right: 16.67%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  z-index: 0;
}
.afp-step { text-align: center; position: relative; z-index: 1; }
.afp-step-num {
  display: flex; align-items: center; justify-content: center;
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  background: var(--white);
  border: 3px solid var(--orange);
  border-radius: 50%;
  font-family: var(--afp-font-heading);
  font-size: 1.75rem;
  color: var(--navy);
  box-shadow: var(--shadow);
  position: relative; z-index: 1;
}
.afp-step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.afp-step p { font-size: 0.95rem; color: var(--muted); }

/* ===== FAQ ACCORDION (.afp-faq, .afp-faq-item, .afp-faq-q, .afp-faq-a) ===== */
.afp-faq { max-width: 800px; margin: 0 auto; }
.afp-faq-item {
  border: 1px solid rgba(22, 64, 110, 0.12);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: box-shadow var(--t);
}
.afp-faq-item:hover { box-shadow: var(--shadow-h); }
.afp-faq-item[open] { border-color: var(--orange); }
.afp-faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  font-family: var(--afp-font-heading);
  font-size: 1.1rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.afp-faq-q::-webkit-details-marker { display: none; }
.afp-faq-q::after {
  content: '\2714';
  font-size: 1.5rem;
  color: var(--orange);
  transition: transform 0.3s ease;
  margin-left: 16px;
  flex-shrink: 0;
}
.afp-faq-item[open] .afp-faq-q::after { transform: rotate(180deg); }
.afp-faq-a { padding: 0 24px 20px; color: var(--muted); font-size: 1rem; line-height: 1.6; }

/* ===== REVIEWS (.afp-rating-headline) ===== */
.afp-rating-headline { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 40px; }
.afp-rating-headline .stars { font-size: 2rem; color: var(--orange); letter-spacing: 4px; }
.afp-rating-headline .rating-text {
  font-family: var(--afp-font-body);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
}
.afp-rating-headline iframe { width: 100%; border: none; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ===== CTA SECTION (.afp-cta) ===== */
.afp-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 50%, var(--navy) 100%);
  padding: var(--pad) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.afp-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(248, 120, 40, 0.15) 0%, transparent 50%);
  z-index: 0;
}
.afp-cta .afp-wrap { position: relative; z-index: 1; }
.afp-cta h2 { color: var(--white); font-size: clamp(1.75rem, 4vw, 2.75rem); }
.afp-cta p { color: rgba(255, 255, 255, 0.85); font-size: 1.15rem; max-width: 600px; margin: 0 auto 24px; }
.afp-cta .afp-actions { justify-content: center; }

/* ===== MINI FOOTER (.afp-mini-footer) ===== */
.afp-mini-footer { background: var(--navy); color: rgba(255, 255, 255, 0.8); padding: 24px 0; }
.afp-mini-footer .afp-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.afp-mini-footer .afp-footer-brand { font-family: var(--afp-font-heading); font-size: 1.15rem; color: var(--white); letter-spacing: 0.5px; }
.afp-mini-footer .afp-footer-addr { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.afp-mini-footer nav ul { display: flex; flex-wrap: wrap; gap: 16px; }
.afp-mini-footer nav a { color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; font-weight: 500; transition: color var(--t); }
.afp-mini-footer nav a:hover { color: var(--orange); }

/* ===== SEO INTERNAL LINKS (.afp-related-seo-links, .afp-resgrid, .afp-rescard) ===== */
.afp-related-seo-links { padding: var(--pad) 0; background: var(--cream); }
.afp-related-seo-links h2 { text-align: center; }
.afp-related-seo-links > p { text-align: center; color: var(--muted); max-width: 600px; margin: 0 auto 40px; }
.afp-resgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.afp-rescard {
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform var(--t), box-shadow var(--t);
}
.afp-rescard:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); }
.afp-rescard h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.afp-rescard p { font-size: 0.9rem; color: var(--muted); }
.afp-rescard a { margin-top: auto; color: var(--blue); font-weight: 600; font-size: 0.9rem; padding-top: 24px; border-top: 2px solid rgba(22, 64, 110, 0.08); }
.afp-rescard a:hover { color: var(--orange); }

/* ===== MOBILE STICKY BAR (#afp-msb) ===== */
#afp-msb {
  position: fixed; bottom: 0; left: 0; right: 0;
  display: none;
  background: var(--navy);
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  padding: 8px 16px;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
#afp-msb a {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 20px;
  border-radius: var(--pill);
  font-family: var(--afp-font-body);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  min-height: 48px;
  transition: all var(--t);
}
#afp-msb a.call { background: var(--white); color: var(--navy); border: 2px solid var(--white); }
#afp-msb a.call:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }
#afp-msb a.book { background: var(--orange); color: var(--white); border: 2px solid var(--orange); }
#afp-msb a.book:hover { background: var(--orange-hover); border-color: var(--orange-hover); }

/* ===== KADENCE FOOTER CREDIT HIDING ===== */
.footer-html-inner { font-size: 0 !important; }
.footer-html-inner::after {
  content: "\00A9 2026 All Floors Pueblo LLC. All Rights Reserved.";
  font-size: 14px;
  color: #718096;
}
.footer-html-inner a[href*="kadencewp.com"] { display: none !important; }

/* ===== RESPONSIVE: 768px (tablet / large phone) ===== */
@media (max-width: 768px) {
  .afp-home-v2 { --pad: 50px; }
  .afp-hero .afp-wrap { grid-template-columns: 1fr; text-align: center; }
  .afp-hero .afp-actions { justify-content: center; }
  .afp-photo-card { max-width: 400px; margin: 0 auto; }
  .afp-gallery { grid-template-columns: repeat(2, 1fr); }
  .afp-services { grid-template-columns: repeat(2, 1fr); }
  .afp-bagrid { grid-template-columns: 1fr; }
  .afp-split { grid-template-columns: 1fr; }
  .afp-process { grid-template-columns: 1fr; gap: 40px; }
  .afp-process::before { display: none; }
  .afp-resgrid { grid-template-columns: repeat(2, 1fr); }
  .afp-proof .afp-wrap { flex-wrap: wrap; justify-content: center; }
  .afp-trust-badge { flex: 0 1 45%; justify-content: center; }
  .afp-mini-footer .afp-wrap { flex-direction: column; text-align: center; }
  #afp-msb { display: flex; }
  body { padding-bottom: 72px; }
}

/* ===== RESPONSIVE: 560px (small phones) ===== */
@media (max-width: 560px) {
  .afp-home-v2 { --pad: 40px; }
  .afp-wrap { padding: 0 16px; }
  .afp-gallery { grid-template-columns: 1fr; }
  .afp-services { grid-template-columns: 1fr; }
  .afp-photo-card { grid-template-columns: 1fr 1fr; }
  .afp-photo-card figure:nth-child(1) { grid-column: 1 / 3; grid-row: 1; aspect-ratio: 16 / 9; }
  .afp-bacols { grid-template-columns: 1fr; }
  .afp-resgrid { grid-template-columns: 1fr; }
  .afp-trust-badge { flex: 0 1 100%; justify-content: center; }
  .afp-btn { width: 100%; justify-content: center; }
  .afp-actions { flex-direction: column; }
  .afp-actions .afp-btn { width: 100%; }
  .afp-cta .afp-actions { flex-direction: column; }
  .afp-cta .afp-actions .afp-btn { width: 100%; }
  .afp-mini-footer nav ul { justify-content: center; gap: 12px; }
  .afp-scroll-indicator { display: none; }
}

/* ===== Touch target sizing (accessibility) ===== */
@media (pointer: coarse) {
  .afp-btn, #afp-msb a, .afp-faq-q { min-height: 44px; min-width: 44px; }
}

/* ===== Reduced motion preference ===== */
@media (prefers-reduced-motion: reduce) {
  .afp-reveal { opacity: 1; transform: none; transition: none; }
  .afp-scroll-indicator { animation: none; }
  .afp-gallery img, .afp-photo-card figure img, .afp-bacols img { transition: none; }
  .afp-home-v2 { scroll-behavior: auto; }
}

/* ===== Print styles ===== */
@media print {
  #afp-msb, .afp-scroll-indicator { display: none !important; }
  .afp-reveal { opacity: 1; transform: none; }
}


/* ===== Additional Component Details ===== */

/* Hero background image layer */
.afp-hero .afp-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.35;
}

/* Hero content wrapper */
.afp-hero .afp-hero-content {
  position: relative;
  z-index: 2;
}

/* Trust bar icon circles */
.afp-trust-badge .afp-trust-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* Service card link arrow */
.afp-service a::after {
  content: ' 92';
  transition: margin-left var(--t);
}
.afp-service a:hover::after {
  margin-left: 6px;
}

/* Process step connector dot */
.afp-step-num::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  z-index: -1;
}

/* FAQ smooth expand */
.afp-faq-a {
  overflow: hidden;
  animation: afp-faq-open 0.3s ease;
}
@keyframes afp-faq-open {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 500px; }
}

/* CTA glow effect */
.afp-cta .afp-btn {
  box-shadow: 0 4px 20px rgba(248, 120, 40, 0.3);
}
.afp-cta .afp-btn:hover {
  box-shadow: 0 8px 32px rgba(248, 120, 40, 0.5);
}

/* Gallery figure border accent */
.afp-gallery figure::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  z-index: 2;
  opacity: 0;
  transition: opacity var(--t);
}
.afp-gallery figure:hover::before {
  opacity: 1;
}

/* Before/After hover overlay */
.afp-bacols figure::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(22, 64, 110, 0);
  transition: background 0.3s ease;
  z-index: 1;
}
.afp-bacols figure:hover::before {
  background: rgba(22, 64, 110, 0.1);
}

/* Rescard link arrow */
.afp-rescard a::after {
  content: ' 92';
  transition: margin-left var(--t);
}
.afp-rescard a:hover::after {
  margin-left: 6px;
}

/* ===== Hide Kadence duplicate entry-hero H1 band ===== */
.entry-hero.page-hero-section { display: none !important; }
.entry-hero, .page-hero-section, .entry-hero .entry-title { display: none !important; }

/* ===== FIX: hero headline was rendering navy-on-navy (invisible) ===== */
/* `.afp-home-v2 h2` (specificity 0,0,1,1) was overriding `.afp-hero-title`  */
/* (0,0,1,0) and forcing navy text on the navy hero. Force white in hero.    */
.afp-home-v2 .afp-hero .afp-hero-title,
.afp-home-v2 .afp-hero h2,
.afp-hero .afp-hero-title { color: var(--white) !important; }
.afp-home-v2 .afp-hero p,
.afp-hero p { color: rgba(255,255,255,0.9) !important; }
.afp-hero .afp-eyebrow { color: #fff !important; }
.afp-hero .afp-btn.view {
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.75) !important;
  background: transparent !important;
}
.afp-hero .afp-btn.view:hover {
  background: #fff !important;
  color: var(--navy) !important;
}

/* ===== FAQ Accordion ===== */
.afp-faqs { margin-top: 36px; }
.afp-faq {
  border: 1px solid #e7ecf2;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}
.afp-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--afp-font-body);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.afp-faq summary::-webkit-details-marker { display: none; }
.afp-faq summary::after {
  content: '+';
  color: var(--orange);
  font-size: 1.5rem;
  font-weight: 700;
}
.afp-faq[open] summary::after { content: '\2013'; }
.afp-faq .afp-faq-ans {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* ===== Review Headline ===== */
.afp-rev-headline {
  text-align: center;
  margin-bottom: 30px;
}
.afp-rev-big {
  display: block;
  font-family: var(--afp-font-heading);
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  margin-bottom: 8px;
}
.afp-rev-headline .stars {
  color: #ffb800;
  font-size: 1.5rem;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 6px;
}
.afp-rev-headline .rating-text {
  display: block;
  color: var(--muted);
  font-size: 1rem;
}

/* ===== Trust badge icon fix (use text icons, not broken unicode) ===== */
.afp-trust-icon {
  font-size: 1.4rem;
  color: var(--orange);
}

/* ===== Service Image Cards ===== */
.afp-svc-img {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.afp-svc-card {
  display: block;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform var(--t), box-shadow var(--t);
}
.afp-svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
.afp-svc-photo {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.afp-svc-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,64,110,0) 60%, rgba(22,64,110,0.25));
}
.afp-svc-body {
  padding: 20px 22px 24px;
}
.afp-svc-body h3 {
  font-family: var(--afp-font-heading);
  color: var(--navy);
  font-size: 1.3rem;
  margin: 0 0 8px;
}
.afp-svc-body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 14px;
}
.afp-svc-arrow {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
@media (max-width: 900px) {
  .afp-svc-img { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .afp-svc-img { grid-template-columns: 1fr; }
  .afp-svc-photo { height: 180px; }
}

/* ===== Theme-native homepage intro (replaces old navy hero) ===== */
.afp-intro { padding: 30px 0 10px; text-align: center; }
.afp-intro .afp-wrap { max-width: 900px; }
.afp-intro-lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink);
  margin: 0 auto 24px;
  max-width: 760px;
}
.afp-intro .afp-actions { justify-content: center; margin-bottom: 34px; }
.afp-intro-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.afp-intro-photos figure { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.afp-intro-photos img { width: 100%; height: 260px; object-fit: cover; display: block; }
@media (max-width: 700px) {
  .afp-intro-photos { grid-template-columns: 1fr; }
  .afp-intro-photos img { height: 220px; }
}

/* =====================================================================
   AFP-MODERN INNER-PAGE DESIGN SYSTEM
   Styles the About, Contact, Reviews, Service-Area, FAQ and all service
   pages that use the afp-modern / afp-hero-modern / afp-card markup.
   Matches the Zerorez/Chem-Dry visual language of the afp-home-v2 homepage.
   ===================================================================== */
.afp-modern {
  font-family: var(--afp-font-body);
  color: var(--ink);
}
.afp-modern h2 { font-family: var(--afp-font-heading); color: var(--navy); font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.05; margin: 0 0 20px; }
.afp-modern h3 { font-family: var(--afp-font-heading); color: var(--navy); font-size: clamp(1.25rem, 2.5vw, 1.6rem); margin: 0 0 12px; }
.afp-modern p { font-size: 1.05rem; line-height: 1.65; color: var(--ink); margin: 0 0 16px; }
.afp-modern .lead { font-size: 1.2rem; color: var(--muted); }
.afp-modern > section,
.afp-modern > div > section { max-width: var(--maxw); margin: 0 auto; padding: var(--pad) 24px; }

/* Eyebrow chip */
.afp-modern .afp-eyebrow {
  display: inline-block;
  background: rgba(248,120,40,0.10);
  color: var(--orange-hover);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 7px 14px;
  border-radius: var(--pill);
  margin-bottom: 18px;
}

/* ===== Image Hero (split copy + photo, white-text treatment) ===== */
.afp-hero-modern {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.afp-hero-copy h2 { font-size: clamp(2rem, 5vw, 3.25rem); }
.afp-hero-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.afp-hero-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.afp-image-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(22,64,110,0) 0%, rgba(22,64,110,0.88) 100%);
  color: #fff;
  padding: 40px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.afp-image-caption strong { font-size: 1.05rem; }
.afp-image-caption span { font-size: 0.9rem; opacity: 0.9; }

/* ===== Buttons ===== */
.afp-btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 18px; }
.afp-modern .afp-btn,
.afp-modern .afp-btn-primary,
.afp-modern .afp-btn-secondary,
.afp-modern .afp-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--afp-font-body);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.4px;
  padding: 15px 30px;
  border-radius: var(--pill);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--t), background var(--t), color var(--t), box-shadow var(--t);
}
.afp-modern .afp-btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(248,120,40,0.35); }
.afp-modern .afp-btn-primary:hover { background: var(--orange-hover); transform: translateY(-2px); }
.afp-modern .afp-btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.afp-modern .afp-btn-secondary:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.afp-modern .afp-btn-dark { background: var(--navy); color: #fff; }
.afp-modern .afp-btn-dark:hover { background: #0f2f52; transform: translateY(-2px); }

/* ===== Proof Pills ===== */
.afp-proof-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.afp-proof-pills span {
  display: inline-block;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: var(--pill);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* ===== Split alternating block ===== */
.afp-modern .afp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.afp-modern .afp-split img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }

/* ===== Section heads ===== */
.afp-section-head { margin-bottom: 34px; }
.afp-section-head h2 { margin-bottom: 10px; }
.afp-section-head p { color: var(--muted); font-size: 1.1rem; max-width: 720px; }

/* ===== Card grids ===== */
.afp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.afp-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.afp-card {
  background: #fff;
  border: 1px solid #eef2f6;
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform var(--t), box-shadow var(--t);
}
.afp-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(22,64,110,0.12); }
.afp-tag {
  display: inline-block;
  background: rgba(32,104,176,0.1);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--pill);
  margin-bottom: 14px;
}
.afp-text-link { color: var(--orange); font-weight: 700; text-decoration: none; }
.afp-text-link:hover { color: var(--orange-hover); }

/* ===== Callout / mid-page CTA band ===== */
.afp-callout-modern {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 44px 40px !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.afp-callout-modern h2 { margin-bottom: 8px; }
.afp-callout-modern p { margin: 0; color: var(--muted); max-width: 560px; }

/* ===== Final CTA band (navy) ===== */
.afp-final-modern {
  background: var(--navy);
  border-radius: var(--radius);
  text-align: center;
  color: #fff;
}
.afp-final-modern h2 { color: #fff; }
.afp-final-modern p { color: rgba(255,255,255,0.85); max-width: 680px; margin: 0 auto 8px; }
.afp-final-modern .afp-btn-row { justify-content: center; }
.afp-final-modern .afp-btn-secondary { color: #fff; border-color: rgba(255,255,255,0.6); }
.afp-final-modern .afp-btn-secondary:hover { background: #fff; color: var(--navy); }

/* ===== Mobile sticky bar ===== */
.afp-mobile-sticky { display: none; }
@media (max-width: 768px) {
  .afp-mobile-sticky {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 999;
    gap: 0;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
  }
  .afp-mobile-sticky .afp-btn { flex: 1; border-radius: 0; padding: 16px; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .afp-hero-modern { grid-template-columns: 1fr; }
  .afp-modern .afp-split { grid-template-columns: 1fr; }
  .afp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .afp-grid, .afp-grid-2 { grid-template-columns: 1fr; }
  .afp-callout-modern { flex-direction: column; align-items: flex-start; }
}


/* AFP TRUSTBAR FIX - style the inner-page stat strip (was rendering run-on) */
.afp-trustbar{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:stretch;
  gap:14px 10px;
  max-width:1100px;
  margin:28px auto;
  padding:20px 18px;
  background:#F7F9FC;
  border:1px solid #E3E9F1;
  border-radius:16px;
}
.afp-trustbar .afp-trust-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  flex:1 1 150px;
  min-width:130px;
  padding:6px 14px;
  position:relative;
}
.afp-trustbar .afp-trust-item + .afp-trust-item::before{
  content:"";
  position:absolute;
  left:0; top:12%; height:76%;
  border-left:1px solid #E3E9F1;
}
.afp-trustbar .afp-trust-item strong{
  font-family:'Anton',sans-serif;
  font-size:1.25rem;
  line-height:1.1;
  color:#16406E;
  letter-spacing:.2px;
}
.afp-trustbar .afp-trust-item span{
  margin-top:4px;
  font-size:.82rem;
  color:#61707D;
  font-weight:500;
}
@media (max-width:560px){
  .afp-trustbar{gap:0;padding:8px 10px;}
  .afp-trustbar .afp-trust-item{flex:1 1 50%;min-width:50%;padding:12px 8px;}
  .afp-trustbar .afp-trust-item + .afp-trust-item::before{display:none;}
}
