/*
Theme Name: Factory Child
Theme URI: https://example.com/factory-child
Description: Child theme for the Site Factory. Provides ad slots, affiliate boxes, CTA buttons, calculator styling, and print-friendly guide pages. Parent: GeneratePress.
Author: Site Factory
Author URI: https://example.com
Template: generatepress
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: factory-child
*/

/* ---------- Global tokens ---------- */
:root {
  --fc-ink: #1d2327;
  --fc-muted: #50575e;
  --fc-rule: #dcdcde;
  --fc-bg-soft: #f6f7f7;
  --fc-accent: #0b6b3a;
  --fc-accent-ink: #ffffff;
  --fc-warn: #8a1f11;
  --fc-cta: #c0392b;
  --fc-cta-hover: #a93226;
  --fc-radius: 6px;
  --fc-gap: 1.25rem;
}

/* ---------- Ad slots ---------- */
.fc-ad-slot {
  display: block;
  margin: var(--fc-gap) 0;
  text-align: center;
  overflow: hidden;
}
.fc-ad-slot--header {
  min-height: 90px;
  border-bottom: 1px solid var(--fc-rule);
  padding-bottom: var(--fc-gap);
}
.fc-ad-slot--incontent {
  min-height: 250px;
  padding: var(--fc-gap) 0;
  border-top: 1px solid var(--fc-rule);
  border-bottom: 1px solid var(--fc-rule);
}
.fc-ad-slot--sidebar {
  min-height: 250px;
}
.fc-ad-slot--footer {
  min-height: 90px;
  border-top: 1px solid var(--fc-rule);
  padding-top: var(--fc-gap);
}
.fc-ad-slot:empty { display: none; }
.fc-ad-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fc-muted);
  margin-bottom: 0.25rem;
}
.fc-ad-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fc-bg-soft);
  border: 1px dashed var(--fc-rule);
  color: var(--fc-muted);
  font-size: 0.8rem;
  padding: 1rem;
  border-radius: var(--fc-radius);
}

/* ---------- Affiliate box ---------- */
.fc-affiliate-box {
  display: grid;
  gap: 0.5rem;
  border: 1px solid var(--fc-rule);
  border-left: 4px solid var(--fc-accent);
  border-radius: var(--fc-radius);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: #fff;
}
.fc-affiliate-box__title {
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0;
  color: var(--fc-ink);
}
.fc-affiliate-box__price {
  color: var(--fc-muted);
  font-size: 0.95rem;
  margin: 0;
}
.fc-affiliate-box__link {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.55rem 1rem;
  background: var(--fc-accent);
  color: var(--fc-accent-ink);
  border-radius: var(--fc-radius);
  text-decoration: none;
  font-weight: 600;
}
.fc-affiliate-box__link:hover,
.fc-affiliate-box__link:focus {
  filter: brightness(0.92);
  color: var(--fc-accent-ink);
}
.fc-affiliate-box__disclosure {
  font-size: 0.75rem;
  color: var(--fc-muted);
  margin: 0;
  line-height: 1.4;
}

/* ---------- Call CTA button ---------- */
.fc-call-cta {
  display: block;
  text-align: center;
  margin: 2rem 0;
  padding: 1.25rem;
  border-radius: var(--fc-radius);
  background: var(--fc-bg-soft);
  border: 1px solid var(--fc-rule);
}
.fc-call-cta__btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  background: var(--fc-cta);
  color: #fff;
  border-radius: var(--fc-radius);
  text-decoration: none;
}
.fc-call-cta__btn:hover,
.fc-call-cta__btn:focus {
  background: var(--fc-cta-hover);
  color: #fff;
}
.fc-call-cta__hint {
  display: block;
  margin-top: 0.5rem;
  color: var(--fc-muted);
  font-size: 0.85rem;
}

/* ---------- Calculator forms ---------- */
.fc-calc {
  border: 1px solid var(--fc-rule);
  border-radius: var(--fc-radius);
  padding: 1.25rem;
  margin: 1.5rem 0;
  background: #fff;
}
.fc-calc h3 {
  margin-top: 0;
  color: var(--fc-accent);
}
.fc-calc__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}
.fc-calc__row--full { grid-template-columns: 1fr; }
.fc-calc__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.fc-calc__field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fc-ink);
}
.fc-calc__field input,
.fc-calc__field select {
  padding: 0.5rem 0.6rem;
  border: 1px solid var(--fc-rule);
  border-radius: var(--fc-radius);
  font-size: 1rem;
  background: #fff;
}
.fc-calc__field input:focus,
.fc-calc__field select:focus {
  outline: 2px solid var(--fc-accent);
  outline-offset: 1px;
}
.fc-calc__submit {
  padding: 0.7rem 1.4rem;
  background: var(--fc-accent);
  color: #fff;
  border: none;
  border-radius: var(--fc-radius);
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
}
.fc-calc__submit:hover { filter: brightness(0.92); }
.fc-calc__result {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--fc-radius);
  background: #eef6f0;
  border: 1px solid var(--fc-accent);
  color: var(--fc-ink);
}
.fc-calc__result--warn {
  background: #fdf2ee;
  border-color: var(--fc-warn);
}
.fc-calc__error {
  background: #fdf2ee;
  border: 1px solid var(--fc-warn);
  color: var(--fc-warn);
  padding: 0.6rem 0.8rem;
  border-radius: var(--fc-radius);
  margin-top: 0.75rem;
  font-size: 0.9rem;
}
.fc-calc__note {
  color: var(--fc-muted);
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

/* ---------- FTC disclosure footer line ---------- */
.fc-ftc-disclosure {
  border-top: 1px solid var(--fc-rule);
  margin-top: 2rem;
  padding: 1rem 0;
  font-size: 0.8rem;
  color: var(--fc-muted);
  line-height: 1.5;
}

/* ---------- Print-friendly guide pages ---------- */
@media print {
  body, .site, .site-content, #content, .main {
    background: #fff !important;
    color: #000 !important;
    font-size: 11pt;
    line-height: 1.35;
  }
  .fc-ad-slot,
  .fc-call-cta,
  .fc-affiliate-box__link,
  .fc-calc__submit,
  .site-header,
  .site-footer,
  .main-navigation,
  .sidebar,
  .widget-area,
  .comments-area,
  #comments,
  button,
  .wp-block-button {
    display: none !important;
  }
  .fc-affiliate-box {
    border: 1px solid #000;
    page-break-inside: avoid;
  }
  .fc-calc {
    border: 1px solid #000;
    page-break-inside: avoid;
  }
  .fc-ftc-disclosure {
    border-top: 1px solid #000;
    color: #000;
  }
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #333;
  }
  h1, h2, h3 { page-break-after: avoid; }
  img { max-width: 100% !important; height: auto !important; }
  table { border-collapse: collapse; }
  table, th, td { border: 1px solid #000; padding: 0.25rem 0.4rem; }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .fc-calc__row { grid-template-columns: 1fr; }
  .fc-call-cta__btn { width: 100%; }
}
/* --------------------------------------------------------------
   Factory child — lead-site layer for fence installation
   Uses existing --fc-* tokens. Prefix: .fc-
   -------------------------------------------------------------- */

.fc-main {
	max-width: 72rem;
	margin: 0 auto;
	padding: var(--fc-gap) 1.25rem 3rem;
	color: var(--fc-ink);
}

.fc-section__title {
	font-size: 1.35rem;
	line-height: 1.3;
	color: var(--fc-ink);
	margin: 2rem 0 1rem;
	letter-spacing: 0.01em;
}

/* ---------- Hero ---------- */
.fc-hero {
	background: var(--fc-bg-soft);
	border: 1px solid var(--fc-rule);
	border-radius: var(--fc-radius);
	padding: 2.5rem 1.75rem;
	margin-bottom: 2.5rem;
}
.fc-hero__inner { max-width: 44rem; }
.fc-hero__title {
	font-size: 2.1rem;
	line-height: 1.2;
	margin: 0 0 0.85rem;
	color: var(--fc-ink);
	letter-spacing: -0.01em;
}
.fc-hero__lede {
	font-size: 1.1rem;
	line-height: 1.55;
	color: var(--fc-muted);
	margin: 0 0 1.5rem;
	max-width: 40rem;
}
.fc-hero__actions { margin-bottom: 1rem; }
.fc-hero__note {
	font-size: 0.9rem;
	color: var(--fc-muted);
	margin: 0;
	max-width: 40rem;
}

/* ---------- Page header (service / area / contact) ---------- */
.fc-page-header {
	margin-bottom: 1.5rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--fc-rule);
}
.fc-page-header__title {
	font-size: 1.85rem;
	line-height: 1.25;
	margin: 0 0 0.6rem;
	color: var(--fc-ink);
}
.fc-page-header__lede {
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--fc-muted);
	margin: 0;
	max-width: 42rem;
}

/* ---------- Process strip ---------- */
.fc-process { margin-bottom: 2.5rem; }
.fc-process__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--fc-gap);
}
.fc-process__step {
	background: #fff;
	border: 1px solid var(--fc-rule);
	border-radius: var(--fc-radius);
	padding: 1.25rem;
}
.fc-process__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--fc-accent);
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
	margin-bottom: 0.75rem;
}
.fc-process__head {
	font-size: 1.05rem;
	margin: 0 0 0.4rem;
	color: var(--fc-ink);
}
.fc-process__body {
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--fc-muted);
	margin: 0;
}

/* ---------- Card grid ---------- */
.fc-card-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--fc-gap);
}
.fc-card {
	background: #fff;
	border: 1px solid var(--fc-rule);
	border-radius: var(--fc-radius);
	transition: border-color 0.15s ease;
}
.fc-card:hover,
.fc-card:focus-within {
	border-color: var(--fc-accent);
}
.fc-card__link {
	display: block;
	padding: 1.15rem 1.15rem 1rem;
	color: var(--fc-ink);
	text-decoration: none;
	height: 100%;
	box-sizing: border-box;
}
.fc-card__link:focus {
	outline: 2px solid var(--fc-accent);
	outline-offset: 3px;
	border-radius: var(--fc-radius);
}
.fc-card__title {
	font-size: 1.05rem;
	line-height: 1.35;
	margin: 0 0 0.5rem;
	color: var(--fc-ink);
}
.fc-card__body {
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--fc-muted);
	margin: 0 0 0.85rem;
}
.fc-card__more {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--fc-accent);
}

/* ---------- Chips (areas / other services) ---------- */
.fc-chips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}
.fc-chips__item { margin: 0; }
.fc-chip {
	display: inline-block;
	padding: 0.5rem 0.9rem;
	border: 1px solid var(--fc-rule);
	border-radius: 999px;
	color: var(--fc-ink);
	background: var(--fc-bg-soft);
	text-decoration: none;
	font-size: 0.92rem;
	line-height: 1.2;
}
.fc-chip:hover,
.fc-chip:focus {
	border-color: var(--fc-accent);
	color: var(--fc-accent);
	background: #fff;
	outline: none;
}
.fc-chip:focus-visible {
	outline: 2px solid var(--fc-accent);
	outline-offset: 2px;
}

/* ---------- Content ---------- */
.fc-content {
	font-size: 1.02rem;
	line-height: 1.65;
	color: var(--fc-ink);
	margin-bottom: 2rem;
	max-width: 48rem;
}
.fc-content h2 {
	font-size: 1.2rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--fc-ink);
	margin: 1.75rem 0 0.6rem;
}
.fc-content p { margin: 0 0 1rem; }
.fc-content ul,
.fc-content ol { padding-left: 1.25rem; margin: 0 0 1rem; }
.fc-content li { margin-bottom: 0.35rem; }
.fc-content a { color: var(--fc-accent); }

/* ---------- CTA band ---------- */
.fc-cta-band {
	background: var(--fc-ink);
	color: #fff;
	border-radius: var(--fc-radius);
	padding: 2rem 1.5rem;
	margin: 2.5rem 0 0;
}
.fc-cta-band__inner { max-width: 40rem; }
.fc-cta-band__title {
	font-size: 1.35rem;
	line-height: 1.3;
	margin: 0 0 0.5rem;
	color: #fff;
}
.fc-cta-band__body {
	font-size: 1rem;
	line-height: 1.55;
	color: #d8dade;
	margin: 0 0 1.25rem;
}

/* ---------- Other services nav ---------- */
.fc-other-services { margin: 2rem 0; }

/* ---------- Two-column contact ---------- */
.fc-two-col {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: calc(var(--fc-gap) * 1.6);
	align-items: start;
}
.fc-two-col__main { margin-bottom: 0; }
.fc-two-col__aside { position: sticky; top: 1rem; }

.fc-cta-card {
	background: var(--fc-bg-soft);
	border: 1px solid var(--fc-rule);
	border-radius: var(--fc-radius);
	padding: 1.5rem;
}
.fc-cta-card__title {
	font-size: 1.2rem;
	line-height: 1.3;
	margin: 0 0 0.5rem;
	color: var(--fc-ink);
}
.fc-cta-card__body {
	font-size: 0.98rem;
	line-height: 1.55;
	color: var(--fc-muted);
	margin: 0 0 1rem;
}
.fc-cta-card__action { margin: 0 0 1.25rem; }
.fc-cta-card__subhead {
	font-size: 0.9rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--fc-muted);
	margin: 0 0 0.5rem;
}
.fc-cta-card__steps {
	margin: 0;
	padding-left: 1.1rem;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--fc-ink);
}

/* ---------- Focus states ---------- */
.fc-main a:focus-visible,
.fc-main button:focus-visible {
	outline: 2px solid var(--fc-accent);
	outline-offset: 3px;
	border-radius: 3px;
}

/* ---------- Sticky mobile call bar (mobile only) ---------- */
.fc-sticky-call {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
	background: var(--fc-cta);
	padding: 0.75rem 1rem;
	text-align: center;
	box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.08);
}
.fc-sticky-call a {
	display: block;
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	letter-spacing: 0.01em;
	padding: 0.35rem 0;
}
.fc-sticky-call a:hover,
.fc-sticky-call a:focus {
	color: #fff;
	background: var(--fc-cta-hover);
	border-radius: var(--fc-radius);
}

@media (max-width: 720px) {
	body { padding-bottom: 4.25rem; }
	.fc-sticky-call { display: block; }
	.fc-hero { padding: 1.75rem 1.25rem; }
	.fc-hero__title { font-size: 1.7rem; }
	.fc-process__steps { grid-template-columns: 1fr; }
	.fc-card-grid { grid-template-columns: 1fr; }
	.fc-two-col { grid-template-columns: 1fr; }
	.fc-two-col__aside { position: static; }
	.fc-page-header__title { font-size: 1.5rem; }
	.fc-section__title { font-size: 1.2rem; }
}

@media (min-width: 721px) and (max-width: 960px) {
	.fc-card-grid,
	.fc-process__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* =========================================================================
   factory-child — DESIGN SYSTEM v2 (append AFTER v1 css)
   Scoped to .fc-lead-main and .fc-* components. Mobile-first.
   ========================================================================= */

/* ---------- tokens (fallback if plugin is not loaded) ---------- */
:root {
	--fc-ink:       #1d2327;
	--fc-muted:     #50575e;
	--fc-rule:      #dcdcde;
	--fc-bg-soft:   #f6f7f7;
	--fc-accent:    #0b6b3a;
	--fc-cta:       #c0392b;
	--fc-cta-hover: #a93226;
}

/* ---------- container & section rhythm ---------- */
.fc-lead-main { color: var(--fc-ink); }
.fc-container {
	width: 100%;
	max-width: 72rem;
	margin-inline: auto;
	padding-inline: 1.25rem;
}
.fc-section { padding-block: 3rem; }
.fc-section__title {
	font-size: clamp(1.35rem, 3vw, 1.9rem);
	line-height: 1.2;
	margin: 0 0 1.5rem;
	color: var(--fc-ink);
	letter-spacing: -0.005em;
}

/* ---------- content measure ---------- */
.fc-content {
	max-width: 44rem;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--fc-ink);
}
.fc-content :where(p, ul, ol, blockquote) { margin-block: 0 1rem; }
.fc-content a {
	color: var(--fc-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.fc-content a:hover { color: var(--fc-cta-hover); }

/* ---------- buttons / shared link resets ---------- */
.fc-lead-main .fc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .85rem 1.25rem;
	border-radius: 8px;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.1;
	text-decoration: none;
	border: 0;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.fc-lead-main .fc-btn--ghost {
	background: rgba(255,255,255,.12);
	color: #fff;
	border: 1px solid rgba(255,255,255,.6);
}
.fc-lead-main .fc-btn--ghost:hover,
.fc-lead-main .fc-btn--ghost:focus-visible {
	background: rgba(255,255,255,.22);
	color: #fff;
}

/* =========================================================================
   HERO
   ========================================================================= */
.fc-hero {
	position: relative;
	min-height: 78vh;
	background-color: #0a2818;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #fff;
	display: flex;
	align-items: stretch;
}
.fc-hero__overlay {
	width: 100%;
	background: linear-gradient(180deg, rgba(10,40,24,.82), rgba(10,40,24,.35));
	display: flex;
	align-items: center;
	padding-block: 3rem;
}
.fc-hero--fallback .fc-hero__overlay {
	background: linear-gradient(180deg, rgba(10,40,24,.95), rgba(10,40,24,.75));
}
.fc-hero__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem;
	width: 100%;
}
.fc-hero__title {
	font-size: clamp(2rem, 6vw, 3.4rem);
	line-height: 1.08;
	margin: 0 0 .75rem;
	color: #fff;
	letter-spacing: -0.02em;
}
.fc-hero__sub {
	font-size: 1.125rem;
	line-height: 1.5;
	color: rgba(255,255,255,.9);
	margin: 0 0 1.5rem;
	max-width: 36rem;
}
.fc-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	align-items: center;
}
.fc-hero__quote {
	background: #fff;
	color: var(--fc-ink);
	border-radius: 14px;
	padding: 1.5rem;
	box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
.fc-hero__quote-title {
	margin: 0 0 1rem;
	font-size: 1.15rem;
	color: var(--fc-ink);
}

/* Call CTA (from factory-core) inside hero card — style its wrapper */
.fc-hero__quote .fc-call-cta { margin-bottom: 1rem; }
.fc-hero .fc-call-cta .fc-call-cta__btn {
	display: inline-block;
	background: var(--fc-cta);
	color: #fff;
	padding: .95rem 1.25rem;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color .18s ease;
}
.fc-hero .fc-call-cta .fc-call-cta__btn:hover,
.fc-hero .fc-call-cta .fc-call-cta__btn:focus-visible {
	background: var(--fc-cta-hover);
	color: #fff;
}
.fc-call-cta__hint {
	display: block;
	margin-top: .5rem;
	font-size: .9rem;
	color: var(--fc-muted);
}

/* Check list used in hero card and contact card */
.fc-check {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: .6rem;
}
.fc-check--tight { gap: .45rem; }
.fc-check__item {
	position: relative;
	padding-left: 1.6rem;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--fc-ink);
}
.fc-check__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: .35rem;
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	background-color: var(--fc-accent);
	background-image: linear-gradient(135deg, transparent 45%, #fff 45% 55%, transparent 55%),
	                  linear-gradient(45deg, transparent 45%, #fff 45% 55%, transparent 55%);
	background-size: 60% 60%, 60% 60%;
	background-position: 75% 40%, 30% 55%;
	background-repeat: no-repeat;
}

/* =========================================================================
   PROOF STRIP
   ========================================================================= */
.fc-proof {
	background: var(--fc-bg-soft);
	border-top: 1px solid var(--fc-rule);
	border-bottom: 1px solid var(--fc-rule);
	padding-block: 1rem;
}
.fc-proof__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: .5rem .75rem;
}
.fc-proof__item {
	font-size: .95rem;
	color: var(--fc-ink);
	padding-left: 1.5rem;
	position: relative;
}
.fc-proof__item::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--fc-accent);
	font-weight: 700;
}

/* =========================================================================
   SERVICE CARDS
   ========================================================================= */
.fc-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}
.fc-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0,0,0,.06);
	display: flex;
	flex-direction: column;
	transition: transform .18s ease, box-shadow .18s ease;
}
.fc-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	background-color: var(--fc-bg-soft);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	text-decoration: none;
}
.fc-card__media--fallback {
	background: linear-gradient(135deg, #0b6b3a 0%, #0a2818 100%);
	display: flex;
	align-items: flex-end;
	padding: 1rem;
}
.fc-card__media-label {
	color: #fff;
	font-weight: 600;
	font-size: 1.05rem;
	line-height: 1.25;
}
.fc-card__body { padding: 1rem 1.15rem 1.15rem; display: flex; flex-direction: column; gap: .5rem; }
.fc-card__title {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.25;
	color: var(--fc-ink);
}
.fc-card__title a {
	color: var(--fc-ink);
	text-decoration: none;
}
.fc-card__title a:hover { color: var(--fc-accent); }
.fc-card__text {
	margin: 0;
	font-size: .975rem;
	line-height: 1.5;
	color: var(--fc-muted);
}
.fc-card__link {
	margin-top: auto;
	color: var(--fc-accent);
	font-weight: 600;
	text-decoration: none;
}
.fc-card__link::after { content: " ›"; }
.fc-card__link:hover { color: var(--fc-cta-hover); }

/* compact variant for "Other services" */
.fc-cards--compact { gap: 1rem; }
.fc-card--compact .fc-card__title { font-size: 1rem; }
.fc-card--compact .fc-card__text { font-size: .9rem; }
.fc-card--compact .fc-card__media { aspect-ratio: 16 / 10; }

/* =========================================================================
   PROCESS (CSS counters, no literal numbers in markup)
   ========================================================================= */
.fc-steps {
	counter-reset: fc-step;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}
.fc-step {
	position: relative;
	background: #fff;
	border: 1px solid var(--fc-rule);
	border-radius: 12px;
	padding: 1.25rem 1.25rem 1.25rem 1.25rem;
	counter-increment: fc-step;
	display: flex;
	flex-direction: column;
	gap: .5rem;
}
.fc-step__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: var(--fc-accent);
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1;
}
.fc-step__badge::before { content: counter(fc-step); }
.fc-step__title {
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.3;
	color: var(--fc-ink);
}
.fc-step__text {
	margin: 0;
	font-size: .975rem;
	line-height: 1.55;
	color: var(--fc-muted);
}

/* =========================================================================
   GALLERY
   ========================================================================= */
.fc-gallery__row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: .75rem;
}
.fc-gallery__item {
	aspect-ratio: 4 / 3;
	border-radius: 10px;
	background-color: var(--fc-bg-soft);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* =========================================================================
   AREA CHIPS
   ========================================================================= */
.fc-chips {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}
.fc-chip {
	display: inline-flex;
	align-items: center;
	padding: .55rem .9rem;
	border-radius: 999px;
	background: var(--fc-bg-soft);
	border: 1px solid var(--fc-rule);
	color: var(--fc-ink);
	font-size: .95rem;
	font-weight: 500;
	text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.fc-chip:hover,
.fc-chip:focus-visible {
	background: #fff;
	border-color: var(--fc-accent);
	color: var(--fc-accent);
}

/* =========================================================================
   SERVICE / AREA LINK ROWS
   ========================================================================= */
.fc-rows__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--fc-rule);
}
.fc-rows__item { border-bottom: 1px solid var(--fc-rule); }
.fc-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: .95rem .25rem;
	text-decoration: none;
	color: var(--fc-ink);
	font-size: 1.05rem;
	font-weight: 500;
}
.fc-row:hover,
.fc-row:focus-visible { color: var(--fc-accent); }
.fc-row__chev {
	color: var(--fc-muted);
	font-size: 1.5rem;
	line-height: 1;
}
.fc-row:hover .fc-row__chev { color: var(--fc-accent); }

/* =========================================================================
   PHOTO BAND (service / area header)
   ========================================================================= */
.fc-band {
	position: relative;
	background-color: #0a2818;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #fff;
	min-height: 34vh;
	display: flex;
}
.fc-band--slim { min-height: 26vh; }
.fc-band__overlay {
	width: 100%;
	background: linear-gradient(180deg, rgba(10,40,24,.82), rgba(10,40,24,.45));
	display: flex;
	align-items: flex-end;
	padding-block: 2.5rem 2rem;
}
.fc-band--fallback .fc-band__overlay {
	background: linear-gradient(135deg, #0b6b3a 0%, #0a2818 100%);
}
.fc-band__title {
	margin: 0;
	font-size: clamp(1.8rem, 5vw, 2.8rem);
	line-height: 1.1;
	color: #fff;
	letter-spacing: -0.015em;
}

/* =========================================================================
   CONTACT PAGE
   ========================================================================= */
.fc-contact__title {
	margin: 0;
	font-size: clamp(1.9rem, 5vw, 2.6rem);
	line-height: 1.15;
	color: var(--fc-ink);
}
.fc-contact__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}
.fc-contact__card {
	background: var(--fc-bg-soft);
	border: 1px solid var(--fc-rule);
	border-radius: 12px;
	padding: 1.5rem;
}
.fc-contact__card-title {
	margin: 0 0 .75rem;
	font-size: 1.25rem;
	color: var(--fc-ink);
}
.fc-contact__card-sub {
	margin: 1.25rem 0 .5rem;
	font-size: 1rem;
	color: var(--fc-ink);
}
.fc-contact__card .fc-call-cta { margin-bottom: .5rem; }
.fc-contact__card .fc-call-cta .fc-call-cta__btn {
	display: inline-block;
	background: var(--fc-cta);
	color: #fff;
	padding: .85rem 1.15rem;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
}
.fc-contact__card .fc-call-cta .fc-call-cta__btn:hover { background: var(--fc-cta-hover); color: #fff; }

/* =========================================================================
   CTA BAND
   ========================================================================= */
.fc-cta-band {
	background: var(--fc-accent);
	color: #fff;
	padding-block: 2.5rem;
	margin-top: 1rem;
}
.fc-cta-band__inner {
	display: grid;
	gap: 1rem;
}
.fc-cta-band__title {
	margin: 0;
	font-size: clamp(1.4rem, 3.5vw, 2rem);
	line-height: 1.2;
	color: #fff;
}
.fc-cta-band .fc-call-cta .fc-call-cta__btn {
	display: inline-block;
	background: #fff;
	color: var(--fc-accent);
	padding: .95rem 1.25rem;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color .18s ease, color .18s ease;
}
.fc-cta-band .fc-call-cta .fc-call-cta__btn:hover,
.fc-cta-band .fc-call-cta .fc-call-cta__btn:focus-visible {
	background: #fff;
	color: var(--fc-cta-hover);
}
.fc-cta-band .fc-call-cta__hint { color: rgba(255,255,255,.85); }

/* =========================================================================
   STICKY BOTTOM CALL BAR (phone only)
   ========================================================================= */
.fc-stickybar {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	background: var(--fc-cta);
	box-shadow: 0 -6px 20px rgba(0,0,0,.18);
}
.fc-stickybar__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .1rem;
	padding: .7rem 1rem;
	text-decoration: none;
	color: #fff;
	text-align: center;
}
.fc-stickybar__label { font-size: .8rem; letter-spacing: .02em; opacity: .95; }
.fc-stickybar__num   { font-size: 1.05rem; font-weight: 700; }

/* =========================================================================
   FOCUS-VISIBLE
   ========================================================================= */
.fc-lead-main :where(a, button, .fc-chip, .fc-row):focus-visible {
	outline: 3px solid var(--fc-accent);
	outline-offset: 2px;
	border-radius: 6px;
}

/* =========================================================================
   TABLET  (>= 640px)
   ========================================================================= */
@media (min-width: 640px) {
	.fc-container { padding-inline: 2rem; }
	.fc-section { padding-block: 4rem; }
	.fc-proof__list { grid-template-columns: repeat(2, 1fr); }
	.fc-cards { grid-template-columns: repeat(2, 1fr); }
	.fc-steps { grid-template-columns: repeat(3, 1fr); }
	.fc-gallery__row { grid-template-columns: repeat(4, 1fr); }
	.fc-contact__grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   DESKTOP  (>= 1024px)
   ========================================================================= */
@media (min-width: 1024px) {
	.fc-hero { min-height: 72vh; }
	.fc-hero__grid {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
		gap: 3rem;
		align-items: center;
	}
	.fc-hero__quote { padding: 1.75rem; }
	.fc-cards { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
	.fc-cards--compact { grid-template-columns: repeat(3, 1fr); }
	.fc-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.10); }
	.fc-proof__list { grid-template-columns: repeat(4, 1fr); }
	.fc-contact__grid { grid-template-columns: minmax(0, 1fr) 22rem; gap: 2.5rem; align-items: start; }
	.fc-contact__card { position: sticky; top: 1.5rem; }
	.fc-gallery__row { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

/* =========================================================================
   STICKY BAR RULES — only below 1024px, only on .fc-lead pages
   ========================================================================= */
@media (max-width: 1023px) {
	.fc-lead .fc-stickybar { display: block; }
	body.fc-lead { padding-bottom: 4.25rem; }
}
.fc-article { color: #1f2937; font-size: 1.0625rem; }

.fc-article h2,
.fc-article h3 { color: #173f2c; font-weight: 700; line-height: 1.25; }

.fc-article h2 { font-size: 1.6rem; margin: 1.9rem 0 0.7rem; }
.fc-article h3 { font-size: 1.3rem; margin: 1.5rem 0 0.6rem; }

.fc-article p { line-height: 1.65; margin: 0 0 1.1rem; }

.fc-article ul,
.fc-article ol { margin: 0 0 1.1rem; padding-left: 1.5rem; }

.fc-article li { line-height: 1.6; margin-bottom: 0.45rem; }

.fc-article table { width: 100%; border-collapse: collapse; border: 1px solid #d8ddd8; margin: 1.2rem 0; }

.fc-article th,
.fc-article td { border: 1px solid #d8ddd8; padding: 0.6rem 0.75rem; text-align: left; vertical-align: top; }

.fc-article th { background: #f7f8f7; color: #173f2c; }

.fc-article img { max-width: 100%; height: auto; display: block; }

.fc-article a { color: #173f2c; text-decoration: underline; }

.fc-article a:hover { color: #b91c1c; }

.fc-author { border: 1px solid #d8ddd8; border-left: 4px solid #173f2c; padding: 1rem 1.15rem; background: #f7f8f7; margin: 1.75rem 0; }

.fc-author__name { font-weight: 700; font-size: 1.05rem; color: #173f2c; }

.fc-author__title { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: #6b7280; margin-top: 0.2rem; }

.fc-author__bio { font-size: 0.95rem; line-height: 1.6; color: #374151; margin-top: 0.6rem; }

.fc-safety { background: #fdf6ec; border-left: 4px solid #b91c1c; padding: 0.9rem 1.1rem; margin: 1.5rem 0; }

.fc-safety p:last-child { margin-bottom: 0; }

.fc-disc { font-size: 0.8rem; font-style: italic; color: #6b7280; line-height: 1.5; margin: 0.75rem 0; }

.fc-byline { font-size: 0.82rem; color: #6b7280; line-height: 1.4; margin: 0.5rem 0; }

.fc-rel-title { color: #173f2c; font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 2px solid #b91c1c; padding-bottom: 0.35rem; margin: 1.75rem 0 0.9rem; }

@media (max-width: 640px) {
  .fc-article table { display: block; overflow-x: auto; }
}

/* Content hero primary CTA: solid treatment (base .fc-btn ships layout only). */
.fc-content-main .fc-btn:not(.fc-btn--ghost) { background: var(--fc-cta); color: #fff; }
.fc-content-main .fc-btn:not(.fc-btn--ghost):hover, .fc-content-main .fc-btn:not(.fc-btn--ghost):focus-visible { filter: brightness(1.08); color: #fff; }

/* Brand logo sizing — Call a Tech Last (Nov 11, 2026): keep the header mark at header height */
.site-logo img.header-image, .site-logo img.custom-logo, img.custom-logo { max-height: 60px; width: auto; height: auto; }
@media (max-width: 768px) { .site-logo img.header-image, .site-logo img.custom-logo, img.custom-logo { max-height: 46px; } }

/* Card media images (featured-image support) */
.fc-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
