/* ==========================================================================
   Flotronics Automation — site styles
   Brand palette taken from the current site's Elementor global kit.
   ========================================================================== */

:root {
  --green: #0b8d45;          /* brand green (logo) – decorative / large text */
  --green-ink: #087a3b;      /* AA-safe green for links and buttons on white */
  --green-700: #05612f;
  --green-900: #033a1c;
  --green-950: #01210f;
  --lime: #a0fa06;
  --ink: #1b1d1e;
  --charcoal: #3d3f41;
  --slate: #58595b;
  --gray-50: #f7f8f8;
  --gray-100: #f1f2f2;
  --gray-200: #e5e5e5;
  --gray-300: #bcbec0;
  --white: #fff;
  --danger: #b3261e;

  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-head: "Roboto Condensed", "Roboto", system-ui, "Segoe UI", Arial, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06), 0 1px 3px rgba(0, 0, 0, .08);
  --shadow: 0 8px 24px rgba(3, 58, 28, .10), 0 2px 6px rgba(0, 0, 0, .06);
  --shadow-lg: 0 20px 50px rgba(3, 58, 28, .18);
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-ink); text-underline-offset: .18em; }
a:hover { color: var(--green-700); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 4px; }
.on-light :focus-visible, main :focus-visible { outline-color: var(--green-ink); }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .35em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--lime); color: var(--green-950); padding: .75rem 1rem; font-weight: 700; border-radius: 6px; }
.skip-link:focus { top: 1rem; }

/* ---------- Eyebrows, ledes, utility text ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-ink); margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--charcoal); max-width: 62ch; }
.muted { color: var(--slate); }
.small { font-size: .9rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--green-ink); --btn-fg: var(--white); --btn-bd: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem; min-height: 48px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd);
  border-radius: 8px; text-decoration: none; cursor: pointer; line-height: 1.1;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { --btn-bg: var(--green-700); color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-lime { --btn-bg: var(--lime); --btn-fg: var(--green-950); }
.btn-lime:hover { --btn-bg: #b6ff3a; --btn-fg: var(--green-950); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--green-ink); --btn-bd: var(--green-ink); }
.btn-outline:hover { --btn-bg: var(--green-ink); --btn-fg: var(--white); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.55); }
.btn-ghost-light:hover { --btn-bg: rgba(255,255,255,.12); --btn-fg: var(--white); --btn-bd: var(--white); }
.btn-sm { padding: .55rem 1rem; min-height: 40px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.arrow-link { font-family: var(--font-head); font-weight: 700; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.arrow-link::after { content: "→"; transition: transform .15s ease; }
.arrow-link:hover::after { transform: translateX(4px); }
.ext::after { content: "↗"; font-size: .85em; margin-left: .2em; }

/* ---------- Utility bar + header ---------- */
.utility-bar { background: var(--green-950); color: #d7e7dc; font-size: .9rem; }
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.utility-bar a { color: #e9f5ec; text-decoration: none; }
.utility-bar a:hover { color: var(--lime); }
.utility-bar .tagline { font-family: var(--font-head); letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: var(--lime); }
.utility-links { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.utility-links li + li { margin: 0; }
.utility-links .phone { font-weight: 700; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--gray-200); }
.site-header .container { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand img { width: 190px; height: auto; }
.primary-nav { margin-left: auto; }
.primary-nav > ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.primary-nav li { margin: 0; position: relative; }
.primary-nav a, .primary-nav button.nav-toggle-sub {
  display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .75rem; border-radius: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.primary-nav a:hover, .primary-nav button.nav-toggle-sub:hover, .primary-nav [aria-current="page"] { color: var(--green-ink); background: var(--gray-100); }
.nav-toggle-sub::after { content: ""; width: .45em; height: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: .2rem; }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px; list-style: none; margin: 0; padding: .6rem;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease;
}
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .has-sub.open > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: .55rem .75rem; font-family: var(--font-body); font-weight: 500; font-size: .98rem; }
.submenu a small { display: block; color: var(--slate); font-weight: 400; font-size: .84rem; line-height: 1.35; }
.submenu .sub-label { display: block; padding: .6rem .75rem .25rem; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); font-weight: 700; border-top: 1px solid var(--gray-200); margin-top: .35rem; }
.header-cta { margin-left: .5rem; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--gray-200); border-radius: 8px; width: 48px; height: 48px; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 22px; height: 2px; background: var(--ink); margin: auto; position: relative; transition: .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; } .menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .brand img { width: 160px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .primary-nav { position: fixed; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--header-h)); background: var(--white); overflow-y: auto; padding: 1rem 1.25rem 7rem; display: none; border-top: 1px solid var(--gray-200); }
  .primary-nav.open { display: block; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav > ul > li { border-bottom: 1px solid var(--gray-200); }
  .primary-nav a, .primary-nav button.nav-toggle-sub { width: 100%; justify-content: space-between; padding: 1rem .25rem; font-size: 1.15rem; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .75rem .5rem; display: none; min-width: 0; }
  .has-sub.open > .submenu { display: block; }
  .has-sub:hover > .submenu { display: none; }
  .has-sub.open:hover > .submenu { display: block; }
  .primary-nav .mobile-only { display: block; }
}
@media (min-width: 1081px) { .primary-nav .mobile-only { display: none; } }
@media (max-width: 720px) {
  .utility-bar .tagline, .utility-links .hide-sm { display: none; }
  .utility-bar .container { justify-content: center; }
}

/* Mobile action bar: call / quote / get help always reachable */
.mobile-actions { display: none; }
@media (max-width: 720px) {
  .mobile-actions {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: var(--green-950); border-top: 1px solid rgba(255,255,255,.1); padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-actions a { color: var(--white); text-decoration: none; text-align: center; padding: .7rem .25rem; font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
  .mobile-actions a.primary { background: var(--lime); color: var(--green-950); }
  body { padding-bottom: 56px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-alt { background: var(--gray-50); border-block: 1px solid var(--gray-200); }
.section-dark { background: var(--green-950); color: #d9e9de; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark .eyebrow { color: var(--lime); }
.section-dark a:not(.btn) { color: var(--lime); }
.section-head { max-width: 780px; margin-bottom: 2.5rem; }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--white); overflow: hidden;
  background: var(--green-950);
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(4.5rem, 9vw, 8rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--hero-img); background-size: cover; background-position: center right;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(1,33,15,.97) 0%, rgba(3,58,28,.92) 42%, rgba(3,58,28,.55) 72%, rgba(3,58,28,.35) 100%),
    repeating-linear-gradient(0deg, rgba(160,250,6,.05) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(160,250,6,.05) 0 1px, transparent 1px 48px);
}
@media (max-width: 820px) { .hero::after { background: linear-gradient(180deg, rgba(1,33,15,.93), rgba(3,58,28,.9)); } }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero h1 .accent { color: var(--lime); }
.hero .lede { color: #e2efe6; max-width: 56ch; }
.hero .tagline-chip {
  display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .9rem .4rem .5rem; margin-bottom: 1.5rem;
  border: 1px solid rgba(160,250,6,.45); border-radius: 999px; background: rgba(0,0,0,.25);
  font-family: var(--font-head); font-weight: 700; letter-spacing: .06em; font-size: .9rem; color: var(--white);
}
.tagline-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(160,250,6,.2); }
.hero .btn-row { margin-top: 2rem; }
.hero-quick { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .95rem; color: #cfe3d6; }
.hero-quick a { color: var(--white); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--lime); }
.hero-quick a:hover { color: var(--lime); }

.page-hero { background: var(--green-950); color: #e2efe6; padding: clamp(3rem, 6vw, 5rem) 0; position: relative; isolation: isolate; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9;
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(11,141,69,.45), transparent 60%),
    repeating-linear-gradient(0deg, rgba(160,250,6,.045) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(160,250,6,.045) 0 1px, transparent 1px 40px);
}
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 20ch; }
.page-hero .lede { color: #d4e6da; }
.page-hero .eyebrow { color: var(--lime); }
.page-hero .btn-row { margin-top: 1.75rem; }
.page-hero.with-img .container { display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; align-items: center; }
.page-hero.with-img figure { margin: 0; background: var(--white); border-radius: var(--radius-lg); padding: 1rem; box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .page-hero.with-img .container { grid-template-columns: 1fr; } .page-hero.with-img figure { display: none; } }

.breadcrumbs { font-size: .88rem; margin-bottom: 1rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .6; }
.breadcrumbs a { color: #cfe3d6; }
.breadcrumbs [aria-current] { color: var(--lime); }

/* ---------- Path cards (the three ways we help) ---------- */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.paths.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .paths.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .paths { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .paths.four { grid-template-columns: 1fr; } }
.path-card {
  position: relative; display: flex; flex-direction: column; gap: .75rem;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.75rem; box-shadow: var(--shadow-sm); transition: .2s ease;
  border-top: 5px solid var(--green);
}
.path-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.path-card .num { font-family: var(--font-head); font-weight: 800; font-size: .85rem; letter-spacing: .14em; color: var(--green-ink); text-transform: uppercase; }
.path-card h3 { margin: 0; font-size: 1.5rem; }
.path-card p { margin: 0; color: var(--charcoal); }
.path-card .result { font-size: .95rem; color: var(--slate); padding-top: .75rem; border-top: 1px dashed var(--gray-300); }
.path-card .result strong { color: var(--ink); }
.path-card .btn { margin-top: auto; align-self: flex-start; }
.path-card .icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--green-950); color: var(--lime); }
.path-card .icon svg { width: 28px; height: 28px; }
.path-card.unsure { background: var(--green-950); border-color: var(--green-900); border-top-color: var(--lime); color: #d9e9de; }
.path-card.unsure h3 { color: var(--white); }
.path-card.unsure p, .path-card.unsure .result { color: #cfe3d6; }
.path-card.unsure .num { color: var(--lime); }
.path-card.unsure .icon { background: var(--lime); color: var(--green-950); }

/* overlap paths onto hero */
.paths-overlap { margin-top: -3.5rem; position: relative; z-index: 2; }

/* ---------- Capability grid ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.cap-card {
  display: grid; grid-template-rows: 180px auto; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: .2s ease;
}
.cap-card:hover { border-color: var(--green); box-shadow: var(--shadow); color: inherit; }
.cap-card .media { background: var(--white); display: grid; place-items: center; padding: 1rem; border-bottom: 1px solid var(--gray-100); }
.cap-card .media img { max-height: 150px; width: auto; object-fit: contain; }
.cap-card .media.cover { padding: 0; }
.cap-card .media.cover img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.cap-card .body { padding: 1.1rem 1.25rem 1.3rem; }
.cap-card h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.cap-card p { font-size: .95rem; color: var(--charcoal); margin-bottom: .6rem; }
.cap-card .arrow-link { color: var(--green-ink); font-size: .95rem; }

/* ---------- Product and FAQ directories ---------- */
.product-jump h2 { font-size: 1.65rem; }
.product-jump ul { display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; margin: 0; list-style: none; }
.product-jump li { margin: 0; }
.product-jump a { display: block; padding: .5rem .8rem; border: 1px solid var(--gray-200); border-radius: 6px; font-weight: 600; text-decoration: none; }
.product-jump a:hover { border-color: var(--green-ink); }
.product-group-head { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.product-group-head p { margin: 0; }
.product-group-head img { width: 220px; height: 110px; object-fit: contain; border-radius: var(--radius); }
.anchor-alias { display: block; height: 0; }
.product-card { display: flex; flex-direction: column; }
.product-card .media { height: 160px; }
.product-card .media img { max-height: 135px; }
.product-links, .product-related ul { list-style: none; padding: 0; margin: .75rem 0 0; }
.product-links li, .product-related li { margin: .4rem 0 0; }
.product-card .arrow-link, .product-faq-links .arrow-link { align-items: baseline; }
.product-worksheets { margin-top: .9rem; }
.product-related { margin-top: .65rem; font-size: .95rem; }
.product-related ul { margin-top: .2rem; }
.product-faq-filter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.product-faq-count { margin: 1.75rem 0; font-weight: 700; }
.product-faq-parent-heading { margin-top: 2.5rem; border-bottom: 2px solid var(--gray-200); padding-bottom: .5rem; }
.product-faq-entry { max-width: 860px; margin: 1.8rem 0 2.5rem; }
.product-faq-entry .product-faq-parent { margin: 0 0 .35rem; color: var(--slate); font-size: .9rem; }
.product-faq-links { margin-top: 1rem; }
.product-faq-directory [hidden] { display: none; }
@media (max-width: 640px) {
  .product-group-head img { width: 110px; height: 90px; }
  .product-faq-filter-grid { grid-template-columns: 1fr; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { margin: 0; position: relative; padding-top: 4.25rem; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: var(--lime); -webkit-text-stroke: 0;
}
.steps li::after { content: ""; position: absolute; top: 1.3rem; left: 4.5rem; right: -1rem; height: 2px; background: linear-gradient(90deg, rgba(160,250,6,.6), rgba(160,250,6,0)); }
.steps li:last-child::after { display: none; }
.steps h3 { color: var(--white); }
.steps p { color: #cfe3d6; }
.section:not(.section-dark) .steps li::before { color: var(--green); }
.section:not(.section-dark) .steps li::after { background: linear-gradient(90deg, rgba(11,141,69,.5), rgba(11,141,69,0)); }
.section:not(.section-dark) .steps h3 { color: var(--ink); }
.section:not(.section-dark) .steps p { color: var(--charcoal); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .steps li::after { display: none; } }

/* ---------- Shortcut tiles ---------- */
.shortcuts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 980px) { .shortcuts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .shortcuts { grid-template-columns: 1fr; } }
.shortcut {
  display: flex; flex-direction: column; gap: .4rem; padding: 1.35rem 1.35rem 1.25rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--gray-200); text-decoration: none; color: var(--ink); transition: .2s ease;
}
.shortcut:hover { border-color: var(--green); box-shadow: var(--shadow); color: var(--ink); }
.shortcut .tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.shortcut strong { font-family: var(--font-head); font-size: 1.2rem; }
.shortcut span.desc { font-size: .93rem; color: var(--charcoal); }
.shortcut .go { margin-top: auto; color: var(--green-ink); font-weight: 700; font-size: .92rem; padding-top: .5rem; }

/* ---------- Split / media blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.contain img { object-fit: contain; padding: 1.5rem; }
.media-frame .photo-note {
  position: absolute; left: .75rem; bottom: .75rem; background: rgba(1,33,15,.85); color: var(--lime);
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; padding: .3rem .6rem; border-radius: 6px;
}

.check-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8.1 13.6 4.5 10l-1.4 1.4 5 5 9-9-1.4-1.4z'/%3E%3C/svg%3E") center/80% no-repeat;
}
.section-dark .check-list li::before { background-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2301210f'%3E%3Cpath d='M8.1 13.6 4.5 10l-1.4 1.4 5 5 9-9-1.4-1.4z'/%3E%3C/svg%3E"); }

/* ---------- Info cards / feature blocks ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.6rem; }
.card h3 { font-size: 1.25rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card.accent { border-left: 5px solid var(--green); }
.section-dark .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #d9e9de; }

.callout {
  display: flex; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--radius);
  background: #eef8f1; border: 1px solid #cfe9d8; color: var(--green-900);
}
.callout.warn { background: #fff7e6; border-color: #f3dca6; color: #5a4200; }
.callout strong { display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; color: var(--white);
  background: linear-gradient(120deg, var(--green-900) 0%, var(--green-700) 55%, var(--green) 100%);
}
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 22px); }
.cta-band .container { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band h2 { color: var(--white); margin-bottom: .35em; }
.cta-band p { color: #e2efe6; margin: 0; font-size: 1.15rem; }
.cta-band .actions { display: flex; flex-direction: column; gap: .75rem; align-items: flex-end; }
.cta-band .phone-big { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--white); text-decoration: none; }
.cta-band .phone-big:hover { color: var(--lime); }
@media (max-width: 820px) { .cta-band .container { grid-template-columns: 1fr; } .cta-band .actions { align-items: flex-start; } }

/* ---------- Forms ---------- */
.form-wrap { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow); }
.form-wrap h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin-bottom: .75rem; padding: 0; }
.field label, .field .label { display: block; font-weight: 600; font-size: .96rem; margin-bottom: .35rem; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--slate); font-size: .88rem; }
.field .req { color: var(--danger); }
.field .hint { display: block; font-size: .86rem; color: var(--slate); margin-top: .3rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field input[type="file"],
.field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--gray-300); border-radius: 8px; padding: .75rem .85rem; min-height: 48px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-ink); box-shadow: 0 0 0 3px rgba(11,141,69,.2); }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(179,38,30,.12); }
.field .error { display: none; color: var(--danger); font-size: .88rem; font-weight: 600; margin-top: .35rem; }
.field.has-error .error { display: block; }
.choice-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-block; padding: .55rem 1rem; border: 1.5px solid var(--gray-300); border-radius: 999px; font-weight: 500; font-size: .95rem; cursor: pointer; background: var(--white); }
.choice input:checked + span { background: var(--green-950); color: var(--white); border-color: var(--green-950); }
.choice input:focus-visible + span { outline: 3px solid var(--green-ink); outline-offset: 2px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-summary { display: none; margin-bottom: 1.25rem; padding: 1rem 1.25rem; border: 2px solid var(--danger); border-radius: 8px; background: #fdf0ef; color: #6d1510; }
.form-summary.show { display: block; }
.form-summary ul { margin: .4rem 0 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.form-actions .small { margin: 0; }
.form-success { display: none; text-align: left; }
.form-success.show { display: block; }
.form-success .badge { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--white); margin-bottom: 1rem; }
.form-success .badge svg { width: 30px; height: 30px; }
.form-status-error { display: none; margin-top: 1rem; }
.form-status-error.show { display: flex; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- Tabs (consultation options) ---------- */
.option-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.option-tabs button {
  font: inherit; font-family: var(--font-head); font-weight: 700; font-size: 1rem; cursor: pointer;
  padding: .7rem 1.1rem; border-radius: 8px; border: 2px solid var(--gray-300); background: var(--white); color: var(--ink);
}
.option-tabs button[aria-selected="true"] { background: var(--green-950); border-color: var(--green-950); color: var(--white); }
[role="tabpanel"][hidden] { display: none; }

/* ---------- FAQ (details/summary) ---------- */
.faq-group + .faq-group { margin-top: 2.5rem; }
.faq-group h3 { display: flex; align-items: center; gap: .6rem; }
.faq-group h3 .pill { font-family: var(--font-body); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; background: var(--gray-100); color: var(--slate); border-radius: 999px; padding: .2rem .6rem; }
details.faq { border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--white); }
details.faq + details.faq { margin-top: .65rem; }
details.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.25rem; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1.12rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--green-ink); font-weight: 400; }
details.faq[open] summary::after { content: "–"; }
details.faq[open] summary { border-bottom: 1px solid var(--gray-100); }
details.faq .answer { padding: 1rem 1.25rem 1.25rem; }
details.faq .answer p:last-child, details.faq .answer ul:last-child { margin-bottom: 0; }
.faq-meta { font-size: .82rem; color: var(--slate); margin-top: .75rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--gray-200); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--gray-200); vertical-align: top; }
th { background: var(--gray-100); font-family: var(--font-head); font-size: 1rem; }
tr:last-child td { border-bottom: 0; }

/* ---------- Manufacturer list ---------- */
.mfr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .75rem; list-style: none; padding: 0; margin: 0; }
.mfr-grid li { margin: 0; background: var(--white); border: 1px solid var(--gray-200); border-radius: 8px; padding: .85rem 1rem; }
.mfr-grid strong { display: block; font-family: var(--font-head); font-size: 1.08rem; }
.mfr-grid span { font-size: .86rem; color: var(--slate); line-height: 1.4; display: block; }

/* ---------- Stats / proof strip ---------- */
.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.proof-strip div { background: var(--green-950); padding: 1.5rem 1.25rem; }
.proof-strip strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--lime); line-height: 1.1; }
.proof-strip span { font-size: .93rem; color: #cfe3d6; }
@media (max-width: 860px) { .proof-strip { grid-template-columns: 1fr 1fr; } }

/* ---------- Workbook ---------- */
.workbook { counter-reset: wb; }
.wb-section { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1rem; background: var(--white); break-inside: avoid; }
.wb-section h3 { display: flex; gap: .75rem; align-items: baseline; }
.wb-section h3::before { counter-increment: wb; content: counter(wb, decimal-leading-zero); color: var(--green); font-weight: 800; }
.wb-section .applies { font-size: .82rem; color: var(--slate); margin-bottom: .75rem; }
.wb-example { background: #eef8f1; border-left: 4px solid var(--green); padding: .75rem 1rem; font-size: .93rem; margin-top: .75rem; border-radius: 0 8px 8px 0; }
.wb-example::before { content: "Illustrative example: "; font-weight: 700; color: var(--green-900); }

/* ---------- Draft / editorial flags (toggle with SHOW_DRAFT_FLAGS in build) ---------- */
.draft-flag {
  display: inline-block; font-family: var(--font-body); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: #fff1c2; color: #6b4d00; border: 1px dashed #d4a200; border-radius: 4px; padding: .1rem .4rem; vertical-align: middle; margin-left: .35rem;
}
.draft-note { font-size: .85rem; background: #fff8dc; border: 1px dashed #d4a200; color: #5a4200; padding: .5rem .75rem; border-radius: 6px; }
body.hide-drafts .draft-flag, body.hide-drafts .draft-note { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: #0c1410; color: #b8c7bd; font-size: .95rem; }
.site-footer a { color: #e2efe6; text-decoration: none; }
.site-footer a:hover { color: var(--lime); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; padding: 4rem 0 3rem; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { width: 200px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-brand .tag { font-family: var(--font-head); color: var(--lime); font-weight: 700; letter-spacing: .06em; margin-bottom: 1rem; }
.footer-brand address { font-style: normal; line-height: 1.6; margin-bottom: 1rem; }
.site-footer h2 { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; font-family: var(--font-body); font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: .5rem; }
.socials { display: flex; gap: .5rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.socials a:hover { background: var(--green); text-decoration: none; }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .86rem; }
.footer-bottom ul { display: flex; gap: 1.25rem; }
.footer-bottom li + li { margin: 0; }

/* ---------- Misc ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.stack > * + * { margin-top: 1rem; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mb-2 { margin-bottom: 2rem; }
.sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.prose h2 { margin-top: 2.25rem; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.75rem; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { display: flex; gap: .75rem; align-items: flex-start; padding: .6rem 0; border-bottom: 1px solid var(--gray-200); }
.contact-list li + li { margin: 0; }
.contact-list .k { min-width: 7.5rem; font-weight: 700; color: var(--slate); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; padding-top: .15rem; }
.logo-chip { display: inline-block; background: var(--white); border-radius: 8px; padding: .5rem .75rem; }

/* ---------- Print (workbook + general) ---------- */
@media print {
  .utility-bar, .site-header, .site-footer, .mobile-actions, .cta-band, .no-print, .page-hero .btn-row { display: none !important; }
  body { font-size: 11pt; padding: 0; }
  .page-hero { background: none; color: #000; padding: 0 0 1rem; }
  .page-hero::after { display: none; }
  .page-hero h1, .page-hero .lede, .page-hero .eyebrow { color: #000; }
  .section { padding: 1rem 0; }
  .field input, .field textarea, .field select { border: 1px solid #999; }
  .wb-section { border: 1px solid #999; }
  a { color: #000; }
  .draft-flag, .draft-note, .breadcrumbs { display: none; }
  .grid-2, .grid-3 { display: block !important; }
  .wb-section textarea { min-height: 6em; }
}

/* ---------- Small utilities used by page content ---------- */
.h3 { font-size: 1.3rem; }
.center { text-align: center; }
.center .btn-row { justify-content: center; }
a.card { display: block; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--green); transform: translateY(-2px); }
.prose ul ul { margin-top: .4rem; }

/* Dark-surface contrast fixes */
.page-hero .btn-outline, .path-card.unsure .btn-outline { --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.6); }
.page-hero .btn-outline:hover, .path-card.unsure .btn-outline:hover { --btn-bg: rgba(255,255,255,.12); --btn-fg: var(--white); --btn-bd: var(--white); }
.page-hero a:not(.btn), .path-card.unsure a:not(.btn) { color: var(--lime); }
.cap-card .media.cover { display: block; height: 180px; overflow: hidden; }
.grid-2[data-cols] { align-items: start; }
.grid-2[data-cols="1"] { grid-template-columns: 1fr; }
.grid-2[data-cols="1-1.6"] { grid-template-columns: 1fr 1.6fr; }
.grid-2[data-cols="1-2.2"] { grid-template-columns: 1fr 2.2fr; }
.grid-2[data-cols="1.4-1"] { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 900px) { .grid-2[data-cols] { grid-template-columns: minmax(0, 1fr); } .sticky-aside { position: static; } }
.steps[data-cols="1"] { grid-template-columns: 1fr; }
a[href^="mailto:"] { overflow-wrap: anywhere; }

/* ---------- Application workbook directory and steps ---------- */
.workbook-submit-note { max-width: 70ch; padding: 1rem 1.25rem; border-left: 4px solid var(--green); background: #eef8f1; }
.workbook-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.workbook-family { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.workbook-family h2 { font-size: 1.3rem; margin: 0 0 .75rem; }
.workbook-family ul { list-style: none; margin: 0; padding: 0; }
.workbook-family li + li { border-top: 1px solid var(--gray-200); }
.workbook-family a { display: block; padding: .65rem .15rem; font-weight: 600; }
.workbook-back-link { margin: 0 0 1rem; }
.workbook-count { color: var(--slate); font-weight: 700; margin-bottom: .5rem; }
.workbook-questions { display: grid; gap: 1rem; }
.workbook-question { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1rem 1.25rem; }
.workbook-question-opening { border-color: var(--green); }
.workbook-question textarea { min-height: 90px; }
.workbook-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin: 1.5rem 0 .75rem; }
.workbook-legacy-review { margin: 1.25rem 0; padding: 1rem 1.25rem; border: 1px solid var(--gray-200); border-radius: var(--radius); }
.workbook-legacy-review summary { font-weight: 700; cursor: pointer; }
.workbook-legacy-review dl { margin: 1rem 0; }
.workbook-review { margin-top: 1.5rem; }
.workbook-review h2 { margin-bottom: 1rem; }
.workbook-review h3 { margin-top: 2rem; }
.workbook-review dl { border-top: 1px solid var(--gray-200); }
.workbook-review-row { display: grid; grid-template-columns: minmax(12rem, .8fr) 1.2fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--gray-200); }
.workbook-review-row dt { font-weight: 700; }
.workbook-review-row dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.workbook-receipt { max-width: 760px; margin: 0 auto; padding: 2rem; border: 1px solid var(--gray-200); border-radius: var(--radius); }
.workbook-receipt .eyebrow { color: var(--green-ink); }
.field-error { color: var(--danger); font-weight: 600; }
@media (max-width: 700px) {
  .workbook-directory { grid-template-columns: 1fr; }
  .workbook-review-row { grid-template-columns: 1fr; gap: .3rem; }
  .workbook-receipt { padding: 1.25rem; }
}
@media print {
  .workbook-actions, .workbook-back-link, .workbook-submit-note { display: none !important; }
}
