/* =========================================================
   FENCE BOYS — MAIN STYLESHEET
   A hip, fun, professional design system.
   Table of contents:
   1.  Custom properties / design tokens
   2.  Reset & base
   3.  Typography
   4.  Layout / utility
   5.  Buttons
   6.  Header & navigation
   7.  Hero
   8.  Cards (service, feature, location, blog)
   9.  Badges & stickers
   10. Process steps
   11. Testimonials
   12. Comparison table
   13. Quote form
   14. FAQ accordion
   15. CTA banner
   16. Footer
   17. Blog / single post
   18. Location & fence-type single templates
   19. Widgets / sidebar
   20. Animations
   21. Responsive
   ========================================================= */

/* ---------------------------------------------------------
   1. DESIGN TOKENS
--------------------------------------------------------- */
:root{
  /* Brand palette — bold, warm, Midwestern-with-an-edge */
  --fb-red: #C8272E;
  --fb-red-dark: #9E1D23;
  --fb-red-light: #FDEBEC;
  --fb-navy: #1B2430;
  --fb-navy-soft: #2C3646;
  --fb-gold: #F2A93B;
  --fb-gold-dark: #D98F1F;
  --fb-teal: #2F8F82;
  --fb-cream: #FBF6EE;
  --fb-cream-dark: #F3EADA;
  --fb-white: #FFFFFF;
  --fb-ink: #1F2328;
  --fb-ink-soft: #545B66;
  --fb-line: #E7DFCF;

  --fb-primary: var(--fb-red);
  --fb-primary-dark: var(--fb-red-dark);
  --fb-accent: var(--fb-gold);

  /* Fonts */
  --fb-font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --fb-font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Radii */
  --fb-radius-sm: 10px;
  --fb-radius-md: 18px;
  --fb-radius-lg: 28px;
  --fb-radius-pill: 999px;

  /* Shadows */
  --fb-shadow-sm: 0 2px 10px rgba(27,36,48,.06);
  --fb-shadow-md: 0 12px 30px rgba(27,36,48,.10);
  --fb-shadow-lg: 0 24px 60px rgba(27,36,48,.16);
  --fb-shadow-red: 0 14px 30px rgba(200,39,46,.28);

  /* Spacing scale */
  --fb-space-xs: .5rem;
  --fb-space-sm: 1rem;
  --fb-space-md: 1.75rem;
  --fb-space-lg: 3rem;
  --fb-space-xl: 5.5rem;

  --fb-container: 1240px;
  --fb-container-narrow: 860px;
}

/* ---------------------------------------------------------
   2. RESET & BASE
--------------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--fb-font-body);
  color: var(--fb-ink);
  background: var(--fb-cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; height: auto; }
a{ color: var(--fb-primary); text-decoration: none; transition: color .2s ease; }
a:hover{ color: var(--fb-primary-dark); }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }
input, textarea, select{ font-family: inherit; font-size: 1rem; }
figure{ margin: 0; }
.skip-link{
  position: absolute; left: -999px; top: 0; background: var(--fb-navy); color:#fff;
  padding: .75rem 1.25rem; z-index: 10000; border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

/* ---------------------------------------------------------
   3. TYPOGRAPHY
--------------------------------------------------------- */
h1,h2,h3,h4,h5,h6{
  font-family: var(--fb-font-display);
  font-weight: 700;
  color: var(--fb-navy);
  line-height: 1.12;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1{ font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; }
h2{ font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; }
h3{ font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4{ font-size: 1.15rem; }
p{ margin: 0 0 1.1em; color: var(--fb-ink-soft); }
.lede{ font-size: 1.2rem; color: var(--fb-ink-soft); }
.eyebrow{
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--fb-font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fb-primary);
  margin-bottom: .9rem;
}
.eyebrow::before{
  content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--fb-gold);
}
.text-center{ text-align: center; }
.section-head{ max-width: 700px; margin: 0 auto var(--fb-space-lg); text-align: center; }
.section-head.align-left{ margin-left: 0; text-align: left; }
.text-white h1, .text-white h2, .text-white h3, .text-white p, .text-white{ color: #fff; }
.text-on-dark .ink-soft{ color: rgba(255,255,255,.78); }

/* ---------------------------------------------------------
   4. LAYOUT / UTILITY
--------------------------------------------------------- */
.container{ width: 100%; max-width: var(--fb-container); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow{ width: 100%; max-width: var(--fb-container-narrow); margin: 0 auto; padding: 0 1.5rem; }
.section{ padding: var(--fb-space-xl) 0; position: relative; }
.section-sm{ padding: var(--fb-space-lg) 0; }
.bg-navy{ background: var(--fb-navy); }
.bg-cream-dark{ background: var(--fb-cream-dark); }
.bg-white{ background: var(--fb-white); }
.bg-red{ background: var(--fb-primary); }
.grid{ display: grid; gap: var(--fb-space-md); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-6{ grid-template-columns: repeat(6, 1fr); }
.flex{ display: flex; }
.items-center{ align-items: center; }
.justify-between{ justify-content: space-between; }
.gap-sm{ gap: var(--fb-space-sm); }
.gap-md{ gap: var(--fb-space-md); }
.two-col{
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--fb-space-lg); align-items: center;
}
.divider-wave{ display: block; width: 100%; height: 70px; margin-top: -1px; }
.section-tag-red::after{
  content:""; position:absolute; inset:0; background: var(--fb-primary); z-index:-1;
}

/* ---------------------------------------------------------
   5. BUTTONS
--------------------------------------------------------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--fb-font-display); font-weight: 700; font-size: .98rem;
  padding: .95rem 1.9rem; border-radius: var(--fb-radius-pill); border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn svg{ width: 18px; height: 18px; flex: none; }
.btn-primary{ background: var(--fb-primary); color: #fff; box-shadow: var(--fb-shadow-red); }
.btn-primary:hover{ background: var(--fb-primary-dark); color: #fff; box-shadow: 0 18px 34px rgba(200,39,46,.36); }
.btn-gold{ background: var(--fb-gold); color: var(--fb-navy); box-shadow: 0 14px 30px rgba(242,169,59,.35); }
.btn-gold:hover{ background: var(--fb-gold-dark); color: var(--fb-navy); }
.btn-outline{ background: transparent; border-color: currentColor; color: var(--fb-navy); }
.btn-outline:hover{ background: var(--fb-navy); color: #fff; border-color: var(--fb-navy); }
.btn-outline-white{ background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-white:hover{ background: #fff; color: var(--fb-navy); border-color:#fff; }
.btn-block{ width: 100%; }
.btn-lg{ padding: 1.15rem 2.4rem; font-size: 1.05rem; }
.btn-sm{ padding: .6rem 1.3rem; font-size: .88rem; }
.hero-cta-group{ display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.1rem; }

/* ---------------------------------------------------------
   6. HEADER / NAV
--------------------------------------------------------- */
.site-topbar{
  background: var(--fb-navy); color: #fff; font-size: .85rem;
}
.site-topbar .container{ display: flex; align-items: center; justify-content: space-between; padding-top: .5rem; padding-bottom: .5rem; }
.topbar-item{ display: inline-flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.85); }
.topbar-item a{ color: #fff; }
.topbar-item svg{ width: 15px; height: 15px; }
.topbar-socials{ display: flex; gap: .7rem; }
.topbar-socials a{
  width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.12);
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.topbar-socials a:hover{ background: var(--fb-gold); color: var(--fb-navy); }

.site-header{
  background: var(--fb-cream); position: sticky; top: 0; z-index: 999;
  border-bottom: 1px solid var(--fb-line);
  transition: box-shadow .25s ease, padding .25s ease;
}
.site-header.is-scrolled{ box-shadow: var(--fb-shadow-md); }
.site-header .container{ display: flex; align-items: center; justify-content: space-between; padding-top: .9rem; padding-bottom: .9rem; gap: 1.5rem; }
.site-branding{ display: flex; align-items: center; gap: .7rem; }
.site-branding img, .site-branding svg{ height: 46px; width: auto; }
.site-title{ font-family: var(--fb-font-display); font-weight: 800; font-size: 1.35rem; color: var(--fb-navy); margin: 0; }
.site-title span{ color: var(--fb-primary); }
.site-tagline{ display: none; }

.primary-nav ul{ display: flex; align-items: center; gap: 2.1rem; }
.primary-nav a{
  font-family: var(--fb-font-display); font-weight: 600; font-size: .98rem; color: var(--fb-navy);
  position: relative; padding: .3rem 0;
}
.primary-nav a::after{
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 3px; border-radius: 3px;
  background: var(--fb-gold); transition: right .2s ease;
}
.primary-nav a:hover::after, .primary-nav .current-menu-item a::after{ right: 0; }
.primary-nav .current-menu-item a{ color: var(--fb-primary); }
.header-cta{ display: flex; align-items: center; gap: 1rem; }
.header-phone{ display: flex; align-items: center; gap: .5rem; font-family: var(--fb-font-display); font-weight: 700; color: var(--fb-navy); }
.header-phone svg{ width: 20px; height: 20px; color: var(--fb-primary); }
.menu-toggle{
  display: none; background: var(--fb-navy); color: #fff; width: 46px; height: 46px; border-radius: 12px;
  border: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-toggle span{ display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.menu-toggle.is-active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2){ opacity: 0; }
.menu-toggle.is-active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-menu{
  position: fixed; inset: 0; top: 0; background: var(--fb-navy); z-index: 1000;
  transform: translateY(-100%); transition: transform .3s ease; overflow-y: auto; padding-top: 6rem;
}
.mobile-menu.is-open{ transform: translateY(0); }
.mobile-menu-list{ display: flex; flex-direction: column; gap: .3rem; }
.mobile-menu-list a{
  display: block; padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.1);
  font-family: var(--fb-font-display); font-weight: 700; font-size: 1.3rem; color: #fff;
}
.mobile-menu-list a:hover{ color: var(--fb-gold); }
.mobile-call-bar{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 998; display: none;
  background: var(--fb-navy); padding: .7rem 1rem; gap: .7rem;
}
.mobile-call-bar a{ flex:1; }

/* ---------------------------------------------------------
   7. HERO
--------------------------------------------------------- */
.hero{
  position: relative; overflow: hidden; background: var(--fb-navy);
  padding: var(--fb-space-xl) 0 6.5rem;
}
.hero::before{
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(242,169,59,.22), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(200,39,46,.28), transparent 50%),
    linear-gradient(160deg, #1B2430 0%, #232E3D 55%, #1B2430 100%);
}
.hero-fence-pattern{
  position: absolute; left: 0; right: 0; bottom: -2px; height: 90px; opacity: .5;
}
.hero .container{ position: relative; z-index: 2; }
.hero-grid{ display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero-copy .eyebrow{ color: var(--fb-gold); }
.hero-copy .eyebrow::before{ background: var(--fb-primary); }
.hero h1{ color: #fff; }
.hero h1 em{ font-style: normal; color: var(--fb-gold); }
.hero-lede{ color: rgba(255,255,255,.82); font-size: 1.2rem; max-width: 520px; }
.hero-trust{ display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.6rem; }
.hero-trust-item{ display: flex; align-items: center; gap: .6rem; color: #fff; font-family: var(--fb-font-display); font-weight: 700; font-size: .92rem; }
.hero-trust-item svg{ width: 22px; height: 22px; color: var(--fb-gold); flex: none; }
.hero-media{ position: relative; }
.hero-media-frame{
  border-radius: var(--fb-radius-lg); overflow: hidden; box-shadow: var(--fb-shadow-lg);
  border: 6px solid rgba(255,255,255,.08); aspect-ratio: 4/5;
  background: linear-gradient(150deg, #2C3646, #1B2430);
  position: relative;
}
.hero-media-frame img{ width: 100%; height: 100%; object-fit: cover; }
.hero-media-badge{
  position: absolute; bottom: -1.6rem; left: -1.6rem; background: #fff; border-radius: var(--fb-radius-md);
  padding: 1.1rem 1.4rem; box-shadow: var(--fb-shadow-md); display: flex; align-items: center; gap: .8rem;
}
.hero-media-badge .stars{ color: var(--fb-gold); font-size: 1rem; letter-spacing: .1em; }
.hero-media-badge strong{ display: block; font-family: var(--fb-font-display); color: var(--fb-navy); font-size: 1.1rem; }
.hero-media-badge span{ font-size: .82rem; color: var(--fb-ink-soft); }
.hero-scroll-cue{
  position: absolute; bottom: -18px; right: 6%; width: 90px; height: 90px;
  display: none; align-items: center; justify-content: center; color: var(--fb-gold);
}

/* ---------------------------------------------------------
   8. CARDS
--------------------------------------------------------- */
.service-card{
  background: #fff; border-radius: var(--fb-radius-lg); overflow: hidden; box-shadow: var(--fb-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--fb-line);
}
.service-card:hover{ transform: translateY(-8px); box-shadow: var(--fb-shadow-lg); }
.service-card-media{ aspect-ratio: 16/11; overflow: hidden; position: relative; }
.service-card-media img{ width:100%; height:100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card-media img{ transform: scale(1.08); }
.service-card-media .placeholder-art{ position:absolute; inset:0; }
.service-card-body{ padding: 1.7rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.service-card-body h3{ margin-bottom: .2rem; }
.service-card-body p{ flex: 1; margin-bottom: 1.1rem; }
.service-card-link{ font-family: var(--fb-font-display); font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; color: var(--fb-primary); }
.service-card-link svg{ width: 16px; height: 16px; transition: transform .2s ease; }
.service-card:hover .service-card-link svg{ transform: translateX(4px); }

.feature-card{
  background: #fff; border-radius: var(--fb-radius-md); padding: 1.9rem; border: 1px solid var(--fb-line);
  box-shadow: var(--fb-shadow-sm); height: 100%; transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover{ transform: translateY(-4px); box-shadow: var(--fb-shadow-md); }
.feature-icon{
  width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: var(--fb-red-light); color: var(--fb-primary); margin-bottom: 1.1rem;
}
.feature-icon svg{ width: 28px; height: 28px; }
.feature-card:nth-child(3n+2) .feature-icon{ background: #FFF3DF; color: var(--fb-gold-dark); }
.feature-card:nth-child(3n+3) .feature-icon{ background: #E7F4F2; color: var(--fb-teal); }
.feature-card h4{ margin-bottom: .5rem; }
.feature-card p{ margin-bottom: 0; font-size: .96rem; }

.value-card{ text-align: center; padding: 0 1rem; }
.value-card img.value-icon{ width: 84px; height: 84px; margin: 0 auto 1.3rem; }
.value-card h3{ color: #fff; }
.value-card p{ color: rgba(255,255,255,.8); }

.location-card{
  background: #fff; border: 1px solid var(--fb-line); border-radius: var(--fb-radius-md);
  padding: 1.3rem 1.5rem; display: flex; align-items: center; justify-content: space-between;
  transition: all .2s ease; box-shadow: var(--fb-shadow-sm);
}
.location-card:hover{ background: var(--fb-navy); border-color: var(--fb-navy); transform: translateY(-3px); box-shadow: var(--fb-shadow-md); }
.location-card span{ font-family: var(--fb-font-display); font-weight: 700; color: var(--fb-navy); transition: color .2s ease; }
.location-card:hover span{ color: #fff; }
.location-card svg{ width: 18px; height: 18px; color: var(--fb-primary); transition: transform .2s ease; }
.location-card:hover svg{ transform: translateX(4px); color: var(--fb-gold); }

.blog-card{
  background: #fff; border-radius: var(--fb-radius-lg); overflow: hidden; border: 1px solid var(--fb-line);
  box-shadow: var(--fb-shadow-sm); height: 100%; display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.blog-card:hover{ transform: translateY(-6px); box-shadow: var(--fb-shadow-lg); }
.blog-card-media{ aspect-ratio: 16/10; overflow: hidden; position: relative; }
.blog-card-media img{ width: 100%; height: 100%; object-fit: cover; }
.blog-card-cat{
  position: absolute; top: 1rem; left: 1rem; background: var(--fb-gold); color: var(--fb-navy);
  font-family: var(--fb-font-display); font-weight: 700; font-size: .74rem; letter-spacing: .04em;
  padding: .35rem .85rem; border-radius: var(--fb-radius-pill); text-transform: uppercase;
}
.blog-card-body{ padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.blog-card-meta{ font-size: .82rem; color: var(--fb-ink-soft); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.blog-card-body h3{ font-size: 1.2rem; margin-bottom: .3rem; }
.blog-card-body p{ font-size: .95rem; flex: 1; }
.blog-card-readmore{ font-family: var(--fb-font-display); font-weight: 700; color: var(--fb-primary); }

/* ---------------------------------------------------------
   9. BADGES / STICKERS
--------------------------------------------------------- */
.sticker{
  display: inline-flex; align-items: center; gap: .5rem; background: var(--fb-navy); color: #fff;
  font-family: var(--fb-font-display); font-weight: 700; font-size: .82rem; padding: .55rem 1.1rem;
  border-radius: var(--fb-radius-pill); box-shadow: var(--fb-shadow-sm);
}
.sticker.gold{ background: var(--fb-gold); color: var(--fb-navy); }
.sticker.outline{ background: #fff; color: var(--fb-navy); border: 1.5px solid var(--fb-line); }
.badge-founder{
  position: absolute; top: -1.2rem; right: -1.2rem; background: var(--fb-gold); color: var(--fb-navy);
  width: 96px; height: 96px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-align: center; font-family: var(--fb-font-display); font-weight: 800; font-size: .78rem; line-height: 1.2;
  box-shadow: var(--fb-shadow-md); transform: rotate(8deg);
}

/* ---------------------------------------------------------
   10. PROCESS STEPS
--------------------------------------------------------- */
.process-wrap{ position: relative; }
.process-steps{
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.4rem; counter-reset: step; position: relative;
}
.process-steps::before{
  content: ""; position: absolute; top: 28px; left: 4%; right: 4%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--fb-line) 0 10px, transparent 10px 18px);
  z-index: 0;
}
.process-step{ position: relative; z-index: 1; text-align: left; }
.process-step-num{
  width: 56px; height: 56px; border-radius: 50%; background: var(--fb-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--fb-font-display);
  font-weight: 800; font-size: 1.25rem; margin-bottom: 1.2rem; box-shadow: var(--fb-shadow-red);
}
.process-step:nth-child(2n) .process-step-num{ background: var(--fb-navy); box-shadow: 0 14px 30px rgba(27,36,48,.28); }
.process-step h4{ font-size: 1.02rem; margin-bottom: .5rem; }
.process-step p{ font-size: .92rem; margin-bottom: 0; }

/* ---------------------------------------------------------
   11. TESTIMONIALS
--------------------------------------------------------- */
.reviews-summary{
  display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 2.4rem; flex-wrap: wrap;
}
.reviews-summary .stars{ color: var(--fb-gold); font-size: 1.3rem; letter-spacing: .12em; }
.reviews-summary strong{ font-family: var(--fb-font-display); font-size: 1.15rem; color: var(--fb-navy); }
.testimonial-track{
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 1.4rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; -webkit-overflow-scrolling: touch;
}
.testimonial-track::-webkit-scrollbar{ height: 8px; }
.testimonial-track::-webkit-scrollbar-thumb{ background: var(--fb-line); border-radius: 8px; }
.testimonial-card{
  scroll-snap-align: start; background: #fff; border-radius: var(--fb-radius-md); padding: 1.8rem;
  border: 1px solid var(--fb-line); box-shadow: var(--fb-shadow-sm); display: flex; flex-direction: column; gap: .9rem;
}
.testimonial-card .stars{ color: var(--fb-gold); letter-spacing: .1em; }
.testimonial-card blockquote{ margin: 0; color: var(--fb-ink); font-size: .98rem; flex: 1; }
.testimonial-card footer{ display: flex; align-items: center; gap: .7rem; }
.testimonial-avatar{
  width: 42px; height: 42px; border-radius: 50%; background: var(--fb-navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--fb-font-display); font-weight: 700;
  flex: none;
}
.testimonial-name{ font-family: var(--fb-font-display); font-weight: 700; color: var(--fb-navy); font-size: .92rem; }
.testimonial-title{ font-size: .8rem; color: var(--fb-ink-soft); }
.testimonial-controls{ display: flex; justify-content: center; gap: .8rem; margin-top: 1.6rem; }
.testimonial-controls button{
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--fb-line); background: #fff;
  display: flex; align-items: center; justify-content: center; color: var(--fb-navy); transition: .2s;
}
.testimonial-controls button:hover{ background: var(--fb-navy); color: #fff; border-color: var(--fb-navy); }
.testimonial-controls svg.flip{ transform: rotate(180deg); }

/* ---------------------------------------------------------
   12. COMPARISON TABLE
--------------------------------------------------------- */
.compare-table-wrap{ overflow-x: auto; border-radius: var(--fb-radius-lg); box-shadow: var(--fb-shadow-sm); border: 1px solid var(--fb-line); }
table.compare-table{ width: 100%; border-collapse: collapse; background: #fff; min-width: 720px; }
.compare-table th, .compare-table td{ padding: 1.1rem 1.4rem; text-align: left; border-bottom: 1px solid var(--fb-line); }
.compare-table thead th{
  font-family: var(--fb-font-display); background: var(--fb-navy); color: #fff; font-size: .95rem;
  position: sticky; top: 0;
}
.compare-table thead th:first-child{ border-top-left-radius: var(--fb-radius-lg); }
.compare-table thead th:last-child{ border-top-right-radius: var(--fb-radius-lg); }
.compare-table tbody th{ font-family: var(--fb-font-display); color: var(--fb-navy); font-weight: 700; background: var(--fb-cream); white-space: nowrap; }
.compare-table tbody tr:hover td, .compare-table tbody tr:hover th{ background: var(--fb-red-light); }
.compare-table tbody tr:last-child td, .compare-table tbody tr:last-child th{ border-bottom: none; }

/* ---------------------------------------------------------
   13. QUOTE FORM
--------------------------------------------------------- */
.quote-section{ position: relative; }
.quote-panel{
  background: #fff; border-radius: var(--fb-radius-lg); box-shadow: var(--fb-shadow-lg); padding: 2.6rem;
  border: 1px solid var(--fb-line);
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-bottom: 1.1rem; }
.form-group{ display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem; }
.form-group label{ font-family: var(--fb-font-display); font-weight: 700; font-size: .88rem; color: var(--fb-navy); }
.form-group input, .form-group select, .form-group textarea{
  padding: .85rem 1rem; border: 1.5px solid var(--fb-line); border-radius: var(--fb-radius-sm); background: var(--fb-cream);
  transition: border-color .2s ease, background .2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{
  outline: none; border-color: var(--fb-primary); background: #fff;
}
.form-group textarea{ resize: vertical; min-height: 120px; }
.form-file{ border: 1.5px dashed var(--fb-line); border-radius: var(--fb-radius-sm); padding: 1rem; text-align: center; background: var(--fb-cream); font-size: .88rem; color: var(--fb-ink-soft); }
.form-note{ font-size: .82rem; color: var(--fb-ink-soft); }
.form-honeypot{ position: absolute; left: -9999px; opacity: 0; }
.form-success, .form-error{ padding: 1rem 1.3rem; border-radius: var(--fb-radius-sm); font-weight: 600; margin-bottom: 1.2rem; display: none; }
.form-success{ background: #E7F4EC; color: #1E7A45; }
.form-error{ background: var(--fb-red-light); color: var(--fb-red-dark); }
.quote-side{ color: #fff; }
.quote-side .eyebrow{ color: var(--fb-gold); }
.quote-side .eyebrow::before{ background: var(--fb-gold); }
.quote-side ul{ margin-top: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.quote-side li{ display: flex; align-items: flex-start; gap: .7rem; color: rgba(255,255,255,.85); }
.quote-side li svg{ width: 22px; height: 22px; color: var(--fb-gold); flex: none; margin-top: 2px; }

/* ---------------------------------------------------------
   14. FAQ ACCORDION
--------------------------------------------------------- */
.faq-tabs{ display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-bottom: 2.4rem; }
.faq-tab{
  padding: .6rem 1.3rem; border-radius: var(--fb-radius-pill); border: 1.5px solid var(--fb-line); background: #fff;
  font-family: var(--fb-font-display); font-weight: 700; font-size: .88rem; color: var(--fb-navy); transition: .2s;
}
.faq-tab.is-active, .faq-tab:hover{ background: var(--fb-navy); color: #fff; border-color: var(--fb-navy); }
.faq-group{ margin-bottom: 2.6rem; }
.faq-group-title{ font-family: var(--fb-font-display); font-weight: 800; color: var(--fb-primary); font-size: 1.1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .03em; }
.faq-item{ background: #fff; border: 1px solid var(--fb-line); border-radius: var(--fb-radius-md); margin-bottom: .9rem; overflow: hidden; }
.faq-question{
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; text-align: left;
  background: none; border: none; padding: 1.3rem 1.6rem; font-family: var(--fb-font-display); font-weight: 700;
  color: var(--fb-navy); font-size: 1rem;
}
.faq-question .icon{
  width: 30px; height: 30px; border-radius: 50%; background: var(--fb-red-light); color: var(--fb-primary);
  display: flex; align-items: center; justify-content: center; flex: none; transition: transform .25s ease, background .25s ease, color .25s ease;
}
.faq-item.is-open .faq-question .icon{ background: var(--fb-primary); color: #fff; transform: rotate(45deg); }
.faq-answer{ max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner{ padding: 0 1.6rem 1.5rem; color: var(--fb-ink-soft); }
.faq-answer-inner ul{ margin: .8rem 0; padding-left: 1.2rem; list-style: disc; }
.faq-answer-inner li{ margin-bottom: .4rem; }

/* ---------------------------------------------------------
   15. CTA BANNER
--------------------------------------------------------- */
.cta-banner{
  position: relative; overflow: hidden; border-radius: var(--fb-radius-lg); background: var(--fb-primary);
  padding: 4rem 3rem; text-align: center; margin: 0 auto;
}
.cta-banner::before{
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.16), transparent 40%),
              radial-gradient(circle at 85% 85%, rgba(27,36,48,.25), transparent 45%);
}
.cta-banner > *{ position: relative; z-index: 1; }
.cta-banner h2{ color: #fff; }
.cta-banner p{ color: rgba(255,255,255,.85); }
.cta-banner .btn-group{ display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------------------------------------------------------
   16. FOOTER
--------------------------------------------------------- */
.site-footer{ background: var(--fb-navy); color: rgba(255,255,255,.75); padding-top: var(--fb-space-xl); }
.footer-top{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img{ height: 42px; margin-bottom: 1.2rem; }
.footer-brand p{ color: rgba(255,255,255,.65); max-width: 320px; }
.footer-socials{ display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer-socials a{ width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #fff; }
.footer-socials a:hover{ background: var(--fb-primary); }
.footer-col h5{ font-family: var(--fb-font-display); color: #fff; font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1.3rem; }
.footer-col ul{ display: flex; flex-direction: column; gap: .7rem; }
.footer-col a{ color: rgba(255,255,255,.7); font-size: .94rem; }
.footer-col a:hover{ color: var(--fb-gold); }
.footer-contact li{ display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .9rem; font-size: .92rem; color: rgba(255,255,255,.75); }
.footer-contact svg{ width: 18px; height: 18px; color: var(--fb-gold); flex: none; margin-top: 2px; }
.footer-newsletter{ display: flex; gap: .6rem; margin-top: 1rem; }
.footer-newsletter input{
  flex: 1; padding: .8rem 1rem; border-radius: var(--fb-radius-sm); border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06); color: #fff;
}
.footer-newsletter input::placeholder{ color: rgba(255,255,255,.5); }
.footer-newsletter button{ background: var(--fb-gold); border: none; border-radius: var(--fb-radius-sm); padding: 0 1.2rem; color: var(--fb-navy); font-weight: 700; font-family: var(--fb-font-display); }
.footer-bottom{ display: flex; align-items: center; justify-content: space-between; padding: 1.6rem 0; font-size: .84rem; flex-wrap: wrap; gap: .6rem; }
.footer-bottom a{ color: rgba(255,255,255,.6); }
.footer-bottom-links{ display: flex; gap: 1.4rem; }

/* ---------------------------------------------------------
   17. BLOG / SINGLE POST
--------------------------------------------------------- */
.page-hero{
  background: var(--fb-navy); padding: 4.5rem 0 3.5rem; position: relative; overflow: hidden;
}
.page-hero::before{
  content:""; position:absolute; inset:0;
  background: radial-gradient(circle at 90% 10%, rgba(242,169,59,.2), transparent 45%),
              radial-gradient(circle at 5% 90%, rgba(200,39,46,.28), transparent 45%);
}
.page-hero .container{ position: relative; z-index: 1; }
.page-hero h1{ color: #fff; margin-bottom: .6rem; }
.breadcrumbs{ font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 1rem; }
.breadcrumbs a{ color: rgba(255,255,255,.75); }
.breadcrumbs a:hover{ color: var(--fb-gold); }

.content-layout{ display: grid; grid-template-columns: 2.2fr 1fr; gap: 3rem; }
.entry-content{ font-size: 1.05rem; }
.entry-content h2{ margin-top: 2rem; }
.entry-content h3{ margin-top: 1.6rem; }
.entry-content img{ border-radius: var(--fb-radius-md); margin: 1.5rem 0; }
.entry-content ul{ list-style: disc; padding-left: 1.4rem; margin-bottom: 1.2rem; }
.entry-content ul li{ margin-bottom: .5rem; color: var(--fb-ink-soft); }
.entry-content blockquote{
  border-left: 4px solid var(--fb-primary); padding: .3rem 0 .3rem 1.4rem; margin: 1.6rem 0;
  font-style: italic; color: var(--fb-navy); font-size: 1.1rem;
}
.post-meta-row{ display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; font-size: .88rem; color: var(--fb-ink-soft); }
.post-meta-row .cat-pill{ background: var(--fb-red-light); color: var(--fb-primary); padding: .3rem .8rem; border-radius: var(--fb-radius-pill); font-weight: 700; font-family: var(--fb-font-display); font-size: .78rem; }
.post-featured-img{ border-radius: var(--fb-radius-lg); overflow: hidden; margin-bottom: 2rem; aspect-ratio: 16/8; }
.post-featured-img img{ width: 100%; height: 100%; object-fit: cover; }
.sidebar-widget{ background: #fff; border: 1px solid var(--fb-line); border-radius: var(--fb-radius-md); padding: 1.6rem; margin-bottom: 1.6rem; box-shadow: var(--fb-shadow-sm); }
.sidebar-widget h4{ margin-bottom: 1rem; }
.sidebar-cta{ background: var(--fb-navy); color: #fff; border-radius: var(--fb-radius-md); padding: 1.8rem; text-align: center; }
.sidebar-cta h4{ color: #fff; }
.author-box{ display: flex; gap: 1rem; align-items: center; background: var(--fb-cream-dark); border-radius: var(--fb-radius-md); padding: 1.5rem; margin-top: 2.5rem; }
.author-box .avatar{ width: 56px; height: 56px; border-radius: 50%; flex: none; }
.pagination{ display: flex; gap: .6rem; justify-content: center; margin-top: 3rem; }
.pagination a, .pagination span{
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--fb-line); font-family: var(--fb-font-display); font-weight: 700; color: var(--fb-navy);
}
.pagination .current{ background: var(--fb-primary); color: #fff; border-color: var(--fb-primary); }
.pagination a:hover{ background: var(--fb-navy); color: #fff; border-color: var(--fb-navy); }

/* ---------------------------------------------------------
   18. LOCATION & FENCE-TYPE SINGLE
--------------------------------------------------------- */
.type-hero{ display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.spec-list{ display: flex; flex-direction: column; gap: 1rem; margin-top: 1.6rem; }
.spec-list li{ display: flex; align-items: center; gap: .8rem; color: rgba(255,255,255,.85); }
.spec-list li svg{ width: 22px; height: 22px; color: var(--fb-gold); flex: none; }
.map-embed{ border-radius: var(--fb-radius-lg); overflow: hidden; border: 1px solid var(--fb-line); box-shadow: var(--fb-shadow-sm); }
.map-embed iframe{ width: 100%; height: 380px; border: none; display: block; }
.nearby-locations{ display: flex; flex-wrap: wrap; gap: .7rem; }
.nearby-locations a{
  padding: .55rem 1.1rem; border-radius: var(--fb-radius-pill); background: #fff; border: 1.5px solid var(--fb-line);
  font-family: var(--fb-font-display); font-weight: 700; font-size: .86rem; color: var(--fb-navy);
}
.nearby-locations a:hover{ background: var(--fb-navy); color: #fff; border-color: var(--fb-navy); }

/* ---------------------------------------------------------
   19. WIDGETS
--------------------------------------------------------- */
.widget{ margin-bottom: 1.8rem; }
.widget ul li{ padding: .5rem 0; border-bottom: 1px solid var(--fb-line); }
.searchform{ display: flex; gap: .5rem; }
.searchform input[type="search"]{ flex: 1; padding: .8rem 1rem; border-radius: var(--fb-radius-sm); border: 1.5px solid var(--fb-line); }
.searchform button{ background: var(--fb-primary); color: #fff; border: none; border-radius: var(--fb-radius-sm); padding: 0 1.2rem; }

/* ---------------------------------------------------------
   20. ANIMATIONS
--------------------------------------------------------- */
.reveal{ opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
.reveal.fb-pre-hide{ opacity: 0; transform: translateY(24px); }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
@keyframes floaty{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }
.float{ animation: floaty 5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce){ .reveal, .reveal.fb-pre-hide{ opacity:1; transform:none; } .float{ animation:none; } }

/* ---------------------------------------------------------
   21. RESPONSIVE
--------------------------------------------------------- */
@media (max-width: 1080px){
  .footer-top{ grid-template-columns: 1fr 1fr; }
  .process-steps{ grid-template-columns: repeat(3, 1fr); row-gap: 2.4rem; }
  .process-steps::before{ display: none; }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .grid-6{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px){
  .primary-nav, .header-cta .btn, .site-tagline{ display: none; }
  .menu-toggle{ display: inline-flex; }
  .mobile-call-bar{ display: flex; }
  body{ padding-bottom: 64px; }
}
@media (min-width: 901px){
  .mobile-menu{ display: none; }
  .hero-grid, .two-col, .type-hero, .content-layout{ grid-template-columns: 1fr; }
  .hero-media{ order: -1; }
  .quote-panel{ padding: 1.8rem; }
  .form-row{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: repeat(2, 1fr); }
  .compare-table-wrap{ margin: 0 -1.5rem; border-radius: 0; border-left:none; border-right:none; }
}
@media (max-width: 640px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
  .grid-6{ grid-template-columns: repeat(2, 1fr); }
  .footer-top{ grid-template-columns: 1fr; }
  .site-topbar .container{ flex-direction: column; gap: .4rem; padding: .6rem 0; }
  .cta-banner{ padding: 2.6rem 1.5rem; }
  .hero{ padding: 3rem 0 4.5rem; }
  .footer-bottom{ flex-direction: column; text-align: center; }
}
