/*
  The Farm Media — global stylesheet
  Marketing systems for concrete coating companies.
*/

/* ---------------------------------- */
/* Fonts                               */
/* ---------------------------------- */
@font-face {
  font-family: "Big Shoulders";
  src: url("../fonts/BigShoulders-Bold.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Big Shoulders";
  src: url("../fonts/BigShoulders-Regular.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-Regular.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/Outfit-Bold.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------- */
/* Tokens                              */
/* ---------------------------------- */
:root {
  --black: #0a0a0b;
  --charcoal: #141415;
  --charcoal-2: #1b1b1d;
  --charcoal-3: #232326;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --white: #faf8f4;
  --grey-100: #e7e5e1;
  --grey-300: #b7b4ae;
  --grey-500: #8a8783;
  --grey-700: #5c5a57;
  --red: #4db816;
  --red-bright: #66e01c;
  --red-dark: #2c6d0d;
  --red-glow: rgba(77, 184, 22, 0.45);
  --green: #3fae5c;
  --amber: #e0a52c;

  --font-display: "Big Shoulders", "Arial Narrow", sans-serif;
  --font-body: "Outfit", "Segoe UI", system-ui, sans-serif;

  --container: 1220px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.65);
  --shadow-md: 0 16px 32px -16px rgba(0, 0, 0, 0.55);

  color-scheme: dark;
}

/* ---------------------------------- */
/* Reset                               */
/* ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

body {
  background: var(--black);
  color: var(--grey-100);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse 900px 500px at 12% -8%, rgba(77, 184, 22, 0.16), transparent 60%),
    radial-gradient(ellipse 800px 500px at 100% 0%, rgba(77, 184, 22, 0.10), transparent 55%);
}

/* subtle grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

::selection { background: var(--red); color: var(--white); }

/* ---------------------------------- */
/* Typography                          */
/* ---------------------------------- */
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
  color: var(--white);
}
h1, .h1 { font-size: clamp(2.6rem, 3.4vw + 1.6rem, 5.6rem); }
h2, .h2 { font-size: clamp(2.1rem, 2.2vw + 1.4rem, 3.6rem); }
h3, .h3 { font-size: clamp(1.4rem, 1vw + 1.1rem, 1.9rem); }
h4, .h4 { font-size: clamp(1.05rem, 0.4vw + 0.95rem, 1.25rem); letter-spacing: 0.04em; }

p { color: var(--grey-300); }
p.lede { font-size: clamp(1.05rem, 0.4vw + 1rem, 1.3rem); color: var(--grey-100); }

.accent { color: var(--red-bright); }
.text-white { color: var(--white); }
.text-grey { color: var(--grey-500); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red-bright);
  display: inline-block;
}

/* ---------------------------------- */
/* Layout helpers                      */
/* ---------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.section { padding-block: clamp(3.5rem, 7vw, 7.5rem); position: relative; }
.section-tight { padding-block: clamp(2.5rem, 4vw, 4rem); }
.section-head {
  max-width: 760px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 0.6rem; }

.divider {
  border: none;
  height: 1px;
  background: var(--line);
  margin-block: 0;
}

.stripe-bg {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(196,30,38,0.5) 0 26px, rgba(196,30,38,0) 26px 52px);
}

.bg-charcoal { background: var(--charcoal); }
.bg-black { background: var(--black); }

.field-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}
.field-lines svg { width: 100%; height: 100%; }

/* grid */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.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-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-sm { gap: 0.6rem; }
.gap-md { gap: 1.2rem; }
.gap-lg { gap: 2rem; }
.stack { display: flex; flex-direction: column; }

/* ---------------------------------- */
/* Buttons                             */
/* ---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  color: var(--white);
  box-shadow: 0 10px 30px -8px var(--red-glow), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover { box-shadow: 0 14px 36px -6px var(--red-glow), inset 0 1px 0 rgba(255,255,255,0.25); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--red-bright); color: var(--red-bright); }

.btn-light {
  background: var(--white);
  color: var(--black);
}
.btn-light:hover { background: var(--grey-100); transform: translateY(-2px); }

.btn-lg { padding: 1.15em 2.1em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-sm { padding: 0.65em 1.2em; font-size: 0.85rem; }

/* ---------------------------------- */
/* Nav                                 */
/* ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand img { height: 40px; width: 40px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--white);
  line-height: 1;
}
.brand-word span { color: var(--red-bright); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--grey-100);
  position: relative;
  padding-block: 0.3rem;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--red-bright);
  transition: right 0.2s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { color: var(--white); }

/* dropdown */
.nav-item-dropdown { position: relative; }
.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  background: none;
  border: none;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--grey-100);
  cursor: pointer;
  padding-block: 0.3rem;
}
.nav-drop-toggle svg { width: 13px; height: 13px; transition: transform .18s ease; }
.nav-item-dropdown.open .nav-drop-toggle svg { transform: rotate(180deg); }
.nav-item-dropdown:hover .nav-drop-toggle, .nav-item-dropdown.open .nav-drop-toggle, .nav-drop-toggle.current-section { color: var(--white); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 560px;
  background: var(--charcoal-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
  z-index: 600;
}
.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
}
.nav-dropdown-menu a:hover { background: rgba(196,30,38,0.1); }
.nav-dropdown-menu a::after { display: none; content: none; }
.nav-dropdown-menu a span {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--grey-500);
}
@media (max-width: 880px) {
  .nav-dropdown-menu {
    position: static;
    transform: none;
    width: auto;
    grid-template-columns: 1fr;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    background: var(--charcoal);
    display: none;
    margin-top: 0.4rem;
  }
  .nav-item-dropdown:hover .nav-dropdown-menu,
  .nav-item-dropdown.open .nav-dropdown-menu {
    display: grid;
    transform: none;
  }
  .nav-drop-toggle { width: 100%; justify-content: space-between; padding-block: 0.85rem; border-bottom: 1px solid var(--line); }
}

.nav-cta { display: flex; align-items: center; gap: 0.85rem; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--white);
  position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    inset: 66px 0 auto 0;
    background: var(--black);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem) 1.75rem;
    gap: 0.25rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding-block: 0.85rem; border-bottom: 1px solid var(--line); }
  .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------------------------------- */
/* Hero                                */
/* ---------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 9vw, 8rem) clamp(3rem, 7vw, 6rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(100deg, rgba(6,6,7,0.96) 0%, rgba(6,6,7,0.88) 32%, rgba(6,6,7,0.55) 60%, rgba(6,6,7,0.25) 100%),
    linear-gradient(0deg, rgba(6,6,7,0.9) 0%, rgba(6,6,7,0) 30%),
    url("/assets/img/hero/home-hero.jpg");
  background-size: cover;
  background-position: center 60%;
}
.photo-hero {
  background-image:
    linear-gradient(100deg, rgba(6,6,7,0.95) 0%, rgba(6,6,7,0.85) 38%, rgba(6,6,7,0.45) 68%, rgba(6,6,7,0.2) 100%),
    linear-gradient(0deg, rgba(6,6,7,0.85) 0%, rgba(6,6,7,0) 35%),
    var(--hero-img, url("/assets/img/hero/calculator-hero.jpg"));
  background-size: cover;
  background-position: center 55%;
}
.photo-hero.center-fade {
  background-image:
    linear-gradient(rgba(6,6,7,0.88), rgba(6,6,7,0.88)),
    var(--hero-img, url("/assets/img/hero/calculator-hero.jpg"));
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 { margin-top: 0.75rem; }
.hero .lede { margin-top: 1.4rem; max-width: 56ch; }
.hero-actions { margin-top: 2.1rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-proof {
  margin-top: 2.4rem;
  display: flex;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  flex-wrap: wrap;
}
.hero-proof .stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--white);
  line-height: 1;
}
.hero-proof .stat span {
  font-size: 0.78rem;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* animated hazard strip (transform-based so it stays GPU-composited) */
.hazard {
  height: 10px;
  position: relative;
  overflow: hidden;
}
.hazard::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 200%;
  background-image: repeating-linear-gradient(135deg, var(--red) 0 18px, #111 18px 36px);
  background-size: 50% 100%;
  background-repeat: repeat-x;
  animation: hazard-move 6s linear infinite;
  will-change: transform;
}
@keyframes hazard-move { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------------------------- */
/* Cards                               */
/* ---------------------------------- */
.card {
  background: linear-gradient(180deg, var(--charcoal-2), var(--charcoal));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 2vw, 2.1rem);
  position: relative;
}
.card:hover { border-color: var(--line-strong); }

.icon-box {
  width: 52px; height: 52px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, rgba(196,30,38,0.22), rgba(196,30,38,0.05));
  border: 1px solid rgba(196,30,38,0.35);
  color: var(--red-bright);
  margin-bottom: 1.1rem;
}
.icon-box svg { width: 26px; height: 26px; }

.card h3 { margin-top: 0; }
.card p { margin-top: 0.6rem; font-size: 0.95rem; }

/* numbered process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  counter-reset: step;
}
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 1.6rem 1.3rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--charcoal);
}
.step .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--red-bright);
  opacity: 0.9;
  line-height: 1;
}
.step h4 { margin-top: 0.7rem; }
.step p { font-size: 0.88rem; margin-top: 0.4rem; }
.step-arrow {
  display: none;
}
@media (min-width: 981px) {
  .steps { position: relative; }
  .step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -1.05rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--red-bright);
    font-size: 1.2rem;
    z-index: 2;
  }
}

/* photo gallery */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.gallery-filters button {
  padding: 0.6em 1.2em;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--charcoal);
  color: var(--grey-100);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all .15s ease;
}
.gallery-filters button:hover { border-color: var(--red-bright); }
.gallery-filters button.active { background: var(--red); border-color: var(--red); color: #fff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; } }

.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--charcoal);
  cursor: zoom-in;
}
.gallery-item.wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 640px) { .gallery-item.wide { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; } }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .tag {
  position: absolute;
  left: 0.6rem; bottom: 0.6rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(10,10,11,0.72);
  backdrop-filter: blur(4px);
  padding: 0.35em 0.7em;
  border-radius: 999px;
  color: var(--white);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.gallery-item:hover .tag { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(6,6,7,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 4vw;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-strong);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed;
  background: rgba(20,20,21,0.8);
  border: 1px solid var(--line-strong);
  color: var(--white);
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { border-color: var(--red-bright); color: var(--red-bright); }
@media (max-width: 640px) {
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-close { top: 0.75rem; right: 0.75rem; }
}

/* portfolio link cards */
.site-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.site-card:hover { transform: translateY(-3px); border-color: var(--red-bright); }
.site-card .site-name { color: var(--white); font-size: 1.2rem; }
.site-card .site-url {
  font-size: 0.85rem;
  color: var(--grey-500);
  word-break: break-all;
}
.site-card .visit {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--red-bright);
}
.site-card .visit svg { width: 14px; height: 14px; }

/* stat tiles */
.stat-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  background: var(--charcoal);
  text-align: center;
}
.stat-tile b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.7rem);
  color: var(--white);
}
.stat-tile span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--grey-500);
}

/* badges / pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.4em 0.85em;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid var(--line-strong);
  color: var(--grey-100);
}
.pill.pill-red { background: rgba(196,30,38,0.15); border-color: rgba(196,30,38,0.5); color: #ff8a8f; }
.pill.pill-green { background: rgba(63,174,92,0.14); border-color: rgba(63,174,92,0.45); color: #7fe19a; }

.check-list { display: flex; flex-direction: column; gap: 0.7rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--grey-100);
}
.check-list li svg { flex: none; width: 20px; height: 20px; color: var(--red-bright); margin-top: 0.1em; }

/* ---------------------------------- */
/* Pricing                             */
/* ---------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin-inline: auto; } }
@media (max-width: 640px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; } }

.price-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--charcoal-2), var(--charcoal));
  padding: clamp(1.75rem, 2vw, 2.3rem);
  position: relative;
}
.price-card.featured {
  border-color: var(--red);
  box-shadow: 0 25px 55px -25px var(--red-glow);
  transform: translateY(-6px);
}
@media (max-width: 980px) { .price-card.featured { transform: none; } }
.price-card .badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4em 1em;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { margin-top: 0.4rem; }
.price-card .price {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--white);
  margin-top: 0.9rem;
  line-height: 1;
}
.price-card .price span { font-size: 1rem; color: var(--grey-500); font-family: var(--font-body); font-weight: 500; text-transform: none; }
.price-card .price-note { font-size: 0.82rem; color: var(--grey-500); margin-top: 0.4rem; }
.price-card .check-list { margin-top: 1.6rem; margin-bottom: 1.8rem; flex: 1; }
.price-card .check-list li { font-size: 0.9rem; }

/* comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--line); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--charcoal); }
table.compare th, table.compare td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
table.compare thead th {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  color: var(--white);
  background: var(--charcoal-2);
}
table.compare td.yes { color: var(--red-bright); font-weight: 700; text-align: center; }
table.compare td.no { color: var(--grey-700); text-align: center; }
table.compare tbody tr:last-child td { border-bottom: none; }

/* ---------------------------------- */
/* Calculator widget                   */
/* ---------------------------------- */
.calc-shell {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--charcoal-2), var(--black));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.calc-header {
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--charcoal);
}
.calc-header .dot-row { display: flex; gap: 6px; }
.calc-header .dot-row span { width: 10px; height: 10px; border-radius: 50%; background: var(--grey-700); }
.calc-body { padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 780px) { .calc-body { grid-template-columns: 1fr; } }

.field { margin-bottom: 1.3rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--grey-300);
  margin-bottom: 0.55rem;
}
.field input[type="number"], .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select {
  width: 100%;
  background: var(--charcoal-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: 0.85em 1em;
  font-size: 1rem;
  font-family: var(--font-body);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red-bright);
  box-shadow: 0 0 0 3px rgba(196,30,38,0.25);
}
.field textarea {
  width: 100%;
  background: var(--charcoal-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: 0.85em 1em;
  font-family: var(--font-body);
  resize: vertical;
  min-height: 120px;
}

.chip-group { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  padding: 0.7em 1.1em;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--charcoal-3);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--grey-100);
  transition: all .15s ease;
}
.chip:hover { border-color: var(--red-bright); }
.chip.active { background: var(--red); border-color: var(--red); color: var(--white); }

.range-row { display: flex; align-items: center; gap: 1rem; }
.range-row input[type="range"] {
  flex: 1;
  accent-color: var(--red);
  height: 6px;
}
.range-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  min-width: 4.5ch;
  text-align: right;
}

.calc-result {
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 30% 0%, rgba(196,30,38,0.22), transparent 60%), var(--charcoal);
  padding: clamp(1.5rem, 2.4vw, 2.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}
.calc-result .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-500);
}
.calc-result .range {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--white);
  margin-top: 0.4rem;
  line-height: 1;
}
.calc-result .range .accent { color: var(--red-bright); }
.calc-result .breakdown { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; }
.calc-result .breakdown div { display: flex; justify-content: space-between; font-size: 0.88rem; border-bottom: 1px dashed var(--line); padding-bottom: 0.5rem; color: var(--grey-300); }
.calc-result .breakdown div b { color: var(--white); font-weight: 600; }
.calc-disclaimer { font-size: 0.76rem; color: var(--grey-700); margin-top: 1.2rem; }
.calc-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 1.6rem;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------------------------------- */
/* Gated unlock calculator flow        */
/* ---------------------------------- */
.progress-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.progress-step {
  padding: 0.8em 1em;
  border-radius: var(--radius-sm);
  background: var(--charcoal-3);
  border: 1px solid var(--line-strong);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  color: var(--grey-300);
}
.progress-step.active { border-color: rgba(196,30,38,0.55); background: rgba(196,30,38,0.14); color: var(--white); }
.progress-arrow { color: var(--grey-700); font-size: 1.1rem; font-weight: 800; }
@media (max-width: 560px) { .progress-arrow { display: none; } }

.locked-preview, .result-box {
  margin-top: 1.4rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at 25% 0%, rgba(196,30,38,0.18), transparent 60%), var(--charcoal);
  border: 1px solid rgba(196,30,38,0.3);
  position: relative;
  overflow: hidden;
}
.locked-badge {
  display: inline-block;
  padding: 0.4em 0.8em;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(196,30,38,0.16);
  border: 1px solid rgba(196,30,38,0.4);
  color: var(--white);
  margin-bottom: 0.7rem;
}
.preview-range-wrap { position: relative; margin: 0.5rem 0 0.75rem; }
.preview-range {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  color: var(--white);
  filter: blur(7px);
  user-select: none;
  pointer-events: none;
  line-height: 1;
}
.preview-overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(90deg, rgba(10,10,11,0.15), rgba(10,10,11,0.05), rgba(10,10,11,0.15));
}
.live-status, .info-highlight {
  margin-top: 0.9rem;
  padding: 0.75em 0.9em;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--grey-100);
  font-size: 0.86rem;
}
.sms-consent-box {
  margin: 0.5rem 0 1.1rem;
  padding: 0.75em 0.9em;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--grey-500);
  line-height: 1.6;
}
.unlock-headline { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; color: var(--white); margin: 0 0 0.5rem; }
.unlock-subcopy { color: var(--grey-300); margin-bottom: 1.2rem; font-size: 0.95rem; }
.result-box .range { font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 3rem); color: var(--white); margin: 0.4rem 0 0.9rem; }
.includes { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.1rem; margin-top: 1rem; color: var(--grey-100); font-size: 0.9rem; }
@media (max-width: 560px) { .includes { grid-template-columns: 1fr; } }

/* ---------------------------------- */
/* Article / blog prose                */
/* ---------------------------------- */
.article-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.85rem;
  color: var(--grey-500);
  margin-top: 1.1rem;
}
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--grey-700); }
.article-body { max-width: 720px; margin-inline: auto; }
.article-body p { color: var(--grey-100); font-size: 1.05rem; margin-bottom: 1.4rem; }
.article-body h2 {
  font-size: clamp(1.5rem, 1.4vw + 1.1rem, 2.1rem);
  margin-top: 2.6rem;
  margin-bottom: 1.1rem;
}
.article-body h3 { font-size: 1.3rem; margin-top: 2rem; margin-bottom: 0.9rem; color: var(--white); text-transform: uppercase; font-family: var(--font-display); }
.article-body ul, .article-body ol { margin: 0 0 1.4rem 1.3rem; color: var(--grey-100); }
.article-body li { margin-bottom: 0.6rem; font-size: 1.02rem; }
.article-body blockquote {
  border-left: 3px solid var(--red);
  padding: 0.2rem 0 0.2rem 1.4rem;
  margin: 1.8rem 0;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--white);
}
.article-body a:not(.btn) { color: var(--red-bright); text-decoration: underline; text-underline-offset: 2px; }
.article-cta {
  margin: 2.4rem 0;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--charcoal);
  border: 1px solid var(--line-strong);
  text-align: center;
}
.article-cta p { margin-bottom: 1rem; }

.blog-card { display: flex; flex-direction: column; text-decoration: none; }
.blog-card .tag { color: var(--red-bright); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.6rem; }
.blog-card h3 { margin: 0 0 0.6rem; }
.blog-card p { flex: 1; }
.blog-card .read-more { margin-top: 1rem; font-size: 0.85rem; font-weight: 700; color: var(--red-bright); }

/* Google result mock */
.serp-mock {
  background: #202124;
  border-radius: var(--radius-md);
  padding: 1.4rem;
  border: 1px solid var(--line-strong);
  font-family: Arial, sans-serif;
}
.serp-mock .g { color: #8ab4f8; font-weight: 700; font-size: 1.1rem; margin-bottom: 0.6rem; }
.serp-mock .biz {
  display: flex;
  gap: 0.9rem;
  padding: 0.9rem;
  border: 1px solid rgba(255,215,0,0.55);
  border-radius: 8px;
  background: rgba(255,215,0,0.05);
}
.serp-mock .biz-logo {
  width: 46px; height: 46px; border-radius: 6px;
  background: var(--red);
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
  flex: none;
}
.serp-mock .biz-name { color: #e8eaed; font-weight: 700; font-size: 1rem; }
.serp-mock .biz-meta { color: #9aa0a6; font-size: 0.82rem; margin-top: 0.15rem; }
.serp-mock .price-box {
  margin-top: 0.55rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: #14151a;
  border: 1px solid rgba(196,30,38,0.5);
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
}
.serp-mock .price-box .amt { color: #fff; font-weight: 800; }
.serp-mock .price-box .cta {
  background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 800;
  padding: 0.3rem 0.6rem; border-radius: 4px; text-transform: uppercase;
}

/* ---------------------------------- */
/* Testimonial / quote                 */
/* ---------------------------------- */
.quote-block {
  border-left: 3px solid var(--red);
  padding-left: 1.4rem;
}
.quote-block p { font-size: 1.15rem; color: var(--white); font-style: italic; }
.quote-block cite { display: block; margin-top: 0.9rem; font-style: normal; font-size: 0.85rem; color: var(--grey-500); }

/* ---------------------------------- */
/* FAQ / accordion                     */
/* ---------------------------------- */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--white);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.faq-item .plus::before, .faq-item .plus::after {
  content: ""; position: absolute; background: var(--grey-100);
}
.faq-item .plus::before { width: 12px; height: 2px; }
.faq-item .plus::after { width: 2px; height: 12px; transition: transform .2s ease; }
.faq-item[open] .plus::after { transform: rotate(90deg) scaleY(0); }
.faq-item[open] summary { color: var(--red-bright); }
.faq-item p { padding-bottom: 1.3rem; max-width: 68ch; }

/* ---------------------------------- */
/* CTA band                            */
/* ---------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.5rem);
  background: linear-gradient(120deg, var(--red-dark), var(--black) 60%);
  border: 1px solid rgba(196,30,38,0.4);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute; inset: -2px;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 22px, transparent 22px 44px);
  pointer-events: none;
}
.cta-band h2 { position: relative; }
.cta-band p { position: relative; color: var(--grey-100); max-width: 56ch; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; position: relative; }

/* ---------------------------------- */
/* Footer                              */
/* ---------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--black);
  padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); margin-bottom: 1rem; font-size: 0.85rem; letter-spacing: 0.08em; }
.footer-links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { color: var(--grey-500); font-size: 0.92rem; }
.footer-links a:hover { color: var(--red-bright); }
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; max-width: 32ch; }
.social-row { display: flex; gap: 0.7rem; margin-top: 1.4rem; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-100);
}
.social-row a:hover { border-color: var(--red-bright); color: var(--red-bright); }
.social-row svg { width: 17px; height: 17px; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--grey-700);
}

/* ---------------------------------- */
/* Utility                             */
/* ---------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mt-sm { margin-top: 0.75rem; }
.mt-md { margin-top: 1.5rem; }
.mt-lg { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0 !important; }
.center { text-align: center; }
.max-60 { max-width: 60ch; }
.mx-auto { margin-inline: auto; }
.relative { position: relative; }
.z-1 { z-index: 1; }

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 0.8rem 1.2rem;
  z-index: 10000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.breadcrumbs {
  font-size: 0.82rem;
  color: var(--grey-500);
  padding-block: 1.4rem;
}
.breadcrumbs a { color: var(--grey-500); }
.breadcrumbs a:hover { color: var(--red-bright); }
.breadcrumbs span { margin-inline: 0.4rem; }

.page-hero {
  padding-block: clamp(2.6rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { margin-bottom: 0.8rem; }
.page-hero p.lede { max-width: 62ch; margin-top: 1.1rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: rgba(63,174,92,0.14); border: 1px solid rgba(63,174,92,0.4); color: #7fe19a; }
.form-status.err { background: rgba(196,30,38,0.14); border: 1px solid rgba(196,30,38,0.4); color: #ff8a8f; }
